X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fnewsletter.inc.php;h=b9e51dcf59a1431e22770bbfc034b55bd9eb3282;hb=5a8a7dad52b11bee51d21887efcfe38050e28494;hp=7f1975c6bde36aa96be6fbd8ac2833264ee00a46;hpb=7b1c3e35f3e69743726d1acc4856505f50e30dd2;p=platal.git diff --git a/include/newsletter.inc.php b/include/newsletter.inc.php index 7f1975c..b9e51dc 100644 --- a/include/newsletter.inc.php +++ b/include/newsletter.inc.php @@ -574,6 +574,16 @@ class NewsLetter } } + /** Get links for nl pages. + */ + public function adminLinks() + { + return array( + 'index' => array('link' => $this->prefix(), 'title' => 'Archives'), + 'admin' => array('link' => $this->adminPrefix(), 'title' => 'Administrer') + ); + } + /** Hack used to remove "admin" links on X.org page on X.net * The 'admin' links are enabled for all pages, except for X.org when accessing NL through X.net */