[PHPLIB-DEV] cvs commit From: kk (phplib-dev <email protected>)
Date: 11/06/99

From: kk
Date: Sat Nov 6 17:42:59 1999
Modified files:
      php-lib/pages/menu/button.php3

Log message:

Index: php-lib/pages/menu/button.php3
diff -u php-lib/pages/menu/button.php3:1.4 php-lib/pages/menu/button.php3:1.5
--- php-lib/pages/menu/button.php3:1.4 Sat Nov 6 17:34:58 1999
+++ php-lib/pages/menu/button.php3 Sat Nov 6 17:42:28 1999
@@ -1,7 +1,7 @@
 <?php
  ## Config: Path to font and font sizes
  $font = "/dos/c/windows/fonts/arialbd.ttf";
- $fsize = array(16, 16, 14, 12, 10);
+ $fsize = array(16, 14, 12, 10, 8);
 
  ## Config: Path to cache
  $cache= "./cache";
@@ -13,7 +13,7 @@
  ## Sanitize args
  settype($level, "integer");
  if ($level <1) $level = 1;
- if ($level > count($fsize)) $level = 4;
+ if ($level > count($fsize)) $level = count($fsize);
  $selected = $selected?1:0;
  $hilite = $hilite?1:0;
  $level--; ## comment out if desired (Menu_Button starts levels at 1)

-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.