mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-04 02:43:48 +00:00
Fixed translation on script editor file options.
This commit is contained in:
@@ -58,5 +58,6 @@
|
||||
$text['button-delete-this']['en-us'] = 'Are you sure want to delete this?';
|
||||
$text['button-search']['en-us'] = 'Search';
|
||||
$text['button-add']['en-us'] = 'Add';
|
||||
$text['label-file']['en-us'] = 'File:';
|
||||
|
||||
?>
|
||||
@@ -36,10 +36,7 @@ else {
|
||||
}
|
||||
|
||||
//add multi-lingual support
|
||||
require_once "app_languages.php";
|
||||
foreach($text as $key => $value) {
|
||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||
}
|
||||
// included in the header.php file below
|
||||
|
||||
require_once "header.php";
|
||||
|
||||
@@ -57,7 +54,7 @@ echo "<td colspan='2'>";
|
||||
echo "<table border='0'>";
|
||||
echo "<form method='post' name='frm' action=''>";
|
||||
echo "<tr><td>".$text['label-path']."</td><td width='95%'><input type='text' name='folder' id='folder' style=\"width: 100%;\" value=''></td><tr>\n";
|
||||
echo "<tr><td>File:</td><td width='95%' style=\"width: 60%;\"><input type='text' name='filename' id='filename' style=\"width: 100%;\" value=''></div></td></tr>\n";
|
||||
echo "<tr><td>".$text['label-file']."</td><td width='95%' style=\"width: 60%;\"><input type='text' name='filename' id='filename' style=\"width: 100%;\" value=''></div></td></tr>\n";
|
||||
echo "</form>";
|
||||
echo "</table>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user