rename the links in the vars php files.
This commit is contained in:
+6
-9
@@ -86,15 +86,12 @@ else {
|
||||
$tmp_var_header .= "<th>Description</th>\n";
|
||||
$tmp_var_header .= "<td align='right' width='42'>\n";
|
||||
if (permission_exists('variables_add')) {
|
||||
$tmp_var_header .= " <a href='v_vars_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
$tmp_var_header .= " <a href='vars_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
}
|
||||
$tmp_var_header .= "</td>\n";
|
||||
$tmp_var_header .= "<tr>\n";
|
||||
|
||||
if ($result_count == 0) {
|
||||
//no results
|
||||
}
|
||||
else {
|
||||
if ($result_count > 0) {
|
||||
$prev_var_cat = '';
|
||||
foreach($result as $row) {
|
||||
$var_value = $row[var_value];
|
||||
@@ -110,7 +107,7 @@ else {
|
||||
echo " <td width='33.3%' align='center' nowrap> </td>\n";
|
||||
echo " <td width='33.3%' align='right'>\n";
|
||||
if (permission_exists('variables_add')) {
|
||||
echo " <a href='v_vars_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
echo " <a href='vars_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
@@ -136,10 +133,10 @@ else {
|
||||
echo " <td valign='top' align='left' class='".$row_style[$c]."'>".$var_description." </td>\n";
|
||||
echo " <td valign='top' align='right'>\n";
|
||||
if (permission_exists('variables_edit')) {
|
||||
echo " <a href='v_vars_edit.php?id=".$row['var_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
|
||||
echo " <a href='vars_edit.php?id=".$row['var_uuid']."' alt='edit'>$v_link_label_edit</a>\n";
|
||||
}
|
||||
if (permission_exists('variables_delete')) {
|
||||
echo " <a href='v_vars_delete.php?id=".$row['var_uuid']."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
|
||||
echo " <a href='vars_delete.php?id=".$row['var_uuid']."' alt='delete' onclick=\"return confirm('Do you really want to delete this?')\">$v_link_label_delete</a>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo "</tr>\n";
|
||||
@@ -158,7 +155,7 @@ else {
|
||||
echo " <td width='33.3%' align='center' nowrap>$paging_controls</td>\n";
|
||||
echo " <td width='33.3%' align='right'>\n";
|
||||
if (permission_exists('variables_add')) {
|
||||
echo " <a href='v_vars_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
echo " <a href='vars_edit.php' alt='add'>$v_link_label_add</a>\n";
|
||||
}
|
||||
echo " </td>\n";
|
||||
echo " </tr>\n";
|
||||
|
||||
Reference in New Issue
Block a user