修改了html结构,修复样式bug

This commit is contained in:
Li Jianxuan 2011-10-31 10:00:21 +00:00
parent 85fcef4f45
commit ab572da28b
2 changed files with 51 additions and 57 deletions

View File

@ -39,7 +39,6 @@ $this->headScript()->appendFile('/js/pubfunc.js');
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div>
<hr class="clear"/> <hr class="clear"/>
<?php echo $this->page->getNavigation(); <?php echo $this->page->getNavigation();
else : else :
@ -48,3 +47,4 @@ else :
<p>当前没有对应元数据。</p> <p>当前没有对应元数据。</p>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div>

View File

@ -14,10 +14,6 @@
?> ?>
<?php $md=$this->metadata;if ($md):?> <?php $md=$this->metadata;if ($md):?>
<h1><?php echo $this->escape($md['title']); ?> <h1><?php echo $this->escape($md['title']); ?>
[<a href="/data/<?php echo $md['uuid']; ?>">查看</a>
<a href="/data/xml/uuid/<?php echo $md['uuid'];?>"><img src="/images/xml.gif" alt="查看XML源文件"></a>
<a href="/data/doc/review/1/uuid/<?php echo $md['uuid']; ?>"><img src="/images/doc-icon.png" alt="Word doc格式"></a>
]
<?php if ($md['title_en']) echo '<br />'.$this->escape($md['title_en']);?> <?php if ($md['title_en']) echo '<br />'.$this->escape($md['title_en']);?>
</h1> </h1>
<div id="left"> <div id="left">
@ -27,11 +23,9 @@
<?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md['description']);?> <?php echo str_replace(array("\r\n", "\n", "\r"),'</p><p>',$md['description']);?>
</p> </p>
<p> <p>
<ul> [<a href="/data/<?php echo $md['uuid']; ?>">元数据查看</a>]
<li><a href="/data/<?php echo $md['uuid']; ?>">元数据查看</a></li> [<a href="/data/xml/uuid/<?php echo $md['uuid'];?>"><img src="/images/xml.gif" alt="查看XML源文件">XML源文件查看</a>]
<li><a href="/data/xml/uuid/<?php echo $md['uuid'];?>"><img src="/images/xml.gif" alt="查看XML源文件">XML源文件查看</a></li> [<a href="/data/doc/review/1/uuid/<?php echo $md['uuid']; ?>"><img src="/images/doc-icon.png" alt="Word doc格式">Word版本下载</a>]
<li><a href="/data/doc/review/1/uuid/<?php echo $md['uuid']; ?>"><img src="/images/doc-icon.png" alt="Word doc格式">Word版本下载</a></li>
</ul>
</p> </p>
</div> </div>