source: branches/2.2.0.1/jabberir_messenger/jmessenger/inc/preferencesJMessenger.php @ 4453

Revision 4453, 1.1 KB checked in by rafaelraymundo, 13 years ago (diff)

Ticket #1726 - Adicionando jabberit_messenger da comunidade.

  • Property svn:executable set to *
Line 
1<?php
2  /***************************************************************************\
3  *  Expresso - Expresso Messenger                                            *
4  *     - Alexandre Correia / Rodrigo Souza                                                               *
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
12class preferencesJMessenger
13{
14        public function setPreferences($pArgs)
15        {
16                require_once "preferences.php";
17               
18                $preferences = $pArgs['preferences1'];
19               
20                if(isset($pArgs['preferences2']))
21                        $preferences .= ";". $pArgs['preferences2'];
22               
23                if(isset($pArgs['preferences3']))
24                        $preferences .= ";". $pArgs['preferences3'];
25
26                if(isset($pArgs['preferences4']))
27                        $preferences .= ";". $pArgs['preferences4'];
28
29                return setPreferences($preferences);
30        }
31}
32
33?>
Note: See TracBrowser for help on using the repository browser.