1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Minor GUI (btn) changes to search_menu and search.php

This commit is contained in:
Tijn Kuyper 2013-02-18 12:47:28 +01:00
parent 2679a199c6
commit 67e2d73fde
3 changed files with 4 additions and 4 deletions

View File

@ -47,7 +47,7 @@ if (isset($custom_query[1]) && $custom_query[1] != '') {
$height = (isset($custom_query[3]) && $custom_query[3]) ? $custom_query[3] : '16';
$search_button = "<input type='image' src='".$image_file."' value='".LAN_180."' style='width: ".$width."px; height: ".$height."px; border: 0px; vertical-align: middle' name='s' />";
} else {
$search_button = "<input class='button search' type='submit' name='s' value='".LAN_180."' />";
$search_button = "<input class='btn button search' type='submit' name='s' value='".LAN_180."' />";
}
if (isset($custom_query[5]) && $custom_query[5]) {

View File

@ -12,7 +12,7 @@ if (!defined('SEARCH_SHORTCODE_REF')) {
if (!isset($SEARCH_SHORTCODE)) {
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='' maxlength='50' />
<input class='button btn search' type='submit' name='s' value=\"".LAN_180."\" />";
<input class='btn button search' type='submit' name='s' value=\"".LAN_180."\" />";
/* // Image Version Example
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" />

View File

@ -300,8 +300,8 @@ $value = isset($_GET['q']) ? $tp -> post_toForm($_GET['q']) : "";
$SEARCH_VARS->SEARCH_MAIN_SEARCHFIELD = "<input class='tbox m_search' type='text' id='q' name='q' size='35' value='".$value."' maxlength='50' />";
if ($search_prefs['selector'] == 1)
{
$SEARCH_VARS->SEARCH_MAIN_CHECKALL = "<input class='button' type='button' name='CheckAll' value='".LAN_SEARCH_1."' onclick='checkAll(this);' />";
$SEARCH_VARS->SEARCH_MAIN_UNCHECKALL = "<input class='button' type='button' name='UnCheckAll' value='".LAN_SEARCH_2."' onclick='uncheckAll(this); uncheckG();' />";
$SEARCH_VARS->SEARCH_MAIN_CHECKALL = "<input class='btn button' type='button' name='CheckAll' value='".LAN_SEARCH_1."' onclick='checkAll(this);' />";
$SEARCH_VARS->SEARCH_MAIN_UNCHECKALL = "<input class='btn button' type='button' name='UnCheckAll' value='".LAN_SEARCH_2."' onclick='uncheckAll(this); uncheckG();' />";
}
$SEARCH_VARS->SEARCH_MAIN_SUBMIT = "<input type='hidden' name='r' value='0' /><input class='button' type='submit' name='s' value='".LAN_180."' />";