Subversion Repositories personal-webbase

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 daniel-mar 1
<?php
2
 
3
if (!defined('WBLEGAL')) die('Kann nicht ohne Personal WebBase ausgef&uuml;hrt werden.');
4
 
5
echo $header;
6
 
7
if (!isset($vonmodul)) $vonmodul = $modul;
8
if (!isset($vonseite)) $vonseite = 'main';
9
 
10
echo '<h1>'.htmlentities($module_information->caption).'</h1>';
11
echo 'Hier k&ouml;nnen Sie das Personal WebBase-Desing bestimmen. Es sind folgende Designs installiert:<br><br>';
12
 
13
echo '<form action="'.$_SERVER['PHP_SELF'].'" method="POST" name="mainform" id="mainform">
14
<input type="hidden" name="seite" value="operate">
15
<input type="hidden" name="aktion" value="change_configuration">
16
<input type="hidden" name="modul" value="'.$modul.'">
17
<input type="hidden" name="vonseite" value="'.$vonseite.'">
18
<input type="hidden" name="vonmodul" value="'.$vonmodul.'">';
19
 
20
$i = 0;
21
$v = 'designs/';
22
$verz=opendir($v);
23
 
24
while ($file = readdir($verz))
25
{
26
        if (($file != '.') && ($file != '..') && (is_dir($v.$file)))
27
        {
28
                $i++;
29
                if ($configuration[$modul]['design'] == $file)
30
                        $zus = ' checked';
31
                else
32
                        $zus = '';
33
 
34
                $design_information = WBDesignHandler::get_design_information($file);
35
 
36
                echo '<input type="radio" name="newdesign" value="'.$file.'"'.$zus.'> '.$design_information->name.' ('.$file.')<br>';
37
        }
38
}
39
 
40
closedir($verz);
41
 
42
echo '<br>';
43
 
44
echo '<input type="button" onclick="document.location.href=\''.$_SERVER['PHP_SELF'].'?modul='.$vonmodul.'&amp;seite='.$vonseite.'\';" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';" value="Zur&uuml;ck">';
45
echo '&nbsp;&nbsp;&nbsp;';
46
echo '<input type="submit" value="&Auml;ndern" class="button" onmouseover="this.className=\'button_act\';" onmouseout="this.className=\'button\';">
47
 
48
</form>';
49
 
50
echo $footer;
51
 
52
?>