mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Adjust the width of the language section of the install.
This commit is contained in:
@@ -200,8 +200,8 @@
|
||||
|
||||
//view code
|
||||
if($install_step == 'select_language'){
|
||||
echo " <form method='post' name='frm' action=''>\n";
|
||||
include "resources/page_parts/install_select_language.php";
|
||||
echo "<form method='post' name='frm' action=''>\n";
|
||||
echo " <input type='hidden' name='install_language' value='".$_SESSION['domain']['language']['code']."'/>\n";
|
||||
echo " <input type='hidden' name='return_install_step' value='select_language'/>\n";
|
||||
echo " <input type='hidden' name='install_step' value='detect_config'/>\n";
|
||||
|
||||
@@ -24,46 +24,38 @@
|
||||
Matthew Vale <github@mafoo.org>
|
||||
*/
|
||||
|
||||
echo "<form method='post' name='frm' action=''>\n";
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td width='30%' align='left' nowrap><b>".$text['header-select_language']."</b><br><br></td>\n";
|
||||
echo "<td width='70%' align='right'>";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$text['button-select']."'/>\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-select_language']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo "<fieldset class='container'>";
|
||||
echo "<table width='80%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='30%' align='left' nowrap><b>".$text['header-select_language']."</b><br><br></td>\n";
|
||||
echo " <td width='70%' align='right'>";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$text['button-next']."'/>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td class='vncellreq' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-select_language']."\n";
|
||||
echo " </td>\n";
|
||||
echo " <td class='vtable' align='left'>\n";
|
||||
echo " <fieldset class='container'>";
|
||||
foreach($_SESSION['app']['languages'] as $lang_code){
|
||||
echo "<fieldset class='container'>";
|
||||
echo " <label class='radio' style='width:200px;'>";
|
||||
echo " <input type='radio' name='install_language' value='$lang_code' id='lang_$lang_code' onchange='JavaScript:disable_next()'";
|
||||
echo " <fieldset class='container'>";
|
||||
echo " <label class='radio' style='width:200px;'>";
|
||||
echo " <input type='radio' name='install_language' value='$lang_code' id='lang_$lang_code' onchange='JavaScript:disable_next()'";
|
||||
if($lang_code == $_SESSION['domain']['language']['code'])
|
||||
{
|
||||
echo " checked='checked'";
|
||||
}
|
||||
echo "/>";
|
||||
echo "<img src='<!--{project_path}-->/core/install/resources/images/flags/$lang_code.png' alt='$lang_code'/> ".$text["language-$lang_code"];
|
||||
echo "</label>\n";
|
||||
echo "</fieldset>";
|
||||
echo " <img src='<!--{project_path}-->/core/install/resources/images/flags/$lang_code.png' alt='$lang_code'/> ".$text["language-$lang_code"];
|
||||
echo " </label>\n";
|
||||
echo " </fieldset>";
|
||||
}
|
||||
echo "</fieldset>";
|
||||
echo "<br />\n";
|
||||
echo $text['description-select_language']."\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo " </fieldset>";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-select_language']."\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo "</table>";
|
||||
echo "<br><br>";
|
||||
echo "</form>";
|
||||
?><script type='text/javascript'>
|
||||
function disable_next() {
|
||||
document.getElementById("next").style.display = 'none';
|
||||
}
|
||||
</script>
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user