mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-02 16:52:16 +09:00
관리자 페이지 패키지별 UI 적용을 위한 1차 작업 마무리
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
856ab513ec
commit
ba4e9e26e2
248 changed files with 3520 additions and 3424 deletions
|
|
@ -17,15 +17,14 @@
|
|||
<version>0.1</version>
|
||||
<date>2007-02-28</date>
|
||||
<category>manager</category>
|
||||
<link>http://www.zeroboard.com</link>
|
||||
|
||||
<author email_address="zero@zeroboard.com" link="http://www.zeroboard.com">
|
||||
<name xml:lang="ko">제로</name>
|
||||
<name xml:lang="zh-CN">Zero</name>
|
||||
<name xml:lang="jp">Zero</name>
|
||||
<author email_address="zero@zeroboard.com" link="blog.nzeo.com">
|
||||
<name xml:lang="ko">zero</name>
|
||||
<name xml:lang="zh-CN">zero</name>
|
||||
<name xml:lang="jp">zero</name>
|
||||
<name xml:lang="en">zero</name>
|
||||
<name xml:lang="es">zero</name>
|
||||
<name xml:lang="ru">zero</name>
|
||||
<name xml:lang="zh-TW">zero</name>
|
||||
</author>
|
||||
</module>
|
||||
</module>
|
||||
|
|
|
|||
|
|
@ -18,21 +18,23 @@
|
|||
|
||||
<!--// 레이아웃 정보 파일(conf/info.xml)가 있는 경우-->
|
||||
<!--@if($val->title)-->
|
||||
<tr>
|
||||
<tr class="row{$cycle_idx}">
|
||||
<th rowspan="2">
|
||||
<a href="{getUrl('','module','layout','act','dispLayoutAdminInfo','selected_layout',$val->layout)}" onclick="popopen(this.href,'layout_info');return false" class="blue">{$val->title}</a> <br />
|
||||
({$val->layout})
|
||||
<div>
|
||||
<a href="{getUrl('','module','layout','act','dispLayoutAdminInfo','selected_layout',$val->layout)}" onclick="popopen(this.href,'layout_info');return false" class="blue">{$val->title}</a> <br />
|
||||
({$val->layout})
|
||||
</div>
|
||||
</th>
|
||||
<td class="tahoma">{$val->version}</td>
|
||||
<td>
|
||||
<!--@foreach($val->author as $author)-->
|
||||
<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->name}</a>
|
||||
<!--@endforeach-->
|
||||
<td class="number center">{$val->version}</td>
|
||||
<td class="center nowrap">
|
||||
<!--@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">{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>
|
||||
<td class="number center">{$val->menu_count}</td>
|
||||
<td class="date center nowrap">{zdate($val->date, 'Y-m-d')}</td>
|
||||
<td class="nowrap">{$val->path}</td>
|
||||
<td class="center"><a href="{getUrl('act','dispLayoutAdminInsert','layout',$val->layout)}" class="button"><span>{$lang->cmd_make}</span></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="6" class="left">
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<tbody>
|
||||
<!--@foreach($layout_list as $no => $val)-->
|
||||
<tr>
|
||||
<td class="tahoma">{$no+1}</td>
|
||||
<td class="number center">{$no+1}</td>
|
||||
<td>
|
||||
{$val->layout}
|
||||
<!--@if($val->module_srl)-->
|
||||
|
|
@ -31,24 +31,22 @@
|
|||
<!--@end-->
|
||||
</td>
|
||||
<td>{htmlspecialchars($val->title)}</td>
|
||||
<td class="tahoma">{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td>
|
||||
<td class="date nowrap center">{zdate($val->regdate,"Y-m-d")}</td>
|
||||
<td class="setup center">
|
||||
<!--@if(!$val->module_srl)-->
|
||||
<a href="{getUrl('act','dispLayoutAdminModify','layout_srl',$val->layout_srl)}" class="blue">{$lang->cmd_layout_management}</a>
|
||||
<a href="{getUrl('act','dispLayoutAdminModify','layout_srl',$val->layout_srl)}">{$lang->cmd_layout_management}</a>
|
||||
<!--@else-->
|
||||
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td>
|
||||
<a href="{getUrl('act','dispLayoutAdminEdit','layout_srl',$val->layout_srl)}" class="blue">{$lang->cmd_layout_edit}</a>
|
||||
</td>
|
||||
<td><a href="#" onclick="doDeleteLayout('{$val->layout_srl}');return false;" class="red">{$lang->cmd_delete}</a></td>
|
||||
<td class="modify center"><a href="{getUrl('act','dispLayoutAdminEdit','layout_srl',$val->layout_srl)}" class="blue">{$lang->cmd_layout_edit}</a></td>
|
||||
<td class="delete center"><a href="#" onclick="doDeleteLayout('{$val->layout_srl}');return false;" class="red">{$lang->cmd_delete}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<td colspan="7" class="right">
|
||||
<a href="{getUrl('act','dispLayoutAdminInsert','layout_srl','')}" class="button"><span>{$lang->cmd_make}</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<!-- 버튼 -->
|
||||
<div class="tRight gap1">
|
||||
<a href="{getUrl('act','dispLayoutAdminInsert','layout_srl','')}" class="button"><span>{$lang->cmd_make}</span></a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -5,10 +5,8 @@
|
|||
<form action="./" method="get" onsubmit="return procFilter(this, insert_layout)">
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="150" />
|
||||
<col />
|
||||
<tr>
|
||||
<th scope="row">{$lang->layout_name}</th>
|
||||
<th scope="row"><div>{$lang->layout_name}</div></th>
|
||||
<td>
|
||||
<select name="layout">
|
||||
<!--@foreach($layout_list as $key => $val)-->
|
||||
|
|
@ -17,17 +15,17 @@
|
|||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->title}</th>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->title}</div></th>
|
||||
<td>
|
||||
<input type="text" name="title" value="{$info->title}" class="inputTypeText w400" />
|
||||
<p>{$lang->about_title}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" colspan="2" class="button">
|
||||
<td scope="row" colspan="2" class="right">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_next}" accesskey="s" /></span>
|
||||
</th>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
|
|
|||
|
|
@ -4,14 +4,12 @@
|
|||
|
||||
<div id="popBody">
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="100" />
|
||||
<col />
|
||||
<tr>
|
||||
<th scope="row">{$lang->title}</th>
|
||||
<th scope="row"><div>{$lang->title}</div></th>
|
||||
<td>{$layout_info->title} ver {$layout_info->version}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->author}</th>
|
||||
<th scope="row"><div>{$lang->author}</div></th>
|
||||
<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 />
|
||||
|
|
@ -20,17 +18,17 @@
|
|||
</tr>
|
||||
<!--@if($layout_info->homepage)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->homepage}</th>
|
||||
<th scope="row"><div>{$lang->homepage}</div></th>
|
||||
<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>
|
||||
<th scope="row"><div>{$lang->regdate}</div></th>
|
||||
<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>
|
||||
<th scope="row"><div>{$lang->layout_license}</div></th>
|
||||
<td>
|
||||
{nl2br(trim($layout_info->license))}
|
||||
<!--@if($layout_info->license_link)-->
|
||||
|
|
@ -40,7 +38,7 @@
|
|||
</tr>
|
||||
<!--@endif-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->description}</th>
|
||||
<th scope="row"><div>{$lang->description}</div></th>
|
||||
<td>{nl2br(trim($layout_info->description))}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
@ -58,10 +56,10 @@
|
|||
|
||||
<!--@foreach($layout_info->history as $history)-->
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<th scope="row"><div>
|
||||
{$history->version}<br />
|
||||
{zdate($history->date, 'Y-m-d')}
|
||||
</th>
|
||||
</div></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>
|
||||
|
|
|
|||
|
|
@ -3,137 +3,128 @@
|
|||
<!--#include("header.html")-->
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="150" />
|
||||
<col />
|
||||
<tr>
|
||||
<th scope="row">{$lang->layout}</th>
|
||||
<th scope="row"><div>{$lang->layout}</div></th>
|
||||
<td>{$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->path}</th>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->path}</div></th>
|
||||
<td>{$selected_layout->path}</td>
|
||||
</tr>
|
||||
<!--@if($selected_layout->author->homepage)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->author}</th>
|
||||
<th scope="row"><div>{$lang->author}</div></th>
|
||||
<td><a href="{$selected_layout->author->homepage}" onclick="window.open(this.href);return false;" class="blue">{$selected_layout->author->name}</a></td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<!--@if($selected_layout->author->description)-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->description}</th>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->description}</div></th>
|
||||
<td>{nl2br(trim($selected_layout->author->description))}</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
</table>
|
||||
|
||||
<!--<form id="fo_layout" action="./" method="post" onsubmit="return procFilter(this, update_layout_info)" enctype="multipart/form-data" target="hidden_iframe">-->
|
||||
<form id="fo_layout" action="./" method="post" enctype="multipart/form-data" target="hidden_iframe">
|
||||
<input type="hidden" name="module" value="layout" />
|
||||
<input type="hidden" name="act" value="procLayoutAdminUpdate" />
|
||||
<input type="hidden" name="layout_srl" value="{$layout_srl}" />
|
||||
<input type="hidden" name="layout" value="{$selected_layout->layout}" />
|
||||
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="150" />
|
||||
<col width="*" />
|
||||
<tr>
|
||||
<th scope="row">{$lang->header_script}</th>
|
||||
<td class="left">
|
||||
<textarea name="header_script" class="inputTypeText">{htmlspecialchars($selected_layout->header_script)}</textarea>
|
||||
<p>{$lang->about_header_script}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">{$lang->title}</th>
|
||||
<td class="left">
|
||||
<input type="text" name="title" value="{htmlspecialchars($selected_layout->layout_title)}" class="inputTypeText w400" />
|
||||
<p>{$lang->about_title}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@foreach($selected_layout->extra_var as $name => $var)-->
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->header_script}</div></th>
|
||||
<td>
|
||||
<textarea name="header_script" class="inputTypeText">{htmlspecialchars($selected_layout->header_script)}</textarea>
|
||||
<p>{$lang->about_header_script}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<th scope="row"><div>{$lang->title}</div></th>
|
||||
<td>
|
||||
<input type="text" name="title" value="{htmlspecialchars($selected_layout->layout_title)}" class="inputTypeText w400" />
|
||||
<p>{$lang->about_title}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@foreach($selected_layout->extra_var as $name => $var)-->
|
||||
|
||||
<!--@if($var->group && ((!$group) || $group != $var->group))-->
|
||||
{@$group = $var->group}
|
||||
</table>
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="150" />
|
||||
<col width="*" />
|
||||
<caption>{$group}</caption>
|
||||
<!--@if($var->group && ((!$group) || $group != $var->group))-->
|
||||
{@$group = $var->group}
|
||||
</table>
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="150" />
|
||||
<col width="*" />
|
||||
<caption>{$group}</caption>
|
||||
<!--@end-->
|
||||
|
||||
<tr>
|
||||
<th scope="row"><div>{$var->title}</div></th>
|
||||
|
||||
<td>
|
||||
<!--@if($var->type == "text")-->
|
||||
<input type="text" name="{$name}" value="{htmlspecialchars($var->value)}" class="inputTypeText w400"/>
|
||||
|
||||
<!--@elseif($var->type == "textarea")-->
|
||||
<textarea name="{$name}" class="inputTypeTextArea w400">{htmlspecialchars($var->value)}</textarea>
|
||||
|
||||
<!--@elseif($var->type=="image")-->
|
||||
|
||||
<!--@if($var->value)-->
|
||||
<div>
|
||||
<img src="{$var->value}" alt="image" /><br />
|
||||
<input type="checkbox" name="del_{$name}" value="Y" id="del_{$name}" class="checkbox" />
|
||||
<label for="del_{$name}">{$lang->cmd_delete}</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<input type="file" name="{$name}" value="" />
|
||||
|
||||
<!--@elseif($var->type == "select")-->
|
||||
<select name="{$name}">
|
||||
<!--@foreach($var->options as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($key==$var->value)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<!--@end-->
|
||||
<p>{$var->description}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<tr>
|
||||
<th scope="row">{$var->title}</th>
|
||||
<!--@if($var->group)-->
|
||||
<!--@end-->
|
||||
|
||||
<td class="left">
|
||||
<!--@if($var->type == "text")-->
|
||||
<input type="text" name="{$name}" value="{htmlspecialchars($var->value)}" class="inputTypeText w400"/>
|
||||
|
||||
<!--@elseif($var->type == "textarea")-->
|
||||
<textarea name="{$name}" class="inputTypeTextArea w400">{htmlspecialchars($var->value)}</textarea>
|
||||
|
||||
<!--@elseif($var->type=="image")-->
|
||||
|
||||
<!--@if($var->value)-->
|
||||
<div>
|
||||
<img src="{$var->value}" alt="image" /><br />
|
||||
<input type="checkbox" name="del_{$name}" value="Y" id="del_{$name}" class="checkbox" />
|
||||
<label for="del_{$name}">{$lang->cmd_delete}</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<input type="file" name="{$name}" value="" />
|
||||
|
||||
<!--@elseif($var->type == "select")-->
|
||||
<select name="{$name}">
|
||||
<!--@foreach($var->options as $key => $val)-->
|
||||
<option value="{$key}" <!--@if($key==$var->value)-->selected="selected"<!--@end-->>{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<!--@end-->
|
||||
<p>{$var->description}</p>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($var->group)-->
|
||||
</table>
|
||||
<table cellspacing="0" class="adminTable">
|
||||
<col width="150" />
|
||||
<col width="*" />
|
||||
<!--@end-->
|
||||
|
||||
<!--@foreach($selected_layout->menu as $menu_name => $menu_info)-->
|
||||
<tr>
|
||||
<th scope="row">{$menu_info->title}<br />({$menu_name})</th>
|
||||
<td class="left tahoma">
|
||||
<select name="{$menu_name}">
|
||||
<option value="0">------------------------</option>
|
||||
<!--@foreach($menu_list as $key => $val)-->
|
||||
<option value="{$val->menu_srl}" <!--@if($val->menu_srl == $menu_info->menu_srl)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<a href="#" onclick="doMenuManagement('{$menu_name}');return false;" class="button"><span>{$lang->cmd_management}</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th scope="row">{$lang->not_apply_menu}</th>
|
||||
<td class="left">
|
||||
<input type="checkbox" name="apply_layout" value="Y" />
|
||||
{$lang->about_not_apply_menu}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="tRight gap1">
|
||||
<!--@foreach($selected_layout->menu as $menu_name => $menu_info)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<th scope="row"><div>{$menu_info->title}<br />({$menu_name})</div></th>
|
||||
<td class="left tahoma">
|
||||
<select name="{$menu_name}">
|
||||
<option value="0">------------------------</option>
|
||||
<!--@foreach($menu_list as $key => $val)-->
|
||||
<option value="{$val->menu_srl}" <!--@if($val->menu_srl == $menu_info->menu_srl)-->selected="selected"<!--@end-->>{$val->title}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
<a href="#" onclick="doMenuManagement('{$menu_name}');return false;" class="button"><span>{$lang->cmd_management}</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
<tr>
|
||||
<th scope="row"><div>{$lang->not_apply_menu}</div></th>
|
||||
<td>
|
||||
<input type="checkbox" name="apply_layout" value="Y" />
|
||||
{$lang->about_not_apply_menu}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="row2">
|
||||
<td colspan="2" class="right">
|
||||
<span class="button"><input type="submit" value="{$lang->cmd_save}" /></span>
|
||||
<!--@if($module=="admin")-->
|
||||
<a href="{getUrl('act','dispLayoutAdminContent')}" class="button"><span>{$lang->cmd_list}</span></a>
|
||||
<!--@else-->
|
||||
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_back}</span></a>
|
||||
<!--@end-->
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<iframe name="hidden_iframe" frameborder="0" style="display:none"></iframe>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue