scripts/mir-setup/README: update with link to new doc on wiki
[mir.git] / templates / admin / breaking.template
1 <html>
2   <head>
3     <title>${config["Mir.Name"]} | ${lang("breaking.htmltitle")}</title>
4     <link rel="stylesheet" type="text/css" href="${config.docRoot}/style/admin.css">
5   <head>
6
7   <body marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">
8     <include "FUNCTIONS.template">
9     <include "head.template">
10   
11       <if new=="1">
12         <assign method="insert">
13       <else>
14         <assign method="update">
15       </if>
16       
17       <call EditStart(["module", "id", "do"], [module, entity.id, method])>
18          
19         <call EditReadonlyTextNormal(lang("breaking.id"), entity.id)>
20         
21         <if new!="">
22           <call EditReadonlyTextNormal(lang("breaking.date"), entity.creationdate.format(config["Mir.DefaultDateTimeFormat"]))>
23         </if>
24         <call EditTextAreaNormal(lang("breaking.text"), lang("breaking.textinfo"), "50", "5", "text", entity.text)>\r
25       
26         <if new=="1">
27           <call EditSubmitButtonNormal(lang("insert"), "save")>
28         <else>
29           <call EditSubmitButtonNormal(lang("save"), "save")>
30         </if> 
31
32       <call EditEnd()>
33       
34       <if returnurl>
35         <call showBack(returnurl)>
36       <else>
37         <call showBack("module="+module+"&amp;do=list")>
38       </if>
39
40     <include "foot.template">
41   </body>
42 </html>