summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllie Micka2009-02-17 20:46:18 (GMT)
committer Allie Micka2009-02-17 20:46:18 (GMT)
commit73b028580409da968477c0ce8a72e51a96fd82b8 (patch)
tree2e65b68a7d0a2aa171bad917c50d89556f45fd37
parent446f663091d8e58e99834efb1d62d64845f6881f (diff)
Rejiggering menus
-rw-r--r--qb.module11
1 files changed, 10 insertions, 1 deletions
diff --git a/qb.module b/qb.module
index 3793781..ca475cf 100644
--- a/qb.module
+++ b/qb.module
@@ -18,6 +18,15 @@ function qb_menu() {
'file' => 'qb.inc',
'type' => MENU_NORMAL_ITEM,
),
+ 'admin/settings/qb/api' => array(
+ 'title' => t('API Settings'),
+ 'page callback' => 'drupal_get_form',
+ 'page arguments' => array('qb_settings'),
+ 'access arguments' => array('administer quickbooks'),
+ 'file' => 'qb.inc',
+ 'weight' => 10,
+ 'type' => MENU_DEFAULT_LOCAL_TASK,
+ ),
);
}
@@ -49,7 +58,7 @@ function qb_qbxml($elements, $root = array('QBXML')) {
foreach ((array) $elements as $key => $element) {
_qb_qbxml_node($qbxml, $key, $element, $start);
}
-
+ watchdog('debug', htmlentities($qbxml->saveXML));
return $qbxml->saveXML();
}