mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-26 22:02:13 +09:00
Shortcut icons are placed in sitemap
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11845 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d48fb30dc2
commit
26e17dc4fb
1 changed files with 7 additions and 4 deletions
|
|
@ -111,7 +111,7 @@
|
|||
<li>
|
||||
<div class="multilingual x_input-append">
|
||||
<label for="lang_menuName2">메뉴이름</label>
|
||||
<input id="menuName2" class="_menuName lang_code" type="text" required style="width:179px">
|
||||
<input id="menuName2" class="_menuName vLang lang_code" type="text" required style="width:179px">
|
||||
</div>
|
||||
</li>
|
||||
<li class="typePage">
|
||||
|
|
@ -967,12 +967,15 @@ function createTreeMarkup(aNode, sParentSrl, sMenuTree, sMenuTreeNode){
|
|||
sText = sText + " ${s}";
|
||||
}
|
||||
*/
|
||||
var sTextWithHome = sText;
|
||||
var sTextWithIcons = sText;
|
||||
if(sIsStartModule){
|
||||
sTextWithHome = sTextWithHome + " ${h}";
|
||||
sTextWithIcons += " ${h}";
|
||||
}
|
||||
if(!htNodeInfo[sNodeSrl].module){
|
||||
sTextWithIcons += " ${s}";
|
||||
}
|
||||
|
||||
sResult += $.tmpl( sMenuTreeNode, {MenuTitleWithHome:sTextWithHome,MenuTitle:sText,MenuId:sNodeSrl,MenuUrl:sURL,MenuType:nNodeType,SubTree:sSubTree,Target:sTargetPanel} ).get()[0].outerHTML.replace("${s}", "<i class='icon-share-alt'></i>").replace("${h}", "<i class='x_icon-home' title='Home Page'>[HOME]</i>");
|
||||
sResult += $.tmpl( sMenuTreeNode, {MenuTitleWithHome:sTextWithIcons,MenuTitle:sText,MenuId:sNodeSrl,MenuUrl:sURL,MenuType:nNodeType,SubTree:sSubTree,Target:sTargetPanel} ).get()[0].outerHTML.replace("${h}", "<i class='x_icon-home' title='Home Page'>[HOME]</i>").replace("${s}", "<i class='icon-share-alt' title='Shortcut'></i>");
|
||||
}
|
||||
|
||||
return $.tmpl( sMenuTree, {Nodes:sResult} ).get()[0].outerHTML;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue