Changeset 1860 for branches/release-34/php/lib/MTViewer.php
- Timestamp:
- 04/11/08 10:00:27 (20 months ago)
- Files:
-
- 1 modified
-
branches/release-34/php/lib/MTViewer.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/release-34/php/lib/MTViewer.php
r1832 r1860 239 239 240 240 function smarty_block_elseif($args, $content, &$ctx, &$repeat) { 241 $args['elseif'] = 1;242 241 return $this->smarty_block_else($args, $content, $ctx, $repeat); 243 242 } … … 255 254 $args['name'] = $var; 256 255 } 257 if ( (count($args) > 1) || $args['elseif']) {256 if (count($args) >= 1) { # else-if case 258 257 require_once("block.mtif.php"); 258 $args['elseif'] = 1; 259 259 if (!isset($content)) { 260 260 $out = smarty_block_mtif($args, $content, $ctx, $repeat);
