* adjust the method of assign.

This commit is contained in:
wangchunsheng
2009-12-24 08:19:30 +00:00
parent f81e82374b
commit e4b0c8c157
6 changed files with 15 additions and 14 deletions

View File

@@ -9,9 +9,10 @@ $themeRoot = $webRoot . "theme/";
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<?php
if(isset($header['title'])) echo "<title>$header[title] - $lang->zentaoMS</title>\n";
if(isset($header['keyword'])) echo "<meta name='keywords' content='$header[keyword]'>\n";
if(isset($header['desc'])) echo "<meta name='description' content='$header[desc]'>\n";
$header = (object)$header;
if(isset($header->title)) echo "<title>$header->title - $lang->zentaoMS</title>\n";
if(isset($header->keyword)) echo "<meta name='keywords' content='$header->keyword'>\n";
if(isset($header->desc)) echo "<meta name='description' content='$header->desc'>\n";
?>
<?php echo js::exportConfigVars();?>
<script src="<?php echo $jsRoot;?>jquery/lib.js" type="text/javascript"></script>

View File

@@ -28,7 +28,7 @@
<div class="yui-b">
<form method='post' target='hiddenwin' action='<?php echo $this->createLink('dept', 'updateOrder');?>'>
<table class='table-1'>
<caption><?php echo $header['title'];?></caption>
<caption><?php echo $header->title;?></caption>
<tr>
<td>
<div id='main'><?php echo $depts;?></div>

View File

@@ -26,7 +26,7 @@
<div class='yui-d0'>
<form method='post' target='hiddenwin'>
<table class='table-1'>
<caption><?php echo $header['title'];?></caption>
<caption><?php echo $header->title;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->task->project;?></th>
<td><?php echo $project->name;?></td>

View File

@@ -28,9 +28,7 @@
<div class="yui-b">
<form method='post' target='hiddenwin' action='<?php echo $this->createLink('tree', 'updateOrder', "product={$product->id}&viewType=$viewType");?>'>
<table class='table-1'>
<caption>
<?php echo $header['title'];?>
</caption>
<caption><?php echo $header->title;?></caption>
<tr>
<td>
<div id='main'><?php echo $modules;?></div>

View File

@@ -25,9 +25,10 @@
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<?php
if(isset($header['title'])) echo "<title>$header[title] - $lang->zentaoMS</title>\n";
if(isset($header['keyword'])) echo "<meta name='keywords' content='$header[keyword]'>\n";
if(isset($header['desc'])) echo "<meta name='description' content='$header[desc]'>\n";
$header = (object)$header;
if(isset($header->title)) echo "<title>$header->title - $lang->zentaoMS</title>\n";
if(isset($header->keyword)) echo "<meta name='keywords' content='$header->keyword'>\n";
if(isset($header->desc)) echo "<meta name='description' content='$header->desc'>\n";
?>
<link rel='stylesheet' href='<?php echo $app->getClientTheme() . 'yui.css';?>' type='text/css' media='screen' />
<link rel='stylesheet' href='<?php echo $app->getClientTheme() . 'style.css';?>' type='text/css' media='screen' />

View File

@@ -29,9 +29,10 @@ $themeRoot = $webRoot . "theme/";
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<?php
if(isset($header['title'])) echo "<title>$header[title] - $lang->zentaoMS</title>\n";
if(isset($header['keyword'])) echo "<meta name='keywords' content='$header[keyword]'>\n";
if(isset($header['desc'])) echo "<meta name='description' content='$header[desc]'>\n";
$header = (object)$header;
if(isset($header->title)) echo "<title>$header->title - $lang->zentaoMS</title>\n";
if(isset($header->keyword)) echo "<meta name='keywords' content='$header->keyword'>\n";
if(isset($header->desc)) echo "<meta name='description' content='$header->desc'>\n";
?>
<?php echo js::exportConfigVars();?>
<script language='Javascript'>var needPing=false</script>