diff options
author | rvelices <rv-github@modusoptimus.com> | 2007-02-14 00:36:34 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2007-02-14 00:36:34 +0000 |
commit | 711ebcbf2c1906b6496711eb6973954ecb113d72 (patch) | |
tree | 625490d68f96f6aba3f93c484f6208e10cc9f3b8 /include | |
parent | 03911f5aa32d4dd65d85b7dd81379fedd27bbef5 (diff) |
- thumbnails creation for all local sites (not only site id 1)
- urls for images in notification (rss & mail) is now correct
- removed "Recent pictures" from title in when the flat view is in effect
- removed unnecessary class="" from comments.tpl
- english language correction
- removed unused web service files
- set rating star button left & right margin to 0 (javascript)
- admin menu - put site manager and synchronize together
git-svn-id: http://piwigo.org/svn/trunk@1814 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | include/functions_notification.inc.php | 7 | ||||
-rw-r--r-- | include/section_init.inc.php | 5 |
2 files changed, 5 insertions, 7 deletions
diff --git a/include/functions_notification.inc.php b/include/functions_notification.inc.php index c7f3fdc49..d67b02ec6 100644 --- a/include/functions_notification.inc.php +++ b/include/functions_notification.inc.php @@ -474,7 +474,7 @@ SELECT date_available, if ($max_elements>0) { // get some thumbnails ... $query = ' -SELECT DISTINCT id, path, name, tn_ext +SELECT DISTINCT id, path, name, tn_ext, file FROM '.IMAGES_TABLE.' INNER JOIN '.IMAGE_CATEGORY_TABLE.' AS ic ON id=image_id '.$where_sql.' AND date_available="'.$dates[$i]['date_available'].'" @@ -535,7 +535,10 @@ function get_html_description_recent_post_date($date_detail) { $tn_src = get_thumbnail_url($element); $description .= '<a href="'. - make_picture_url(array('image_id' => $element['id'])) + make_picture_url(array( + 'image_id' => $element['id'], + 'image_file' => $element['file'], + )) .'"><img src="'.$tn_src.'"/></a>'; } $description .= '...<br/>'; diff --git a/include/section_init.inc.php b/include/section_init.inc.php index 399347659..0f44012de 100644 --- a/include/section_init.inc.php +++ b/include/section_init.inc.php @@ -411,11 +411,6 @@ if ('categories' == $page['section']) : 'include/category_cats.inc.php'; } - if (isset($page['flat'])) - { - $page['title'] = $lang['recent_pics_cat'].' : '.$page['title'] ; - } - if ( (!isset($page['chronology_field'])) and |