openrat-cms

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

commit cf9a37aef143c070e8f00f49af5399e6f891ccc7
parent 9debc20dbdde4730a2e09b9be526c96ce1a0cc55
Author: dankert <devnull@localhost>
Date:   Mon, 29 Nov 2004 00:02:49 +0100

Anpassen an neue Sprachdatei-Konventionen

Diffstat:
themes/default/pages/html/search/content.tpl.php | 11++++++-----
themes/default/pages/html/search/prop.tpl.php | 19++++++++++---------
2 files changed, 16 insertions(+), 14 deletions(-)

diff --git a/themes/default/pages/html/search/content.tpl.php b/themes/default/pages/html/search/content.tpl.php @@ -6,8 +6,9 @@ <form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="searchaction" value="search"> -<input type="hidden" name="searchtype" value="content"> +<input type="hidden" name="action" value="search"> +<input type="hidden" name="subaction" value="search"> +<input type="hidden" name="searchtype" value="content"> <table class="main" width="90%" cellspacing="0" cellpadding="4"> @@ -16,15 +17,15 @@ </tr> <tr> -<td width="50%" class="f1"><input type="radio" name="type" value="value" onClick="document.forms[0].text.focus();"><?php echo lang('value') ?></a></td> +<td width="50%" class="f1"><input type="radio" name="type" value="value" onClick="document.forms[0].text.focus();"><?php echo lang('GLOBAL_value') ?></a></td> <td width="50%" class="f1"><input type="text" name="text" size="50" value="" onFocus="document.forms[0].type[0].checked=true;"></td> </tr> <tr> -<td width="50%" class="f2"><input type="radio" name="type" value="lastchange_user"><?php echo lang('lastchange') ?></a></td> +<td width="50%" class="f2"><input type="radio" name="type" value="lastchange_user"><?php echo lang('GLOBAL_lastchange') ?></a></td> <td width="50%" class="f2"><?php echo Html::selectBox('lastchange_userid',$users) ?></td> </tr> <tr> -<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('SEARCH') ?>"></td> +<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SEARCH') ?>"></td> </tr> </table> diff --git a/themes/default/pages/html/search/prop.tpl.php b/themes/default/pages/html/search/prop.tpl.php @@ -6,7 +6,8 @@ <form action="<?php echo $self ?>" method="post" target="_self"> -<input type="hidden" name="searchaction" value="search"> +<input type="hidden" name="action" value="search"> +<input type="hidden" name="subaction" value="search"> <input type="hidden" name="searchtype" value="prop" > <table class="main" width="90%" cellspacing="0" cellpadding="4"> @@ -16,35 +17,35 @@ </tr> <tr> -<td width="50%" class="f1"><input type="radio" name="type" value="id" onClick="document.forms[0].id.focus();"><?php echo lang('id') ?></a></td> +<td width="50%" class="f1"><input type="radio" name="type" value="id" onClick="document.forms[0].id.focus();"><?php echo lang('GLOBAL_id') ?></a></td> <td width="50%" class="f1"><input type="text" name="id" size="10" value="" onFocus="document.forms[0].type[0].checked=true;"></td> </tr> <tr> -<td width="50%" class="f1"><input type="radio" name="type" value="name" onClick="document.forms[0].name.focus();"><?php echo lang('name') ?></a></td> +<td width="50%" class="f1"><input type="radio" name="type" value="name" onClick="document.forms[0].name.focus();"><?php echo lang('GLOBAL_name') ?></a></td> <td width="50%" class="f1"><input type="text" name="name" size="50" value="" onFocus="document.forms[0].type[1].checked=true;"></td> </tr> <tr> -<td width="50%" class="f1"><input type="radio" name="type" value="filename" onClick="document.forms[0].filename.focus();"><?php echo lang('filename') ?></a></td> +<td width="50%" class="f1"><input type="radio" name="type" value="filename" onClick="document.forms[0].filename.focus();"><?php echo lang('GLOBAL_filename') ?></a></td> <td width="50%" class="f1"><input type="text" name="filename" size="50" value="" onFocus="document.forms[0].type[2].checked=true;"></td> </tr> <tr> -<td width="50%" class="f2"><input type="radio" name="type" value="extension" onClick="document.forms[0].extension.focus();"><?php echo lang('extension') ?></a></td> +<td width="50%" class="f2"><input type="radio" name="type" value="extension" onClick="document.forms[0].extension.focus();"><?php echo lang('FILE_extension') ?></a></td> <td width="50%" class="f2"><input type="text" name="extension" size="50" value="" onFocus="document.forms[0].type[3].checked=true;"></td> </tr> <tr> -<td width="50%" class="f2"><input type="radio" name="type" value="desc" onClick="document.forms[0].desc.focus();"><?php echo lang('description') ?></a></td> +<td width="50%" class="f2"><input type="radio" name="type" value="desc" onClick="document.forms[0].desc.focus();"><?php echo lang('GLOBAL_description') ?></a></td> <td width="50%" class="f2"><input type="text" name="desc" size="50" value="" onFocus="document.forms[0].type[4].checked=true;"></td> </tr> <tr> -<td width="50%" class="f2"><input type="radio" name="type" value="create_user" onClick="document.forms[0].create_user.focus();"><?php echo lang('created') ?></a></td> +<td width="50%" class="f2"><input type="radio" name="type" value="create_user" onClick="document.forms[0].create_user.focus();"><?php echo lang('GLOBAL_created') ?></a></td> <td width="50%" class="f2"><?php echo Html::selectBox('create_userid',$users) ?></td> </tr> <tr> -<td width="50%" class="f2"><input type="radio" name="type" value="lastchange_user" onClick="document.forms[0].lastchange_user.focus();"><?php echo lang('lastchange') ?></a></td> +<td width="50%" class="f2"><input type="radio" name="type" value="lastchange_user" onClick="document.forms[0].lastchange_user.focus();"><?php echo lang('GLOBAL_lastchange') ?></a></td> <td width="50%" class="f2"><?php echo Html::selectBox('lastchange_userid',$users) ?></td> </tr> <tr> -<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('SEARCH') ?>"></td> +<td class="act" colspan="2"><input type="submit" class="submit" value="<?php echo lang('GLOBAL_SEARCH') ?>"></td> </tr> </table>