- remove the keywords and description.

* adjust the header.
This commit is contained in:
wangchunsheng
2012-06-29 08:14:30 +00:00
parent cf956ce822
commit 84abf0397e
4 changed files with 9 additions and 14 deletions
+7 -2
View File
@@ -190,20 +190,25 @@ class commonModel extends model
{
global $lang, $app;
printf($lang->todayIs, date(DT_DATE3));
printf($lang->todayIs, date(DT_DATE4));
if(isset($app->user)) echo $app->user->realname . ' ';
if(isset($app->user) and $app->user->account != 'guest')
{
echo html::a(helper::createLink('my', 'index'), $lang->myControl);
echo html::a(helper::createLink('user', 'logout'), $lang->logout);
}
else
{
echo html::a(helper::createLink('user', 'login'), $lang->login);
}
echo ' |  ';
echo html::a(helper::createLink('misc', 'about'), $lang->aboutZenTao, '', "class='about'");
echo $lang->agileTraining;
echo $lang->donate;
echo ' | ';
echo html::select('', $app->config->langs, $app->cookie->lang, 'onchange="selectLang(this.value)"');
echo html::select('', $app->lang->themes, $app->cookie->theme, 'onchange="selectTheme(this.value)"');
}
/**