summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--page.php42
-rw-r--r--templates/page.tpl11
2 files changed, 0 insertions, 53 deletions
diff --git a/page.php b/page.php
deleted file mode 100644
index c597b3f..0000000
--- a/page.php
+++ /dev/null
@@ -1,42 +0,0 @@
-<?php
-/**
- * $Header: /cvsroot/bitweaver/_bit_wiki/Attic/page.php,v 1.7 2006/02/19 15:11:41 squareing Exp $
- *
- * Copyright (c) 2004 bitweaver.org
- * Copyright (c) 2003 tikwiki.org
- * Copyright (c) 2002-2003, Luis Argerich, Garland Foster, Eduardo Polidor, et. al.
- * 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.php,v 1.7 2006/02/19 15:11:41 squareing Exp $
- * @package wiki
- * @subpackage functions
- */
-
-/**
- * required setup
- */
-
-
-// ===================== looks like this page isn't in use at all =====================
-require_once( '../bit_setup_inc.php' );
-include_once (HTML_PKG_PATH.'htmlpages_lib.php');
-
-$gBitSystem->verifyFeature( 'html_pages' );
-$gBitSystem->verifyPermission( 'bit_p_view_html_pages' );
-
-if (!isset($_REQUEST["title"])) {
- $gBitSmarty->assign('msg', tra("No page indicated"));
- $gBitSystem->display( 'error.tpl' );
- die;
-}
-$page_data = $htmlpageslib->get_html_page($_REQUEST["title"]);
-$gBitSmarty->assign('type', $page_data["type"]);
-$gBitSmarty->assign('refresh', $page_data["refresh"]);
-$gBitSmarty->assign('title', $_REQUEST["title"]);
-$parsed = $htmlpageslib->parse_html_page($_REQUEST["title"], $page_data["content"]);
-$gBitSmarty->assign_by_ref('parsed', $parsed);
-
-// Display the template
-$gBitSystem->display( 'bitpackage:wiki/page.tpl');
-?>
diff --git a/templates/page.tpl b/templates/page.tpl
deleted file mode 100644
index d354378..0000000
--- a/templates/page.tpl
+++ /dev/null
@@ -1,11 +0,0 @@
-{if $type eq 'd'}
- <iframe width="0" height="0" border="0" src="{$smarty.const.WIKI_PKG_URL}page_loader.php?refresh={$refresh}&amp;title={$title|escape:"url"}">Browser not supported</iframe>
-{/if}
-{$parsed}
-
-{if $gBitUser->hasPermission( 'bit_p_edit_html_pages' )}
- <a href="{$smarty.const.HTML_PKG_URL}admin/admin_html_pages.php?title={$title|escape:"url"}">{biticon ipackage=liberty iname="edit" iexplain="edit"}</a>
- {if $type eq 'd'}
- <a href="{$smarty.const.HTML_PKG_URL}admin/admin_html_page_content.php?title={$title|escape:"url"}">content</a>
- {/if}
-{/if}