pages/error.inc.php

00001 <?php if(!function_exists('startedIndexPhp')) { header("location:../index.php"); exit();}
00002 # streber - a php5 based project management system  (c) 2005-2007  / www.streber-pm.org
00003 # Distributed under the terms and conditions of the GPL as stated in lang/license.html
00004 
00015 function error()
00016 {
00017     global $PH;
00018     require_once(confGet('DIR_STREBER') . 'render/render_list.inc.php');
00019 
00020     ### set up page ####
00021     {
00022         $page= new Page();
00023 
00024         $page->tabs['error']=  array('target'=>"index.php?go=error",     'title'=>__('Error','top navigation tab'), 'bg'=>"error");
00025         $page->cur_tab='error';
00026 
00027         $page->title=__("Unknown Page");
00028         $page->type=__("Error");
00029         $page->title_minor=get('go');
00030         echo(new PageHeader);
00031     }
00032     echo (new PageContentOpen);
00033 
00034     $block=new PageBlock(array('title'=>__('Error'), 'id'=>'error'));
00035     $block->render_blockStart();
00036     echo "<div class=text>";
00037     echo "<p>Sorry but you found a function that has not yet been implemented.<br>";
00038     echo "If you feel this a bug, or a very important function is missing, please help us to fix this,
00039     Please hit the back-button of your browser and use the 'Wiki + Help' option to follow to the online
00040     documentation. Then edit 'issue' or 'request-part'.</p>";
00041 
00042     echo "</div>";
00043 
00044 
00045     $block->render_blockEnd();
00046 
00047     $block=new PageBlock(array('title'=>'Details', 'id'=>'details'));
00048     $block->render_blockStart();
00049     echo "<div class=text>";
00050     echo "<pre>";
00051     echo renderBacktrace(debug_backtrace());
00052 
00053     echo "</pre>";
00054     echo "</div>";
00055 
00056     $block->render_blockEnd();
00057 
00058 
00059     echo (new PageContentClose);
00060     echo (new PageHtmlEnd);
00061 }
00062 
00063 
00064 ?>

Generated on Sun Mar 4 17:19:31 2007 for streber by  doxygen 1.5.1-p1