mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11698 201d5d3c-b55e-5fd7-737f-ddc643e51545
85 lines
3.7 KiB
HTML
85 lines
3.7 KiB
HTML
<load target="css/editor.css" usecdn="true" />
|
|
<load target="css/editor_admin.css" usecdn="true" />
|
|
<load target="js/editor_admin.js" usecdn="true" />
|
|
<div class="x_page-header">
|
|
<h1>{$lang->editor}</h1>
|
|
</div>
|
|
<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
|
|
<p>{$XE_VALIDATOR_MESSAGE}</p>
|
|
</div>
|
|
<section class="section">
|
|
<h1>{$lang->cmd_setup}</h1>
|
|
<form ruleset="setupComponent" action="./" method="post" class="x_form-horizontal">
|
|
<input type="hidden" name="module" value="editor" />
|
|
<input type="hidden" name="act" value="procEditorAdminSetupComponent" />
|
|
<input type="hidden" name="component_name" value="{$component_name}" />
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->component_name}</label>
|
|
<div class="x_controls">{$component->title}({$component->component_name}) ver. {$component->version}</div>
|
|
</div>
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->component_author}</label>
|
|
<div class="x_controls">
|
|
<!--@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-->
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group" cond="$component->link">
|
|
<label class="x_control-label">{$lang->component_link}</label>
|
|
<div class="x_controls">
|
|
<a href="#" onclick="winopen('{$component->link}');return false;">{$component->link}</a>
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group" loop="$component->extra_vars=>$key,$val">
|
|
<label class="x_control-label">{$val->title}</label>
|
|
<div class="x_controls">
|
|
<input type="text" name="{$key}" value="{$val->value}" />
|
|
<span class="x_help-block">{$val->description}</span>
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group">
|
|
<label class="x_control-label">{$lang->grant}</label>
|
|
<div class="x_controls">
|
|
<label class="x_inline" loop="$group_list=>$key,$val">
|
|
<input type="checkbox" name="target_group" value="{$key}" <!--@if(in_array($key, $component->target_group))-->checked="checked"<!--@end--> id="group_{$key}"> {$val->title}</label>
|
|
<span class="x_help-block">{$lang->about_component_grant}</span>
|
|
</div>
|
|
</div>
|
|
<div class="x_control-group" cond="$mid_list">
|
|
<label class="x_control-label">
|
|
{$lang->module}
|
|
<input type="checkbox" onclick="XE.checkboxToggleAll('mid_list'); return false;" />
|
|
</label>
|
|
<div class="x_controls">
|
|
<span class="x_help-block">{$lang->about_component_mid}</span>
|
|
<!--@foreach($mid_list as $module_category_srl => $modules)-->
|
|
<!--@if(count($mid_list) > 1)-->
|
|
<fieldset>
|
|
<legend>
|
|
<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-->
|
|
</legend>
|
|
<!--@end-->
|
|
<div id="section_{$module_category_srl}">
|
|
<!--@foreach($modules->list as $key => $val)-->
|
|
<label>
|
|
<input type="checkbox" value="{$key}" name="mid_list" id="chk_mid_list_{$key}" <!--@if(in_array($key, $component->mid_list))-->checked="checked"<!--@end--> />
|
|
{$key} ({$val->browser_title})
|
|
</label>
|
|
<!--@end-->
|
|
</div>
|
|
<!--@if(count($mid_list) > 1)-->
|
|
</fieldset>
|
|
<!--@end-->
|
|
<!--@end-->
|
|
</div>
|
|
</div>
|
|
<div style="margin-top: -12px;" class="x_clearfix">
|
|
<div class="x_pull-right">
|
|
<a class="x_btn" href="{getUrl('', 'module', 'admin', 'act', 'dispEditorAdminIndex')}" >{$lang->cmd_back}</a>
|
|
<button type="submit" class="x_btn x_btn-primary">{$lang->cmd_save}</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</section>
|