Fix the search-button to allow captions wider than 80px (e.g. in german translation)

Change width to min-width. - Loui

Signed-off-by: PyroPeter <abi1789@googlemail.com>
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
PyroPeter 2010-08-07 02:33:29 +02:00 committed by Loui Chang
parent fd863210f8
commit a4458e75bd
2 changed files with 3 additions and 3 deletions

View file

@ -185,6 +185,6 @@ input.button {
color: #6c83b0; color: #6c83b0;
border: 1px solid #6c83b0; border: 1px solid #6c83b0;
font-size: 12px; font-size: 12px;
padding: 2px; padding: 2px 8px;
} }

View file

@ -6,9 +6,9 @@
<span class='f3'><?php print __("Search Criteria"); ?></span> <span class='f3'><?php print __("Search Criteria"); ?></span>
<input type='hidden' name='O' value='0' /> <input type='hidden' name='O' value='0' />
<input type='text' name='K' size='30' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' /> <input type='text' name='K' size='30' value="<?php print stripslashes(trim(htmlspecialchars($_REQUEST["K"], ENT_QUOTES))); ?>" maxlength='35' />
<input type='submit' style='width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' /> <input type='submit' style='min-width:80px' class='button' name='do_Search' value='<?php print __("Go"); ?>' />
<?php if (!empty($_GET['detail'])): ?> <?php if (!empty($_GET['detail'])): ?>
<input type='submit' style='width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' /> <input type='submit' style='min-width:80px' class='button' name='do_Orphans' value='<?php print __("Orphans"); ?>' />
<?php endif; ?> <?php endif; ?>
<a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>"><?php print __("Advanced"); ?></a> <a href="?<?php print mkurl('detail=' . ((!empty($_GET['detail'])) ? 0 : 1) ) ?>"><?php print __("Advanced"); ?></a>