[2] | 1 | <?php |
---|
| 2 | /**********************************************************************************\ |
---|
| 3 | * Expresso Administração * |
---|
| 4 | * by Joao Alfredo Knopik Junior (joao.alfredo@gmail.com, jakjr@celepar.pr.gov.br) * |
---|
| 5 | * --------------------------------------------------------------------------------* |
---|
| 6 | * This program is free software; you can redistribute it and/or modify it * |
---|
| 7 | * under the terms of the GNU General Public License as published by the * |
---|
| 8 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
| 9 | * option) any later version. * |
---|
| 10 | \**********************************************************************************/ |
---|
| 11 | |
---|
| 12 | include_once('class.ldap_functions.inc.php'); |
---|
| 13 | include_once('class.db_functions.inc.php'); |
---|
| 14 | include_once('class.imap_functions.inc.php'); |
---|
| 15 | include_once('class.functions.inc.php'); |
---|
| 16 | |
---|
| 17 | class maillist |
---|
| 18 | { |
---|
| 19 | var $ldap_functions; |
---|
| 20 | var $db_functions; |
---|
| 21 | var $imap_functions; |
---|
| 22 | var $functions; |
---|
| 23 | var $current_config; |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | function maillist() |
---|
| 27 | { |
---|
| 28 | $this->ldap_functions = new ldap_functions; |
---|
| 29 | $this->db_functions = new db_functions; |
---|
| 30 | $this->imap_functions = new imap_functions; |
---|
| 31 | $this->functions = new functions; |
---|
| 32 | $this->current_config = $_SESSION['phpgw_info']['expresso']['expressoAdmin']; |
---|
| 33 | } |
---|
| 34 | |
---|
| 35 | function validate_fields($params) |
---|
| 36 | { |
---|
| 37 | return $this->ldap_functions->validate_fields_maillist($params); |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | function create($params) |
---|
| 41 | { |
---|
| 42 | // Verifica o acesso do gerente |
---|
| 43 | if (!$this->functions->check_acl($_SESSION['phpgw_session']['session_lid'], 'add_maillists')) |
---|
| 44 | { |
---|
| 45 | $return['status'] = false; |
---|
| 46 | $return['msg'] = 'Você não tem acesso para adicionar listas de email.'; |
---|
| 47 | return $return; |
---|
| 48 | } |
---|
| 49 | |
---|
| 50 | $return['status'] = true; |
---|
| 51 | |
---|
[180] | 52 | //Retira os mailForwardingAddress duplicados, se existir algum. |
---|
[2] | 53 | $array_tmp = array(); |
---|
[180] | 54 | $array_tmp = array_unique($params['mailForwardingAddress']); |
---|
| 55 | $params['mailForwardingAddress'] = $array_tmp; |
---|
[2] | 56 | |
---|
[64] | 57 | // Leio o ID a ser usado na criação do objecto. |
---|
| 58 | $next_id = ($this->db_functions->get_next_id('accounts')); |
---|
| 59 | if ((!is_numeric($next_id['id'])) || (!$next_id['status'])) |
---|
| 60 | { |
---|
| 61 | $return['status'] = false; |
---|
| 62 | $return['msg'] = "Problemas obtendo ID do usuário.\n" . $id['msg']; |
---|
| 63 | return $return; |
---|
| 64 | } |
---|
| 65 | else |
---|
| 66 | { |
---|
| 67 | $id = $next_id['id']; |
---|
| 68 | } |
---|
[2] | 69 | |
---|
| 70 | // Cria array para incluir no LDAP |
---|
| 71 | $dn = 'uid=' . $params['uid'] . ',' . $params['context']; |
---|
| 72 | |
---|
| 73 | $maillist_info = array(); |
---|
| 74 | $maillist_info['uid'] = $params['uid']; |
---|
| 75 | $maillist_info['givenName'] = 'MailList'; |
---|
| 76 | $maillist_info['sn'] = $params['uid']; |
---|
| 77 | $maillist_info['cn'] = $params['cn']; |
---|
| 78 | |
---|
| 79 | $maillist_info['homeDirectory'] = '/home/false'; |
---|
| 80 | $maillist_info['loginShell'] = '/bin/false'; |
---|
| 81 | $maillist_info['mail'] = $params['mail']; |
---|
| 82 | $maillist_info['objectClass'][0] = 'posixAccount'; |
---|
| 83 | $maillist_info['objectClass'][1] = 'inetOrgPerson'; |
---|
| 84 | $maillist_info['objectClass'][2] = 'shadowAccount'; |
---|
| 85 | $maillist_info['objectClass'][3] = 'qmailuser'; |
---|
| 86 | $maillist_info['objectClass'][4] = 'phpgwAccount'; |
---|
| 87 | $maillist_info['objectClass'][5] = 'top'; |
---|
| 88 | $maillist_info['objectClass'][6] = 'person'; |
---|
| 89 | $maillist_info['objectClass'][7] = 'organizationalPerson'; |
---|
| 90 | $maillist_info['phpgwAccountExpires'] = '-1'; |
---|
| 91 | $maillist_info['phpgwAccountType'] = 'l'; |
---|
| 92 | $maillist_info['uidnumber'] = $id; |
---|
| 93 | $maillist_info['gidnumber'] = '0'; |
---|
| 94 | $maillist_info['userPassword'] = ''; |
---|
| 95 | $maillist_info['deliveryMode'] = 'forwardOnly'; |
---|
| 96 | |
---|
| 97 | if ($params['accountStatus'] == 'on') |
---|
| 98 | $maillist_info['accountStatus'] = 'active'; |
---|
| 99 | |
---|
| 100 | if ($params['phpgwAccountVisible'] == 'on') |
---|
| 101 | $maillist_info['phpgwAccountVisible'] = '-1'; |
---|
[208] | 102 | |
---|
[180] | 103 | $maillist_info['mailForwardingAddress'] = $params['mailForwardingAddress']; |
---|
| 104 | |
---|
[2] | 105 | $result = $this->ldap_functions->ldap_add_entry($dn, $maillist_info); |
---|
| 106 | if (!$result['status']) |
---|
| 107 | { |
---|
| 108 | $return['status'] = false; |
---|
| 109 | $return['msg'] .= $result['msg']; |
---|
| 110 | } |
---|
| 111 | |
---|
[180] | 112 | /* log */ |
---|
[2] | 113 | if ($return['status'] == true) |
---|
| 114 | { |
---|
| 115 | $this->db_functions->write_log('Criado lista de email','',$dn,'',''); |
---|
[180] | 116 | |
---|
| 117 | foreach($params['mailForwardingAddress'] as $index=>$mail) |
---|
| 118 | { |
---|
| 119 | $this->db_functions->write_log("Adicionado email $mail a lista ".$params['cn']." no momento da criação",$dn,'','',''); |
---|
| 120 | } |
---|
[2] | 121 | } |
---|
| 122 | |
---|
| 123 | return $return; |
---|
| 124 | } |
---|
| 125 | |
---|
| 126 | function save($new_values) |
---|
| 127 | { |
---|
| 128 | // Verifica o acesso do gerente |
---|
| 129 | if (!$this->functions->check_acl($_SESSION['phpgw_session']['session_lid'], 'edit_maillists')) |
---|
| 130 | { |
---|
| 131 | $return['status'] = false; |
---|
| 132 | $return['msg'] = 'Você não tem acesso para editar listas de email.'; |
---|
| 133 | return $return; |
---|
| 134 | } |
---|
| 135 | |
---|
| 136 | $return['status'] = true; |
---|
[180] | 137 | |
---|
[2] | 138 | $old_values = $this->get_info($new_values['uidnumber'], $new_values['manager_context']); |
---|
| 139 | $diff = array_diff($new_values, $old_values); |
---|
| 140 | |
---|
| 141 | $dn = 'uid=' . $old_values['uid'] . ',' . $old_values['context']; |
---|
| 142 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 143 | // RENAME |
---|
| 144 | if ($diff['context'] || $diff['uid']) |
---|
| 145 | { |
---|
[355] | 146 | if ( (strcasecmp($old_values['uid'], $new_values['uid']) != 0) || (strcasecmp($old_values['context'], $new_values['context']) != 0) ) |
---|
[2] | 147 | { |
---|
[355] | 148 | $newrdn = 'uid=' . $new_values['uid']; |
---|
| 149 | $newparent = $new_values['context']; |
---|
| 150 | $result = $this->ldap_functions->change_user_context($dn, $newrdn, $newparent); |
---|
| 151 | if (!$result['status']) |
---|
| 152 | { |
---|
| 153 | $return['status'] = false; |
---|
| 154 | $return['msg'] .= $result['msg']; |
---|
| 155 | } |
---|
| 156 | else |
---|
| 157 | { |
---|
| 158 | $dn = $newrdn . ',' . $newparent; |
---|
| 159 | $old_dn = $old_values['uid']; |
---|
| 160 | $this->db_functions->write_log("Renomeado login da lista de $old_dn para $dn",'',$dn,$old_values['uid'],''); |
---|
| 161 | } |
---|
[2] | 162 | } |
---|
| 163 | } |
---|
| 164 | |
---|
| 165 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
[15] | 166 | // REPLACE MAIL || CN || SN |
---|
[2] | 167 | if ($new_values['mail'] != $old_values['mail']) |
---|
| 168 | { |
---|
| 169 | $ldap_mod_replace['mail'] = $new_values['mail']; |
---|
[14] | 170 | $this->db_functions->write_log('Modificado email da lista para ' . $new_values['mail'],'',$dn,'',''); |
---|
[2] | 171 | } |
---|
| 172 | if ($new_values['cn'] != $old_values['cn']) |
---|
| 173 | { |
---|
| 174 | $ldap_mod_replace['cn'] = $new_values['cn']; |
---|
[14] | 175 | $this->db_functions->write_log("Modificado common name da lista $dn",'',$dn,'',''); |
---|
[2] | 176 | } |
---|
[15] | 177 | if ($diff['uid']) |
---|
| 178 | { |
---|
| 179 | $ldap_mod_replace['sn'] = $new_values['uid']; |
---|
| 180 | } |
---|
[2] | 181 | |
---|
| 182 | if (count($ldap_mod_replace)) |
---|
| 183 | { |
---|
| 184 | $result = $this->ldap_functions->replace_user_attributes($dn, $ldap_mod_replace); |
---|
| 185 | if (!$result['status']) |
---|
| 186 | { |
---|
| 187 | $return['status'] = false; |
---|
| 188 | $return['msg'] .= $result['msg']; |
---|
| 189 | } |
---|
| 190 | } |
---|
| 191 | |
---|
| 192 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 193 | // REMOVE ATTRS |
---|
| 194 | if (($old_values['accountStatus'] == 'active') && ($new_values['accountStatus'] != 'on')) |
---|
| 195 | $ldap_remove['accountStatus'] = array(); |
---|
| 196 | |
---|
| 197 | if (($old_values['phpgwAccountVisible'] == '-1') && ($new_values['phpgwAccountVisible'] != 'on')) |
---|
| 198 | $ldap_remove['phpgwAccountVisible'] = array(); |
---|
| 199 | |
---|
| 200 | if (count($ldap_remove)) |
---|
| 201 | { |
---|
| 202 | $result = $this->ldap_functions->remove_user_attributes($dn, $ldap_remove); |
---|
| 203 | if (!$result['status']) |
---|
| 204 | { |
---|
| 205 | $return['status'] = false; |
---|
| 206 | $return['msg'] .= $result['msg']; |
---|
| 207 | } |
---|
| 208 | } |
---|
| 209 | |
---|
| 210 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 211 | // ADD ATTRS |
---|
| 212 | if (($old_values['accountStatus'] != 'active') && ($new_values['accountStatus'] == 'on')) |
---|
| 213 | $ldap_add['accountStatus'] = 'active'; |
---|
| 214 | |
---|
| 215 | if (($old_values['phpgwAccountVisible'] != '-1') && ($new_values['phpgwAccountVisible'] == 'on')) |
---|
| 216 | $ldap_add['phpgwAccountVisible'] = '-1'; |
---|
| 217 | |
---|
| 218 | if (count($ldap_add)) |
---|
| 219 | { |
---|
| 220 | $result = $this->ldap_functions->add_user_attributes($dn, $ldap_add); |
---|
| 221 | if (!$result['status']) |
---|
| 222 | { |
---|
| 223 | $return['status'] = false; |
---|
| 224 | $return['msg'] .= $result['msg']; |
---|
| 225 | } |
---|
| 226 | } |
---|
| 227 | |
---|
| 228 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 229 | // USERS |
---|
[208] | 230 | /* |
---|
| 231 | echo '<pre>'; |
---|
| 232 | print_r($new_values['mailForwardingAddress']); |
---|
| 233 | */ |
---|
[180] | 234 | if (!$new_values['mailForwardingAddress']) |
---|
| 235 | $new_values['mailForwardingAddress'] = array(); |
---|
| 236 | if (!$old_values['mailForwardingAddress']) |
---|
| 237 | $old_values['mailForwardingAddress'] = array(); |
---|
[2] | 238 | |
---|
[180] | 239 | $add_users = array_diff($new_values['mailForwardingAddress'], $old_values['mailForwardingAddress']); |
---|
| 240 | $remove_users = array_diff($old_values['mailForwardingAddress'], $new_values['mailForwardingAddress']); |
---|
[2] | 241 | |
---|
| 242 | if (count($add_users)>0) |
---|
| 243 | { |
---|
[180] | 244 | sort($add_users); |
---|
[208] | 245 | $result = $this->ldap_functions->add_user2maillist($new_values['uid'], $add_users); |
---|
[180] | 246 | |
---|
| 247 | /* log */ |
---|
| 248 | if (!$result['status']) |
---|
[2] | 249 | { |
---|
[180] | 250 | $return['status'] = false; |
---|
| 251 | $return['msg'] .= $result['msg']; |
---|
| 252 | } |
---|
| 253 | else |
---|
| 254 | { |
---|
[208] | 255 | foreach($add_users as $index=>$mail) |
---|
[86] | 256 | { |
---|
[180] | 257 | $this->db_functions->write_log("Adicionado usuario $mail a lista de email $dn",$dn,'','',''); |
---|
[86] | 258 | } |
---|
[2] | 259 | } |
---|
| 260 | } |
---|
[180] | 261 | |
---|
[2] | 262 | if (count($remove_users)>0) |
---|
| 263 | { |
---|
[180] | 264 | sort($remove_users); |
---|
[208] | 265 | $result = $this->ldap_functions->remove_user2maillist($new_values['uid'], $remove_users); |
---|
[180] | 266 | |
---|
| 267 | /* log */ |
---|
| 268 | if (!$result['status']) |
---|
[2] | 269 | { |
---|
[180] | 270 | $return['status'] = false; |
---|
| 271 | $return['msg'] .= $result['msg']; |
---|
| 272 | } |
---|
| 273 | else |
---|
| 274 | { |
---|
| 275 | foreach($remove_users as $index=>$mail) |
---|
[86] | 276 | { |
---|
[180] | 277 | $this->db_functions->write_log("Removido usuario $mail da lista de email $dn",$dn,'','',''); |
---|
[86] | 278 | } |
---|
[2] | 279 | } |
---|
| 280 | } |
---|
| 281 | |
---|
| 282 | return $return; |
---|
| 283 | } |
---|
| 284 | |
---|
[23] | 285 | function save_scl($new_values) |
---|
| 286 | { |
---|
| 287 | // Verifica o acesso do gerente |
---|
[283] | 288 | if (!$this->functions->check_acl($_SESSION['phpgw_session']['session_lid'], 'edit_scl_email_lists')) |
---|
[23] | 289 | { |
---|
| 290 | $return['status'] = false; |
---|
[283] | 291 | $return['msg'] = 'Você não tem acesso para editar SCL de listas de email.'; |
---|
[23] | 292 | return $return; |
---|
| 293 | } |
---|
| 294 | |
---|
| 295 | $return['status'] = true; |
---|
| 296 | |
---|
| 297 | //Retira os uids duplicados se existir |
---|
| 298 | $array_tmp = array(); |
---|
[208] | 299 | $array_tmp = @array_unique($new_values['members']); |
---|
[23] | 300 | $new_values['members'] = $array_tmp; |
---|
| 301 | |
---|
| 302 | $old_values = $this->get_scl_info($new_values['uidnumber'], $new_values['manager_context']); |
---|
[208] | 303 | |
---|
[23] | 304 | $diff = array_diff($new_values, $old_values); |
---|
| 305 | $dn = $old_values['dn']; |
---|
| 306 | |
---|
| 307 | //echo '<pre>'; |
---|
| 308 | //print_r($new_values['participantCanSendMail']); |
---|
| 309 | //print_r($old_values['participantCanSendMail']); |
---|
| 310 | |
---|
| 311 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 312 | // ADD ATTRS |
---|
| 313 | if (($new_values['participantCanSendMail'] == 'on') && ($old_values['participantCanSendMail'] == '')) |
---|
| 314 | { |
---|
| 315 | $ldap_add['participantCanSendMail'] = "TRUE"; |
---|
| 316 | $this->db_functions->write_log("Ativado participantCanSendMail da SCL da lista de email " . $new_values['mail'],'','','',''); |
---|
| 317 | } |
---|
| 318 | if (($new_values['accountRestrictive'] == 'on') && ($old_values['accountRestrictive'] == '')) |
---|
| 319 | { |
---|
| 320 | $ldap_add['accountRestrictive'] = "mailListRestriction"; |
---|
| 321 | $ldap_add['accountDeliveryMessage'] = 'OK'; |
---|
| 322 | $this->db_functions->write_log("Ativado mailListRestriction da SCL da lista de email " . $new_values['mail'],'','','',''); |
---|
| 323 | } |
---|
| 324 | if (count($ldap_add)) |
---|
| 325 | { |
---|
| 326 | $result = $this->ldap_functions->add_user_attributes($dn, $ldap_add); |
---|
| 327 | if (!$result['status']) |
---|
| 328 | { |
---|
| 329 | $return['status'] = false; |
---|
| 330 | $return['msg'] .= $result['msg']; |
---|
| 331 | } |
---|
| 332 | } |
---|
| 333 | |
---|
| 334 | ////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 335 | // REMOVE ATTRS |
---|
| 336 | if (($new_values['participantCanSendMail'] != 'on') && ($old_values['participantCanSendMail'] == 'TRUE')) |
---|
| 337 | { |
---|
| 338 | $ldap_remove['participantCanSendMail'] = array(); |
---|
| 339 | $this->db_functions->write_log("Desativado participantCanSendMail da SCL da lista de email " . $new_values['mail'],'','','',''); |
---|
| 340 | } |
---|
| 341 | if (($new_values['accountRestrictive'] != 'on') && ($old_values['accountRestrictive'] == 'mailListRestriction')) |
---|
| 342 | { |
---|
| 343 | $ldap_remove['accountRestrictive'] = array(); |
---|
| 344 | $ldap_remove['accountDeliveryMessage'] = array(); |
---|
| 345 | $this->db_functions->write_log("Desativado restrição (mailListRestriction) da SCL da lista de email " . $new_values['mail'],'','','',''); |
---|
| 346 | } |
---|
| 347 | if (count($ldap_remove)) |
---|
| 348 | { |
---|
| 349 | $result = $this->ldap_functions->remove_user_attributes($dn, $ldap_remove); |
---|
| 350 | if (!$result['status']) |
---|
| 351 | { |
---|
| 352 | $return['status'] = false; |
---|
| 353 | $return['msg'] .= $result['msg']; |
---|
| 354 | } |
---|
| 355 | } |
---|
| 356 | |
---|
| 357 | //////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
---|
| 358 | // USERS |
---|
| 359 | |
---|
| 360 | if (!$new_values['members']) |
---|
| 361 | $new_values['members'] = array(); |
---|
| 362 | if (!$old_values['members']) |
---|
| 363 | $old_values['members'] = array(); |
---|
| 364 | |
---|
| 365 | $add_users = array_diff($new_values['members'], $old_values['members']); |
---|
| 366 | $remove_users = array_diff($old_values['members'], $new_values['members']); |
---|
| 367 | |
---|
| 368 | if (count($add_users)>0) |
---|
| 369 | { |
---|
[208] | 370 | sort($add_users); |
---|
| 371 | $result = $this->ldap_functions->add_user2maillist_scl($dn, $add_users); |
---|
| 372 | |
---|
| 373 | /* log */ |
---|
[23] | 374 | if (!$result['status']) |
---|
| 375 | { |
---|
| 376 | $return['status'] = false; |
---|
| 377 | $return['msg'] .= $result['msg']; |
---|
| 378 | } |
---|
[208] | 379 | else |
---|
[23] | 380 | { |
---|
[208] | 381 | foreach($add_users as $index=>$mail) |
---|
[86] | 382 | { |
---|
[208] | 383 | $this->db_functions->write_log("Adicionado usuario $mail da SCP da lista de email $dn",$dn,'','',''); |
---|
[86] | 384 | } |
---|
[23] | 385 | } |
---|
[208] | 386 | } |
---|
| 387 | |
---|
| 388 | if (count($remove_users)>0) |
---|
| 389 | { |
---|
| 390 | sort($remove_users); |
---|
| 391 | $result = $this->ldap_functions->remove_user2maillist_scl($dn, $remove_users); |
---|
| 392 | |
---|
| 393 | /* log */ |
---|
[23] | 394 | if (!$result['status']) |
---|
| 395 | { |
---|
| 396 | $return['status'] = false; |
---|
| 397 | $return['msg'] .= $result['msg']; |
---|
| 398 | } |
---|
[208] | 399 | else |
---|
| 400 | { |
---|
| 401 | foreach($add_users as $index=>$mail) |
---|
| 402 | { |
---|
| 403 | $this->db_functions->write_log("Removido usuario $mail da SCP da lista de email $dn",$dn,'','',''); |
---|
| 404 | } |
---|
| 405 | } |
---|
[23] | 406 | } |
---|
| 407 | |
---|
| 408 | return $return; |
---|
| 409 | } |
---|
[2] | 410 | |
---|
[64] | 411 | function get_info($uidnumber) |
---|
[2] | 412 | { |
---|
[64] | 413 | $maillist_info_ldap = $this->ldap_functions->get_maillist_info($uidnumber); |
---|
[2] | 414 | return $maillist_info_ldap; |
---|
| 415 | } |
---|
[23] | 416 | |
---|
[64] | 417 | function get_scl_info($uidnumber) |
---|
[23] | 418 | { |
---|
[64] | 419 | $maillist_info_ldap = $this->ldap_functions->get_maillist_scl_info($uidnumber); |
---|
[23] | 420 | return $maillist_info_ldap; |
---|
| 421 | } |
---|
[2] | 422 | |
---|
| 423 | function delete($params) |
---|
| 424 | { |
---|
| 425 | // Verifica o acesso do gerente |
---|
| 426 | if (!$this->functions->check_acl($_SESSION['phpgw_session']['session_lid'], 'delete_maillists')) |
---|
| 427 | { |
---|
| 428 | $return['status'] = false; |
---|
| 429 | $return['msg'] = 'Você não tem acesso para excluir listas de email.'; |
---|
| 430 | return $return; |
---|
| 431 | } |
---|
| 432 | |
---|
| 433 | $return['status'] = true; |
---|
| 434 | |
---|
| 435 | $uidnumber = $params['uidnumber']; |
---|
| 436 | $uid = $this->ldap_functions->uidnumber2uid($uidnumber); |
---|
[180] | 437 | $mail = $this->ldap_functions->uidnumber2mail($uidnumber); |
---|
[2] | 438 | |
---|
| 439 | //LDAP |
---|
[180] | 440 | $result_ldap = $this->ldap_functions->delete_maillist($uidnumber, $mail); |
---|
[2] | 441 | if (!$result_ldap['status']) |
---|
| 442 | { |
---|
| 443 | $return['status'] = false; |
---|
| 444 | $return['msg'] .= $result_ldap['msg']; |
---|
| 445 | } |
---|
| 446 | |
---|
| 447 | if ($return['status'] == true) |
---|
| 448 | { |
---|
| 449 | $this->db_functions->write_log('Deletado lista de email','',$uid,'',''); |
---|
| 450 | } |
---|
| 451 | |
---|
| 452 | return $return; |
---|
| 453 | } |
---|
| 454 | |
---|
| 455 | } |
---|
| 456 | ?> |
---|