Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<html>
3
    <head>
4
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
        <title>{$webs.kunde_bezeichnung}: Redaktionssystem</title>
6
        <script language="javascript" type="text/javascript">
7
        	function check_form()
8
        	{
9
        		var mode=document.desc_form.mode.value;
10
        		var desc=document.desc_form.beschreibung.value;
11
        		var word=document.desc_form.begriff.value;
12
        		if(mode=="update")
13
        		{
14
        			if(desc=="")
15
        			{
16
        				alert("Bitte eine Beschreibung eingeben!");
17
        				return false;
18
        			}
19
        		}
20
        		else
21
        		{
22
        			if(mode=="save")
23
        			{
24
           				if(desc=="")
25
    		      		{
26
    		      			alert("Bitte eine Beschreibung eingeben!");
27
        					return false;
28
				        }
29
        				if(word=="")
30
		          		{
31
				        	alert("Bitte einen Begriff eingeben!");
32
                            return false;
33
				        }
34
			         }
35
		          }
36
	           }
37
 
38
	           function ask()
39
	           {
40
	               var conf=confirm("Datensatz wirklich löschen? ACHTUNG: Es werden ALLE Begriffe gelöscht, die mit dieser Beschreibung verknüpft sind!");
41
                   return conf;
42
                }
43
            </script>
44
            <style type="text/css">
45
                .submit
46
                {
47
                    cursor:pointer;
48
                }
49
                body
50
                {
51
                    font-family: Arial, Helvetica, sans-serif;
52
                    font-size: 10pt;
53
                    {if $webs.font_color_seite}
54
                        color:				#{$webs.font_color_seite};
55
                    {/if}
56
                    {if $webs.bgcolor_seite}
57
                        background-color:	#{$webs.bgcolor_seite};
58
                    {/if}
59
                    {if $webs.hintergrundbild}
60
                        background-image: url(../images/hintergrundbild/{$webs.hintergrundbild};
61
                    {/if}
62
                }
63
                th, .links
64
                {
65
                    font-size: 10pt;
66
                    {if $webs.font_color_links}
67
                        color:				#{$webs.font_color_links};
68
                    {/if}
69
                    {if $webs.bgcolor_links}
70
                        background-color:	#{$webs.bgcolor_links};
71
                    {/if}
72
                }
73
                .td1, .rechts
74
                {
75
                    font-size: 10pt;
76
                    {if $webs.font_color_rechts}
77
                        color:				#{$webs.font_color_rechts};
78
                    {/if}
79
                    {if $webs.bgcolor_rechts}
80
                        background-color:	#{$webs.bgcolor_rechts};
81
                    {/if}
82
                }
83
                .td0
84
                {
85
                    font-size: 10pt;
86
                    {if $webs.font_color_rechts}
87
                        background-color:				#{$webs.font_color_rechts};
88
                    {/if}
89
                    {if $webs.bgcolor_rechts}
90
                        color:	#{$webs.bgcolor_rechts};
91
                    {/if}
92
                }
93
                A:link
94
                {
95
                    font-family: Arial, Helvetica, sans-serif;
96
                    font-size: 10pt;
97
                    color: #{$webs.font_color_rechts};
98
                }
99
                A:visited
100
                {
101
                    font-family: Arial, Helvetica, sans-serif;
102
                    font-size: 10pt;
103
                    color: #{$webs.font_color_rechts};
104
                }
105
                A:active
106
                {
107
                    font-family: Arial, Helvetica, sans-serif;
108
                    font-size: 10pt;
109
                    color: #{$webs.font_color_rechts};
110
                }
111
                A:hover
112
                {
113
                    font-family: Arial, Helvetica, sans-serif;
114
                    font-size: 10pt;
115
                    color: #{$webs.font_color_rechts};
116
                }
117
                table.input
118
                {
119
                    border-width: 2px 1px 1px 2px;
120
                    border-top-color    : #CCCCCC;
121
                    border-left-color   : #CCCCCC;
122
                    border-bottom-color : #AAAAAA;
123
                    border-right-color  : #AAAAAA;
124
                    border-style		:inset;
125
                    background-color	: #FFFFFF;
126
                }
127
                form
128
                {
129
                    display:inline;
130
                }
131
            </style>
132
    </head>
133
    <body>
134
        <form name="desc_form" method="post" action="" onSubmit="return check_form();">
135
        	<table>
136
        		<tr>
137
        			<th colspan="2">{$head}</th>
138
        		</tr>
139
        		<tr>
140
        			<td colspan="2" class="rechts" align="center">
141
        				<input type="button" value="zur&uuml;ck zum Index" onClick="location.href='acronyms.php'" class="submit">
142
        			</td>
143
        		</tr>
144
        		<tr>
145
        			<td class="links">Beschreibung:</td>
146
        			<td class="rechts">
147
        				<textarea name="beschreibung" cols="45" rows="5">{$a_desc|stripslashes}</textarea>
148
        				<a href="#" onClick="if (ask()) { location.href='acronyms.php?mode=del_desc&ID=<?=$id;?>'};">X</a>
149
        			</td>
150
        		</tr>
151
        		<tr>
152
        			<td class="links">Zugeordnete Begriffe<br>zu dieser Beschreibung:</td>
153
        			<td class="rechts">{$words}</td>
154
        		</tr>
155
        		<tr>
156
        			<td class="links">Neuer Begriff:</td>
157
        			<td class="rechts">
158
        				<input type="text" name="begriff">
159
        				<input type="hidden" name="mode" value="{$new_mode}">
160
        				<input type="hidden" name="ID" value="{$id}">
161
        				 <input type="submit" value="Anlegen" class="submit">
162
        			</td>
163
        		</tr>
164
        		<tr>
165
        			<td class="links">erstellt:</td>
166
        			<td class="rechts">
167
                      {$erstellt_am|date_format:"d.m.Y"} &nbsp;&nbsp;um:
168
                      {$erstellt_am|date_format:"H:i"} &nbsp;&nbsp;von:
169
                      {$erstellt_von}
170
        			</td>
171
        		</tr>
172
        		<tr>
173
        			<td class="links">letzte &Auml;nderung:</td>
174
        			<td class="rechts">
175
                      {$letzte_Aenderung_am|date_format:"d.m.Y"} &nbsp;&nbsp;um:
176
                      {$letzte_Aenderung_am|date_format:"H:i"} &nbsp;&nbsp;von:
177
                      {$letzte_Aenderung_von}
178
        			</td>
179
        		</tr>
180
        		<tr>
181
        			<td colspan="2" class="rechts" align="center">
182
        				<input type="button" value="zur&uuml;ck zum Index" onClick="location.href='acronyms.php'" class="submit">
183
        			</td>
184
        		</tr>
185
        	</table>
186
        </form>
187
    </body>
188
</html>