summaryrefslogtreecommitdiff
path: root/list_content.php
diff options
context:
space:
mode:
authorwjames5 <will@tekimaki.com>2006-09-06 18:56:57 +0000
committerwjames5 <will@tekimaki.com>2006-09-06 18:56:57 +0000
commit5d0a1ef0bc874b6de6c450a5426559e720e93734 (patch)
treee719145ef7772520fb4ed7ae9da1e3a6fc712b4f /list_content.php
parentff6dcc07a28d09a076c21f0e67f24a9644343263 (diff)
downloadliberty-5d0a1ef0bc874b6de6c450a5426559e720e93734.tar.gz
liberty-5d0a1ef0bc874b6de6c450a5426559e720e93734.tar.bz2
liberty-5d0a1ef0bc874b6de6c450a5426559e720e93734.zip
adds output option of 'raw', which is just the data, for include use
Diffstat (limited to 'list_content.php')
-rw-r--r--list_content.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/list_content.php b/list_content.php
index 99e26af..1ae9ee4 100644
--- a/list_content.php
+++ b/list_content.php
@@ -3,7 +3,7 @@
* list_content
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.19 $
+ * @version $Revision: 1.20 $
* @package liberty
* @subpackage functions
*/
@@ -59,6 +59,9 @@ if ( !empty( $_REQUEST['output'] ) ){
header( "Content-Type: text/xml\n\n" );
print $xml;
break;
+ case 'raw':
+ //means we just want the contents of $contentList when we include this file
+ break;
}
} else {
$gBitSystem->setBrowserTitle( 'List Content' );