[xoops-cvslog 5006] CVS update: xoops2jp/html/modules/base/admin/templates/blocks

Back to archive index

Minahito minah****@users*****
2006年 10月 14日 (土) 02:51:07 JST


Index: xoops2jp/html/modules/base/admin/templates/blocks/legacy_admin_block_sidemenu.html
diff -u xoops2jp/html/modules/base/admin/templates/blocks/legacy_admin_block_sidemenu.html:1.1.2.16 xoops2jp/html/modules/base/admin/templates/blocks/legacy_admin_block_sidemenu.html:1.1.2.16.2.1
--- xoops2jp/html/modules/base/admin/templates/blocks/legacy_admin_block_sidemenu.html:1.1.2.16	Mon Sep 11 17:52:35 2006
+++ xoops2jp/html/modules/base/admin/templates/blocks/legacy_admin_block_sidemenu.html	Sat Oct 14 02:51:06 2006
@@ -1,21 +1,17 @@
 <{foreach item=module from=$modules}>
 
-  <{if $module->modinfo.adminindex}>
-    <div id="t<{$module->getShow('mid')}>" class="head">
-      <a href="javascript:void(0)" onclick="ccToggle(<{$module->getVar('mid')}>)"><img src="<{"design/navy.gif"|theme}>" alt="" id="i<{$module->getShow('mid')}>" /></a>
-      <a href="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$module->modinfo.adminindex}>"><{$module->getVar('name')}></a>
+  <{if $module->hasAdminIndex()}>
+    <div id="t<{$module->mXoopsModule->getShow('mid')}>" class="head">
+      <a href="javascript:void(0)" onclick="ccToggle(<{$module->mXoopsModule->getShow('mid')}>)"><img src="<{"design/navy.gif"|theme}>" alt="" id="i<{$module->mXoopsModule->getShow('mid')}>" /></a>
+      <a href="<{$module->getAdminIndex()|escape}>"><{$module->mXoopsModule->getShow('name')}></a>
     </div>
 
-    <div id="c<{$module->getShow('mid')}>" class="submenu">
+    <div id="c<{$module->mXoopsModule->getShow('mid')}>" class="submenu">
       <ul>
-      <{if $module->adminmenu}>
-        <{foreach item=menu from=$module->adminmenu}>
+      <{if $module->getAdminMenu()}>
+        <{foreach item=menu from=$module->getAdminMenu()}>
           <{if $menu.show !== false}>
-            <{if $menu.absolute}>
-              <li><a href="<{$menu.link}>"><{$menu.title|escape}></a></li>
-            <{else}>
-              <li><a href="<{$xoops_url}>/modules/<{$module->getShow('dirname')}>/<{$menu.link}>"><{$menu.title|escape}></a></li>
-            <{/if}>
+            <li><a href="<{$menu.link|escape}>"><{$menu.title|escape}></a></li>
           <{/if}>
         <{/foreach}>
       <{else}>


xoops-cvslog メーリングリストの案内
Back to archive index