"Refresh" button replaced by an small icon

SVN:trunk[2329]
This commit is contained in:
Denis Flaven
2012-10-23 09:11:10 +00:00
parent 2ca4b02548
commit 4981344c24
2 changed files with 1 additions and 1 deletions

View File

@@ -202,7 +202,7 @@ abstract class cmdbAbstractObject extends CMDBObject implements iDisplay
$oPage->add("<div class=\"page_header\"><h1>".$this->GetIcon()."&nbsp;\n");
if ($_SERVER['REQUEST_METHOD'] == 'GET')
{
$sRefreshIcon = '&nbsp<button type="button" onclick="window.location.reload();">'.Dict::S('UI:Button:Refresh').'</button>';
$sRefreshIcon = '<img src="../images/reload.png" style="cursor:pointer;vertical-align:middle;margin-left:1em;" onclick="window.location.reload();" title="'.htmlentities(Dict::S('UI:Button:Refresh'), ENT_QUOTES, 'UTF-8').'"/>';
}
$oPage->add(MetaModel::GetName(get_class($this)).": <span class=\"hilite\">".$this->GetName()."</span>$sRefreshIcon $sSynchroIcon</h1>\n");
$oPage->add("</div>\n");

BIN
images/reload.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 618 B