Remove the apply settings message.
This commit is contained in:
parent
833b111afc
commit
0b55e60c1b
|
|
@ -471,41 +471,6 @@ function confirmdelete(url) {
|
|||
<!--{menu}-->
|
||||
</td>
|
||||
<td align='left' valign='top'>
|
||||
<?php
|
||||
if (isset($_SESSION["reload_xml"])) {
|
||||
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") {
|
||||
if(stristr($_SERVER["PHP_SELF"] , "_edit") != FALSE) {
|
||||
//found
|
||||
}
|
||||
else {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table border='0' width='400px'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th align='left'>Message</th>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td class='row_style1'>\n";
|
||||
|
||||
echo " <table width='100%' border='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='90%' align='left'>\n";
|
||||
echo " The configuration has been changed. \n";
|
||||
echo " Apply the changes in order for them to take effect. \n";
|
||||
echo " </td>\n";
|
||||
echo " <td align='right'>\n";
|
||||
echo " <input type='button' class='btn' value='Apply Settings' onclick=\"document.location.href='".PROJECT_PATH."/app/sip_status/cmd.php?cmd=api+reloadxml';\" />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!--{body}-->
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
|
|
@ -558,47 +558,10 @@ function confirmdelete(url) {
|
|||
<tr><td colspan='100%'><img src='<!--{project_path}-->/images/spacer.gif' width='100%' height='1' style='background-color: #BBBBBB;'></td></tr>
|
||||
-->
|
||||
<tr>
|
||||
|
||||
<td valign='top' align='center' width='100%'>
|
||||
|
||||
|
||||
<table width='100%' cellpadding='25' cellspacing='0' border='0'>
|
||||
<td width='100%' align='left' valign='top'>
|
||||
<?php
|
||||
if (isset($_SESSION["reload_xml"])) {
|
||||
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") {
|
||||
if(stristr($_SERVER["PHP_SELF"], "_edit") != FALSE) {
|
||||
//found
|
||||
}
|
||||
else {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table border='0' width='400px'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th align='left'>Message</th>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td class='row_style1'>\n";
|
||||
|
||||
echo " <table width='100%' border='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='90%' align='left'>\n";
|
||||
echo " The configuration has been changed. \n";
|
||||
echo " Apply the changes in order for them to take effect. \n";
|
||||
echo " </td>\n";
|
||||
echo " <td align='right'>\n";
|
||||
echo " <input type='button' class='btn' value='Apply Settings' onclick=\"document.location.href='".PROJECT_PATH."/app/sip_status/cmd.php?cmd=api+reloadxml';\" />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!--{body}-->
|
||||
<br />
|
||||
<br />
|
||||
|
|
|
|||
|
|
@ -738,41 +738,7 @@ function confirmdelete(url) {
|
|||
?>
|
||||
</td>
|
||||
<td class='main_content' align='left' valign='top' width='85%'>
|
||||
<?php
|
||||
if (isset($_SESSION["reload_xml"])) {
|
||||
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") {
|
||||
if(stristr($_SERVER["PHP_SELF"], "_edit") != FALSE) {
|
||||
//found
|
||||
}
|
||||
else {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table border='0' width='400px'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th align='left'>Message</th>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td class='row_style1'>\n";
|
||||
|
||||
echo " <table width='100%' border='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='90%' align='left'>\n";
|
||||
echo " The configuration has been changed. \n";
|
||||
echo " Apply the changes in order for them to take effect. \n";
|
||||
echo " </td>\n";
|
||||
echo " <td align='right'>\n";
|
||||
echo " <input type='button' class='btn' value='Apply Settings' onclick=\"document.location.href='".PROJECT_PATH."/app/sip_status/cmd.php?cmd=api+reloadxml';\" />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
<!--{body}-->
|
||||
|
||||
<br /><br />
|
||||
|
|
|
|||
|
|
@ -698,44 +698,7 @@ function confirmdelete(url) {
|
|||
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
|
||||
<tr>
|
||||
<td class='main_content' align='left' valign='top' width='85%'>
|
||||
<?php
|
||||
/*
|
||||
if (isset($_SESSION["reload_xml"])) {
|
||||
if ($_SESSION['apply_settings'] == "true") {
|
||||
//show the apply settings prompt
|
||||
}
|
||||
else {
|
||||
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") {
|
||||
echo "<div align='center'>\n";
|
||||
echo "<table border='0' width='400px'>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<th align='left'>Message</th>\n";
|
||||
echo "</tr>\n";
|
||||
echo "<tr>\n";
|
||||
echo "<td class='row_style1'>\n";
|
||||
|
||||
echo " <table width='100%' border='0'>\n";
|
||||
echo " <tr>\n";
|
||||
echo " <td width='90%' align='left'>\n";
|
||||
echo " The configuration has been changed. \n";
|
||||
echo " Apply the changes in order for them to take effect. \n";
|
||||
echo " </td>\n";
|
||||
echo " <td align='right'>\n";
|
||||
echo " <input type='button' class='btn' value='Apply Settings' onclick=\"document.location.href='".PROJECT_PATH."/app/sip_status/cmd.php?cmd=api+reloadxml';\" />\n";
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
echo " </table>\n";
|
||||
|
||||
echo "</td>\n";
|
||||
echo "</tr>\n";
|
||||
echo "</table>\n";
|
||||
echo "</div>\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
*/
|
||||
?>
|
||||
<!--{body}-->
|
||||
|
||||
<br /><br />
|
||||
|
|
|
|||
Loading…
Reference in New Issue