Revision 3102,
1.2 KB
checked in by amuller, 14 years ago
(diff) |
Ticket #986 - Efetuado merge para o Branch 2.2( atualizacao do modulo)
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | <?php |
---|
2 | /***************************************************************************\ |
---|
3 | * Expresso - Expresso Messenger * |
---|
4 | * - Alexandre Correia / Rodrigo Souza * |
---|
5 | * - JETI - http://jeti-im.org/ * |
---|
6 | * ------------------------------------------------------------------------- * |
---|
7 | * This program is free software; you can redistribute it and/or modify it * |
---|
8 | * under the terms of the GNU General Public License as published by the * |
---|
9 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
10 | * option) any later version. * |
---|
11 | \***************************************************************************/ |
---|
12 | |
---|
13 | class preferencesJMessenger |
---|
14 | { |
---|
15 | public function setPreferences($pArgs) |
---|
16 | { |
---|
17 | require_once "preferences.php"; |
---|
18 | |
---|
19 | $preferences = $pArgs['preferences1']; |
---|
20 | |
---|
21 | if(isset($pArgs['preferences2'])) |
---|
22 | $preferences .= ";". $pArgs['preferences2']; |
---|
23 | |
---|
24 | if(isset($pArgs['preferences3'])) |
---|
25 | $preferences .= ";". $pArgs['preferences3']; |
---|
26 | |
---|
27 | if(isset($pArgs['preferences4'])) |
---|
28 | $preferences .= ";". $pArgs['preferences4']; |
---|
29 | |
---|
30 | return setPreferences($preferences); |
---|
31 | } |
---|
32 | } |
---|
33 | |
---|
34 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.