mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-29 03:13:40 +01:00
Added in common->display_fullname()
This commit is contained in:
parent
622f01935d
commit
679d9841f3
@ -277,12 +277,9 @@ function validate_and_submit() {
|
|||||||
if ($participants[$phpgw->db->f("account_lid")])
|
if ($participants[$phpgw->db->f("account_lid")])
|
||||||
echo " selected";
|
echo " selected";
|
||||||
|
|
||||||
// Change this to use accounts->display_full_name()
|
echo ">" . $phpgw->common->display_fullname($phpgw->db->f("account_lid"),
|
||||||
if (! $phpgw->db->f("account_lastname"))
|
$phpgw->db->f("account_firstname"),
|
||||||
echo ">" . $phpgw->db->f("account_loginid");
|
$phpgw->db->f("account_lastname"));
|
||||||
else
|
|
||||||
echo ">" . $phpgw->db->f("account_lastname") . ", " . $phpgw->db->f("account_firstname");
|
|
||||||
|
|
||||||
echo "</option>\n";
|
echo "</option>\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -166,7 +166,6 @@ if (! $error) {
|
|||||||
$phpgw->db->next_record();
|
$phpgw->db->next_record();
|
||||||
$id = $phpgw->db->f(0);
|
$id = $phpgw->db->f(0);
|
||||||
|
|
||||||
|
|
||||||
while ($participant = each($participants)) {
|
while ($participant = each($participants)) {
|
||||||
$phpgw->db->query("INSERT INTO webcal_entry_user (cal_id,cal_login,cal_status ) "
|
$phpgw->db->query("INSERT INTO webcal_entry_user (cal_id,cal_login,cal_status ) "
|
||||||
. "VALUES ($id, '" . $participant[1] . "', 'A')");
|
. "VALUES ($id, '" . $participant[1] . "', 'A')");
|
||||||
@ -215,7 +214,6 @@ $phpgw->common->phpgw_header();
|
|||||||
<?php
|
<?php
|
||||||
$time = sprintf("%d:%02d",$hour,$minute);
|
$time = sprintf("%d:%02d",$hour,$minute);
|
||||||
echo lang("Your suggested time of <B> x - x </B> conflicts with the following existing calendar entries:", display_time($time),display_time(add_duration($time,$duration))); ?>
|
echo lang("Your suggested time of <B> x - x </B> conflicts with the following existing calendar entries:", display_time($time),display_time(add_duration($time,$duration))); ?>
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<UL>
|
<UL>
|
||||||
|
Loading…
Reference in New Issue
Block a user