openrat-cms

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

commit 4b04f30a8a2e27333e2b21671c9134b260fba624
parent efea4e8de5f0bc5337b4396f499ce9d4371e9dbb
Author: dankert <devnull@localhost>
Date:   Sun, 28 Nov 2004 23:44:40 +0100

Anpassen an neue Sprachdatei-Konventionen

Diffstat:
themes/default/pages/html/group/edit.tpl.php | 8++++----
themes/default/pages/html/group/list.tpl.php | 18+++++++++---------
themes/default/pages/html/group/users.tpl.php | 8++++----
themes/default/pages/html/project/list.tpl.php | 4++--
themes/default/pages/html/user/list.tpl.php | 4++--
5 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/themes/default/pages/html/group/edit.tpl.php b/themes/default/pages/html/group/edit.tpl.php @@ -11,16 +11,16 @@ <table class="main" width="90%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="2"><?php echo lang('GROUP') ?></th> + <th colspan="2"><?php echo lang('GLOBAL_GROUP') ?></th> </tr> <tr> - <td width="50%" class="f1"><?php echo lang('NAME') ?></a></td> + <td width="50%" class="f1"><?php echo lang('GLOBAL_NAME') ?></a></td> <td width="50%" class="f1"><input type="text" name="name" value="<?php echo $name ?>"></td> </tr> <tr> - <td class="f1" rowspan="2"><?php echo lang('DELETE') ?></a></td> + <td class="f1" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> <td class="f1"><input type="checkbox" name="delete" value="1"></td> </tr> <tr> @@ -28,7 +28,7 @@ </tr> <tr> - <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('SAVE') ?>"></td> + <td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></td> </tr> </table> diff --git a/themes/default/pages/html/group/list.tpl.php b/themes/default/pages/html/group/list.tpl.php @@ -10,21 +10,21 @@ <table class="main" width="50%" cellspacing="0" cellpadding="4"> -<tr> - <th><?php echo lang('GROUPS') ?></th> -</tr> + <tr> + <th><?php echo lang('GLOBAL_GROUPS') ?></th> + </tr> <?php $f1=true; foreach( $el as $id=>$e ) { ?> -<tr> -<td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><img src="<?php echo $image_dir ?>icon_group.png" border="0" align="left"><?php echo $e['name'] ?></a></td> -</tr> + <tr> + <td class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>" target="cms_main"><img src="<?php echo $image_dir ?>icon_group.png" border="0" align="left"><?php echo $e['name'] ?></a></td> + </tr> <?php } ?> -<tr> -<td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> -</tr> + <tr> + <td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> + </tr> </table> diff --git a/themes/default/pages/html/group/users.tpl.php b/themes/default/pages/html/group/users.tpl.php @@ -11,27 +11,27 @@ <table class="main" width="60%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="2"><?php echo lang('MEMBERSHIPS') ?></th> + <th colspan="2"><?php echo lang('GROUP_MEMBERSHIPS') ?></th> </tr> <?php $f1=true; foreach( $memberships as $id=>$name ) { ?> <tr> <td width="50%" class="<?php if($f1==true) {echo'f1'; }else{echo'f2'; }?>"><?php echo $name ?></td> -<td width="10%" class="<?php if($f1==true) {echo'f1';$f1=false;}else{echo'f2';$f1=true;}?>"><a href="<?php echo Html::url(array('action'=>'group','subaction'=>'deluser','userid'=>$id)) ?>"><?php echo lang('DELETE') ?></a></td> +<td width="10%" class="<?php if($f1==true) {echo'f1';$f1=false;}else{echo'f2';$f1=true;}?>"><a href="<?php echo Html::url(array('action'=>'group','subaction'=>'deluser','userid'=>$id)) ?>"><?php echo lang('GLOBAL_DELETE') ?></a></td> </tr> <?php } if ( count($memberships)==0 ) { ?> <tr> -<td colspan="2" class="f1"><?php echo lang('NOT_FOUND') ?></td> +<td colspan="2" class="f1"><?php echo lang('GLOBAL_NOT_FOUND') ?></td> </tr> <?php } ?> <?php if ( count($users)>0 ) { ?> <tr> - <td colspan="2" class="act"><?php echo Html::selectBox('userid',$users) ?></a>&nbsp;<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> + <td colspan="2" class="act"><?php echo Html::selectBox('userid',$users) ?></a>&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> </tr> <?php } ?> diff --git a/themes/default/pages/html/project/list.tpl.php b/themes/default/pages/html/project/list.tpl.php @@ -11,7 +11,7 @@ <table class="main" width="50%" cellspacing="0" cellpadding="4"> <tr> - <th><?php echo lang('PROJECTS') ?></th> + <th><?php echo lang('GLOBAL_PROJECTS') ?></th> </tr> <?php $f1=true; @@ -23,7 +23,7 @@ <?php } ?> <tr> -<td class="act" colspan="2"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> +<td class="act" colspan="2"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> </tr> </table> diff --git a/themes/default/pages/html/user/list.tpl.php b/themes/default/pages/html/user/list.tpl.php @@ -11,7 +11,7 @@ <table class="main" width="50%" cellspacing="0" cellpadding="4"> <tr> - <th><?php echo lang('USERS') ?></th> + <th><?php echo lang('GLOBAL_USERS') ?></th> </tr> <?php $f1=true; @@ -23,7 +23,7 @@ <?php } ?> <tr> -<td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> +<td class="act"><input type="text" name="name" value="">&nbsp;<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> </tr> </table>