openrat-cms

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

commit 29d78e6a9bf0824d0e6acda1e7935994f44ee88e
parent decbcfbc352f219659cc4542ed20d97aa8bd1844
Author: dankert <devnull@localhost>
Date:   Sun, 28 Nov 2004 20:20:29 +0100

Anpassen an neue Sprachdatei-Konventionen

Diffstat:
themes/default/pages/html/page/element.tpl.php | 41++++++++++++++++++++---------------------
themes/default/pages/html/page/src.tpl.php | 2+-
themes/default/pages/html/pageelement/archive.tpl.php | 10+++++-----
3 files changed, 26 insertions(+), 27 deletions(-)

diff --git a/themes/default/pages/html/page/element.tpl.php b/themes/default/pages/html/page/element.tpl.php @@ -5,43 +5,42 @@ <table class="main" width="90%" cellspacing="0" cellpadding="4"> -<tr> - <th colspan="4"><?php echo lang('ELEMENTS') ?></th> -</tr> + <tr> + <th colspan="3"><?php echo lang('ELEMENTS') ?></th> + </tr> <?php if ( count($el) > 0 ) { ?> -<tr> - <td class="help"><?php echo lang('PAGE_ELEMENT_NAME') ?></td> - <td class="help"><?php echo lang('PAGE_ELEMENT_VALUE') ?></td> - <td class="help"><?php echo lang('ARCHIVE') ?></td> - <td class="help"><?php echo lang('LASTCHANGE') ?></td> -</tr> + <tr> + <td class="help"><?php echo lang('PAGE_ELEMENT_NAME') ?></td> + <td class="help"><?php echo lang('PAGE_ELEMENT_VALUE') ?></td> + <td class="help"><?php echo lang('GLOBAL_ARCHIVE') ?></td> + </tr> <?php $f1=true; foreach( $el as $id=>$e ) { $fx = fx($f1); ?> -<tr> -<td width="25%" class="<?php echo $fx ?>"><a href="<?php echo $e['url'] ?>" title="<?php echo $e['desc'] ?>"><img src="<?php echo $image_dir.'icon_el_'.$e['type'].'.png' ?>" border="0" align="left"><?php echo $e['name'] ?></a></td> -<td width="40%" class="<?php echo $fx ?>"><?php echo $e['value'] ?>&nbsp;</td> -<td width="15%" class="<?php echo $fx ?>"><a href="<?php echo $e['archive_url'] ?>"><?php echo lang('ARCHIVE') ?></a> (<?php echo $e['archive_count'] ?>)</td> -<td width="20%" class="<?php echo $fx ?>"><span title="<?php echo $e['date'].', '.$e['userfullname'] ?>"><?php echo $e['username'] ?></span></td> -</tr> + <tr> + <td width="25%" class="<?php echo $fx ?>"><a href="<?php echo $e['url'] ?>" title="<?php echo $e['desc'] ?>"><img src="<?php echo $image_dir.'icon_el_'.$e['type'].'.png' ?>" border="0" align="left"><?php echo $e['name'] ?></a></td> + <td width="40%" class="<?php echo $fx ?>"><?php echo $e['value'] ?>&nbsp;</td> + <td width="15%" class="<?php echo $fx ?>"><a href="<?php echo $e['archive_url'] ?>"><?php echo lang('GLOBAL_ARCHIVE') ?></a> (<?php echo $e['archive_count'] ?>)</td> + </tr> <?php } ?> -<tr> - <td class="help" colspan="4"><?php echo lang('PAGE_ELEMENTS_DESC') ?></td> -</tr> + <tr> + <td class="help" colspan="3"><?php echo lang('PAGE_ELEMENTS_DESC') ?></td> + </tr> <?php } else { ?> -<tr> -<td colspan="4" class="f1"><strong><?php echo lang('NOT_FOUND') ?></strong></td> -</tr> + <tr> + <td colspan="3" class="f1"><strong><?php echo lang('GLOBAL_NOT_FOUND') ?></strong></td> + </tr> <?php } ?> </table> </center> + <?php include( $tpl_dir.'footer.tpl.php') ?> \ No newline at end of file diff --git a/themes/default/pages/html/page/src.tpl.php b/themes/default/pages/html/page/src.tpl.php @@ -6,7 +6,7 @@ <table class="main" width="90%" cellspacing="0" cellpadding="4"> <tr> - <th><?php echo lang('SOURCE') ?></th> + <th><?php echo lang('PAGE_SOURCE') ?></th> </tr> <tr> diff --git a/themes/default/pages/html/pageelement/archive.tpl.php b/themes/default/pages/html/pageelement/archive.tpl.php @@ -6,15 +6,15 @@ <table class="main" width="90%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="6"><?php echo lang('ARCHIVE') ?> (<?php echo lang('ELEMENT') ?>: <?php echo $name ?>)</th> + <th colspan="6"><?php echo lang('GLOBAL_ARCHIVE') ?> (<?php echo lang('ELEMENT') ?>: <?php echo $name ?>)</th> </tr> <?php if (count($el)>0) { ?> <tr> <td class="help"><?php echo lang('GLOBAL_NR') ?></td> <td class="help"><?php echo lang('DATE') ?></td> - <td class="help"><?php echo lang('USER') ?></td> - <td class="help"><?php echo lang('VALUE') ?></td> + <td class="help"><?php echo lang('GLOBAL_USER') ?></td> + <td class="help"><?php echo lang('GLOBAL_VALUE') ?></td> <td class="help">&nbsp;</td> <td class="help">&nbsp;</td> </tr> @@ -29,8 +29,8 @@ <td width="20%" class="<?php echo $fx ?>"><?php echo $e['date'] ?></td> <td width="20%" class="<?php echo $fx ?>"><?php echo $e['user' ] ?></td> <td width="45%" class="<?php echo $fx ?>"><?php echo $e['value'] ?></td> -<td width="15%" class="<?php echo $fx ?>"><?php if ($e['public']) echo lang('public'); elseif ($e['releaseUrl']!='') { ?><a href="<?php echo $e['releaseUrl'] ?>"><?php echo lang('RELEASE') ?></a><?php } else { ?>&nbsp;<?php } ?></td> -<td width="10%" class="<?php echo $fx ?>"><?php if ($e['active']) echo lang('active'); elseif ($e['useUrl' ]!='') { ?><a href="<?php echo $e['useUrl' ] ?>"><?php echo lang('USE' ) ?></a><?php } else { ?>&nbsp;<?php } ?></td> +<td width="15%" class="<?php echo $fx ?>"><?php if ($e['public']) echo lang('GLOBAL_PUBLIC'); elseif ($e['releaseUrl']!='') { ?><a href="<?php echo $e['releaseUrl'] ?>"><?php echo lang('GLOBAL_RELEASE') ?></a><?php } else { ?>&nbsp;<?php } ?></td> +<td width="10%" class="<?php echo $fx ?>"><?php if ($e['active']) echo lang('GLOBAL_ACTIVE'); elseif ($e['useUrl' ]!='') { ?><a href="<?php echo $e['useUrl' ] ?>"><?php echo lang('GLOBAL_USE' ) ?></a><?php } else { ?>&nbsp;<?php } ?></td> </tr> <?php } ?> <tr>