From 95fcf773be12a9307eeefe7f392277bf44036946 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 28 Aug 2013 16:39:43 -0700 Subject: right - here's how we're going to link comanche with webpages --- boot.php | 2 +- include/comanche.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ version.inc | 2 +- 3 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 include/comanche.php diff --git a/boot.php b/boot.php index d3226c804..e8d6d2020 100755 --- a/boot.php +++ b/boot.php @@ -462,7 +462,7 @@ define ( 'ITEM_UNPUBLISHED', 0x0020); define ( 'ITEM_WEBPAGE', 0x0040); // is a static web page, not a conversational item define ( 'ITEM_DELAYED_PUBLISH', 0x0080); define ( 'ITEM_BUILDBLOCK', 0x0100); // Named thusly to make sure nobody confuses this with ITEM_BLOCKED - +define ( 'ITEM_PDL', 0x0200); // Page Description Language - e.g. Comanche /** * Item Flags */ diff --git a/include/comanche.php b/include/comanche.php new file mode 100644 index 000000000..33e93d2c9 --- /dev/null +++ b/include/comanche.php @@ -0,0 +1,48 @@ + $uid, 'current' => $current, 'entries' => $r); + call_hooks('pdl_selector',$arr); + + $entries = $arr['entries']; + $current = $arr['current']; + + $o .= "'; + return $o; +} + diff --git a/version.inc b/version.inc index 9f3318c88..6733945d4 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-08-27.418 +2013-08-28.419 -- cgit v1.2.3