Dotclear

source: plugins/sitemaps/_admin.php @ 975

Revision 975, 631 bytes checked in by pep, 15 years ago (diff)

Sitemaps : initial import in DC Lab.

Line 
1<?php
2# -- BEGIN LICENSE BLOCK ----------------------------------
3#
4# This file is part of Sitemaps, a plugin for DotClear2.
5# Copyright (c) 2006-2009 Pep and contributors.
6# Licensed under the GPL version 2.0 license.
7# See LICENSE file or
8# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
9#
10# -- END LICENSE BLOCK ------------------------------------
11if (!defined('DC_CONTEXT_ADMIN')) { exit; }
12
13$_menu['Blog']->addItem(__('Sitemaps'),'plugin.php?p=sitemaps','index.php?pf=sitemaps/icon.png',
14          preg_match('/plugin.php\?p=sitemaps(&.*)?$/',$_SERVER['REQUEST_URI']),
15          $core->auth->check('contentadmin',$core->blog->id));
16?>
Note: See TracBrowser for help on using the repository browser.

Sites map