Minor fix. class="table" replace with class="x_table x_table-striped x_table-hover"

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11754 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-10-17 05:25:41 +00:00
parent cca3ea0668
commit 9e0fe3ba98
67 changed files with 2625 additions and 2778 deletions

View file

@ -7,56 +7,54 @@
<form ruleset="insertConfig" action="./" method="post">
<input type="hidden" name="module" value="file" />
<input type="hidden" name="act" value="procFileAdminInsertConfig" />
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="col">{$lang->allow_outlink}</th>
<td class="text">
<select name="allow_outlink">
<option value="Y"<!--@if($config->allow_outlink=='Y')--> selected="selected"<!--@end-->>{$lang->enable}</option>
<option value="N"<!--@if($config->allow_outlink=='N')--> selected="selected"<!--@end-->>{$lang->disable}</option>
</select>
<p>{$lang->about_allow_outlink}</p>
</td>
</tr>
<table class="x_table x_table-striped x_table-hover">
<tr>
<th scope="col">{$lang->allow_outlink_format}</th>
<td class="text">
<input type="text" name="allow_outlink_format" value="{$config->allow_outlink_format}" />
<p>{$lang->about_allow_outlink_format}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allow_outlink_site}</th>
<td class="text">
<textarea name="allow_outlink_site" rows="8" cols="42">{$config->allow_outlink_site}</textarea>
<p>{$lang->about_allow_outlink_site}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allowed_filesize}</th>
<td class="text">
<input type="text" name="allowed_filesize" value="{$config->allowed_filesize}" size="3" />MB
<p>{$lang->about_allowed_filesize}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allowed_attach_size}</th>
<td class="text">
<input type="text" name="allowed_attach_size" value="{$config->allowed_attach_size}" size="3" />MB
/ {ini_get('upload_max_filesize')}
<p>{$lang->about_allowed_attach_size}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allowed_filetypes}</th>
<td class="text">
<input type="text" name="allowed_filetypes" value="{$config->allowed_filetypes}" />
<p>{$lang->about_allowed_filetypes}</p>
</td>
</tr>
</table>
</div>
<th scope="col">{$lang->allow_outlink}</th>
<td class="text">
<select name="allow_outlink">
<option value="Y"<!--@if($config->allow_outlink=='Y')--> selected="selected"<!--@end-->>{$lang->enable}</option>
<option value="N"<!--@if($config->allow_outlink=='N')--> selected="selected"<!--@end-->>{$lang->disable}</option>
</select>
<p>{$lang->about_allow_outlink}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allow_outlink_format}</th>
<td class="text">
<input type="text" name="allow_outlink_format" value="{$config->allow_outlink_format}" />
<p>{$lang->about_allow_outlink_format}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allow_outlink_site}</th>
<td class="text">
<textarea name="allow_outlink_site" rows="8" cols="42">{$config->allow_outlink_site}</textarea>
<p>{$lang->about_allow_outlink_site}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allowed_filesize}</th>
<td class="text">
<input type="text" name="allowed_filesize" value="{$config->allowed_filesize}" size="3" />MB
<p>{$lang->about_allowed_filesize}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allowed_attach_size}</th>
<td class="text">
<input type="text" name="allowed_attach_size" value="{$config->allowed_attach_size}" size="3" />MB
/ {ini_get('upload_max_filesize')}
<p>{$lang->about_allowed_attach_size}</p>
</td>
</tr>
<tr>
<th scope="col">{$lang->allowed_filetypes}</th>
<td class="text">
<input type="text" name="allowed_filetypes" value="{$config->allowed_filetypes}" />
<p>{$lang->about_allowed_filetypes}</p>
</td>
</tr>
</table>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_registration}" /></span>
</div>

View file

@ -9,111 +9,109 @@ xe.lang.msg_empty_search_keyword = '{$lang->msg_empty_search_keyword}';
<form id="fo_list" action="./" method="post">
<input type="hidden" name="module" value="file" />
<div class="x_page-header">
<h1>{$lang->file}</h1>
<h1>{$lang->file}</h1>
</div>
<div class="table">
<div class="x_tabbable">
<ul class="x_nav x_nav-tabs">
<li <!--@if($search_keyword == '')-->class="x_active"<!--@end-->><a href="{getUrl('', 'module', 'admin', 'act', 'dispFileAdminList')}">All</a></li>
<li <!--@if($search_target == 'isvalid' && $search_keyword == 'Y')-->class="x_active"<!--@end-->><a href="{getUrl('search_target','isvalid','search_keyword','Y')}">{$lang->is_valid}</a></li>
<li <!--@if($search_target == 'isvalid' && $search_keyword == 'N')-->class="x_active"<!--@end-->><a href="{getUrl('search_target','isvalid','search_keyword','N')}">{$lang->is_stand_by}</a></li>
</ul>
</div>
<table width="100%" id="fileListTable" class="x_table x_table-striped x_table-hover">
<caption>
<!--@if($search_keyword == '')-->
All
<!--@elseif($search_target == 'isvalid' && $search_keyword == 'Y')-->
{$lang->is_valid}
<!--@elseif($search_target == 'isvalid' && $search_keyword == 'N')-->
{$lang->is_stand_by}
<!--@end-->
({number_format($total_count)})
<span class="x_pull-right"><a href="#listManager" class="x_btn modalAnchor" onclick="getFileList();">{$lang->file_manager}...</a></span>
</caption>
<thead>
<tr>
<th scope="col" class="text">{$lang->file}</th>
<th scope="col" class="nowr">{$lang->file_size}</th>
<th scope="col" class="nowr">{$lang->cmd_download}</th>
<th scope="col" class="nowr">{$lang->author}</th>
<th scope="col" class="nowr">{$lang->date}</th>
<th scope="col" class="nowr">{$lang->ipaddress}</th>
<th scope="col" class="nowr">{$lang->status}</th>
<th scope="col"><input type="checkbox" data-name="cart" title="Check All" /></th>
</tr>
</thead>
<tfoot>
<tr>
<th scope="col" class="text">{$lang->file}</th>
<th scope="col" class="nowr">{$lang->file_size}</th>
<th scope="col" class="nowr">{$lang->cmd_download}</th>
<th scope="col" class="nowr">{$lang->author}</th>
<th scope="col" class="nowr">{$lang->date}</th>
<th scope="col" class="nowr">{$lang->ipaddress}</th>
<th scope="col" class="nowr">{$lang->status}</th>
<th scope="col"><input type="checkbox" data-name="cart" title="Check All" /></th>
</tr>
</tfoot>
<tbody>
<!--@foreach($file_list as $no => $val)-->
<!-- one document start -->
<!--@if($val->upload_target_srl != $cur_upload_target_srl)-->
<!--@if($val->upload_target_type == 'com')-->
{@ $document_srl = $val->target_document_srl}
{@ $move_uri = getUrl('', 'document_srl', $document_srl).'#comment_'.$val->upload_target_srl}
<!--@elseif($val->upload_target_type == 'doc')-->
{@ $document_srl = $val->upload_target_srl}
{@ $move_uri = getUrl('', 'document_srl', $document_srl)}
<!--@end-->
{@ $cur_upload_target_srl = $val->upload_target_srl}
<tr>
<th colspan="8" class="text" scope="col">
<!--@if(!$val->upload_target_type)-->
<!--@if($val->isvalid=='Y')-->
{$lang->is_valid}
<!--@else-->
{$lang->is_stand_by}
<!--@end-->
<!--@else-->
<!--@if($val->upload_target_type == 'com')-->[{$lang->comment}] <!--@end-->
<!--@if($val->upload_target_type == 'mod')-->[{$lang->module}] <!--@end-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == $document_list[$document_srl]->get('member_srl'))-->[{$lang->cmd_temp_save}] <!--@end-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == 0)-->[{$lang->cmd_trash}] <!--@end-->
<a href="{getUrl('', 'mid', $module_list[$val->module_srl]->mid)}" target="_blank">{$module_list[$val->module_srl]->browser_title}</a>
<!--@if($document_list[$document_srl] && ($val->upload_target_type == 'doc' || $val->upload_target_type == 'com'))-->
- <!--@if($document_list[$document_srl]->get('module_srl') != $document_list[$document_srl]->get('member_srl'))--><a href="{$move_uri}" target="_blank">{$document_list[$document_srl]->getTitle()}</a><!--@else-->{$document_list[$document_srl]->getTitle()}<!--@end-->
<!--@end-->
<!--@end-->
</th>
</tr>
<!--@endif-->
<!-- one document end -->
<tr>
<td class="text"><a href="{$val->download_url}">{htmlspecialchars($val->source_filename)}</a></td>
<td class="nowr">{FileHandler::filesize($val->file_size)}</td>
<td class="nowr">{$val->download_count}</td>
<td class="nowr">
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl])-->
<a href="#popup_menu_area" class="member_{$document_list[$document_srl]->get('member_srl')}">{$document_list[$document_srl]->getNickName()}</a>
<!--@elseif($val->upload_target_type == 'com' && $comment_list[$val->upload_target_srl])-->
<a href="#popup_menu_area" class="member_{$comment_list[$val->upload_target_srl]->get('member_srl')}">{$comment_list[$val->upload_target_srl]->getNickName()}</a>
<!--@end-->
</td>
<td class="nowr">{zdate($val->regdate,"Y-m-d H:i")}</td>
<td class="nowr"><a href="{getUrl('search_target','ipaddress','search_keyword',$val->ipaddress)}">{$val->ipaddress}</a></td>
<td class="nowr"><!--@if($val->isvalid=='Y')-->{$lang->is_valid}<!--@else-->{$lang->is_stand_by}<!--@end--></td>
<td>
<input type="checkbox" name="cart" value="{$val->file_srl}" />
</td>
</tr>
<!--@endforeach-->
</tbody>
</table>
<div class="btnArea">
<div class="x_tabbable">
<ul class="x_nav x_nav-tabs">
<li <!--@if($search_keyword == '')-->class="x_active"<!--@end-->><a href="{getUrl('', 'module', 'admin', 'act', 'dispFileAdminList')}">All</a></li>
<li <!--@if($search_target == 'isvalid' && $search_keyword == 'Y')-->class="x_active"<!--@end-->><a href="{getUrl('search_target','isvalid','search_keyword','Y')}">{$lang->is_valid}</a></li>
<li <!--@if($search_target == 'isvalid' && $search_keyword == 'N')-->class="x_active"<!--@end-->><a href="{getUrl('search_target','isvalid','search_keyword','N')}">{$lang->is_stand_by}</a></li>
</ul>
</div>
<table id="fileListTable" class="x_table x_table-striped x_table-hover">
<caption>
<!--@if($search_keyword == '')-->
All
<!--@elseif($search_target == 'isvalid' && $search_keyword == 'Y')-->
{$lang->is_valid}
<!--@elseif($search_target == 'isvalid' && $search_keyword == 'N')-->
{$lang->is_stand_by}
<!--@end-->
({number_format($total_count)})
<span class="x_pull-right"><a href="#listManager" class="x_btn modalAnchor" onclick="getFileList();">{$lang->file_manager}...</a></span>
</div>
</caption>
<thead>
<tr>
<th scope="col" class="text">{$lang->file}</th>
<th scope="col" class="nowr">{$lang->file_size}</th>
<th scope="col" class="nowr">{$lang->cmd_download}</th>
<th scope="col" class="nowr">{$lang->author}</th>
<th scope="col" class="nowr">{$lang->date}</th>
<th scope="col" class="nowr">{$lang->ipaddress}</th>
<th scope="col" class="nowr">{$lang->status}</th>
<th scope="col"><input type="checkbox" data-name="cart" title="Check All" /></th>
</tr>
</thead>
<tfoot>
<tr>
<th scope="col" class="text">{$lang->file}</th>
<th scope="col" class="nowr">{$lang->file_size}</th>
<th scope="col" class="nowr">{$lang->cmd_download}</th>
<th scope="col" class="nowr">{$lang->author}</th>
<th scope="col" class="nowr">{$lang->date}</th>
<th scope="col" class="nowr">{$lang->ipaddress}</th>
<th scope="col" class="nowr">{$lang->status}</th>
<th scope="col"><input type="checkbox" data-name="cart" title="Check All" /></th>
</tr>
</tfoot>
<tbody>
<!--@foreach($file_list as $no => $val)-->
<!-- one document start -->
<!--@if($val->upload_target_srl != $cur_upload_target_srl)-->
<!--@if($val->upload_target_type == 'com')-->
{@ $document_srl = $val->target_document_srl}
{@ $move_uri = getUrl('', 'document_srl', $document_srl).'#comment_'.$val->upload_target_srl}
<!--@elseif($val->upload_target_type == 'doc')-->
{@ $document_srl = $val->upload_target_srl}
{@ $move_uri = getUrl('', 'document_srl', $document_srl)}
<!--@end-->
{@ $cur_upload_target_srl = $val->upload_target_srl}
<tr>
<th colspan="8" class="text" scope="col">
<!--@if(!$val->upload_target_type)-->
<!--@if($val->isvalid=='Y')-->
{$lang->is_valid}
<!--@else-->
{$lang->is_stand_by}
<!--@end-->
<!--@else-->
<!--@if($val->upload_target_type == 'com')-->[{$lang->comment}] <!--@end-->
<!--@if($val->upload_target_type == 'mod')-->[{$lang->module}] <!--@end-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == $document_list[$document_srl]->get('member_srl'))-->[{$lang->cmd_temp_save}] <!--@end-->
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl] && $document_list[$document_srl]->get('module_srl') == 0)-->[{$lang->cmd_trash}] <!--@end-->
<a href="{getUrl('', 'mid', $module_list[$val->module_srl]->mid)}" target="_blank">{$module_list[$val->module_srl]->browser_title}</a>
<!--@if($document_list[$document_srl] && ($val->upload_target_type == 'doc' || $val->upload_target_type == 'com'))-->
- <!--@if($document_list[$document_srl]->get('module_srl') != $document_list[$document_srl]->get('member_srl'))--><a href="{$move_uri}" target="_blank">{$document_list[$document_srl]->getTitle()}</a><!--@else-->{$document_list[$document_srl]->getTitle()}<!--@end-->
<!--@end-->
<!--@end-->
</th>
</tr>
<!--@endif-->
<!-- one document end -->
<tr>
<td class="text"><a href="{$val->download_url}">{htmlspecialchars($val->source_filename)}</a></td>
<td class="nowr">{FileHandler::filesize($val->file_size)}</td>
<td class="nowr">{$val->download_count}</td>
<td class="nowr">
<!--@if($val->upload_target_type == 'doc' && $document_list[$document_srl])-->
<a href="#popup_menu_area" class="member_{$document_list[$document_srl]->get('member_srl')}">{$document_list[$document_srl]->getNickName()}</a>
<!--@elseif($val->upload_target_type == 'com' && $comment_list[$val->upload_target_srl])-->
<a href="#popup_menu_area" class="member_{$comment_list[$val->upload_target_srl]->get('member_srl')}">{$comment_list[$val->upload_target_srl]->getNickName()}</a>
<!--@end-->
</td>
<td class="nowr">{zdate($val->regdate,"Y-m-d H:i")}</td>
<td class="nowr"><a href="{getUrl('search_target','ipaddress','search_keyword',$val->ipaddress)}">{$val->ipaddress}</a></td>
<td class="nowr"><!--@if($val->isvalid=='Y')-->{$lang->is_valid}<!--@else-->{$lang->is_stand_by}<!--@end--></td>
<td>
<input type="checkbox" name="cart" value="{$val->file_srl}" />
</td>
</tr>
<!--@endforeach-->
</tbody>
</table>
<div class="btnArea">
<span class="x_pull-right"><a href="#listManager" class="x_btn modalAnchor" onclick="getFileList();">{$lang->file_manager}...</a></span>
</div>
</form>

View file

@ -4,42 +4,40 @@
<input type="hidden" name="success_return_url" value="{getRequestUriByServerEnviroment()}" />
<input type="hidden" name="target_module_srl" value="{$module_info->module_srl?$module_info->module_srl:$module_srls}" />
<h3 class="h3">{$lang->file}</h3>
<div class="table">
<table width="100%" border="1" cellspacing="0">
<tr>
<th scope="row"><label for="allowed_filesize">{$lang->allowed_filesize}</label></th>
<td class="text">
<input type="text" name="allowed_filesize" id="allowed_filesize" value="{$file_config->allowed_filesize}" size="3" style="width:30px" /> MB
<p class="desc">{$lang->about_allowed_filesize}</p>
</td>
</tr>
<table class="x_table x_table-striped x_table-hover">
<tr>
<th scope="row"><label for="allowed_attach_size">{$lang->allowed_attach_size}</label></th>
<td class="text">
<input type="text" name="allowed_attach_size" id="allowed_attach_size" value="{$file_config->allowed_attach_size}" size="3" style="width:30px" /> MB
/ {ini_get('upload_max_filesize')}
<p class="desc">{$lang->about_allowed_attach_size}</p>
</td>
</tr>
<tr>
<th scope="row"><label for="allowed_filetypes">{$lang->allowed_filetypes}</label></th>
<td class="text">
<input type="text" name="allowed_filetypes" id="allowed_filetypes" value="{$file_config->allowed_filetypes}" />
<p class="desc">{$lang->about_allowed_filetypes}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->enable_download_group}</th>
<td class="text">
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" class="checkbox" name="download_grant[]" value="{$v->group_srl}" id="grant_{$key}_{$v->group_srl}" <!--@if(in_array($v->group_srl, $file_config->download_grant))-->checked="checked"<!--@end-->/>
<label for="grant_{$key}_{$v->group_srl}">{$v->title}</label>
&nbsp;
<!--@end-->
</td>
</tr>
</table>
</div>
<th scope="row"><label for="allowed_filesize">{$lang->allowed_filesize}</label></th>
<td class="text">
<input type="text" name="allowed_filesize" id="allowed_filesize" value="{$file_config->allowed_filesize}" size="3" style="width:30px" /> MB
<p class="desc">{$lang->about_allowed_filesize}</p>
</td>
</tr>
<tr>
<th scope="row"><label for="allowed_attach_size">{$lang->allowed_attach_size}</label></th>
<td class="text">
<input type="text" name="allowed_attach_size" id="allowed_attach_size" value="{$file_config->allowed_attach_size}" size="3" style="width:30px" /> MB
/ {ini_get('upload_max_filesize')}
<p class="desc">{$lang->about_allowed_attach_size}</p>
</td>
</tr>
<tr>
<th scope="row"><label for="allowed_filetypes">{$lang->allowed_filetypes}</label></th>
<td class="text">
<input type="text" name="allowed_filetypes" id="allowed_filetypes" value="{$file_config->allowed_filetypes}" />
<p class="desc">{$lang->about_allowed_filetypes}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->enable_download_group}</th>
<td class="text">
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" class="checkbox" name="download_grant[]" value="{$v->group_srl}" id="grant_{$key}_{$v->group_srl}" <!--@if(in_array($v->group_srl, $file_config->download_grant))-->checked="checked"<!--@end-->/>
<label for="grant_{$key}_{$v->group_srl}">{$v->title}</label>
&nbsp;
<!--@end-->
</td>
</tr>
</table>
<div class="btnArea">
<span class="btn"><input type="submit" value="{$lang->cmd_save}" /></span>
</div>

View file

@ -1,8 +1,7 @@
<load target="js/file_admin.js" usecdn="true" />
<h2 class="h2">{$lang->file} {$lang->cmd_management}</h2>
<div class="cnb">
<ul>
<li <!--@if($act=='dispFileAdminList')-->class="active"<!--@end-->><a href="{getUrl('act','dispFileAdminList')}">{$lang->file_list}</a></li>
<li <!--@if($act=='dispFileAdminConfig')-->class="active"<!--@end-->><a href="{getUrl('act','dispFileAdminConfig')}">{$lang->cmd_module_config}</a></li>
</ul>
</div>
<p>
<a href="{getUrl('act','dispFileAdminList')}" class="active"|cond="$act=='dispFileAdminList'">{$lang->file_list}</a>
<i>|</i>
<a href="{getUrl('act','dispFileAdminConfig')}" class="active"|cond="$act=='dispFileAdminConfig'">{$lang->cmd_module_config}</a>
</p>