Changeset 825 for trunk/include


Ignore:
Timestamp:
Aug 18, 2005, 7:59:00 PM (19 years ago)
Author:
plg
Message:
  • improvement : screen admin/picture_modify rewritten. Presentation copied from admin/cat_modify : fieldsets regroup fields. Ability to synchronize metadata for the displayed item.
  • bug 110 fixed : "return to element view from element edition fails depending on permissions". If a reachable (for the connected admin) category is available, a "jump to" link is displayed, by default, using the category given in URL.
  • bug fixed : in mass_updates function, the first item of $fieldsupdate has not always 0 for id (as in any array).
  • modification : get_keywords function understands spaces as separator, allow less than 3 chars keywords, allow quotes.
  • new : ability to allow HTML in picture or category description (false by default)
Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r809 r825  
    266266// Maintenance].
    267267$conf['allow_random_representative'] = false;
     268
     269// allow_html_descriptions : authorize administrators to use HTML in
     270// category and element description.
     271$conf['allow_html_descriptions'] = true;
    268272?>
  • trunk/include/functions_html.inc.php

    r817 r825  
    260260    else
    261261    {
    262       $output.= '
    263 <a class="" href="'.add_session_id(PHPWG_ROOT_PATH.$url.$id).'">'.$name.'</a>';
     262      $output.= '<a class=""';
     263      $output.= ' href="'.add_session_id(PHPWG_ROOT_PATH.$url.$id).'">';
     264      $output.= $name.'</a>';
    264265    }
    265266  }
     
    456457{
    457458  $cat_info = get_cat_info($cat_id);
    458   get_cat_display_name($cat_info['id'], $url, $replace_space);
     459  return get_cat_display_name($cat_info['name'], $url, $replace_space);
    459460}
    460461?>
Note: See TracChangeset for help on using the changeset viewer.