浏览代码

The label of the active menu is now used as the title of the web page.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@239 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 年之前
父节点
当前提交
63a594b14c
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      pages/UI.php

+ 1 - 0
pages/UI.php

@@ -1139,6 +1139,7 @@ switch($operation)
 	if (is_object($oActiveNode))
 	{
 		$oActiveNode->RenderContent($oP, $oAppContext->GetAsHash());
+		$oP->set_title($oActiveNode->Get('label'));
 	}
 }
 ////MetaModel::ShowQueryTrace();