aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-08-25 22:25:58 +0000
committergweltas <gweltas@piwigo.org>2004-08-25 22:25:58 +0000
commit11c2e5805334a637a4e304c27d0fdcf709e24772 (patch)
tree5ca4823ca75bb9d9a2d7dccd0774cbf9aa8aa4a0 /include
parentc8fb7c2e36194e1f0687c4be6689a841f2615614 (diff)
- Deletion of obsolete functions in the administrative part
- Repair of virtual category management git-svn-id: http://piwigo.org/svn/trunk@496 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions.inc.php2
-rw-r--r--include/functions_category.inc.php4
-rw-r--r--include/functions_html.inc.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 8e09f24db..c15149e20 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -413,7 +413,7 @@ function notify( $type, $infos = '' )
while ( $row = mysql_fetch_array( $result ) )
{
$to = $row['mail_address'];
- include( PHPWG_ROOT_PATH.'language/'.$row['language'].'.php' );
+ include( PHPWG_ROOT_PATH.'language/'.$row['language'].'/common.lang.php' );
$content = $lang['mail_hello']."\n\n";
switch ( $type )
{
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 8ff06ede7..1b075f70a 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -607,7 +607,7 @@ SELECT COUNT(DISTINCT(id)) AS nb_total_images
// pictures within the short period
else if ( $page['cat'] == 'recent_pics' )
{
- $page['title'] = $lang['recent_pics_cat_title'];
+ $page['title'] = $lang['recent_pics_cat'];
// We must find the date corresponding to :
// today - $conf['periode_courte']
$date = time() - 60*60*24*$user['recent_period'];
@@ -625,7 +625,7 @@ SELECT COUNT(DISTINCT(id)) AS nb_total_images
// categories containing recent pictures
else if ( $page['cat'] == 'recent_cats' )
{
- $page['title'] = $lang['recent_cats_cat_title'];
+ $page['title'] = $lang['recent_cats_cat'];
$page['cat_nb_images'] = 0;
}
// most visited pictures
diff --git a/include/functions_html.inc.php b/include/functions_html.inc.php
index 7fe37a42e..015eef155 100644
--- a/include/functions_html.inc.php
+++ b/include/functions_html.inc.php
@@ -251,7 +251,7 @@ function get_html_menu_category($category)
<ul class="menu">';
foreach ($category['subcats'] as $subcat)
{
- $menu.= get_html_menu_category($subcat, &$menu);
+ $menu.= get_html_menu_category($subcat);
}
$menu.= '
</ul>';