Kaynağa Gözat

"Refresh" button replaced by an small icon

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2329 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 12 yıl önce
ebeveyn
işleme
9950185247
2 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      application/cmdbabstract.class.inc.php
  2. BIN
      images/reload.png

+ 1 - 1
application/cmdbabstract.class.inc.php

@@ -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