Subversion-Projekte lars-tiefland.webhosting

Revision

Revision 6 | Revision 18 | Zur aktuellen Revision | Details | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
{literal}
2
	<script language="JavaScript" type="text/javascript">
3
		function check_step()
4
		{
5
			var svn=document.order.svn.value;
6
			var phpbb=document.order.phpbb.value;
7
			var copper=document.order.copper.value;
8
			if (phpbb==1 || copper==1)
9
			{
10
				var admin_name=document.order.admin_name.value;
11
				var admin_pw=document.order.admin_pw.value;
12
				var admin_pw_conf=document.order.admin_pw_conf.value;
13
				if (admin_name=="")
14
				{
15
					window.alert("Bitte einen Admin Namen festlegen!");
16
					document.order.admin_name.focus();
17
					return false;
18
				}
19
				if (admin_name.length<5)
20
				{
21
					window.alert("Der Admin Name muß mindestens 5 Zeichen lang sein!");
22
					document.order.admin_name.focus();
23
					return false;
24
				}
25
				if (admin_pw=="")
26
				{
27
					window.alert("Bitte ein Admin Passwort festlegen!");
28
					document.order.admin_pw.focus();
29
					return false;
30
				}
31
				if (admin_pw.length<5)
32
				{
33
					window.alert("Das Admin Passwort muß mindestens 5 Zeichen lang sein!");
34
					document.order.admin_pw.focus();
35
					return false;
36
				}
37
				if (admin_pw!=admin_pw_conf)
38
				{
39
					window.alert("Die Admin Passwörter stimmen nicht überein!");
40
					document.order.admin_pw.focus();
41
					return false;
42
				}
43
			}
44
			if (svn==1)
45
			{
46
				var repo_name=document.order.repo.value;
47
				var svn_user=document.order.svn_user.value;
48
				if (repo_name=="")
49
				{
50
					window.alert("Bitte einen Repository Namen festlegen!");
51
					document.order.repo.focus();
52
					return false;
53
				}
54
				if (repo_name.length<3)
55
				{
56
					window.alert("Der Name für das Repository muß mindestens 3 Zeichen lang sein!");
57
					document.order.repo.focus();
58
					return false;
59
				}
60
				if (svn_user=="")
61
				{
62
					window.alert("Ohne User-/Passwortkombination könntest Du nicht in das Repository schreiben!");
63
					document.order.svn_user.focus();
64
					return false;
65
				}
66
			}
67
		}
68
	</script>
69
{/literal}
6 lars 70
<div class="error_upd">	{$meld}</div>
1 lars 71
<form name="order" action="{$SCRIPTNAME}" method="post" onsubmit="return check_step();">
72
	<table class="bodyline">
73
		<tr>
74
			<th>Eigenschaft</th>
75
			<th>Wert</th>
76
			<th>Bemerkungen</th>
77
		</tr>
78
		{if $phpbb || $copper || $svn}
79
		{if $phpbb || $copper}
80
		<tr>
81
			<td>phpBB/Coppermin Admin Name</td>
6 lars 82
			<td><input type="text" name="admin_name" value="{$admin_name}" maxlength=32 size=36></td>
1 lars 83
			<td>min. 5; max. 20 Zeichen</td>
84
		</tr>
85
		<tr>
86
			<td>Admin Passwort</td>
10 lars 87
			<td><input type="password" name="admin_pw" value="{$admin_pw}" maxlength=32 size=36></td>
1 lars 88
			<td>min. 5; max. 32 Zeichen</td>
89
		</tr>
90
		<tr>
91
			<td>Admin Passwort bestätigen</td>
92
			<td><input type="password" name="admin_pw_conf" value="" maxlength=32 size=36></td>
93
			<td>min. 5; max. 32 Zeichen</td>
94
		</tr>
95
		{/if}
96
		{if $svn}
97
		<tr>
98
			<td>Suversion Repository Name</td>
6 lars 99
			<td><input type="text" name="repo" value="{$repo}" maxlength=11 size=11></td>
1 lars 100
			<td>min. 3; max. 11 Zeichen</td>
101
		</tr>
102
		<tr>
103
			<td>Subversion Benutzer-/Passwort Kombitnationen (1 pro Zeile)</td>
6 lars 104
			<td><textarea name="svn_user" rows=10 cols=50>{$svn_user}</textarea></td>
1 lars 105
			<td></td>
106
		</tr>
107
		{/if}
108
		{else}
109
			<tr>
110
				<td colspan=3><div class="error">Du hast keine Software ausgewählt. Daher gibt es nichts zu konfigurieren.</div></td>
111
			</tr>
112
		{/if}
113
		<tr>
114
			<td class="catBottom" colspan="3"><input type="submit" value="Schritt 6"></td>
115
		</tr>
116
	</table>
117
	<input type="hidden" name="mode" value="step6">
118
	<input type="hidden" name="name" value="{$name}">
119
	<input type="hidden" name="firstname" value="{$vname}">
120
	<input type="hidden" name="email" value="{$email}">
121
	<input type="hidden" name="domain" value="{$domain}">
122
	<input type="hidden" name="emails" value="{$emails}">
123
	<input type="hidden" name="targets" value="{$targets}">
124
	<input type="hidden" name="db_anz" value="{$db_anz}">
125
	<input type="hidden" name="space" value="{$space}">
126
	<input type="hidden" name="email_type" value="{$email_type}">
127
	<input type="hidden" name="traffic" value="{$traffic}">
128
	<input type="hidden" name="svn" value="{$svn}">
129
	<input type="hidden" name="phpbb" value="{$phpbb}">
130
	<input type="hidden" name="copper" value="{$copper}">
131
</form>