mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 10:11:38 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8513 201d5d3c-b55e-5fd7-737f-ddc643e51545
182 lines
6.3 KiB
HTML
182 lines
6.3 KiB
HTML
<!--%import("filter/update_layout_info.xml")-->
|
|
|
|
<!--#include("header.html")-->
|
|
|
|
<h3 class="xeAdmin">{$selected_layout->layout_title}</h3>
|
|
<div class="header4">
|
|
<ul class="localNavigation">
|
|
<li class="on"><a href="#" onclick="return false;">{$lang->cmd_layout_management}</a></li>
|
|
<li><a href="{getUrl('act','dispLayoutAdminEdit')}">{$lang->cmd_layout_edit}</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<p class="xe_validator_error">{$XE_VALIDATOR_ERROR}</p>
|
|
<form ruleset="updateLayout" id="fo_layout" action="./" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" name="module" value="layout" />
|
|
<input type="hidden" name="act" value="procLayoutAdminUpdate" />
|
|
<input type="hidden" name="layout_srl" value="{$layout_srl}" />
|
|
<input type="hidden" name="layout" value="{$selected_layout->layout}" />
|
|
|
|
|
|
<table cellspacing="0" class="rowTable">
|
|
<col width="200" />
|
|
<col width="*" />
|
|
<tr>
|
|
<th scope="row"><div>{$lang->layout}</div></th>
|
|
<td class="wide">{$selected_layout->title} ver {$selected_layout->version} ({$selected_layout->layout})</td>
|
|
</tr>
|
|
|
|
<!--@if($selected_layout->path)-->
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->path}</div></th>
|
|
<td>{$selected_layout->path}</td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
<!--@if($selected_layout->description)-->
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->description}</div></th>
|
|
<td>{nl2br(trim($selected_layout->description))}</td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
<!--@if($selected_layout->author->homepage)-->
|
|
<tr>
|
|
<th scope="row"><div>{$lang->author}</div></th>
|
|
<td><a href="{$selected_layout->author->homepage}" onclick="window.open(this.href);return false;" class="blue">{$selected_layout->author->name}</a></td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
<tr>
|
|
<th scope="row"><div>{$lang->header_script}</div></th>
|
|
<td>
|
|
<textarea name="header_script" class="inputTypeTextArea w400">{htmlspecialchars($selected_layout->header_script)}</textarea>
|
|
<p>{$lang->about_header_script}</p>
|
|
</td>
|
|
</tr>
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->title}</div></th>
|
|
<td>
|
|
<input type="text" name="title" value="{htmlspecialchars($selected_layout->layout_title)}" class="inputTypeText w400" />
|
|
<p>{$lang->about_title}</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<!--@foreach($selected_layout->extra_var as $name => $var)-->
|
|
|
|
<!--@if($var->group && ((!$group) || $group != $var->group))-->
|
|
</table>
|
|
|
|
{@$group = $var->group}
|
|
<h4 class="xeAdmin">{$group}</h4>
|
|
<table cellspacing="0" class="rowTable">
|
|
<col width="200" />
|
|
<col width="*" />
|
|
<!--@end-->
|
|
|
|
<tr>
|
|
<th scope="row"><div>{$var->title}</div></th>
|
|
<td>
|
|
<!--@if($var->type == "text")-->
|
|
<input type="text" name="{$name}" value="{htmlspecialchars($var->value)}" class="inputTypeText w400"/>
|
|
|
|
<!--@elseif($var->type == "textarea")-->
|
|
<textarea name="{$name}" class="inputTypeTextArea w400">{htmlspecialchars($var->value)}</textarea>
|
|
|
|
<!--@elseif($var->type=="image")-->
|
|
|
|
<!--@if($var->value)-->
|
|
<div>
|
|
<img src="../../../{$var->value}" alt="image" /><br />
|
|
<input type="checkbox" name="del_{$name}" value="Y" id="del_{$name}" class="checkbox" />
|
|
<label for="del_{$name}">{$lang->cmd_delete}</label>
|
|
</div>
|
|
<!--@end-->
|
|
|
|
<input type="file" name="{$name}" value="" />
|
|
|
|
<!--@elseif($var->type == "select")-->
|
|
<select name="{$name}">
|
|
<!--@foreach($var->options as $key => $val)-->
|
|
<option value="{$key}" <!--@if($key==$var->value)-->selected="selected"<!--@end-->>{$val->val}</option>
|
|
<!--@end-->
|
|
</select>
|
|
|
|
<!--@elseif($var->type == "radio")-->
|
|
<!--@foreach($var->options as $key => $val)-->
|
|
<!--@if($val->thumbnail)-->
|
|
{@ $_img_info = getImageSize($val->thumbnail); $_height = $_img_info[1]+40; $_width = $_img_info[0]+20; $_talign = "center"; }
|
|
<!--@else-->
|
|
{@ $_width = 200; $_height = 20; $_talign = "left"; }
|
|
<!--@end-->
|
|
|
|
<!--@if($var->thumbnail_exist)-->
|
|
<div style="float:left;text-align:{$_talign};margin-bottom:1em;width:{$_width}px;height:{$_height}px;margin-right:10px;">
|
|
<!--@endif-->
|
|
|
|
<label>
|
|
<input type="radio" name="colorset" value="{$key}" /> {$val->val}
|
|
<!--@if($val->thumbnail)-->
|
|
<br />
|
|
<img src="../../../{$val->thumbnail}" alt="{$val->val}" style="border:1px solid #888888;padding:2px;margin:2px;"/>
|
|
<!--@endif-->
|
|
</label>
|
|
|
|
<!--@if($var->thumbnail_exist)-->
|
|
</div>
|
|
<!--@endif-->
|
|
<!--@endforeach-->
|
|
<!--@endif-->
|
|
<p style="clear:both;">{$var->description}</p>
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
</table>
|
|
|
|
<h4 class="xeAdmin">{$lang->menu}</h4>
|
|
<table cellspacing="0" class="rowTable">
|
|
<col width="200" />
|
|
<col width="*" />
|
|
<!--@foreach($selected_layout->menu as $menu_name => $menu_info)-->
|
|
<tr class="row{$cycle_idx}">
|
|
<th scope="row"><div>{$menu_info->title}<br />({$menu_name})</div></th>
|
|
<td class="left tahoma">
|
|
<select name="{$menu_name}">
|
|
<option value="0">------------------------</option>
|
|
<!--@foreach($menu_list as $key => $val)-->
|
|
<option value="{$val->menu_srl}" <!--@if($val->menu_srl == $menu_info->menu_srl)-->selected="selected"<!--@end-->>{$val->title}</option>
|
|
<!--@end-->
|
|
</select>
|
|
<a href="#" onclick="doMenuManagement('{$menu_name}');return false;" class="button"><span>{$lang->cmd_management}</span></a>
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
<tr>
|
|
<th scope="row"><div>{$lang->not_apply_menu}</div></th>
|
|
<td>
|
|
<input type="checkbox" name="apply_layout" value="Y" />
|
|
{$lang->about_not_apply_menu}
|
|
</td>
|
|
</tr>
|
|
<!--@if($selected_layout->layout_type == "M")-->
|
|
<tr>
|
|
<th scope="row"><div>{$lang->apply_mobile_view}</div></th>
|
|
<td>
|
|
<input type="checkbox" name="apply_mobile_view" value="Y" />
|
|
{$lang->about_apply_mobile_view}
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
</table>
|
|
|
|
<div class="buttonArea">
|
|
<span class="button black strong"><input type="submit" value="{$lang->cmd_save}" /></span>
|
|
<!--@if($module=="admin")-->
|
|
<a href="{getUrl('act','dispLayoutAdminContent')}" class="button"><span>{$lang->cmd_list}</span></a>
|
|
<!--@else-->
|
|
<a href="{getUrl('act','')}" class="button"><span>{$lang->cmd_back}</span></a>
|
|
<!--@end-->
|
|
</div>
|
|
</form>
|
|
|
|
<iframe name="hidden_iframe" frameborder="0" style="display:none"></iframe>
|