ILIAS  release_4-4 Revision
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 
7 $tpl->addBlockFile("CONTENT", "content", "tpl.error.html");
8 
9 $tpl->setCurrentBlock("content");
10 $tpl->setVariable("ERROR_MESSAGE",($_SESSION["failure"]));
11 $tpl->setVariable("SRC_IMAGE", ilUtil::getImagePath("mess_failure.png"));
12 $tpl->parseCurrentBlock();
13 
14 ilSession::clear("referer");
15 ilSession::clear("message");
16 $tpl->show();
17 ?>
< 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']
static initILIAS()
ilias initialisation
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)
if(isset($_FILES['img_file']['size']) && $_FILES['img_file']['size'] > 0) $tpl
static clear($a_var)
Unset a value.