mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8616 201d5d3c-b55e-5fd7-737f-ddc643e51545
93 lines
4.1 KiB
HTML
93 lines
4.1 KiB
HTML
<!--%import("css/editor.css")-->
|
|
<!--%import("css/editor_admin.css")-->
|
|
<!--%import("js/editor_admin.js")-->
|
|
|
|
<div id="popHeader" class="wide">
|
|
<h3 class="xeAdmin">{$lang->cmd_setup}</h3>
|
|
</div>
|
|
|
|
<p cond="$XE_VALIDATOR_MESSAGE" class="xe_validator_message"|cond="!$XE_VALIDATOR_ERROR" class="xe_validator_error"|cond="$XE_VALIDATOR_ERROR">{$XE_VALIDATOR_MESSAGE}</p>
|
|
<form ruleset="setupComponent" action="./" method="post">
|
|
<input type="hidden" name="act" value="procEditorAdminSetupComponent" />
|
|
<input type="hidden" name="component_name" value="{$component_name}" />
|
|
|
|
<div id="popBody">
|
|
<table cellspacing="0" class="rowTable">
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->component_name}</div></th>
|
|
<td>{$component->component_name} ver. {$component->version}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row"><div>{$lang->component_author}</div></th>
|
|
<td class="blue">
|
|
<!--@foreach($component->author as $author)-->
|
|
{$author->name} (<a href="{$author->homepage}" onclick="window.open(this.href);return false;">{$author->homepage}</a>, <a href="mailto:{$author->email_address}">{$author->email_address}</a>)<br />
|
|
<!--@endforeach-->
|
|
</td>
|
|
</tr>
|
|
<!--@if($component->link)-->
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->component_link}</div></th>
|
|
<td><a href="#" onclick="winopen('{$component->link}');return false;">{$component->link}</a></td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
<!--@foreach($component->extra_vars as $key => $val)-->
|
|
<tr class="row{$cycle_idx}">
|
|
<th scope="row"><div>{$val->title}</div></th>
|
|
<td>
|
|
<input type="text" name="{$key}" value="{$val->value}" class="inputTypeText w400" />
|
|
<p>{$val->description}</p>
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
<tr class="row2">
|
|
<th scope="row"><div>{$lang->grant}</div></th>
|
|
<td>
|
|
<!--@foreach($group_list as $key => $val)-->
|
|
<input type="checkbox" name="target_group" value="{$key}" <!--@if(in_array($key, $component->target_group))-->checked="checked"<!--@end--> id="group_{$key}"> <label for="group_{$key}">{$val->title}</label>
|
|
<!--@end-->
|
|
<p>{$lang->about_component_grant}</p>
|
|
</td>
|
|
</tr>
|
|
|
|
<!--@if($mid_list)-->
|
|
<tr>
|
|
<th scope="row"><div>
|
|
{$lang->module}
|
|
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list'); return false;" />
|
|
</div></th>
|
|
<td>
|
|
<p>{$lang->about_component_mid}</p>
|
|
<!--@foreach($mid_list as $module_category_srl => $modules)-->
|
|
<div class="module_category_title">
|
|
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list', { wrap:'section_{$module_category_srl}' }); return false;" />
|
|
<!--@if($modules->title)-->
|
|
{$modules->title}
|
|
<!--@else-->
|
|
{$lang->none_category}
|
|
<!--@end-->
|
|
</div>
|
|
|
|
<div id="section_{$module_category_srl}">
|
|
<!--@foreach($modules->list as $key => $val)-->
|
|
<div class="module_list">
|
|
<input type="checkbox" value="{$key}" name="mid_list" id="chk_mid_list_{$key}" <!--@if(in_array($key, $component->mid_list))-->checked="checked"<!--@end--> />
|
|
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
|
|
</div>
|
|
<!--@end-->
|
|
</div>
|
|
<!--@end-->
|
|
</td>
|
|
</tr>
|
|
<!--@end-->
|
|
|
|
</table>
|
|
</div>
|
|
|
|
<div id="popFooter">
|
|
<span class="button black strong"><input type="submit" value="{$lang->cmd_apply}" /></span>
|
|
</div>
|
|
|
|
</form>
|