Source for file index.view.php
Documentation is available at index.view.php
* @copyright Refer to copyright.php
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* @author Mambo Foundation Inc see README.php
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
function render(&$renderer, &$request)
$languageDir =
mamboCore::get('mosConfig_absolute_path').
"/language/";
foreach($xmlFilesInDir as $xmlfile) {
// Read the file to see if it's a valid template XML file
if ($parser->getType() !=
'language') continue;
$row->language =
substr($xmlfile,0,-
4);
$row->name =
$parser->getName('language');
$row->creationdate =
$parser->getCreationDate('language');
$row->author =
$parser->getAuthor('language');
$row->copyright =
$parser->getCopyright('language');
$row->authorEmail =
$parser->getAuthorEmail('language');
$row->authorUrl =
$parser->getAuthorUrl('language');
$row->version =
$parser->getVersion('language');
$row->published =
(mamboCore::get('mosConfig_locale') ==
$row->language) ?
1 :
0;
$renderer->addvar('rows', $rows);
$renderer->addvar('content', $renderer->fetch('table.tpl.php'));
$renderer->display('form.tpl.php');
Documentation generated on Mon, 05 May 2008 16:20:31 +0400 by phpDocumentor 1.4.0