Subversion-Projekte lars-tiefland.webhosting

Revision

Revision 92 | Revision 94 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 92 Revision 93
Zeile 10... Zeile 10...
10
			{
10
			{
11
				case 0:
11
				case 0:
12
					bvalid=bvalid && checkStep1();
12
					bvalid=bvalid && checkStep1();
13
					if(!bvalid)
13
					if(!bvalid)
14
					{
14
					{
15
						$tabs.tabs("option","disabled",[1,2,3,4,5]);
15
						//$tabs.tabs("option","disabled",[1,2,3,4,5]);
-
 
16
						$tabs.tabs("disable",1);
16
					}
17
					}
17
				break;
18
				break;
18
				case 1:
19
				case 1:
19
					bvalid=bvalid && checkStep1();
-
 
20
					bvalid=bvalid && checkStep2();
20
					bvalid=bvalid && checkStep2();
-
 
21
					if(!bvalid)
-
 
22
					{
-
 
23
						$tabs.tabs("disable",2);
-
 
24
					}
21
				break;
25
				break;
22
				case 2:
26
				case 2:
23
					bvalid=bvalid && checkStep1();
27
					bvalid=bvalid && checkStep3();
24
					if(bvalid)
28
					if(!bvalid)
25
					{
29
					{
26
						bvalid=bvalid && checkStep2();
-
 
27
						if(bvalid)
-
 
28
						{
-
 
29
							bvalid=bvalid && checkStep3();
30
						$tabs.tabs("disable",3);
30
						}
-
 
31
					}
31
					}
32
				break;
32
				break;
33
				case 4:
33
				case 4:
34
					bvalid=bvalid && checkStep1();
-
 
35
					bvalid=bvalid && checkStep2();
-
 
36
					bvalid=bvalid && checkStep3();
-
 
37
					bvalid=bvalid && checkStep4();
34
					bvalid=bvalid && checkStep4();
-
 
35
					if(!bvalid)
-
 
36
					{
-
 
37
						$tabs.tabs("disable",5);
-
 
38
					}
38
				break;
39
				break;
39
			}
40
			}
40
			return bvalid;
41
			return bvalid;
41
		}
42
		}
42
		function checkStep1()
43
		function checkStep1()
Zeile 121... Zeile 122...
121
			}
122
			}
122
			return true;
123
			return true;
123
		}
124
		}
124
		function checkStep4()
125
		function checkStep4()
125
		{
126
		{
126
			var svn=document.order.svn.value;
127
			var svn=$('.svn').fieldValue();
127
			var forum=document.order.forum.value;
128
			var copper=$('.copper').fieldValue();
128
			var copper=document.order.copper.value;
129
			var forum=$('.forum').fieldValue();
129
			if (forum==1 || forum==2 || copper==1)
130
			if (forum==1 || forum==2 || copper==1)
130
			{
131
			{
131
				var admin_name=document.order.admin_name.value;
132
				var admin_name=document.order.admin_name.value;
132
				var admin_pw=document.order.admin_pw.value;
133
				var admin_pw=document.order.admin_pw.value;
133
				var admin_pw_conf=document.order.admin_pw_conf.value;
134
				var admin_pw_conf=document.order.admin_pw_conf.value;
Zeile 190... Zeile 191...
190
		function toggle_webmail()
191
		function toggle_webmail()
191
		{
192
		{
192
			email_type=$(".email_type").fieldValue();
193
			email_type=$(".email_type").fieldValue();
193
			if(email_type==1)
194
			if(email_type==1)
194
			{
195
			{
195
				$("#webmail").css("display","");
196
				$("#webmail").show();
-
 
197
				$("#weiterleitung").hide();
196
			}
198
			}
197
			else
199
			else
198
			{
200
			{
199
				$("#webmail").css("display","none");
201
				$("#webmail").hide();
-
 
202
				$("#weiterleitung").show();
200
			}
203
			}
201
		}
204
		}
202
		function toggle_sw()
205
		function toggle_sw()
203
		{
206
		{
204
			forum=$(".forum").fieldValue();
207
			forum=$(".forum").fieldValue();
Zeile 356... Zeile 359...
356
				</tr>
359
				</tr>
357
				<tr>
360
				<tr>
358
					<td>Typ der gewünschten E-Mail Adressen</td>
361
					<td>Typ der gewünschten E-Mail Adressen</td>
359
					<td>{html_radios values=$val1 output=$out1 name="email_type" checked=$email_type class="email_type"}</td>
362
					<td>{html_radios values=$val1 output=$out1 name="email_type" checked=$email_type class="email_type"}</td>
360
				</tr>
363
				</tr>
-
 
364
				<tr id="webmail">
-
 
365
					<td>Webmail Interface</td>
-
 
366
					<td>{html_radios values=$webm_val output=$webm_out name="webmail" checked=$webmail}</td>
361
				<tr>
367
				</tr>
-
 
368
				<tr id="weiterleitung">
362
					<td>Ziel Adressen (bei Weiterleitung;1 pro Zeile)</td>
369
					<td>Ziel Adressen (bei Weiterleitung;1 pro Zeile)</td>
363
					<td><textarea cols="100" rows="10" name="targets">{$targets}</textarea></td>
370
					<td><textarea cols="60" rows="10" name="targets">{$targets}</textarea></td>
364
				</tr>
371
				</tr>
365
				<tr>
372
				<tr>
366
					<td class="catBottom" colspan="2"><input type="button" value="Schritt 3" id="b3"></td>
373
					<td class="catBottom" colspan="2"><input type="button" value="Schritt 3" id="b3"></td>
367
				</tr>
374
				</tr>
368
			</table>
375
			</table>
Zeile 392... Zeile 399...
392
				</tr>
399
				</tr>
393
				<tr>
400
				<tr>
394
					<td>Betriebssystem</td>
401
					<td>Betriebssystem</td>
395
					<td>{html_radios values=$os_val output=$os_out name="os" checked=$os}</td>
402
					<td>{html_radios values=$os_val output=$os_out name="os" checked=$os}</td>
396
				</tr>
403
				</tr>
397
				<tr id="webmail">
-
 
398
					<td>Webmail Interface</td>
-
 
399
					<td>{html_radios values=$webm_val output=$webm_out name="webmail" checked=$webmail}</td>
-
 
400
				</tr>
-
 
401
				<tr>
404
				<tr>
402
					<td>Forum?</td>
405
					<td>Forum?</td>
403
					<td>{html_radios values=$f_val output=$f_out name="forum" checked=$forum class="forum"}</td>
406
					<td>{html_radios values=$f_val output=$f_out name="forum" checked=$forum class="forum"}</td>
404
				</tr>
407
				</tr>
405
				<tr>
408
				<tr>