* adjust for action and header.

This commit is contained in:
wangyidong
2018-01-29 15:07:26 +08:00
parent 4e53c6ef14
commit b557f3896d
4 changed files with 13 additions and 4 deletions
+9
View File
@@ -50,6 +50,15 @@ if($extHookFiles) foreach($extHookFiles as $extHookFile) include $extHookFile;
echo '<li>' . html::a($this->createLink($storyModule, $storyMethod), $storyName) . '</li>';
list($taskName, $taskModule, $taskMethod) = explode('|', $lang->my->menu->testtask['link']);
echo '<li>' . html::a($this->createLink($taskModule, $taskMethod), $taskName) . '</li>';
echo "<li class='divider'></li>";
echo '<li>' . html::a($this->createLink('user', 'logout'), $lang->logout) . '</li>';
echo "<li class='dropdown-submenu left'>";
echo "<a href='javascript:;'>" . $lang->lang . "</a><ul class='dropdown-menu'>";
foreach ($app->config->langs as $key => $value)
{
echo "<li class='lang-option" . ($app->cookie->lang == $key ? " active" : '') . "'><a href='javascript:selectLang(\"$key\");' data-value='" . $key . "'>" . $value . "</a></li>";
}
echo '</ul></li>';
?>
</ul>
</li>