Changeset 3968 for branches/2.2.0.1
- Timestamp:
- 04/11/11 11:14:53 (13 years ago)
- Location:
- branches/2.2.0.1/calendar
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/calendar/inc/class.bocalendar.inc.php
r3966 r3968 3962 3962 ); 3963 3963 3964 $var['alter_by'] = Array( 3965 'field' => $this->translate('Alter by'), 3966 'data' => $event['alter_by'] 3967 ); 3968 3964 3969 $var['access'] = Array( 3965 3970 'field' => lang('Access'), -
branches/2.2.0.1/calendar/inc/class.bocustom_fields.inc.php
r3966 r3968 32 32 'alarm' => 'Alarm', 33 33 'recure_type' => 'Repetition', 34 'alter_by' => 'Alter by', 34 35 'attachment' => 'attachment' 35 36 ); -
branches/2.2.0.1/calendar/inc/class.socalendar__.inc.php
r3966 r3968 102 102 } 103 103 104 function set_alter_by($alter_by='') 105 { 106 $this->add_attribute('alter_by',$alter_by); 107 } 108 104 109 function set_attachment($attachment='') 105 110 { -
branches/2.2.0.1/calendar/inc/class.socalendar_sql.inc.php
r3966 r3968 569 569 $this->set_title(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('title')))); 570 570 $this->set_description(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('description')))); 571 $this->set_alter_by(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('alter_by')))); 571 572 $this->set_attachment(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('attachment')))); 572 573 $this->set_ex_participants(stripslashes($GLOBALS['phpgw']->strip_html($this->stream->f('ex_participants')))); … … 978 979 . "description='".$this->stream->db_addslashes($event['description'])."', " 979 980 . "attachment='".$this->stream->db_addslashes(serialize($event['attachment']))."', " 981 . "alter_by='".$this->stream->db_addslashes($GLOBALS['phpgw_info']['user']['fullname'])."', " 980 982 . "ex_participants='".$this->stream->db_addslashes($event['ex_participants'])."', " 981 983 . "location='".$this->stream->db_addslashes($event['location'])."', " -
branches/2.2.0.1/calendar/setup/setup.inc.php
r3772 r3968 13 13 $setup_info['calendar']['name'] = 'calendar'; 14 14 $setup_info['calendar']['title'] = 'Calendar'; 15 $setup_info['calendar']['version'] = '2.2.00 0';15 $setup_info['calendar']['version'] = '2.2.003'; 16 16 $setup_info['calendar']['app_order'] = 3; 17 17 $setup_info['calendar']['enable'] = 1; -
branches/2.2.0.1/calendar/setup/tables_update.inc.php
r3966 r3968 85 85 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN attachment text"); 86 86 } 87 88 $test[] = '2.2.002'; 89 function calendar_upgrade2_2_002() 90 { 91 $GLOBALS['phpgw_setup']->db->query("ALTER TABLE phpgw_cal ADD COLUMN alter_by varchar(160)"); 92 $GLOBALS['setup_info']['calendar']['currentver'] = '2.2.003'; 93 return $GLOBALS['setup_info']['calendar']['currentver']; 94 } 87 95 ?>
Note: See TracChangeset
for help on using the changeset viewer.