- remove the keywords and desc from the template.

This commit is contained in:
wangchunsheng
2012-06-29 03:41:27 +00:00
parent 00b78808f0
commit a507f4f4df

View File

@@ -13,13 +13,8 @@ $clientTheme = $this->app->getClientTheme();
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<?php
$header = isset($header) ? (object)$header : new stdclass();
if(!isset($header->title)) $header->title = $lang->ZenTaoPMS;
if(!isset($header->keywords)) $header->keywords = $lang->zentaoKeywords;
if(!isset($header->desc)) $header->desc = $lang->zentaoDESC;
if(!isset($header->title)) $header->title = $lang->ZenTaoPMS;
echo html::title($header->title . ' / ' . $lang->ZenTaoPMS);
echo html::meta('keywords', $header->keywords);
echo html::meta('description', $header->desc);
js::exportConfigVars();
js::import($jsRoot . 'jquery/lib.js', $config->version);