mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 08:42:15 +09:00
#495 layout모듈 새 XML 포맷 처리 코드 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4363 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ed6b132fe8
commit
5a135acfa6
10 changed files with 159 additions and 25 deletions
|
|
@ -43,15 +43,19 @@
|
|||
({$val->layout})
|
||||
</th>
|
||||
<td class="tahoma">{$val->version}</td>
|
||||
<td><a href="{$val->author->homepage}" onclick="window.open(this.href);return false;" class="blue">{$val->author->name}</a></td>
|
||||
<td>
|
||||
<!--@foreach($val->author as $author)-->
|
||||
<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->name}</a>
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
<td class="tahoma">{$val->menu_count}</td>
|
||||
<td class="tahoma">{$val->author->date}</td>
|
||||
<td class="tahoma">{zdate($val->date, 'Y-m-d')}</td>
|
||||
<td class="tahoma">{$val->path}</td>
|
||||
<td><a href="{getUrl('act','dispLayoutAdminInsert','layout',$val->layout)}" class="button"><span>{$lang->cmd_make}</span></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" class="left">
|
||||
{nl2br(trim($val->author->description))}
|
||||
{nl2br(trim($val->description))}
|
||||
</td>
|
||||
</tr>
|
||||
<!-- 레이아웃 정보 파일(conf/info.xml)이 없는 경우 -->
|
||||
|
|
|
|||
|
|
@ -12,23 +12,81 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->author}</th>
|
||||
<td><a href="mailto:{$layout_info->author->email_address}">{$layout_info->author->name}</a></td>
|
||||
<td class="blue">
|
||||
<!--@foreach($layout_info->author as $author)-->
|
||||
{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a>, <a href="mailto:{$author->email_address}">{$author->email_address}</a>)<br />
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@if($layout_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->homepage}</th>
|
||||
<td><a href="{$layout_info->author->homepage}" onclick="window.open(this.href);return false;">{$layout_info->author->homepage}</a></td>
|
||||
<td class="blue"><a href="{$layout_info->author->homepage}" onclick="window.open(this.href);return false;">{$layout_info->homepage}</a></td>
|
||||
</tr>
|
||||
<!--@endif-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->regdate}</th>
|
||||
<td>{$layout_info->author->date}</td>
|
||||
<td>{zdate($layout_info->date, 'Y-m-d')}</td>
|
||||
</tr>
|
||||
<!--@if($layout_info->license || $layout_info->license_link)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->layout_license}</th>
|
||||
<td>
|
||||
{nl2br(trim($layout_info->license))}
|
||||
<!--@if($layout_info->license_link)-->
|
||||
<p><a href="{$layout_info->license_link}" onclick="window.close(); return false;">{$layout_info->license_link}</a></p>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@endif-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->description}</th>
|
||||
<td>{nl2br(trim($layout_info->author->description))}</td>
|
||||
<td>{nl2br(trim($layout_info->description))}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<!--@if($layout_info->history)-->
|
||||
<div id="popHistoryHeadder">
|
||||
<h3>{$lang->layout_history}</h3>
|
||||
</div>
|
||||
|
||||
<div id="popHistoryBody">
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="100" />
|
||||
<col />
|
||||
|
||||
<!--@foreach($layout_info->history as $history)-->
|
||||
<tr>
|
||||
<th scope="row">
|
||||
{$history->version}<br />
|
||||
{zdate($history->date, 'Y-m-d')}
|
||||
</th>
|
||||
<td>
|
||||
<!--@foreach($history->author as $author)-->
|
||||
<p>{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a> / <a href="mailto:{$author->email_address}">{$author->email_address}</a>)</p>
|
||||
<!--@endforeach-->
|
||||
<!--@if($history->description)-->
|
||||
<p>{nl2br(trim($history->description))}</p>
|
||||
<!--@endif-->
|
||||
<!--@if($history->logs)-->
|
||||
<ul>
|
||||
<!--@foreach($history->logs as $log)-->
|
||||
<!--@if($log->link)-->
|
||||
<li><a href="{$log->link}" onclick="window.close(); return false;">{$log->text}</a></li>
|
||||
<!--@else-->
|
||||
<li>{$log->text}</li>
|
||||
<!--@endif-->
|
||||
<!--@endforeach-->
|
||||
</ul>
|
||||
<!--@endif-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@endforeach-->
|
||||
</table>
|
||||
</div>
|
||||
<!--@endif-->
|
||||
|
||||
<div id="popFooter">
|
||||
<div class="tCenter gap1">
|
||||
<a href="#" onclick="window.close(); return false;" class="button"><span>{$lang->cmd_close}</span></a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue