diff options
Diffstat (limited to 'include/output.php')
-rw-r--r-- | include/output.php | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/include/output.php b/include/output.php index 135fe13..79e42c2 100644 --- a/include/output.php +++ b/include/output.php @@ -394,7 +394,9 @@ function output_header() </head> <body onload="high_last();"> <div class="header"> -<h1> Welcome to E-Doko </h1> +<?php + echo '<h1> '._('Welcome to E-Doko').' </h1>'; +?> </div> <?php @@ -516,6 +518,26 @@ function output_select_timezone($name,$timezone="") return; } +function output_select_language($name,$language="") +{ + $LOCALE = array ("English" => "en", + "Deutsch" => "de" ); + + echo " <select id=\"$name\" name=\"$name\" size=\"1\">\n"; + + foreach($LOCALE as $place=>$locale) + { + if($language==$locale) + echo " <option value=\"$locale\" selected=\"selected\">$place</option>\n"; + else + echo " <option value=\"$locale\">$place</option>\n"; + } + echo " </select>\n"; + + return; +} + + function output_password_recovery($email,$password) { ?> |