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