[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: phpgwapi/inc class.preferences.inc.php,1.51,1.52
From: |
Ralf Becker <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: phpgwapi/inc class.preferences.inc.php,1.51,1.52 |
Date: |
Sun, 04 May 2003 06:30:28 -0400 |
Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv9391
Modified Files:
class.preferences.inc.php
Log Message:
changed pref-name maildomain to domain
Index: class.preferences.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.preferences.inc.php,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -r1.51 -r1.52
*** class.preferences.inc.php 3 May 2003 10:58:46 -0000 1.51
--- class.preferences.inc.php 4 May 2003 10:30:26 -0000 1.52
***************
*** 145,164 ****
'firstname' => $fname,
'lastname' => $lname,
! 'maildomain'=>
$GLOBALS['phpgw_info']['server']['mail_suffix'],
'email' =>
$this->email_address($this->account_id),
'date' =>
$GLOBALS['phpgw']->common->show_date('',$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']),
);
$this->vars = array( // langs have to be in common
!!!
'username' => lang('name of the user, eg.
"%1"',$this->values['username']),
'firstname' => lang('first name of the user,
eg. "%1"',$this->values['firstname']),
'lastname' => lang('last name of the user, eg.
"%1"',$this->values['lastname']),
! 'maildomain'=> lang('mail domain, eg.
"%1"',$this->values['maildomain']),
'email' => lang('email-address of the user,
eg. "%1"',$this->values['email']),
'date' => lang('todays date, eg.
"%1"',$this->values['date']),
);
- // do this first, as it might be already contain some
substitues
- //
- $this->values['email'] =
$this->parse_notify($this->values['email']);
-
// do the substituetion in the effective prefs (data)
//
--- 145,164 ----
'firstname' => $fname,
'lastname' => $lname,
! 'domain' =>
$GLOBALS['phpgw_info']['server']['mail_suffix'],
'email' =>
$this->email_address($this->account_id),
'date' =>
$GLOBALS['phpgw']->common->show_date('',$GLOBALS['phpgw_info']['user']['preferences']['common']['dateformat']),
);
+ // do this first, as it might be already contain some
substitues
+ //
+ $this->values['email'] =
$this->parse_notify($this->values['email']);
+
$this->vars = array( // langs have to be in common
!!!
'username' => lang('name of the user, eg.
"%1"',$this->values['username']),
'firstname' => lang('first name of the user,
eg. "%1"',$this->values['firstname']),
'lastname' => lang('last name of the user, eg.
"%1"',$this->values['lastname']),
! 'domain' => lang('domain name for
mail-address, eg. "%1"',$this->values['domain']),
'email' => lang('email-address of the user,
eg. "%1"',$this->values['email']),
'date' => lang('todays date, eg.
"%1"',$this->values['date']),
);
// do the substituetion in the effective prefs (data)
//
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: phpgwapi/inc class.preferences.inc.php,1.51,1.52,
Ralf Becker <address@hidden> <=
- Prev by Date:
[Phpgroupware-cvs] CVS: etemplate/doc referenz.html,1.11,1.12
- Next by Date:
[Phpgroupware-cvs] CVS: phpgwapi/setup phpgw_de.lang,1.35,1.36 phpgw_en.lang,1.57,1.58
- Previous by thread:
[Phpgroupware-cvs] CVS: etemplate/doc referenz.html,1.11,1.12
- Next by thread:
[Phpgroupware-cvs] CVS: phpgwapi/setup phpgw_de.lang,1.35,1.36 phpgw_en.lang,1.57,1.58
- Index(es):