mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Visual adjustments.
This commit is contained in:
@@ -26,6 +26,11 @@
|
||||
Philippe Rioual <bhouba@gmail.com>
|
||||
*/
|
||||
|
||||
$text['title-command']['en-us'] = "Command";
|
||||
$text['title-command']['es-cl'] = "Comando";
|
||||
$text['title-command']['pt-pt'] = "Comando";
|
||||
$text['title-command']['fr-fr'] = "Commande";
|
||||
|
||||
$text['label-execute']['en-us'] = "Execute Command";
|
||||
$text['label-execute']['es-cl'] = "Ejecutar Comando";
|
||||
$text['label-execute']['pt-pt'] = "Executar Comando";
|
||||
@@ -36,7 +41,7 @@
|
||||
$text['description-execute']['pt-pt'] = "Oferece uma maneira fácil de executar comandos de sistema, PHP, e switch.";
|
||||
$text['description-execute']['fr-fr'] = "Fournir un moyen pour executer des commandes système, PHP et freeswitch. ";
|
||||
|
||||
$text['label-shell']['en-us'] = "Shell command";
|
||||
$text['label-shell']['en-us'] = "Shell";
|
||||
$text['label-shell']['es-cl'] = "Terminal de Comandos";
|
||||
$text['label-shell']['pt-pt'] = "Comando Shell";
|
||||
$text['label-shell']['fr-fr'] = "Commande Shell";
|
||||
@@ -46,7 +51,7 @@
|
||||
$text['description-shell']['pt-pt'] = "Comandos do sistema.";
|
||||
$text['description-shell']['fr-fr'] = "Commande Système";
|
||||
|
||||
$text['label-php']['en-us'] = "PHP command";
|
||||
$text['label-php']['en-us'] = "PHP";
|
||||
$text['label-php']['es-cl'] = "Comando PHP";
|
||||
$text['label-php']['pt-pt'] = "Comandos PHP";
|
||||
$text['label-php']['fr-fr'] = "Commande PHP";
|
||||
@@ -56,7 +61,7 @@
|
||||
$text['description-php']['pt-pt'] = "Utilize a ligação seguinte como referência para o PHP: <a href='http://php.net/manual/en/index.php' target='_blank'>PHP Manual";
|
||||
$text['description-php']['fr-fr'] = "Utiliser le lien suivant comme référence pour le PHP: <a href='http://php.net/manual/fr/index.php' target='_blank'>Manuel PHP";
|
||||
|
||||
$text['label-switch']['en-us'] = "Switch Command";
|
||||
$text['label-switch']['en-us'] = "Switch";
|
||||
$text['label-switch']['es-cl'] = "Comando de switch";
|
||||
$text['label-switch']['pt-pt'] = "Comando Freeswitch";
|
||||
$text['label-switch']['fr-fr'] = "Commande CLI Freeswitch";
|
||||
|
||||
@@ -48,6 +48,7 @@ else {
|
||||
|
||||
//show the header
|
||||
require_once "resources/header.php";
|
||||
$document['title'] = $text['title-command'];
|
||||
|
||||
//edit area
|
||||
echo " <script language=\"javascript\" type=\"text/javascript\" src=\"".PROJECT_PATH."/resources/edit_area/edit_area_full.js\"></script>\n";
|
||||
@@ -94,19 +95,15 @@ else {
|
||||
echo " </script>";
|
||||
|
||||
//show the header
|
||||
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td colspan='2' align='left' nowrap=\"nowrap\"><b>".$text['label-execute']."</b></td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo " <td align=\"left\" colspan='2'>\n";
|
||||
echo " ".$text['description-execute']."\n";
|
||||
echo " <br />\n";
|
||||
echo " <br />\n";
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<b>".$text['label-execute']."</b>\n";
|
||||
echo "<br><br>";
|
||||
echo $text['description-execute']."\n";
|
||||
echo "<br><br>";
|
||||
|
||||
|
||||
//show the result
|
||||
echo "<form method='post' name='frm' action=''>\n";
|
||||
echo "<table cellpadding='0' cellspacing='0' border='0' width='100%'>\n";
|
||||
if (count($_POST)>0) {
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan='2' align=\"left\">\n";
|
||||
@@ -149,15 +146,13 @@ else {
|
||||
}
|
||||
|
||||
//html form
|
||||
echo "<form method='post' name='frm' action=''>\n";
|
||||
|
||||
if (permission_exists('exec_command_line')) {
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncell' valign='top' align='left' nowrap>\n";
|
||||
echo " ".$text['label-shell']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <textarea name='shell_cmd' id='shell_cmd' rows='2' class='formfld' style='width: 100%;' wrap='off'>$shell_cmd</textarea\n";
|
||||
echo " <textarea name='shell_cmd' id='shell_cmd' rows='2' class='formfld' style='width: 100%;' wrap='off'>$shell_cmd</textarea>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-shell']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -169,7 +164,7 @@ else {
|
||||
echo " ".$text['label-php']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <textarea name='php_cmd' id='php_cmd' rows='7' class='formfld' style='width: 100%;' wrap='off'>$php_cmd</textarea\n";
|
||||
echo " <textarea name='php_cmd' id='php_cmd' rows='7' class='formfld' style='width: 100%;' wrap='off'>$php_cmd</textarea>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-php']."</a>\n";
|
||||
echo "</td>\n";
|
||||
@@ -181,7 +176,7 @@ else {
|
||||
echo " ".$text['label-switch']."\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
echo " <textarea name='switch_cmd' id='switch_cmd' rows='2' class='formfld' style='width: 100%;' wrap='off'>$switch_cmd</textarea\n";
|
||||
echo " <textarea name='switch_cmd' id='switch_cmd' rows='2' class='formfld' style='width: 100%;' wrap='off'>$switch_cmd</textarea>\n";
|
||||
echo " <br />\n";
|
||||
echo " ".$text['description-switch']."\n";
|
||||
echo "</td>\n";
|
||||
@@ -189,12 +184,13 @@ else {
|
||||
}
|
||||
echo " <tr>\n";
|
||||
echo " <td colspan='2' align='right'>\n";
|
||||
echo " <br>";
|
||||
echo " <input type='submit' name='submit' class='btn' value='".$text['button-execute']."'>\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>";
|
||||
echo "</form>";
|
||||
|
||||
echo "</table>";
|
||||
echo "<br><br>";
|
||||
echo "</form>";
|
||||
|
||||
//show the footer
|
||||
require_once "resources/footer.php";
|
||||
|
||||
Reference in New Issue
Block a user