mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
Minor GUI (btn) changes to search_menu and search.php
This commit is contained in:
@@ -47,7 +47,7 @@ if (isset($custom_query[1]) && $custom_query[1] != '') {
|
|||||||
$height = (isset($custom_query[3]) && $custom_query[3]) ? $custom_query[3] : '16';
|
$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' />";
|
$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 {
|
} 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]) {
|
if (isset($custom_query[5]) && $custom_query[5]) {
|
||||||
|
@@ -12,7 +12,7 @@ if (!defined('SEARCH_SHORTCODE_REF')) {
|
|||||||
if (!isset($SEARCH_SHORTCODE)) {
|
if (!isset($SEARCH_SHORTCODE)) {
|
||||||
|
|
||||||
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='' maxlength='50' />
|
$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
|
/* // Image Version Example
|
||||||
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" />
|
$SEARCH_SHORTCODE = "<input class='tbox search' type='text' name='q' size='20' value='Default Value' maxlength='50' onclick=\"this.value=''\" />
|
||||||
|
@@ -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' />";
|
$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)
|
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_CHECKALL = "<input class='btn 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_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."' />";
|
$SEARCH_VARS->SEARCH_MAIN_SUBMIT = "<input type='hidden' name='r' value='0' /><input class='button' type='submit' name='s' value='".LAN_180."' />";
|
||||||
|
Reference in New Issue
Block a user