mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 09:13:02 +02:00
- 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
This commit is contained in:
@@ -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 )
|
||||
{
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user