관리자 페이지 패키지별 UI 적용을 위한 1차 작업 마무리

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4616 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-10-15 11:10:08 +00:00
parent 856ab513ec
commit ba4e9e26e2
248 changed files with 3520 additions and 3424 deletions

View file

@ -1,128 +1,183 @@
<!--%import("./filter/update_env_config.xml")-->
<!--%import("../../install/lang")-->
<!--%import("../../module/tpl/js/module_admin.js",optimized=false)-->
<!--%import("../../addon/tpl/js/addon.js",optimized=false)-->
<!--%import("../../addon/tpl/filter/toggle_activate_addon.xml")-->
<h3>{$lang->welcome_to_zeroboard_xe}</h3>
<h3 class="bottomGap">{$lang->welcome_to_xe}</h3>
<div class="gap1"></div>
<div class="adminLeftContent">
<table cellspacing="0" class="adminTable">
<caption>{$lang->env_information}</caption>
<tbody>
<tr class="row2">
<th><div>{$lang->current_version}</div></th>
<td><strong>{$current_version}</strong></td>
</tr>
<tr>
<th><div>{$lang->current_path}</div></th>
<td>{$installed_path}/</td>
</tr>
<tr class="row2">
<th><div>{$lang->time_zone}</div></th>
<td><!--@foreach($time_zone_list as $key => $val)--><!--@if($time_zone==$key)-->{$val}<!--@end--><!--@endforeach--></td>
</tr>
<tr>
<th><div>{$lang->use_rewrite}</div></th>
<td><!--@if($use_rewrite=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
</tr>
<tr class="row2">
<th><div>{$lang->use_optimizer}</div></th>
<td><!--@if($use_optimizer=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
</tr>
<tr>
<th><div>Language</div></th>
<td><!--@foreach($lang_supported as $key => $val)--><!--@if($key == $selected_lang)-->{$val}<!--@endif--><!--@endforeach--></td>
</tr>
<tr class="row2">
<th><div>{$lang->qmail_compatibility}</div></th>
<td><!--@if($qmail_compatibility=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
</tr>
</tbody>
</table>
<table cellspacing="0" class="adminTable">
<col width="150" />
<col />
<caption>{$lang->env_information}</caption>
<!--@if($current_version < $released_version)-->
<tr>
<th scope="row">{$lang->released_version}</th>
<td>
{$released_version}
(<a href="{$download_link}" onclick="window.open(this.href);return false;">download</a>)
<p>{$lang->about_download_link}</p>
</td>
</tr>
<!--@end-->
<tr>
<th scope="row">{$lang->current_version}</th>
<td>
{$current_version}
</td>
</tr>
<tr>
<th scope="row">{$lang->current_path}</th>
<td>{$installed_path}/</td>
</tr>
</table>
<table cellspacing="0" class="adminTable">
<caption>{$lang->module}</caption>
<thead>
<tr>
<th class="wide"><div>{$lang->module_name}</div></th>
<th><div>{$lang->version}</div></th>
<th><div>{$lang->author}</div></th>
<th><div>{$lang->table_count}</div></th>
<th><div>{$lang->module_action}</div></th>
</tr>
</thead>
<tbody>
<!--@foreach($module_list as $key => $val)-->
<tr class="row{$cycle_idx}">
<td class="circle"><a href="{getUrl('','module','module','act','dispModuleAdminInfo','selected_module',$val->module)}" onclick="popopen(this.href,'module_info');return false"title="{trim($val->description)}">{$val->title}</a> ({$val->module})</td>
<td class="number center">{$val->version}</td>
<td class="nowrap">
<!--@foreach($val->author as $author)-->
<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->name}</a>
<!--@endforeach-->
</td>
<td class="number center <!--@if($val->created_table_count != $val->table_count)-->alert<!--@end-->">
{$val->created_table_count}/{$val->table_count}
</td>
<td class="nowrap center <!--@if($val->need_install || $val->need_update)-->alert<!--@end-->">
<!--@if($val->need_install)-->
<a href="#" onclick="doInstallModule('{$val->module}');return false;">{$lang->cmd_install}</a>
<!--@elseif($val->need_update)-->
<a href="#" onclick="doUpdateModule('{$val->module}'); return false;">{$lang->cmd_update}</a>
<!--@else-->
-
<!--@end-->
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>
<form action="./" method="get" onsubmit="return procFilter(this, update_env_config);">
<table cellspacing="0" class="adminTable">
<col width="150" />
<col />
<caption>{$lang->env_setup}</caption>
<tr>
<th scope="row">{$lang->use_rewrite}</th>
<td>
<input type="checkbox" name="use_rewrite" value="Y" <!--@if($use_rewrite=='Y')-->checked="checked"<!--@end--> />
<p>{$lang->about_rewrite}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->use_optimizer}</th>
<td>
<input type="checkbox" name="use_optimizer" value="Y" <!--@if($use_optimizer!='N')-->checked="checked"<!--@end--> />
<p>{$lang->about_optimizer}</p>
</td>
</tr>
<tr>
<th scope="row">Language Selection</th>
<td>
<select name="lang_type" onchange="doChangeLangType(this)">
<option value="{$lang_type}">{$lang_supported[$lang_type]}</option>
<!--@foreach($lang_supported as $key => $val)-->
<!--@if($key != $lang_type)-->
<option value="{$key}">{$val}</option>
<!--@endif-->
<!--@endforeach-->
</select>
<p>{$lang->about_lang_env}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->time_zone}</th>
<td>
<select name="time_zone" class="time_zone">
<!--@foreach($time_zone_list as $key => $val)-->
<option value="{$key}" <!--@if($time_zone==$key)-->selected="selected"<!--@end-->>{$val}</option>
<!--@endforeach-->
</select>
<p>{$lang->about_time_zone}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->qmail_compatibility}</th>
<td>
<input type="checkbox" name="qmail_compatibility" value="Y" <!--@if($qmail_compatibility=='Y')-->checked="checked"<!--@end--> />
<p>{$lang->about_qmail_compatibility}</p>
</td>
</tr>
<tr>
<th colspan="2" class="button">
<span class="button"><input type="button" value="{$lang->cmd_remake_cache}" onclick="doRecompileCacheFile(); return false;"/></span>
<span class="button"><input type="submit" value="{$lang->cmd_save}" /></span>
</th>
</tr>
</table>
</form>
<div class="admin_news clear">
<div class="adminRightExtra">
<table cellspacing="0" class="adminTable">
<caption>{$lang->released_version}</div></caption>
<tr>
<td class="center">
<!--@if($current_version < $released_version)-->
<strong class="alert">{$released_version}</strong> [<a href="{$download_link}" onclick="window.open(this.href);return false;">download</a>]
<p>{nl2br($lang->about_download_link)}</p>
<!--@else-->
<strong>{$released_version}</strong> [<a href="{$download_link}" onclick="window.open(this.href);return false;">{$lang->cmd_view}</a>]
<!--@end-->
</td>
</tr>
</table>
<!--@if($news)-->
<table cellspacing="0" class="adminTable">
<col width="120" />
<col />
<caption>{$lang->newest_news}</caption>
<tbody>
<!--@foreach($news as $key => $val)-->
<tr>
<th class="tahoma">{zdate($val->date,"Y-m-d H:i")}</th>
<td><a href="{$val->url}" onclick="window.open(this.href);return false;">{$val->title}</a></td>
<tr class="row{$cycle_idx}">
<td class="paper">
<a href="{$val->url}" onclick="window.open(this.href);return false;" class="fl">{$val->title}</a>
<span class="date fr">{zdate($val->date,"Y-m-d")}</span>
</td>
</tr>
<!--@endforeach-->
</tbody>
</table>
<!--@endif-->
</div>
<div class="admin_link">
<!--// 사용자 링크 -->
<table cellspacing="0" class="adminTable">
<caption>{$lang->zeroboard_xe_user_links}</caption>
<!--@foreach($lang->xe_user_links as $key => $val)-->
<caption>{$lang->status}</caption>
<thead>
<tr>
<td><a href="{$val}" onclick="winopen(this.href); return false;">{$key}</a></td>
</tr>
<!--@end-->
<!--@foreach($lang->xe_developer_links as $key => $val)-->
<tr>
<td><a href="{$val}" onclick="winopen(this.href); return false;">{$key}</a></td>
<th class="wide"><div>{$lang->target}</div></th>
<th><div>{$lang->yesterday}</div></th>
<th><div>{$lang->today}</div></th>
<th><div>{$lang->total}</div></th>
</tr>
</thead>
<tbody>
<tr class="row2">
<td class="circle">{$lang->member}</td>
<td class="number center">{$status->member->yesterday}</td>
<td class="number center">{$status->member->today}</td>
<td class="number center">{$status->member->total}</td>
</tr>
<tr>
<td class="circle">{$lang->document}</td>
<td class="number center">{$status->document->yesterday}</td>
<td class="number center">{$status->document->today}</td>
<td class="number center">{$status->document->total}</td>
</tr>
<tr class="row2">
<td class="circle">{$lang->comment}</td>
<td class="number center">{$status->comment->yesterday}</td>
<td class="number center">{$status->comment->today}</td>
<td class="number center">{$status->comment->total}</td>
</tr>
<tr>
<td class="circle">{$lang->trackback}</td>
<td class="number center">{$status->trackback->yesterday}</td>
<td class="number center">{$status->trackback->today}</td>
<td class="number center">{$status->trackback->total}</td>
</tr>
<tr class="row2">
<td class="circle">{$lang->file}</td>
<td class="number center">{$status->file->yesterday}</td>
<td class="number center">{$status->file->today}</td>
<td class="number center">{$status->file->total}</td>
</tr>
</tbody>
</table>
<form id="fo_addon" action="./" method="get">
<input type="hidden" name="addon" value="" />
</form>
<table cellspacing="0" class="adminTable">
<col width="" />
<col width="25" />
<col width="25" />
<caption>{$lang->addon}</caption>
<tbody>
<!--@foreach($addon_list as $key => $val)-->
<tr class="row{$cycle_idx}">
<td class="circle">
<a href="{getUrl('','module','addon','act','dispAddonAdminInfo','selected_addon',$val->addon)}" onclick="popopen(this.href,'addon_info');return false" class="blue">{$val->title}</a>
</td>
<td class="nowrap center"><a href="{getUrl('','module','addon','act','dispAddonAdminSetup','selected_addon',$val->addon)}" onclick="popopen(this.href,'addon_info');return false" class="blue"><img src="./images/n_setup.png" alt="setup" /></a></td>
<td class="nowrap center <!--@if($val->activated)-->activated<!--@else-->deactivated<!--@end-->">
<!--@if($val->activated)-->
<a href="#" onclick="doToggleAddon('{$val->addon}');return false;">{$lang->use}</a>
<!--@else-->
<a href="#" onclick="doToggleAddon('{$val->addon}');return false;">{$lang->notuse}</a>
<!--@end-->
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>