git-svn-id: http://xe-core.googlecode.com/svn/trunk@404 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-03-13 09:07:38 +00:00
parent c44a6f07f8
commit 51abcab1a6
14 changed files with 118 additions and 27 deletions

View file

@ -10,6 +10,7 @@
<td>{$lang->menu_count}</td>
<td>{$lang->date}</td>
<td>{$lang->path}</td>
<td>{$lang->layout_info}</td>
<td>{$lang->cmd_make}</td>
</tr>
<!--@foreach($layout_list as $key => $val)-->
@ -23,10 +24,11 @@
<td>{$val->menu_count}</td>
<td>{$val->author->date}</td>
<td>{$val->path}</td>
<td><a href="#" onclick="winopen('{getUrl('','module','layout','act','dispLayoutInfo','selected_layout',$val->layout)}','layout_info','width=10,height=10,toolbars=no,scrollbars=yes,resizable=yes');return false">{$lang->cmd_view}</a></td>
<td><a href="{getUrl('mo','layout','act','dispInsertLayout','layout',$val->layout)}">{$lang->cmd_make}</a></td>
</tr>
<tr>
<td colspan="6">
<td colspan="7">
{nl2br($val->author->description)}
</td>
</tr>

View file

@ -26,7 +26,7 @@
<tr>
<td>{$no+1}</td>
<td>{$val->layout}</td>
<td><a href="#" onclick="location.href='{getUrl('act','dispLayoutInfo','layout_srl',$val->layout_srl)}';return false;">{$val->title}</a></td>
<td><a href="#" onclick="location.href='{getUrl('act','dispLayoutMenu','layout_srl',$val->layout_srl)}';return false;">{$val->title}</a></td>
<td>{zdate($val->regdate,"Y-m-d")}</td>
<td><a href="#" onclick="doDeleteLayout('{$val->layout_srl}');return false;">{$lang->cmd_delete}</a></td>
</tr>

View file

@ -1,7 +1,7 @@
/* 레이아웃 신규 생성시 완료 후 요청하는 함수 */
function completeInsertLayout(ret_obj) {
var layout_srl = ret_obj['layout_srl'];
location.href="./?module=admin&mo=layout&act=dispLayoutInfo&layout_srl="+layout_srl;
location.href="./?module=admin&mo=layout&act=dispLayoutMenu&layout_srl="+layout_srl;
}
/* 레이아웃메뉴 입력후 */

View file

@ -0,0 +1,56 @@
<table border="1" width="400">
<col width="100" />
<col width="300" />
<tr>
<th colspan="2">{$lang->layout_maker}</th>
</tr>
<tr>
<th>{$lang->title}</th>
<td>{$layout_info->title} ver {$layout_info->version}</td>
</tr>
<tr>
<th>{$lang->author}</th>
<td><a href="mailto:{$layout_info->author->email_address}">{$layout_info->author->name}</a></td>
</tr>
<tr>
<th>{$lang->homepage}</th>
<td><a href="#" onclick="window.open({$layout_info->author->homepage});return false;">{$layout_info->author->homepage}</a></td>
</tr>
<tr>
<th>{$lang->regdate}</th>
<td>{$layout_info->author->date}</td>
</tr>
<tr>
<th>{$lang->description}</th>
<td>{nl2br($layout_info->author->description)}</td>
</tr>
<tr>
<th colspan="2">{$lang->layout_history}</th>
</tr>
<!--@foreach($layout_info->history as $history)-->
<!--@if($history->name)-->
<tr>
<th>{$lang->name}</th>
<td><a href="mailto:{$history->email_address}">{$history->name}</a></td>
</tr>
<tr>
<th>{$lang->homepage}</th>
<td><a href="#" onclick="window.open({$history->homepage});return false;">{$history->homepage}</a></td>
</tr>
<tr>
<th>{$lang->regdate}</th>
<td>{$history->date}</td>
</tr>
<tr>
<th>{$lang->description}</th>
<td>{nl2br($history->description)}</td>
</tr>
<!--@end-->
<!--@end-->
<tr>
<td colspan="2">
<a href="#" onclick="self.close()">{$lang->cmd_close}</a>
</td>
</tr>
</table>