mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:44 +01:00
php3 fixes
This commit is contained in:
parent
55652f386a
commit
ea3e4e4d30
@ -36,7 +36,7 @@
|
|||||||
{
|
{
|
||||||
global $phpgw;
|
global $phpgw;
|
||||||
|
|
||||||
$this->contacts = &$phpgw->contacts;
|
$this->contacts = $phpgw->contacts;
|
||||||
$this->so = CreateObject('addressbook.soaddressbook');
|
$this->so = CreateObject('addressbook.soaddressbook');
|
||||||
if($session)
|
if($session)
|
||||||
{
|
{
|
||||||
|
@ -900,7 +900,7 @@
|
|||||||
$ot = 'one_'.$type;
|
$ot = 'one_'.$type;
|
||||||
eval("
|
eval("
|
||||||
if (\$$ot=='on') {
|
if (\$$ot=='on') {
|
||||||
\$badrtype \.= ' value=\"on\" checked';
|
\$badrtype .= ' value=\"on\" checked';
|
||||||
}
|
}
|
||||||
");
|
");
|
||||||
$badrtype .= '>'.$val;
|
$badrtype .= '>'.$val;
|
||||||
@ -913,7 +913,7 @@
|
|||||||
$tt = 'two_'.$type;
|
$tt = 'two_'.$type;
|
||||||
eval("
|
eval("
|
||||||
if (\$$tt=='on') {
|
if (\$$tt=='on') {
|
||||||
\$hadrtype \.= ' value=\"on\" checked';
|
\$hadrtype .= ' value=\"on\" checked';
|
||||||
}
|
}
|
||||||
");
|
");
|
||||||
$hadrtype .= '>'.$val;
|
$hadrtype .= '>'.$val;
|
||||||
|
@ -35,8 +35,9 @@
|
|||||||
function uivcard()
|
function uivcard()
|
||||||
{
|
{
|
||||||
global $phpgw;
|
global $phpgw;
|
||||||
$this->template = &$phpgw->template;
|
|
||||||
$this->contacts = &$phpgw->contacts;
|
$this->template = $phpgw->template;
|
||||||
|
$this->contacts = CreateObject('phpgwapi.contacts');
|
||||||
$this->browser = CreateObject('phpgwapi.browser');
|
$this->browser = CreateObject('phpgwapi.browser');
|
||||||
$this->vcard = CreateObject('phpgwapi.vcard');
|
$this->vcard = CreateObject('phpgwapi.vcard');
|
||||||
$this->bo = CreateObject('addressbook.boaddressbook',True);
|
$this->bo = CreateObject('addressbook.boaddressbook',True);
|
||||||
|
Loading…
Reference in New Issue
Block a user