diff options
| author | Jams H Thompson <jht001@users.sourceforge.net> | 2008-03-22 21:37:47 +0000 |
|---|---|---|
| committer | Jams H Thompson <jht001@users.sourceforge.net> | 2008-03-22 21:37:47 +0000 |
| commit | 16c39e9ada11e15ef761ccd183e905f72776ce6c (patch) | |
| tree | 9b798629c824f2200c805f1a23b3a0b9911b1b36 /page_watches.php | |
| parent | 49586efbdd1f28694cb0c86514af82a515cec966 (diff) | |
| download | wiki-16c39e9ada11e15ef761ccd183e905f72776ce6c.tar.gz wiki-16c39e9ada11e15ef761ccd183e905f72776ce6c.tar.bz2 wiki-16c39e9ada11e15ef761ccd183e905f72776ce6c.zip | |
refactor display_bitpage_inc.php to allow additional info available to non page view templates
Diffstat (limited to 'page_watches.php')
| -rw-r--r-- | page_watches.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/page_watches.php b/page_watches.php index 0eb40be..2e04aba 100644 --- a/page_watches.php +++ b/page_watches.php @@ -1,6 +1,6 @@ <?php /** - * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.3 2007/04/23 09:36:32 squareing Exp $ + * $Header: /cvsroot/bitweaver/_bit_wiki/page_watches.php,v 1.4 2008/03/22 21:37:47 jht001 Exp $ * * Copyright (c) 2004 bitweaver.org * Copyright (c) 2003 tikwiki.org @@ -8,7 +8,7 @@ * All Rights Reserved. See copyright.txt for details and a complete list of authors. * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details * - * $Id: page_watches.php,v 1.3 2007/04/23 09:36:32 squareing Exp $ + * $Id: page_watches.php,v 1.4 2008/03/22 21:37:47 jht001 Exp $ * @package wiki * @subpackage functions */ @@ -26,6 +26,9 @@ $gBitSystem->verifyPermission( 'p_admin_users', tra( "Permission denied you cann // Get the page from the request var or default it to HomePage include( WIKI_PKG_PATH.'lookup_page_inc.php' ); +//make info about page available for templates +include( WIKI_PKG_PATH.'get_bitpage_info.php' ); + //vd($gContent->mPageId);vd($gContent->mInfo); if( !$gContent->isValid() || empty( $gContent->mInfo ) ) { $gBitSystem->fatalError( tra( "Unknown page" )); |
