openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 998b428e1535ea82ade3463a762b63863b0676ca
parent 20556fb6721b2458433f1f8e95a048fa599873a5
Author: dankert <devnull@localhost>
Date:   Sun, 29 Jan 2006 20:02:54 +0100

Seiten neu aus Vorlagen (../templates/*) generiert.

Diffstat:
themes/default/templates/tree/show.tpl.src.php | 33+++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+), 0 deletions(-)

diff --git a/themes/default/templates/tree/show.tpl.src.php b/themes/default/templates/tree/show.tpl.src.php @@ -0,0 +1,33 @@ +page + +RAW +<!-- $Id$ --> + +<table cellpadding="0" cellspacing="0" border="0"> + +<?php foreach( $zeilen as $z ) + { ?> +<tr> + +<?php if (is_array($z['cols'])) foreach( $z['cols'] as $i ) + { ?> +<td width="1%"><img src="<?php echo $image_dir.'tree_'.$i.IMG_EXT ?>" border="0" alt=""></td> +<?php } ?> + +<?php if (isset($z['image'])) + { ?> +<td width="1%"> +<?php if (isset($z['image_url'])) { ?><a href="<?php echo $z['image_url'].'#'.$z['name'] ?>" class="tree" target="_self" title="<?php echo $z['image_url_desc'] ?>"><?php } ?><img src="<?php echo $image_dir.'tree_'.$z['image'].IMG_EXT ?>" alt="" border="0"><?php if (isset($z['image_url'])) { ?></a><?php } ?> +</td> +<?php } ?> + +<td colspan="<?php echo intval(20-count($z['cols'])) ?>" id="<?php echo $z['name'] ?>" valign="middle" style="white-space:nowrap;"> +<a name="<?php echo $z['name'] ?>"></a> +<?php if (isset($z['url'])) { ?><a href="<?php echo $z['url'] ?>" <?php if($z['desc']!='') echo 'title="'.$z['desc'].'" ' ?>class="tree" target="<?php echo $z['target'] ?>"><?php } ?><img src="<?php echo $image_dir.'icon_'.$z['icon'].IMG_ICON_EXT ?>" border="0" alt="" align="left"><?php echo $z['text'] ?><?php if (isset($z['url'])) { ?></a><?php if(isset($z['add'])) echo '&nbsp;<small>'.$z['add'].'<small>' ?><?php } ?> +</td> + +</tr> +<?php } ?> + +</table> +END