[2] | 1 | <?php |
---|
| 2 | /**************************************************************************\ |
---|
| 3 | * eGroupWare - API htmlarea translations (according to lang in user prefs) * |
---|
| 4 | * http: //www.eGroupWare.org * |
---|
| 5 | * Modified by Ralf Becker <RalfBecker@outdoor-training.de> * |
---|
| 6 | * This file is derived from htmlareas's lang/en.js file * |
---|
| 7 | * -------------------------------------------- * |
---|
| 8 | * This program is free software; you can redistribute it and/or modify it * |
---|
| 9 | * under the terms of the GNU General Public License as published by the * |
---|
| 10 | * Free Software Foundation; either version 2 of the License, or (at your * |
---|
| 11 | * option) any later version. * |
---|
| 12 | \**************************************************************************/ |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | $GLOBALS['phpgw_info']['flags'] = Array( |
---|
| 16 | 'currentapp' => 'home', // can't be phpgwapi, nor htmlarea (no own directory) |
---|
| 17 | 'noheader' => True, |
---|
| 18 | 'nonavbar' => True, |
---|
| 19 | 'noappheader' => True, |
---|
| 20 | 'noappfooter' => True, |
---|
| 21 | 'nofooter' => True, |
---|
| 22 | 'nocachecontrol' => True // allow cacheing |
---|
| 23 | ); |
---|
| 24 | |
---|
| 25 | include('../../../../../../header.inc.php'); |
---|
| 26 | header('Content-type: text/javascript; charset='.$GLOBALS['phpgw']->translation->charset()); |
---|
| 27 | $GLOBALS['phpgw']->translation->add_app('htmlarea-HtmlTidy'); |
---|
| 28 | |
---|
| 29 | // I18N constants |
---|
| 30 | |
---|
| 31 | // LANG: "en", ENCODING: UTF-8 | ISO-8859-1 |
---|
| 32 | // Author: Adam Wright, http://blog.hipikat.org/ |
---|
| 33 | |
---|
| 34 | // FOR TRANSLATORS: |
---|
| 35 | // |
---|
| 36 | // 1. PLEASE PUT YOUR CONTACT INFO IN THE ABOVE LINE |
---|
| 37 | // (at least a valid email address) |
---|
| 38 | // |
---|
| 39 | // 2. PLEASE TRY TO USE UTF-8 FOR ENCODING; |
---|
| 40 | // (if this is not possible, please include a comment |
---|
| 41 | // that states what encoding is necessary.) |
---|
| 42 | ?> |
---|
| 43 | HtmlTidy.I18N = { |
---|
| 44 | "tidying" : "<?php echo lang('\n Tidying up the HTML source, please wait...'); ?>", |
---|
| 45 | "HT-html-tidy" : "<?php echo lang('HTML Tidy'); ?>" |
---|
| 46 | }; |
---|