From 42eb5978a578ad4e7ac2a65016c668234652c147 Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Fri, 4 Sep 2009 18:13:29 +0000 Subject: add master feed --- index.php | 24 ++++++++++++++++++++++++ templates/master_feed.tpl | 21 +++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 index.php create mode 100644 templates/master_feed.tpl diff --git a/index.php b/index.php new file mode 100644 index 0000000..de2dc26 --- /dev/null +++ b/index.php @@ -0,0 +1,24 @@ + see http://phpdocu.sourceforge.net/ +// +----------------------------------------------------------------------+ +// | Authors: spider +// +----------------------------------------------------------------------+ + +require_once( '../bit_setup_inc.php' ); +require_once( FEED_PKG_PATH.'feed_lib.php' ); + +$listHash['max_records'] = 100; +$actions = feed_get_actions( $listHash ); +vd( $actions ); +$gBitSmarty->assign( 'actions', $actions); + +$gBitSystem->display( 'bitpackage:feed/master_feed.tpl', FEED_PKG_NAME ); diff --git a/templates/master_feed.tpl b/templates/master_feed.tpl new file mode 100644 index 0000000..4bf8b08 --- /dev/null +++ b/templates/master_feed.tpl @@ -0,0 +1,21 @@ +{strip} +
+
+

{tr}{$smarty.const.FEED_PKG_NAME|ucwords}{/tr}

+
+ +
+ +
    + {foreach from=$actions item='action'} +
  • + {if $action.feed_icon_url}{$action.conjugation_phrase|escape}{/if} {$action.real_log} on {$action.last_modified|date_format} +
  • + {/foreach} +
+ +
+ {pagination} +
+
+{/strip} -- cgit v1.3