|
From: Verdon V. <ve...@us...> - 2008-07-01 03:44:19
|
Update of /cvsroot/phpwebsite-comm/modules/sitemap In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4182 Modified Files: index.php Log Message: tweaks and fixes to prepare for release Index: index.php =================================================================== RCS file: /cvsroot/phpwebsite-comm/modules/sitemap/index.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index.php 30 Jun 2008 02:10:33 -0000 1.1.1.1 --- index.php 1 Jul 2008 03:43:53 -0000 1.2 *************** *** 31,34 **** --- 31,35 ---- $sitemap = new Sitemap; + /* if (isset($_REQUEST['mapit'])) { $sitemap->siteMap(); *************** *** 38,41 **** --- 39,50 ---- PHPWS_Core::errorPage('404'); } + */ + + if (isset($_REQUEST['aop']) && Current_User::allow('sitemap')) { + $sitemap->adminMenu(); + } else { + $sitemap->mapIt(); + } + ?> \ No newline at end of file |