Completed
Push — 14.2 ( 1730cb...8c75f3 )
by Ralf
73:29 queued 51:28
created
resources/inc/class.resources_wizard_import_csv.inc.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 			'long_description'      => lang('Long description'),
45 45
 			'inventory_number'      => lang('inventory number'),
46 46
 			'accessory_of'	=> lang('Accessory of')
47
-                );
47
+				);
48 48
 
49 49
 		$custom = Api\Storage\Customfields::get('resources', true);
50 50
 		foreach($custom as $name => $data) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
                 );
48 48
 
49 49
 		$custom = Api\Storage\Customfields::get('resources', true);
50
-		foreach($custom as $name => $data) {
50
+		foreach ($custom as $name => $data) {
51 51
 			$this->mapping_fields['#'.$name] = $data['label'];
52 52
 		}
53 53
 
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,8 @@
 block discarded – undo
47 47
                 );
48 48
 
49 49
 		$custom = Api\Storage\Customfields::get('resources', true);
50
-		foreach($custom as $name => $data) {
50
+		foreach($custom as $name => $data)
51
+		{
51 52
 			$this->mapping_fields['#'.$name] = $data['label'];
52 53
 		}
53 54
 
Please login to merge, or discard this patch.
resources/inc/class.resources_reserve.inc.php 3 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
 			} else {
59 59
 				$data['msg']= '<div class="confirm">'.lang('Unable to process confirmation.').'</div>';
60 60
 			}
61
-                }
61
+				}
62 62
 
63 63
 		$this->tmpl->read('resources.sitemgr_book');
64 64
 
Please login to merge, or discard this patch.
Braces   +38 added lines, -16 removed lines patch added patch discarded remove patch
@@ -14,9 +14,11 @@  discard block
 block discarded – undo
14 14
 use EGroupware\Api\Link;
15 15
 use EGroupware\Api\Framework;
16 16
 
17
-class resources_reserve {
17
+class resources_reserve
18
+{
18 19
 
19
-	public function __construct() {
20
+	public function __construct()
21
+	{
20 22
 		$this->tmpl = new etemplate();
21 23
 		$this->bo = new resources_bo();
22 24
 	}
@@ -32,9 +34,11 @@  discard block
 block discarded – undo
32 34
 		$display_days = $_GET['planner_days'] ? $_GET['planner_days'] : 3;
33 35
 		$planner_date = $_GET['date'] ? $_GET['date'] : strtotime('yesterday',$content['date'] ? $content['date'] : time());
34 36
 
35
-		if($_GET['confirm']) {
37
+		if($_GET['confirm'])
38
+		{
36 39
 			$register_code = ($_GET['confirm'] && preg_match('/^[0-9a-f]{32}$/',$_GET['confirm'])) ? $_GET['confirm'] : false;
37
-			if($register_code && $registration = registration_bo::confirm($register_code)) {
40
+			if($register_code && $registration = registration_bo::confirm($register_code))
41
+			{
38 42
 				// Get calendar through link
39 43
 				$links = Link::get_links('registration', $registration['reg_id'],'calendar');
40 44
 				$bo = new calendar_boupdate();
@@ -55,14 +59,19 @@  discard block
 block discarded – undo
55 59
 				);
56 60
 				calendar_so::split_status($data['participant_types']['r'][$content['resource']], $content['quantity'],$role);
57 61
 				$data['msg']= '<div class="confirm">'.lang('Registration confirmed %1', Api\DateTime::to($data['start'])) .'</div>';
58
-			} else {
62
+			}
63
+			else
64
+			{
59 65
 				$data['msg']= '<div class="confirm">'.lang('Unable to process confirmation.').'</div>';
60 66
 			}
61 67
                 }
62 68
 
63 69
 		$this->tmpl->read('resources.sitemgr_book');
64 70
 
65
-		if(!$arguments['resource'] && !($arguments['resource'] = $content['resource'])) return false;
71
+		if(!$arguments['resource'] && !($arguments['resource'] = $content['resource']))
72
+		{
73
+			return false;
74
+		}
66 75
 		$data += $this->bo->read($arguments['resource']);
67 76
 
68 77
 		$data['quantity'] = $content['quantity'] ? $content['quantity'] : 2;
@@ -102,9 +111,12 @@  discard block
 block discarded – undo
102 111
 			// Not a user, need contact
103 112
 			if($GLOBALS['egw_info']['user']['account_lid'] == $GLOBALS['sitemgr_info']['anonymous_user'] && !$content['contact_id'])
104 113
 			{
105
-				if ($config['pending_addressbook'])   // save the contact in the addressbook
114
+				if ($config['pending_addressbook'])
115
+				{
116
+					// save the contact in the addressbook
106 117
 				{
107 118
 					$content['owner'] = $config['pending_addressbook'];
119
+				}
108 120
 					$content['private'] = 0;        // in case default_private is set
109 121
 				}
110 122
 
@@ -112,9 +124,11 @@  discard block
 block discarded – undo
112 124
 				$contact_fields = $addressbook->contact_fields;
113 125
 				unset($contact_fields['email']); // Always present
114 126
 				unset($contact_fields['id']); // Address already there
115
-				if(array_intersect_key($contact_fields,$content)) {
127
+				if(array_intersect_key($contact_fields,$content))
128
+				{
116 129
 					$result = $addressbook->save($content);
117
-					if(!$result) {
130
+					if(!$result)
131
+					{
118 132
 						throw new Api\Exception\NoPermission($addressbook->error);
119 133
 						return False;
120 134
 					}
@@ -130,7 +144,8 @@  discard block
 block discarded – undo
130 144
 				$contact_id = $GLOBALS['egw_info']['user']['person_id'];
131 145
 			}
132 146
 
133
-			if($contact) {
147
+			if($contact)
148
+			{
134 149
 				// Make event
135 150
 				$event = array(
136 151
 					'title' =>	Link::title('addressbook', $contact_id),
@@ -163,7 +178,8 @@  discard block
 block discarded – undo
163 178
 					);
164 179
 					$data += $content;
165 180
 					$data['msg'] = lang('Please choose a different time:')."\n";
166
-					foreach($freetime as $slot) {
181
+					foreach($freetime as $slot)
182
+					{
167 183
 						$data['msg'] .= Api\DateTime::to($slot['start']) . ' - ' . Api\DateTime::to($slot['end'])."<br />\n";
168 184
 					}
169 185
 				}
@@ -217,8 +233,14 @@  discard block
 block discarded – undo
217 233
 			$cal_user[] = 'r'.$acc_id;
218 234
 		}
219 235
 
220
-		if(!$data['date']) $data['date'] = strtotime('tomorrow');
221
-		if(!$data['time']) $data['time']['hour'] = $GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts'];
236
+		if(!$data['date'])
237
+		{
238
+			$data['date'] = strtotime('tomorrow');
239
+		}
240
+		if(!$data['time'])
241
+		{
242
+			$data['time']['hour'] = $GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts'];
243
+		}
222 244
 
223 245
 		// Use sitemgr's default appointment length
224 246
 		if($GLOBALS['egw_info']['user']['account_lid'] != $GLOBALS['sitemgr_info']['anonymous_user'])
@@ -236,8 +258,7 @@  discard block
 block discarded – undo
236 258
 
237 259
 		if(!$GLOBALS['egw_info']['user']['apps']['resources'] || !$this->bo->get_calendar_info($data['res_id']) || // Needed for booking
238 260
 			!$GLOBALS['egw_info']['user']['apps']['calendar'] // Needed for updating schedule
239
-		)
240
-		{
261
+		) {
241 262
 			$data['planner'] = 'Permission error - site not configured properly.  Need ' . lang('resources') . ' & ' . lang('calendar');
242 263
 		}
243 264
 		else
@@ -266,7 +287,8 @@  discard block
 block discarded – undo
266 287
 		return $this->tmpl->exec('resources.resources_reserve.book',$data,$sel_options,$readonlys,$preserve);
267 288
 	}
268 289
 
269
-	public function ajax_update_planner($resource_id, $date) {
290
+	public function ajax_update_planner($resource_id, $date)
291
+	{
270 292
 		$response = Api\Json\Response::get();
271 293
 		$response->assign('exec[planner_div]','innerHTML',$this->get_planner(
272 294
 			$resource_id,
Please login to merge, or discard this patch.
Spacing   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -22,17 +22,17 @@  discard block
 block discarded – undo
22 22
 	 */
23 23
 	public function book($content = array(), $arguments = array())
24 24
 	{
25
-		egw_framework::validate_file('jscalendar','calendar');
25
+		egw_framework::validate_file('jscalendar', 'calendar');
26 26
 		$data = array();
27 27
 		$readonlys = array();
28 28
 		$display_days = $_GET['planner_days'] ? $_GET['planner_days'] : 3;
29
-		$planner_date = $_GET['date'] ? $_GET['date'] : strtotime('yesterday',$content['date'] ? $content['date'] : time());
29
+		$planner_date = $_GET['date'] ? $_GET['date'] : strtotime('yesterday', $content['date'] ? $content['date'] : time());
30 30
 
31
-		if($_GET['confirm']) {
32
-			$register_code = ($_GET['confirm'] && preg_match('/^[0-9a-f]{32}$/',$_GET['confirm'])) ? $_GET['confirm'] : false;
33
-			if($register_code && $registration = registration_bo::confirm($register_code)) {
31
+		if ($_GET['confirm']) {
32
+			$register_code = ($_GET['confirm'] && preg_match('/^[0-9a-f]{32}$/', $_GET['confirm'])) ? $_GET['confirm'] : false;
33
+			if ($register_code && $registration = registration_bo::confirm($register_code)) {
34 34
 				// Get calendar through link
35
-				$links = egw_link::get_links('registration', $registration['reg_id'],'calendar');
35
+				$links = egw_link::get_links('registration', $registration['reg_id'], 'calendar');
36 36
 				$bo = new calendar_boupdate();
37 37
 				$data = $bo->read(current($links));
38 38
 
@@ -41,24 +41,24 @@  discard block
 block discarded – undo
41 41
 
42 42
 				// Show date of reservation, so they can see it blocked off
43 43
 				$display_days = 1;
44
-				$planner_date = mktime(0,0,0,date('m',$data['start']),date('d',$data['start']),date('Y',$data['start']));
44
+				$planner_date = mktime(0, 0, 0, date('m', $data['start']), date('d', $data['start']), date('Y', $data['start']));
45 45
 				$readonlys['__ALL__'] = true;
46 46
 				$content = array(
47 47
 					'resource' => key($data['participant_types']['r']),
48 48
 					'date' => $data['start'],
49
-					'time' => $data['start'] - mktime(0,0,0,date('m',$data['start']),date('d',$data['start']),date('Y',$data['start'])),
49
+					'time' => $data['start'] - mktime(0, 0, 0, date('m', $data['start']), date('d', $data['start']), date('Y', $data['start'])),
50 50
 					'quantity' => 0
51 51
 				);
52
-				calendar_so::split_status($data['participant_types']['r'][$content['resource']], $content['quantity'],$role);
53
-				$data['msg']= '<div class="confirm">'.lang('Registration confirmed %1', egw_time::to($data['start'])) .'</div>';
52
+				calendar_so::split_status($data['participant_types']['r'][$content['resource']], $content['quantity'], $role);
53
+				$data['msg'] = '<div class="confirm">'.lang('Registration confirmed %1', egw_time::to($data['start'])).'</div>';
54 54
 			} else {
55
-				$data['msg']= '<div class="confirm">'.lang('Unable to process confirmation.').'</div>';
55
+				$data['msg'] = '<div class="confirm">'.lang('Unable to process confirmation.').'</div>';
56 56
 			}
57 57
                 }
58 58
 
59 59
 		$this->tmpl->read('resources.sitemgr_book');
60 60
 
61
-		if(!$arguments['resource'] && !($arguments['resource'] = $content['resource'])) return false;
61
+		if (!$arguments['resource'] && !($arguments['resource'] = $content['resource'])) return false;
62 62
 		$data += $this->bo->read($arguments['resource']);
63 63
 
64 64
 		$data['quantity'] = $content['quantity'] ? $content['quantity'] : 2;
@@ -77,11 +77,11 @@  discard block
 block discarded – undo
77 77
 		$preserve['include_group'] = $arguments['include_group'] ? $arguments['include_group'] : $content['include_group'];
78 78
 
79 79
 		// Check for valid time
80
-		if($data['date'] && $content['book'])
80
+		if ($data['date'] && $content['book'])
81 81
 		{
82
-			$start_time = $data['date'] + (is_array($data['time']) ? $data['time']['hour']*3600 + $data['time']['minute']*60 : $data['time']);
82
+			$start_time = $data['date'] + (is_array($data['time']) ? $data['time']['hour'] * 3600 + $data['time']['minute'] * 60 : $data['time']);
83 83
 			// Use sitemgr's default appointment length
84
-			if($GLOBALS['egw_info']['user']['account_lid'] != $GLOBALS['sitemgr_info']['anonymous_user'])
84
+			if ($GLOBALS['egw_info']['user']['account_lid'] != $GLOBALS['sitemgr_info']['anonymous_user'])
85 85
 			{
86 86
 				$preferences = new preferences($GLOBALS['egw']->accounts->name2id($GLOBALS['sitemgr_info']['anonymous_user']));
87 87
 				$preferences = $preferences->read_repository();
@@ -96,21 +96,21 @@  discard block
 block discarded – undo
96 96
 			$config = config::read('registration');
97 97
 
98 98
 			// Not a user, need contact
99
-			if($GLOBALS['egw_info']['user']['account_lid'] == $GLOBALS['sitemgr_info']['anonymous_user'] && !$content['contact_id'])
99
+			if ($GLOBALS['egw_info']['user']['account_lid'] == $GLOBALS['sitemgr_info']['anonymous_user'] && !$content['contact_id'])
100 100
 			{
101 101
 				if ($config['pending_addressbook'])   // save the contact in the addressbook
102 102
 				{
103 103
 					$content['owner'] = $config['pending_addressbook'];
104
-					$content['private'] = 0;        // in case default_private is set
104
+					$content['private'] = 0; // in case default_private is set
105 105
 				}
106 106
 
107 107
 				$addressbook = new addressbook_bo();
108 108
 				$contact_fields = $addressbook->contact_fields;
109 109
 				unset($contact_fields['email']); // Always present
110 110
 				unset($contact_fields['id']); // Address already there
111
-				if(array_intersect_key($contact_fields,$content)) {
111
+				if (array_intersect_key($contact_fields, $content)) {
112 112
 					$result = $addressbook->save($content);
113
-					if(!$result) {
113
+					if (!$result) {
114 114
 						throw new egw_exception_no_permission($addressbook->error);
115 115
 						return False;
116 116
 					}
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 				$contact_id = $GLOBALS['egw_info']['user']['person_id'];
127 127
 			}
128 128
 
129
-			if($contact) {
129
+			if ($contact) {
130 130
 				// Make event
131 131
 				$event = array(
132 132
 					'title' =>	egw_link::title('addressbook', $contact_id),
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 						$contact => calendar_so::combine_status('U', $data['quantity'], 'REQ-PARTICIPANT')
138 138
 					)
139 139
 				);
140
-				if($preserve['include_group'])
140
+				if ($preserve['include_group'])
141 141
 				{
142 142
 					$event['participants'][$preserve['include_group']] = calendar_so::combine_status('U', 1, 'REQ-PARTICIPANT');
143 143
 				}
@@ -146,21 +146,21 @@  discard block
 block discarded – undo
146 146
 
147 147
 				// Show date of reservation, so they can see it blocked off
148 148
 				$display_days = 1;
149
-				$planner_date = mktime(0,0,0,date('m',$event['start']),date('d',$event['start']),date('Y',$event['start']));
149
+				$planner_date = mktime(0, 0, 0, date('m', $event['start']), date('d', $event['start']), date('Y', $event['start']));
150 150
 
151 151
 				// Free time search
152
-				if(!is_numeric($result))
152
+				if (!is_numeric($result))
153 153
 				{
154 154
 					$form = new calendar_uiforms();
155 155
 					$freetime = $form->freetime('r'.$data['res_id'],
156
-						strtotime($GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts'] . ':00',$start_time),
157
-						strtotime($GLOBALS['egw_info']['user']['preferences']['calendar']['workdayends'] . ':00 ',$end_time),
156
+						strtotime($GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts'].':00', $start_time),
157
+						strtotime($GLOBALS['egw_info']['user']['preferences']['calendar']['workdayends'].':00 ', $end_time),
158 158
 						$duration
159 159
 					);
160 160
 					$data += $content;
161 161
 					$data['msg'] = lang('Please choose a different time:')."\n";
162
-					foreach($freetime as $slot) {
163
-						$data['msg'] .= egw_time::to($slot['start']) . ' - ' . egw_time::to($slot['end'])."<br />\n";
162
+					foreach ($freetime as $slot) {
163
+						$data['msg'] .= egw_time::to($slot['start']).' - '.egw_time::to($slot['end'])."<br />\n";
164 164
 					}
165 165
 				}
166 166
 				elseif ($preserve['confirmation'] && $contact_id && $result)
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
 						'post_confirm_hook' => 'resources.resources_reserve.confirm',
173 173
 						'sitemgr_version' => $preserve['sitemgr_version']
174 174
 					), false);
175
-					if(is_numeric($reg_id))
175
+					if (is_numeric($reg_id))
176 176
 					{
177 177
 						// Link to event
178 178
 						egw_link::link('registration', $reg_id, 'calendar', $result);
@@ -181,10 +181,10 @@  discard block
 block discarded – undo
181 181
 						// Send email
182 182
 						$email_info = $config + array(
183 183
 							'title' => $data['name'],
184
-							'subject' => $data['name'] . ' ' . egw_time::to($start_time),
184
+							'subject' => $data['name'].' '.egw_time::to($start_time),
185 185
 							'link' => $preserve['link'],
186 186
 						);
187
-						if($preserve['email_message'])
187
+						if ($preserve['email_message'])
188 188
 						{
189 189
 							$email_info['message'] = lang($preserve['email_message'],
190 190
 								egw_time::to($start_time),
@@ -201,23 +201,23 @@  discard block
 block discarded – undo
201 201
 		$data['picture'] = $this->bo->get_picture($data);
202 202
 
203 203
 		// Not a user, need contact
204
-		if($GLOBALS['egw_info']['user']['account_lid'] == $GLOBALS['sitemgr_info']['anonymous_user'] && !$content['contact_id'])
204
+		if ($GLOBALS['egw_info']['user']['account_lid'] == $GLOBALS['sitemgr_info']['anonymous_user'] && !$content['contact_id'])
205 205
 		{
206 206
 			$data['contact_form'] = $preserve['contact_form'];
207 207
 			$data['show_contact'] = !$preserve['contact_form'];
208 208
 		}
209 209
 
210 210
 		$cal_user = array('r'.$arguments['resource']);
211
-		foreach($this->bo->get_acc_list($data['res_id']) as $acc_id => $name)
211
+		foreach ($this->bo->get_acc_list($data['res_id']) as $acc_id => $name)
212 212
 		{
213 213
 			$cal_user[] = 'r'.$acc_id;
214 214
 		}
215 215
 
216
-		if(!$data['date']) $data['date'] = strtotime('tomorrow');
217
-		if(!$data['time']) $data['time']['hour'] = $GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts'];
216
+		if (!$data['date']) $data['date'] = strtotime('tomorrow');
217
+		if (!$data['time']) $data['time']['hour'] = $GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts'];
218 218
 
219 219
 		// Use sitemgr's default appointment length
220
-		if($GLOBALS['egw_info']['user']['account_lid'] != $GLOBALS['sitemgr_info']['anonymous_user'])
220
+		if ($GLOBALS['egw_info']['user']['account_lid'] != $GLOBALS['sitemgr_info']['anonymous_user'])
221 221
 		{
222 222
 			$preferences = new preferences($GLOBALS['egw']->accounts->name2id($GLOBALS['sitemgr_info']['anonymous_user']));
223 223
 			$preferences = $preferences->read_repository();
@@ -230,28 +230,28 @@  discard block
 block discarded – undo
230 230
 		// Leading 0
231 231
 		$data['duration'] = '0'.$data['duration'];
232 232
 
233
-		if(!$GLOBALS['egw_info']['user']['apps']['resources'] || !$this->bo->get_calendar_info($data['res_id']) || // Needed for booking
233
+		if (!$GLOBALS['egw_info']['user']['apps']['resources'] || !$this->bo->get_calendar_info($data['res_id']) || // Needed for booking
234 234
 			!$GLOBALS['egw_info']['user']['apps']['calendar'] // Needed for updating schedule
235 235
 		)
236 236
 		{
237
-			$data['planner'] = 'Permission error - site not configured properly.  Need ' . lang('resources') . ' & ' . lang('calendar');
237
+			$data['planner'] = 'Permission error - site not configured properly.  Need '.lang('resources').' & '.lang('calendar');
238 238
 		}
239 239
 		else
240 240
 		{
241 241
 			$data['planner'] = $this->get_planner(
242 242
 				$arguments['resource'],
243
-				$planner_date ? $planner_date : strtotime('yesterday',$date), // Show day before, too
243
+				$planner_date ? $planner_date : strtotime('yesterday', $date), // Show day before, too
244 244
 				$display_days,
245 245
 				$preserve['link']
246 246
 			);
247 247
 		}
248 248
 
249 249
 		// Restrict times to working hours
250
-		for($i = $GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts']; $i < $GLOBALS['egw_info']['user']['preferences']['calendar']['workdayends']; $i++)
250
+		for ($i = $GLOBALS['egw_info']['user']['preferences']['calendar']['workdaystarts']; $i < $GLOBALS['egw_info']['user']['preferences']['calendar']['workdayends']; $i++)
251 251
 		{
252
-			if($GLOBALS['egw_info']['user']['preferences']['common']['timeformat'] == '12')
252
+			if ($GLOBALS['egw_info']['user']['preferences']['common']['timeformat'] == '12')
253 253
 			{
254
-				$sel_options['hour'][$i] = ($i < '12' ? $i .' am' : ($i > 12 ? $i -12 : $i).' pm');
254
+				$sel_options['hour'][$i] = ($i < '12' ? $i.' am' : ($i > 12 ? $i - 12 : $i).' pm');
255 255
 			}
256 256
 			else
257 257
 			{
@@ -259,14 +259,14 @@  discard block
 block discarded – undo
259 259
 			}
260 260
 		}
261 261
 
262
-		return $this->tmpl->exec('resources.resources_reserve.book',$data,$sel_options,$readonlys,$preserve);
262
+		return $this->tmpl->exec('resources.resources_reserve.book', $data, $sel_options, $readonlys, $preserve);
263 263
 	}
264 264
 
265 265
 	public function ajax_update_planner($resource_id, $date) {
266 266
 		$response = egw_json_response::get();
267
-		$response->assign('exec[planner_div]','innerHTML',$this->get_planner(
267
+		$response->assign('exec[planner_div]', 'innerHTML', $this->get_planner(
268 268
 			$resource_id,
269
-			strtotime('yesterday',$date),
269
+			strtotime('yesterday', $date),
270 270
 			3,
271 271
 			$_SERVER['HTTP_REFERER']
272 272
 		));
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
 		// Need to add this in explicitly, or it may be lost if use clicks a day
293 293
 		$calendar->search_params['users'][] = 'r'.$resource_id;
294 294
 		$calendar->search_params['users'][] = $GLOBALS['egw_info']['user']['account_id'];
295
-		$calendar->allowEdit = false;    // switches off all edit popups
295
+		$calendar->allowEdit = false; // switches off all edit popups
296 296
 
297 297
 		$planner = '<style type="text/css">'."\n".
298 298
 			'@import url('.$GLOBALS['egw_info']['server']['webserver_url'].'/calendar/templates/default/app.css'.");\n".
@@ -314,10 +314,10 @@  discard block
 block discarded – undo
314 314
 	public function confirm($registration)
315 315
 	{
316 316
 		// Get calendar through link
317
-		$links = egw_link::get_links('registration', $registration['reg_id'],'calendar');
317
+		$links = egw_link::get_links('registration', $registration['reg_id'], 'calendar');
318 318
 		$bo = new calendar_boupdate();
319 319
 		$event = $bo->read(current($links));
320
-		if($registration['status'] == registration_bo::CONFIRMED)
320
+		if ($registration['status'] == registration_bo::CONFIRMED)
321 321
 		{
322 322
 			$bo->set_status(current($links), 'c'.$registration['contact_id'], 'A');
323 323
 		}
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
325 325
 		{
326 326
 			$bo->delete(current($links));
327 327
 			// Remove contact ID, or registration will try to purge the account
328
-			if($registration['account_id'])
328
+			if ($registration['account_id'])
329 329
 			{
330 330
 				unset($registration['contact_id']);
331 331
 			}
Please login to merge, or discard this patch.
resources/inc/class.resources_wizard_export_csv.inc.php 2 patches
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -26,26 +26,26 @@  discard block
 block discarded – undo
26 26
 
27 27
 		// Custom fields
28 28
 		$custom = Api\Storage\Customfields::get('resources', true);
29
-		foreach($custom as $name => $data) {
29
+		foreach ($custom as $name => $data) {
30 30
 			$this->export_fields['#'.$name] = $data['label'];
31 31
 		}
32 32
 	}
33 33
 
34 34
 	public function wizard_step50(&$content, &$sel_options, &$readonlys, &$preserv) {
35
-		if($this->debug || true) error_log(get_class($this) . '::wizard_step50->$content '.print_r($content,true));
35
+		if ($this->debug || true) error_log(get_class($this).'::wizard_step50->$content '.print_r($content, true));
36 36
 		// return
37 37
 		if ($content['step'] == 'wizard_step50')
38 38
 		{
39 39
 			switch (array_search('pressed', $content['button']))
40 40
 			{
41 41
 				case 'next':
42
-					return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],1);
42
+					return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'], 1);
43 43
 				case 'previous' :
44
-					return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'],-1);
44
+					return $GLOBALS['egw']->importexport_definitions_ui->get_step($content['step'], -1);
45 45
 				case 'finish':
46 46
 					return 'wizard_finish';
47 47
 				default :
48
-					return $this->wizard_step50($content,$sel_options,$readonlys,$preserv);
48
+					return $this->wizard_step50($content, $sel_options, $readonlys, $preserv);
49 49
 			}
50 50
 		}
51 51
 		// init step
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 			unset ($preserv['button']);
58 58
 			$fields = array('pm_used_time', 'pm_planned_time', 'pm_replanned_time');
59 59
 			$sel_options = array_fill_keys($fields, array('h' => lang('hours'), 'd' => lang('days')));
60
-			foreach($fields as $field) {
60
+			foreach ($fields as $field) {
61 61
 				$content[$field] = $content[$field] ? $content[$field] : $content['plugin_options'][$field];
62 62
 			}
63 63
 		}
Please login to merge, or discard this patch.
Braces   +12 added lines, -5 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@  discard block
 block discarded – undo
14 14
 
15 15
 class resources_wizard_export_csv extends importexport_wizard_basic_export_csv
16 16
 {
17
-	public function __construct() {
17
+	public function __construct()
18
+	{
18 19
 		parent::__construct();
19 20
 
20 21
 		// Field mapping
@@ -26,13 +27,18 @@  discard block
 block discarded – undo
26 27
 
27 28
 		// Custom fields
28 29
 		$custom = Api\Storage\Customfields::get('resources', true);
29
-		foreach($custom as $name => $data) {
30
+		foreach($custom as $name => $data)
31
+		{
30 32
 			$this->export_fields['#'.$name] = $data['label'];
31 33
 		}
32 34
 	}
33 35
 
34
-	public function wizard_step50(&$content, &$sel_options, &$readonlys, &$preserv) {
35
-		if($this->debug || true) error_log(get_class($this) . '::wizard_step50->$content '.print_r($content,true));
36
+	public function wizard_step50(&$content, &$sel_options, &$readonlys, &$preserv)
37
+	{
38
+		if($this->debug || true)
39
+		{
40
+			error_log(get_class($this) . '::wizard_step50->$content '.print_r($content,true));
41
+		}
36 42
 		// return
37 43
 		if ($content['step'] == 'wizard_step50')
38 44
 		{
@@ -57,7 +63,8 @@  discard block
 block discarded – undo
57 63
 			unset ($preserv['button']);
58 64
 			$fields = array('pm_used_time', 'pm_planned_time', 'pm_replanned_time');
59 65
 			$sel_options = array_fill_keys($fields, array('h' => lang('hours'), 'd' => lang('days')));
60
-			foreach($fields as $field) {
66
+			foreach($fields as $field)
67
+			{
61 68
 				$content[$field] = $content[$field] ? $content[$field] : $content['plugin_options'][$field];
62 69
 			}
63 70
 		}
Please login to merge, or discard this patch.
resources/inc/class.resources_tracking.inc.php 2 patches
Indentation   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -26,20 +26,20 @@
 block discarded – undo
26 26
 		$this->id_field = 'res_id';
27 27
 
28 28
 		$this->field2history = array(
29
-                        'res_id'        => 'res_id',
30
-                        'name'          => 'name',
31
-                        'short_description'     => 'short_description',
32
-                        'cat_id'        => 'cat_id',
33
-                        'quantity'      => 'quantity',
34
-                        'useable'       => 'useable',
35
-                        'location'      => 'location',
36
-                        'storage_info'  => 'storage_info',
37
-                        'bookable'      => 'bookable',
38
-                        'buyable'       => 'buyable',
39
-                        'prize'         => 'prize',
40
-                        'long_description'      => 'long_description',
41
-                        'inventory_number'      => 'inventory_number',
42
-                        'accessory_of'  => 'accessory_of'
29
+						'res_id'        => 'res_id',
30
+						'name'          => 'name',
31
+						'short_description'     => 'short_description',
32
+						'cat_id'        => 'cat_id',
33
+						'quantity'      => 'quantity',
34
+						'useable'       => 'useable',
35
+						'location'      => 'location',
36
+						'storage_info'  => 'storage_info',
37
+						'bookable'      => 'bookable',
38
+						'buyable'       => 'buyable',
39
+						'prize'         => 'prize',
40
+						'long_description'      => 'long_description',
41
+						'inventory_number'      => 'inventory_number',
42
+						'accessory_of'  => 'accessory_of'
43 43
 		);
44 44
 		parent::__construct($this->appname);
45 45
 	}
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,8 @@
 block discarded – undo
21 21
 {
22 22
 
23 23
 	
24
-	public function __construct() {
24
+	public function __construct()
25
+	{
25 26
 		$this->appname = 'resources';
26 27
 		$this->id_field = 'res_id';
27 28
 
Please login to merge, or discard this patch.
resources/inc/class.resources_egw_record.inc.php 3 patches
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -34,9 +34,9 @@  discard block
 block discarded – undo
34 34
 	 *
35 35
 	 * @param string $_identifier
36 36
 	 */
37
-	public function __construct( $_identifier='' ) {
37
+	public function __construct($_identifier = '') {
38 38
 		$this->identifier = $_identifier;
39
-		if($this->identifier) {
39
+		if ($this->identifier) {
40 40
 			$this->record = ExecMethod('resources.resources_bo.read', $this->identifier);
41 41
 		}
42 42
 	}
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
 	 * @todo add some checks
91 91
 	 * @return void
92 92
 	 */
93
-	public function set_record(array $_record){
93
+	public function set_record(array $_record) {
94 94
 		$this->record = $_record;
95 95
 	}
96 96
 
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 	 */
112 112
 	public function get_icon() {
113 113
 		$bo = new resources_bo();
114
-		if(!$icon = $bo->get_picture($this->identifier,$this->picture_src))
114
+		if (!$icon = $bo->get_picture($this->identifier, $this->picture_src))
115 115
 		{
116 116
 			$icon = 'resources/navbar';
117 117
 		}
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 	 *
124 124
 	 * @return string identifier
125 125
 	 */
126
-	public function save ( $_dst_identifier ) {
126
+	public function save($_dst_identifier) {
127 127
 
128 128
 	}
129 129
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	 * @param string $_dst_identifier
134 134
 	 * @return string dst_identifier
135 135
 	 */
136
-	public function copy ( $_dst_identifier ) {
136
+	public function copy($_dst_identifier) {
137 137
 
138 138
 	}
139 139
 
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	 * @param string $_dst_identifier
145 145
 	 * @return string dst_identifier
146 146
 	 */
147
-	public function move ( $_dst_identifier ) {
147
+	public function move($_dst_identifier) {
148 148
 
149 149
 	}
150 150
 
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
 	 * delets current record from backend
153 153
 	 *
154 154
 	 */
155
-	public function delete () {
155
+	public function delete() {
156 156
 
157 157
 	}
158 158
 
Please login to merge, or discard this patch.
Braces   +30 added lines, -15 removed lines patch added patch discarded remove patch
@@ -34,9 +34,11 @@  discard block
 block discarded – undo
34 34
 	 *
35 35
 	 * @param string $_identifier
36 36
 	 */
37
-	public function __construct( $_identifier='' ) {
37
+	public function __construct( $_identifier='' )
38
+	{
38 39
 		$this->identifier = $_identifier;
39
-		if($this->identifier) {
40
+		if($this->identifier)
41
+		{
40 42
 			$this->record = ExecMethod('resources.resources_bo.read', $this->identifier);
41 43
 		}
42 44
 	}
@@ -46,7 +48,8 @@  discard block
 block discarded – undo
46 48
 	 *
47 49
 	 * @param string $_attribute_name
48 50
 	 */
49
-	public function __get($_attribute_name) {
51
+	public function __get($_attribute_name)
52
+	{
50 53
 		return $this->record[$_attribute_name];
51 54
 	}
52 55
 
@@ -56,7 +59,8 @@  discard block
 block discarded – undo
56 59
 	 * @param string $_attribute_name
57 60
 	 * @param data $data
58 61
 	 */
59
-	public function __set($_attribute_name, $data) {
62
+	public function __set($_attribute_name, $data)
63
+	{
60 64
 		$this->record[$_attribute_name] = $data;
61 65
 	}
62 66
 
@@ -68,7 +72,8 @@  discard block
 block discarded – undo
68 72
 	 *
69 73
 	 * @return array complete record as associative array
70 74
 	 */
71
-	public function get_record_array() {
75
+	public function get_record_array()
76
+	{
72 77
 		return $this->record;
73 78
 	}
74 79
 
@@ -77,8 +82,10 @@  discard block
 block discarded – undo
77 82
 	 *
78 83
 	 *@return string tiltle
79 84
 	 */
80
-	public function get_title() {
81
-		if (empty($this->record)) {
85
+	public function get_title()
86
+	{
87
+		if (empty($this->record))
88
+		{
82 89
 			$this->get_record();
83 90
 		}
84 91
 		return $this->record['name'];
@@ -90,7 +97,8 @@  discard block
 block discarded – undo
90 97
 	 * @todo add some checks
91 98
 	 * @return void
92 99
 	 */
93
-	public function set_record(array $_record){
100
+	public function set_record(array $_record)
101
+	{
94 102
 		$this->record = $_record;
95 103
 	}
96 104
 
@@ -99,7 +107,8 @@  discard block
 block discarded – undo
99 107
 	 *
100 108
 	 * @return string identifier of current record
101 109
 	 */
102
-	public function get_identifier() {
110
+	public function get_identifier()
111
+	{
103 112
 		return $this->identifier;
104 113
 	}
105 114
 
@@ -109,7 +118,8 @@  discard block
 block discarded – undo
109 118
 	 *
110 119
 	 * @return string Full URL of an icon, or appname/icon_name
111 120
 	 */
112
-	public function get_icon() {
121
+	public function get_icon()
122
+	{
113 123
 		$bo = new resources_bo();
114 124
 		if(!$icon = $bo->get_picture($this->identifier,$this->picture_src))
115 125
 		{
@@ -123,7 +133,8 @@  discard block
 block discarded – undo
123 133
 	 *
124 134
 	 * @return string identifier
125 135
 	 */
126
-	public function save ( $_dst_identifier ) {
136
+	public function save ( $_dst_identifier )
137
+	{
127 138
 
128 139
 	}
129 140
 
@@ -133,7 +144,8 @@  discard block
 block discarded – undo
133 144
 	 * @param string $_dst_identifier
134 145
 	 * @return string dst_identifier
135 146
 	 */
136
-	public function copy ( $_dst_identifier ) {
147
+	public function copy ( $_dst_identifier )
148
+	{
137 149
 
138 150
 	}
139 151
 
@@ -144,7 +156,8 @@  discard block
 block discarded – undo
144 156
 	 * @param string $_dst_identifier
145 157
 	 * @return string dst_identifier
146 158
 	 */
147
-	public function move ( $_dst_identifier ) {
159
+	public function move ( $_dst_identifier )
160
+	{
148 161
 
149 162
 	}
150 163
 
@@ -152,7 +165,8 @@  discard block
 block discarded – undo
152 165
 	 * delets current record from backend
153 166
 	 *
154 167
 	 */
155
-	public function delete () {
168
+	public function delete ()
169
+	{
156 170
 
157 171
 	}
158 172
 
@@ -160,7 +174,8 @@  discard block
 block discarded – undo
160 174
 	 * destructor
161 175
 	 *
162 176
 	 */
163
-	public function __destruct() {
177
+	public function __destruct()
178
+	{
164 179
 	}
165 180
 
166 181
 } // end of egw_addressbook_record
Please login to merge, or discard this patch.
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,8 +22,8 @@
 block discarded – undo
22 22
 	private $record = array();
23 23
 	
24 24
 	static $types = array(
25
-                'date-time'     => array(),
26
-                'select-cat'    => array('cat_id'),
25
+				'date-time'     => array(),
26
+				'select-cat'    => array('cat_id'),
27 27
 		'select-bool'   => array('bookable'),
28 28
 		// Links is field name => app name
29 29
 		'links' => array('accessory_of' => 'resources')
Please login to merge, or discard this patch.
addressbook/setup/setup.inc.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
 	'email' => '[email protected]'
31 31
 );
32 32
 
33
-$setup_info['addressbook']['tables']  = array();	// addressbook tables are in the API!
33
+$setup_info['addressbook']['tables'] = array(); // addressbook tables are in the API!
34 34
 
35 35
 /* The hooks this app includes, needed for hooks registration */
36 36
 $setup_info['addressbook']['hooks']['admin'] = 'addressbook_hooks::all_hooks';
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@
 block discarded – undo
47 47
 /* Dependencies for this app to work */
48 48
 $setup_info['admin']['depends'][] = array(
49 49
 	'appname' => 'phpgwapi',
50
-	'versions' => Array('14.1')
50
+	'versions' => array('14.1')
51 51
 );
52 52
 $setup_info['admin']['depends'][] = array(
53 53
 	'appname' => 'etemplate',
54
-	'versions' => Array('14.1')
54
+	'versions' => array('14.1')
55 55
 );
56 56
 
57 57
 
Please login to merge, or discard this patch.
addressbook/setup/etemplates.inc.php 1 patch
Spacing   +53 added lines, -53 removed lines patch added patch discarded remove patch
@@ -10,116 +10,116 @@
 block discarded – undo
10 10
  * @version $Id$
11 11
  */
12 12
 
13
-$templ_version=1;
13
+$templ_version = 1;
14 14
 
15
-$templ_data[] = array('name' => 'addressbook.admin.types','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";s:4:"span";s:3:"all";i:1;a:3:{s:4:"type";s:5:"label";s:5:"label";s:17:"Options for type ";s:4:"span";s:7:",header";}i:2;a:4:{s:4:"type";s:5:"label";s:4:"name";s:4:"type";s:4:"size";s:1:"b";s:7:"no_lang";s:1:"1";}i:3;a:1:{s:4:"type";s:5:"label";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Icon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"icon";s:4:"size";s:2:"40";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:36:"Choose an icon for this contact type";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Template";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"template";s:4:"size";s:2:"40";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:41:"Chosse an eTemplate for this contact type";}}}s:4:"rows";i:3;s:4:"cols";i:3;}}','size' => '','style' => '.header{
15
+$templ_data[] = array('name' => 'addressbook.admin.types', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";s:4:"span";s:3:"all";i:1;a:3:{s:4:"type";s:5:"label";s:5:"label";s:17:"Options for type ";s:4:"span";s:7:",header";}i:2;a:4:{s:4:"type";s:5:"label";s:4:"name";s:4:"type";s:4:"size";s:1:"b";s:7:"no_lang";s:1:"1";}i:3;a:1:{s:4:"type";s:5:"label";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Icon";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:4:"icon";s:4:"size";s:2:"40";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:36:"Choose an icon for this contact type";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Template";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"template";s:4:"size";s:2:"40";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:41:"Chosse an eTemplate for this contact type";}}}s:4:"rows";i:3;s:4:"cols";i:3;}}', 'size' => '', 'style' => '.header{
16 16
 font-weight: bold;
17 17
 }','modified' => '1139821192',);
18 18
 
19
-$templ_data[] = array('name' => 'addressbook.contactform','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:24:{i:0;a:26:{s:3:"h14";s:39:",!@show[adr_one_locality]=postcode_city";s:3:"h15";s:45:",!@show[adr_one_locality]=city_state_postcode";s:2:"c3";s:4:",top";s:3:"c14";s:4:",top";s:3:"c15";s:4:",top";s:2:"h2";s:17:",!@show[org_unit]";s:2:"h1";s:17:",!@show[org_name]";s:2:"h3";s:13:",!@show[n_fn]";s:2:"h5";s:14:",!@show[email]";s:2:"h6";s:17:",!@show[tel_work]";s:2:"h7";s:17:",!@show[tel_cell]";s:2:"h8";s:16:",!@show[tel_fax]";s:2:"h9";s:17:",!@show[tel_home]";s:3:"h10";s:12:",!@show[url]";s:3:"h12";s:23:",!@show[adr_one_street]";s:3:"h13";s:24:",!@show[adr_one_street2]";s:3:"h17";s:16:",!@show[custom1]";s:3:"h21";s:13:",!@show[sep5]";s:3:"h19";s:13:",!@show[sep4]";s:3:"h20";s:13:",!@show[note]";s:3:"h16";s:13:",!@show[sep3]";s:3:"h11";s:13:",!@show[sep2]";s:2:"h4";s:13:",!@show[sep1]";s:3:"h22";s:16:",!@show[captcha]";s:3:"c20";s:4:",top";s:3:"h18";s:16:",!@show[custom2]";}i:1;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Company";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"name";s:8:"org_name";s:4:"span";s:1:"4";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:2;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Department";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"org_unit";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:3;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Contact";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:8:"n_prefix";s:4:"blur";s:6:"Prefix";}s:1:"D";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"20,64";s:5:"align";s:6:"center";}s:1:"E";a:6:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:5:"align";s:5:"right";s:4:"size";s:5:"22,64";s:4:"span";s:1:"2";s:6:"needed";s:1:"1";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:4;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:5;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Email";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:49:"64,64,/^[a-z0-9._-]+@[a-z0-9-]+(\\.[a-z0-9-]+)+$/i";s:4:"span";s:1:"4";s:4:"name";s:5:"email";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:6;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_work";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:7;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Mobile phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_cell";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:8;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:7:"tel_fax";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:9;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Home phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_home";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:10;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Internet";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:3:"url";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:11;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:12;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:14:"adr_one_street";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:13;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:15:"adr_one_street2";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:14;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"City";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:18:"adr_one_postalcode";s:6:"needed";s:1:"1";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:4:"size";s:5:"48,64";s:4:"span";s:1:"3";s:4:"name";s:16:"adr_one_locality";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"E";a:2:{s:4:"type";s:4:"text";s:4:"name";s:14:"adr_one_region";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:15;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Stadt";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"span";s:1:"2";s:4:"name";s:16:"adr_one_locality";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:14:"adr_one_region";s:5:"align";s:6:"center";}s:1:"F";a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:18:"adr_one_postalcode";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:16;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:17;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"@customlabel[1]";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"name";s:15:"@customfield[1]";s:4:"span";s:1:"4";s:6:"needed";s:1:"1";s:4:"size";s:2:"64";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:18;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"@customlabel[2]";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:15:"@customfield[2]";s:4:"span";s:1:"4";s:4:"size";s:2:"64";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:19;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:20;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"edit.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Message";}s:1:"C";a:5:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"5,45";s:4:"span";s:10:"4,width100";s:6:"needed";s:1:"1";s:4:"name";s:4:"note";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:21;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:22;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Verification";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"@captcha_task";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:5:"label";s:30:"%s please calculate the result";s:6:"needed";s:1:"1";s:4:"span";s:1:"3";s:4:"name";s:7:"captcha";s:4:"size";s:1:"3";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:23;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Submit";s:4:"name";s:8:"submitit";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"label";s:17:"required fields *";s:5:"align";s:5:"right";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:23;s:4:"cols";i:7;s:4:"size";s:3:",,0";s:7:"options";a:1:{i:2;s:1:"0";}}}','size' => ',,0','style' => '.width100 textarea { width: 99%; }','modified' => '1181059124',);
19
+$templ_data[] = array('name' => 'addressbook.contactform', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:24:{i:0;a:26:{s:3:"h14";s:39:",!@show[adr_one_locality]=postcode_city";s:3:"h15";s:45:",!@show[adr_one_locality]=city_state_postcode";s:2:"c3";s:4:",top";s:3:"c14";s:4:",top";s:3:"c15";s:4:",top";s:2:"h2";s:17:",!@show[org_unit]";s:2:"h1";s:17:",!@show[org_name]";s:2:"h3";s:13:",!@show[n_fn]";s:2:"h5";s:14:",!@show[email]";s:2:"h6";s:17:",!@show[tel_work]";s:2:"h7";s:17:",!@show[tel_cell]";s:2:"h8";s:16:",!@show[tel_fax]";s:2:"h9";s:17:",!@show[tel_home]";s:3:"h10";s:12:",!@show[url]";s:3:"h12";s:23:",!@show[adr_one_street]";s:3:"h13";s:24:",!@show[adr_one_street2]";s:3:"h17";s:16:",!@show[custom1]";s:3:"h21";s:13:",!@show[sep5]";s:3:"h19";s:13:",!@show[sep4]";s:3:"h20";s:13:",!@show[note]";s:3:"h16";s:13:",!@show[sep3]";s:3:"h11";s:13:",!@show[sep2]";s:2:"h4";s:13:",!@show[sep1]";s:3:"h22";s:16:",!@show[captcha]";s:3:"c20";s:4:",top";s:3:"h18";s:16:",!@show[custom2]";}i:1;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Company";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"name";s:8:"org_name";s:4:"span";s:1:"4";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:2;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Department";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"org_unit";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:3;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Contact";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:8:"n_prefix";s:4:"blur";s:6:"Prefix";}s:1:"D";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"20,64";s:5:"align";s:6:"center";}s:1:"E";a:6:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:5:"align";s:5:"right";s:4:"size";s:5:"22,64";s:4:"span";s:1:"2";s:6:"needed";s:1:"1";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:4;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:5;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Email";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:49:"64,64,/^[a-z0-9._-]+@[a-z0-9-]+(\\.[a-z0-9-]+)+$/i";s:4:"span";s:1:"4";s:4:"name";s:5:"email";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:6;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_work";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:7;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Mobile phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_cell";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:8;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:7:"tel_fax";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:9;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Home phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_home";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:10;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Internet";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:3:"url";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:11;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:12;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:14:"adr_one_street";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:13;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:15:"adr_one_street2";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:14;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"City";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:18:"adr_one_postalcode";s:6:"needed";s:1:"1";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:4:"size";s:5:"48,64";s:4:"span";s:1:"3";s:4:"name";s:16:"adr_one_locality";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"E";a:2:{s:4:"type";s:4:"text";s:4:"name";s:14:"adr_one_region";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:15;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Stadt";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"span";s:1:"2";s:4:"name";s:16:"adr_one_locality";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:14:"adr_one_region";s:5:"align";s:6:"center";}s:1:"F";a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:18:"adr_one_postalcode";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:16;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:17;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"@customlabel[1]";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"name";s:15:"@customfield[1]";s:4:"span";s:1:"4";s:6:"needed";s:1:"1";s:4:"size";s:2:"64";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:18;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"@customlabel[2]";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:15:"@customfield[2]";s:4:"span";s:1:"4";s:4:"size";s:2:"64";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:19;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:20;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"edit.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Message";}s:1:"C";a:5:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"5,45";s:4:"span";s:10:"4,width100";s:6:"needed";s:1:"1";s:4:"name";s:4:"note";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:21;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:22;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Verification";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"@captcha_task";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:5:"label";s:30:"%s please calculate the result";s:6:"needed";s:1:"1";s:4:"span";s:1:"3";s:4:"name";s:7:"captcha";s:4:"size";s:1:"3";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:23;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Submit";s:4:"name";s:8:"submitit";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"label";s:17:"required fields *";s:5:"align";s:5:"right";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:23;s:4:"cols";i:7;s:4:"size";s:3:",,0";s:7:"options";a:1:{i:2;s:1:"0";}}}', 'size' => ',,0', 'style' => '.width100 textarea { width: 99%; }', 'modified' => '1181059124',);
20 20
 
21
-$templ_data[] = array('name' => 'addressbook.contactform.test','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:26:{i:0;a:23:{s:3:"h14";s:24:",!@show[adr_one_street2]";s:3:"h15";s:39:",!@show[adr_one_locality]=postcode_city";s:2:"c3";s:4:",top";s:3:"c15";s:4:",top";s:2:"h2";s:17:",!@show[org_unit]";s:2:"h1";s:17:",!@show[org_name]";s:2:"h3";s:13:",!@show[n_fn]";s:2:"h5";s:14:",!@show[email]";s:2:"h6";s:17:",!@show[tel_work]";s:2:"h7";s:17:",!@show[tel_cell]";s:2:"h8";s:16:",!@show[tel_fax]";s:2:"h9";s:17:",!@show[tel_home]";s:3:"h10";s:12:",!@show[url]";s:3:"h13";s:23:",!@show[adr_one_street]";s:3:"h17";s:13:",!@show[sep3]";s:3:"h20";s:13:",!@show[sep4]";s:3:"h16";s:45:",!@show[adr_one_locality]=city_state_postcode";s:2:"h4";s:13:",!@show[sep1]";s:3:"c16";s:4:",top";s:3:"h22";s:13:",!@show[note]";s:3:"h23";s:13:",!@show[sep5]";s:3:"h24";s:16:",!@show[captcha]";s:3:"c22";s:4:",top";}i:1;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Company";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"name";s:8:"org_name";s:4:"span";s:1:"4";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:2;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Department";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"org_unit";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:3;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Contact";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:8:"n_prefix";s:4:"blur";s:6:"Prefix";}s:1:"D";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"20,64";s:5:"align";s:6:"center";}s:1:"E";a:6:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:5:"align";s:5:"right";s:4:"size";s:5:"22,64";s:4:"span";s:1:"2";s:6:"needed";s:1:"1";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:4;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:5;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Email";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:49:"64,64,/^[a-z0-9._-]+@[a-z0-9-]+(\\.[a-z0-9-]+)+$/i";s:4:"span";s:1:"4";s:4:"name";s:5:"email";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:6;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_work";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:7;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Mobile phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_cell";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:8;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:7:"tel_fax";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:9;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Home phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_home";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:10;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Internet";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:3:"url";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:11;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:78:"YES, please inform me about eGroupWare, communicating and IT-Outsourcing news.";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:12;a:7:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:78:"YES, please inform me about eGroupWare, communicating and IT-Outsourcing news.";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:13;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:14:"adr_one_street";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:14;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:15:"adr_one_street2";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:15;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"City";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:18:"adr_one_postalcode";s:6:"needed";s:1:"1";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:4:"size";s:5:"48,64";s:4:"span";s:1:"3";s:4:"name";s:16:"adr_one_locality";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"E";a:2:{s:4:"type";s:4:"text";s:4:"name";s:14:"adr_one_region";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:16;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Stadt";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"span";s:1:"2";s:4:"name";s:16:"adr_one_locality";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:14:"adr_one_region";s:5:"align";s:6:"center";}s:1:"F";a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:18:"adr_one_postalcode";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:17;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:18;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Passbild";}s:1:"C";a:2:{s:4:"type";s:4:"file";s:4:"name";s:8:"Passbild";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:19;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Lebenslauf";}s:1:"C";a:2:{s:4:"type";s:4:"file";s:4:"name";s:10:"Lebenslauf";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:20;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:21;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Multiselect";}s:1:"C";a:2:{s:4:"type";s:21:"customfields-no-label";s:4:"name";s:12:"#multiselect";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:22;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"edit.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Message";}s:1:"C";a:5:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"5,45";s:4:"span";s:10:"4,width100";s:6:"needed";s:1:"1";s:4:"name";s:4:"note";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:23;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:24;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Verification";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"@captcha_task";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:5:"label";s:30:"%s please calculate the result";s:6:"needed";s:1:"1";s:4:"span";s:1:"3";s:4:"name";s:7:"captcha";s:4:"size";s:1:"3";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:25;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Submit";s:4:"name";s:8:"submitit";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"label";s:17:"required fields *";s:5:"align";s:5:"right";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:25;s:4:"cols";i:7;s:4:"size";s:3:",,0";s:7:"options";a:1:{i:2;s:1:"0";}}}','size' => ',,0','style' => '.width100 textarea { width: 99%; }','modified' => '1197011086',);
21
+$templ_data[] = array('name' => 'addressbook.contactform.test', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:26:{i:0;a:23:{s:3:"h14";s:24:",!@show[adr_one_street2]";s:3:"h15";s:39:",!@show[adr_one_locality]=postcode_city";s:2:"c3";s:4:",top";s:3:"c15";s:4:",top";s:2:"h2";s:17:",!@show[org_unit]";s:2:"h1";s:17:",!@show[org_name]";s:2:"h3";s:13:",!@show[n_fn]";s:2:"h5";s:14:",!@show[email]";s:2:"h6";s:17:",!@show[tel_work]";s:2:"h7";s:17:",!@show[tel_cell]";s:2:"h8";s:16:",!@show[tel_fax]";s:2:"h9";s:17:",!@show[tel_home]";s:3:"h10";s:12:",!@show[url]";s:3:"h13";s:23:",!@show[adr_one_street]";s:3:"h17";s:13:",!@show[sep3]";s:3:"h20";s:13:",!@show[sep4]";s:3:"h16";s:45:",!@show[adr_one_locality]=city_state_postcode";s:2:"h4";s:13:",!@show[sep1]";s:3:"c16";s:4:",top";s:3:"h22";s:13:",!@show[note]";s:3:"h23";s:13:",!@show[sep5]";s:3:"h24";s:16:",!@show[captcha]";s:3:"c22";s:4:",top";}i:1;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Company";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"name";s:8:"org_name";s:4:"span";s:1:"4";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:2;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Department";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"org_unit";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:3;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Contact";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:8:"n_prefix";s:4:"blur";s:6:"Prefix";}s:1:"D";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"20,64";s:5:"align";s:6:"center";}s:1:"E";a:6:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:5:"align";s:5:"right";s:4:"size";s:5:"22,64";s:4:"span";s:1:"2";s:6:"needed";s:1:"1";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:4;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:5;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Email";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:49:"64,64,/^[a-z0-9._-]+@[a-z0-9-]+(\\.[a-z0-9-]+)+$/i";s:4:"span";s:1:"4";s:4:"name";s:5:"email";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:6;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_work";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:7;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Mobile phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_cell";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:8;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:7:"tel_fax";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:9;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Home phone";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:8:"tel_home";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:10;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Internet";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:3:"url";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:11;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:78:"YES, please inform me about eGroupWare, communicating and IT-Outsourcing news.";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:12;a:7:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:78:"YES, please inform me about eGroupWare, communicating and IT-Outsourcing news.";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:13;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Street";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:14:"adr_one_street";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:14;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"64,64";s:4:"span";s:1:"4";s:4:"name";s:15:"adr_one_street2";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:15;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"City";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"10,64";s:4:"name";s:18:"adr_one_postalcode";s:6:"needed";s:1:"1";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:4:"size";s:5:"48,64";s:4:"span";s:1:"3";s:4:"name";s:16:"adr_one_locality";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"E";a:2:{s:4:"type";s:4:"text";s:4:"name";s:14:"adr_one_region";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:16;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Stadt";}s:1:"C";a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"span";s:1:"2";s:4:"name";s:16:"adr_one_locality";s:6:"needed";s:1:"1";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:14:"adr_one_region";s:5:"align";s:6:"center";}s:1:"F";a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"8,64";s:4:"name";s:18:"adr_one_postalcode";s:5:"align";s:5:"right";s:6:"needed";s:1:"1";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:17;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:18;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"Passbild";}s:1:"C";a:2:{s:4:"type";s:4:"file";s:4:"name";s:8:"Passbild";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:19;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Lebenslauf";}s:1:"C";a:2:{s:4:"type";s:4:"file";s:4:"name";s:10:"Lebenslauf";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:20;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:21;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Multiselect";}s:1:"C";a:2:{s:4:"type";s:21:"customfields-no-label";s:4:"name";s:12:"#multiselect";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:22;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"edit.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Message";}s:1:"C";a:5:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"5,45";s:4:"span";s:10:"4,width100";s:6:"needed";s:1:"1";s:4:"name";s:4:"note";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:23;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}i:24;a:7:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Verification";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"@captcha_task";}s:1:"D";a:6:{s:4:"type";s:4:"text";s:5:"label";s:30:"%s please calculate the result";s:6:"needed";s:1:"1";s:4:"span";s:1:"3";s:4:"name";s:7:"captcha";s:4:"size";s:1:"3";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",redItalic";s:5:"label";s:1:"*";}}i:25;a:7:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Submit";s:4:"name";s:8:"submitit";}s:1:"D";a:4:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"label";s:17:"required fields *";s:5:"align";s:5:"right";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:25;s:4:"cols";i:7;s:4:"size";s:3:",,0";s:7:"options";a:1:{i:2;s:1:"0";}}}', 'size' => ',,0', 'style' => '.width100 textarea { width: 99%; }', 'modified' => '1197011086',);
22 22
 
23
-$templ_data[] = array('name' => 'addressbook.display','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:2:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";}i:1;a:2:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"align";s:6:"center";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:9:"nextmatch";s:4:"size";s:24:"addressbook.display.rows";s:4:"name";s:3:"nm1";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:2;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1194343373',);
23
+$templ_data[] = array('name' => 'addressbook.display', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:2:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";}i:1;a:2:{s:1:"A";a:5:{s:4:"type";s:5:"label";s:4:"span";s:13:"all,redItalic";s:5:"align";s:6:"center";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:4:{s:4:"type";s:9:"nextmatch";s:4:"size";s:24:"addressbook.display.rows";s:4:"name";s:3:"nm1";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:2;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}', 'size' => '100%', 'style' => '', 'modified' => '1194343373',);
24 24
 
25
-$templ_data[] = array('name' => 'addressbook.display.rows','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:17:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"B";s:17:",!@show[org_name]";s:1:"C";s:17:",!@show[org_unit]";s:1:"D";s:13:",!@show[n_fn]";s:1:"E";s:14:",!@show[email]";s:1:"F";s:17:",!@show[tel_work]";s:1:"G";s:17:",!@show[tel_cell]";s:1:"H";s:16:",!@show[tel_fax]";s:1:"I";s:17:",!@show[org_home]";s:1:"J";s:12:",!@show[url]";s:1:"K";s:23:",!@show[adr_one_street]";s:1:"L";s:27:",!@show[adr_one_postalcode]";s:1:"M";s:25:",!@show[adr_one_locality]";s:1:"N";s:23:",!@show[adr_one_region]";s:1:"O";s:16:",!@show[custom1]";s:1:"P";s:16:",!@show[custom2]";}i:1;a:17:{s:1:"A";a:2:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:4:"type";}s:1:"B";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Company";s:4:"name";s:8:"org_name";}s:1:"C";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Department";s:4:"name";s:8:"org_unit";}s:1:"D";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Contact";s:4:"name";s:4:"n_fn";}s:1:"E";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:5:"Email";s:4:"name";s:5:"email";}s:1:"F";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";}s:1:"G";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";}s:1:"H";a:3:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:7:"tel_fax";s:5:"label";s:3:"Fax";}s:1:"I";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";}s:1:"J";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:8:"Internet";s:4:"name";s:3:"url";}s:1:"K";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:6:"Street";s:4:"name";s:14:"adr_one_street";}s:1:"L";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:8:"ZIP Code";s:4:"name";s:18:"adr_one_postalcode";}s:1:"M";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:4:"City";s:4:"name";s:16:"adr_one_locality";}s:1:"N";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:6:"Region";s:4:"name";s:14:"adr_one_region";}s:1:"O";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:15:"@customlabel[1]";s:4:"name";s:7:"custom1";}s:1:"P";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:15:"@customlabel[2]";s:4:"name";s:7:"custom2";}s:1:"Q";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"select country";s:4:"name";s:7:"country";}i:2;a:4:{s:4:"type";s:22:"nextmatch-customfilter";s:4:"name";s:19:"adr_one_countryname";s:4:"size";s:24:"select-country,Country,1";s:4:"span";s:14:",countrySelect";}}}i:2;a:17:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:4:"size";s:1:"1";s:4:"name";s:12:"${row}[type]";s:8:"readonly";s:1:"1";s:5:"label";s:21:"$row_cont[type_label]";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_name]";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line1]";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[email]";}s:1:"F";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_work]";}s:1:"G";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_cell]";}s:1:"H";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[tel_fax]";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_home]";}s:1:"J";a:2:{s:4:"type";s:5:"label";s:4:"name";s:11:"${row}[url]";}s:1:"K";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:4:"name";s:22:"${row}[adr_one_street]";}i:2;a:2:{s:4:"type";s:5:"label";s:4:"name";s:23:"${row}[adr_one_street2]";}}s:1:"L";a:2:{s:4:"type";s:5:"label";s:4:"name";s:26:"${row}[adr_one_postalcode]";}s:1:"M";a:2:{s:4:"type";s:5:"label";s:4:"name";s:24:"${row}[adr_one_locality]";}s:1:"N";a:2:{s:4:"type";s:5:"label";s:4:"name";s:22:"${row}[adr_one_region]";}s:1:"O";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[custom1]";}s:1:"P";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[custom2]";}s:1:"Q";a:2:{s:4:"type";s:5:"label";s:4:"name";s:27:"${row}[adr_one_countryname]";}}}s:4:"rows";i:2;s:4:"cols";i:17;s:4:"size";s:14:"100%,,,,,,auto";s:7:"options";a:2:{i:0;s:4:"100%";i:6;s:4:"auto";}}}','size' => '100%,,,,,,auto','style' => '','modified' => '1195309977',);
25
+$templ_data[] = array('name' => 'addressbook.display.rows', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:17:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"B";s:17:",!@show[org_name]";s:1:"C";s:17:",!@show[org_unit]";s:1:"D";s:13:",!@show[n_fn]";s:1:"E";s:14:",!@show[email]";s:1:"F";s:17:",!@show[tel_work]";s:1:"G";s:17:",!@show[tel_cell]";s:1:"H";s:16:",!@show[tel_fax]";s:1:"I";s:17:",!@show[org_home]";s:1:"J";s:12:",!@show[url]";s:1:"K";s:23:",!@show[adr_one_street]";s:1:"L";s:27:",!@show[adr_one_postalcode]";s:1:"M";s:25:",!@show[adr_one_locality]";s:1:"N";s:23:",!@show[adr_one_region]";s:1:"O";s:16:",!@show[custom1]";s:1:"P";s:16:",!@show[custom2]";}i:1;a:17:{s:1:"A";a:2:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:4:"type";}s:1:"B";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Company";s:4:"name";s:8:"org_name";}s:1:"C";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Department";s:4:"name";s:8:"org_unit";}s:1:"D";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Contact";s:4:"name";s:4:"n_fn";}s:1:"E";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:5:"Email";s:4:"name";s:5:"email";}s:1:"F";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";}s:1:"G";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";}s:1:"H";a:3:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:7:"tel_fax";s:5:"label";s:3:"Fax";}s:1:"I";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";}s:1:"J";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:8:"Internet";s:4:"name";s:3:"url";}s:1:"K";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:6:"Street";s:4:"name";s:14:"adr_one_street";}s:1:"L";a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:8:"ZIP Code";s:4:"name";s:18:"adr_one_postalcode";}s:1:"M";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:4:"City";s:4:"name";s:16:"adr_one_locality";}s:1:"N";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:6:"Region";s:4:"name";s:14:"adr_one_region";}s:1:"O";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:15:"@customlabel[1]";s:4:"name";s:7:"custom1";}s:1:"P";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:15:"@customlabel[2]";s:4:"name";s:7:"custom2";}s:1:"Q";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"select country";s:4:"name";s:7:"country";}i:2;a:4:{s:4:"type";s:22:"nextmatch-customfilter";s:4:"name";s:19:"adr_one_countryname";s:4:"size";s:24:"select-country,Country,1";s:4:"span";s:14:",countrySelect";}}}i:2;a:17:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:4:"size";s:1:"1";s:4:"name";s:12:"${row}[type]";s:8:"readonly";s:1:"1";s:5:"label";s:21:"$row_cont[type_label]";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_name]";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line1]";}s:1:"E";a:2:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[email]";}s:1:"F";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_work]";}s:1:"G";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_cell]";}s:1:"H";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[tel_fax]";}s:1:"I";a:2:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[tel_home]";}s:1:"J";a:2:{s:4:"type";s:5:"label";s:4:"name";s:11:"${row}[url]";}s:1:"K";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:4:"name";s:22:"${row}[adr_one_street]";}i:2;a:2:{s:4:"type";s:5:"label";s:4:"name";s:23:"${row}[adr_one_street2]";}}s:1:"L";a:2:{s:4:"type";s:5:"label";s:4:"name";s:26:"${row}[adr_one_postalcode]";}s:1:"M";a:2:{s:4:"type";s:5:"label";s:4:"name";s:24:"${row}[adr_one_locality]";}s:1:"N";a:2:{s:4:"type";s:5:"label";s:4:"name";s:22:"${row}[adr_one_region]";}s:1:"O";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[custom1]";}s:1:"P";a:2:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[custom2]";}s:1:"Q";a:2:{s:4:"type";s:5:"label";s:4:"name";s:27:"${row}[adr_one_countryname]";}}}s:4:"rows";i:2;s:4:"cols";i:17;s:4:"size";s:14:"100%,,,,,,auto";s:7:"options";a:2:{i:0;s:4:"100%";i:6;s:4:"auto";}}}', 'size' => '100%,,,,,,auto', 'style' => '', 'modified' => '1195309977',);
26 26
 
27
-$templ_data[] = array('name' => 'addressbook.edit','template' => '','lang' => '','group' => '0','version' => '1.9.004','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:5:{s:1:"A";s:3:"450";s:1:"B";s:3:"350";s:2:"h1";s:6:",!@msg";s:2:"c3";s:4:",top";s:2:"h4";s:13:",@hidebuttons";}i:1;a:2:{s:1:"A";a:5:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:8:"htmlarea";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:6:{s:5:"class";s:6:"fileas";s:4:"blur";s:4:"Name";s:7:"no_lang";s:1:"1";s:4:"name";s:11:"fileas_type";s:4:"type";s:6:"select";s:4:"help";s:11:"own sorting";}s:1:"B";a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"h1";s:8:",@no_tid";}i:1;a:2:{s:1:"A";a:6:{s:5:"class";s:8:"leftPad5";s:5:"label";s:4:"Type";s:7:"no_lang";s:1:"1";s:8:"onchange";s:1:"1";s:4:"name";s:3:"tid";s:4:"type";s:6:"select";}s:1:"B";a:7:{s:5:"label";s:1:" ";s:6:"needed";s:1:"1";s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:7:"typegfx";s:4:"type";s:4:"html";s:4:"span";s:6:",space";}}}s:4:"cols";i:2;s:4:"rows";i:1;}}i:3;a:2:{s:1:"A";a:4:{s:4:"name";s:232:"addressbook.edit.general|addressbook.edit.cats|addressbook.edit.home|addressbook.edit.details|addressbook.edit.links|addressbook.edit.distribution_list|addressbook.edit.custom|addressbook.edit.custom_private|addressbook.edit.history";s:4:"type";s:3:"tab";s:5:"label";s:87:"General|Categories|Private|Details|Links|Distribution lists|Extra|Extra private|History";s:4:"help";s:142:"Name, Address|Categories|Home address, Birthday, ...|Categories, Notes, ...|Links|Distribution lists, ...|Custom fields|Private custom fields|";}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:2:{s:4:"name";s:22:"addressbook.editphones";s:4:"type";s:8:"template";}i:2;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:4:"span";s:11:",phoneGroup";s:5:"label";s:13:"Phone Numbers";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:3:{s:3:"for";s:8:"tel_work";s:4:"type";s:5:"label";s:5:"label";s:8:"business";}s:1:"C";a:4:{s:4:"name";s:8:"tel_work";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_work,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:2;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"tel_cell";s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";}s:1:"C";a:4:{s:4:"name";s:8:"tel_cell";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_cell,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:3;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"tel_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:4:{s:4:"name";s:8:"tel_home";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_home,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"name";s:7:"tel_fax";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:16:"tel_fax,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:5:{s:9:"accesskey";s:1:"m";s:5:"label";s:8:"More ...";s:7:"onclick";s:111:"jQuery(\'table.editphones\').css(\'display\',\'inline\'); if (window.showphones) showphones(this.form); return false;";s:4:"name";s:12:"button[more]";s:4:"type";s:6:"button";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:4;s:4:"rows";i:5;}}i:3;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:4:"span";s:11:",emailGroup";s:5:"label";s:16:"Email & Internet";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:3:{s:3:"for";s:3:"url";s:4:"type";s:5:"label";s:5:"label";s:3:"url";}s:1:"C";a:3:{s:4:"name";s:3:"url";s:4:"size";s:6:"28,128";s:4:"type";s:3:"url";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"url_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:3:{s:4:"name";s:8:"url_home";s:4:"size";s:6:"28,128";s:4:"type";s:3:"url";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:3:{s:3:"for";s:5:"email";s:4:"type";s:5:"label";s:5:"label";s:5:"email";}s:1:"C";a:4:{s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";s:4:"name";s:5:"email";s:4:"size";s:6:"28,128";s:4:"type";s:9:"url-email";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:10:"email_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:4:{s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";s:4:"name";s:10:"email_home";s:4:"size";s:6:"28,128";s:4:"type";s:9:"url-email";}}}s:4:"cols";i:3;s:4:"rows";i:4;}}}}i:4;a:2:{s:1:"A";a:9:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"7";i:1;a:4:{s:5:"label";s:4:"Edit";s:7:"onclick";s:189:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=460,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:12:"button[edit]";s:4:"type";s:6:"button";}i:2;a:4:{s:5:"label";s:4:"Copy";s:7:"onclick";s:198:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]&makecp=1\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:12:"button[copy]";s:4:"type";s:6:"button";}i:3;a:4:{s:5:"label";s:5:"vCard";s:4:"name";s:13:"button[vcard]";s:4:"type";s:6:"button";s:4:"help";s:35:"download this contact as vCard file";}i:4;a:4:{s:9:"accesskey";s:1:"s";s:5:"label";s:4:"Save";s:4:"name";s:12:"button[save]";s:4:"type";s:6:"button";}i:5;a:3:{s:5:"label";s:5:"Apply";s:4:"name";s:13:"button[apply]";s:4:"type";s:6:"button";}i:6;a:4:{s:5:"label";s:6:"Cancel";s:7:"onclick";s:65:"if($cont[view] || false) return true; self.close(); return false;";s:4:"name";s:14:"button[cancel]";s:4:"type";s:6:"button";}i:7;a:5:{s:5:"label";s:31:"change all organisation members";s:4:"span";s:3:"all";s:4:"name";s:10:"change_org";s:4:"type";s:8:"checkbox";s:4:"help";s:73:"Apply changes to all members, whose fields have the same previous content";}}s:1:"B";a:6:{s:5:"align";s:5:"right";s:5:"label";s:6:"Delete";s:7:"onclick";s:65:"return confirm(\'Are you shure you want to delete this contact?\');";s:8:"tabindex";s:2:"25";s:4:"name";s:14:"button[delete]";s:4:"type";s:6:"button";}}}s:4:"cols";i:2;s:4:"rows";i:4;}}','size' => '','style' => '','modified' => '1375194166',);
27
+$templ_data[] = array('name' => 'addressbook.edit', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.004', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:5:{s:1:"A";s:3:"450";s:1:"B";s:3:"350";s:2:"h1";s:6:",!@msg";s:2:"c3";s:4:",top";s:2:"h4";s:13:",@hidebuttons";}i:1;a:2:{s:1:"A";a:5:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:8:"htmlarea";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:6:{s:5:"class";s:6:"fileas";s:4:"blur";s:4:"Name";s:7:"no_lang";s:1:"1";s:4:"name";s:11:"fileas_type";s:4:"type";s:6:"select";s:4:"help";s:11:"own sorting";}s:1:"B";a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"h1";s:8:",@no_tid";}i:1;a:2:{s:1:"A";a:6:{s:5:"class";s:8:"leftPad5";s:5:"label";s:4:"Type";s:7:"no_lang";s:1:"1";s:8:"onchange";s:1:"1";s:4:"name";s:3:"tid";s:4:"type";s:6:"select";}s:1:"B";a:7:{s:5:"label";s:1:" ";s:6:"needed";s:1:"1";s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:7:"typegfx";s:4:"type";s:4:"html";s:4:"span";s:6:",space";}}}s:4:"cols";i:2;s:4:"rows";i:1;}}i:3;a:2:{s:1:"A";a:4:{s:4:"name";s:232:"addressbook.edit.general|addressbook.edit.cats|addressbook.edit.home|addressbook.edit.details|addressbook.edit.links|addressbook.edit.distribution_list|addressbook.edit.custom|addressbook.edit.custom_private|addressbook.edit.history";s:4:"type";s:3:"tab";s:5:"label";s:87:"General|Categories|Private|Details|Links|Distribution lists|Extra|Extra private|History";s:4:"help";s:142:"Name, Address|Categories|Home address, Birthday, ...|Categories, Notes, ...|Links|Distribution lists, ...|Custom fields|Private custom fields|";}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:2:{s:4:"name";s:22:"addressbook.editphones";s:4:"type";s:8:"template";}i:2;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:4:"span";s:11:",phoneGroup";s:5:"label";s:13:"Phone Numbers";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:5:"phone";}s:1:"B";a:3:{s:3:"for";s:8:"tel_work";s:4:"type";s:5:"label";s:5:"label";s:8:"business";}s:1:"C";a:4:{s:4:"name";s:8:"tel_work";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_work,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:2;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"tel_cell";s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";}s:1:"C";a:4:{s:4:"name";s:8:"tel_cell";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_cell,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:3;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"tel_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:4:{s:4:"name";s:8:"tel_home";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:17:"tel_home,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}s:1:"C";a:4:{s:4:"name";s:7:"tel_fax";s:4:"size";s:5:"24,40";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}s:1:"D";a:4:{s:4:"name";s:10:"tel_prefer";s:4:"size";s:16:"tel_fax,&hearts;";s:4:"type";s:5:"radio";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:5:{s:9:"accesskey";s:1:"m";s:5:"label";s:8:"More ...";s:7:"onclick";s:111:"jQuery(\'table.editphones\').css(\'display\',\'inline\'); if (window.showphones) showphones(this.form); return false;";s:4:"name";s:12:"button[more]";s:4:"type";s:6:"button";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:4;s:4:"rows";i:5;}}i:3;a:5:{s:4:"type";s:8:"groupbox";s:4:"size";s:1:"1";s:4:"span";s:11:",emailGroup";s:5:"label";s:16:"Email & Internet";i:1;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:2:{s:1:"A";s:2:"20";s:1:"B";s:3:"120";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"internet";}s:1:"B";a:3:{s:3:"for";s:3:"url";s:4:"type";s:5:"label";s:5:"label";s:3:"url";}s:1:"C";a:3:{s:4:"name";s:3:"url";s:4:"size";s:6:"28,128";s:4:"type";s:3:"url";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:8:"url_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:3:{s:4:"name";s:8:"url_home";s:4:"size";s:6:"28,128";s:4:"type";s:3:"url";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:9:"email.png";}s:1:"B";a:3:{s:3:"for";s:5:"email";s:4:"type";s:5:"label";s:5:"label";s:5:"email";}s:1:"C";a:4:{s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";s:4:"name";s:5:"email";s:4:"size";s:6:"28,128";s:4:"type";s:9:"url-email";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:3:"for";s:10:"email_home";s:4:"type";s:5:"label";s:5:"label";s:7:"Private";}s:1:"C";a:4:{s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";s:4:"name";s:10:"email_home";s:4:"size";s:6:"28,128";s:4:"type";s:9:"url-email";}}}s:4:"cols";i:3;s:4:"rows";i:4;}}}}i:4;a:2:{s:1:"A";a:9:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"7";i:1;a:4:{s:5:"label";s:4:"Edit";s:7:"onclick";s:189:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=460,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:12:"button[edit]";s:4:"type";s:6:"button";}i:2;a:4:{s:5:"label";s:4:"Copy";s:7:"onclick";s:198:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$cont[id]&makecp=1\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:12:"button[copy]";s:4:"type";s:6:"button";}i:3;a:4:{s:5:"label";s:5:"vCard";s:4:"name";s:13:"button[vcard]";s:4:"type";s:6:"button";s:4:"help";s:35:"download this contact as vCard file";}i:4;a:4:{s:9:"accesskey";s:1:"s";s:5:"label";s:4:"Save";s:4:"name";s:12:"button[save]";s:4:"type";s:6:"button";}i:5;a:3:{s:5:"label";s:5:"Apply";s:4:"name";s:13:"button[apply]";s:4:"type";s:6:"button";}i:6;a:4:{s:5:"label";s:6:"Cancel";s:7:"onclick";s:65:"if($cont[view] || false) return true; self.close(); return false;";s:4:"name";s:14:"button[cancel]";s:4:"type";s:6:"button";}i:7;a:5:{s:5:"label";s:31:"change all organisation members";s:4:"span";s:3:"all";s:4:"name";s:10:"change_org";s:4:"type";s:8:"checkbox";s:4:"help";s:73:"Apply changes to all members, whose fields have the same previous content";}}s:1:"B";a:6:{s:5:"align";s:5:"right";s:5:"label";s:6:"Delete";s:7:"onclick";s:65:"return confirm(\'Are you shure you want to delete this contact?\');";s:8:"tabindex";s:2:"25";s:4:"name";s:14:"button[delete]";s:4:"type";s:6:"button";}}}s:4:"cols";i:2;s:4:"rows";i:4;}}', 'size' => '', 'style' => '', 'modified' => '1375194166',);
28 28
 
29
-$templ_data[] = array('name' => 'addressbook.edit.access','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c2";s:4:",top";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:20:"Publish into groups:";}s:1:"B";a:3:{s:4:"type";s:6:"manual";s:7:"onclick";s:13:"return false;";s:4:"name";s:30:"ManualAddressbookPublishgroups";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:6:"select";s:4:"size";s:1:"5";s:4:"name";s:16:"published_groups";s:4:"span";s:3:"all";s:7:"no_lang";s:1:"1";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}','size' => ',250','style' => '','modified' => '1140005589',);
29
+$templ_data[] = array('name' => 'addressbook.edit.access', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c2";s:4:",top";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:20:"Publish into groups:";}s:1:"B";a:3:{s:4:"type";s:6:"manual";s:7:"onclick";s:13:"return false;";s:4:"name";s:30:"ManualAddressbookPublishgroups";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:6:"select";s:4:"size";s:1:"5";s:4:"name";s:16:"published_groups";s:4:"span";s:3:"all";s:7:"no_lang";s:1:"1";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:4:"size";s:4:",250";s:7:"options";a:1:{i:1;s:3:"250";}}}', 'size' => ',250', 'style' => '', 'modified' => '1140005589',);
30 30
 
31
-$templ_data[] = array('name' => 'addressbook.edit.cats','template' => '','lang' => '','group' => '0','version' => '1.9.002','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:3:{s:2:"c1";s:4:",top";s:1:"C";s:14:",@cat_tab=Tree";s:1:"D";s:15:",!@cat_tab=Tree";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:14:"013,,width:99%";}s:1:"D";a:3:{s:4:"type";s:8:"tree-cat";s:4:"name";s:11:"cat_id_tree";s:4:"size";s:13:"13,,width:99%";}}}s:4:"rows";i:1;s:4:"cols";i:4;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}','size' => '100%,286,,,,,auto','style' => '','modified' => '1360234197',);
31
+$templ_data[] = array('name' => 'addressbook.edit.cats', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.002', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:3:{s:2:"c1";s:4:",top";s:1:"C";s:14:",@cat_tab=Tree";s:1:"D";s:15:",!@cat_tab=Tree";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:14:"013,,width:99%";}s:1:"D";a:3:{s:4:"type";s:8:"tree-cat";s:4:"name";s:11:"cat_id_tree";s:4:"size";s:13:"13,,width:99%";}}}s:4:"rows";i:1;s:4:"cols";i:4;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}', 'size' => '100%,286,,,,,auto', 'style' => '', 'modified' => '1360234197',);
32 32
 
33
-$templ_data[] = array('name' => 'addressbook.edit.custom','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"h2";s:4:"100%";s:2:"h1";s:2:"20";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Custom fields";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:12:"customfields";s:4:"size";s:32:"$cont[tid],$cont[no_private_cfs]";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:25:"100%,286,,row_on,0,0,auto";s:7:"options";a:6:{i:3;s:6:"row_on";i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";i:4;s:1:"0";i:5;s:1:"0";}}}','size' => '100%,286,,row_on,0,0,auto','style' => '','modified' => '1200540144',);
33
+$templ_data[] = array('name' => 'addressbook.edit.custom', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"h2";s:4:"100%";s:2:"h1";s:2:"20";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Custom fields";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:12:"customfields";s:4:"size";s:32:"$cont[tid],$cont[no_private_cfs]";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:25:"100%,286,,row_on,0,0,auto";s:7:"options";a:6:{i:3;s:6:"row_on";i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";i:4;s:1:"0";i:5;s:1:"0";}}}', 'size' => '100%,286,,row_on,0,0,auto', 'style' => '', 'modified' => '1200540144',);
34 34
 
35
-$templ_data[] = array('name' => 'addressbook.edit.custom_private','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"h2";s:4:"100%";s:2:"h1";s:2:"20";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Custom fields";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:12:"customfields";s:4:"size";s:12:"$cont[tid],1";s:4:"name";s:11:"private_cfs";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:25:"100%,286,,row_on,0,0,auto";s:7:"options";a:6:{i:3;s:6:"row_on";i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";i:4;s:1:"0";i:5;s:1:"0";}}}','size' => '100%,286,,row_on,0,0,auto','style' => '','modified' => '1200540111',);
35
+$templ_data[] = array('name' => 'addressbook.edit.custom_private', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"h2";s:4:"100%";s:2:"h1";s:2:"20";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Custom fields";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:12:"customfields";s:4:"size";s:12:"$cont[tid],1";s:4:"name";s:11:"private_cfs";}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:25:"100%,286,,row_on,0,0,auto";s:7:"options";a:6:{i:3;s:6:"row_on";i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";i:4;s:1:"0";i:5;s:1:"0";}}}', 'size' => '100%,286,,row_on,0,0,auto', 'style' => '', 'modified' => '1200540111',);
36 36
 
37
-$templ_data[] = array('name' => 'addressbook.edit.details','template' => '','lang' => '','group' => '0','version' => '1.9.002','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:2:"c1";s:4:",top";s:2:"c2";s:11:"row_off,top";s:2:"h1";s:9:",@cat_tab";s:2:"c6";s:6:"row_on";s:2:"c5";s:11:"row_off,top";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:12:"3,,width:99%";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"edit";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Notes";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"6,50";s:4:"name";s:4:"note";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Last date";}s:1:"C";a:2:{s:4:"type";s:4:"link";s:4:"name";s:9:"last_link";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Next date";}s:1:"C";a:2:{s:4:"type";s:4:"link";s:4:"name";s:9:"next_link";}}i:5;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:1:"1";s:5:"label";s:7:"Created";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:8:"readonly";s:1:"1";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:14:"select-account";s:4:"name";s:7:"creator";s:8:"readonly";s:1:"1";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"name";s:7:"creator";s:8:"readonly";s:1:"1";s:4:"span";s:9:",leftPad5";}}i:2;a:4:{s:4:"type";s:9:"date-time";s:4:"name";s:7:"created";s:4:"span";s:9:",leftPad5";s:8:"readonly";s:1:"1";}}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Last modified";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:8:"readonly";s:1:"1";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:14:"select-account";s:4:"name";s:8:"modifier";s:8:"readonly";s:1:"1";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"name";s:7:"creator";s:8:"readonly";s:1:"1";s:4:"span";s:9:",leftPad5";}}i:2;a:4:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"modified";s:4:"span";s:9:",leftPad5";s:8:"readonly";s:1:"1";}}}}s:4:"rows";i:6;s:4:"cols";i:3;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}','size' => '100%,286,,,,,auto','style' => '','modified' => '1165511695',);
37
+$templ_data[] = array('name' => 'addressbook.edit.details', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.002', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:2:"c1";s:4:",top";s:2:"c2";s:11:"row_off,top";s:2:"h1";s:9:",@cat_tab";s:2:"c6";s:6:"row_on";s:2:"c5";s:11:"row_off,top";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:12:"3,,width:99%";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"edit";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Notes";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"6,50";s:4:"name";s:4:"note";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Last date";}s:1:"C";a:2:{s:4:"type";s:4:"link";s:4:"name";s:9:"last_link";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Next date";}s:1:"C";a:2:{s:4:"type";s:4:"link";s:4:"name";s:9:"next_link";}}i:5;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:1:"1";s:5:"label";s:7:"Created";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:8:"readonly";s:1:"1";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:14:"select-account";s:4:"name";s:7:"creator";s:8:"readonly";s:1:"1";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"name";s:7:"creator";s:8:"readonly";s:1:"1";s:4:"span";s:9:",leftPad5";}}i:2;a:4:{s:4:"type";s:9:"date-time";s:4:"name";s:7:"created";s:4:"span";s:9:",leftPad5";s:8:"readonly";s:1:"1";}}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"Last modified";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:8:"readonly";s:1:"1";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:14:"select-account";s:4:"name";s:8:"modifier";s:8:"readonly";s:1:"1";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"name";s:7:"creator";s:8:"readonly";s:1:"1";s:4:"span";s:9:",leftPad5";}}i:2;a:4:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"modified";s:4:"span";s:9:",leftPad5";s:8:"readonly";s:1:"1";}}}}s:4:"rows";i:6;s:4:"cols";i:3;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}', 'size' => '100%,286,,,,,auto', 'style' => '', 'modified' => '1165511695',);
38 38
 
39
-$templ_data[] = array('name' => 'addressbook.edit.distribution_list','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:18:"Distribution lists";}}i:2;a:1:{s:1:"A";a:5:{s:4:"type";s:4:"grid";s:7:"options";a:0:{}s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:4:"name";s:13:"distrib_lists";}}}s:4:"rows";i:1;s:4:"cols";i:1;}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}','size' => '100%,286,,,,,auto','style' => '','modified' => '1200059576',);
39
+$templ_data[] = array('name' => 'addressbook.edit.distribution_list', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:18:"Distribution lists";}}i:2;a:1:{s:1:"A";a:5:{s:4:"type";s:4:"grid";s:7:"options";a:0:{}s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"span";s:3:"all";s:4:"name";s:13:"distrib_lists";}}}s:4:"rows";i:1;s:4:"cols";i:1;}}}s:4:"rows";i:2;s:4:"cols";i:1;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}', 'size' => '100%,286,,,,,auto', 'style' => '', 'modified' => '1200059576',);
40 40
 
41
-$templ_data[] = array('name' => 'addressbook.edit.general','template' => '','lang' => '','group' => '0','version' => '1.9.003','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:11:{i:0;a:7:{s:2:"c1";s:4:",top";s:3:"c10";s:7:",bottom";s:3:"h10";s:2:"25";s:2:"h9";s:34:",!@addr_format=city_state_postcode";s:2:"h8";s:34:",!@addr_format=city_state_postcode";s:2:"h6";s:33:",@addr_format=city_state_postcode";s:2:"h7";s:33:",@addr_format=city_state_postcode";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:5:"image";s:4:"name";s:5:"photo";s:4:"span";s:6:",photo";s:7:"onclick";s:66:"jQuery(\'table.uploadphoto\').css(\'display\',\'inline\'); return false;";}i:2;a:2:{s:4:"type";s:8:"template";s:4:"name";s:23:"addressbook.edit.upload";}}s:1:"C";a:49:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Name";}s:1:"B";a:9:{s:4:"type";s:4:"text";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:11:",!@org_name";s:1:"B";s:11:",!@org_name";}i:1;a:3:{s:1:"A";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:1:":";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:7:"onclick";s:245:"jQuery(\'table.editname\').css(\'display\',\'inline\'); var focElem = document.getElementById(form::name(\'n_prefix\')); if (!(typeof(focElem) == \'undefined\') && typeof(focElem.focus)==\'function\') document.getElementById(form::name(\'n_prefix\')).focus();";s:4:"size";s:3:"-36";s:4:"span";s:12:"2,cursorHand";s:8:"readonly";s:1:"1";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",contactid";s:4:"name";s:2:"id";}}i:2;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:8:"template";s:4:"name";s:21:"addressbook.edit.name";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:3;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:8:",,,title";s:5:"label";s:5:"Title";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"name";s:5:"title";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:4;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:7:",,,role";s:5:"label";s:4:"Role";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"20,64";s:4:"name";s:4:"role";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:4:"Room";s:4:"name";s:4:"room";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:4;s:7:"no_lang";s:1:"1";i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}s:7:"options";a:0:{}}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Organisation";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:4:"size";s:6:"45,128";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"department";s:4:"size";s:11:",,,org_unit";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_unit";s:4:"size";s:5:"45,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:4;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";s:4:"size";s:17:",,,adr_one_street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:14:"adr_one_street";}}i:5;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:15:"adr_one_street2";s:4:"help";s:14:"address line 2";}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_one_locality";}s:1:"C";a:47:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_one_postalcode";s:4:"help";s:8:"ZIP Code";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"35,64";s:4:"name";s:16:"adr_one_locality";s:4:"help";s:4:"City";s:4:"span";s:9:",leftPad5";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}}}i:7;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_one_countryname";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_one_countrycode";s:4:"span";s:14:",countrySelect";s:8:"onchange";s:26:"show_custom_country(this);";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_one_countryname";s:4:"span";s:15:",custom_country";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:5:"19,64";s:4:"name";s:14:"adr_one_region";s:4:"help";s:5:"State";}}}i:8;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"City";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"30,64";s:4:"name";s:16:"adr_one_locality";s:4:"help";s:4:"City";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:4:"3,64";s:4:"name";s:14:"adr_one_region";s:4:"help";s:5:"State";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_one_postalcode";s:4:"help";s:8:"ZIP Code";s:4:"span";s:9:",leftPad5";}}}i:9;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_one_countryname";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_one_countrycode";s:8:"onchange";s:26:"show_custom_country(this);";s:4:"span";s:14:",countrySelect";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_one_countryname";s:4:"span";s:15:",custom_country";}}}i:10;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Addressbook";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:4:"name";s:5:"owner";s:4:"help";s:42:"Addressbook the contact should be saved to";s:7:"no_lang";s:1:"1";s:4:"span";s:6:",owner";}}}s:4:"rows";i:10;s:4:"cols";i:3;s:4:"size";s:8:"100%,286";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"286";}}}','size' => '100%,286','style' => '','modified' => '1285754805',);
41
+$templ_data[] = array('name' => 'addressbook.edit.general', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.003', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:11:{i:0;a:7:{s:2:"c1";s:4:",top";s:3:"c10";s:7:",bottom";s:3:"h10";s:2:"25";s:2:"h9";s:34:",!@addr_format=city_state_postcode";s:2:"h8";s:34:",!@addr_format=city_state_postcode";s:2:"h6";s:33:",@addr_format=city_state_postcode";s:2:"h7";s:33:",@addr_format=city_state_postcode";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:5:"image";s:4:"name";s:5:"photo";s:4:"span";s:6:",photo";s:7:"onclick";s:66:"jQuery(\'table.uploadphoto\').css(\'display\',\'inline\'); return false;";}i:2;a:2:{s:4:"type";s:8:"template";s:4:"name";s:23:"addressbook.edit.upload";}}s:1:"C";a:49:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Name";}s:1:"B";a:9:{s:4:"type";s:4:"text";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:11:",!@org_name";s:1:"B";s:11:",!@org_name";}i:1;a:3:{s:1:"A";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:1:":";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:7:"onclick";s:245:"jQuery(\'table.editname\').css(\'display\',\'inline\'); var focElem = document.getElementById(form::name(\'n_prefix\')); if (!(typeof(focElem) == \'undefined\') && typeof(focElem.focus)==\'function\') document.getElementById(form::name(\'n_prefix\')).focus();";s:4:"size";s:3:"-36";s:4:"span";s:12:"2,cursorHand";s:8:"readonly";s:1:"1";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:3:{s:4:"type";s:5:"label";s:4:"span";s:10:",contactid";s:4:"name";s:2:"id";}}i:2;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:8:"template";s:4:"name";s:21:"addressbook.edit.name";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:3;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:8:",,,title";s:5:"label";s:5:"Title";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"name";s:5:"title";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}i:4;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:7:",,,role";s:5:"label";s:4:"Role";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"20,64";s:4:"name";s:4:"role";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:4:"Room";s:4:"name";s:4:"room";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:4;s:7:"no_lang";s:1:"1";i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}s:7:"options";a:0:{}}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Organisation";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:4:"size";s:6:"45,128";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"department";s:4:"size";s:11:",,,org_unit";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_unit";s:4:"size";s:5:"45,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:4;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";s:4:"size";s:17:",,,adr_one_street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:14:"adr_one_street";}}i:5;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:15:"adr_one_street2";s:4:"help";s:14:"address line 2";}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_one_locality";}s:1:"C";a:47:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_one_postalcode";s:4:"help";s:8:"ZIP Code";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"35,64";s:4:"name";s:16:"adr_one_locality";s:4:"help";s:4:"City";s:4:"span";s:9:",leftPad5";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}}}i:7;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_one_countryname";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_one_countrycode";s:4:"span";s:14:",countrySelect";s:8:"onchange";s:26:"show_custom_country(this);";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_one_countryname";s:4:"span";s:15:",custom_country";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:5:"19,64";s:4:"name";s:14:"adr_one_region";s:4:"help";s:5:"State";}}}i:8;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"City";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"30,64";s:4:"name";s:16:"adr_one_locality";s:4:"help";s:4:"City";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:4:"3,64";s:4:"name";s:14:"adr_one_region";s:4:"help";s:5:"State";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_one_postalcode";s:4:"help";s:8:"ZIP Code";s:4:"span";s:9:",leftPad5";}}}i:9;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_one_countryname";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_one_countrycode";s:8:"onchange";s:26:"show_custom_country(this);";s:4:"span";s:14:",countrySelect";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_one_countryname";s:4:"span";s:15:",custom_country";}}}i:10;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Addressbook";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:4:"name";s:5:"owner";s:4:"help";s:42:"Addressbook the contact should be saved to";s:7:"no_lang";s:1:"1";s:4:"span";s:6:",owner";}}}s:4:"rows";i:10;s:4:"cols";i:3;s:4:"size";s:8:"100%,286";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"286";}}}', 'size' => '100%,286', 'style' => '', 'modified' => '1285754805',);
42 42
 
43
-$templ_data[] = array('name' => 'addressbook.edit.history','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:10:"historylog";s:4:"name";s:7:"history";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}','size' => '100%,286,,,,,auto','style' => '','modified' => '1265051832',);
43
+$templ_data[] = array('name' => 'addressbook.edit.history', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:10:"historylog";s:4:"name";s:7:"history";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}', 'size' => '100%,286,,,,,auto', 'style' => '', 'modified' => '1265051832',);
44 44
 
45
-$templ_data[] = array('name' => 'addressbook.edit.home','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:6:{s:2:"h5";s:35:",!@addr_format2=city_state_postcode";s:2:"c8";s:4:",top";s:2:"h7";s:2:"30";s:2:"h6";s:35:",!@addr_format2=city_state_postcode";s:2:"h4";s:34:",@addr_format2=city_state_postcode";s:2:"h3";s:34:",@addr_format2=city_state_postcode";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";s:4:"size";s:17:",,,adr_two_street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:14:"adr_two_street";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"size";s:18:",,,adr_two_street2";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:15:"adr_two_street2";s:4:"help";s:14:"address line 2";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_two_locality";}s:1:"C";a:47:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_two_postalcode";s:4:"help";s:8:"ZIP Code";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"35,64";s:4:"name";s:16:"adr_two_locality";s:4:"help";s:4:"City";s:4:"span";s:9:",leftPad5";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_two_countryname";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_two_countrycode";s:4:"span";s:14:",countrySelect";s:8:"onchange";s:26:"show_custom_country(this);";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_two_countryname";s:4:"span";s:15:",custom_country";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:5:"19,64";s:4:"name";s:14:"adr_two_region";s:4:"help";s:5:"State";}}}i:5;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_two_locality";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"30,64";s:4:"name";s:16:"adr_two_locality";s:4:"help";s:4:"City";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:4:"3,64";s:4:"name";s:14:"adr_two_region";s:4:"help";s:5:"State";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_two_postalcode";s:4:"help";s:8:"ZIP Code";s:4:"span";s:9:",leftPad5";}}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Country";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_two_countrycode";s:8:"onchange";s:26:"show_custom_country(this);";s:4:"span";s:14:",countrySelect";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_two_countryname";s:4:"span";s:15:",custom_country";}}}i:7;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"size";s:7:",,,bday";s:5:"label";s:8:"Birthday";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";i:1;a:3:{s:4:"type";s:4:"date";s:4:"size";s:5:"Y-m-d";s:4:"name";s:4:"bday";}s:4:"size";s:6:"2,,0,0";i:2;a:5:{s:4:"type";s:6:"select";s:4:"name";s:2:"tz";s:7:"no_lang";s:1:"1";s:5:"label";s:8:"Timezone";s:5:"align";s:5:"right";}}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"Public key";s:4:"size";s:9:",,,pubkey";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,40";s:4:"name";s:6:"pubkey";}}}s:4:"rows";i:8;s:4:"cols";i:3;s:4:"size";s:8:"100%,286";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"286";}}}','size' => '100%,286','style' => '','modified' => '1178179149',);
45
+$templ_data[] = array('name' => 'addressbook.edit.home', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:6:{s:2:"h5";s:35:",!@addr_format2=city_state_postcode";s:2:"c8";s:4:",top";s:2:"h7";s:2:"30";s:2:"h6";s:35:",!@addr_format2=city_state_postcode";s:2:"h4";s:34:",@addr_format2=city_state_postcode";s:2:"h3";s:34:",@addr_format2=city_state_postcode";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";s:4:"size";s:17:",,,adr_two_street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:14:"adr_two_street";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:4:"size";s:18:",,,adr_two_street2";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:15:"adr_two_street2";s:4:"help";s:14:"address line 2";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_two_locality";}s:1:"C";a:47:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_two_postalcode";s:4:"help";s:8:"ZIP Code";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"35,64";s:4:"name";s:16:"adr_two_locality";s:4:"help";s:4:"City";s:4:"span";s:9:",leftPad5";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_two_countryname";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_two_countrycode";s:4:"span";s:14:",countrySelect";s:8:"onchange";s:26:"show_custom_country(this);";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_two_countryname";s:4:"span";s:15:",custom_country";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:5:"19,64";s:4:"name";s:14:"adr_two_region";s:4:"help";s:5:"State";}}}i:5;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_two_locality";}s:1:"C";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"3,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"30,64";s:4:"name";s:16:"adr_two_locality";s:4:"help";s:4:"City";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:4:"3,64";s:4:"name";s:14:"adr_two_region";s:4:"help";s:5:"State";}i:3;a:5:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_two_postalcode";s:4:"help";s:8:"ZIP Code";s:4:"span";s:9:",leftPad5";}}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:7:"Country";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:5:{s:4:"type";s:14:"select-country";s:4:"size";s:14:"Select one,0,1";s:4:"name";s:19:"adr_two_countrycode";s:8:"onchange";s:26:"show_custom_country(this);";s:4:"span";s:14:",countrySelect";}i:2;a:3:{s:4:"type";s:4:"text";s:4:"name";s:19:"adr_two_countryname";s:4:"span";s:15:",custom_country";}}}i:7;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"gear";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"size";s:7:",,,bday";s:5:"label";s:8:"Birthday";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";i:1;a:3:{s:4:"type";s:4:"date";s:4:"size";s:5:"Y-m-d";s:4:"name";s:4:"bday";}s:4:"size";s:6:"2,,0,0";i:2;a:5:{s:4:"type";s:6:"select";s:4:"name";s:2:"tz";s:7:"no_lang";s:1:"1";s:5:"label";s:8:"Timezone";s:5:"align";s:5:"right";}}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"Public key";s:4:"size";s:9:",,,pubkey";}s:1:"C";a:3:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,40";s:4:"name";s:6:"pubkey";}}}s:4:"rows";i:8;s:4:"cols";i:3;s:4:"size";s:8:"100%,286";s:7:"options";a:2:{i:0;s:4:"100%";i:1;s:3:"286";}}}', 'size' => '100%,286', 'style' => '', 'modified' => '1178179149',);
46 46
 
47
-$templ_data[] = array('name' => 'addressbook.edit.links','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:2:"c3";s:2:"th";s:2:"h1";s:6:",@view";s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:16:"Create new links";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:7:"link-to";s:4:"name";s:7:"link_to";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Existing links";}}i:4;a:1:{s:1:"A";a:2:{s:4:"type";s:9:"link-list";s:4:"name";s:7:"link_to";}}}s:4:"rows";i:4;s:4:"cols";i:1;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}','size' => '100%,286,,,,,auto','style' => '','modified' => '1131900825',);
47
+$templ_data[] = array('name' => 'addressbook.edit.links', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:2:"c3";s:2:"th";s:2:"h1";s:6:",@view";s:2:"c1";s:2:"th";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:16:"Create new links";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:7:"link-to";s:4:"name";s:7:"link_to";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Existing links";}}i:4;a:1:{s:1:"A";a:2:{s:4:"type";s:9:"link-list";s:4:"name";s:7:"link_to";}}}s:4:"rows";i:4;s:4:"cols";i:1;s:4:"size";s:17:"100%,286,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"286";i:6;s:4:"auto";}}}', 'size' => '100%,286,,,,,auto', 'style' => '', 'modified' => '1131900825',);
48 48
 
49
-$templ_data[] = array('name' => 'addressbook.edit.name','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:1:{s:1:"A";s:3:"20%";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_prefix";s:5:"label";s:6:"prefix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_prefix";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"first name";s:4:"size";s:10:",,,n_given";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_middle";s:5:"label";s:11:"middle name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_middle";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_family";s:5:"label";s:9:"last name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:5;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_suffix";s:5:"label";s:6:"suffix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_suffix";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:6;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:4:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:165:"jQuery(\'table.editname\').css(\'display\',\'none\'); if(document.getElementById(form::name(\'title\'))){document.getElementById(form::name(\'title\')).focus();} return false;";s:4:"name";s:10:"button[ok]";}}}s:4:"rows";i:6;s:4:"cols";i:2;s:4:"size";s:17:"310,160,,editname";s:7:"options";a:3:{i:3;s:8:"editname";i:0;s:3:"310";i:1;s:3:"160";}}}','size' => '310,160,,editname','style' => '','modified' => '1165488941',);
49
+$templ_data[] = array('name' => 'addressbook.edit.name', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:1:{s:1:"A";s:3:"20%";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_prefix";s:5:"label";s:6:"prefix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_prefix";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"first name";s:4:"size";s:10:",,,n_given";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_middle";s:5:"label";s:11:"middle name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_middle";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_family";s:5:"label";s:9:"last name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:5;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_suffix";s:5:"label";s:6:"suffix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_suffix";s:4:"size";s:5:"35,64";s:8:"onchange";s:30:"check_value(this,\'$cont[id]\');";}}i:6;a:2:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:4:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:165:"jQuery(\'table.editname\').css(\'display\',\'none\'); if(document.getElementById(form::name(\'title\'))){document.getElementById(form::name(\'title\')).focus();} return false;";s:4:"name";s:10:"button[ok]";}}}s:4:"rows";i:6;s:4:"cols";i:2;s:4:"size";s:17:"310,160,,editname";s:7:"options";a:3:{i:3;s:8:"editname";i:0;s:3:"310";i:1;s:3:"160";}}}', 'size' => '310,160,,editname', 'style' => '', 'modified' => '1165488941',);
50 50
 
51
-$templ_data[] = array('name' => 'addressbook.edit.organisation','template' => '','lang' => '','group' => '0','version' => '1.3.004','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:3:{s:2:"c1";s:4:",top";s:2:"h8";s:2:"30";s:2:"c8";s:7:",bottom";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:5:"image";s:4:"name";s:5:"photo";s:4:"span";s:6:",photo";s:7:"onclick";s:75:"set_style_by_class(\'table\',\'uploadphoto\',\'display\',\'inline\'); return false;";}i:2;a:2:{s:4:"type";s:8:"template";s:4:"name";s:23:"addressbook.edit.upload";}}s:1:"C";a:50:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Name";}s:1:"B";a:10:{s:4:"type";s:4:"text";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:11:",!@org_name";s:1:"B";s:11:",!@org_name";}i:1;a:3:{s:1:"A";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:1:":";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"cols";i:3;s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";s:7:"onclick";s:58:"set_style_by_class(\'table\',\'editname\',\'display\',\'inline\');";s:4:"size";s:2:"35";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:8:",,,title";s:5:"label";s:5:"Title";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"35,64";s:4:"name";s:5:"title";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:7:",,,role";s:5:"label";s:4:"Role";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"20,64";s:4:"name";s:4:"role";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:4:"Room";s:4:"name";s:4:"room";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:8:"template";s:4:"name";s:22:"addressbook.edit.namex";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}s:7:"options";a:3:{i:3;s:1:"0";i:0;s:1:"2";i:2;s:1:"0";}}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Organisation";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:4:"size";s:5:"45,64";s:8:"onchange";s:14:"setName(this);";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"department";s:4:"size";s:11:",,,org_unit";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_unit";s:4:"size";s:5:"45,64";}}i:4;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";s:4:"size";s:17:",,,adr_one_street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:14:"adr_one_street";}}i:5;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"address line 2";s:4:"size";s:18:",,,adr_one_street2";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:15:"adr_one_street2";}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_one_locality";}s:1:"C";a:47:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_one_postalcode";s:4:"help";s:8:"ZIP Code";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"name";s:16:"adr_one_locality";s:4:"help";s:4:"City";s:4:"span";s:9:",leftPad5";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}}}i:7;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_one_countryname";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:14:"select-country";s:4:"size";s:12:"Select one,1";s:4:"name";s:19:"adr_one_countryname";s:4:"span";s:14:",countrySelect";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:5:"20,64";s:4:"name";s:14:"adr_one_region";s:4:"help";s:5:"State";}}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:7:"private";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Addressbook";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:4:"name";s:5:"owner";s:4:"help";s:42:"Addressbook the contact should be saved to";s:7:"no_lang";s:1:"1";s:4:"span";s:6:",owner";}}}s:4:"rows";i:8;s:4:"cols";i:3;s:4:"size";s:4:",258";s:7:"options";a:1:{i:1;s:3:"258";}}}','size' => ',258','style' => '','modified' => '1165501094',);
51
+$templ_data[] = array('name' => 'addressbook.edit.organisation', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.3.004', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:9:{i:0;a:3:{s:2:"c1";s:4:",top";s:2:"h8";s:2:"30";s:2:"c8";s:7:",bottom";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:5:"image";s:4:"name";s:5:"photo";s:4:"span";s:6:",photo";s:7:"onclick";s:75:"set_style_by_class(\'table\',\'uploadphoto\',\'display\',\'inline\'); return false;";}i:2;a:2:{s:4:"type";s:8:"template";s:4:"name";s:23:"addressbook.edit.upload";}}s:1:"C";a:50:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"Name";}s:1:"B";a:10:{s:4:"type";s:4:"text";s:4:"data";a:2:{i:0;a:2:{s:1:"A";s:11:",!@org_name";s:1:"B";s:11:",!@org_name";}i:1;a:3:{s:1:"A";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:1:":";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"cols";i:3;s:4:"name";s:4:"n_fn";s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";s:7:"onclick";s:58:"set_style_by_class(\'table\',\'editname\',\'display\',\'inline\');";s:4:"size";s:2:"35";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:8:",,,title";s:5:"label";s:5:"Title";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"35,64";s:4:"name";s:5:"title";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:7:",,,role";s:5:"label";s:4:"Role";}s:1:"B";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"20,64";s:4:"name";s:4:"role";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:1:"5";s:5:"label";s:4:"Room";s:4:"name";s:4:"room";}}i:4;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:8:"template";s:4:"name";s:22:"addressbook.edit.namex";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:7:"no_lang";s:1:"1";s:8:"readonly";s:1:"1";i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}s:7:"options";a:3:{i:3;s:1:"0";i:0;s:1:"2";i:2;s:1:"0";}}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:12:"Organisation";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_name";s:4:"size";s:5:"45,64";s:8:"onchange";s:14:"setName(this);";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"department";s:4:"size";s:11:",,,org_unit";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"name";s:8:"org_unit";s:4:"size";s:5:"45,64";}}i:4;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"street";s:4:"size";s:17:",,,adr_one_street";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:14:"adr_one_street";}}i:5;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"address line 2";s:4:"size";s:18:",,,adr_one_street2";}s:1:"C";a:3:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:15:"adr_one_street2";}}i:6;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"city";s:4:"size";s:19:",,,adr_one_locality";}s:1:"C";a:47:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:4:"text";s:4:"size";s:4:"5,64";s:4:"name";s:18:"adr_one_postalcode";s:4:"help";s:8:"ZIP Code";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"size";s:5:"36,64";s:4:"name";s:16:"adr_one_locality";s:4:"help";s:4:"City";s:4:"span";s:9:",leftPad5";}i:3;a:1:{s:4:"type";s:5:"label";}i:4;a:1:{s:4:"type";s:5:"label";}i:5;a:1:{s:4:"type";s:5:"label";}i:6;a:1:{s:4:"type";s:5:"label";}i:7;a:1:{s:4:"type";s:5:"label";}i:8;a:1:{s:4:"type";s:5:"label";}i:9;a:1:{s:4:"type";s:5:"label";}i:10;a:1:{s:4:"type";s:5:"label";}i:11;a:1:{s:4:"type";s:5:"label";}i:12;a:1:{s:4:"type";s:5:"label";}i:13;a:1:{s:4:"type";s:5:"label";}i:14;a:1:{s:4:"type";s:5:"label";}i:15;a:1:{s:4:"type";s:5:"label";}i:16;a:1:{s:4:"type";s:5:"label";}i:17;a:1:{s:4:"type";s:5:"label";}i:18;a:1:{s:4:"type";s:5:"label";}i:19;a:1:{s:4:"type";s:5:"label";}i:20;a:1:{s:4:"type";s:5:"label";}i:21;a:1:{s:4:"type";s:5:"label";}i:22;a:1:{s:4:"type";s:5:"label";}i:23;a:1:{s:4:"type";s:5:"label";}i:24;a:1:{s:4:"type";s:5:"label";}i:25;a:1:{s:4:"type";s:5:"label";}i:26;a:1:{s:4:"type";s:5:"label";}i:27;a:1:{s:4:"type";s:5:"label";}i:28;a:1:{s:4:"type";s:5:"label";}i:29;a:1:{s:4:"type";s:5:"label";}i:30;a:1:{s:4:"type";s:5:"label";}i:31;a:1:{s:4:"type";s:5:"label";}i:32;a:1:{s:4:"type";s:5:"label";}i:33;a:1:{s:4:"type";s:5:"label";}i:34;a:1:{s:4:"type";s:5:"label";}i:35;a:1:{s:4:"type";s:5:"label";}i:36;a:1:{s:4:"type";s:5:"label";}i:37;a:1:{s:4:"type";s:5:"label";}i:38;a:1:{s:4:"type";s:5:"label";}i:39;a:1:{s:4:"type";s:5:"label";}i:40;a:1:{s:4:"type";s:5:"label";}i:41;a:1:{s:4:"type";s:5:"label";}i:42;a:1:{s:4:"type";s:5:"label";}i:43;a:1:{s:4:"type";s:5:"label";}i:44;a:1:{s:4:"type";s:5:"label";}i:45;a:1:{s:4:"type";s:5:"label";}}}i:7;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:7:"country";s:4:"size";s:22:",,,adr_one_countryname";}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:14:"select-country";s:4:"size";s:12:"Select one,1";s:4:"name";s:19:"adr_one_countryname";s:4:"span";s:14:",countrySelect";}i:2;a:5:{s:4:"type";s:4:"text";s:4:"span";s:9:",leftPad5";s:4:"size";s:5:"20,64";s:4:"name";s:14:"adr_one_region";s:4:"help";s:5:"State";}}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:7:"private";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Addressbook";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:4:"name";s:5:"owner";s:4:"help";s:42:"Addressbook the contact should be saved to";s:7:"no_lang";s:1:"1";s:4:"span";s:6:",owner";}}}s:4:"rows";i:8;s:4:"cols";i:3;s:4:"size";s:4:",258";s:7:"options";a:1:{i:1;s:3:"258";}}}', 'size' => ',258', 'style' => '', 'modified' => '1165501094',);
52 52
 
53
-$templ_data[] = array('name' => 'addressbook.edit.personal','template' => '','lang' => '','group' => '0','version' => '1.3.002','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"c1";s:4:",top";s:2:"h2";s:2:"28";s:2:"c3";s:4:",top";s:2:"h3";s:2:"70";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:3:{s:4:"type";s:5:"image";s:4:"name";s:5:"photo";s:4:"span";s:6:",photo";}i:2;a:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"change";s:4:"name";s:12:"change_photo";s:4:"help";s:26:"Upload or delete the photo";s:7:"onclick";s:75:"set_style_by_class(\'table\',\'uploadphoto\',\'display\',\'inline\'); return false;";}i:3;a:2:{s:4:"type";s:8:"template";s:4:"name";s:6:"upload";}}s:1:"C";a:5:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:1:{s:1:"A";s:3:"20%";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_prefix";s:5:"label";s:6:"prefix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_prefix";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"first name";s:4:"size";s:10:",,,n_given";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_middle";s:5:"label";s:11:"middle name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_middle";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_family";s:5:"label";s:9:"last name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:5;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_suffix";s:5:"label";s:6:"suffix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_suffix";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}}s:4:"rows";i:5;s:4:"cols";i:2;s:7:"options";a:0:{}}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"organisation";s:4:"size";s:11:",,,org_name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:8:"org_name";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"category";}s:1:"C";a:4:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:12:"3,,width:99%";s:4:"span";s:1:"4";}}i:4;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Addressbook";s:4:"size";s:8:",,,owner";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:4:"name";s:5:"owner";s:4:"help";s:42:"Addressbook the contact should be saved to";s:7:"no_lang";s:1:"1";s:4:"span";s:6:",owner";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:4:"size";s:4:",258";s:7:"options";a:1:{i:1;s:3:"258";}}}','size' => ',258','style' => '','modified' => '1130404323',);
53
+$templ_data[] = array('name' => 'addressbook.edit.personal', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.3.002', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"c1";s:4:",top";s:2:"h2";s:2:"28";s:2:"c3";s:4:",top";s:2:"h3";s:2:"70";}i:1;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"accounts";}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:3:{s:4:"type";s:5:"image";s:4:"name";s:5:"photo";s:4:"span";s:6:",photo";}i:2;a:5:{s:4:"type";s:6:"button";s:5:"label";s:6:"change";s:4:"name";s:12:"change_photo";s:4:"help";s:26:"Upload or delete the photo";s:7:"onclick";s:75:"set_style_by_class(\'table\',\'uploadphoto\',\'display\',\'inline\'); return false;";}i:3;a:2:{s:4:"type";s:8:"template";s:4:"name";s:6:"upload";}}s:1:"C";a:5:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:1:{s:1:"A";s:3:"20%";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_prefix";s:5:"label";s:6:"prefix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_prefix";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:2;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:10:"first name";s:4:"size";s:10:",,,n_given";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:7:"n_given";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:3;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_middle";s:5:"label";s:11:"middle name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_middle";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:4;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_family";s:5:"label";s:9:"last name";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_family";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:5;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:11:",,,n_suffix";s:5:"label";s:6:"suffix";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"name";s:8:"n_suffix";s:4:"size";s:5:"35,64";s:8:"onchange";s:23:"setFileasOptions(this);";}}}s:4:"rows";i:5;s:4:"cols";i:2;s:7:"options";a:0:{}}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:4:"home";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"organisation";s:4:"size";s:11:",,,org_name";}s:1:"C";a:4:{s:4:"type";s:4:"text";s:4:"size";s:5:"45,64";s:4:"name";s:8:"org_name";s:8:"onchange";s:23:"setFileasOptions(this);";}}i:3;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:8:"category";}s:1:"C";a:4:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:12:"3,,width:99%";s:4:"span";s:1:"4";}}i:4;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:11:"private.png";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:5:"label";s:11:"Addressbook";s:4:"size";s:8:",,,owner";}s:1:"C";a:5:{s:4:"type";s:6:"select";s:4:"name";s:5:"owner";s:4:"help";s:42:"Addressbook the contact should be saved to";s:7:"no_lang";s:1:"1";s:4:"span";s:6:",owner";}}}s:4:"rows";i:4;s:4:"cols";i:3;s:4:"size";s:4:",258";s:7:"options";a:1:{i:1;s:3:"258";}}}', 'size' => ',258', 'style' => '', 'modified' => '1130404323',);
54 54
 
55
-$templ_data[] = array('name' => 'addressbook.edit.personal.upload','template' => '','lang' => '','group' => '0','version' => '1.3.002','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:12:",!@jpegphoto";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"checkbox";s:5:"label";s:6:"delete";s:4:"name";s:12:"delete_photo";s:4:"help";s:17:"Deletes the photo";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"file";s:4:"name";s:12:"upload_photo";s:4:"span";s:6:",photo";s:4:"help";s:74:"Select a portrait format jpeg photo. It will be resized to 60 pixel width.";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:5:"align";s:6:"center";s:7:"onclick";s:73:"set_style_by_class(\'table\',\'uploadphoto\',\'display\',\'none\'); return false;";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:14:",,,uploadphoto";s:7:"options";a:1:{i:3;s:11:"uploadphoto";}}}','size' => ',,,uploadphoto','style' => '','modified' => '1145724831',);
55
+$templ_data[] = array('name' => 'addressbook.edit.personal.upload', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.3.002', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:12:",!@jpegphoto";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"checkbox";s:5:"label";s:6:"delete";s:4:"name";s:12:"delete_photo";s:4:"help";s:17:"Deletes the photo";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"file";s:4:"name";s:12:"upload_photo";s:4:"span";s:6:",photo";s:4:"help";s:74:"Select a portrait format jpeg photo. It will be resized to 60 pixel width.";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:5:"align";s:6:"center";s:7:"onclick";s:73:"set_style_by_class(\'table\',\'uploadphoto\',\'display\',\'none\'); return false;";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:14:",,,uploadphoto";s:7:"options";a:1:{i:3;s:11:"uploadphoto";}}}', 'size' => ',,,uploadphoto', 'style' => '', 'modified' => '1145724831',);
56 56
 
57
-$templ_data[] = array('name' => 'addressbook.edit.upload','template' => '','lang' => '','group' => '0','version' => '1.3.004','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:12:",!@jpegphoto";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"checkbox";s:5:"label";s:6:"delete";s:4:"name";s:12:"delete_photo";s:4:"help";s:17:"Deletes the photo";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"file";s:4:"name";s:12:"upload_photo";s:4:"span";s:6:",photo";s:4:"help";s:74:"Select a portrait format jpeg photo. It will be resized to 60 pixel width.";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:5:"align";s:6:"center";s:7:"onclick";s:64:"jQuery(\'table.uploadphoto\').css(\'display\',\'none\'); return false;";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:14:",,,uploadphoto";s:7:"options";a:1:{i:3;s:11:"uploadphoto";}}}','size' => ',,,uploadphoto','style' => '','modified' => '1165505380',);
57
+$templ_data[] = array('name' => 'addressbook.edit.upload', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.3.004', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:2:"h1";s:12:",!@jpegphoto";}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:8:"checkbox";s:5:"label";s:6:"delete";s:4:"name";s:12:"delete_photo";s:4:"help";s:17:"Deletes the photo";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"file";s:4:"name";s:12:"upload_photo";s:4:"span";s:6:",photo";s:4:"help";s:74:"Select a portrait format jpeg photo. It will be resized to 60 pixel width.";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:5:"align";s:6:"center";s:7:"onclick";s:64:"jQuery(\'table.uploadphoto\').css(\'display\',\'none\'); return false;";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"size";s:14:",,,uploadphoto";s:7:"options";a:1:{i:3;s:11:"uploadphoto";}}}', 'size' => ',,,uploadphoto', 'style' => '', 'modified' => '1165505380',);
58 58
 
59
-$templ_data[] = array('name' => 'addressbook.editphones','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:18:{i:0;a:1:{s:2:"c2";s:2:"th";}i:1;a:3:{s:1:"A";a:6:{s:4:"type";s:5:"label";s:4:"span";s:16:"all,windowheader";s:5:"label";s:20:"Edit Phonenumbers - ";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:2:"fn";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Description";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Number";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"pref";}}i:3;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:8:"business";s:4:"size";s:12:",,,tel_work2";s:4:"span";s:5:",bold";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_work2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_work,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:12:",,,tel_cell2";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_cell2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_cell,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"fax";s:4:"size";s:10:",,,tel_fax";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:8:"tel_fax2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:16:"tel_fax,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:6;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:9:"car phone";s:4:"size";s:10:",,,tel_car";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_car";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:16:"tel_car,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:7;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"pager";s:4:"size";s:12:",,,tel_pager";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_pager";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:18:"tel_pager,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:9;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:9:"Assistent";s:4:"size";s:12:",,,assistent";s:4:"span";s:5:",bold";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:4:"name";s:9:"assistent";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:10;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"number";s:4:"size";s:16:",,,tel_assistent";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:13:"tel_assistent";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:22:"tel_assistent,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:11;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:12;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:7:"Private";s:4:"size";s:12:",,,tel_home2";s:4:"span";s:5:",bold";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_home2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_home,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:13;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:19:",,,tel_cell_private";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:16:"tel_cell_private";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:25:"tel_cell_private,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:14;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"fax";s:4:"size";s:15:",,,tel_fax_home";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:12:"tel_fax_home";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:21:"tel_fax_home,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:15;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:16;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:" Other Phone";s:4:"size";s:12:",,,tel_other";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_other";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:18:"tel_other,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:17;a:3:{s:1:"A";a:6:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:109:"jQuery(\'table.editphones\').css(\'display\',\'none\'); if (window.hidephones) hidephones(this.form); return false;";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:10:"button[ok]";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:17;s:4:"cols";i:3;s:4:"size";s:13:",,,editphones";s:7:"options";a:1:{i:3;s:10:"editphones";}}}','size' => ',,,editphones','style' => '','modified' => '1131901207',);
59
+$templ_data[] = array('name' => 'addressbook.editphones', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:18:{i:0;a:1:{s:2:"c2";s:2:"th";}i:1;a:3:{s:1:"A";a:6:{s:4:"type";s:5:"label";s:4:"span";s:16:"all,windowheader";s:5:"label";s:20:"Edit Phonenumbers - ";s:7:"no_lang";s:1:"1";s:5:"align";s:6:"center";s:4:"name";s:2:"fn";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Description";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Number";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:4:"pref";}}i:3;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:8:"business";s:4:"size";s:12:",,,tel_work2";s:4:"span";s:5:",bold";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_work2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_work,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:4;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:12:",,,tel_cell2";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_cell2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_cell,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:5;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"fax";s:4:"size";s:10:",,,tel_fax";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:8:"tel_fax2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:16:"tel_fax,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:6;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:9:"car phone";s:4:"size";s:10:",,,tel_car";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:7:"tel_car";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:16:"tel_car,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:7;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:5:"pager";s:4:"size";s:12:",,,tel_pager";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_pager";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:18:"tel_pager,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:8;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:9;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:9:"Assistent";s:4:"size";s:12:",,,assistent";s:4:"span";s:5:",bold";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:4:"size";s:2:"35";s:4:"name";s:9:"assistent";s:4:"span";s:1:"2";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:10;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"number";s:4:"size";s:16:",,,tel_assistent";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:13:"tel_assistent";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:22:"tel_assistent,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:11;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:12;a:3:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:5:"label";s:7:"Private";s:4:"size";s:12:",,,tel_home2";s:4:"span";s:5:",bold";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_home2";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:17:"tel_home,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:13;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:"mobile phone";s:4:"size";s:19:",,,tel_cell_private";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:16:"tel_cell_private";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:25:"tel_cell_private,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:14;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:3:"fax";s:4:"size";s:15:",,,tel_fax_home";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:12:"tel_fax_home";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:21:"tel_fax_home,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:15;a:3:{s:1:"A";a:2:{s:4:"type";s:5:"hrule";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:16;a:3:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:12:" Other Phone";s:4:"size";s:12:",,,tel_other";}s:1:"B";a:3:{s:4:"type";s:9:"url-phone";s:4:"size";s:2:"30";s:4:"name";s:9:"tel_other";}s:1:"C";a:4:{s:4:"type";s:5:"radio";s:4:"size";s:18:"tel_other,&hearts;";s:4:"name";s:10:"tel_prefer";s:4:"help";s:46:"select phone number as prefered way of contact";}}i:17;a:3:{s:1:"A";a:6:{s:4:"type";s:6:"button";s:5:"label";s:2:"Ok";s:7:"onclick";s:109:"jQuery(\'table.editphones\').css(\'display\',\'none\'); if (window.hidephones) hidephones(this.form); return false;";s:4:"span";s:3:"all";s:5:"align";s:6:"center";s:4:"name";s:10:"button[ok]";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:17;s:4:"cols";i:3;s:4:"size";s:13:",,,editphones";s:7:"options";a:1:{i:3;s:10:"editphones";}}}', 'size' => ',,,editphones', 'style' => '', 'modified' => '1131901207',);
60 60
 
61
-$templ_data[] = array('name' => 'addressbook.email','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";}i:1;a:3:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"name";s:22:"addressbook.email.left";s:4:"type";s:8:"template";}s:1:"B";a:2:{s:5:"align";s:5:"right";s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:4:{s:4:"span";s:3:"all";s:4:"name";s:2:"nm";s:4:"type";s:9:"nextmatch";s:4:"size";s:22:"addressbook.email.rows";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:5:{s:5:"label";s:3:"Add";s:7:"onclick";s:164:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:3:"add";s:4:"type";s:6:"button";s:4:"help";s:17:"Add a new contact";}s:1:"B";a:6:{s:5:"align";s:5:"right";s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:5:"label";s:11:"whole query";s:8:"onchange";s:126:"if (this.checked==true && !confirm(\'Apply the action on the whole query, NOT only the shown contacts!!!\')) this.checked=false;";s:4:"name";s:7:"use_all";s:4:"type";s:8:"checkbox";s:4:"help";s:67:"Apply the action on the whole query, NOT only the shown contacts!!!";}i:2;a:6:{s:7:"no_lang";s:1:"1";s:8:"onchange";s:60:"if (this.value != \'\') { this.form.submit(); this.value=\'\'; }";s:4:"name";s:6:"action";s:4:"size";s:45:"Select an action or addressbook to move to...";s:4:"type";s:6:"select";s:4:"help";s:42:"Select an action or addressbook to move to";}i:3;a:8:{s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:70:"toggle_all(this.form,form::name(\'nm[rows][checked][]\')); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:4:"help";s:9:"Check all";s:4:"span";s:14:",checkAllArrow";}}}}s:4:"cols";i:3;s:4:"rows";i:4;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1374069394',);
61
+$templ_data[] = array('name' => 'addressbook.email', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.3.001', 'data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:3:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";}i:1;a:3:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"name";s:22:"addressbook.email.left";s:4:"type";s:8:"template";}s:1:"B";a:2:{s:5:"align";s:5:"right";s:4:"type";s:5:"label";}}i:3;a:3:{s:1:"A";a:4:{s:4:"span";s:3:"all";s:4:"name";s:2:"nm";s:4:"type";s:9:"nextmatch";s:4:"size";s:22:"addressbook.email.rows";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}}i:4;a:2:{s:1:"A";a:5:{s:5:"label";s:3:"Add";s:7:"onclick";s:164:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:3:"add";s:4:"type";s:6:"button";s:4:"help";s:17:"Add a new contact";}s:1:"B";a:6:{s:5:"align";s:5:"right";s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:5:"label";s:11:"whole query";s:8:"onchange";s:126:"if (this.checked==true && !confirm(\'Apply the action on the whole query, NOT only the shown contacts!!!\')) this.checked=false;";s:4:"name";s:7:"use_all";s:4:"type";s:8:"checkbox";s:4:"help";s:67:"Apply the action on the whole query, NOT only the shown contacts!!!";}i:2;a:6:{s:7:"no_lang";s:1:"1";s:8:"onchange";s:60:"if (this.value != \'\') { this.form.submit(); this.value=\'\'; }";s:4:"name";s:6:"action";s:4:"size";s:45:"Select an action or addressbook to move to...";s:4:"type";s:6:"select";s:4:"help";s:42:"Select an action or addressbook to move to";}i:3;a:8:{s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:70:"toggle_all(this.form,form::name(\'nm[rows][checked][]\')); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:4:"help";s:9:"Check all";s:4:"span";s:14:",checkAllArrow";}}}}s:4:"cols";i:3;s:4:"rows";i:4;s:4:"size";s:4:"100%";}}', 'size' => '100%', 'style' => '', 'modified' => '1374069394',);
62 62
 
63
-$templ_data[] = array('name' => 'addressbook.email.left','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:2:{i:0;a:10:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"class";s:4:"bold";s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:9:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:2:"To";s:4:"name";s:2:"to";s:4:"size";s:2:"to";s:4:"type";s:5:"radio";s:4:"help";s:30:"where to add the email address";s:4:"span";s:5:",bold";}i:2;a:9:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:2:"Cc";s:4:"name";s:2:"to";s:4:"size";s:2:"cc";s:4:"type";s:5:"radio";s:4:"help";s:30:"where to add the email address";s:4:"span";s:5:",bold";}i:3;a:9:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:3:"Bcc";s:4:"name";s:2:"to";s:4:"size";s:3:"bcc";s:4:"type";s:5:"radio";s:4:"help";s:30:"where to add the email address";s:4:"span";s:5:",bold";}i:4;a:1:{s:4:"type";s:5:"label";}}i:1;a:6:{s:5:"class";s:4:"bold";s:7:"no_lang";s:1:"1";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:7:{s:5:"label";s:14:"Business email";s:7:"no_lang";s:1:"1";s:4:"name";s:10:"email_type";s:4:"size";s:5:"email";s:4:"type";s:5:"radio";s:4:"help";s:61:"preferred type of email address to add for distribution lists";s:4:"span";s:5:",bold";}i:2;a:7:{s:5:"label";s:10:"Home email";s:7:"no_lang";s:1:"1";s:4:"name";s:10:"email_type";s:4:"size";s:10:"email_home";s:4:"type";s:5:"radio";s:4:"help";s:61:"preferred type of email address to add for distribution lists";s:4:"span";s:5:",bold";}}}','size' => '','style' => '','modified' => '1194360774',);
63
+$templ_data[] = array('name' => 'addressbook.email.left', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:2:{i:0;a:10:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"class";s:4:"bold";s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:9:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:2:"To";s:4:"name";s:2:"to";s:4:"size";s:2:"to";s:4:"type";s:5:"radio";s:4:"help";s:30:"where to add the email address";s:4:"span";s:5:",bold";}i:2;a:9:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:2:"Cc";s:4:"name";s:2:"to";s:4:"size";s:2:"cc";s:4:"type";s:5:"radio";s:4:"help";s:30:"where to add the email address";s:4:"span";s:5:",bold";}i:3;a:9:{s:4:"rows";s:1:"1";s:4:"cols";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:3:"Bcc";s:4:"name";s:2:"to";s:4:"size";s:3:"bcc";s:4:"type";s:5:"radio";s:4:"help";s:30:"where to add the email address";s:4:"span";s:5:",bold";}i:4;a:1:{s:4:"type";s:5:"label";}}i:1;a:6:{s:5:"class";s:4:"bold";s:7:"no_lang";s:1:"1";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:7:{s:5:"label";s:14:"Business email";s:7:"no_lang";s:1:"1";s:4:"name";s:10:"email_type";s:4:"size";s:5:"email";s:4:"type";s:5:"radio";s:4:"help";s:61:"preferred type of email address to add for distribution lists";s:4:"span";s:5:",bold";}i:2;a:7:{s:5:"label";s:10:"Home email";s:7:"no_lang";s:1:"1";s:4:"name";s:10:"email_type";s:4:"size";s:10:"email_home";s:4:"type";s:5:"radio";s:4:"help";s:61:"preferred type of email address to add for distribution lists";s:4:"span";s:5:",bold";}}}', 'size' => '', 'style' => '', 'modified' => '1194360774',);
64 64
 
65
-$templ_data[] = array('name' => 'addressbook.email.rows','template' => '','lang' => '','group' => '0','version' => '1.9.003','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:5:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"C";s:17:",!@order=n_family";s:1:"B";s:16:",!@order=n_given";s:1:"E";s:32:",!@order=/^(org_name|n_fileas)$/";}i:1;a:8:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:7:"n_given";s:5:"label";s:9:"Firstname";}i:2;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";}}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";}i:2;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:7:"n_given";s:5:"label";s:9:"Firstname";}}s:1:"D";a:3:{s:4:"name";s:8:"org_name";s:5:"label";s:7:"Company";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"E";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";}i:2;a:4:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:7:"n_given";s:5:"label";s:9:"Firstname";s:4:"span";s:9:",leftPad5";}}s:1:"F";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";}s:1:"G";a:3:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:10:"email_home";s:5:"label";s:10:"Home email";}s:1:"H";a:6:{s:4:"type";s:4:"hbox";s:5:"align";s:6:"center";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Actions";s:5:"align";s:6:"center";s:4:"name";s:14:"legacy_actions";}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:98:"egw_globalObjectManager.getObjectById(\'addressbook.email.rows\').toggleAllSelected(); return false;";s:6:"needed";s:1:"1";s:5:"align";s:5:"right";}s:4:"span";s:8:",noPrint";}}i:2;a:8:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:5:"label";s:21:"$row_cont[type_label]";s:4:"name";s:12:"${row}[type]";s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[n_given]";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}i:2;a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[n_family]";s:4:"span";s:9:",leftPad5";}}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:7:"2,0,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[n_family]";}i:2;a:5:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[n_given]";s:4:"span";s:9:",leftPad5";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}}s:1:"D";a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_name]";s:7:"no_lang";s:1:"1";}s:1:"E";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[n_family]";}i:2;a:5:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[n_given]";s:4:"span";s:9:",leftPad5";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}}s:1:"F";a:5:{s:4:"type";s:3:"box";s:4:"size";s:6:"1,,0,0";s:7:"no_lang";s:1:"1";s:4:"span";s:9:",emailCol";i:1;a:4:{s:4:"type";s:5:"label";s:4:"size";s:129:","javascript:var nfn=\'$row_cont[n_fn]\';nfn=nfn.replace(/,|@/g,\'\');this.addEmail(nfn+\' <$row_cont[email]>\');",,,,,$row_cont[email]";s:4:"name";s:13:"${row}[email]";s:7:"no_lang";s:1:"1";}}s:1:"G";a:5:{s:4:"type";s:3:"box";s:4:"size";s:6:"1,,0,0";s:7:"no_lang";s:1:"1";s:4:"span";s:9:",emailCol";i:1;a:4:{s:4:"type";s:5:"label";s:4:"size";s:139:","javascript:var nfn=\'$row_cont[n_fn]\';nfn=nfn.replace(/,|@/g,\'\');this.addEmail(nfn+\' <$row_cont[email_home]>\');",,,,,$row_cont[email_home]";s:4:"name";s:18:"${row}[email_home]";s:7:"no_lang";s:1:"1";}}s:1:"H";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:5:"3,0,0";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:4:"Edit";s:7:"onclick";s:193:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:19:"edit[$row_cont[id]]";}i:2;a:6:{s:4:"type";s:6:"button";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"help";s:19:"Delete this contact";s:7:"onclick";s:38:"return confirm(\'Delete this contact\');";}i:3;a:5:{s:4:"type";s:8:"checkbox";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"help";s:45:"Select multiple contacts for a further action";s:5:"align";s:5:"right";}s:4:"span";s:8:",noPrint";}}}s:4:"rows";i:2;s:4:"cols";i:8;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1374069887',);
65
+$templ_data[] = array('name' => 'addressbook.email.rows', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.003', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:5:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"C";s:17:",!@order=n_family";s:1:"B";s:16:",!@order=n_given";s:1:"E";s:32:",!@order=/^(org_name|n_fileas)$/";}i:1;a:8:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:7:"n_given";s:5:"label";s:9:"Firstname";}i:2;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";}}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";}i:2;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:7:"n_given";s:5:"label";s:9:"Firstname";}}s:1:"D";a:3:{s:4:"name";s:8:"org_name";s:5:"label";s:7:"Company";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"E";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:20:"nextmatch-sortheader";s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";}i:2;a:4:{s:4:"type";s:20:"nextmatch-sortheader";s:4:"name";s:7:"n_given";s:5:"label";s:9:"Firstname";s:4:"span";s:9:",leftPad5";}}s:1:"F";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";}s:1:"G";a:3:{s:4:"type";s:16:"nextmatch-header";s:4:"name";s:10:"email_home";s:5:"label";s:10:"Home email";}s:1:"H";a:6:{s:4:"type";s:4:"hbox";s:5:"align";s:6:"center";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Actions";s:5:"align";s:6:"center";s:4:"name";s:14:"legacy_actions";}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:98:"egw_globalObjectManager.getObjectById(\'addressbook.email.rows\').toggleAllSelected(); return false;";s:6:"needed";s:1:"1";s:5:"align";s:5:"right";}s:4:"span";s:8:",noPrint";}}i:2;a:8:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:5:"label";s:21:"$row_cont[type_label]";s:4:"name";s:12:"${row}[type]";s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:4:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[n_given]";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}i:2;a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[n_family]";s:4:"span";s:9:",leftPad5";}}s:1:"C";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:7:"2,0,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[n_family]";}i:2;a:5:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[n_given]";s:4:"span";s:9:",leftPad5";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}}s:1:"D";a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_name]";s:7:"no_lang";s:1:"1";}s:1:"E";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[n_family]";}i:2;a:5:{s:4:"type";s:5:"label";s:4:"name";s:15:"${row}[n_given]";s:4:"span";s:9:",leftPad5";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}}s:1:"F";a:5:{s:4:"type";s:3:"box";s:4:"size";s:6:"1,,0,0";s:7:"no_lang";s:1:"1";s:4:"span";s:9:",emailCol";i:1;a:4:{s:4:"type";s:5:"label";s:4:"size";s:129:","javascript:var nfn=\'$row_cont[n_fn]\';nfn=nfn.replace(/,|@/g,\'\');this.addEmail(nfn+\' <$row_cont[email]>\');",,,,,$row_cont[email]";s:4:"name";s:13:"${row}[email]";s:7:"no_lang";s:1:"1";}}s:1:"G";a:5:{s:4:"type";s:3:"box";s:4:"size";s:6:"1,,0,0";s:7:"no_lang";s:1:"1";s:4:"span";s:9:",emailCol";i:1;a:4:{s:4:"type";s:5:"label";s:4:"size";s:139:","javascript:var nfn=\'$row_cont[n_fn]\';nfn=nfn.replace(/,|@/g,\'\');this.addEmail(nfn+\' <$row_cont[email_home]>\');",,,,,$row_cont[email_home]";s:4:"name";s:18:"${row}[email_home]";s:7:"no_lang";s:1:"1";}}s:1:"H";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:5:"3,0,0";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"edit";s:5:"label";s:4:"Edit";s:7:"onclick";s:193:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:19:"edit[$row_cont[id]]";}i:2;a:6:{s:4:"type";s:6:"button";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"help";s:19:"Delete this contact";s:7:"onclick";s:38:"return confirm(\'Delete this contact\');";}i:3;a:5:{s:4:"type";s:8:"checkbox";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"help";s:45:"Select multiple contacts for a further action";s:5:"align";s:5:"right";}s:4:"span";s:8:",noPrint";}}}s:4:"rows";i:2;s:4:"cols";i:8;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}', 'size' => '100%', 'style' => '', 'modified' => '1374069887',);
66 66
 
67
-$templ_data[] = array('name' => 'addressbook.export_csv_options','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:1:"B";s:5:"180px";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Fieldseperator";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:7:"no_lang";s:1:"1";s:4:"name";s:9:"delimiter";s:4:"size";s:1:"1";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Include header";}s:1:"B";a:2:{s:4:"type";s:11:"select-bool";s:4:"name";s:21:"begin_with_fieldnames";}}}s:4:"rows";i:3;s:4:"cols";i:2;}}','size' => '','style' => '.width180 select { width:150px;}','modified' => '1286490285',);
67
+$templ_data[] = array('name' => 'addressbook.export_csv_options', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:1:{s:1:"B";s:5:"180px";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Fieldseperator";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:7:"no_lang";s:1:"1";s:4:"name";s:9:"delimiter";s:4:"size";s:1:"1";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Include header";}s:1:"B";a:2:{s:4:"type";s:11:"select-bool";s:4:"name";s:21:"begin_with_fieldnames";}}}s:4:"rows";i:3;s:4:"cols";i:2;}}', 'size' => '', 'style' => '.width180 select { width:150px;}', 'modified' => '1286490285',);
68 68
 
69
-$templ_data[] = array('name' => 'addressbook.export_csv_selectors','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"radio";s:5:"label";s:7:"Use all";s:4:"size";s:12:"all_contacts";s:4:"name";s:9:"selection";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"radio";s:5:"label";s:18:"Use search results";s:4:"name";s:9:"selection";s:4:"size";s:7:"use_all";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1268429802',);
69
+$templ_data[] = array('name' => 'addressbook.export_csv_selectors', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"radio";s:5:"label";s:7:"Use all";s:4:"size";s:12:"all_contacts";s:4:"name";s:9:"selection";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"radio";s:5:"label";s:18:"Use search results";s:4:"name";s:9:"selection";s:4:"size";s:7:"use_all";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1268429802',);
70 70
 
71
-$templ_data[] = array('name' => 'addressbook.export_explode_fields','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:2:{s:2:"h2";s:23:",!@explode_multiselects";s:2:"h3";s:22:",@explode_multiselects";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:24:"List as seperate columns";}}i:2;a:1:{s:1:"A";a:7:{s:4:"type";s:4:"grid";s:4:"size";s:4:"100%";s:4:"name";s:20:"explode_multiselects";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Field";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Style";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:4:"name";s:12:"${row}[name]";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:15:"${row}[explode]";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:7:"options";a:1:{i:0;s:4:"100%";}}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:43:"No multi-select columns selected for export";}}}s:4:"rows";i:3;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1289253873',);
71
+$templ_data[] = array('name' => 'addressbook.export_explode_fields', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:2:{s:2:"h2";s:23:",!@explode_multiselects";s:2:"h3";s:22:",@explode_multiselects";}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:24:"List as seperate columns";}}i:2;a:1:{s:1:"A";a:7:{s:4:"type";s:4:"grid";s:4:"size";s:4:"100%";s:4:"name";s:20:"explode_multiselects";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Field";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Style";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:4:"name";s:12:"${row}[name]";}s:1:"B";a:2:{s:4:"type";s:6:"select";s:4:"name";s:15:"${row}[explode]";}}}s:4:"rows";i:2;s:4:"cols";i:2;s:7:"options";a:1:{i:0;s:4:"100%";}}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:43:"No multi-select columns selected for export";}}}s:4:"rows";i:3;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1289253873',);
72 72
 
73
-$templ_data[] = array('name' => 'addressbook.importexport_wizard_chooseowner','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:1:{s:2:"h2";s:14:",@no_owner_map";}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"checkbox";s:5:"label";s:30:"Use field from CSV if possible";s:4:"name";s:14:"owner_from_csv";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:13:"contact_owner";}}i:4;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}i:5;a:1:{s:1:"A";a:3:{s:4:"type";s:11:"select-bool";s:5:"label";s:32:"Change addressbook when updating";s:4:"name";s:12:"change_owner";}}}s:4:"rows";i:5;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1320351347',);
73
+$templ_data[] = array('name' => 'addressbook.importexport_wizard_chooseowner', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:6:{i:0;a:1:{s:2:"h2";s:14:",@no_owner_map";}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:8:"checkbox";s:5:"label";s:30:"Use field from CSV if possible";s:4:"name";s:14:"owner_from_csv";}}i:3;a:1:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:13:"contact_owner";}}i:4;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}i:5;a:1:{s:1:"A";a:3:{s:4:"type";s:11:"select-bool";s:5:"label";s:32:"Change addressbook when updating";s:4:"name";s:12:"change_owner";}}}s:4:"rows";i:5;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1320351347',);
74 74
 
75
-$templ_data[] = array('name' => 'addressbook.importexport_wizard_vcard_charset','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:1:"B";s:5:"180px";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"Charset of file";}s:1:"B";a:4:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:7:"charset";s:4:"span";s:9:",width180";}}}s:4:"rows";i:2;s:4:"cols";i:2;}}','size' => '','style' => '.width180 select { width:150px;}','modified' => '1349113607',);
75
+$templ_data[] = array('name' => 'addressbook.importexport_wizard_vcard_charset', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:1:"B";s:5:"180px";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"Charset of file";}s:1:"B";a:4:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:7:"charset";s:4:"span";s:9:",width180";}}}s:4:"rows";i:2;s:4:"cols";i:2;}}', 'size' => '', 'style' => '.width180 select { width:150px;}', 'modified' => '1349113607',);
76 76
 
77
-$templ_data[] = array('name' => 'addressbook.importexport_wizard_vcard_chooseowner','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:13:"contact_owner";}}i:3;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1347980440',);
77
+$templ_data[] = array('name' => 'addressbook.importexport_wizard_vcard_chooseowner', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:13:"contact_owner";}}i:3;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1347980440',);
78 78
 
79
-$templ_data[] = array('name' => 'addressbook.importexport_wizzard_chooseowner','template' => '','lang' => '','group' => '0','version' => '0.0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:6:"select";s:4:"name";s:13:"contact_owner";s:4:"size";s:4:"None";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1146646360',);
79
+$templ_data[] = array('name' => 'addressbook.importexport_wizzard_chooseowner', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '0.0.1', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:6:"select";s:4:"name";s:13:"contact_owner";s:4:"size";s:4:"None";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1146646360',);
80 80
 
81
-$templ_data[] = array('name' => 'addressbook.importexport_wizzard_choosesepncharset','template' => '','lang' => '','group' => '0','version' => '0.0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:1:"B";s:5:"180px";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Fieldseperator";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:7:"no_lang";s:1:"1";s:4:"name";s:8:"fieldsep";s:4:"size";s:1:"1";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"Charset of file";}s:1:"B";a:4:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:7:"charset";s:4:"span";s:9:",width180";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:20:"Header lines to skip";}s:1:"B";a:3:{s:4:"type";s:3:"int";s:4:"name";s:16:"num_header_lines";s:4:"size";s:1:"0";}}}s:4:"rows";i:4;s:4:"cols";i:2;}}','size' => '','style' => '.width180 select { width:150px;}','modified' => '1145979153',);
81
+$templ_data[] = array('name' => 'addressbook.importexport_wizzard_choosesepncharset', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '0.0.1', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:1:"B";s:5:"180px";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:14:"Fieldseperator";}s:1:"B";a:4:{s:4:"type";s:4:"text";s:7:"no_lang";s:1:"1";s:4:"name";s:8:"fieldsep";s:4:"size";s:1:"1";}}i:3;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:15:"Charset of file";}s:1:"B";a:4:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:7:"charset";s:4:"span";s:9:",width180";}}i:4;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:20:"Header lines to skip";}s:1:"B";a:3:{s:4:"type";s:3:"int";s:4:"name";s:16:"num_header_lines";s:4:"size";s:1:"0";}}}s:4:"rows";i:4;s:4:"cols";i:2;}}', 'size' => '', 'style' => '.width180 select { width:150px;}', 'modified' => '1145979153',);
82 82
 
83
-$templ_data[] = array('name' => 'addressbook.importexport_wizzard_choosetype','template' => '','lang' => '','group' => '0','version' => '0.0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:11:"import_type";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1145977925',);
83
+$templ_data[] = array('name' => 'addressbook.importexport_wizzard_choosetype', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '0.0.1', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:11:"import_type";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1145977925',);
84 84
 
85
-$templ_data[] = array('name' => 'addressbook.importexport_wizzard_conditions','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:7:{s:4:"type";s:4:"vbox";s:4:"data";a:2:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:14:"${row}[string]";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"${row}[type]";}i:2;a:2:{s:4:"type";s:4:"text";s:4:"name";s:12:"${row}[op_2]";}}s:1:"C";a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"${row}[true]";}s:1:"D";a:2:{s:4:"type";s:6:"select";s:4:"name";s:13:"${row}[false]";}}}s:4:"rows";i:1;s:4:"cols";i:4;s:4:"size";s:1:"2";i:1;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Field";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Condition";}s:1:"C";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";s:4:"span";s:1:"2";i:1;a:4:{s:4:"type";s:5:"label";s:4:"span";s:1:"2";s:5:"label";s:4:"True";s:5:"align";s:6:"center";}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,2,0";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Action";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"Stop";s:5:"align";s:5:"right";}}}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";s:4:"span";s:1:"2";i:1;a:4:{s:4:"type";s:5:"label";s:4:"span";s:1:"2";s:5:"label";s:5:"False";s:5:"align";s:6:"center";}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,2,0";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Action";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"Stop";s:5:"align";s:5:"right";}}}s:1:"F";a:1:{s:4:"type";s:5:"label";}}i:2;a:6:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:14:"${row}[string]";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"${row}[type]";}i:2;a:2:{s:4:"type";s:4:"text";s:4:"name";s:12:"${row}[op_2]";}}s:1:"C";a:2:{s:4:"type";s:6:"select";s:4:"name";s:20:"${row}[true][action]";}s:1:"D";a:3:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:18:"${row}[true][stop]";}s:1:"E";a:2:{s:4:"type";s:6:"select";s:4:"name";s:21:"${row}[false][action]";}s:1:"F";a:3:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:19:"${row}[false][stop]";}}}s:4:"rows";i:2;s:4:"cols";i:6;s:4:"name";s:10:"conditions";s:7:"options";a:0:{}}i:2;a:5:{s:4:"type";s:6:"button";s:4:"name";s:3:"add";s:5:"label";s:3:"add";s:4:"help";s:59:"This causes a segfault... haven\'t figured out how to fix it";s:8:"disabled";s:1:"1";}}}','size' => '','style' => '','modified' => '1266963791',);
85
+$templ_data[] = array('name' => 'addressbook.importexport_wizzard_conditions', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:7:{s:4:"type";s:4:"vbox";s:4:"data";a:2:{i:0;a:0:{}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:14:"${row}[string]";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"${row}[type]";}i:2;a:2:{s:4:"type";s:4:"text";s:4:"name";s:12:"${row}[op_2]";}}s:1:"C";a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"${row}[true]";}s:1:"D";a:2:{s:4:"type";s:6:"select";s:4:"name";s:13:"${row}[false]";}}}s:4:"rows";i:1;s:4:"cols";i:4;s:4:"size";s:1:"2";i:1;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:6:{s:1:"A";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Field";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"Condition";}s:1:"C";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";s:4:"span";s:1:"2";i:1;a:4:{s:4:"type";s:5:"label";s:4:"span";s:1:"2";s:5:"label";s:4:"True";s:5:"align";s:6:"center";}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,2,0";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Action";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"Stop";s:5:"align";s:5:"right";}}}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";s:4:"span";s:1:"2";i:1;a:4:{s:4:"type";s:5:"label";s:4:"span";s:1:"2";s:5:"label";s:5:"False";s:5:"align";s:6:"center";}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,2,0";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:6:"Action";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:4:"Stop";s:5:"align";s:5:"right";}}}s:1:"F";a:1:{s:4:"type";s:5:"label";}}i:2;a:6:{s:1:"A";a:2:{s:4:"type";s:6:"select";s:4:"name";s:14:"${row}[string]";}s:1:"B";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:6:"2,,0,0";i:1;a:2:{s:4:"type";s:6:"select";s:4:"name";s:12:"${row}[type]";}i:2;a:2:{s:4:"type";s:4:"text";s:4:"name";s:12:"${row}[op_2]";}}s:1:"C";a:2:{s:4:"type";s:6:"select";s:4:"name";s:20:"${row}[true][action]";}s:1:"D";a:3:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:18:"${row}[true][stop]";}s:1:"E";a:2:{s:4:"type";s:6:"select";s:4:"name";s:21:"${row}[false][action]";}s:1:"F";a:3:{s:4:"type";s:8:"checkbox";s:5:"align";s:6:"center";s:4:"name";s:19:"${row}[false][stop]";}}}s:4:"rows";i:2;s:4:"cols";i:6;s:4:"name";s:10:"conditions";s:7:"options";a:0:{}}i:2;a:5:{s:4:"type";s:6:"button";s:4:"name";s:3:"add";s:5:"label";s:3:"add";s:4:"help";s:59:"This causes a segfault... haven\'t figured out how to fix it";s:8:"disabled";s:1:"1";}}}', 'size' => '', 'style' => '', 'modified' => '1266963791',);
86 86
 
87
-$templ_data[] = array('name' => 'addressbook.importexport_wizzard_fieldmaping','template' => '','lang' => '','group' => '0','version' => '0.0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}}i:2;a:1:{s:1:"A";a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"CSV Field";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:17:"Addressbook Field";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Translation";}}i:2;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"${row}";s:7:"no_lang";s:1:"1";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"csv_fields[$row]";s:7:"no_lang";s:1:"1";}s:1:"C";a:3:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:19:"field_mapping[$row]";}s:1:"D";a:2:{s:4:"type";s:4:"text";s:4:"name";s:22:"field_conversion[$row]";}}}s:4:"rows";i:2;s:4:"cols";i:4;s:4:"size";s:10:",,,,,,auto";s:7:"options";a:1:{i:6;s:4:"auto";}}}}s:4:"rows";i:2;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1146036809',);
87
+$templ_data[] = array('name' => 'addressbook.importexport_wizzard_fieldmaping', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '0.0.1', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:4:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:3:"msg";s:4:"span";s:3:"all";}}i:2;a:1:{s:1:"A";a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:1:{s:2:"c1";s:2:"th";}i:1;a:4:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:9:"CSV Field";}s:1:"C";a:2:{s:4:"type";s:5:"label";s:5:"label";s:17:"Addressbook Field";}s:1:"D";a:2:{s:4:"type";s:5:"label";s:5:"label";s:11:"Translation";}}i:2;a:4:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:5:"label";s:6:"${row}";s:7:"no_lang";s:1:"1";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"csv_fields[$row]";s:7:"no_lang";s:1:"1";}s:1:"C";a:3:{s:4:"type";s:6:"select";s:7:"no_lang";s:1:"1";s:4:"name";s:19:"field_mapping[$row]";}s:1:"D";a:2:{s:4:"type";s:4:"text";s:4:"name";s:22:"field_conversion[$row]";}}}s:4:"rows";i:2;s:4:"cols";i:4;s:4:"size";s:10:",,,,,,auto";s:7:"options";a:1:{i:6;s:4:"auto";}}}}s:4:"rows";i:2;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1146036809',);
88 88
 
89
-$templ_data[] = array('name' => 'addressbook.importexport_wizzard_samplefile','template' => '','lang' => '','group' => '0','version' => '0.0.1','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:4:"file";s:4:"name";s:4:"file";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1146650510',);
89
+$templ_data[] = array('name' => 'addressbook.importexport_wizzard_samplefile', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '0.0.1', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"msg";s:7:"no_lang";s:1:"1";}}i:2;a:1:{s:1:"A";a:2:{s:4:"type";s:4:"file";s:4:"name";s:4:"file";}}}s:4:"rows";i:2;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1146650510',);
90 90
 
91
-$templ_data[] = array('name' => 'addressbook.index','template' => '','lang' => '','group' => '0','version' => '1.9.002','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";s:2:"h4";s:34:",!@nm[selectcols]=/legacy_actions/";}i:1;a:9:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"name";s:22:"addressbook.index.left";s:4:"type";s:8:"template";}s:1:"B";a:3:{s:5:"align";s:5:"right";s:4:"name";s:27:"addressbook.index.right_add";s:4:"type";s:8:"template";}}i:3;a:9:{s:1:"A";a:4:{s:4:"span";s:3:"all";s:4:"name";s:2:"nm";s:4:"size";s:22:"addressbook.index.rows";s:4:"type";s:9:"nextmatch";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:4;a:9:{s:1:"A";a:5:{s:5:"label";s:3:"Add";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:3:"add";s:4:"type";s:6:"button";s:4:"help";s:17:"Add a new contact";}s:1:"B";a:6:{s:5:"align";s:5:"right";s:4:"span";s:3:"all";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:5:"label";s:13:"Select action";s:7:"onclick";s:231:"if (!egw_globalObjectManager.getObjectById(\'addressbook.\'+({$cont[nm][do_email]} ? \'email\' : \'index\') + \'.rows\').executeActionImplementation(this, \'popup\')) alert(egw::lang(\'You need to select some entries first!\')); return false;;";s:4:"name";s:14:"legacy_actions";s:4:"type";s:10:"buttononly";s:4:"help";s:13:"Select action";}i:2;a:8:{s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:142:"egw_globalObjectManager.getObjectById(\'addressbook.\'+({$cont[nm][do_email]} ? \'email\' : \'index\') + \'.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:4:"help";s:9:"Check all";s:4:"span";s:14:",checkAllArrow";}}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:9;s:4:"rows";i:4;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1372179804',);
91
+$templ_data[] = array('name' => 'addressbook.index', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.002', 'data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:4:{s:2:"h1";s:6:",!@msg";s:2:"h2";s:2:",1";s:2:"c4";s:7:"noPrint";s:2:"h4";s:34:",!@nm[selectcols]=/legacy_actions/";}i:1;a:9:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";s:4:"span";s:13:"all,redItalic";s:4:"name";s:3:"msg";s:4:"type";s:5:"label";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:2:{s:4:"name";s:22:"addressbook.index.left";s:4:"type";s:8:"template";}s:1:"B";a:3:{s:5:"align";s:5:"right";s:4:"name";s:27:"addressbook.index.right_add";s:4:"type";s:8:"template";}}i:3;a:9:{s:1:"A";a:4:{s:4:"span";s:3:"all";s:4:"name";s:2:"nm";s:4:"size";s:22:"addressbook.index.rows";s:4:"type";s:9:"nextmatch";}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}i:4;a:9:{s:1:"A";a:5:{s:5:"label";s:3:"Add";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:3:"add";s:4:"type";s:6:"button";s:4:"help";s:17:"Add a new contact";}s:1:"B";a:6:{s:5:"align";s:5:"right";s:4:"span";s:3:"all";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:5:"label";s:13:"Select action";s:7:"onclick";s:231:"if (!egw_globalObjectManager.getObjectById(\'addressbook.\'+({$cont[nm][do_email]} ? \'email\' : \'index\') + \'.rows\').executeActionImplementation(this, \'popup\')) alert(egw::lang(\'You need to select some entries first!\')); return false;;";s:4:"name";s:14:"legacy_actions";s:4:"type";s:10:"buttononly";s:4:"help";s:13:"Select action";}i:2;a:8:{s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:142:"egw_globalObjectManager.getObjectById(\'addressbook.\'+({$cont[nm][do_email]} ? \'email\' : \'index\') + \'.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:9:"arrow_ltr";s:4:"help";s:9:"Check all";s:4:"span";s:14:",checkAllArrow";}}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}s:1:"E";a:1:{s:4:"type";s:5:"label";}s:1:"F";a:1:{s:4:"type";s:5:"label";}s:1:"G";a:1:{s:4:"type";s:5:"label";}s:1:"H";a:1:{s:4:"type";s:5:"label";}s:1:"I";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:9;s:4:"rows";i:4;s:4:"size";s:4:"100%";}}', 'size' => '100%', 'style' => '', 'modified' => '1372179804',);
92 92
 
93
-$templ_data[] = array('name' => 'addressbook.index.cat_add','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:4:",top";s:1:"C";s:14:",@cat_tab=Tree";s:1:"D";s:15:",!@cat_tab=Tree";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:14:"013,,width:99%";}s:1:"D";a:3:{s:4:"type";s:8:"tree-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:13:"13,,width:99%";}}i:2;a:4:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:3:{s:4:"type";s:6:"button";s:5:"label";s:3:"add";s:4:"name";s:7:"cat_add";}i:2;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"delete";s:4:"name";s:10:"cat_delete";}s:4:"span";s:3:"all";i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"cancel";s:4:"name";s:10:"cat_cancel";s:7:"onclick";s:15:"window.close();";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:4;s:4:"size";s:17:"100%,300,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"300";i:6;s:4:"auto";}}}','size' => '100%,300,,,,,auto','style' => '','modified' => '1204881537',);
93
+$templ_data[] = array('name' => 'addressbook.index.cat_add', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:4:",top";s:1:"C";s:14:",@cat_tab=Tree";s:1:"D";s:15:",!@cat_tab=Tree";}i:1;a:4:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"folder";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"Categories";}s:1:"C";a:3:{s:4:"type";s:10:"select-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:14:"013,,width:99%";}s:1:"D";a:3:{s:4:"type";s:8:"tree-cat";s:4:"name";s:6:"cat_id";s:4:"size";s:13:"13,,width:99%";}}i:2;a:4:{s:1:"A";a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:3:{s:4:"type";s:6:"button";s:5:"label";s:3:"add";s:4:"name";s:7:"cat_add";}i:2;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"delete";s:4:"name";s:10:"cat_delete";}s:4:"span";s:3:"all";i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"cancel";s:4:"name";s:10:"cat_cancel";s:7:"onclick";s:15:"window.close();";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}s:1:"C";a:1:{s:4:"type";s:5:"label";}s:1:"D";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:2;s:4:"cols";i:4;s:4:"size";s:17:"100%,300,,,,,auto";s:7:"options";a:3:{i:0;s:4:"100%";i:1;s:3:"300";i:6;s:4:"auto";}}}', 'size' => '100%,300,,,,,auto', 'style' => '', 'modified' => '1204881537',);
94 94
 
95
-$templ_data[] = array('name' => 'addressbook.index.left','template' => '','lang' => '','group' => '0','version' => '1.3.001','data' => 'a:1:{i:0;a:10:{s:4:"type";s:6:"select";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"name";s:8:"org_view";s:7:"no_lang";s:1:"1";s:4:"help";s:13:"Select a view";s:4:"span";s:5:",bold";s:8:"onchange";i:1;s:4:"size";s:12:"All contacts";}}','size' => '','style' => '','modified' => '1146123855',);
95
+$templ_data[] = array('name' => 'addressbook.index.left', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.3.001', 'data' => 'a:1:{i:0;a:10:{s:4:"type";s:6:"select";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"name";s:8:"org_view";s:7:"no_lang";s:1:"1";s:4:"help";s:13:"Select a view";s:4:"span";s:5:",bold";s:8:"onchange";i:1;s:4:"size";s:12:"All contacts";}}', 'size' => '', 'style' => '', 'modified' => '1146123855',);
96 96
 
97
-$templ_data[] = array('name' => 'addressbook.index.org_rows','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"F";s:2:"90";}i:1;a:6:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:8:{s:4:"type";s:16:"nextmatch-header";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"url";s:5:"label";s:3:"Url";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";}i:3;a:3:{s:4:"type";s:5:"label";s:4:"name";s:10:"email_home";s:5:"label";s:10:"Home email";}s:5:"label";s:1:"#";s:5:"align";s:6:"center";s:4:"name";s:6:"number";s:4:"size";s:6:"Number";}s:1:"C";a:3:{s:4:"name";s:8:"org_name";s:5:"label";s:12:"Organisation";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"D";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Department";s:4:"name";s:8:"org_unit";}s:1:"E";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:16:"Business address";s:4:"name";s:8:"business";}s:1:"F";a:6:{s:4:"type";s:4:"hbox";s:5:"align";s:6:"center";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Actions";s:5:"align";s:6:"center";s:4:"name";s:14:"legacy_actions";}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:60:"toggle_all(this.form,form::name(\'checked[]\')); return false;";s:6:"needed";s:1:"1";s:5:"align";s:5:"right";}s:4:"span";s:8:",noPrint";}}i:2;a:6:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:5:"label";s:21:"$row_cont[type_label]";s:4:"name";s:12:"${row}[type]";s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";}s:1:"B";a:7:{s:4:"type";s:3:"int";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"url";s:5:"label";s:3:"Url";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";}i:3;a:3:{s:4:"type";s:5:"label";s:4:"name";s:10:"email_home";s:5:"label";s:10:"Home email";}s:4:"name";s:17:"${row}[org_count]";s:8:"readonly";s:1:"1";s:5:"align";s:6:"center";}s:1:"C";a:8:{s:4:"type";s:5:"label";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line1]";s:7:"no_lang";s:1:"1";}i:2;a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line2]";s:7:"no_lang";s:1:"1";}i:3;a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";s:7:"no_lang";s:1:"1";}i:4;a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[title]";s:7:"no_lang";s:1:"1";}i:5;a:3:{s:4:"type";s:5:"label";s:4:"name";s:17:"${row}[first_org]";s:7:"no_lang";s:1:"1";}s:4:"name";s:16:"${row}[org_name]";s:7:"no_lang";s:1:"1";}s:1:"D";a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";s:7:"no_lang";s:1:"1";}s:1:"E";a:6:{s:4:"type";s:4:"vbox";s:4:"size";s:6:"4,,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:27:"${row}[adr_one_countryname]";s:7:"no_lang";s:1:"1";}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:7:"2,0,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_one_locality]";}i:2;a:5:{s:4:"type";s:5:"label";s:4:"name";s:26:"${row}[adr_one_postalcode]";s:4:"span";s:9:",leftPad5";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}}i:3;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_street]";}i:4;a:3:{s:4:"type";s:5:"label";s:4:"name";s:23:"${row}[adr_one_street2]";s:7:"no_lang";s:1:"1";}}s:1:"F";a:8:{s:4:"type";s:4:"hbox";s:4:"size";s:5:"5,0,0";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"view";s:5:"label";s:4:"View";s:4:"name";s:19:"view[$row_cont[id]]";s:4:"help";s:38:"Show the contacts of this organisation";}i:2;a:6:{s:4:"type";s:6:"button";s:4:"size";s:3:"new";s:5:"label";s:3:"Add";s:7:"onclick";s:186:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&org=$row_cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:18:"add[$row_cont[id]]";s:4:"help";s:34:"Add a contact to this organisation";}i:3;a:6:{s:4:"type";s:6:"button";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"help";s:51:"Delete this organisation including ALL its contacts";s:7:"onclick";s:70:"return confirm(\'Delete this organisation including ALL its contacts\');";}i:4;a:5:{s:4:"type";s:6:"button";s:4:"size";s:7:"infolog";s:5:"label";s:7:"InfoLog";s:4:"name";s:22:"infolog[$row_cont[id]]";s:4:"help";s:42:"Show InfoLog entries for this organisation";}s:4:"span";s:8:",noPrint";i:5;a:5:{s:4:"type";s:8:"checkbox";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"help";s:45:"Select multiple contacts for a further action";s:5:"align";s:5:"right";}}}}s:4:"rows";i:2;s:4:"cols";i:6;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}','size' => '100%','style' => '','modified' => '1303075218',);
97
+$templ_data[] = array('name' => 'addressbook.index.org_rows', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:3:{s:2:"c1";s:2:"th";s:2:"c2";s:7:"row,top";s:1:"F";s:2:"90";}i:1;a:6:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:8:{s:4:"type";s:16:"nextmatch-header";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"url";s:5:"label";s:3:"Url";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";}i:3;a:3:{s:4:"type";s:5:"label";s:4:"name";s:10:"email_home";s:5:"label";s:10:"Home email";}s:5:"label";s:1:"#";s:5:"align";s:6:"center";s:4:"name";s:6:"number";s:4:"size";s:6:"Number";}s:1:"C";a:3:{s:4:"name";s:8:"org_name";s:5:"label";s:12:"Organisation";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"D";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:10:"Department";s:4:"name";s:8:"org_unit";}s:1:"E";a:3:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:16:"Business address";s:4:"name";s:8:"business";}s:1:"F";a:6:{s:4:"type";s:4:"hbox";s:5:"align";s:6:"center";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:16:"nextmatch-header";s:5:"label";s:7:"Actions";s:5:"align";s:6:"center";s:4:"name";s:14:"legacy_actions";}i:2;a:8:{s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:5:"label";s:9:"Check all";s:4:"name";s:9:"check_all";s:4:"help";s:9:"Check all";s:7:"onclick";s:60:"toggle_all(this.form,form::name(\'checked[]\')); return false;";s:6:"needed";s:1:"1";s:5:"align";s:5:"right";}s:4:"span";s:8:",noPrint";}}i:2;a:6:{s:1:"A";a:5:{s:4:"type";s:5:"image";s:5:"label";s:21:"$row_cont[type_label]";s:4:"name";s:12:"${row}[type]";s:5:"align";s:6:"center";s:7:"no_lang";s:1:"1";}s:1:"B";a:7:{s:4:"type";s:3:"int";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:3:"url";s:5:"label";s:3:"Url";}i:2;a:3:{s:4:"type";s:5:"label";s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";}i:3;a:3:{s:4:"type";s:5:"label";s:4:"name";s:10:"email_home";s:5:"label";s:10:"Home email";}s:4:"name";s:17:"${row}[org_count]";s:8:"readonly";s:1:"1";s:5:"align";s:6:"center";}s:1:"C";a:8:{s:4:"type";s:5:"label";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line1]";s:7:"no_lang";s:1:"1";}i:2;a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[line2]";s:7:"no_lang";s:1:"1";}i:3;a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";s:7:"no_lang";s:1:"1";}i:4;a:3:{s:4:"type";s:5:"label";s:4:"name";s:13:"${row}[title]";s:7:"no_lang";s:1:"1";}i:5;a:3:{s:4:"type";s:5:"label";s:4:"name";s:17:"${row}[first_org]";s:7:"no_lang";s:1:"1";}s:4:"name";s:16:"${row}[org_name]";s:7:"no_lang";s:1:"1";}s:1:"D";a:3:{s:4:"type";s:5:"label";s:4:"name";s:16:"${row}[org_unit]";s:7:"no_lang";s:1:"1";}s:1:"E";a:6:{s:4:"type";s:4:"vbox";s:4:"size";s:6:"4,,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:4:"name";s:27:"${row}[adr_one_countryname]";s:7:"no_lang";s:1:"1";}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:7:"2,0,0,0";i:1;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_one_locality]";}i:2;a:5:{s:4:"type";s:5:"label";s:4:"name";s:26:"${row}[adr_one_postalcode]";s:4:"span";s:9:",leftPad5";s:5:"label";s:1:" ";s:7:"no_lang";s:1:"1";}}i:3;a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_street]";}i:4;a:3:{s:4:"type";s:5:"label";s:4:"name";s:23:"${row}[adr_one_street2]";s:7:"no_lang";s:1:"1";}}s:1:"F";a:8:{s:4:"type";s:4:"hbox";s:4:"size";s:5:"5,0,0";i:1;a:5:{s:4:"type";s:6:"button";s:4:"size";s:4:"view";s:5:"label";s:4:"View";s:4:"name";s:19:"view[$row_cont[id]]";s:4:"help";s:38:"Show the contacts of this organisation";}i:2;a:6:{s:4:"type";s:6:"button";s:4:"size";s:3:"new";s:5:"label";s:3:"Add";s:7:"onclick";s:186:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&org=$row_cont[id]\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:18:"add[$row_cont[id]]";s:4:"help";s:34:"Add a contact to this organisation";}i:3;a:6:{s:4:"type";s:6:"button";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"size";s:6:"delete";s:5:"label";s:6:"Delete";s:4:"help";s:51:"Delete this organisation including ALL its contacts";s:7:"onclick";s:70:"return confirm(\'Delete this organisation including ALL its contacts\');";}i:4;a:5:{s:4:"type";s:6:"button";s:4:"size";s:7:"infolog";s:5:"label";s:7:"InfoLog";s:4:"name";s:22:"infolog[$row_cont[id]]";s:4:"help";s:42:"Show InfoLog entries for this organisation";}s:4:"span";s:8:",noPrint";i:5;a:5:{s:4:"type";s:8:"checkbox";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"help";s:45:"Select multiple contacts for a further action";s:5:"align";s:5:"right";}}}}s:4:"rows";i:2;s:4:"cols";i:6;s:4:"size";s:4:"100%";s:7:"options";a:1:{i:0;s:4:"100%";}}}', 'size' => '100%', 'style' => '', 'modified' => '1303075218',);
98 98
 
99
-$templ_data[] = array('name' => 'addressbook.index.right','template' => '','lang' => '','group' => '0','version' => '1.5.001','data' => 'a:1:{i:0;a:6:{s:4:"type";s:6:"select";s:4:"name";s:15:"col_filter[tid]";s:4:"help";s:23:"Select addressbook type";s:8:"onchange";i:1;s:4:"size";s:3:"All";s:5:"label";s:4:"Type";}}','size' => '','style' => '','modified' => '1145286218',);
99
+$templ_data[] = array('name' => 'addressbook.index.right', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.5.001', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:6:"select";s:4:"name";s:15:"col_filter[tid]";s:4:"help";s:23:"Select addressbook type";s:8:"onchange";i:1;s:4:"size";s:3:"All";s:5:"label";s:4:"Type";}}', 'size' => '', 'style' => '', 'modified' => '1145286218',);
100 100
 
101
-$templ_data[] = array('name' => 'addressbook.index.right_add','template' => '','lang' => '','group' => '0','version' => '1.7.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:10:"buttononly";s:4:"name";s:6:"search";s:5:"label";s:15:"Advanced search";s:7:"onclick";s:170:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.search\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}i:2;a:5:{s:4:"type";s:10:"buttononly";s:4:"name";s:3:"add";s:5:"label";s:3:"Add";s:4:"help";s:17:"Add a new contact";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}}}','size' => '','style' => '.rightPadAdd { width: 30px; }','modified' => '1257757888',);
101
+$templ_data[] = array('name' => 'addressbook.index.right_add', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.7.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:10:"buttononly";s:4:"name";s:6:"search";s:5:"label";s:15:"Advanced search";s:7:"onclick";s:170:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.search\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}i:2;a:5:{s:4:"type";s:10:"buttononly";s:4:"name";s:3:"add";s:5:"label";s:3:"Add";s:4:"help";s:17:"Add a new contact";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";}}}', 'size' => '', 'style' => '.rightPadAdd { width: 30px; }', 'modified' => '1257757888',);
102 102
 
103
-$templ_data[] = array('name' => 'addressbook.index.right_addplus','template' => '','lang' => '','group' => '0','version' => '1.9.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:6:{s:5:"align";s:5:"right";s:5:"label";s:4:"Type";s:8:"onchange";s:1:"1";s:4:"name";s:15:"col_filter[tid]";s:4:"size";s:3:"All";s:4:"type";s:6:"select";}s:1:"B";a:5:{s:5:"align";s:5:"right";s:5:"label";s:15:"Advanced search";s:7:"onclick";s:170:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.search\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:6:"search";s:4:"type";s:10:"buttononly";}s:1:"C";a:6:{s:5:"align";s:5:"right";s:5:"label";s:3:"Add";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:3:"add";s:4:"type";s:10:"buttononly";s:4:"help";s:17:"Add a new contact";}}}s:4:"cols";i:3;s:4:"rows";i:1;}}','size' => '','style' => '.rightPadAdd { width: 30px; }','modified' => '1360250716',);
103
+$templ_data[] = array('name' => 'addressbook.index.right_addplus', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:3:{s:1:"A";a:6:{s:5:"align";s:5:"right";s:5:"label";s:4:"Type";s:8:"onchange";s:1:"1";s:4:"name";s:15:"col_filter[tid]";s:4:"size";s:3:"All";s:4:"type";s:6:"select";}s:1:"B";a:5:{s:5:"align";s:5:"right";s:5:"label";s:15:"Advanced search";s:7:"onclick";s:170:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.search\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:6:"search";s:4:"type";s:10:"buttononly";}s:1:"C";a:6:{s:5:"align";s:5:"right";s:5:"label";s:3:"Add";s:7:"onclick";s:168:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit\'),\'_blank\',\'dependent=yes,width=850,height=440,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:3:"add";s:4:"type";s:10:"buttononly";s:4:"help";s:17:"Add a new contact";}}}s:4:"cols";i:3;s:4:"rows";i:1;}}', 'size' => '', 'style' => '.rightPadAdd { width: 30px; }', 'modified' => '1360250716',);
104 104
 
105
-$templ_data[] = array('name' => 'addressbook.index.rows','template' => '','lang' => '','group' => '0','version' => '1.9.005','data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:9:{s:1:"C";s:9:",@no_role";s:1:"E";s:12:"60,@no_photo";s:1:"K";s:17:",@no_customfields";s:1:"L";s:9:",@no_note";s:1:"M";s:22:",@no_distribution_list";s:1:"R";s:2:"75";s:2:"c1";s:2:"th";s:2:"c2";s:38:"$row_cont[cat_id] $row_cont[class],top";s:1:"H";s:48:",@no_home_adr_two_countrycode_adr_two_postalcode";}i:1;a:18:{s:1:"A";a:3:{s:4:"size";s:1:"1";s:4:"type";s:16:"nextmatch-header";s:4:"name";s:4:"icon";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:2:"h1";s:17:",!@order=n_fileas";s:2:"h2";s:16:",!@order=n_given";s:2:"h3";s:17:",!@order=n_family";s:2:"h5";s:85:",!@order=/^(org_name|n_fileas|adr_one_postalcode|contact_modified|contact_created|#)/";s:2:"h6";s:16:",@order=n_fileas";}i:1;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}}i:3;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}}i:4;a:2:{s:1:"A";a:4:{s:5:"label";s:12:"Organisation";s:4:"span";s:3:"all";s:4:"name";s:8:"org_name";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:4:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";s:4:"span";s:9:",leftPad5";}}i:6;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:2;s:4:"rows";i:6;s:4:"size";s:7:",,,,0,0";}s:1:"C";a:3:{s:5:"label";s:4:"role";s:4:"name";s:4:"role";s:4:"type";s:16:"nextmatch-header";}s:1:"D";a:3:{s:5:"label";s:8:"Category";s:4:"name";s:6:"cat_id";s:4:"type";s:16:"nextmatch-header";}s:1:"E";a:3:{s:5:"label";s:5:"Photo";s:4:"name";s:5:"photo";s:4:"type";s:16:"nextmatch-header";}s:1:"F";a:3:{s:5:"label";s:8:"Birthday";s:4:"name";s:4:"bday";s:4:"type";s:16:"nextmatch-header";}s:1:"G";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:16:"Business address";s:4:"name";s:8:"business";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_one_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_one_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"H";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:12:"Home address";s:4:"name";s:4:"home";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_two_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_two_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"I";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";s:4:"type";s:16:"nextmatch-header";}i:4;a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:3:"Url";s:4:"name";s:3:"url";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home email";s:4:"name";s:10:"email_home";s:4:"type";s:16:"nextmatch-header";}}s:1:"K";a:2:{s:4:"name";s:12:"customfields";s:4:"type";s:22:"nextmatch-customfields";}s:1:"L";a:3:{s:5:"label";s:4:"Note";s:4:"name";s:4:"note";s:4:"type";s:16:"nextmatch-header";}s:1:"M";a:3:{s:5:"label";s:18:"Distribution lists";s:4:"name";s:17:"distribution_list";s:4:"type";s:16:"nextmatch-header";}s:1:"N";a:3:{s:5:"label";s:11:"Addressbook";s:4:"name";s:5:"owner";s:4:"type";s:16:"nextmatch-header";}s:1:"O";a:3:{s:5:"label";s:2:"ID";s:4:"name";s:10:"contact_id";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:9:"Last date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:9:"Next date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}}s:1:"Q";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:7:"Created";s:4:"name";s:15:"contact_created";s:4:"type";s:20:"nextmatch-sortheader";}i:2;a:3:{s:5:"label";s:13:"Last modified";s:4:"name";s:16:"contact_modified";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"R";a:6:{s:5:"align";s:6:"center";s:5:"class";s:7:"noPrint";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:5:"align";s:6:"center";s:5:"label";s:7:"Actions";s:4:"name";s:14:"legacy_actions";s:4:"type";s:16:"nextmatch-header";}i:2;a:8:{s:5:"align";s:5:"right";s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:98:"egw_globalObjectManager.getObjectById(\'addressbook.index.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:4:"help";s:9:"Check all";}}}i:2;a:18:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:5:"label";s:21:"$row_cont[type_label]";s:7:"no_lang";s:1:"1";s:4:"type";s:5:"image";s:4:"name";s:12:"${row}[type]";}s:1:"B";a:8:{s:4:"name";s:10:"${row}[id]";s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line1]";s:4:"type";s:5:"label";}i:2;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line2]";s:4:"type";s:5:"label";}i:3;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[org_unit]";s:4:"type";s:5:"label";}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[title]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:17:"${row}[first_org]";s:4:"type";s:5:"label";}}s:1:"C";a:2:{s:4:"name";s:12:"${row}[role]";s:4:"type";s:5:"label";}s:1:"D";a:4:{s:4:"type";s:10:"select-cat";s:8:"readonly";s:1:"1";s:4:"name";s:14:"${row}[cat_id]";s:4:"size";s:1:"2";}s:1:"E";a:3:{s:4:"type";s:5:"image";s:4:"name";s:13:"${row}[photo]";s:4:"span";s:7:",iphoto";}s:1:"F";a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[bday]";s:4:"size";s:5:"Y-m-d";s:4:"type";s:4:"date";}s:1:"G";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_one_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_one_countrycode]";}i:3;a:6:{s:6:"orient";s:1:"0";s:4:"size";s:7:"3,0,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_one_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_one_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_one_street2]";s:4:"type";s:5:"label";}}s:1:"H";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_two_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_two_countrycode]";}i:3;a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_two_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_two_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_two_street2]";s:4:"type";s:5:"label";}}s:1:"I";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_work]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_cell]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_home]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:4;a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[tel_fax]";s:4:"type";s:9:"url-phone";}i:5;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:20:"${row}[tel_prefered]";s:4:"size";s:57:",$row_cont[tel_prefered_link],,,calling,$cont[call_popup]";s:4:"type";s:5:"label";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:11:"${row}[url]";s:4:"type";s:3:"url";s:4:"span";s:12:",fixedHeight";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[email]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:18:"${row}[email_home]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}}s:1:"K";a:5:{s:4:"cols";s:1:"1";s:4:"rows";s:1:"1";s:4:"name";s:4:"$row";s:4:"type";s:17:"customfields-list";s:4:"span";s:13:",customfields";}s:1:"L";a:4:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[note]";s:4:"type";s:8:"textarea";}s:1:"M";a:2:{s:4:"name";s:21:"${row}[distrib_lists]";s:4:"type";s:5:"label";}s:1:"N";a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[owner]";s:4:"type";s:6:"select";}s:1:"O";a:3:{s:4:"name";s:10:"${row}[id]";s:4:"type";s:5:"label";s:4:"span";s:10:",contactid";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:2:{s:4:"name";s:17:"${row}[last_link]";s:4:"type";s:4:"link";}i:2;a:2:{s:4:"name";s:17:"${row}[next_link]";s:4:"type";s:4:"link";}}s:1:"Q";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[created]";s:4:"type";s:9:"date-time";s:4:"span";s:7:",noWrap";}i:2;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[creator]";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modified]";s:4:"type";s:9:"date-time";s:4:"span";s:8:",noBreak";}i:4;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modifier]";}}s:1:"R";a:5:{s:5:"class";s:7:"noPrint";s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";i:1;a:4:{s:5:"label";s:4:"View";s:4:"size";s:56:"addressbook.addressbook_ui.view&contact_id=$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:4:"view";}i:2;a:5:{s:5:"label";s:4:"Edit";s:7:"onclick";s:193:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]\'),\'_blank\',\'dependent=yes,width=870,height=460,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:19:"edit[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:4:"edit";}i:3;a:6:{s:5:"label";s:6:"Delete";s:7:"onclick";s:38:"return confirm(\'Delete this contact\');";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:6:"delete";s:4:"help";s:19:"Delete this contact";}i:4;a:5:{s:5:"align";s:5:"right";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"type";s:8:"checkbox";s:4:"help";s:45:"Select multiple contacts for a further action";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:5:"label";s:18:"Insert in document";s:4:"name";s:23:"document[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:15:"etemplate/merge";s:4:"span";s:8:",image16";}i:2;a:5:{s:5:"label";s:11:"Filemanager";s:4:"size";s:91:"/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:18:"filemanager/navbar";s:4:"span";s:8:",image16";}i:3;a:6:{s:5:"label";s:15:"Add appointment";s:7:"onclick";s:195:"window.open(egw::link(\'/index.php\',\'menuaction=calendar.calendar_uiforms.edit&participants=c$row_cont[id]\'),\'_blank\',\'dependent=yes,width=750,height=410,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:8:"calendar";s:4:"type";s:6:"button";s:4:"size";s:15:"calendar/navbar";s:4:"span";s:8:",image16";}}}}}s:4:"cols";i:18;s:4:"rows";i:2;s:4:"size";s:4:"100%";}}','size' => '100%','style' => '','modified' => '1307033727',);
105
+$templ_data[] = array('name' => 'addressbook.index.rows', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.9.005', 'data' => 'a:1:{i:0;a:5:{s:4:"type";s:4:"grid";s:4:"data";a:3:{i:0;a:9:{s:1:"C";s:9:",@no_role";s:1:"E";s:12:"60,@no_photo";s:1:"K";s:17:",@no_customfields";s:1:"L";s:9:",@no_note";s:1:"M";s:22:",@no_distribution_list";s:1:"R";s:2:"75";s:2:"c1";s:2:"th";s:2:"c2";s:38:"$row_cont[cat_id] $row_cont[class],top";s:1:"H";s:48:",@no_home_adr_two_countrycode_adr_two_postalcode";}i:1;a:18:{s:1:"A";a:3:{s:4:"size";s:1:"1";s:4:"type";s:16:"nextmatch-header";s:4:"name";s:4:"icon";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"data";a:7:{i:0;a:5:{s:2:"h1";s:17:",!@order=n_fileas";s:2:"h2";s:16:",!@order=n_given";s:2:"h3";s:17:",!@order=n_family";s:2:"h5";s:85:",!@order=/^(org_name|n_fileas|adr_one_postalcode|contact_modified|contact_created|#)/";s:2:"h6";s:16:",@order=n_fileas";}i:1;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}}i:3;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:3:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";}}i:4;a:2:{s:1:"A";a:4:{s:5:"label";s:12:"Organisation";s:4:"span";s:3:"all";s:4:"name";s:8:"org_name";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:5;a:2:{s:1:"A";a:3:{s:5:"label";s:4:"Name";s:4:"name";s:8:"n_family";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:4:{s:5:"label";s:9:"Firstname";s:4:"name";s:7:"n_given";s:4:"type";s:20:"nextmatch-sortheader";s:4:"span";s:9:",leftPad5";}}i:6;a:2:{s:1:"A";a:4:{s:5:"label";s:11:"own sorting";s:4:"span";s:3:"all";s:4:"name";s:8:"n_fileas";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"cols";i:2;s:4:"rows";i:6;s:4:"size";s:7:",,,,0,0";}s:1:"C";a:3:{s:5:"label";s:4:"role";s:4:"name";s:4:"role";s:4:"type";s:16:"nextmatch-header";}s:1:"D";a:3:{s:5:"label";s:8:"Category";s:4:"name";s:6:"cat_id";s:4:"type";s:16:"nextmatch-header";}s:1:"E";a:3:{s:5:"label";s:5:"Photo";s:4:"name";s:5:"photo";s:4:"type";s:16:"nextmatch-header";}s:1:"F";a:3:{s:5:"label";s:8:"Birthday";s:4:"name";s:4:"bday";s:4:"type";s:16:"nextmatch-header";}s:1:"G";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:16:"Business address";s:4:"name";s:8:"business";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_one_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_one_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"H";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:12:"Home address";s:4:"name";s:4:"home";s:4:"type";s:16:"nextmatch-header";}i:2;a:4:{s:4:"name";s:19:"adr_two_countrycode";s:4:"size";s:44:"select-country,Country,0,No country selected";s:4:"type";s:22:"nextmatch-customfilter";s:4:"span";s:14:",countrySelect";}i:3;a:3:{s:5:"label";s:8:"zip code";s:4:"name";s:18:"adr_two_postalcode";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"I";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:14:"Business phone";s:4:"name";s:8:"tel_work";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:12:"Mobile phone";s:4:"name";s:8:"tel_cell";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home phone";s:4:"name";s:8:"tel_home";s:4:"type";s:16:"nextmatch-header";}i:4;a:2:{s:4:"type";s:5:"label";s:5:"label";s:3:"Fax";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:3:"Url";s:4:"name";s:3:"url";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:14:"Business email";s:4:"name";s:5:"email";s:4:"type";s:16:"nextmatch-header";}i:3;a:3:{s:5:"label";s:10:"Home email";s:4:"name";s:10:"email_home";s:4:"type";s:16:"nextmatch-header";}}s:1:"K";a:2:{s:4:"name";s:12:"customfields";s:4:"type";s:22:"nextmatch-customfields";}s:1:"L";a:3:{s:5:"label";s:4:"Note";s:4:"name";s:4:"note";s:4:"type";s:16:"nextmatch-header";}s:1:"M";a:3:{s:5:"label";s:18:"Distribution lists";s:4:"name";s:17:"distribution_list";s:4:"type";s:16:"nextmatch-header";}s:1:"N";a:3:{s:5:"label";s:11:"Addressbook";s:4:"name";s:5:"owner";s:4:"type";s:16:"nextmatch-header";}s:1:"O";a:3:{s:5:"label";s:2:"ID";s:4:"name";s:10:"contact_id";s:4:"type";s:20:"nextmatch-sortheader";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:9:"Last date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}i:2;a:3:{s:5:"label";s:9:"Next date";s:4:"name";s:8:"calendar";s:4:"type";s:16:"nextmatch-header";}}s:1:"Q";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:5:"label";s:7:"Created";s:4:"name";s:15:"contact_created";s:4:"type";s:20:"nextmatch-sortheader";}i:2;a:3:{s:5:"label";s:13:"Last modified";s:4:"name";s:16:"contact_modified";s:4:"type";s:20:"nextmatch-sortheader";}}s:1:"R";a:6:{s:5:"align";s:6:"center";s:5:"class";s:7:"noPrint";s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:5:"align";s:6:"center";s:5:"label";s:7:"Actions";s:4:"name";s:14:"legacy_actions";s:4:"type";s:16:"nextmatch-header";}i:2;a:8:{s:5:"align";s:5:"right";s:5:"label";s:9:"Check all";s:6:"needed";s:1:"1";s:7:"onclick";s:98:"egw_globalObjectManager.getObjectById(\'addressbook.index.rows\').toggleAllSelected(); return false;";s:4:"name";s:9:"check_all";s:4:"type";s:6:"button";s:4:"size";s:5:"check";s:4:"help";s:9:"Check all";}}}i:2;a:18:{s:1:"A";a:5:{s:5:"align";s:6:"center";s:5:"label";s:21:"$row_cont[type_label]";s:7:"no_lang";s:1:"1";s:4:"type";s:5:"image";s:4:"name";s:12:"${row}[type]";}s:1:"B";a:8:{s:4:"name";s:10:"${row}[id]";s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line1]";s:4:"type";s:5:"label";}i:2;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[line2]";s:4:"type";s:5:"label";}i:3;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:16:"${row}[org_unit]";s:4:"type";s:5:"label";}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[title]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:17:"${row}[first_org]";s:4:"type";s:5:"label";}}s:1:"C";a:2:{s:4:"name";s:12:"${row}[role]";s:4:"type";s:5:"label";}s:1:"D";a:4:{s:4:"type";s:10:"select-cat";s:8:"readonly";s:1:"1";s:4:"name";s:14:"${row}[cat_id]";s:4:"size";s:1:"2";}s:1:"E";a:3:{s:4:"type";s:5:"image";s:4:"name";s:13:"${row}[photo]";s:4:"span";s:7:",iphoto";}s:1:"F";a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[bday]";s:4:"size";s:5:"Y-m-d";s:4:"type";s:4:"date";}s:1:"G";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_one_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_one_countrycode]";}i:3;a:6:{s:6:"orient";s:1:"0";s:4:"size";s:7:"3,0,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_one_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_one_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_one_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_one_street2]";s:4:"type";s:5:"label";}}s:1:"H";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:27:"${row}[adr_two_countryname]";s:4:"type";s:5:"label";}i:2;a:3:{s:4:"type";s:14:"select-country";s:8:"readonly";s:4:"true";s:4:"name";s:27:"${row}[adr_two_countrycode]";}i:3;a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"hbox";i:1;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:24:"${row}[adr_two_locality]";s:4:"type";s:5:"label";}i:2;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_region]";s:4:"type";s:5:"label";s:4:"span";s:9:",leftPad5";}i:3;a:5:{s:7:"no_lang";s:1:"1";s:4:"name";s:26:"${row}[adr_two_postalcode]";s:4:"type";s:5:"label";s:5:"label";s:1:" ";s:4:"span";s:9:",leftPad5";}}i:4;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:22:"${row}[adr_two_street]";s:4:"type";s:5:"label";}i:5;a:3:{s:7:"no_lang";s:1:"1";s:4:"name";s:23:"${row}[adr_two_street2]";s:4:"type";s:5:"label";}}s:1:"I";a:7:{s:4:"size";s:6:"5,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_work]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_cell]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[tel_home]";s:4:"type";s:9:"url-phone";s:4:"span";s:11:",telNumbers";}i:4;a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[tel_fax]";s:4:"type";s:9:"url-phone";}i:5;a:4:{s:7:"no_lang";s:1:"1";s:4:"name";s:20:"${row}[tel_prefered]";s:4:"size";s:57:",$row_cont[tel_prefered_link],,,calling,$cont[call_popup]";s:4:"type";s:5:"label";}}s:1:"J";a:5:{s:4:"size";s:6:"3,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:11:"${row}[url]";s:4:"type";s:3:"url";s:4:"span";s:12:",fixedHeight";}i:2;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[email]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:18:"${row}[email_home]";s:4:"type";s:9:"url-email";s:4:"span";s:12:",fixedHeight";}}s:1:"K";a:5:{s:4:"cols";s:1:"1";s:4:"rows";s:1:"1";s:4:"name";s:4:"$row";s:4:"type";s:17:"customfields-list";s:4:"span";s:13:",customfields";}s:1:"L";a:4:{s:7:"no_lang";s:1:"1";s:8:"readonly";s:4:"true";s:4:"name";s:12:"${row}[note]";s:4:"type";s:8:"textarea";}s:1:"M";a:2:{s:4:"name";s:21:"${row}[distrib_lists]";s:4:"type";s:5:"label";}s:1:"N";a:3:{s:8:"readonly";s:4:"true";s:4:"name";s:13:"${row}[owner]";s:4:"type";s:6:"select";}s:1:"O";a:3:{s:4:"name";s:10:"${row}[id]";s:4:"type";s:5:"label";s:4:"span";s:10:",contactid";}s:1:"P";a:4:{s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:2:{s:4:"name";s:17:"${row}[last_link]";s:4:"type";s:4:"link";}i:2;a:2:{s:4:"name";s:17:"${row}[next_link]";s:4:"type";s:4:"link";}}s:1:"Q";a:6:{s:4:"size";s:6:"4,,0,0";s:4:"type";s:4:"vbox";i:1;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[created]";s:4:"type";s:9:"date-time";s:4:"span";s:7:",noWrap";}i:2;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:15:"${row}[creator]";}i:3;a:4:{s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modified]";s:4:"type";s:9:"date-time";s:4:"span";s:8:",noBreak";}i:4;a:3:{s:4:"type";s:14:"select-account";s:8:"readonly";s:4:"true";s:4:"name";s:16:"${row}[modifier]";}}s:1:"R";a:5:{s:5:"class";s:7:"noPrint";s:4:"size";s:6:"2,,0,0";s:4:"type";s:4:"vbox";i:1;a:6:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"4";i:1;a:4:{s:5:"label";s:4:"View";s:4:"size";s:56:"addressbook.addressbook_ui.view&contact_id=$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:4:"view";}i:2;a:5:{s:5:"label";s:4:"Edit";s:7:"onclick";s:193:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.addressbook_ui.edit&contact_id=$row_cont[id]\'),\'_blank\',\'dependent=yes,width=870,height=460,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:19:"edit[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:4:"edit";}i:3;a:6:{s:5:"label";s:6:"Delete";s:7:"onclick";s:38:"return confirm(\'Delete this contact\');";s:4:"name";s:21:"delete[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:6:"delete";s:4:"help";s:19:"Delete this contact";}i:4;a:5:{s:5:"align";s:5:"right";s:4:"name";s:9:"checked[]";s:4:"size";s:13:"$row_cont[id]";s:4:"type";s:8:"checkbox";s:4:"help";s:45:"Select multiple contacts for a further action";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"3";i:1;a:5:{s:5:"label";s:18:"Insert in document";s:4:"name";s:23:"document[$row_cont[id]]";s:4:"type";s:6:"button";s:4:"size";s:15:"etemplate/merge";s:4:"span";s:8:",image16";}i:2;a:5:{s:5:"label";s:11:"Filemanager";s:4:"size";s:91:"/index.php?menuaction=filemanager.filemanager_ui.index&path=/apps/addressbook/$row_cont[id]";s:4:"type";s:5:"image";s:4:"name";s:18:"filemanager/navbar";s:4:"span";s:8:",image16";}i:3;a:6:{s:5:"label";s:15:"Add appointment";s:7:"onclick";s:195:"window.open(egw::link(\'/index.php\',\'menuaction=calendar.calendar_uiforms.edit&participants=c$row_cont[id]\'),\'_blank\',\'dependent=yes,width=750,height=410,scrollbars=yes,status=yes\'); return false;";s:4:"name";s:8:"calendar";s:4:"type";s:6:"button";s:4:"size";s:15:"calendar/navbar";s:4:"span";s:8:",image16";}}}}}s:4:"cols";i:18;s:4:"rows";i:2;s:4:"size";s:4:"100%";}}', 'size' => '100%', 'style' => '', 'modified' => '1307033727',);
106 106
 
107
-$templ_data[] = array('name' => 'addressbook.search','template' => '','lang' => '','group' => '0','version' => '1.8.001','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:16:"addressbook.edit";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:6:"select";s:5:"label";s:8:"Operator";s:4:"name";s:8:"operator";s:7:"no_lang";s:1:"1";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:11:"meth_select";s:7:"no_lang";s:1:"1";}s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:4:"span";s:3:"all";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Search";s:4:"name";s:14:"button[search]";s:7:"onclick";s:37:"xajax_eT_wrapper(this); return false;";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";s:7:"onclick";s:37:"xajax_eT_wrapper(this); return false;";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:2;}}','size' => '','style' => '','modified' => '1161707411',);
107
+$templ_data[] = array('name' => 'addressbook.search', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '1.8.001', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:0:{}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:8:"template";s:4:"name";s:16:"addressbook.edit";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:2;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:6:"select";s:5:"label";s:8:"Operator";s:4:"name";s:8:"operator";s:7:"no_lang";s:1:"1";}i:2;a:3:{s:4:"type";s:6:"select";s:4:"name";s:11:"meth_select";s:7:"no_lang";s:1:"1";}s:4:"span";s:3:"all";}s:1:"B";a:1:{s:4:"type";s:5:"label";}}i:3;a:2:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:4:"span";s:3:"all";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Search";s:4:"name";s:14:"button[search]";s:7:"onclick";s:37:"xajax_eT_wrapper(this); return false;";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";s:7:"onclick";s:37:"xajax_eT_wrapper(this); return false;";}}s:1:"B";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:3;s:4:"cols";i:2;}}', 'size' => '', 'style' => '', 'modified' => '1161707411',);
108 108
 
109
-$templ_data[] = array('name' => 'addressbook.test','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:19:"customfields-single";s:4:"name";s:14:"${row}[#woher]";}}}s:4:"rows";i:1;s:4:"cols";i:1;}}','size' => '','style' => '','modified' => '1195762644',);
109
+$templ_data[] = array('name' => 'addressbook.test', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:19:"customfields-single";s:4:"name";s:14:"${row}[#woher]";}}}s:4:"rows";i:1;s:4:"cols";i:1;}}', 'size' => '', 'style' => '', 'modified' => '1195762644',);
110 110
 
111
-$templ_data[] = array('name' => 'addressbook.view','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:1:"A";s:3:"750";}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:3:"tab";s:5:"label";s:28:"overview|link|details|custom";s:4:"name";s:28:"overview|link|details|custom";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"owner";}i:2;a:3:{s:4:"type";s:14:"select-account";s:4:"name";s:5:"owner";s:8:"readonly";s:1:"1";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:5:"right";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"last modified";}i:2;a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"last_mod";s:8:"readonly";s:1:"1";}}}}i:4;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"5";i:1;a:5:{s:4:"name";s:15:"button[private]";s:7:"onclick";s:13:"return false;";s:5:"label";s:7:"private";s:4:"size";s:8:"password";s:4:"type";s:6:"button";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Edit";s:4:"name";s:12:"button[edit]";s:7:"onclick";s:213:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]\'),\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;";}i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Copy";s:4:"name";s:12:"button[copy]";s:7:"onclick";s:222:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]&makecp=1\'),\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;";}i:4;a:3:{s:4:"type";s:6:"button";s:5:"label";s:5:"Vcard";s:4:"name";s:13:"button[vcard]";}i:5;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";}}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"1";s:5:"align";s:5:"right";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:14:"button[delete]";s:7:"onclick";s:60:"return confirm(\'Do you really want do delte this contact?\');";}}}}}s:4:"rows";i:4;s:4:"cols";i:1;s:5:"align";s:6:"center";s:7:"options";a:0:{}}}','size' => '','style' => '.contactviewblock{
111
+$templ_data[] = array('name' => 'addressbook.view', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:5:{i:0;a:1:{s:1:"A";s:3:"750";}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}i:2;a:1:{s:1:"A";a:3:{s:4:"type";s:3:"tab";s:5:"label";s:28:"overview|link|details|custom";s:4:"name";s:28:"overview|link|details|custom";}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"owner";}i:2;a:3:{s:4:"type";s:14:"select-account";s:4:"name";s:5:"owner";s:8:"readonly";s:1:"1";}}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";s:5:"align";s:5:"right";i:1;a:2:{s:4:"type";s:5:"label";s:5:"label";s:13:"last modified";}i:2;a:3:{s:4:"type";s:9:"date-time";s:4:"name";s:8:"last_mod";s:8:"readonly";s:1:"1";}}}}i:4;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:7:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"5";i:1;a:5:{s:4:"name";s:15:"button[private]";s:7:"onclick";s:13:"return false;";s:5:"label";s:7:"private";s:4:"size";s:8:"password";s:4:"type";s:6:"button";}i:2;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Edit";s:4:"name";s:12:"button[edit]";s:7:"onclick";s:213:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]\'),\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;";}i:3;a:4:{s:4:"type";s:6:"button";s:5:"label";s:4:"Copy";s:4:"name";s:12:"button[copy]";s:7:"onclick";s:222:"window.open(egw::link(\'/index.php\',\'menuaction=addressbook.uicontacts.edit&contact_id=$cont[id]&makecp=1\'),\'\',\'dependent=yes,width=800,height=600,location=no,menubar=no,toolbar=no,scrollbars=yes,status=yes\'); return false;";}i:4;a:3:{s:4:"type";s:6:"button";s:5:"label";s:5:"Vcard";s:4:"name";s:13:"button[vcard]";}i:5;a:3:{s:4:"type";s:6:"button";s:5:"label";s:6:"Cancel";s:4:"name";s:14:"button[cancel]";}}i:2;a:4:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"1";s:5:"align";s:5:"right";i:1;a:4:{s:4:"type";s:6:"button";s:5:"label";s:6:"Delete";s:4:"name";s:14:"button[delete]";s:7:"onclick";s:60:"return confirm(\'Do you really want do delte this contact?\');";}}}}}s:4:"rows";i:4;s:4:"cols";i:1;s:5:"align";s:6:"center";s:7:"options";a:0:{}}}', 'size' => '', 'style' => '.contactviewblock{
112 112
 vertical-align: top;
113 113
 }
114 114
 .contactviewicon{
115 115
 vertical-align: top;
116 116
 }','modified' => '1131713623',);
117 117
 
118
-$templ_data[] = array('name' => 'addressbook.view.custom','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:12:"customfields";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}','size' => ',280','style' => '','modified' => '1131720533',);
118
+$templ_data[] = array('name' => 'addressbook.view.custom', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:2:{s:4:"type";s:12:"customfields";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}', 'size' => ',280', 'style' => '', 'modified' => '1131720533',);
119 119
 
120
-$templ_data[] = array('name' => 'addressbook.view.details','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:3:{s:2:"c1";s:4:",top";s:2:"c2";s:4:",top";s:2:"c3";s:4:",top";}i:1;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"notes";}s:1:"C";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:7:"no_lang";s:1:"1";s:4:"name";s:4:"note";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Label";}s:1:"C";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:4:"name";s:5:"label";s:7:"no_lang";s:1:"1";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"public key";}s:1:"C";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:7:"no_lang";s:1:"1";s:4:"name";s:6:"pubkey";}}}s:4:"rows";i:3;s:4:"cols";i:3;s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}','size' => ',280','style' => '','modified' => '1131721350',);
120
+$templ_data[] = array('name' => 'addressbook.view.details', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:3:{s:2:"c1";s:4:",top";s:2:"c2";s:4:",top";s:2:"c3";s:4:",top";}i:1;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"notes";}s:1:"C";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:7:"no_lang";s:1:"1";s:4:"name";s:4:"note";}}i:2;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:5:"Label";}s:1:"C";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:4:"name";s:5:"label";s:7:"no_lang";s:1:"1";}}i:3;a:3:{s:1:"A";a:1:{s:4:"type";s:5:"label";}s:1:"B";a:2:{s:4:"type";s:5:"label";s:5:"label";s:10:"public key";}s:1:"C";a:4:{s:4:"type";s:8:"textarea";s:4:"size";s:4:"4,80";s:7:"no_lang";s:1:"1";s:4:"name";s:6:"pubkey";}}}s:4:"rows";i:3;s:4:"cols";i:3;s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}', 'size' => ',280', 'style' => '', 'modified' => '1131721350',);
121 121
 
122
-$templ_data[] = array('name' => 'addressbook.view.link','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}','size' => ',280','style' => '','modified' => '1131721121',);
122
+$templ_data[] = array('name' => 'addressbook.view.link', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:6:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:0:{}i:1;a:1:{s:1:"A";a:1:{s:4:"type";s:5:"label";}}}s:4:"rows";i:1;s:4:"cols";i:1;s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}', 'size' => ',280', 'style' => '', 'modified' => '1131721121',);
123 123
 
124
-$templ_data[] = array('name' => 'addressbook.view.overview','template' => '','lang' => '','group' => '0','version' => '','data' => 'a:1:{i:0;a:7:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:3:{s:2:"c2";s:4:",top";s:1:"A";s:4:"100%";s:2:"c3";s:4:",top";}i:1;a:1:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:2:"fn";s:7:"no_lang";s:1:"1";}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:4:"type";s:5:"label";s:4:"name";s:2:"tz";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:9:"time zone";}i:2;a:5:{s:4:"type";s:4:"date";s:5:"label";s:8:"birthday";s:4:"name";s:4:"bday";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:5:"align";s:5:"right";}s:4:"span";s:3:"all";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:19:",@!personal_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"personal";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:16:"personal_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}i:2;a:6:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:23:",@!organisation_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:20:"organisation_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;s:7:"options";a:0:{}}}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:16:",@!phone_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:12:"kaddressbook";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:13:"phone_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}i:2;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:16:",@!email_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:10:"email_icon";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:13:"email_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}i:3;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:14:",@!url_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:15:"package_network";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:11:"url_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}}s:4:"rows";i:1;s:4:"cols";i:2;}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:10:"select-cat";s:4:"size";s:1:"3";s:4:"name";s:6:"cat_id";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"span";s:16:",contactviewicon";s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}','size' => ',280','style' => '','modified' => '1131713767',);
124
+$templ_data[] = array('name' => 'addressbook.view.overview', 'template' => '', 'lang' => '', 'group' => '0', 'version' => '', 'data' => 'a:1:{i:0;a:7:{s:4:"type";s:4:"grid";s:4:"data";a:4:{i:0;a:3:{s:2:"c2";s:4:",top";s:1:"A";s:4:"100%";s:2:"c3";s:4:",top";}i:1;a:1:{s:1:"A";a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:4:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:2:"fn";s:7:"no_lang";s:1:"1";}i:2;a:5:{s:4:"type";s:4:"hbox";s:4:"size";s:1:"2";i:1;a:5:{s:4:"type";s:5:"label";s:4:"name";s:2:"tz";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";s:5:"label";s:9:"time zone";}i:2;a:5:{s:4:"type";s:4:"date";s:5:"label";s:8:"birthday";s:4:"name";s:4:"bday";s:8:"readonly";s:1:"1";s:7:"no_lang";s:1:"1";}s:5:"align";s:5:"right";}s:4:"span";s:3:"all";}}i:2;a:1:{s:1:"A";a:4:{s:4:"type";s:4:"grid";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:4:",top";}i:1;a:2:{s:1:"A";a:4:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"2";i:1;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:19:",@!personal_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:8:"personal";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:16:"personal_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}i:2;a:6:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:23:",@!organisation_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:6:"gohome";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:20:"organisation_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;s:7:"options";a:0:{}}}s:1:"B";a:5:{s:4:"type";s:4:"vbox";s:4:"size";s:1:"3";i:1;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:16:",@!phone_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:12:"kaddressbook";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:13:"phone_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}i:2;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:16:",@!email_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:10:"email_icon";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:13:"email_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}i:3;a:5:{s:4:"type";s:4:"grid";s:4:"span";s:17:",contactviewblock";s:4:"data";a:2:{i:0;a:2:{s:2:"c1";s:4:",top";s:2:"h1";s:14:",@!url_entries";}i:1;a:2:{s:1:"A";a:2:{s:4:"type";s:5:"image";s:4:"name";s:15:"package_network";}s:1:"B";a:5:{s:4:"type";s:4:"grid";s:4:"name";s:11:"url_entries";s:4:"data";a:2:{i:0;a:1:{s:2:"c1";s:3:"nmr";}i:1;a:2:{s:1:"A";a:3:{s:4:"type";s:5:"label";s:4:"size";s:1:"b";s:4:"name";s:13:"${row}[field]";}s:1:"B";a:3:{s:4:"type";s:5:"label";s:7:"no_lang";s:1:"1";s:4:"name";s:13:"${row}[value]";}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}s:4:"rows";i:1;s:4:"cols";i:2;}}}}s:4:"rows";i:1;s:4:"cols";i:2;}}i:3;a:1:{s:1:"A";a:4:{s:4:"type";s:10:"select-cat";s:4:"size";s:1:"3";s:4:"name";s:6:"cat_id";s:8:"readonly";s:1:"1";}}}s:4:"rows";i:3;s:4:"cols";i:1;s:4:"span";s:16:",contactviewicon";s:4:"size";s:4:",280";s:7:"options";a:1:{i:1;s:3:"280";}}}', 'size' => ',280', 'style' => '', 'modified' => '1131713767',);
125 125
 
Please login to merge, or discard this patch.
addressbook/inc/class.addressbook_import_vcard.inc.php 4 patches
Indentation   +41 added lines, -41 removed lines patch added patch discarded remove patch
@@ -45,8 +45,8 @@  discard block
 block discarded – undo
45 45
 	private $bocontacts;
46 46
 
47 47
 	/**
48
-	* For figuring out if a contact has changed
49
-	*/
48
+	 * For figuring out if a contact has changed
49
+	 */
50 50
 	protected $tracking;
51 51
 
52 52
 	/**
@@ -76,9 +76,9 @@  discard block
 block discarded – undo
76 76
 	protected $errors = array();
77 77
 
78 78
 	/**
79
-         * List of actions, and how many times that action was taken
80
-         */
81
-        protected $results = array();
79
+	 * List of actions, and how many times that action was taken
80
+	 */
81
+		protected $results = array();
82 82
 
83 83
 	/**
84 84
 	 * imports entries according to given definition object.
@@ -93,14 +93,14 @@  discard block
 block discarded – undo
93 93
 		$this->is_admin = isset( $GLOBALS['egw_info']['user']['apps']['admin'] ) && $GLOBALS['egw_info']['user']['apps']['admin'];
94 94
 		$this->user = $GLOBALS['egw_info']['user']['account_id'];
95 95
 
96
-                // set contact owner
97
-                $contact_owner = isset( $_definition->plugin_options['contact_owner'] ) ?
98
-                        $_definition->plugin_options['contact_owner'] : $this->user;
99
-                // Import into importer's personal addressbook
100
-                if($contact_owner == 'personal')
101
-                {
102
-                        $contact_owner = $this->user;
103
-                }
96
+				// set contact owner
97
+				$contact_owner = isset( $_definition->plugin_options['contact_owner'] ) ?
98
+						$_definition->plugin_options['contact_owner'] : $this->user;
99
+				// Import into importer's personal addressbook
100
+				if($contact_owner == 'personal')
101
+				{
102
+						$contact_owner = $this->user;
103
+				}
104 104
 
105 105
 		// dry run?
106 106
 		$this->dry_run = isset( $_definition->plugin_options['dry_run'] ) ? $_definition->plugin_options['dry_run'] :  false;
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
 		$this->errors = array();
124 124
 
125 125
 		// Fix for Apple Addressbook
126
-        $vCard = preg_replace('/item\d\.(ADR|TEL|EMAIL|URL)/', '\1', stream_get_contents($_stream));
126
+		$vCard = preg_replace('/item\d\.(ADR|TEL|EMAIL|URL)/', '\1', stream_get_contents($_stream));
127 127
 
128 128
 		$contacts = new Api\CalDAV\IcalIterator($vCard, '', $charset, array($this, '_vcard'),array(
129 129
 			// Owner (addressbook)
@@ -277,7 +277,7 @@  discard block
 block discarded – undo
277 277
 		foreach($this->preview_records as $record)
278 278
 		{
279 279
 			// Convert to human-friendly
280
-            importexport_export_csv::convert($record,$record_class::$types,$_definition->application);
280
+			importexport_export_csv::convert($record,$record_class::$types,$_definition->application);
281 281
 			$record = $record->get_record_array();
282 282
 			$row = array();
283 283
 			foreach(array_keys($labels) as $field)
@@ -350,38 +350,38 @@  discard block
 block discarded – undo
350 350
 	}
351 351
 
352 352
 	/**
353
-        * Returns warnings that were encountered during importing
354
-        * Maximum of one warning message per record, but you can append if you need to
355
-        *
356
-        * @return Array (
357
-        *       record_# => warning message
358
-        *       )
359
-        */
360
-        public function get_warnings() {
353
+	 * Returns warnings that were encountered during importing
354
+	 * Maximum of one warning message per record, but you can append if you need to
355
+	 *
356
+	 * @return Array (
357
+	 *       record_# => warning message
358
+	 *       )
359
+	 */
360
+		public function get_warnings() {
361 361
 		return $this->warnings;
362 362
 	}
363 363
 
364 364
 	/**
365
-        * Returns errors that were encountered during importing
366
-        * Maximum of one error message per record, but you can append if you need to
367
-        *
368
-        * @return Array (
369
-        *       record_# => error message
370
-        *       )
371
-        */
372
-        public function get_errors() {
365
+	 * Returns errors that were encountered during importing
366
+	 * Maximum of one error message per record, but you can append if you need to
367
+	 *
368
+	 * @return Array (
369
+	 *       record_# => error message
370
+	 *       )
371
+	 */
372
+		public function get_errors() {
373 373
 		return $this->errors;
374 374
 	}
375 375
 
376 376
 	/**
377
-        * Returns a list of actions taken, and the number of records for that action.
378
-        * Actions are things like 'insert', 'update', 'delete', and may be different for each plugin.
379
-        *
380
-        * @return Array (
381
-        *       action => record count
382
-        * )
383
-        */
384
-        public function get_results() {
385
-                return $this->results;
386
-        }
377
+	 * Returns a list of actions taken, and the number of records for that action.
378
+	 * Actions are things like 'insert', 'update', 'delete', and may be different for each plugin.
379
+	 *
380
+	 * @return Array (
381
+	 *       action => record count
382
+	 * )
383
+	 */
384
+		public function get_results() {
385
+				return $this->results;
386
+		}
387 387
 }
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -82,8 +82,7 @@  discard block
 block discarded – undo
82 82
 	/**
83 83
 	 * imports entries according to given definition object.
84 84
 	 * @param resource $_stream
85
-	 * @param string $_charset
86
-	 * @param definition $_definition
85
+	 * @param importexport_definition $_definition
87 86
 	 */
88 87
 	public function import( $_stream, importexport_definition $_definition ) {
89 88
 		$this->definition = $_definition;
@@ -190,7 +189,7 @@  discard block
 block discarded – undo
190 189
 	 * perform the required action
191 190
 	 *
192 191
 	 * @param int $_action one of $this->actions
193
-	 * @param array $_data contact data for the action
192
+	 * @param Horde_iCalendar $_data contact data for the action
194 193
 	 * @return bool success or not
195 194
 	 */
196 195
 	private function action ( $_action, $_data, $record_num = 0 ) {
Please login to merge, or discard this patch.
Spacing   +34 added lines, -34 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
 /**
15 15
  * Plugin to import vCard files
16 16
  */
17
-class addressbook_import_vcard implements importexport_iface_import_plugin  {
17
+class addressbook_import_vcard implements importexport_iface_import_plugin {
18 18
 
19 19
 	private static $plugin_options = array(
20 20
 		
@@ -85,24 +85,24 @@  discard block
 block discarded – undo
85 85
 	 * @param string $_charset
86 86
 	 * @param definition $_definition
87 87
 	 */
88
-	public function import( $_stream, importexport_definition $_definition ) {
88
+	public function import($_stream, importexport_definition $_definition) {
89 89
 		$this->definition = $_definition;
90 90
 
91 91
 		// user, is admin ?
92
-		$this->is_admin = isset( $GLOBALS['egw_info']['user']['apps']['admin'] ) && $GLOBALS['egw_info']['user']['apps']['admin'];
92
+		$this->is_admin = isset($GLOBALS['egw_info']['user']['apps']['admin']) && $GLOBALS['egw_info']['user']['apps']['admin'];
93 93
 		$this->user = $GLOBALS['egw_info']['user']['account_id'];
94 94
 
95 95
                 // set contact owner
96
-                $contact_owner = isset( $_definition->plugin_options['contact_owner'] ) ?
96
+                $contact_owner = isset($_definition->plugin_options['contact_owner']) ?
97 97
                         $_definition->plugin_options['contact_owner'] : $this->user;
98 98
                 // Import into importer's personal addressbook
99
-                if($contact_owner == 'personal')
99
+                if ($contact_owner == 'personal')
100 100
                 {
101 101
                         $contact_owner = $this->user;
102 102
                 }
103 103
 
104 104
 		// dry run?
105
-		$this->dry_run = isset( $_definition->plugin_options['dry_run'] ) ? $_definition->plugin_options['dry_run'] :  false;
105
+		$this->dry_run = isset($_definition->plugin_options['dry_run']) ? $_definition->plugin_options['dry_run'] : false;
106 106
 
107 107
 		// Needed for categories to work right
108 108
 		$GLOBALS['egw_info']['flags']['currentapp'] = 'addressbook';
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 		$this->bocontacts = new addressbook_vcal();
112 112
 
113 113
 		$charset = $_definition->plugin_options['charset'];
114
-		if($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
114
+		if ($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
115 115
 
116 116
 		// Start counting successes
117 117
 		$this->current = 0;
@@ -124,24 +124,24 @@  discard block
 block discarded – undo
124 124
 		// Fix for Apple Addressbook
125 125
         $vCard = preg_replace('/item\d\.(ADR|TEL|EMAIL|URL)/', '\1', stream_get_contents($_stream));
126 126
 
127
-		$contacts = new egw_ical_iterator($vCard, '', $charset, array($this, '_vcard'),array(
127
+		$contacts = new egw_ical_iterator($vCard, '', $charset, array($this, '_vcard'), array(
128 128
 			// Owner (addressbook)
129 129
 			$contact_owner
130 130
 		));
131 131
 		$contacts->next();
132
-		while($contacts->valid()) {
132
+		while ($contacts->valid()) {
133 133
 			$this->current++;
134 134
 			$contact = $contacts->current();
135 135
 
136 136
 			$this->action('insert', $contact, $this->current);
137 137
 
138 138
 			// Stop if we have enough records for a preview
139
-			if($this->dry_run)
139
+			if ($this->dry_run)
140 140
 			{
141 141
 				$egw_record = new addressbook_egw_record();
142 142
 				$egw_record->set_record($contact);
143 143
 				$this->preview_records[] = $egw_record;
144
-				if($count >= $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs']) break;
144
+				if ($count >= $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs']) break;
145 145
 			}
146 146
 
147 147
 			$count++;
@@ -157,13 +157,13 @@  discard block
 block discarded – undo
157 157
 	public function _vcard($_vcard, $owner)
158 158
 	{
159 159
 		$charset = $_definition->plugin_options['charset'];
160
-		if($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
161
-		$record = $this->bocontacts->vcardtoegw($_vcard,$charset);
160
+		if ($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
161
+		$record = $this->bocontacts->vcardtoegw($_vcard, $charset);
162 162
 
163 163
 		$record['owner'] = $owner;
164 164
 
165 165
 		// Check that owner (addressbook) is allowed
166
-		if(!array_key_exists($record['owner'], $this->bocontacts->get_addressbooks()))
166
+		if (!array_key_exists($record['owner'], $this->bocontacts->get_addressbooks()))
167 167
 		{
168 168
 			$this->errors[$this->current] = lang("Unable to import into %1, using %2",
169 169
 				common::grab_owner_name($record['owner']),
@@ -174,14 +174,14 @@  discard block
 block discarded – undo
174 174
 
175 175
 		// Do not allow owner == 0 (accounts) without an account_id
176 176
 		// It causes the contact to be filed as an account, and can't delete
177
-		if(!$record['owner'] && !$record['account_id'])
177
+		if (!$record['owner'] && !$record['account_id'])
178 178
 		{
179 179
 			$record['owner'] = $this->user;
180 180
 		}
181 181
 
182 182
 		if (is_array($record['cat_id']))
183 183
 		{
184
-			$record['cat_id'] = implode(',',$this->bocontacts->find_or_add_categories($record['cat_id'], -1));
184
+			$record['cat_id'] = implode(',', $this->bocontacts->find_or_add_categories($record['cat_id'], -1));
185 185
 		}
186 186
 		return $record;
187 187
 	}
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 	 * @param array $_data contact data for the action
194 194
 	 * @return bool success or not
195 195
 	 */
196
-	private function action ( $_action, $_data, $record_num = 0 ) {
196
+	private function action($_action, $_data, $record_num = 0) {
197 197
 		switch ($_action) {
198 198
 			case 'none' :
199 199
 				return true;
@@ -201,13 +201,13 @@  discard block
 block discarded – undo
201 201
 				// Only update if there are changes
202 202
 				$old = $this->bocontacts->read($_data['id']);
203 203
 				// if we get countrycodes as countryname, try to translate them -> the rest should be handled by bo classes.
204
-				foreach(array('adr_one_', 'adr_two_') as $c_prefix) {
205
-					if (strlen(trim($_data[$c_prefix.'countryname']))==2) $_data[$c_prefix.'countryname'] = $GLOBALS['egw']->country->get_full_name(trim($_data[$c_prefix.'countryname']),$translated=true);
204
+				foreach (array('adr_one_', 'adr_two_') as $c_prefix) {
205
+					if (strlen(trim($_data[$c_prefix.'countryname'])) == 2) $_data[$c_prefix.'countryname'] = $GLOBALS['egw']->country->get_full_name(trim($_data[$c_prefix.'countryname']), $translated = true);
206 206
 				}
207 207
 				// Don't change a user account into a contact
208
-				if($old['owner'] == 0) {
208
+				if ($old['owner'] == 0) {
209 209
 					unset($_data['owner']);
210
-				} elseif(!$this->definition->plugin_options['change_owner']) {
210
+				} elseif (!$this->definition->plugin_options['change_owner']) {
211 211
 					// Don't change addressbook of an existing contact
212 212
 					unset($_data['owner']);
213 213
 				}
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
 				// Merge to deal with fields not in import record
216 216
 				$_data = array_merge($old, $_data);
217 217
 				$changed = $this->tracking->changed_fields($_data, $old);
218
-				if(count($changed) == 0) {
218
+				if (count($changed) == 0) {
219 219
 					return true;
220 220
 				} else {
221 221
 					//error_log(__METHOD__.__LINE__.array2string($changed).' Old:'.$old['adr_one_countryname'].' ('.$old['adr_one_countrycode'].') New:'.$_data['adr_one_countryname'].' ('.$_data['adr_one_countryname'].')');
@@ -226,22 +226,22 @@  discard block
 block discarded – undo
226 226
 
227 227
 				// Fall through
228 228
 			case 'insert' :
229
-				if($_action == 'insert') {
229
+				if ($_action == 'insert') {
230 230
 					// Addressbook backend doesn't like inserting with ID specified, it screws up the owner & etag
231 231
 					unset($_data['id']);
232 232
 				}
233
-				if(!isset($_data['org_name'])) {
233
+				if (!isset($_data['org_name'])) {
234 234
 					// org_name is a trigger to update n_fileas
235 235
 					$_data['org_name'] = '';
236 236
 				}
237 237
 
238
-				if ( $this->dry_run ) {
238
+				if ($this->dry_run) {
239 239
 					//print_r($_data);
240 240
 					$this->results[$_action]++;
241 241
 					return true;
242 242
 				} else {
243
-					$result = $this->bocontacts->save( $_data, $this->is_admin);
244
-					if(!$result) {
243
+					$result = $this->bocontacts->save($_data, $this->is_admin);
244
+					if (!$result) {
245 245
 						$this->errors[$record_num] = $this->bocontacts->error;
246 246
 					} else {
247 247
 						$this->results[$_action]++;
@@ -249,14 +249,14 @@  discard block
 block discarded – undo
249 249
 					return $result;
250 250
 				}
251 251
 			default:
252
-				throw new egw_exception('Unsupported action: '. $_action);
252
+				throw new egw_exception('Unsupported action: '.$_action);
253 253
 			
254 254
 		}
255 255
 	}
256 256
 
257
-	public function preview( $_stream, importexport_definition $_definition )
257
+	public function preview($_stream, importexport_definition $_definition)
258 258
 	{
259
-		$rows = array('h1'=>array(),'f1'=>array(),'.h1'=>'class=th');
259
+		$rows = array('h1'=>array(), 'f1'=>array(), '.h1'=>'class=th');
260 260
 
261 261
 		// Set this so plugin doesn't do any data changes
262 262
 		$_definition->plugin_options = (array)$_definition->plugin_options + array('dry_run' => true);
@@ -269,18 +269,18 @@  discard block
 block discarded – undo
269 269
 
270 270
 		$record_class = get_class($this->preview_records[0]);
271 271
 
272
-		foreach($this->preview_records as $i => $record)
272
+		foreach ($this->preview_records as $i => $record)
273 273
 		{
274 274
 			// Convert to human-friendly
275
-            importexport_export_csv::convert($record,$record_class::$types,$_definition->application);
275
+            importexport_export_csv::convert($record, $record_class::$types, $_definition->application);
276 276
 			$record = $record->get_record_array();
277 277
 			$row = array();
278
-			foreach($labels as $field => $label)
278
+			foreach ($labels as $field => $label)
279 279
 			{
280 280
 				$row[$field] = $record[$field];
281 281
 
282 282
 				// Don't scare users, do something with jpeg
283
-				if($field == 'jpegphoto' && $row[$field])
283
+				if ($field == 'jpegphoto' && $row[$field])
284 284
 				{
285 285
 					$row[$field] = '<img style="max-width:50px;max-height:50px;" src="data:image/jpeg;base64,'.$row[$field].'"/>';
286 286
 				}
Please login to merge, or discard this patch.
Braces   +68 added lines, -28 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@  discard block
 block discarded – undo
14 14
 /**
15 15
  * Plugin to import vCard files
16 16
  */
17
-class addressbook_import_vcard implements importexport_iface_import_plugin  {
17
+class addressbook_import_vcard implements importexport_iface_import_plugin
18
+{
18 19
 
19 20
 	private static $plugin_options = array(
20 21
 		
@@ -85,7 +86,8 @@  discard block
 block discarded – undo
85 86
 	 * @param string $_charset
86 87
 	 * @param definition $_definition
87 88
 	 */
88
-	public function import( $_stream, importexport_definition $_definition ) {
89
+	public function import( $_stream, importexport_definition $_definition )
90
+	{
89 91
 		$this->definition = $_definition;
90 92
 
91 93
 		// user, is admin ?
@@ -111,7 +113,10 @@  discard block
 block discarded – undo
111 113
 		$this->bocontacts = new addressbook_vcal();
112 114
 
113 115
 		$charset = $_definition->plugin_options['charset'];
114
-		if($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
116
+		if($charset == 'user')
117
+		{
118
+			$charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
119
+		}
115 120
 
116 121
 		// Start counting successes
117 122
 		$this->current = 0;
@@ -129,7 +134,8 @@  discard block
 block discarded – undo
129 134
 			$contact_owner
130 135
 		));
131 136
 		$contacts->next();
132
-		while($contacts->valid()) {
137
+		while($contacts->valid())
138
+		{
133 139
 			$this->current++;
134 140
 			$contact = $contacts->current();
135 141
 
@@ -141,7 +147,10 @@  discard block
 block discarded – undo
141 147
 				$egw_record = new addressbook_egw_record();
142 148
 				$egw_record->set_record($contact);
143 149
 				$this->preview_records[] = $egw_record;
144
-				if($count >= $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs']) break;
150
+				if($count >= $GLOBALS['egw_info']['user']['preferences']['common']['maxmatchs'])
151
+				{
152
+					break;
153
+				}
145 154
 			}
146 155
 
147 156
 			$count++;
@@ -157,7 +166,10 @@  discard block
 block discarded – undo
157 166
 	public function _vcard($_vcard, $owner)
158 167
 	{
159 168
 		$charset = $_definition->plugin_options['charset'];
160
-		if($charset == 'user') $charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
169
+		if($charset == 'user')
170
+		{
171
+			$charset = $GLOBALS['egw_info']['user']['preferences']['addressbook']['vcard_charset'];
172
+		}
161 173
 		$record = $this->bocontacts->vcardtoegw($_vcard,$charset);
162 174
 
163 175
 		$record['owner'] = $owner;
@@ -193,21 +205,30 @@  discard block
 block discarded – undo
193 205
 	 * @param array $_data contact data for the action
194 206
 	 * @return bool success or not
195 207
 	 */
196
-	private function action ( $_action, $_data, $record_num = 0 ) {
197
-		switch ($_action) {
208
+	private function action ( $_action, $_data, $record_num = 0 )
209
+	{
210
+		switch ($_action)
211
+		{
198 212
 			case 'none' :
199 213
 				return true;
200 214
 			case 'update' :
201 215
 				// Only update if there are changes
202 216
 				$old = $this->bocontacts->read($_data['id']);
203 217
 				// if we get countrycodes as countryname, try to translate them -> the rest should be handled by bo classes.
204
-				foreach(array('adr_one_', 'adr_two_') as $c_prefix) {
205
-					if (strlen(trim($_data[$c_prefix.'countryname']))==2) $_data[$c_prefix.'countryname'] = $GLOBALS['egw']->country->get_full_name(trim($_data[$c_prefix.'countryname']),$translated=true);
218
+				foreach(array('adr_one_', 'adr_two_') as $c_prefix)
219
+				{
220
+					if (strlen(trim($_data[$c_prefix.'countryname']))==2)
221
+					{
222
+						$_data[$c_prefix.'countryname'] = $GLOBALS['egw']->country->get_full_name(trim($_data[$c_prefix.'countryname']),$translated=true);
223
+					}
206 224
 				}
207 225
 				// Don't change a user account into a contact
208
-				if($old['owner'] == 0) {
226
+				if($old['owner'] == 0)
227
+				{
209 228
 					unset($_data['owner']);
210
-				} elseif(!$this->definition->plugin_options['change_owner']) {
229
+				}
230
+				elseif(!$this->definition->plugin_options['change_owner'])
231
+				{
211 232
 					// Don't change addressbook of an existing contact
212 233
 					unset($_data['owner']);
213 234
 				}
@@ -215,9 +236,12 @@  discard block
 block discarded – undo
215 236
 				// Merge to deal with fields not in import record
216 237
 				$_data = array_merge($old, $_data);
217 238
 				$changed = $this->tracking->changed_fields($_data, $old);
218
-				if(count($changed) == 0) {
239
+				if(count($changed) == 0)
240
+				{
219 241
 					return true;
220
-				} else {
242
+				}
243
+				else
244
+				{
221 245
 					//error_log(__METHOD__.__LINE__.array2string($changed).' Old:'.$old['adr_one_countryname'].' ('.$old['adr_one_countrycode'].') New:'.$_data['adr_one_countryname'].' ('.$_data['adr_one_countryname'].')');
222 246
 				}
223 247
 				
@@ -226,24 +250,32 @@  discard block
 block discarded – undo
226 250
 
227 251
 				// Fall through
228 252
 			case 'insert' :
229
-				if($_action == 'insert') {
253
+				if($_action == 'insert')
254
+				{
230 255
 					// Addressbook backend doesn't like inserting with ID specified, it screws up the owner & etag
231 256
 					unset($_data['id']);
232 257
 				}
233
-				if(!isset($_data['org_name'])) {
258
+				if(!isset($_data['org_name']))
259
+				{
234 260
 					// org_name is a trigger to update n_fileas
235 261
 					$_data['org_name'] = '';
236 262
 				}
237 263
 
238
-				if ( $this->dry_run ) {
264
+				if ( $this->dry_run )
265
+				{
239 266
 					//print_r($_data);
240 267
 					$this->results[$_action]++;
241 268
 					return true;
242
-				} else {
269
+				}
270
+				else
271
+				{
243 272
 					$result = $this->bocontacts->save( $_data, $this->is_admin);
244
-					if(!$result) {
273
+					if(!$result)
274
+					{
245 275
 						$this->errors[$record_num] = $this->bocontacts->error;
246
-					} else {
276
+					}
277
+					else
278
+					{
247 279
 						$this->results[$_action]++;
248 280
 					}
249 281
 					return $result;
@@ -297,7 +329,8 @@  discard block
 block discarded – undo
297 329
 	 *
298 330
 	 * @return string name
299 331
 	 */
300
-	public static function get_name() {
332
+	public static function get_name()
333
+	{
301 334
 		return lang('Addressbook vCard import');
302 335
 	}
303 336
 
@@ -306,7 +339,8 @@  discard block
 block discarded – undo
306 339
 	 *
307 340
 	 * @return string descriprion
308 341
 	 */
309
-	public static function get_description() {
342
+	public static function get_description()
343
+	{
310 344
 		return lang("Imports contacts into your Addressbook from a vCard File. ");
311 345
 	}
312 346
 
@@ -315,7 +349,8 @@  discard block
 block discarded – undo
315 349
 	 *
316 350
 	 * @return string suffix (comma seperated)
317 351
 	 */
318
-	public static function get_filesuffix() {
352
+	public static function get_filesuffix()
353
+	{
319 354
 		return 'vcf';
320 355
 	}
321 356
 
@@ -331,7 +366,8 @@  discard block
 block discarded – undo
331 366
 	 * 		preserv		=> array,
332 367
 	 * )
333 368
 	 */
334
-	public function get_options_etpl() {
369
+	public function get_options_etpl()
370
+	{
335 371
 		// lets do it!
336 372
 	}
337 373
 
@@ -340,7 +376,8 @@  discard block
 block discarded – undo
340 376
 	 *
341 377
 	 * @return string etemplate name
342 378
 	 */
343
-	public function get_selectors_etpl() {
379
+	public function get_selectors_etpl()
380
+	{
344 381
 		// lets do it!
345 382
 	}
346 383
 
@@ -352,7 +389,8 @@  discard block
 block discarded – undo
352 389
         *       record_# => warning message
353 390
         *       )
354 391
         */
355
-        public function get_warnings() {
392
+        public function get_warnings()
393
+        {
356 394
 		return $this->warnings;
357 395
 	}
358 396
 
@@ -364,7 +402,8 @@  discard block
 block discarded – undo
364 402
         *       record_# => error message
365 403
         *       )
366 404
         */
367
-        public function get_errors() {
405
+        public function get_errors()
406
+        {
368 407
 		return $this->errors;
369 408
 	}
370 409
 
@@ -376,7 +415,8 @@  discard block
 block discarded – undo
376 415
         *       action => record count
377 416
         * )
378 417
         */
379
-        public function get_results() {
418
+        public function get_results()
419
+        {
380 420
                 return $this->results;
381 421
         }
382 422
 } // end of iface_export_plugin
Please login to merge, or discard this patch.
addressbook/inc/class.addressbook_export_contacts_csv.inc.php 5 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -365,10 +365,10 @@  discard block
 block discarded – undo
365 365
 	}
366 366
 
367 367
 	/**
368
-	* Convert some internal data to something with more meaning
369
-	*
370
-	* Dates, times, user IDs, category IDs
371
-	*/
368
+	 * Convert some internal data to something with more meaning
369
+	 *
370
+	 * Dates, times, user IDs, category IDs
371
+	 */
372 372
 	public static function convert(addressbook_egw_record &$record, $options) {
373 373
 
374 374
 		if ($record->tel_prefer) {
@@ -436,7 +436,7 @@  discard block
 block discarded – undo
436 436
 	 * Adjust automatically generated filter fields
437 437
 	 */
438 438
 	public function get_filter_fields(Array &$filters)
439
-    {
439
+	{
440 440
 		unset($filters['last_event']);
441 441
 		unset($filters['next_event']);
442 442
 		foreach($filters as $field_name => &$settings)
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 	/**
30 30
 	 * Exports records as defined in $_definition
31 31
 	 *
32
-	 * @param egw_record $_definition
32
+	 * @param importexport_definition $_definition
33 33
 	 */
34 34
 	public function export( $_stream, importexport_definition $_definition) {
35 35
 		$options = $_definition->plugin_options;
Please login to merge, or discard this patch.
Spacing   +85 added lines, -85 removed lines patch added patch discarded remove patch
@@ -21,13 +21,13 @@  discard block
 block discarded – undo
21 21
 	 * Constants used for exploding categories & multi-selectboxes into seperate fields
22 22
 	 */
23 23
 	const NO_EXPLODE = False;
24
-	const MAIN_CATS = 'main_cats';	// Only the top-level categories get their own field
25
-	const EACH_CAT = 'each_cat';	// Every category gets its own field
26
-	const EXPLODE = 'explode';	// For [custom] multi-selects, each option gets its own field
24
+	const MAIN_CATS = 'main_cats'; // Only the top-level categories get their own field
25
+	const EACH_CAT = 'each_cat'; // Every category gets its own field
26
+	const EXPLODE = 'explode'; // For [custom] multi-selects, each option gets its own field
27 27
 
28 28
 	public function __construct()
29 29
 	{
30
-		$this->ui= new addressbook_ui();
30
+		$this->ui = new addressbook_ui();
31 31
 		$this->get_selects();
32 32
 	}
33 33
 
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * @param egw_record $_definition
38 38
 	 */
39
-	public function export( $_stream, importexport_definition $_definition) {
39
+	public function export($_stream, importexport_definition $_definition) {
40 40
 
41 41
 		$options = $_definition->plugin_options;
42 42
 		$this->export_object = $export_object = new importexport_export_csv($_stream, (array)$options);
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
 
46 46
 		// Addressbook defines its own export imits
47 47
 		$limit_exception = bo_merge::is_export_limit_excepted();
48
-		$export_limit = bo_merge::getExportLimit($app='addressbook');
48
+		$export_limit = bo_merge::getExportLimit($app = 'addressbook');
49 49
 		if (!$limit_exception) $export_object->export_limit = $export_limit; // we may not need that after all
50
-		if($export_limit == 'no' && !$limit_exception) {
50
+		if ($export_limit == 'no' && !$limit_exception) {
51 51
 			return;
52 52
 		}
53 53
 
@@ -57,18 +57,18 @@  discard block
 block discarded – undo
57 57
 
58 58
 		if ($options['selection'] == 'search') {
59 59
 			// uicontacts selection with checkbox 'use_all'
60
-			$query = $GLOBALS['egw']->session->appsession('index','addressbook');
61
-			$query['num_rows'] = -1;	// all
62
-			$query['csv_export'] = true;	// so get_rows method _can_ produce different content or not store state in the session
60
+			$query = $GLOBALS['egw']->session->appsession('index', 'addressbook');
61
+			$query['num_rows'] = -1; // all
62
+			$query['csv_export'] = true; // so get_rows method _can_ produce different content or not store state in the session
63 63
 			$query['order'] = 'contact_id';
64
-			if(!array_key_exists('filter',$query)) $query['filter'] = $GLOBALS['egw_info']['user']['account_id'];
65
-			$this->ui->get_rows($query,$selection,$readonlys, true);	// only return the ids
64
+			if (!array_key_exists('filter', $query)) $query['filter'] = $GLOBALS['egw_info']['user']['account_id'];
65
+			$this->ui->get_rows($query, $selection, $readonlys, true); // only return the ids
66 66
 		}
67
-		elseif ( $options['selection'] == 'all' ) {
67
+		elseif ($options['selection'] == 'all') {
68 68
 			if ($GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts']) {
69 69
 				$col_filter['account_id'] = null;
70 70
 			}
71
-			$selection = ExecMethod2('addressbook.addressbook_bo.search', array(), true, '', '','',false,'AND',false,$col_filter);
71
+			$selection = ExecMethod2('addressbook.addressbook_bo.search', array(), true, '', '', '', false, 'AND', false, $col_filter);
72 72
 			//$uicontacts->get_rows($query,$selection,$readonlys,true);
73 73
 		}
74 74
 		elseif ($options['selection'] == 'filter')
@@ -79,90 +79,90 @@  discard block
 block discarded – undo
79 79
 			$query = array();
80 80
 
81 81
 			// Handle ranges
82
-			foreach($filter as $field => $value)
82
+			foreach ($filter as $field => $value)
83 83
 			{
84
-				if($field == 'cat_id')
84
+				if ($field == 'cat_id')
85 85
 				{
86
-					$query['col_filter'][$field] = implode(',',$value);
86
+					$query['col_filter'][$field] = implode(',', $value);
87 87
 					continue;
88 88
 				}
89 89
 
90 90
 				// Birthdays in addressbook are formatted Y-m-d
91
-				if($field == 'bday')
91
+				if ($field == 'bday')
92 92
 				{
93
-					if($value['from'])
93
+					if ($value['from'])
94 94
 					{
95
-						$query['col_filter'][] = "contact_bday >= " . $GLOBALS['egw']->db->quote(date('Y-m-d', (int)$value['from']));
95
+						$query['col_filter'][] = "contact_bday >= ".$GLOBALS['egw']->db->quote(date('Y-m-d', (int)$value['from']));
96 96
 					}
97
-					if($value['to'])
97
+					if ($value['to'])
98 98
 					{
99
-						$query['col_filter'][] = "contact_bday <= " . $GLOBALS['egw']->db->quote(date('Y-m-d', (int)$value['to']));
99
+						$query['col_filter'][] = "contact_bday <= ".$GLOBALS['egw']->db->quote(date('Y-m-d', (int)$value['to']));
100 100
 					}
101 101
 					continue;
102 102
 				}
103 103
 				// Custom fields & listed exceptions are not filtered with contact_ prefix
104
-				if(strpos($field, '#') !== 0 && !in_array($field, array('tid','owner')))
104
+				if (strpos($field, '#') !== 0 && !in_array($field, array('tid', 'owner')))
105 105
 				{
106 106
 					$field = 'contact_'.$field;
107 107
 				}
108 108
 				$query['col_filter'][$field] = $value;
109
-				if(!is_array($value) || (!$value['from'] && !$value['to'])) continue;
109
+				if (!is_array($value) || (!$value['from'] && !$value['to'])) continue;
110 110
 
111 111
 				// Ranges are inclusive, so should be provided that way (from 2 to 10 includes 2 and 10)
112
-				if($value['from']) $query['col_filter'][] = "$field >= " . (int)$value['from'];
113
-				if($value['to']) $query['col_filter'][] = "$field <= " . (int)$value['to'];
112
+				if ($value['from']) $query['col_filter'][] = "$field >= ".(int)$value['from'];
113
+				if ($value['to']) $query['col_filter'][] = "$field <= ".(int)$value['to'];
114 114
 				unset($query['col_filter'][$field]);
115 115
 			}
116
-			$selection = ExecMethod2('addressbook.addressbook_bo.search', array(), true, '', '','',false,'AND',false,$query['col_filter']);
116
+			$selection = ExecMethod2('addressbook.addressbook_bo.search', array(), true, '', '', '', false, 'AND', false, $query['col_filter']);
117 117
 		}
118 118
 		else
119 119
 		{
120
-			$selection = explode(',',$options['selection']);
120
+			$selection = explode(',', $options['selection']);
121 121
 		}
122
-		if(!is_array($selection))
122
+		if (!is_array($selection))
123 123
 		{
124 124
 			$selection = array();
125 125
 		}
126 126
 		$GLOBALS['egw_info']['flags']['currentapp'] = $old_app;
127 127
 
128
-		if(bo_merge::hasExportLimit($export_limit) && !$limit_exception) {
128
+		if (bo_merge::hasExportLimit($export_limit) && !$limit_exception) {
129 129
 			$selection = array_slice($selection, 0, $export_limit);
130 130
 		}
131 131
 
132
-		if($options['explode_multiselects']) {
132
+		if ($options['explode_multiselects']) {
133 133
 			$customfields = config::get_customfields('addressbook');
134 134
 			$additional_fields = array();
135 135
 			$cat_obj = new categories('', 'addressbook');
136
-			foreach($options['explode_multiselects'] as $field => $explode) {
137
-				switch($explode['explode']) {
136
+			foreach ($options['explode_multiselects'] as $field => $explode) {
137
+				switch ($explode['explode']) {
138 138
 					case self::MAIN_CATS:
139
-						$cats = $cat_obj->return_array('mains', 0, false,'','ASC','',true);
140
-						foreach($cats as $settings) {
139
+						$cats = $cat_obj->return_array('mains', 0, false, '', 'ASC', '', true);
140
+						foreach ($cats as $settings) {
141 141
 							$additional_fields[$field][$settings['id']] = array(
142 142
 								'count' => 0,
143 143
 								'label' => $settings['name'],
144 144
 								'subs' => array(),
145 145
 							);
146 146
 							$subs = $cat_obj->return_sorted_array(0, False, '', 'ASC', 'cat_name', True, $settings['id']);
147
-							foreach($subs as $sub) {
147
+							foreach ($subs as $sub) {
148 148
 								$name = $sub['name'];
149 149
 								$path = $sub;
150
-								while($path['parent'] != $settings['id']) {
150
+								while ($path['parent'] != $settings['id']) {
151 151
 									$path = $cat_obj->read($path['parent']);
152
-									$name = $path['name'] . '/' . $name;
152
+									$name = $path['name'].'/'.$name;
153 153
 								}
154 154
 								$additional_fields[$field][$settings['id']]['subs'][$sub['id']] = $name;
155 155
 							}
156 156
 						}
157 157
 						break;
158 158
 					case self::EACH_CAT:
159
-						$cats = $cat_obj->return_array('all', 0, false,'','ASC','',true);
160
-						foreach($cats as $settings) {
159
+						$cats = $cat_obj->return_array('all', 0, false, '', 'ASC', '', true);
160
+						foreach ($cats as $settings) {
161 161
 							$name = $settings['name'];
162 162
 							$path = $settings;
163
-							while($path['level'] != 0) {
163
+							while ($path['level'] != 0) {
164 164
 								$path = $cat_obj->read($path['parent']);
165
-								$name = $path['name'] . '/' . $name;
165
+								$name = $path['name'].'/'.$name;
166 166
 							}
167 167
 							$additional_fields[$field][$settings['id']] = array(
168 168
 								'count' => 0,
@@ -173,10 +173,10 @@  discard block
 block discarded – undo
173 173
 					case self::EXPLODE:
174 174
 						// Only works for custom fields
175 175
 						$index = substr($field, 1);
176
-						foreach($customfields[$index]['values'] as $key => $value) {
176
+						foreach ($customfields[$index]['values'] as $key => $value) {
177 177
 							$additional_fields[$field][$key] = array(
178 178
 								'count' => 0,
179
-								'label' => $customfields[$index]['label'] . ': ' . $value,
179
+								'label' => $customfields[$index]['label'].': '.$value,
180 180
 							);
181 181
 						}
182 182
 						break;
@@ -185,29 +185,29 @@  discard block
 block discarded – undo
185 185
 
186 186
 			// Check records to see if additional fields are actually used
187 187
 			foreach ($selection as $_contact) {
188
-				if(is_array($_contact) && array_key_exists('photo', $_contact)) {
188
+				if (is_array($_contact) && array_key_exists('photo', $_contact)) {
189 189
 					unset($_contact['photo']);
190 190
 				}
191
-				if(is_array($_contact) && count($_contact) == 1 && $_contact['id']) {
191
+				if (is_array($_contact) && count($_contact) == 1 && $_contact['id']) {
192 192
 					$_contact = $_contact['id'];
193 193
 				}
194
-				if(is_array($_contact) && $_contact['id']) {
194
+				if (is_array($_contact) && $_contact['id']) {
195 195
 					$contact = new addressbook_egw_record();
196 196
 					$contact->set_record($_contact);
197 197
 				} else {
198 198
 					$contact = new addressbook_egw_record($_contact);
199 199
 				}
200
-				foreach($additional_fields as $field => &$values) {
201
-					if(!$contact->$field) continue;
202
-					foreach($values as $value => &$settings) {
203
-						if(!is_array($contact->$field)) {
200
+				foreach ($additional_fields as $field => &$values) {
201
+					if (!$contact->$field) continue;
202
+					foreach ($values as $value => &$settings) {
203
+						if (!is_array($contact->$field)) {
204 204
 							$contact->$field = explode(',', $contact->$field);
205 205
 						}
206
-						if(is_array($contact->$field) && in_array($value, $contact->$field)) {
206
+						if (is_array($contact->$field) && in_array($value, $contact->$field)) {
207 207
 							$settings['count']++;
208
-						} elseif($contact->$field == $value) {
208
+						} elseif ($contact->$field == $value) {
209 209
 							$settings['count']++;
210
-						} elseif($options['explode_multiselects'][$field]['explode'] == self::MAIN_CATS && array_intersect($contact->$field, array_keys($settings['subs']))) {
210
+						} elseif ($options['explode_multiselects'][$field]['explode'] == self::MAIN_CATS && array_intersect($contact->$field, array_keys($settings['subs']))) {
211 211
 							$settings['count']++;
212 212
 						}
213 213
 					}
@@ -219,18 +219,18 @@  discard block
 block discarded – undo
219 219
 			unset($settings);
220 220
 
221 221
 			// Add additional columns
222
-			foreach($additional_fields as $field => $additional_values) {
222
+			foreach ($additional_fields as $field => $additional_values) {
223 223
 				// Remove original
224 224
 				unset($options['mapping'][$field]);
225 225
 				// Add exploded
226 226
 				$field_count = 0;
227
-				foreach($additional_values as $value => $settings) {
228
-					if($settings['count'] > 0) {
227
+				foreach ($additional_values as $value => $settings) {
228
+					if ($settings['count'] > 0) {
229 229
 						$field_count += $settings['count'];
230 230
 						$options['mapping'][$field.'-'.$value] = $settings['label'];
231 231
 					}
232 232
 				}
233
-				if($field_count > 0) {
233
+				if ($field_count > 0) {
234 234
 					// Set some options for converting
235 235
 					$options['explode_multiselects'][$field]['values'] = $additional_values;
236 236
 				} else {
@@ -243,12 +243,12 @@  discard block
 block discarded – undo
243 243
 		$export_object->set_mapping($options['mapping']);
244 244
 		
245 245
 		// Add in last/next event, if needed
246
-		if($options['mapping']['last_date'] || $options['mapping']['next_date'])
246
+		if ($options['mapping']['last_date'] || $options['mapping']['next_date'])
247 247
 		{
248 248
 			$contact_ids = array();
249
-			foreach($selection as $_contact)
249
+			foreach ($selection as $_contact)
250 250
 			{
251
-				if(is_array($_contact) && $_contact['id'])
251
+				if (is_array($_contact) && $_contact['id'])
252 252
 				{
253 253
 					$contact_ids[] = $_contact['id'];
254 254
 				}
@@ -263,20 +263,20 @@  discard block
 block discarded – undo
263 263
 		// $options['selection'] is array of identifiers as this plugin doesn't
264 264
 		// support other selectors atm.
265 265
 		foreach ($selection as $_contact) {
266
-			if(is_array($_contact) && array_key_exists('photo', $_contact)) {
266
+			if (is_array($_contact) && array_key_exists('photo', $_contact)) {
267 267
 				unset($_contact['photo']);
268 268
 			}
269
-			if(is_array($_contact) && count($_contact) == 1 && $_contact['id']) {
269
+			if (is_array($_contact) && count($_contact) == 1 && $_contact['id']) {
270 270
 				$_contact = $_contact['id'];
271 271
 			}
272
-			if(is_array($_contact) && $_contact['id']) {
272
+			if (is_array($_contact) && $_contact['id']) {
273 273
 				$contact = new addressbook_egw_record();
274 274
 				$contact->set_record($_contact);
275 275
 			} else {
276 276
 				$contact = new addressbook_egw_record($_contact);
277 277
 			}
278 278
 
279
-			if($events && $events[$contact->id])
279
+			if ($events && $events[$contact->id])
280 280
 			{
281 281
 				// NB: last_date and next_date are used instead of last_event & next_event
282 282
 				// to avoid automatic conversion - we want to export link title, not date-time
@@ -285,12 +285,12 @@  discard block
 block discarded – undo
285 285
 			}
286 286
 			// Some conversion
287 287
 			$this->convert($contact, $options);
288
-			if($options['convert']) {
289
-				importexport_export_csv::convert($contact, addressbook_egw_record::$types, 'addressbook',$this->selects);
288
+			if ($options['convert']) {
289
+				importexport_export_csv::convert($contact, addressbook_egw_record::$types, 'addressbook', $this->selects);
290 290
 			} else {
291 291
 				// Implode arrays, so they don't say 'Array'
292
-				foreach($contact->get_record_array() as $key => $value) {
293
-					if(is_array($value)) $contact->$key = implode(',', $value);
292
+				foreach ($contact->get_record_array() as $key => $value) {
293
+					if (is_array($value)) $contact->$key = implode(',', $value);
294 294
 				}
295 295
 			}
296 296
 
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 	 */
338 338
 	public function get_filename()
339 339
 	{
340
-		if(is_object($this->export_object) && $this->export_object->get_num_of_records() == 1)
340
+		if (is_object($this->export_object) && $this->export_object->get_num_of_records() == 1)
341 341
 		{
342 342
 			return $this->export_object->record->get_title();
343 343
 		}
@@ -368,26 +368,26 @@  discard block
 block discarded – undo
368 368
 	*
369 369
 	* Dates, times, user IDs, category IDs
370 370
 	*/
371
-	public static function convert(addressbook_egw_record &$record, $options) {
371
+	public static function convert(addressbook_egw_record&$record, $options) {
372 372
 
373 373
 		if ($record->tel_prefer) {
374 374
 			$field = $record->tel_prefer;
375 375
 			$record->tel_prefer = $record->$field;
376 376
 		}
377 377
 
378
-		if(!is_array($options['explode_multiselects']))
378
+		if (!is_array($options['explode_multiselects']))
379 379
 		{
380 380
 			return;
381 381
 		}
382
-		foreach((array)$options['explode_multiselects'] as $field => $explode_settings) {
383
-			if(!is_array($record->$field)) $record->$field = explode(',', $record->$field);
384
-			foreach((array)$explode_settings['values'] as $value => $settings) {
382
+		foreach ((array)$options['explode_multiselects'] as $field => $explode_settings) {
383
+			if (!is_array($record->$field)) $record->$field = explode(',', $record->$field);
384
+			foreach ((array)$explode_settings['values'] as $value => $settings) {
385 385
 				$field_name = "$field-$value";
386 386
 				$record->$field_name = array();
387
-				if(is_array($record->$field) && in_array($value, $record->$field) || $record->$field == $value) {
388
-					if($explode_settings['explode'] != self::MAIN_CATS) {
387
+				if (is_array($record->$field) && in_array($value, $record->$field) || $record->$field == $value) {
388
+					if ($explode_settings['explode'] != self::MAIN_CATS) {
389 389
 						$record->$field_name = $options['convert'] ? lang('Yes') : true;
390
-					} elseif($options['convert']) {
390
+					} elseif ($options['convert']) {
391 391
 						// 3 part assign due to magic get method
392 392
 						$record_value = $record->$field_name;
393 393
 						$record_value[] = $settings['label'];
@@ -396,16 +396,16 @@  discard block
 block discarded – undo
396 396
 						$record->$field_name = $value;
397 397
 					}
398 398
 				}
399
-				if($explode_settings['explode'] == self::MAIN_CATS && count(array_intersect($record->$field, array_keys($settings['subs'])))) {
399
+				if ($explode_settings['explode'] == self::MAIN_CATS && count(array_intersect($record->$field, array_keys($settings['subs'])))) {
400 400
 					// 3 part assign due to magic get method
401 401
 					$record_value = $record->$field_name;
402
-					if(!is_array($record_value)) $record_value = array($record_value);
403
-					foreach(array_intersect($record->$field, array_keys($settings['subs'])) as $sub_id) {
402
+					if (!is_array($record_value)) $record_value = array($record_value);
403
+					foreach (array_intersect($record->$field, array_keys($settings['subs'])) as $sub_id) {
404 404
 						$record_value[] = $options['convert'] ? $settings['subs'][$sub_id] : $sub_id;
405 405
 					}
406 406
 					$record->$field_name = $record_value;
407 407
 				}
408
-				if(is_array($record->$field_name)) $record->$field_name = implode(($options['convert'] ? ', ' : ','), $record->$field_name);
408
+				if (is_array($record->$field_name)) $record->$field_name = implode(($options['convert'] ? ', ' : ','), $record->$field_name);
409 409
 			}
410 410
 		}
411 411
 	}
@@ -416,7 +416,7 @@  discard block
 block discarded – undo
416 416
 		$this->selects = array(
417 417
 			'tid' => array('n' => 'Contact')
418 418
 		);
419
-		foreach($this->ui->content_types as $tid => $data)
419
+		foreach ($this->ui->content_types as $tid => $data)
420 420
 		{
421 421
 			$this->selects['tid'][$tid] = $data['name'];
422 422
 		}
@@ -429,9 +429,9 @@  discard block
 block discarded – undo
429 429
     {
430 430
 		unset($filters['last_event']);
431 431
 		unset($filters['next_event']);
432
-		foreach($filters as $field_name => &$settings)
432
+		foreach ($filters as $field_name => &$settings)
433 433
 		{
434
-			if($this->selects[$field_name]) $settings['values'] = $this->selects[$field_name];
434
+			if ($this->selects[$field_name]) $settings['values'] = $this->selects[$field_name];
435 435
 		}
436 436
 		$filters['owner'] = array(
437 437
 			'name'		=> 'owner',
Please login to merge, or discard this patch.
Braces   +166 added lines, -68 removed lines patch added patch discarded remove patch
@@ -14,7 +14,8 @@  discard block
 block discarded – undo
14 14
 /**
15 15
  * export plugin of addressbook
16 16
  */
17
-class addressbook_export_contacts_csv implements importexport_iface_export_plugin {
17
+class addressbook_export_contacts_csv implements importexport_iface_export_plugin
18
+{
18 19
 
19 20
 
20 21
 	/**
@@ -36,7 +37,8 @@  discard block
 block discarded – undo
36 37
 	 *
37 38
 	 * @param egw_record $_definition
38 39
 	 */
39
-	public function export( $_stream, importexport_definition $_definition) {
40
+	public function export( $_stream, importexport_definition $_definition)
41
+	{
40 42
 
41 43
 		$options = $_definition->plugin_options;
42 44
 		$this->export_object = $export_object = new importexport_export_csv($_stream, (array)$options);
@@ -46,8 +48,13 @@  discard block
 block discarded – undo
46 48
 		// Addressbook defines its own export imits
47 49
 		$limit_exception = bo_merge::is_export_limit_excepted();
48 50
 		$export_limit = bo_merge::getExportLimit($app='addressbook');
49
-		if (!$limit_exception) $export_object->export_limit = $export_limit; // we may not need that after all
50
-		if($export_limit == 'no' && !$limit_exception) {
51
+		if (!$limit_exception)
52
+		{
53
+			$export_object->export_limit = $export_limit;
54
+		}
55
+		// we may not need that after all
56
+		if($export_limit == 'no' && !$limit_exception)
57
+		{
51 58
 			return;
52 59
 		}
53 60
 
@@ -55,17 +62,23 @@  discard block
 block discarded – undo
55 62
 		$old_app = $GLOBALS['egw_info']['flags']['currentapp'];
56 63
 		$GLOBALS['egw_info']['flags']['currentapp'] = 'addressbook';
57 64
 
58
-		if ($options['selection'] == 'search') {
65
+		if ($options['selection'] == 'search')
66
+		{
59 67
 			// uicontacts selection with checkbox 'use_all'
60 68
 			$query = $GLOBALS['egw']->session->appsession('index','addressbook');
61 69
 			$query['num_rows'] = -1;	// all
62 70
 			$query['csv_export'] = true;	// so get_rows method _can_ produce different content or not store state in the session
63 71
 			$query['order'] = 'contact_id';
64
-			if(!array_key_exists('filter',$query)) $query['filter'] = $GLOBALS['egw_info']['user']['account_id'];
72
+			if(!array_key_exists('filter',$query))
73
+			{
74
+				$query['filter'] = $GLOBALS['egw_info']['user']['account_id'];
75
+			}
65 76
 			$this->ui->get_rows($query,$selection,$readonlys, true);	// only return the ids
66 77
 		}
67
-		elseif ( $options['selection'] == 'all' ) {
68
-			if ($GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts']) {
78
+		elseif ( $options['selection'] == 'all' )
79
+		{
80
+			if ($GLOBALS['egw_info']['user']['preferences']['addressbook']['hide_accounts'])
81
+			{
69 82
 				$col_filter['account_id'] = null;
70 83
 			}
71 84
 			$selection = ExecMethod2('addressbook.addressbook_bo.search', array(), true, '', '','',false,'AND',false,$col_filter);
@@ -106,11 +119,20 @@  discard block
 block discarded – undo
106 119
 					$field = 'contact_'.$field;
107 120
 				}
108 121
 				$query['col_filter'][$field] = $value;
109
-				if(!is_array($value) || (!$value['from'] && !$value['to'])) continue;
122
+				if(!is_array($value) || (!$value['from'] && !$value['to']))
123
+				{
124
+					continue;
125
+				}
110 126
 
111 127
 				// Ranges are inclusive, so should be provided that way (from 2 to 10 includes 2 and 10)
112
-				if($value['from']) $query['col_filter'][] = "$field >= " . (int)$value['from'];
113
-				if($value['to']) $query['col_filter'][] = "$field <= " . (int)$value['to'];
128
+				if($value['from'])
129
+				{
130
+					$query['col_filter'][] = "$field >= " . (int)$value['from'];
131
+				}
132
+				if($value['to'])
133
+				{
134
+					$query['col_filter'][] = "$field <= " . (int)$value['to'];
135
+				}
114 136
 				unset($query['col_filter'][$field]);
115 137
 			}
116 138
 			$selection = ExecMethod2('addressbook.addressbook_bo.search', array(), true, '', '','',false,'AND',false,$query['col_filter']);
@@ -125,29 +147,36 @@  discard block
 block discarded – undo
125 147
 		}
126 148
 		$GLOBALS['egw_info']['flags']['currentapp'] = $old_app;
127 149
 
128
-		if(bo_merge::hasExportLimit($export_limit) && !$limit_exception) {
150
+		if(bo_merge::hasExportLimit($export_limit) && !$limit_exception)
151
+		{
129 152
 			$selection = array_slice($selection, 0, $export_limit);
130 153
 		}
131 154
 
132
-		if($options['explode_multiselects']) {
155
+		if($options['explode_multiselects'])
156
+		{
133 157
 			$customfields = config::get_customfields('addressbook');
134 158
 			$additional_fields = array();
135 159
 			$cat_obj = new categories('', 'addressbook');
136
-			foreach($options['explode_multiselects'] as $field => $explode) {
137
-				switch($explode['explode']) {
160
+			foreach($options['explode_multiselects'] as $field => $explode)
161
+			{
162
+				switch($explode['explode'])
163
+				{
138 164
 					case self::MAIN_CATS:
139 165
 						$cats = $cat_obj->return_array('mains', 0, false,'','ASC','',true);
140
-						foreach($cats as $settings) {
166
+						foreach($cats as $settings)
167
+						{
141 168
 							$additional_fields[$field][$settings['id']] = array(
142 169
 								'count' => 0,
143 170
 								'label' => $settings['name'],
144 171
 								'subs' => array(),
145 172
 							);
146 173
 							$subs = $cat_obj->return_sorted_array(0, False, '', 'ASC', 'cat_name', True, $settings['id']);
147
-							foreach($subs as $sub) {
174
+							foreach($subs as $sub)
175
+							{
148 176
 								$name = $sub['name'];
149 177
 								$path = $sub;
150
-								while($path['parent'] != $settings['id']) {
178
+								while($path['parent'] != $settings['id'])
179
+								{
151 180
 									$path = $cat_obj->read($path['parent']);
152 181
 									$name = $path['name'] . '/' . $name;
153 182
 								}
@@ -157,10 +186,12 @@  discard block
 block discarded – undo
157 186
 						break;
158 187
 					case self::EACH_CAT:
159 188
 						$cats = $cat_obj->return_array('all', 0, false,'','ASC','',true);
160
-						foreach($cats as $settings) {
189
+						foreach($cats as $settings)
190
+						{
161 191
 							$name = $settings['name'];
162 192
 							$path = $settings;
163
-							while($path['level'] != 0) {
193
+							while($path['level'] != 0)
194
+							{
164 195
 								$path = $cat_obj->read($path['parent']);
165 196
 								$name = $path['name'] . '/' . $name;
166 197
 							}
@@ -173,7 +204,8 @@  discard block
 block discarded – undo
173 204
 					case self::EXPLODE:
174 205
 						// Only works for custom fields
175 206
 						$index = substr($field, 1);
176
-						foreach($customfields[$index]['values'] as $key => $value) {
207
+						foreach($customfields[$index]['values'] as $key => $value)
208
+						{
177 209
 							$additional_fields[$field][$key] = array(
178 210
 								'count' => 0,
179 211
 								'label' => $customfields[$index]['label'] . ': ' . $value,
@@ -184,30 +216,47 @@  discard block
 block discarded – undo
184 216
 			}
185 217
 
186 218
 			// Check records to see if additional fields are actually used
187
-			foreach ($selection as $_contact) {
188
-				if(is_array($_contact) && array_key_exists('photo', $_contact)) {
219
+			foreach ($selection as $_contact)
220
+			{
221
+				if(is_array($_contact) && array_key_exists('photo', $_contact))
222
+				{
189 223
 					unset($_contact['photo']);
190 224
 				}
191
-				if(is_array($_contact) && count($_contact) == 1 && $_contact['id']) {
225
+				if(is_array($_contact) && count($_contact) == 1 && $_contact['id'])
226
+				{
192 227
 					$_contact = $_contact['id'];
193 228
 				}
194
-				if(is_array($_contact) && $_contact['id']) {
229
+				if(is_array($_contact) && $_contact['id'])
230
+				{
195 231
 					$contact = new addressbook_egw_record();
196 232
 					$contact->set_record($_contact);
197
-				} else {
233
+				}
234
+				else
235
+				{
198 236
 					$contact = new addressbook_egw_record($_contact);
199 237
 				}
200
-				foreach($additional_fields as $field => &$values) {
201
-					if(!$contact->$field) continue;
202
-					foreach($values as $value => &$settings) {
203
-						if(!is_array($contact->$field)) {
238
+				foreach($additional_fields as $field => &$values)
239
+				{
240
+					if(!$contact->$field)
241
+					{
242
+						continue;
243
+					}
244
+					foreach($values as $value => &$settings)
245
+					{
246
+						if(!is_array($contact->$field))
247
+						{
204 248
 							$contact->$field = explode(',', $contact->$field);
205 249
 						}
206
-						if(is_array($contact->$field) && in_array($value, $contact->$field)) {
250
+						if(is_array($contact->$field) && in_array($value, $contact->$field))
251
+						{
207 252
 							$settings['count']++;
208
-						} elseif($contact->$field == $value) {
253
+						}
254
+						elseif($contact->$field == $value)
255
+						{
209 256
 							$settings['count']++;
210
-						} elseif($options['explode_multiselects'][$field]['explode'] == self::MAIN_CATS && array_intersect($contact->$field, array_keys($settings['subs']))) {
257
+						}
258
+						elseif($options['explode_multiselects'][$field]['explode'] == self::MAIN_CATS && array_intersect($contact->$field, array_keys($settings['subs'])))
259
+						{
211 260
 							$settings['count']++;
212 261
 						}
213 262
 					}
@@ -219,21 +268,27 @@  discard block
 block discarded – undo
219 268
 			unset($settings);
220 269
 
221 270
 			// Add additional columns
222
-			foreach($additional_fields as $field => $additional_values) {
271
+			foreach($additional_fields as $field => $additional_values)
272
+			{
223 273
 				// Remove original
224 274
 				unset($options['mapping'][$field]);
225 275
 				// Add exploded
226 276
 				$field_count = 0;
227
-				foreach($additional_values as $value => $settings) {
228
-					if($settings['count'] > 0) {
277
+				foreach($additional_values as $value => $settings)
278
+				{
279
+					if($settings['count'] > 0)
280
+					{
229 281
 						$field_count += $settings['count'];
230 282
 						$options['mapping'][$field.'-'.$value] = $settings['label'];
231 283
 					}
232 284
 				}
233
-				if($field_count > 0) {
285
+				if($field_count > 0)
286
+				{
234 287
 					// Set some options for converting
235 288
 					$options['explode_multiselects'][$field]['values'] = $additional_values;
236
-				} else {
289
+				}
290
+				else
291
+				{
237 292
 					// Don't need this anymore
238 293
 					unset($options['explode_multiselects'][$field]);
239 294
 				}
@@ -262,17 +317,23 @@  discard block
 block discarded – undo
262 317
 
263 318
 		// $options['selection'] is array of identifiers as this plugin doesn't
264 319
 		// support other selectors atm.
265
-		foreach ($selection as $_contact) {
266
-			if(is_array($_contact) && array_key_exists('photo', $_contact)) {
320
+		foreach ($selection as $_contact)
321
+		{
322
+			if(is_array($_contact) && array_key_exists('photo', $_contact))
323
+			{
267 324
 				unset($_contact['photo']);
268 325
 			}
269
-			if(is_array($_contact) && count($_contact) == 1 && $_contact['id']) {
326
+			if(is_array($_contact) && count($_contact) == 1 && $_contact['id'])
327
+			{
270 328
 				$_contact = $_contact['id'];
271 329
 			}
272
-			if(is_array($_contact) && $_contact['id']) {
330
+			if(is_array($_contact) && $_contact['id'])
331
+			{
273 332
 				$contact = new addressbook_egw_record();
274 333
 				$contact->set_record($_contact);
275
-			} else {
334
+			}
335
+			else
336
+			{
276 337
 				$contact = new addressbook_egw_record($_contact);
277 338
 			}
278 339
 
@@ -285,12 +346,19 @@  discard block
 block discarded – undo
285 346
 			}
286 347
 			// Some conversion
287 348
 			$this->convert($contact, $options);
288
-			if($options['convert']) {
349
+			if($options['convert'])
350
+			{
289 351
 				importexport_export_csv::convert($contact, addressbook_egw_record::$types, 'addressbook',$this->selects);
290
-			} else {
352
+			}
353
+			else
354
+			{
291 355
 				// Implode arrays, so they don't say 'Array'
292
-				foreach($contact->get_record_array() as $key => $value) {
293
-					if(is_array($value)) $contact->$key = implode(',', $value);
356
+				foreach($contact->get_record_array() as $key => $value)
357
+				{
358
+					if(is_array($value))
359
+					{
360
+						$contact->$key = implode(',', $value);
361
+					}
294 362
 				}
295 363
 			}
296 364
 
@@ -305,7 +373,8 @@  discard block
 block discarded – undo
305 373
 	 *
306 374
 	 * @return string name
307 375
 	 */
308
-	public static function get_name() {
376
+	public static function get_name()
377
+	{
309 378
 		return lang('Addressbook CSV export');
310 379
 	}
311 380
 
@@ -314,7 +383,8 @@  discard block
 block discarded – undo
314 383
 	 *
315 384
 	 * @return string descriprion
316 385
 	 */
317
-	public static function get_description() {
386
+	public static function get_description()
387
+	{
318 388
 		return lang("Exports contacts from your Addressbook into a CSV File.");
319 389
 	}
320 390
 
@@ -323,11 +393,13 @@  discard block
 block discarded – undo
323 393
 	 *
324 394
 	 * @return string suffix
325 395
 	 */
326
-	public static function get_filesuffix() {
396
+	public static function get_filesuffix()
397
+	{
327 398
 		return 'csv';
328 399
 	}
329 400
 
330
-	public static function get_mimetype() {
401
+	public static function get_mimetype()
402
+	{
331 403
 		return 'text/csv';
332 404
 	}
333 405
 
@@ -350,14 +422,16 @@  discard block
 block discarded – undo
350 422
 	 *
351 423
 	 * @return string html
352 424
 	 */
353
-	public function get_options_etpl() {
425
+	public function get_options_etpl()
426
+	{
354 427
 	}
355 428
 
356 429
 	/**
357 430
 	 * returns slectors of this plugin via xajax
358 431
 	 *
359 432
 	 */
360
-	public function get_selectors_etpl() {
433
+	public function get_selectors_etpl()
434
+	{
361 435
 		return array(
362 436
 			'name'		=> 'importexport.export_csv_selectors',
363 437
 		);
@@ -368,9 +442,11 @@  discard block
 block discarded – undo
368 442
 	*
369 443
 	* Dates, times, user IDs, category IDs
370 444
 	*/
371
-	public static function convert(addressbook_egw_record &$record, $options) {
445
+	public static function convert(addressbook_egw_record &$record, $options)
446
+	{
372 447
 
373
-		if ($record->tel_prefer) {
448
+		if ($record->tel_prefer)
449
+		{
374 450
 			$field = $record->tel_prefer;
375 451
 			$record->tel_prefer = $record->$field;
376 452
 		}
@@ -379,33 +455,52 @@  discard block
 block discarded – undo
379 455
 		{
380 456
 			return;
381 457
 		}
382
-		foreach((array)$options['explode_multiselects'] as $field => $explode_settings) {
383
-			if(!is_array($record->$field)) $record->$field = explode(',', $record->$field);
384
-			foreach((array)$explode_settings['values'] as $value => $settings) {
458
+		foreach((array)$options['explode_multiselects'] as $field => $explode_settings)
459
+		{
460
+			if(!is_array($record->$field))
461
+			{
462
+				$record->$field = explode(',', $record->$field);
463
+			}
464
+			foreach((array)$explode_settings['values'] as $value => $settings)
465
+			{
385 466
 				$field_name = "$field-$value";
386 467
 				$record->$field_name = array();
387
-				if(is_array($record->$field) && in_array($value, $record->$field) || $record->$field == $value) {
388
-					if($explode_settings['explode'] != self::MAIN_CATS) {
468
+				if(is_array($record->$field) && in_array($value, $record->$field) || $record->$field == $value)
469
+				{
470
+					if($explode_settings['explode'] != self::MAIN_CATS)
471
+					{
389 472
 						$record->$field_name = $options['convert'] ? lang('Yes') : true;
390
-					} elseif($options['convert']) {
473
+					}
474
+					elseif($options['convert'])
475
+					{
391 476
 						// 3 part assign due to magic get method
392 477
 						$record_value = $record->$field_name;
393 478
 						$record_value[] = $settings['label'];
394 479
 						$record->$field_name = $record_value;
395
-					} else {
480
+					}
481
+					else
482
+					{
396 483
 						$record->$field_name = $value;
397 484
 					}
398 485
 				}
399
-				if($explode_settings['explode'] == self::MAIN_CATS && count(array_intersect($record->$field, array_keys($settings['subs'])))) {
486
+				if($explode_settings['explode'] == self::MAIN_CATS && count(array_intersect($record->$field, array_keys($settings['subs']))))
487
+				{
400 488
 					// 3 part assign due to magic get method
401 489
 					$record_value = $record->$field_name;
402
-					if(!is_array($record_value)) $record_value = array($record_value);
403
-					foreach(array_intersect($record->$field, array_keys($settings['subs'])) as $sub_id) {
490
+					if(!is_array($record_value))
491
+					{
492
+						$record_value = array($record_value);
493
+					}
494
+					foreach(array_intersect($record->$field, array_keys($settings['subs'])) as $sub_id)
495
+					{
404 496
 						$record_value[] = $options['convert'] ? $settings['subs'][$sub_id] : $sub_id;
405 497
 					}
406 498
 					$record->$field_name = $record_value;
407 499
 				}
408
-				if(is_array($record->$field_name)) $record->$field_name = implode(($options['convert'] ? ', ' : ','), $record->$field_name);
500
+				if(is_array($record->$field_name))
501
+				{
502
+					$record->$field_name = implode(($options['convert'] ? ', ' : ','), $record->$field_name);
503
+				}
409 504
 			}
410 505
 		}
411 506
 	}
@@ -426,12 +521,15 @@  discard block
 block discarded – undo
426 521
 	 * Adjust automatically generated filter fields
427 522
 	 */
428 523
 	public function get_filter_fields(Array &$filters)
429
-    {
524
+	{
430 525
 		unset($filters['last_event']);
431 526
 		unset($filters['next_event']);
432 527
 		foreach($filters as $field_name => &$settings)
433 528
 		{
434
-			if($this->selects[$field_name]) $settings['values'] = $this->selects[$field_name];
529
+			if($this->selects[$field_name])
530
+			{
531
+				$settings['values'] = $this->selects[$field_name];
532
+			}
435 533
 		}
436 534
 		$filters['owner'] = array(
437 535
 			'name'		=> 'owner',
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -247,7 +247,7 @@
 block discarded – undo
247 247
 		$this->selects['info_status'] = $this->bo->get_status();
248 248
 	}
249 249
 
250
-	public function get_filter_fields(Array &$filters)
250
+	public function get_filter_fields(array &$filters)
251 251
 	{
252 252
 		foreach($filters as $field_name => &$settings)
253 253
 		{
Please login to merge, or discard this patch.