2012-10-17 08:00:00 +02:00
< div class = "winix" >
2011-06-13 03:06:10 +02:00
[if item_is]< h1 > {edit}< / h1 > [else]< h1 > {add}< / h1 > [end]
< form id = "additem" method = "post" action = "[doc_base_url][dir][if item_is][item_url]/[end]nicedit" >
< fieldset >
< legend > {form_emacs_legend}< / legend >
[if mount_type_is "cms"]
< p class = "withnext" > {title}:< / p >
< input class = "edit" type = "text" name = "subject" value = "[item_subject]" >
< p class = "withnext" > {suggested_url}:< / p >
< input class = "edit" type = "text" name = "url" value = "[item_url]" >
[end]
2012-10-17 08:00:00 +02:00
[if-any mount_type_is "thread" thread_mount_arg_is "subject"]
2011-06-13 03:06:10 +02:00
< p class = "withnext" > {title}:< / p >
< input class = "edit" type = "text" name = "subject" value = "[item_subject]" >
< p class = "withnext" > {suggested_url}:< / p >
< input class = "edit" type = "text" name = "url" value = "[item_url]" >
[end]
[if mount_type_is "cms"]< p class = "withnext" > {form_emacs_content_cms}< / p > [end]
[if mount_type_is "thread"]< p class = "withnext" > {form_emacs_content_thread}< / p > [end]
[if mount_type_is "ticket"]< p class = "withnext" > {form_emacs_content_ticket}< / p > [end]
< textarea class = "multitext" rows = "[if mount_type_is " cms " ] 30 [ else ] 10 [ end ] " cols = "60" name = "itemcontent" id = "nicarea" > [item_content]< / textarea >
< input type = "hidden" name = "contenttype" value = "2" >
< script type = "text/javascript" >
new nicEditor(\{fullPanel:true, iconsPath:'[doc_base_url_common]/nicedit/nicEditorIcons.gif', uploadURI:'[doc_base_url][dir]upload/' \}).panelInstance('nicarea');
< / script >
[if winix_function_param_is "full"]
[else]
[end]
[if-no user_logged]
< p class = "withnext" > {nick}:< / p >
< input class = "edit" type = "text" name = "guestname" value = "[item_guest_name]" >
< p class = "withnext" > {rebus_how_is_it} [rebus_question]?< / p >
< input class = "edit" type = "text" name = "rebus" >
[end]
2012-09-04 22:24:42 +02:00
[if winix_function_param_is "postredirect"]
< input type = "hidden" name = "postredirect" value = "[winix_function_param_value " postredirect " ] " >
[end]
2011-06-13 03:06:10 +02:00
< input class = "submit" type = "submit" value = "[if item_is]{change}[else]{add}[end]" >
< / fieldset >
< / form >
2012-10-17 08:00:00 +02:00
< / div >