rhymix/modules/planet/tpl/setup.html

126 lines
5.6 KiB
HTML

<!--#include("header.html")-->
<!--%import("filter/insert_config.xml")-->
<form action="./" method="get" onsubmit="return procFilter(this, insert_config)">
<table cellspacing="0" class="adminTable">
<tr>
<th scope="row"><div>{$lang->mid}</div></th>
<td colspan="3">
<input type="text" name="mid" value="{htmlspecialchars($config->mid)}" class="inputTypeText w400" />
<p>{$lang->mid}</p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->is_default}</div></th>
<td colspan="3">
<input type="checkbox" name="is_default" value="Y" <!--@if($config->is_default=='Y')-->checked="checked"<!--@end--> id="fld_for_default" class="checkbox" />
<label for="fld_for_default">{$lang->about_default}</label>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->browser_title}</div></th>
<td colspan="3">
<input type="text" name="browser_title" value="{htmlspecialchars($config->browser_title)}" class="inputTypeText w400" />
<p>{$lang->browser_title}</p>
</td>
</tr>
<tr class="row">
<th scope="row"><div>{$lang->layout}</div></th>
<td colspan="3">
<select name="layout_srl">
<option value="0">{$lang->notuse}</option>
<!--@foreach($layout_list as $key => $val)-->
<option value="{$val->layout_srl}" <!--@if($config->layout_srl==$val->layout_srl)-->selected="selected"<!--@end-->>{$val->title} ({$val->layout})</option>
<!--@end-->
</select>
<p>{$lang->about_layout}</p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->planet_default_skin}</div></th>
<td colspan="3">
<select name="planet_default_skin">
<!--@foreach($skin_list as $key=>$val)-->
<option value="{$key}" <!--@if($config->planet_default_skin==$key)-->selected="selected"<!--@end-->>{$val->title}</option>
<!--@end-->
</select>
<p>{$lang->about_planet_default_skin}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->create_message}</div></th>
<td colspan="3">
<textarea name="create_message" class="inputTypeTextArea w400">{htmlspecialchars($config->create_message)}</textarea>
<p>{$lang->about_create_message}</p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->planet_tagtab}</div></th>
<td colspan="3">
<input type="text" name="planet_tagtab" value="{htmlspecialchars($tagtab)}" class="inputTypeText w400" />
<p>{$lang->about_planet_tagtab}</p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->planet_tagtab_after}</div></th>
<td colspan="3">
<input type="text" name="planet_tagtab_after" value="{htmlspecialchars($tagtab_after)}" class="inputTypeText w400" />
<p>{$lang->about_planet_tagtab_after}</p>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->planet_smstag}</div></th>
<td colspan="3">
<input type="text" name="planet_smstag" value="{htmlspecialchars($smstag)}" class="inputTypeText w400" />
<p>{$lang->about_planet_smstag}</p>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->use_signup}</div></th>
<td colspan="3">
<input type="checkbox" name="use_signup" value="Y" <!--@if($config->use_signup=='Y')-->checked="checked"<!--@end--> id="fld_for_signup" class="checkbox" />
<label for="fld_for_signup">{$lang->about_use_signup}</label>
</td>
</tr>
<tr>
<th scope="row"><div>{$lang->planet_use_mobile}</div></th>
<td colspan="3">
<input type="checkbox" name="use_mobile" value="Y" <!--@if($config->use_mobile=='Y')-->checked="checked"<!--@end--> id="fld_for_use_mobile" class="checkbox" />
<label for="fld_for_use_mobile">{$lang->about_use_mobile}</label>
</td>
</tr>
<tr class="row2">
<th scope="row"><div>{$lang->planet_use_me2day}</div></th>
<td colspan="3">
<input type="checkbox" name="use_me2day" value="Y" <!--@if($config->use_me2day=='Y')-->checked="checked"<!--@end--> id="fld_for_use_me2day" class="checkbox" />
<label for="fld_for_use_me2day">{$lang->about_use_me2day}</label>
</td>
</tr>
<tr>
<th scope="row" colspan="4"><div>{$lang->cmd_manage_grant}</div></th>
</tr>
<!--@foreach($grant_list as $key => $val)-->
<tr class="row{$cycle_idx}">
<th scope="row"><div>{$val->title}</div></th>
<td class="wide">
<!--@foreach($group_list as $k => $v)-->
<input type="checkbox" class="checkbox" name="{$key}" value="{$v->group_srl}" id="grant_{$key}_{$v->group_srl}" <!--@if(is_array($config->grants[$key])&&in_array($v->group_srl,$config->grants[$key]))-->checked="checked"<!--@end-->/>
<label for="grant_{$key}_{$v->group_srl}">{$v->title}</label>
<!--@end-->
</td>
<td class="selectAll center"><a href="#" onclick="XE.checkboxToggleAll('{$key}', { checked:true });return false;">{$lang->cmd_select_all}</a></td>
<td class="deSelectAll center"><a href="#" onclick="XE.checkboxToggleAll('{$key}', { checked:false });return false;">{$lang->cmd_unselect_all}</a></td>
</tr>
<!--@end-->
<tr>
<td class="right" colspan="4">
<span class="button"><input type="submit" value="{$lang->cmd_registration}" accesskey="s" /></span>
</td>
</tr>
</table>
</form>