added templates selection

This commit is contained in:
seek3r 2001-01-10 01:16:01 +00:00
parent 1e56bad9cf
commit e7896e9bc5
2 changed files with 5 additions and 3 deletions

View File

@ -34,6 +34,8 @@
</td>
</tr>
<?php if ($phpgw_info["server"]["template_set"] == "user_choice"){ ?>
<tr>
<?php $selected[$phpgw_info["user"]["preferences"]["common"]["template_set"]] = " selected"; ?>
<td>Interface/Template Selection:<br></td>
@ -48,7 +50,7 @@
</select>
</td>
</tr>
<?php } ?>
<tr>
<td><?php echo lang("Show navigation bar as"); ?>: </td>
<td>

View File

@ -279,8 +279,8 @@
function get_template_list(){
global $phpgw_info;
$d = dir($phpgw_info["server"]["server_root"]."/phpgwapi/templates");
//$list["user_choice"]["name"] = "user_choice";
//$list["user_choice"]["title"] = "Users Choice";
$list["user_choice"]["name"] = "user_choice";
$list["user_choice"]["title"] = "Users Choice";
while($entry=$d->read()) {
if ($entry != "CVS" && $entry != "." && $entry != ".."){
$list[$entry]["name"] = $entry;