2010-09-29 23:24:34 +02:00
|
|
|
[if item_is]<h1>{edit}</h1>[else]<h1>{add}</h1>[end]
|
2010-01-26 20:02:21 +01:00
|
|
|
|
2010-02-28 01:08:10 +01:00
|
|
|
[include "error.html"]
|
2010-01-26 20:02:21 +01:00
|
|
|
|
2010-01-28 16:39:01 +01:00
|
|
|
|
2010-09-29 23:24:34 +02:00
|
|
|
<form id="additem" method="post" action="[doc_base_url][dir][if item_is][item_url]/[end]emacs">
|
2010-01-26 20:02:21 +01:00
|
|
|
<fieldset>
|
2010-01-28 16:39:01 +01:00
|
|
|
<legend>{form_emacs_legend}</legend>
|
2010-01-26 20:02:21 +01:00
|
|
|
|
2010-09-29 23:24:34 +02:00
|
|
|
[if mount_type_is "cms"]
|
2010-01-28 16:39:01 +01:00
|
|
|
<p class="withnext">{title}:</p>
|
|
|
|
<input class="edit" type="text" name="subject" value="[item_subject]">
|
|
|
|
|
2010-02-11 21:56:52 +01:00
|
|
|
<p class="withnext">{suggested_url}:</p>
|
2010-01-28 16:39:01 +01:00
|
|
|
<input class="edit" type="text" name="url" value="[item_url]">
|
2010-01-26 20:02:21 +01:00
|
|
|
[end]
|
|
|
|
|
|
|
|
[include "fun_emacs_post.html"]
|
|
|
|
|
|
|
|
[if-no user_logged]
|
2010-01-28 16:39:01 +01:00
|
|
|
<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">
|
2010-01-26 20:02:21 +01:00
|
|
|
[end]
|
|
|
|
|
2010-09-29 23:24:34 +02:00
|
|
|
<input class="submit" type="submit" value="[if item_is]{change}[else]{add}[end]">
|
2010-01-26 20:02:21 +01:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
2010-01-28 16:39:01 +01:00
|
|
|
|
|
|
|
|