Ignore:
Timestamp:
Oct 18, 2008, 3:08:58 AM (16 years ago)
Author:
rvelices
Message:

merge rev 2771,2772 from branch 2.0

  • 2771 event tracer improvement: option to show all registered event handlers for every page
  • 2772 php optims (small): remove/replace preg_xxx with faster simple string functions
File:
1 edited

Legend:

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

    r2747 r2773  
    8282  $pages_around = $conf['paginate_pages_around'];
    8383  $start_str = $clean_url ? '/start-' :
    84     ( ( strstr($url, '?')===false ? '?':'&') . 'start=' );
     84    ( ( strpos($url, '?')===false ? '?':'&') . 'start=' );
    8585
    8686  $navbar = '';
     
    782782{
    783783  global $conf;
    784   if ( !( $conf['allow_html_descriptions'] and
    785           preg_match('/<(div|br|img|script).*>/i', $desc) ) )
     784  if ( !$conf['allow_html_descriptions'] )
    786785  {
    787786    $desc = nl2br($desc);
Note: See TracChangeset for help on using the changeset viewer.