Changeset 21039 for trunk/picture.php


Ignore:
Timestamp:
Feb 25, 2013, 10:16:10 PM (11 years ago)
Author:
rvelices
Message:

on picture.php replace U_ADMIN url with U_PHOTO_ADMIN url to avoid being overriden by menubar and having to redefine it (U_ADMIN still there for 2.5 version for backward compatibility)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r20609 r21039  
    773773                  array('action'=>'add_to_caddie')
    774774               ),
    775       'U_ADMIN' => $url_admin,
     775      'U_PHOTO_ADMIN' => $url_admin,
     776      'U_ADMIN' => $url_admin, // TEMP 2.5 for backward compatibility
    776777      )
    777778    );
     
    986987  if (!isset($page['start'])) $page['start'] = 0;
    987988  include( PHPWG_ROOT_PATH.'include/menubar.inc.php');
    988   if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu
     989  if (is_admin()) $template->assign('U_ADMIN', $url_admin); // overwrited by the menu TEMP 2.5 for backward compatibility
    989990}
    990991
Note: See TracChangeset for help on using the changeset viewer.