mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
N°1226: code refactoring of the previously coded bugfix.
SVN:trunk[5793]
This commit is contained in:
@@ -942,10 +942,7 @@ EOF
|
||||
// Render the text of the global search form
|
||||
$sText = htmlentities(utils::ReadParam('text', '', false, 'raw_data'), ENT_QUOTES, 'UTF-8');
|
||||
$sOnClick = " onclick=\"if ($('#global-search-input').val() != '') { $('#global-search form').submit(); } \"";
|
||||
$sDefaultPlaceHolder = '';
|
||||
if (empty($sText)) {
|
||||
$sDefaultPlaceHolder = Dict::S("UI:YourSearch");
|
||||
}
|
||||
$sDefaultPlaceHolder = Dict::S("UI:YourSearch");
|
||||
|
||||
if ($this->IsPrintableVersion()) {
|
||||
$sHtml .= ' <!-- Beginning of page content -->';
|
||||
|
||||
Reference in New Issue
Block a user