Add isset to the themes.

This commit is contained in:
Mark Crane 2013-01-02 00:21:02 +00:00
parent d16a35527c
commit 563b696fc8
4 changed files with 4 additions and 4 deletions

View File

@ -471,7 +471,7 @@ function confirmdelete(url) {
</td> </td>
<td align='left' valign='top'> <td align='left' valign='top'>
<?php <?php
if ($_SESSION["reload_xml"]) { if (isset($_SESSION["reload_xml"])) {
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/v_status.php") { if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/v_status.php") {
if(stristr($_SERVER["PHP_SELF"] , "_edit") != FALSE) { if(stristr($_SERVER["PHP_SELF"] , "_edit") != FALSE) {
//found //found

View File

@ -564,7 +564,7 @@ function confirmdelete(url) {
<table width='100%' cellpadding='25' cellspacing='0' border='0'> <table width='100%' cellpadding='25' cellspacing='0' border='0'>
<td width='100%' align='left' valign='top'> <td width='100%' align='left' valign='top'>
<?php <?php
if ($_SESSION["reload_xml"]) { if (isset($_SESSION["reload_xml"])) {
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") { if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") {
if(stristr($_SERVER["PHP_SELF"], "_edit") != FALSE) { if(stristr($_SERVER["PHP_SELF"], "_edit") != FALSE) {
//found //found

View File

@ -738,7 +738,7 @@ function confirmdelete(url) {
</td> </td>
<td class='main_content' align='left' valign='top' width='85%'> <td class='main_content' align='left' valign='top' width='85%'>
<?php <?php
if ($_SESSION["reload_xml"]) { if (isset($_SESSION["reload_xml"])) {
if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") { if ($_SERVER["PHP_SELF"] != PROJECT_PATH."/app/sip_status/sip_status.php") {
if(stristr($_SERVER["PHP_SELF"], "_edit") != FALSE) { if(stristr($_SERVER["PHP_SELF"], "_edit") != FALSE) {
//found //found

View File

@ -699,7 +699,7 @@ function confirmdelete(url) {
<td class='main_content' align='left' valign='top' width='85%'> <td class='main_content' align='left' valign='top' width='85%'>
<?php <?php
/* /*
if ($_SESSION["reload_xml"]) { if (isset($_SESSION["reload_xml"])) {
if ($_SESSION['apply_settings'] == "true") { if ($_SESSION['apply_settings'] == "true") {
//show the apply settings prompt //show the apply settings prompt
} }