mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
added templates selection
This commit is contained in:
parent
1e56bad9cf
commit
e7896e9bc5
@ -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>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user