SIP Profiles, correct the file names used in the PHP code.

This commit is contained in:
Mark Crane
2013-09-23 17:04:30 +00:00
parent 1141dbb734
commit 841f92afe3
4 changed files with 9 additions and 9 deletions

View File

@@ -62,7 +62,7 @@ if (strlen($id)>0) {
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profiles_edit.php?id=$sip_profile_uuid\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profile_edit.php?id=$sip_profile_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-delete']."\n";
echo "</div>\n";

View File

@@ -119,7 +119,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profiles_edit.php?id=$sip_profile_uuid\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profile_edit.php?id=$sip_profile_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-add']."\n";
echo "</div>\n";
@@ -147,7 +147,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
//redirect the browser
require_once "resources/header.php";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profiles_edit.php?id=$sip_profile_uuid\">\n";
echo "<meta http-equiv=\"refresh\" content=\"2;url=sip_profile_edit.php?id=$sip_profile_uuid\">\n";
echo "<div align='center'>\n";
echo $text['message-update']."\n";
echo "</div>\n";
@@ -191,7 +191,7 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
echo "<table width='100%' border='0' cellpadding='6' cellspacing='0'>\n";
echo "<tr>\n";
echo "<td align='left' width='30%' nowrap='nowrap'><b>".$text['header-setting']."</b></td>\n";
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='sip_profiles_edit.php?id=$sip_profile_uuid'\" value='".$text['button-back']."'></td>\n";
echo "<td width='70%' align='right'><input type='button' class='btn' name='' alt='".$text['button-back']."' onclick=\"window.location='sip_profile_edit.php?id=$sip_profile_uuid'\" value='".$text['button-back']."'></td>\n";
echo "</tr>\n";
echo "<tr>\n";
echo "<td colspan='2'>\n";

View File

@@ -117,7 +117,7 @@ require_once "resources/paging.php";
echo " <a href='sip_profile_setting_edit.php?sip_profile_uuid=".$row['sip_profile_uuid']."&id=".$row['sip_profile_setting_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
}
if (permission_exists('sip_profile_delete')) {
echo " <a href='sip_profile_settings_delete.php?sip_profile_uuid=".$row['sip_profile_uuid']."&id=".$row['sip_profile_setting_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
echo " <a href='sip_profile_setting_delete.php?sip_profile_uuid=".$row['sip_profile_uuid']."&id=".$row['sip_profile_setting_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
}
echo " </td>\n";
echo "</tr>\n";

View File

@@ -112,7 +112,7 @@ require_once "resources/paging.php";
echo "<th align='left' width='60%'>".$text['label-description']."</th>\n";
echo "<td align='right' width='42'>\n";
if (permission_exists('sip_profile_add')) {
echo " <a href='sip_profiles_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
echo " <a href='sip_profile_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
}
echo "</td>\n";
echo "<tr>\n";
@@ -124,10 +124,10 @@ require_once "resources/paging.php";
echo " <td valign='top' class='row_stylebg'>".$row['sip_profile_description']."&nbsp;</td>\n";
echo " <td valign='top' align='right'>\n";
if (permission_exists('sip_profile_edit')) {
echo " <a href='sip_profiles_edit.php?id=".$row['sip_profile_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
echo " <a href='sip_profile_edit.php?id=".$row['sip_profile_uuid']."' alt='".$text['button-edit']."'>$v_link_label_edit</a>\n";
}
if (permission_exists('sip_profile_delete')) {
echo " <a href='sip_profiles_delete.php?id=".$row['sip_profile_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
echo " <a href='sip_profile_delete.php?id=".$row['sip_profile_uuid']."' alt='".$text['button-delete']."' onclick=\"return confirm('".$text['confirm-delete']."')\">$v_link_label_delete</a>\n";
}
echo " </td>\n";
echo "</tr>\n";
@@ -144,7 +144,7 @@ require_once "resources/paging.php";
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
echo " <td width='33.3%' align='right'>\n";
if (permission_exists('sip_profile_add')) {
echo " <a href='sip_profiles_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
echo " <a href='sip_profile_edit.php' alt='".$text['button-add']."'>$v_link_label_add</a>\n";
}
echo " </td>\n";
echo " </tr>\n";