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

Revision 5509, 1015 bytes checked in by gustavo, 12 years ago (diff)

Ticket #2488 - Adicionar cabecalho de licenca em arquivos que nao o possuem

  • Property svn:executable set to *
RevLine 
[1394]1<?php
[5509]2                /***************************************************************************
3                * Expresso Livre                                                           *
4                * http://www.expressolivre.org                                             *
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               
[415]12        $lang = array();
[493]13        if (!empty($_SESSION['phpgw_info']['expressoAdmin']['lang']))
[415]14        {
[493]15                foreach($_SESSION['phpgw_info']['expressoAdmin']['lang'] as $message_id=>$content)
16                {
17                        $lang[str_replace(" ", "_", (strtolower($message_id)) )] = $content;
18                }
[415]19        }
20        echo serialize($lang);
21        exit;
[1394]22?>
Note: See TracBrowser for help on using the repository browser.