From 0c6b58a847e74cc5f51616e9a6f71935806dece0 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Sat, 21 Jan 2006 13:14:35 +0100 Subject: removed graphical list bullet Unordered lists used a graphic for the list bullet. Using the same technique as in the ordered lists we don't need an image just to have the color. This has two advantages: 1. The list bullets still have the correct color when colors are adjusted in style.ini 2. List bullets grow and shrink correctly with the fontsize It has a disadvantage as well: All list items need to be marked up like this:
  • '; - print '
  • '.$lang['lockedby'].': '.$INFO['locked'].'
  • '; - print '
  • '.$lang['lockexpire'].': '.$expire.' ('.$min.' min)
  • '; + print '
  • '.$lang['lockedby'].': '.$INFO['locked'].'
  • '; + print '
  • '.$lang['lockexpire'].': '.$expire.' ('.$min.' min)
  • '; print ''; } @@ -416,6 +416,7 @@ function html_revisions(){ print ''; @@ -494,6 +498,7 @@ function html_recent($first=0){ foreach($recents as $recent){ $date = date($conf['dformat'],$recent['date']); print ($recent['minor']) ? '
  • ' : '
  • '; + print '
    '; print $date.' '; @@ -532,6 +537,7 @@ function html_recent($first=0){ } print ''; + print '
    '; print '
  • '; } print ''; @@ -669,9 +675,9 @@ function html_buildlist($data,$class,$func,$lifunc='html_li_default'){ //print item $ret .= $lifunc($item); //user function - $ret .= ''; + $ret .= '
    '; $ret .= $func($item); //user function - $ret .= ''; + $ret .= '
    '; } //close remaining items and lists @@ -698,9 +704,9 @@ function html_backlinks(){ print '
      '; foreach($data as $blink){ - print '
    • '; + print '
    • '; print html_wikilink(':'.$blink,$conf['useheading']?NULL:$blink); - print '
    • '; + print ''; } print '
    '; } @@ -1144,12 +1150,12 @@ function html_admin(){ foreach ($menu as $item) { if (!$item['prompt']) continue; - ptln('
  • '.$item['prompt'].'
  • '); + ptln('
  • '); } // add in non-plugin functions if (!$conf['openregister']){ - ptln('
  • '.$lang['admin_register'].'
  • '); + ptln('
  • '); } ptln(''); -- cgit v1.2.3