source: trunk/expressoAdmin1_2/inc/load_lang.php @ 2364

Revision 2364, 1.0 KB checked in by amuller, 14 years ago (diff)

Ticket #1008 - Adicionando licença aos arquivos php

  • Property svn:executable set to *
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        $lang = array();
13        if (!empty($_SESSION['phpgw_info']['expressoAdmin']['lang']))
14        {
15                foreach($_SESSION['phpgw_info']['expressoAdmin']['lang'] as $message_id=>$content)
16                {
17                        $lang[str_replace(" ", "_", (strtolower($message_id)) )] = $content;
18                }
19        }
20        echo serialize($lang);
21        exit;
22?>
Note: See TracBrowser for help on using the repository browser.