Subversion-Projekte lars-tiefland.content-management

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
1 lars 1
<html>
2
    <head>
3
        <title>Content-Management-System - Webagentur Niewerth</title>
4
        <link rel="stylesheet" type="text/css" href="buttons.css">
5
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6
        <meta name="author" content="Webagentur Niewerth - www.weban.de">
7
        <meta name="revisit-after" content="30 days">
8
        <meta name="language" content="deutsch, de">
9
        <meta name="distribution" content="global">
10
        <meta name="robots" content="all">
11
        <script type="text/javascript" language="javascript">
12
            function checkAll(father)
13
            {
14
                for(i=0; i<document.formname.elements.length;i++)
15
                {
16
                    if(document.formname.elements[i].id==father)
17
                    {
18
                        f_checked=document.formname.elements[i].checked;
19
                    }
20
                    id_arr=document.formname.elements[i].id.split("_");
21
                    if(id_arr[0]==father)
22
                    {
23
                        document.formname.elements[i].checked=f_checked;
24
                    }
25
                }
26
            }
27
        </script>
28
        <style type="text/css">
29
            .error
30
            {
31
                font-size:50px;
32
                color: red;
33
                text-align : center;
34
            }
35
        </style>
36
    </head>
37
    <body bgcolor="#{$webs.bgcolor_seite}" text="#000096">
38
        {if $error}
39
            <div class="error">
40
                {$meld}
41
            </div>
42
        {else}
43
        {if $user.ID}
44
        <form method="post" action="" name="formname" enctype="multipart/form-data">
45
            <table width="585" border="1" cellspacing="0" cellpadding="3" bordercolorlight="#FFFFFF" bordercolordark="#999999">
46
                <tr bgcolor="#{$webs.bgcolor_links}">
47
                    <td colspan="2">
48
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
49
                            <tr>
50
                                <td>
51
                                    <font color="#{$webs.font_color_links}">
52
                                        <b>Benutzer-Rechte: Bearbeiten</b>
53
                                    </font>
54
                                </td>
55
                                <td width="50%" align="right">
56
                                    {if $user.site==$webs.domain}
57
                                    <a href="admin_user.php?action=edit&ID={$user.ID}">
58
                                        <font color="#{$webs.font_color_links}">
59
                                            <b>zur&uuml;ck zu Benutzerdaten</b>
60
                                        </font>
61
                                    </a>
62
                                    {else}
63
                                    <a href="admin_user.php">
64
                                        <font color="#{$webs.font_color_links}">
65
                                            <b>zur&uuml;ck zur Benutzerliste</b>
66
                                        </font>
67
                                    </a>
68
                                </td>
69
                            </tr>
70
                            <tr>
71
                                <td colspan="2">
72
                                    <div style="color:#FF0000;font-weight:bold">Sie haben nicht das Recht diesen Benutzer zu editieren!</div>
73
                                    {/if}
74
                                </td>
75
                            </tr>
76
                        </table>
77
                    </td>
78
                </tr>
79
                {if $user.site==$webs.domain}
80
                <tr>
81
                    <td bgcolor="#{$webs.bgcolor_links}" width="13%">
82
                        <font color="#{$webs.font_color_links}">
83
                            <b>Login:</b>
84
                        </font>
85
                    </td>
86
                    <td bgcolor="#{$webs.bgcolor_rechts}">
87
                        <font color="#{$webs.font_color_rechts}"> {$user.user}</font>
88
                    </td>
89
                </tr>
90
                <tr>
91
                    <td bgcolor="#{$webs.bgcolor_links}" width="13%" valign="top">
92
                        <font color="#{$webs.font_color_links}">
93
                            <b>Rechte:</b>
94
                        </font>
95
                    </td>
96
                    <td bgcolor="#{$webs.bgcolor_rechts}">
97
                        <table border="0" cellspacing="0" cellpadding="0">
98
                        {section loop=$modules name=m_ind}
99
                            <tr>
100
                                <td>
101
                                    <input type="checkbox">
102
                                </td>
103
                                <td colspan="3">
104
                                    <font color="#{$webs.font_color_rechts}">
105
                                        {$modules[m_ind].name}
106
                                    </font>
107
                                </td>
108
                            </tr>
109
                            {section loop=$modules[m_ind].tools name=t_ind}
110
                            <tr>
111
                                <td>&nbsp;</td>
112
                                <td>
113
                                    <input type="checkbox" onclick="javascript:checkAll({$modules[m_ind].tools[t_ind].ID})" id="{$modules[m_ind].tools[t_ind].ID}">
114
                                </td>
115
                                <td colspan="2">
116
                                    <font color="#{$webs.font_color_rechts}">
117
                                        {$modules[m_ind].tools[t_ind].name}
118
                                    </font>
119
                                </td>
120
                            </tr>
121
                                {section loop=$modules[m_ind].tools[t_ind].properties name=p_ind}
122
                                {assign var=p_id value=$modules[m_ind].tools[t_ind].properties[p_ind].ID}
123
                            <tr>
124
                                <td colspan="2">&nbsp;</td>
125
                                <td>
126
                                    <input type="hidden" name="modules[{$modules[m_ind].ID}][{$modules[m_ind].tools[t_ind].ID}][{$modules[m_ind].tools[t_ind].properties[p_ind].ID}]" value="0">
127
                                    <input type="checkbox" name="modules[{$modules[m_ind].ID}][{$modules[m_ind].tools[t_ind].ID}][{$modules[m_ind].tools[t_ind].properties[p_ind].ID}]" value="1"{if ( isset($user.properties[$p_id]))} checked="checked"{/if} id="{$modules[m_ind].tools[t_ind].ID}_{$modules[m_ind].tools[t_ind].properties[p_ind].ID}">
128
                                </td>
129
                                <td>
130
                                    <font color="#{$webs.font_color_rechts}">
131
                                    {$modules[m_ind].tools[t_ind].properties[p_ind].name}
132
                                    </font>
133
                                </td>
134
                            </tr>
135
                                {/section}
136
                            {/section}
137
                        {/section}
138
                        </table>
139
                    </td>
140
                </tr>
141
                {/if}
142
                <tr>
143
                    <td align="right" colspan="2" bgcolor="#{$webs.bgcolor_links}">
144
                        <input type="hidden" name="ID" value="{$user.ID}">
145
                        <input type="hidden" name="action" value="update">
146
                        <input type="submit" value="OK">
147
                        <input type="reset" value="Zur&uuml;cksetzen">
148
                    </td>
149
                </tr>
150
            </table>
151
        </form>
152
        {/if}
153
        {/if}
154
    </body>
155
</html>