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