Changeset 13025


Ignore:
Timestamp:
02/03/12 22:33:47 (8 years ago)
Author:
plg
Message:

feature 2561: fix links on album administration screens

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin.php

    r13013 r13025  
    234234        'site_update',  // ?only POST 
    235235        'cat_list',     // delete cat 
    236         'cat_modify',   // delete cat; public/private; lock/unlock 
     236        'album',        // delete cat; public/private; lock/unlock, permissions 
    237237        'cat_move',     // ?only POST 
    238238        'cat_options',  // ?only POST; public/private; lock/unlock 
    239         'cat_perm',     // ?only POST 
    240239        'picture_modify', // ?only POST; associate/dissociate 
    241240        'user_perm', 
  • trunk/admin/cat_list.php

    r13013 r13025  
    324324  if ('private' == $category['status']) 
    325325  { 
    326     $tpl_cat['U_MANAGE_PERMISSIONS']= 
    327       $base_url.'cat_perm&cat='.$category['id']; 
     326    $tpl_cat['U_MANAGE_PERMISSIONS'] = $base_url.'album-'.$category['id'].'-permissions'; 
    328327  } 
    329328  $template->append('categories', $tpl_cat); 
  • trunk/admin/include/functions.php

    r13021 r13025  
    19971997    case 'album': 
    19981998    case 'cat_list': 
    1999     case 'cat_modify': 
    20001999    case 'cat_move': 
    20012000    case 'cat_options': 
    2002     case 'cat_perm': 
    20032001    case 'permalinks': 
    20042002      return 1; 
  • trunk/index.php

    r12908 r13025  
    181181  $template->assign( 
    182182    'U_EDIT', 
    183      get_root_url().'admin.php?page=cat_modify' 
    184         .'&cat_id='.$page['category']['id'] 
     183    get_root_url().'admin.php?page=album-'.$page['category']['id'] 
    185184    ); 
    186185} 
Note: See TracChangeset for help on using the changeset viewer.