12345678910111213141516171819202122232425262728 |
- {php $category = m('plugin')->getList(1);$apps = false;if ($_W['role'] == 'founder' || empty($_W['role']))$apps = true;}
- {loop $category $ck $cv}
- {if count($cv['plugins'])<=0}{php continue;}{/if}
- <div class='menu-header'>{$cv['name']}</div>
- <ul class="plugin_tabs">
- {loop $cv['plugins'] $plugin}
- {if com_run('perm::check_plugin',$plugin['identity'])}
- {ifp $plugin['identity']}
- <li {if $_GPC['p'] == $plugin['identity']}class="active"{/if}><a href="{php echo webUrl($plugin['identity'])}">{$plugin['name']}</a></li>
- {/if}
- {/if}
- {/loop}
- </ul>
- {/loop}
- {if $apps}
- <div class='menu-header'>更多应用</div>
- <ul class="plugin_tabs">
- <li><a href="{php echo webUrl('system/plugin/apps')}">应用中心</a></li>
- </ul>
- {/if}
- {if p("grant")}
- <ul class="plugin_tabs">
- <li><a href="{php echo webUrl('plugingrant')}">应用授权</a></li>
- </ul>
- {/if}
-
-
|