projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rerun of Can't void Customer Payment.
[fa-stable.git]
/
admin
/
tags.php
diff --git
a/admin/tags.php
b/admin/tags.php
index 4bc0c8548b6ec83f365d5c491612e63a57651bb1..3f06c57e97e275fc22c9b20d37401f94c71262ac 100644
(file)
--- a/
admin/tags.php
+++ b/
admin/tags.php
@@
-16,9
+16,9
@@
include_once($path_to_root . "/admin/db/tags_db.inc");
include($path_to_root . "/includes/ui.inc");
// Set up page security based on what type of tags we're working with
include($path_to_root . "/includes/ui.inc");
// Set up page security based on what type of tags we're working with
-if (@$_GET['type'] == "account" ||
$_POST['type']
== TAG_ACCOUNT) {
+if (@$_GET['type'] == "account" ||
get_post('type')
== TAG_ACCOUNT) {
$page_security = 'SA_GLACCOUNTTAGS';
$page_security = 'SA_GLACCOUNTTAGS';
-} else if(@$_GET['type'] == "dimension" ||
$_POST['type']
== TAG_DIMENSION) {
+} else if(@$_GET['type'] == "dimension" ||
get_post('type')
== TAG_DIMENSION) {
$page_security = 'SA_DIMTAGS';
}
$page_security = 'SA_DIMTAGS';
}
@@
-124,7
+124,7
@@
if ($Mode == 'RESET')
$result = get_tags($_POST['type'], check_value('show_inactive'));
start_form();
$result = get_tags($_POST['type'], check_value('show_inactive'));
start_form();
-start_table(
$table_style
);
+start_table(
TABLESTYLE
);
$th = array(_("Tag Name"), _("Tag Description"), "", "");
inactive_control_column($th);
table_header($th);
$th = array(_("Tag Name"), _("Tag Description"), "", "");
inactive_control_column($th);
table_header($th);
@@
-147,7
+147,7
@@
end_table(1);
//-----------------------------------------------------------------------------------
//-----------------------------------------------------------------------------------
-start_table(
$table_style
2);
+start_table(
TABLESTYLE
2);
if ($selected_id != -1) // We've selected a tag
{
if ($selected_id != -1) // We've selected a tag
{
@@
-176,4
+176,3
@@
end_form();
end_page();
end_page();
-?>