Ignore:
Timestamp:
Apr 6, 2006, 4:23:54 AM (18 years ago)
Author:
rvelices
Message:

improvement: urls for tags can contain now only the tag or the id and tag

improvement: urls for category can be now id and category names (instead
of only id)

improvement: added 2 indexes (#image_tag.tag_id and #tags.url_name)

improvement: identification, register, search pages automatically set focus
on first form input

improvement: focus, nofocus css class now valid for all forms

fix: category comment is tag stripped in category_subcats.inc.php
(otherwise issues with html/scripts inside category comment)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_list.php

    r1106 r1131  
    174174
    175175  $current_category = get_cat_info($_GET['parent_id']);
    176  
     176
    177177  $navigation.= get_cat_display_name(
    178178    $current_category['name'],
     
    195195  'CATEGORIES_NAV'=>$navigation,
    196196  'F_ACTION'=>$form_action,
    197  
     197
    198198  'L_ADD_VIRTUAL'=>$lang['cat_add'],
    199199  'L_SUBMIT'=>$lang['submit'],
     
    204204  'L_DELETE'=>$lang['delete'],
    205205 ));
    206  
     206
    207207$tpl = array('cat_first','cat_last');
    208208// +-----------------------------------------------------------------------+
     
    257257  //$images_folder = PHPWG_ROOT_PATH.'template/';
    258258  //$images_folder.= $user['template'].'/admin/images';
    259  
     259
    260260  $base_url = PHPWG_ROOT_PATH.'admin.php?page=';
    261261  $cat_list_url = $base_url.'cat_list';
    262  
     262
    263263  $self_url = $cat_list_url;
    264264  if (isset($_GET['parent_id']))
     
    277277        array(
    278278          'category' => $category['id'],
     279          'cat_name' => $category['name'],
    279280          )
    280281        ),
    281      
    282       'U_CHILDREN' => $cat_list_url.'&parent_id='.$category['id'],     
     282
     283      'U_CHILDREN' => $cat_list_url.'&parent_id='.$category['id'],
    283284      'U_EDIT'     => $base_url.'cat_modify&cat_id='.$category['id'],
    284285      )
    285286    );
    286  
     287
    287288  if (empty($category['dir']))
    288289  {
     
    294295      );
    295296  }
    296  
     297
    297298  if ($category['nb_images'] > 0)
    298299  {
Note: See TracChangeset for help on using the changeset viewer.