rhymix/modules/admin/tpl/index.html
bnu 5a187f2bd0 17438345
* 관리 메인페이지에 게시물/댓글 신고 회수 출력
  * 상태 각 항목에 해당 페이지 링크 추가
  * 어제/오늘 숫자를 잘못 가져오는 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4859 201d5d3c-b55e-5fd7-737f-ddc643e51545
2008-11-13 09:30:49 +00:00

198 lines
9.2 KiB
HTML

<!--%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 class="bottomGap">{$lang->welcome_to_xe}</h3>
<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">
<caption>{$lang->module}</caption>
<thead>
<tr>
<th class="wide" colspan="2"><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','admin','act',$val->admin_index_act)}" title="{trim($val->description)}">{$val->title}</a> ({$val->module})</td>
<td class="view">
<a href="{getUrl('','module','module','act','dispModuleAdminInfo','selected_module',$val->module)}" onclick="popopen(this.href,'module_info');return false">{$lang->module_info}</a>
</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>
<div class="adminRightExtra">
<table cellspacing="0" class="adminTable">
<caption>{$lang->released_version}</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">
<caption>{$lang->newest_news}</caption>
<tbody>
<!--@foreach($news as $key => $val)-->
<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-->
<table cellspacing="0" class="adminTable">
<caption>{$lang->status}</caption>
<thead>
<tr>
<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"><a href="{getUrl('act','dispMemberAdminList')}">{$lang->member}</a></td>
<td class="number center">{number_format($status->member->yesterday)}</td>
<td class="number center">{number_format($status->member->today)}</td>
<td class="number center">{number_format($status->member->total)}</td>
</tr>
<tr>
<td class="circle"><a href="{getUrl('act','dispDocumentAdminList')}">{$lang->document}</a></td>
<td class="number center">{number_format($status->document->yesterday)}</td>
<td class="number center">{number_format($status->document->today)}</td>
<td class="number center">{number_format($status->document->total)}</td>
</tr>
<tr class="row2">
<td class="circle"><a href="{getUrl('act','dispCommentAdminList')}">{$lang->comment}</a></td>
<td class="number center">{number_format($status->comment->yesterday)}</td>
<td class="number center">{number_format($status->comment->today)}</td>
<td class="number center">{number_format($status->comment->total)}</td>
</tr>
<tr>
<td class="circle"><a href="{getUrl('act','dispTrackbackAdminList')}">{$lang->trackback}</a></td>
<td class="number center">{number_format($status->trackback->yesterday)}</td>
<td class="number center">{number_format($status->trackback->today)}</td>
<td class="number center">{number_format($status->trackback->total)}</td>
</tr>
<tr class="row2">
<td class="circle"><a href="{getUrl('act','dispFileAdminList')}">{$lang->file}</a></td>
<td class="number center">{number_format($status->file->yesterday)}</td>
<td class="number center">{number_format($status->file->today)}</td>
<td class="number center">{number_format($status->file->total)}</td>
</tr>
<tr>
<td class="circle"><a href="{getUrl('act','dispDocumentAdminDeclared')}">{$lang->document.' '.$lang->cmd_declare}</a></td>
<td class="number center">{number_format($status->documentDeclared->yesterday)}</td>
<td class="number center">{number_format($status->documentDeclared->today)}</td>
<td class="number center">{number_format($status->documentDeclared->total)}</td>
</tr>
<tr class="row2">
<td class="circle"><a href="{getUrl('act','dispCommentAdminDeclared')}">{$lang->comment.' '.$lang->cmd_declare}</a></td>
<td class="number center">{number_format($status->commentDeclared->yesterday)}</td>
<td class="number center">{number_format($status->commentDeclared->today)}</td>
<td class="number center">{number_format($status->commentDeclared->total)}</td>
</tr>
</tbody>
</table>
<form id="fo_addon" action="./" method="get">
<input type="hidden" name="addon" value="" />
</form>
<table cellspacing="0" class="adminTable">
<caption>{$lang->addon}</caption>
<col width="" />
<col width="25" />
<col width="25" />
<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">{$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"><img src="./images/n_setup.gif" 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>