rhymix/modules/board/tpl/board_info.html

131 lines
4.4 KiB
HTML

<!--#include("header.html")-->
<table cellspacing="0" class="adminTable">
<tr>
<th scope="row"><div>{$lang->module_category}</div></th>
<td>
<!--@if(!$module_info->module_category_srl)-->
{$lang->not_exists}
<!--@else-->
{$module_category[$module_info->module_category_srl]->title}
<!--@end-->
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->layout}</div></th>
<td>
<!--@if($module_info->layout_srl)-->
{$module_info->layout_title} ({$module_info->layout})
<!--@else-->
{$lang->not_exists}
<!--@end-->
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->skin}</div></th>
<td>{$module_info->skin_title} ({$module_info->skin})</td>
</tr>
<tr>
<th scope="row"><div>{$lang->browser_title}</div></th>
<td>{htmlspecialchars($module_info->browser_title)}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->use_category}</div></th>
<td><!--@if($module_info->use_category=='Y')-->{$lang->use}<!--@else-->{$lang->notuse}<!--@end--></td>
</tr>
<tr>
<th scope="row"><div>{$lang->order_target}</div></th>
<td>{$order_target[$module_info->order_target]}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->order_type}</div></th>
<td><!--@if($module_info->order_type=='asc')-->{$lang->order_asc}<!--@else-->{$lang->order_desc}<!--@end--></td>
</tr>
<tr>
<th scope="row"><div>{$lang->list_count}</div></th>
<td>{$module_info->list_count?$module_info->list_count:20}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->search_list_count}</div></th>
<td>{$module_info->search_list_count?$module_info->search_list_count:20}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->page_count}</div></th>
<td>{$module_info->page_count?$module_info->page_count:10}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->except_notice}</div></th>
<td>{$module_info->except_notice=='N'?$lang->notuse:$lang->use}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->consultation}</div></th>
<td>{$module_info->consultation=='Y'?$lang->use:$lang->notuse}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->admin_mail}</div></th>
<td>{$module_info->admin_mail}</td>
</tr>
<tr>
<th scope="row"><div>{$lang->description}</div></th>
<td>{nl2br(htmlspecialchars($module_info->description))}&nbsp;</td>
</tr>
<tr>
<th scope="row"><div>{$lang->header_text}</div></th>
<td>{htmlspecialchars($module_info->header_text)}&nbsp;</td>
</tr>
<tr>
<th scope="row"><div>{$lang->footer_text}</div></th>
<td>{htmlspecialchars($module_info->footer_text)}&nbsp;</td>
</tr>
<tr>
<th scope="row"><div>{$lang->admin_id}</div></th>
<td>{implode(",",$module_info->admin_id)}&nbsp;</td>
</tr>
<tr>
<td colspan="2" class="right">
<a href="{getUrl('act','dispBoardAdminInsertBoard')}" class="button"><span>{$lang->cmd_modify}</span></a>
<!--@if($module=="admin")-->
<a href="{getUrl('act','dispBoardAdminContent','module_srl','')}" class="button"><span>{$lang->cmd_board_list}</span></a>
<!--@end-->
</td>
</tr>
</table>
<!--@for($i=1;$i<=20;$i++)-->
<!--@if($module_info->extra_vars[$i])-->
{@ $extra_vars_name = $module_info->extra_vars[$i]->name}
{@ $extra_vars_type = $module_info->extra_vars[$i]->type}
{@ $extra_vars_is_required = $module_info->extra_vars[$i]->is_required=='Y'?'Y':'N'}
{@ $extra_vars_default_value = $module_info->extra_vars[$i]->default?$module_info->extra_vars[$i]->default:'&nbsp;'}
{@ $extra_vars_desc = $module_info->extra_vars[$i]->desc?$module_info->extra_vars[$i]->desc:'&nbsp;'}
{@ $extra_vars_search = $module_info->extra_vars[$i]->search=='Y'?'Y':'N'}
<table cellspacing="0" class="adminTable topGap">
<caption>{$lang->extra_vars} {$i}</caption>
<tr>
<th><div>{$lang->column_name}</div></th>
<td>{$extra_vars_name}</td>
</tr>
<tr>
<th><div>{$lang->column_type}</div></th>
<td>{$extra_vars_type}</td>
</tr>
<tr>
<th><div>{$lang->is_required}</div></th>
<td>{$extra_vars_is_required}</td>
</tr>
<tr>
<th><div>{$lang->default_value}</div></th>
<td>{$extra_vars_default_value}</td>
</tr>
<tr>
<th><div>{$lang->description}</div></th>
<td>{$extra_vars_desc}</td>
</tr>
<tr>
<th><div>{$lang->cmd_search}</div></th>
<td>{$extra_vars_search}</td>
</tr>
</table>
<!--@end-->
<!--@end-->