ILIAS  release_5-0 Revision 5.0.0-1144-gc4397b1f870
All Data Structures Namespaces Files Functions Variables Modules Pages
error.php
Go to the documentation of this file.
1 <?php
2 /* Copyright (c) 1998-2009 ILIAS open source, Extended GPL, see docs/LICENSE */
3 
4 require_once("Services/Init/classes/class.ilInitialisation.php");
6 $tpl->addBlockFile("CONTENT", "content", "tpl.error.html");
7 $lng->loadLanguageModule("error");
8 // #13515 - link back to "system" [see ilWebAccessChecker::sendError()]
9 $nd = $tree->getNodeData(ROOT_FOLDER_ID);
10 $txt = $lng->txt('error_back_to_repository');
11 $tpl->SetCurrentBlock("ErrorLink");
12 $tpl->SetVariable("TXT_LINK", $txt);
13 $tpl->SetVariable("LINK", ilUtil::secureUrl(ILIAS_HTTP_PATH. '/ilias.php?baseClass=ilRepositoryGUI&amp;client_id='.CLIENT_ID));
14 $tpl->ParseCurrentBlock();
15 
16 $tpl->setCurrentBlock("content");
17 $tpl->setVariable("ERROR_MESSAGE",($_SESSION["failure"]));
18 $tpl->setVariable("MESSAGE_HEADING", $lng->txt('error_sry_error'));
19 
20 //$tpl->parseCurrentBlock();
21 
22 ilSession::clear("referer");
23 ilSession::clear("message");
24 $tpl->show();
25 ?>
< a tabindex="-1" style="border-style: none;" href="#" title="Refresh Image" onclick="document.getElementById('siimage').src = './securimage_show.php?sid=' + Math.random(); this.blur(); return false">< img src="./images/refresh.png" alt="Reload Image" height="32" width="32" onclick="this.blur()" align="bottom" border="0"/></a >< br/>< strong > Enter Code *if($_SERVER['REQUEST_METHOD']=='POST' &&@ $_POST['do']=='contact') $_SESSION['ctform']['success']
global $tpl
Definition: ilias.php:8
static initILIAS()
ilias initialisation
$nd
Definition: error.php:9
static clear($a_var)
Unset a value.
$txt
Definition: error.php:10
secureUrl($url)
Prepare secure href attribute.
global $lng
Definition: privfeed.php:40