Permalink
Browse files

Fix syntax bug in domain.php and remove debug messages

  • Loading branch information...
1 parent 86827fb commit 0a65e361debfc9812759365ffb5e753bf1c90e42 @ioguix ioguix committed Aug 17, 2012
Showing with 4 additions and 8 deletions.
  1. +3 −5 domains.php
  2. +1 −3 operators.php
View
@@ -204,8 +204,6 @@ function doProperties($msg = '') {
if ($data->hasDomainConstraints()) {
$domaincons = $data->getDomainConstraints($_REQUEST['domain']);
- error_log(print_r($domaincons, 1));
-
$columns = array (
'name' => array (
'title' => $lang['strname'],
@@ -292,7 +290,7 @@ function doProperties($msg = '') {
);
}
- $misc->printNavLinks($navlinks, 'domains-properties');
+ $misc->printNavLinks($navlinks, 'domains-properties', get_defined_vars());
}
/**
@@ -490,7 +488,7 @@ function doDefault($msg = '') {
$misc->printTable($domains, $columns, $actions, 'domains-domains', $lang['strnodomains']);
$navlinks = array (
- 'create' => rray (
+ 'create' => array (
'attr'=> array (
'href' => array (
'url' => 'domains.php',
@@ -505,7 +503,7 @@ function doDefault($msg = '') {
'content' => $lang['strcreatedomain']
)
);
- $misc->printNavLinks($navlinks, 'domains-domains');
+ $misc->printNavLinks($navlinks, 'domains-domains', get_defined_vars());
}
/**
View
@@ -77,7 +77,7 @@ function doProperties($msg = '') {
)
),
'content' => $lang['strshowalloperators']
- )), 'operators-properties'
+ )), 'operators-properties', get_defined_vars()
);
}
else
@@ -130,8 +130,6 @@ function doDefault($msg = '') {
$operators = $data->getOperators();
- error_log(print_r($operators, 1));
-
$columns = array(
'operator' => array(
'title' => $lang['stroperator'],

0 comments on commit 0a65e36

Please sign in to comment.