Update plugin.php
This commit is contained in:
parent
6a3609098f
commit
891f2542c4
@ -34,11 +34,13 @@ class pluginSearch extends Plugin {
|
||||
// HTML for sidebar
|
||||
public function siteSidebar()
|
||||
{
|
||||
global $L;
|
||||
|
||||
$html = '<div class="plugin plugin-search">';
|
||||
$html .= '<h2 class="plugin-label">'.$this->getValue('label').'</h2>';
|
||||
$html .= '<div class="plugin-content">';
|
||||
$html .= '<input type="text" id="plugin-search-input" /> ';
|
||||
$html .= '<input type="button" value="Search" onClick="javascript: window.open(\''.DOMAIN_BASE.'search/\' + document.getElementById(\'plugin-search-input\').value, \'_self\');" />';
|
||||
$html .= '<input type="button" value="'.$L->get('Search').'" onClick="javascript: window.open(\''.DOMAIN_BASE.'search/\' + document.getElementById(\'plugin-search-input\').value, \'_self\');" />';
|
||||
$html .= '</div>';
|
||||
$html .= '</div>';
|
||||
|
||||
@ -206,4 +208,4 @@ class pluginSearch extends Plugin {
|
||||
return array_keys($found);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user