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@1037 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
81fde83b0f
commit
b92104c3fc
3 changed files with 11 additions and 0 deletions
|
|
@ -13,4 +13,6 @@
|
|||
$lang->cmd_add_poll = "설문 추가";
|
||||
$lang->cmd_del_poll = "설문 제거";
|
||||
$lang->cmd_add_item = "항목 추가";
|
||||
|
||||
$lang->msg_poll_cannot_modify = '설문조사는 수정하실 수 없습니다. 삭제후 다시 생성하셔야 합니다';
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
<!--%import("filter/insert_poll.xml")-->
|
||||
<!--%import("../lang")-->
|
||||
|
||||
<script type="text/javascript">
|
||||
var msg_poll_cannot_modify = "{$lang->msg_poll_cannot_modify}";
|
||||
</script>
|
||||
|
||||
<form action="./" method="post" id="fo_component" onSubmit="procFilter(this, insert_poll); return false;">
|
||||
<input type="hidden" name="component" value="{$component_info->component_name}" />
|
||||
<input type="hidden" name="method" value="insertPoll" />
|
||||
|
|
|
|||
|
|
@ -4,6 +4,11 @@
|
|||
**/
|
||||
var poll_index = 1;
|
||||
function setPoll() {
|
||||
var node = opener.editorPrevNode;
|
||||
if(node && node.getAttribute('editor_component')=='poll_maker') {
|
||||
alert(msg_poll_cannot_modify);
|
||||
window.close();
|
||||
}
|
||||
var obj = xCreateElement("div");
|
||||
var source = xGetElementById("poll_source");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue