Ignore:
Timestamp:
02/05/10 20:15:23 (6 months ago)
Author:
sidtheduck
Message:
  • Small fix to autoselect album in Upload pulldown list if linking from empty album in Manage
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plog-admin/plog-admin-functions.php

    r607 r611  
    16161616} 
    16171617 
    1618 function plog_picture_manager($id, $from, $limit) { 
     1618function plog_picture_manager($album_id, $from, $limit) { 
    16191619        global $config, $empty; 
    16201620        $output = ''; 
     
    16221622        plogger_init_pictures(array( 
    16231623                'type' => 'album', 
    1624                 'value' => $id, 
     1624                'value' => $album_id, 
    16251625                'from' => $from, 
    16261626                'limit' => $limit, 
     
    16471647                plogger_init_pictures(array( 
    16481648                        'type' => 'album', 
    1649                         'value' => $id, 
     1649                        'value' => $album_id, 
    16501650                        'from' => $from, 
    16511651                        'limit' => $limit, 
     
    17091709                </table>' . "\n"; 
    17101710        } else { 
    1711                 $output .= "\n\n\t\t" . '<p class="actions">'.sprintf(plog_tr('Sadly, there are no pictures yet. Why don\'t you <a title="upload images" href="%s" style="font-weight: bold;">upload some</a>?'), 'plog-upload.php').'</p>' . "\n"; 
     1711                $output .= "\n\n\t\t" . '<p class="actions">'.sprintf(plog_tr('Sadly, there are no pictures yet. Why don\'t you <a title="upload images" href="%s" style="font-weight: bold;">upload some</a>?'), 'plog-upload.php?albums_menu='.$album_id).'</p>' . "\n"; 
    17121712                $empty = true; 
    17131713        } 
Note: See TracChangeset for help on using the changeset viewer.