mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
RSS admin code clean-up
This commit is contained in:
@@ -6,12 +6,6 @@
|
|||||||
* Released under the terms and conditions of the
|
* Released under the terms and conditions of the
|
||||||
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
|
||||||
*
|
*
|
||||||
*
|
|
||||||
*
|
|
||||||
* $Source: /cvs_backup/e107_0.8/e107_plugins/rss_menu/admin_prefs.php,v $
|
|
||||||
* $Revision$
|
|
||||||
* $Date$
|
|
||||||
* $Author$
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -23,7 +17,9 @@ Notes:
|
|||||||
- generic admin icons used. ADMIN_ICON_EDIT etc.
|
- generic admin icons used. ADMIN_ICON_EDIT etc.
|
||||||
- using $caption = "whatever", is unneccessary.
|
- using $caption = "whatever", is unneccessary.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once("../../class2.php");
|
require_once("../../class2.php");
|
||||||
|
|
||||||
if(!getperms("P") || !e107::isInstalled('rss_menu'))
|
if(!getperms("P") || !e107::isInstalled('rss_menu'))
|
||||||
{
|
{
|
||||||
e107::redirect('admin');
|
e107::redirect('admin');
|
||||||
@@ -34,9 +30,6 @@ if(!getperms("P") || !e107::isInstalled('rss_menu'))
|
|||||||
e107::includeLan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
|
e107::includeLan(e_PLUGIN."rss_menu/languages/".e_LANGUAGE."_admin_rss_menu.php");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// XXX THIS IS SET UP FOR LATER USE.
|
|
||||||
|
|
||||||
class rss_admin extends e_admin_dispatcher
|
class rss_admin extends e_admin_dispatcher
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -55,7 +48,7 @@ class rss_admin extends e_admin_dispatcher
|
|||||||
protected $adminMenu = array(
|
protected $adminMenu = array(
|
||||||
|
|
||||||
'main/list' => array('caption'=> LAN_MANAGE, 'perm' => 'P'),
|
'main/list' => array('caption'=> LAN_MANAGE, 'perm' => 'P'),
|
||||||
'main/import' => array('caption'=> LAN_CREATE, 'perm' => 'P'),
|
'main/import' => array('caption'=> LAN_IMPORT, 'perm' => 'P'),
|
||||||
|
|
||||||
'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => 'P'),
|
'main/prefs' => array('caption'=> LAN_PREFS, 'perm' => 'P'),
|
||||||
/*
|
/*
|
||||||
@@ -81,8 +74,6 @@ class rss_admin extends e_admin_dispatcher
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TODO - Use this .. .
|
//TODO - Use this .. .
|
||||||
class rss_ui extends e_admin_ui
|
class rss_ui extends e_admin_ui
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user