rhymix/modules/module/tpl/spInstalledModule.html
chschy 5278bb135c Add favorite in module page
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9039 201d5d3c-b55e-5fd7-737f-ddc643e51545
2011-09-06 02:24:15 +00:00

63 lines
2.2 KiB
HTML

<!--%import("js/module_admin.js")-->
<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(8)
</caption>
<thead>
<tr>
<th scope="col">즐겨찾기</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('{$val->module}')">즐겨찾기(켜짐)</a>
<!--@else-->
<a href="#" class="fvOff" onClick="doToggleFavoriteModule('{$val->module}')">즐겨찾기(꺼짐)</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>
<!--@if($val->need_install)-->
<p class="update">이 항목 업데이트가 가능합니다. <a href=="#" onclick="doUpdateModule('{$val->module}'); return false;">업데이트 하시겠습니까?</a></p>
<!--@end-->
<!--@if($val->need_update)-->
<p class="update">이 항목 설치가 가능합니다. <a href="#" onclick="doInstallModule('{$val->module}');return false;">설치 하시겠습니까?</a></p>
<!--@end-->
</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}">{$lang->cmd_delete}</a>
<!--@end-->
</td>
</tr>
<!--@end-->
</tbody>
</table>
</div>
</div>