mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 02:42:40 +02:00
moved counter_menu to the siteinfo_menu folder
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/lancheck.php,v $
|
||||
| $Revision: 1.3 $
|
||||
| $Date: 2007-03-23 23:05:21 $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2007-03-24 11:54:46 $
|
||||
| $Author: lisa_ $
|
||||
| With code from Izydor and Lolo.
|
||||
+----------------------------------------------------------------------------+
|
||||
@@ -175,12 +175,11 @@ if($f != ""){
|
||||
|
||||
$core_plugins = array(
|
||||
"alt_auth","banner_menu","blogcalendar_menu","calendar_menu","chatbox_menu",
|
||||
"clock_menu","comment_menu","content","counter_menu",
|
||||
"featurebox","forum","gsitemap","integrity_check","lastseen","links_page",
|
||||
"linkwords","list_new","log","login_menu","newforumposts_main","newsfeed",
|
||||
"newsletter","online_extended_menu","online_menu","other_news_menu","pdf",
|
||||
"pm","poll","rss_menu","search_menu","siteinfo_menu",
|
||||
"trackback","tree_menu","user_menu"
|
||||
"clock_menu","comment_menu","content","featurebox","forum","gsitemap",
|
||||
"lastseen","links_page","linkwords","list_new","log","login_menu",
|
||||
"newforumposts_main","newsfeed","newsletter","online_extended_menu",
|
||||
"online_menu","other_news_menu","pdf","pm","poll","rss_menu",
|
||||
"search_menu","siteinfo_menu","trackback","tree_menu","user_menu"
|
||||
);
|
||||
|
||||
$core_themes = array("crahan","e107v4a","human_condition","interfectus","jayya",
|
||||
|
@@ -11,8 +11,8 @@
|
||||
| GNU General Public License (http://gnu.org).
|
||||
|
|
||||
| $Source: /cvs_backup/e107_0.8/e107_admin/update_routines.php,v $
|
||||
| $Revision: 1.4 $
|
||||
| $Date: 2007-03-23 23:01:09 $
|
||||
| $Revision: 1.5 $
|
||||
| $Date: 2007-03-24 11:54:46 $
|
||||
| $Author: lisa_ $
|
||||
+----------------------------------------------------------------------------+
|
||||
*/
|
||||
@@ -153,6 +153,12 @@ function update_706_to_800($type='') {
|
||||
$sql->db_Update("menus", "menu_path='siteinfo_menu/' WHERE menu_path='sitebutton_menu' || menu_path='sitebutton_menu/' ");
|
||||
catch_error();
|
||||
}
|
||||
//change menu_path for counter_menu
|
||||
if($sql->db_Select("menus", "menu_path", "menu_path='counter_menu' || menu_path='counter_menu/'"))
|
||||
{
|
||||
$sql->db_Update("menus", "menu_path='siteinfo_menu/' WHERE menu_path='counter_menu' || menu_path='counter_menu/' ");
|
||||
catch_error();
|
||||
}
|
||||
|
||||
return '';
|
||||
|
||||
@@ -185,6 +191,11 @@ function update_706_to_800($type='') {
|
||||
{
|
||||
return update_needed();
|
||||
}
|
||||
//change menu_path for counter_menu
|
||||
if($sql->db_Select("menus", "menu_path", "menu_path='counter_menu' || menu_path='counter_menu/'"))
|
||||
{
|
||||
return update_needed();
|
||||
}
|
||||
|
||||
// No updates needed
|
||||
return TRUE;
|
||||
|
Reference in New Issue
Block a user