openrat-cms

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

commit 5ac4817b8b97178b9727dd3cf093a127f46151ab
parent 680dab083b10b4461ea5efe55a0730fceff161b7
Author: dankert <devnull@localhost>
Date:   Tue,  8 May 2007 23:16:46 +0200

Unbenutzte Datei entfernt.

Diffstat:
themes/default/templates/model/list.tpl.php | 54------------------------------------------------------
1 file changed, 0 insertions(+), 54 deletions(-)

diff --git a/themes/default/templates/model/list.tpl.php b/themes/default/templates/model/list.tpl.php @@ -1,53 +0,0 @@ -<?php include( $tpl_dir.'header.tpl.php') ?> - -<!-- $Id$ --> -<center> - -<?php echo Html::form('model','add') ?> - -<table class="main" width="60%" cellspacing="0" cellpadding="4"> - -<tr> - <th colspan="3"><?php echo lang('GLOBAL_MODELS') ?></th> -</tr> - -<?php $f1=true; - foreach( $el as $id=>$e ) - { ?> -<tr> -<?php if (isset($e['url'])) - { ?> -<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>"><?php echo $e['name'] ?></a></td> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if ( !isset($e['default_url'])) echo '<strong>'.lang('GLOBAL_default' ).'</strong>'; else echo '<a href="'.$e['default_url'].'" target="_self">'.lang('GLOBAL_make_default').'</a>' ?></td> -<?php } - else - { ?> -<td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><?php echo $e['name'] ?></td> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>">&nbsp;</td> -<?php } ?> -<td width="25%" class="<?php if($f1==true) {echo'f1';$f1=false;} else{echo'f2';$f1=true;}?>"><?php if ( !isset($e['select_url' ])) echo '<strong>'.lang('GLOBAL_selected').'</strong>'; else echo '<a href="'.$e['select_url' ].'" target="_top" >'.lang('GLOBAL_select' ).'</a>' ?></td> -</tr> -<?php } ?> - -<?php if ($add) - { ?> -<tr> -<td class="act" colspan="3"> - -<?php echo lang('GLOBAL_ADD') ?> <input type="text" name="name" size="30"> -<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"> -</td> -</tr> -<?php } ?> - -</table> - -</form> - -</center> - -<script name="JavaScript" type="text/javascript"><!-- -document.forms[0].name.focus(); -//--></script> - -<?php include( $tpl_dir.'footer.tpl.php') ?>- \ No newline at end of file