mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Number Translations: Add window title, fix php count warning.
This commit is contained in:
@@ -163,7 +163,7 @@
|
||||
}
|
||||
|
||||
//add an empty row
|
||||
$x = count($number_translation_details);
|
||||
$x = is_array($number_translation_details) ? count($number_translation_details) : 0;
|
||||
$number_translation_details[$x]['number_translation_uuid'] = $number_translation_uuid;
|
||||
$number_translation_details[$x]['number_translation_detail_uuid'] = uuid();
|
||||
$number_translation_details[$x]['number_translation_detail_regex'] = '';
|
||||
@@ -175,6 +175,7 @@
|
||||
$token = $object->create($_SERVER['PHP_SELF']);
|
||||
|
||||
//show the header
|
||||
$document['title'] = $text['title-number_translation'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
//show the content
|
||||
@@ -189,11 +190,6 @@
|
||||
echo " <input type='submit' class='btn' value='".$text['button-save']."'>";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td colspan='2'>\n";
|
||||
echo " ".$text['description-number_translations']."<br /><br />\n";
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
|
||||
echo "<tr>\n";
|
||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||
|
||||
@@ -112,6 +112,7 @@
|
||||
$token = $object->create($_SERVER['PHP_SELF']);
|
||||
|
||||
//additional includes
|
||||
$document['title'] = $text['title-number_translations'];
|
||||
require_once "resources/header.php";
|
||||
|
||||
//show the content
|
||||
|
||||
Reference in New Issue
Block a user