openrat-cms

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

commit 7bdce403d9856ac19acb423a3a37224c1b5de4db
parent 8d4a4942fd4d18c1ef791430c7369db3e761f8b0
Author: dankert <devnull@localhost>
Date:   Mon, 13 Dec 2004 23:17:25 +0100

Anpassung an Sprachdatei

Diffstat:
themes/default/pages/html/language/edit.tpl.php | 10+++++-----
themes/default/pages/html/language/list.tpl.php | 8++++----
themes/default/pages/html/model/edit.tpl.php | 8++++----
themes/default/pages/html/model/list.tpl.php | 10+++++-----
4 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/themes/default/pages/html/language/edit.tpl.php b/themes/default/pages/html/language/edit.tpl.php @@ -11,21 +11,21 @@ <table class="main" width="90%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="2"><?php echo lang('LANGUAGE') ?></a></th> + <th colspan="2"><?php echo lang('GLOBAL_LANGUAGE') ?></a></th> </tr> <tr> -<td width="50%" class="f1"><?php echo lang('LANGUAGE') ?></a></td> +<td width="50%" class="f1"><?php echo lang('GLOBAL_LANGUAGE') ?></a></td> <td width="50%" class="f1"><input type="text" size="50" name="name" value="<?php echo $name ?>"></td> </tr> <tr> -<td width="50%" class="f2"><?php echo lang('ISOCODE') ?></a></td> +<td width="50%" class="f2"><?php echo lang('LANGUAGE_ISOCODE') ?></a></td> <td width="50%" class="f2"><input type="text" size="10" name="isocode" maxlength="10" value="<?php echo $isocode ?>"></td> </tr> <?php if ( $delete ) { ?> <tr> -<td width="50%" class="f2" rowspan="2"><?php echo lang('DELETE') ?></a></td> +<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> <td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td> </tr> <tr> @@ -34,7 +34,7 @@ <?php } ?> <tr> -<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('SAVE') ?>"></a></td> +<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td> </tr> </table> diff --git a/themes/default/pages/html/language/list.tpl.php b/themes/default/pages/html/language/list.tpl.php @@ -9,7 +9,7 @@ <table class="main" width="60%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="3"><?php echo lang('LANGUAGES') ?></th> + <th colspan="3"><?php echo lang('GLOBAL_LANGUAGES') ?></th> </tr> <?php $f1=true; @@ -19,14 +19,14 @@ <?php if ( isset($e['url'])) { ?> <td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><a href="<?php echo $e['url'] ?>"><img src="<?php echo $image_dir.'icon_lang.png' ?>" align="left" border="0" /><?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('default').'</strong>'; else echo '<a href="'.$e['default_url'].'">'.lang('make_default').'</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'].'">'.lang('GLOBAL_make_default').'</a>' ?></td> <?php } else { ?> <td width="50%" class="<?php if($f1==true) {echo'f1'; } else{echo'f2'; }?>"><img src="<?php echo $image_dir.'icon_lang.png' ?>" align="left"/><?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('selected').'</strong>'; else echo '<a href="'.'?'.$e['select_url'].'">'.lang('select').'</a>' ?></td> +<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'].'">'.lang('GLOBAL_select').'</a>' ?></td> </tr> <?php } ?> @@ -34,7 +34,7 @@ { ?> <tr> <td colspan="3" class="act"><?php echo Html::selectBox( 'isocode',$isocodes ) ?> -<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"></td> +<input type="submit" class="submit" value="<?php echo lang('GLOBAL_ADD') ?>"></td> </tr> <?php } ?> diff --git a/themes/default/pages/html/model/edit.tpl.php b/themes/default/pages/html/model/edit.tpl.php @@ -10,17 +10,17 @@ <table class="main" width="90%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="2"><?php echo lang('MODEL') ?></a></th> + <th colspan="2"><?php echo lang('GLOBAL_MODEL') ?></a></th> </tr> <tr> -<td width="50%" class="f1"><?php echo lang('NAME') ?></td> +<td width="50%" class="f1"><?php echo lang('GLOBAL_NAME') ?></td> <td width="50%" class="f1"><input type="text" name="name" value="<?php echo $name ?>"></td> </tr> <?php if ( $delete ) { ?> <tr> -<td width="50%" class="f2" rowspan="2"><?php echo lang('DELETE') ?></a></td> +<td width="50%" class="f2" rowspan="2"><?php echo lang('GLOBAL_DELETE') ?></a></td> <td width="50%" class="f2"><input type="checkbox" name="delete" value="1"></td> </tr> <tr> @@ -28,7 +28,7 @@ </tr> <?php } ?> <tr> -<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('SAVE') ?>"></a></td> +<td colspan="2" class="act"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SAVE') ?>"></a></td> </tr> </table> diff --git a/themes/default/pages/html/model/list.tpl.php b/themes/default/pages/html/model/list.tpl.php @@ -10,7 +10,7 @@ <table class="main" width="60%" cellspacing="0" cellpadding="4"> <tr> - <th colspan="3"><?php echo lang('MODELS') ?></th> + <th colspan="3"><?php echo lang('GLOBAL_MODELS') ?></th> </tr> <?php $f1=true; @@ -20,14 +20,14 @@ <?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('default' ).'</strong>'; else echo '<a href="'.'?'.$e['default_url'].'">'.lang('make_default').'</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'].'">'.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('selected').'</strong>'; else echo '<a href="'.'?'.$e['select_url' ].'">'.lang('select' ).'</a>' ?></td> +<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' ].'">'.lang('GLOBAL_select' ).'</a>' ?></td> </tr> <?php } ?> @@ -36,8 +36,8 @@ <tr> <td class="act" colspan="3"> -<?php echo lang('ADD') ?> <input type="text" name="name" size="30"> -<input type="submit" class="submit" value="<?php echo lang('ADD') ?>"> +<?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 } ?>