mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Author infomation doesn`t print in layout
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12280 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
197aaafae5
commit
db1d1bc4b6
2 changed files with 16 additions and 4 deletions
|
|
@ -28,10 +28,16 @@
|
|||
{$selected_layout->description}
|
||||
</div>
|
||||
</div>
|
||||
<div cond="$selected_layout->author->homepage" class="x_control-group">
|
||||
<div cond="$selected_layout->author" class="x_control-group">
|
||||
<label class="x_control-label">{$lang->author}</label>
|
||||
<div class="x_controls">
|
||||
<a href="{$selected_layout->author->homepage}" target="_blank">{$selected_layout->author->name}</a>
|
||||
<block loop="$selected_layout->author=>$author_info">
|
||||
<!--@if($author_info->homepage)-->
|
||||
<a href="{$author_info->homepage}" target="_blank">{$author_info->name}</a>
|
||||
<!--@else-->
|
||||
{$author_info->name}
|
||||
<!--@end-->
|
||||
</block>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
|
|||
|
|
@ -84,7 +84,13 @@
|
|||
<div class="x_control-group">
|
||||
<label class="x_control-label">{$lang->author}</label>
|
||||
<div class="x_controls">
|
||||
<a href="{$layout_info->author->homepage}" target="_blank">{$layout_info->layout->author->name}</a>
|
||||
<block loop="$layout_info->author=>$author_info">
|
||||
<!--@if($author_info->homepage)-->
|
||||
<a href="{$author_info->homepage}" target="_blank">{$author_info->name}</a>
|
||||
<!--@else-->
|
||||
{$author_info->name}
|
||||
<!--@end-->
|
||||
</block>
|
||||
</div>
|
||||
</div>
|
||||
<div class="x_control-group">
|
||||
|
|
@ -103,4 +109,4 @@
|
|||
</span>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue