Ignore:
Timestamp:
May 16, 2006, 12:21:08 AM (19 years ago)
Author:
plg
Message:

merge -r1312:1313 from branch 1.6 to trunk (bug 373 fixed)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r1121 r1314  
    199199  );
    200200
     201$all_tags = get_all_tags();
     202
     203if (count($all_tags) > 0)
     204{
     205  $tag_selection = get_html_tag_selection(
     206    get_all_tags(),
     207    'tags',
     208    $selected_tags
     209    );
     210}
     211else
     212{
     213  $tag_selection =
     214    '<p>'.
     215    l10n('No tag defined. Use Administration>Pictures>Tags').
     216    '</p>';
     217}
     218 
    201219$template->assign_vars(
    202220  array(
     
    226244    'CREATION_DATE' => $date,
    227245
    228     'TAG_SELECTION' => get_html_tag_selection(
    229       get_all_tags(),
    230       'tags',
    231       $selected_tags
    232       ),
     246    'TAG_SELECTION' => $tag_selection,
    233247
    234248    'DESCRIPTION' =>
Note: See TracChangeset for help on using the changeset viewer.