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:
chschy 2012-11-22 05:49:56 +00:00
parent 197aaafae5
commit db1d1bc4b6
2 changed files with 16 additions and 4 deletions

View file

@ -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">

View file

@ -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>