mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 21:59:55 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4887 201d5d3c-b55e-5fd7-737f-ddc643e51545
134 lines
5.2 KiB
HTML
134 lines
5.2 KiB
HTML
<h3 class="title">{$lang->cmd_homepage_menus[$act]}</h3>
|
|
<p class="infoText">{$lang->about_homepage_act[$act]}</p>
|
|
|
|
<!--%import("./filter/change_layout.xml")-->
|
|
|
|
<form action="./" method="post" onsubmit="return procFilter(this, change_layout);">
|
|
<table cellspacing="0" class="adminTable">
|
|
<caption>{$lang->layout}</caption>
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->layout}</div></th>
|
|
<td>
|
|
<select name="layout">
|
|
<!--@foreach($layout_list as $key => $val)-->
|
|
<option value="{$val->layout}" <!--@if($selected_layout->layout == $val->layout)-->selected="selected"<!--@end-->>{$val->title} ver {$val->version} ({$val->layout})</option>
|
|
<!--@end-->
|
|
</select>
|
|
<span class="button blue"><input type="submit" value="{$lang->cmd_change_layout}" /></span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><div>{$lang->path}</div></th>
|
|
<td>{$selected_layout->path}</td>
|
|
</tr>
|
|
<!--@if(count($selected_layout->author))-->
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->author}</div></th>
|
|
<td>
|
|
<!--@foreach($selected_layout->author as $k => $v)-->
|
|
<a href="{$v->homepage}" onclick="window.open(this.href);return false;">{$v->name}</a>
|
|
<!--@end-->
|
|
</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-->
|
|
</table>
|
|
</form>
|
|
|
|
<form id="fo_layout" action="./" method="post" enctype="multipart/form-data" target="hidden_iframe">
|
|
<input type="hidden" name="module" value="homepage" />
|
|
<input type="hidden" name="act" value="procHomepageLayoutUpdate" />
|
|
<input type="hidden" name="layout_srl" value="{$selected_layout->layout_srl}" />
|
|
<input type="hidden" name="title" value="{htmlspecialchars($homepage_info->title)}" />
|
|
<!--@if($logged_info->is_admin != 'Y')-->
|
|
<!--@foreach($selected_layout->menu as $menu_name => $menu_info)-->
|
|
<input type="hidden" name="{$menu_name}" value="{$menu_info->menu_srl}" />
|
|
<!--@end-->
|
|
<!--@end-->
|
|
|
|
<table cellspacing="0" class="adminTable">
|
|
<tr class="row2">
|
|
<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>
|
|
<!--@foreach($selected_layout->extra_var as $name => $var)-->
|
|
|
|
<!--@if($var->group && ((!$group) || $group != $var->group))-->
|
|
{@$group = $var->group}
|
|
</table>
|
|
<table cellspacing="0" class="adminTable">
|
|
<col width="150" />
|
|
<col width="*" />
|
|
<caption>{$group}</caption>
|
|
<!--@end-->
|
|
|
|
<tr class="row{$cycle_idx+1}">
|
|
<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}</option>
|
|
<!--@end-->
|
|
</select>
|
|
<!--@end-->
|
|
<p>{$var->description}</p>
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
<!--@if($var->group)-->
|
|
<!--@end-->
|
|
|
|
<!--@if($logged_info->is_admin == 'Y')-->
|
|
<!--@foreach($selected_layout->menu as $menu_name => $menu_info)-->
|
|
<tr>
|
|
<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>
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
<!--@end-->
|
|
<tr class="row2">
|
|
<td colspan="2" class="right">
|
|
<span class="button strong blue"><input type="submit" value="{$lang->cmd_save}" /></span>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<iframe name="hidden_iframe" frameborder="0" style="display:none"></iframe>
|
|
</form>
|