Revision 2363,
1.3 KB
checked in by amuller, 15 years ago
(diff) |
Ticket #1008 - Adicionando info sobre licença
|
Line | |
---|
1 | <?php |
---|
2 | |
---|
3 | /*************************************************************************** |
---|
4 | * Expresso Livre * |
---|
5 | * http://www.expressolivre.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 | function load_lang() { |
---|
13 | if(!$_SESSION['phpgw_info']['calendar']['langAlarm']) |
---|
14 | { |
---|
15 | $array_keys = array(); |
---|
16 | $fn = '../setup/phpgw_alarm_'.$GLOBALS['phpgw_info']['user']['preferences']['common']['lang'].'.lang'; |
---|
17 | echo $fn; |
---|
18 | if (file_exists($fn)){ |
---|
19 | $fp = fopen($fn,'r'); |
---|
20 | while ($data = fgets($fp,16000)) { |
---|
21 | list($message_id,$app_name,$null,$content) = explode("\t",substr($data,0,-1)); |
---|
22 | $_SESSION['phpgw_info']['calendar']['langAlarm'][$message_id] = $content; |
---|
23 | } |
---|
24 | fclose($fp); |
---|
25 | } |
---|
26 | } |
---|
27 | } |
---|
28 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.