mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@696 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7998daeb0e
commit
4cad9fab3e
4 changed files with 62 additions and 7 deletions
|
|
@ -13,6 +13,7 @@
|
|||
$lang->plugin_info = '플러그인 정보';
|
||||
$lang->plugin_code = '코드';
|
||||
$lang->about_plugin_code = '선택하신 플러그인에서 요구하는 아래 항목들의 값을 넣고 [코드생성]버튼을 누르시면 제일 아래 칸에 템플릿 파일에 적용할 수 있는 코드가 출력 됩니다';
|
||||
$lang->about_plugin_code_in_page = '아래 필요한 값들을 입력하신 후 추가 버튼을 누르시면 페이지 내에 플러그인이 삽입이 됩니다';
|
||||
|
||||
$lang->msg_plugin_is_not_exists = '%s 플러그인을 찾을 수 없습니다';
|
||||
$lang->msg_plugin_object_is_null = '%s 플러그인의 객체 생성을 할 수가 없습니다';
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
.plugin_detail_info_window {
|
||||
width:500px;
|
||||
width:600px;
|
||||
clear:both;
|
||||
}
|
||||
|
||||
|
|
@ -7,18 +7,17 @@
|
|||
font-weight:bold;
|
||||
font-size:10pt;
|
||||
text-align:center;
|
||||
padding:5px 0px 5px 0px;
|
||||
padding:10px 0px 10px 0px;
|
||||
color:#EEEEEE;
|
||||
background-color:#444444;
|
||||
}
|
||||
|
||||
.plugin_description {
|
||||
margin:2px;
|
||||
margin:5px 2px 10px 2px;
|
||||
border:1px solid #EEEEEE;
|
||||
color:#444444;
|
||||
clear:both;
|
||||
padding:5px;
|
||||
height:30px;
|
||||
}
|
||||
|
||||
.plugin_header {
|
||||
|
|
@ -32,7 +31,7 @@
|
|||
|
||||
.plugin_body {
|
||||
float:left;
|
||||
width:390px;
|
||||
width:490px;
|
||||
padding:5px 0px 5px 0px;
|
||||
}
|
||||
|
||||
|
|
@ -69,7 +68,7 @@
|
|||
.plugin_code_area textarea {
|
||||
border:0px;
|
||||
height:100px;
|
||||
width:470px;
|
||||
width:570px;
|
||||
font-family:tahoma;
|
||||
font-size:8pt;
|
||||
}
|
||||
|
|
|
|||
55
modules/plugin/tpl.admin/plugin_generate_code_in_page.html
Normal file
55
modules/plugin/tpl.admin/plugin_generate_code_in_page.html
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
<!--%import("filter/generate_code.xml")-->
|
||||
<!--%import("js/admin.js")-->
|
||||
<!--%import("css/plugin.css")-->
|
||||
|
||||
<form action="./" method="get" onsubmit="return procFilter(this, generate_code);">
|
||||
<input type="hidden" name="selected_plugin" value="{$selected_plugin}" />
|
||||
|
||||
<div class="plugin_detail_info_window">
|
||||
|
||||
<div class="plugin_title">{$plugin_info->title} ver {$plugin_info->version}</div>
|
||||
|
||||
<div class="plugin_description">{$lang->about_plugin_code_in_page}</div>
|
||||
|
||||
<div class="plugin_header">{$lang->description}</div>
|
||||
<div class="plugin_body">{nl2br($plugin_info->author->description)}</div>
|
||||
|
||||
<!--@foreach($plugin_info->extra_var as $id => $var)-->
|
||||
<div class="plugin_header">{$var->name}</div>
|
||||
|
||||
<div class="plugin_body">
|
||||
<!--@if($var->type == "text")-->
|
||||
<input type="text" name="{$id}" value="" />
|
||||
|
||||
<!--@elseif($var->type == "textarea")-->
|
||||
<textarea name="{$id}"></textarea>
|
||||
|
||||
<!--@elseif($var->type == "select")-->
|
||||
<select name="{$id}">
|
||||
<!--@foreach($var->options as $key => $val)-->
|
||||
<option value="{$key}">{$val}</option>
|
||||
<!--@end-->
|
||||
</select>
|
||||
|
||||
<!--@elseif($var->type == "mid_list")-->
|
||||
<!--@foreach($mid_list as $key => $val)-->
|
||||
<div>
|
||||
<input type="checkbox" value="{$key}" name="{$id}" id="chk_mid_list_{$key}" />
|
||||
<label for="chk_mid_list_{$key}">{$key} ({$val->browser_title})</label>
|
||||
</div>
|
||||
<!--@end-->
|
||||
<!--@end-->
|
||||
</div>
|
||||
<div class="plugin_var_description">{$var->description}</div>
|
||||
<!--@end-->
|
||||
|
||||
<div class="plugin_button_area">
|
||||
<input type="submit" value="{$lang->cmd_generate_code}" class="plugin_button" />
|
||||
<input type="button" onclick="self.close()" value="{$lang->cmd_close}" class="plugin_button" />
|
||||
</div>
|
||||
|
||||
<div class="plugin_code_area"><textarea readonly="true" id="plugin_code"></textarea></div>
|
||||
|
||||
</div>
|
||||
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue