Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 830 → Rev 831

/trunk/client/phorum/bibliotheque/phorum/docs/example_mods/example_language/example_language.php
New file
0,0 → 1,10
<?php
 
if(!defined("PHORUM")) return;
 
function phorum_mod_example_language_after_header () {
$PHORUM = $GLOBALS["PHORUM"];
print $PHORUM["DATA"]["LANG"]["example_language"]["HelloWorld"];
}
 
?>
/trunk/client/phorum/bibliotheque/phorum/docs/example_mods/example_language/info.txt
New file
0,0 → 1,4
title: Language example module
desc: This is a module that demonstrates the support of multiple languages in a multiple file module.
hook: lang|
hook: after_header|phorum_mod_example_language_after_header
/trunk/client/phorum/bibliotheque/phorum/docs/example_mods/example_language/lang/english.php
New file
0,0 → 1,3
<?php
$PHORUM["DATA"]["LANG"]["example_language"]["HelloWorld"] = "Hello, world!";
?>
/trunk/client/phorum/bibliotheque/phorum/docs/example_mods/example_language/lang/german.php
New file
0,0 → 1,3
<?php
$PHORUM["DATA"]["LANG"]["example_language"]["HelloWorld"] = "Hallo, Welt!";
?>
/trunk/client/phorum/bibliotheque/phorum/docs/example_mods/example_language/lang/french.php
New file
0,0 → 1,3
<?php
$PHORUM["DATA"]["LANG"]["example_language"]["HelloWorld"] = "Salut le Monde!";
?>
/trunk/client/phorum/bibliotheque/phorum/docs/example_mods/example_language/lang/dutch.php
New file
0,0 → 1,3
<?php
$PHORUM["DATA"]["LANG"]["example_language"]["HelloWorld"] = "Hallo, wereld!";
?>