1
0
mirror of https://github.com/e107inc/e107.git synced 2025-06-02 00:45:03 +02:00

moved counter_menu to the siteinfo_menu folder

This commit is contained in:
lia 2007-03-24 11:54:46 +00:00
parent 2e80b06926
commit fcb5971ce2
5 changed files with 35 additions and 38 deletions

View File

@ -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",

View File

@ -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;

View File

@ -1,22 +0,0 @@
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/counter_menu/languages/English.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:09 $
| $Author: mcfly_e107 $
+----------------------------------------------------------------------------+
*/
define("COUNTER_L1", "Admin visits aren't being counted.");
define("COUNTER_L2", "This page today ...");
define("COUNTER_L3", "total");
define("COUNTER_L4", "This page ever ...");
define("COUNTER_L5", "unique");
define("COUNTER_L6", "Site ...");
define("COUNTER_L7", "Counter");
define("COUNTER_L8", "Admin message: <b>Stat logging is disabled.</b><br />To activate, you need to install the Statistic Logging plugin from your <a href='".e_ADMIN."plugin.php'>plugin manager</a>, then activate it from the <a href='".e_PLUGIN."log/admin_config.php'>configuration screen</a>.");
?>

View File

@ -10,10 +10,10 @@
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/counter_menu/counter_menu.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:35:09 $
| $Author: mcfly_e107 $
| $Source: /cvs_backup/e107_0.8/e107_plugins/siteinfo_menu/counter_menu.php,v $
| $Revision: 1.1 $
| $Date: 2007-03-24 11:54:46 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }

View File

@ -4,8 +4,8 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/siteinfo_menu/languages/English.php,v $
| $Revision: 1.1 $
| $Date: 2007-03-23 22:42:40 $
| $Revision: 1.2 $
| $Date: 2007-03-24 11:54:46 $
| $Author: lisa_ $
+----------------------------------------------------------------------------+
*/
@ -14,4 +14,13 @@ define("COMPLIANCE_L1", "W3C Compliance");
define("SITEBUTTON_MENU_L1", "Link to us");
define("POWEREDBY_L1", "Powered by");
define("COUNTER_L1", "Admin visits aren't being counted.");
define("COUNTER_L2", "This page today ...");
define("COUNTER_L3", "total");
define("COUNTER_L4", "This page ever ...");
define("COUNTER_L5", "unique");
define("COUNTER_L6", "Site ...");
define("COUNTER_L7", "Counter");
define("COUNTER_L8", "Admin message: <b>Stat logging is disabled.</b><br />To activate, you need to install the Statistic Logging plugin from your <a href='".e_ADMIN."plugin.php'>plugin manager</a>, then activate it from the <a href='".e_PLUGIN."log/admin_config.php'>configuration screen</a>.");
?>