Ok we are very close to the result bus, as you undertood, I'm quite dummy and I can't find WHERE I can put the code.
My idea is create a php file to include in the theme (in this way when I upgrade moodle verison I have just tu add a line in the original file)
The php I mada is very simple:
<?php
public function search_form(moodle_url $formtarget, $searchvalue)
{
global $CFG;
if (empty($searchvalue))
{
$searchvalue = 'Search Settings..';
}
$content = html_writer::start_tag('form', array('class' => 'topadminsearchform', 'method' => 'get', 'action' => $formtarget));
$content .= html_writer::start_tag('div', array('class' => 'search-box'));
$content .= html_writer::tag('label', s(get_string('searchinsettings', 'admin')), array('for' => 'adminsearchquery', 'class' => 'accesshide'));
$content .= html_writer::empty_tag('input', array('id' => 'topadminsearchquery', 'type' => 'text', 'name' => 'query', 'value' => s($searchvalue),
'onfocus' => "if(this.value == 'Search Settings..') {this.value = '';}",
'onblur' => "if (this.value == '') {this.value = 'Search Settings..';}"));
//$content .= html_writer::empty_tag('input', array('class'=>'search-go','type'=>'submit', 'value'=>''));
$content .= html_writer::end_tag('div');
$content .= html_writer::end_tag('form');
return $content;
}
$social='
<ul class="socioweb-icons nav pull-right">
<li><a href="#" title="#"><img src="'.$OUTPUT->pix_url('footer/logos/facebook', 'theme') .'" height="30" width="30" alt="Facebook" title="Facebook" /></a></li>
<li><a href="#" title="#"><img src="'.$OUTPUT->pix_url('footer/logos/twitter', 'theme') .'" height="30" width="30" alt="Twitter" title="Twitter" /></a></li>
<li><a href="#" title="#"><img src="'.$OUTPUT->pix_url('footer/logos/flickr', 'theme') .'" height="30" width="30" alt="Flickr" title="Flickr" /></a></li>
</ul>
';
echo $social;
?>
but, as I said before, I don't know where include it.
THANK YOU Mary!!!!