File: addSquishdotForm.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 (129 lines) | stat: -rw-r--r-- 3,782 bytes parent folder | download | duplicates (2)
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
119
120
121
122
123
124
125
126
127
128
129
<dtml-comment >  
<!-- version : $Revision: 1.4 $  
     author  : Butch Landingin   
       
  
     copyright (c) 1999 by Butch Landingin  
  
     see License.txt for restrictions on distribution, use   
     and modifications.  
  
  -->  
</dtml-comment>  
<HTML>  
<HEAD>  
<TITLE>Add Squishdot Site</TITLE>  
</HEAD>  
<BODY BGCOLOR="#FFFFFF" LINK="#000099" VLINK="#555555">  
<H2>Add Squishdot Site</H2>  
<P>  
<FORM ACTION="./manage_addSquishdot"  
      METHOD="POST" TARGET="manage_main">  
<TABLE CELLSPACING="2">  
<TR>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <STRONG>Id</STRONG>  
  </TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="TEXT" NAME="id" SIZE="40">  
  </TD>  
</TR>  
<TR>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <EM><STRONG>Title</STRONG></EM>  
  </TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="TEXT" NAME="title" SIZE="40"></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="" SELECTED>&nbsp;  
  <dtml-in mailhost_list>  
  <OPTION VALUE="<dtml-var id html_quote>"><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.
    Once this has been done, you must select that Mail Host in the drop down list on the 'Options' management tab of the Squishdot Site.
  </small>
</dtml-if mailhost_list>  
  </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">  
  Posting both articles and comments are <STRONG>moderated</STRONG>  
  <BR>  
  <INPUT TYPE="RADIO" NAME="moderated:string" VALUE="articles" >  
  Only posting of articles are <STRONG> moderated</STRONG>  
  <BR>  
  <INPUT TYPE="RADIO" NAME="moderated:string" VALUE="none" CHECKED>  
  This site is <STRONG>not moderated</STRONG>  
  </TD>  
</TR>  
<dtml-if mailhost_list> 
<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" ID="rdoExpYes">  
  <LABEL FOR="rdoExpYes">Postings in this site expire after</LABEL>  
  <INPUT TYPE="TEXT" NAME="expire" SIZE="2"> days of inactivity  
  <BR>  
  <INPUT TYPE="RADIO" NAME="exp:int" VALUE="0" CHECKED ID="rdoExpNo">  
  <LABEL FOR="rdoExpNo">Postings in this site do not expire</LABEL>  
  </TD>  
</TR>  
<TR>  
  <TD></TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="RADIO" NAME="default_doc:string" VALUE="plain">  
  Plain vanilla web pages     
  <BR>  
  <INPUT TYPE="RADIO" NAME="default_doc:string" VALUE="demo1" >  
  Fancy demo with a slashdot-like theme    
  <BR>  
  <INPUT TYPE="RADIO" NAME="default_doc:string" VALUE="demo2" CHECKED>  
  Fancy demo with a 'blue heaven' theme      
  </TD>  
</TR>  
<TR>  
  <TD></TD>  
  <TD ALIGN="LEFT" VALIGN="TOP">  
  <INPUT TYPE="TEXT" NAME="max_itemlist:int" VALUE="30" SIZE="3">  maximum posts on main page  
  </TD>  
</TR>  
  
<TR>  
  <TD></TD>  
  <TD>  
  <BR><INPUT TYPE="SUBMIT" VALUE=" Add ">  
  </TD>  
</TR>  
</TABLE>  
</FORM>  
</BODY>  
</HTML>