WeakWiki


wiki.php



/********************************************************************************
WeakWiki (WeakWiki main UI file: wiki.php)
Copyright (C) 2010 Alexander Lang

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this
program; if not, see .

Project Home: http://weakwiki.robnet.wmweb.at/
Contact:      robbiblubber@robnet.wmweb.at
********************************************************************************/


?>










require_once('./lib/lang.library.php');
require_once('./lib/engine.library.php');
require_once('./lib/gui.library.php');
require_once('./lib/uc.library.php');

require_once('./config/modules.config.php');

require_once(_lang('wiki'));



if(isset($_GET['title']))
{
	echo('' . $_GET['title'] . ' - ' . _WIKI_TITLE . ''); 
}
else
{
	echo('' . _WIKI_TITLE . ''); 
}



echo("\n");

if(isset($_GET['action']) && isset($_GET['mode']) && ($_GET['action'] == "showhistory") && (substr($_GET['mode'], 0, 4) == "diff"))
{
	echo("\n");
}
?>







	
				$collapsed = false;
				if(isset($_SESSION['_cside'])) { $collapsed = $_SESSION['_cside']; }
				$a = new Document(_WIKI_SIDEBAR);
				if($collapsed)
				{
					$a = new Document(_WIKI_SIDEBAR_COLLAPSED);
					echo("



WeakWiki