mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Modify add lang file (module page)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9095 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
afa0bd2e68
commit
f651391051
4 changed files with 87 additions and 113 deletions
|
|
@ -1,46 +1,66 @@
|
|||
<!--%import("filter/insert_shortcut.xml")-->
|
||||
<!--#include("header.html")-->
|
||||
<!--%import("js/module_admin.js")-->
|
||||
|
||||
<!-- 관리자 메뉴 바로가기 추가를 위한 임시 form -->
|
||||
<form id="fo_shortcut" action="./" method="get">
|
||||
<input type="hidden" name="selected_module" value="" />
|
||||
</form>
|
||||
<h4 class="xeAdmin">{$lang->module}</h4>
|
||||
<table cellspacing="0" class="rowTable">
|
||||
<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->path}</div></th>
|
||||
<th><div>{$lang->module_action}</div></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($module_list as $key => $val)-->
|
||||
<tr class="row{$cycle_idx}">
|
||||
<td><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="center number">{$val->version}</td>
|
||||
<td class="nowrap">
|
||||
<!--@foreach($val->author as $author)-->
|
||||
<!--@if($author->homepage)--><a href="{$author->homepage}" onclick="window.open(this.href);return false;"><!--@end-->{$author->name}<!--@if($author->homepage)--></a><!--@end-->
|
||||
<!--@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">{$val->path}</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>
|
||||
<script type="text/javascript">
|
||||
xe.lang.favorite_on = '{$lang->favorite}({$lang->on})';
|
||||
xe.lang.favorite_off = '{$lang->favorite}({$lang->off})';
|
||||
</script>
|
||||
|
||||
<div class="content" id="content">
|
||||
<h1 class="h1">Installed Module</h1>
|
||||
<div class="table even easyList">
|
||||
<table width="100%" border="1" cellspacing="0">
|
||||
<caption>
|
||||
All({count($module_list)})
|
||||
</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">{$lang->favorite}</th>
|
||||
<th scope="col" class="title">{$lang->module_name}</th>
|
||||
<th scope="col">{$lang->version}</th>
|
||||
<th scope="col">{$lang->author}</th>
|
||||
<th scope="col">{$lang->path}</th>
|
||||
<th scope="col">{$lang->cmd_delete}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<!--@foreach($module_list as $key => $val)-->
|
||||
<tr>
|
||||
<td>
|
||||
<!--@if(in_array($val->module,$favoriteModuleList))-->
|
||||
<a href="#" class="fvOn" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->on})</a>
|
||||
<!--@else-->
|
||||
<a href="#" class="fvOff" onclick="doToggleFavoriteModule(this, '{$val->module}'); return false;">{$lang->favorite}({$lang->off})</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
<td class="title">
|
||||
<p><a href="{getUrl('','module','admin','act',$val->admin_index_act)}">{$val->title}</a></p>
|
||||
<p>{$val->description}</p>
|
||||
<p cond="$val->need_install" class="update">{$lang->msg_avail_install} <a href="#" onclick="doInstallModule('{$val->module}');return false;">{$lang->msg_do_you_like_install}</a></p>
|
||||
<p cond="$val->need_update" class="update">{$lang->msg_avail_updaet} <a href=="#" onclick="doUpdateModule('{$val->module}'); return false;">{$lang->msg_do_you_like_update}</a></p>
|
||||
<p cond="$val->need_autoinstall_update" class="update">{$lang->msg_avail_easy_update}<a href="{$val->update_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->msg_do_you_like_update}</a></p>
|
||||
</td>
|
||||
<td>{$val->version}</td>
|
||||
<td>
|
||||
<!--@foreach($val->author as $author)-->
|
||||
<!--@if($author->homepage)-->
|
||||
<a href="{$author->homepage}" onclick="window.open(this.href);return false;" target="_blank">
|
||||
<!--@end-->
|
||||
{$author->name}
|
||||
<!--@if($author->homepage)-->
|
||||
</a>
|
||||
<!--@end-->
|
||||
<!--@endforeach-->
|
||||
</td>
|
||||
<td>{$val->path}</td>
|
||||
<td>
|
||||
<!--@if($val->delete_url)-->
|
||||
<a href="{$val->delete_url}&return_url={urlencode(getRequestUriByServerEnviroment())}">{$lang->cmd_delete}</a>
|
||||
<!--@end-->
|
||||
</td>
|
||||
</tr>
|
||||
<!--@end-->
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue