Permalink
Browse files

Fix for #105 - escaping of debug-log text. Plus adding some local anc…

…hors into debugging text, to make it easier to navigate between sections of log-text: click on the up & down arrows next to the debug text, to jump to the previous & next debug sections.

A lot of shuffling in gtdfuncs.inc.php, to group similar functions together within the source code, to improve readability.

Improvements to XML output from processItems.php
  • Loading branch information...
1 parent 3721019 commit 500ca253162204fd05e7a54ac2b088986b16e55f Andrew Smith committed Jul 4, 2008
Showing with 446 additions and 411 deletions.
  1. +1 −1 editCat.php
  2. +338 −311 gtdfuncs.inc.php
  3. +1 −3 header.inc.php
  4. +1 −1 headerHtml.inc.php
  5. +1 −6 item.php
  6. +4 −6 listItems.inc.php
  7. +6 −4 mysql.inc.php
  8. +1 −1 orphans.php
  9. +1 −2 preferences.php
  10. +5 −6 processCat.php
  11. +68 −62 processItems.php
  12. +7 −7 processPreferences.php
  13. +2 −1 processTypes.php
  14. +10 −0 themes/default/style.css
View
@@ -1,7 +1,7 @@
<?php
require_once 'editCat.inc.php';
require_once 'header.inc.php';
-if ($_SESSION['debug']['debug']) echo "<pre>catlist:",print_r($catlist,true),'</pre>';
+log_array('$catlist');
?>
<?php if ($thiscat || !$id) {
?><form action="processCat.php" method="post" onsubmit="return GTD.validate(this);">
Oops, something went wrong.

0 comments on commit 500ca25

Please sign in to comment.