mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 14:46:56 +02:00
Banner plugin - code-cleanup (no functional changes)
Comment unused code
This commit is contained in:
@@ -147,10 +147,10 @@ class banner_ui extends e_admin_ui
|
|||||||
public function init()
|
public function init()
|
||||||
{
|
{
|
||||||
|
|
||||||
if (!empty($_POST['update_menu']))
|
/*if (!empty($_POST['update_menu']))
|
||||||
{
|
{
|
||||||
$this->menuPageSave();
|
$this->menuPageSave();
|
||||||
}
|
}*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -227,6 +227,7 @@ class banner_ui extends e_admin_ui
|
|||||||
// do something
|
// do something
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
private function menuPageSave()
|
private function menuPageSave()
|
||||||
{
|
{
|
||||||
$temp = array();
|
$temp = array();
|
||||||
@@ -264,7 +265,7 @@ class banner_ui extends e_admin_ui
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}*/
|
||||||
|
|
||||||
|
|
||||||
public function menuPage()
|
public function menuPage()
|
||||||
@@ -273,7 +274,7 @@ class banner_ui extends e_admin_ui
|
|||||||
return e107::getMessage()->addInfo("The menu is now configured within the menu-manager.")->render();
|
return e107::getMessage()->addInfo("The menu is now configured within the menu-manager.")->render();
|
||||||
|
|
||||||
|
|
||||||
$ns = e107::getRender();
|
/*$ns = e107::getRender();
|
||||||
$sql = e107::getDb();
|
$sql = e107::getDb();
|
||||||
$menu_pref = e107::getConfig('menu')->getPref('');
|
$menu_pref = e107::getConfig('menu')->getPref('');
|
||||||
$frm = e107::getForm();
|
$frm = e107::getForm();
|
||||||
@@ -372,6 +373,7 @@ class banner_ui extends e_admin_ui
|
|||||||
return $mes->render().$text;
|
return $mes->render().$text;
|
||||||
|
|
||||||
// $ns->tablerender(LAN_PLUGIN_BANNER_NAME.SEP.BNRLAN_36, $mes->render() . $text);
|
// $ns->tablerender(LAN_PLUGIN_BANNER_NAME.SEP.BNRLAN_36, $mes->render() . $text);
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderHelp()
|
public function renderHelp()
|
||||||
@@ -485,25 +487,6 @@ class banner_form_ui extends e_admin_form_ui
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Custom Method/Function
|
// Custom Method/Function
|
||||||
@@ -645,12 +628,6 @@ class banner_form_ui extends e_admin_form_ui
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -664,17 +641,3 @@ exit;
|
|||||||
|
|
||||||
|
|
||||||
//TODO - Put client/password in a separate table?
|
//TODO - Put client/password in a separate table?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// ---------------------------- UNUSED Below here -------------------------------------------- //
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user