mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01:00
switched to a new distributed pref and admin which allow add-on apps to have their settings put into the main screens
This commit is contained in:
parent
4d69ecc229
commit
91d9c48020
@ -240,26 +240,6 @@
|
||||
|
||||
if ($phpgw_info["user"]["apps"]["headlines"]) {
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo lang("select headline news sites"); ?>:</td>
|
||||
<?php
|
||||
echo "<td><select name=\"headlines[]\" multiple size=5>\n";
|
||||
|
||||
$phpgw->db->query("select * from users_headlines where owner='"
|
||||
. $phpgw_info["user"]["userid"] . "'");
|
||||
while ($phpgw->db->next_record())
|
||||
$users_headlines[$phpgw->db->f("site")] = " selected";
|
||||
|
||||
|
||||
$phpgw->db->query("SELECT con,display FROM news_site ORDER BY display asc");
|
||||
while ($phpgw->db->next_record()) {
|
||||
echo "<option value=\"" . $phpgw->db->f("con") . "\""
|
||||
. $users_headlines[$phpgw->db->f("con")] . ">"
|
||||
. $phpgw->db->f("display") . "</option>";
|
||||
}
|
||||
echo "</select></td>\n";
|
||||
?>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user