Ignore:
Timestamp:
Apr 19, 2008, 5:00:11 AM (16 years ago)
Author:
rvelices
Message:

merge -r 2303 from branch-1_7 to trunk

  • removed some unused code
  • mass_updates function does not need SELECT VERSION()
  • rewrote update_uppercats to avoid db update if no change
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/picture_modify.php

    r2299 r2304  
    189189$selected_tags = array_from_query($query, 'tag_id');
    190190
    191 // Navigation path
    192 
    193 $date = isset($_POST['date_creation']) && empty($page['errors'])
    194 ?$_POST['date_creation']:date_convert_back(@$row['date_creation']);
    195 
    196191// +-----------------------------------------------------------------------+
    197192// |                             template init                             |
     
    225220  array(
    226221    'U_SYNC' =>
    227         PHPWG_ROOT_PATH.'admin.php?page=picture_modify'.
     222        get_root_url().'admin.php?page=picture_modify'.
    228223        '&image_id='.$_GET['image_id'].
    229224        (isset($_GET['cat_id']) ? '&cat_id='.$_GET['cat_id'] : '').
     
    247242    'AUTHOR' => isset($_POST['author']) ? $_POST['author'] : @$row['author'],
    248243
    249     'CREATION_DATE' => $date,
    250 
    251244    'TAG_SELECTION' => $tag_selection,
    252245
     
    256249
    257250    'F_ACTION' =>
    258         PHPWG_ROOT_PATH.'admin.php'
     251        get_root_url().'admin.php'
    259252        .get_query_string_diff(array('sync_metadata'))
    260253    )
Note: See TracChangeset for help on using the changeset viewer.