浏览代码

"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 年之前
父节点
当前提交
9950185247
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/cmdbabstract.class.inc.php
  2. 二进制
      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");

二进制
images/reload.png