File: Squishdot_editForm.dtml

package info (click to toggle)
squishdot 1.3.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 896 kB
  • ctags: 349
  • sloc: python: 2,313; makefile: 56; sh: 54
file content (118 lines) | stat: -rw-r--r-- 3,687 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<dtml-comment >  
<!-- version : $Revision: 1.9 $  
     author  : Butch Landingin   
	    
  
     copyright (c) 1999 by Butch Landingin  
  
	  see License.txt for restrictions on distribution, use   
	  and modifications.  
  
  -->  
</dtml-comment>  
<HTML>  
<HEAD>  
<TITLE>Options for <dtml-var title_or_id></TITLE>  
</HEAD>  
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">  
<dtml-var manage_tabs>  
<TABLE CELLSPACING="2">  
<FORM ACTION="manage_edit" METHOD="POST" TARGET="manage_main">  
<TR>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <STRONG>Id</STRONG>  
  </TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <dtml-var id>  
  </TD>  
</TR>  
<TR>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <EM><STRONG>Mail&nbsp;Host&nbsp;&nbsp;</STRONG></EM>  
  </TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
<dtml-if mailhost_list>  
  <SELECT NAME="mailhost">  
  <OPTION VALUE="" <dtml-if "mail_host==''" >SELECTED</dtml-if>>&nbsp;  
  <dtml-in mailhost_list>  
  <OPTION VALUE="<dtml-var id html_quote>"  
  <dtml-if "mail_host==id"> SELECTED</dtml-if >>  
  <dtml-var title_or_id>  
  </dtml-in mailhost_list>  
  </SELECT>  
<dtml-else>
  <I>No Mail Host objects could be found.</I><BR>
  <small>
    You will not be able to recieve email notification of postings until you create a Mail Host object that is acquirable by your Squishdot Site.
  </small>
</dtml-if mail_host>  
  </TD>  
</TR>  
<TR>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <STRONG>Options</STRONG>  
  </TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="RADIO" NAME="moderated:string" VALUE="both" <dtml-if "moderated and mod_comment">CHECKED</dtml-if>>  
  Posting both articles and comments are <STRONG>moderated</STRONG>  
  <BR>  
  <INPUT TYPE="RADIO" NAME="moderated:string" VALUE="articles" <dtml-if "moderated and not mod_comment"> CHECKED</dtml-if>>  
  Only posting of articles are <STRONG> moderated</STRONG>  
  <BR>  
  <INPUT TYPE="RADIO" NAME="moderated:string" VALUE="none" <dtml-if "not moderated and not mod_comment">CHECKED</dtml-if>>  
  This site is <STRONG>not moderated</STRONG>  
  </TD>  
</TR>  
<dtml-if mail_host> 
<TR>  
  <TD></TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="CHECKBOX" NAME="mail_articles:int" VALUE="1" <dtml-if mail_articles> CHECKED</dtml-if>> 
  Mail new articles to the admin address.
  <BR>  
  <INPUT TYPE="CHECKBOX" NAME="mail_replies:int" VALUE="1" <dtml-if mail_replies> CHECKED</dtml-if>> 
  Mail new replies to the admin address.
  </TD>  
</TR>  
</dtml-if mailhost_list> 
<TR>  
  <TD></TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="RADIO" NAME="exp:int" VALUE="1"<dtml-if expire> CHECKED</dtml-if expire>>  
  Postings in this site expire after  
  <INPUT TYPE="TEXT" NAME="expire" SIZE="2" VALUE="&dtml-expire;"> days of inactivity  
  <BR>  
  <INPUT TYPE="RADIO" NAME="exp:int" VALUE="0"<dtml-else expire> CHECKED</dtml-else expire>>  
  Postings in this site do not expire  
  </TD>  
</TR>  
<TR>  
  <TD></TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="TEXT" NAME="max_itemlist:int" <dtml-if max_itemlist> VALUE="<dtml-var max_itemlist html_quote>"</dtml-if max_itemlist> SIZE="3">  maximum posts on main page  
  </TD>  
</TR>  
<TR>  
  <TD></TD>  
  <TD>  
  <BR><INPUT TYPE="SUBMIT" VALUE="Change">  
  <BR><BR>
  </TD>  
</TR>  
</FORM>  
<FORM ACTION="&dtml-URL1;" METHOD="POST" TARGET="manage_main">  
<TR>
  <TD ALIGN="LEFT" VALIGN="TOP">
  <STRONG>Catalog Tools</STRONG>
  </TD>
  <TD ALIGN="LEFT" VALIGN="TOP">  
	<P>
	<INPUT TYPE="SUBMIT" VALUE="Re-Catalog All Postings" NAME="recatalogPostings:method"> This method can be resource-expensive<BR>   
	</P>
  </TD>
</TR>
</FORM>
</TABLE>  
</BODY>  
</HTML>