upgrade
This commit is contained in:
54
custompages/loggedout-dist.php
Normal file
54
custompages/loggedout-dist.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
/**
|
||||
* Displayed after the user has been logged out.
|
||||
*
|
||||
* @package chamilo.custompages
|
||||
*/
|
||||
$called_direcly = !function_exists('api_get_path');
|
||||
if ($called_direcly) {
|
||||
return '';
|
||||
}
|
||||
|
||||
require_once __DIR__.'/language.php';
|
||||
|
||||
$www = api_get_path('WEB_PATH');
|
||||
|
||||
/**
|
||||
* HTML output.
|
||||
*/
|
||||
?>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Custompage - logged out</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript" src="<?php echo $www; ?>web/assets/jquery/dist/jquery.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
if (top.location != location)
|
||||
top.location.href = document.location.href ;
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="backgroundimage">
|
||||
<img src="<?php echo $www; ?>/custompages/images/page-background.png" class="backgroundimage" alt="background"/>
|
||||
</div>
|
||||
<div id="wrapper">
|
||||
<div id="header">
|
||||
<img src="<?php echo $www; ?>/custompages/images/header.png" alt="Logo" />
|
||||
</div>
|
||||
|
||||
<div id="login-form-box" class="form-box">
|
||||
<div id="login-form-info" class="form-info">
|
||||
You have been logged out.
|
||||
</div>
|
||||
</div>
|
||||
<a href="<?php echo $www.'user_portal.php'; ?>">Go to your portal</a>
|
||||
<div id="footer">
|
||||
<img src="<?php echo $www; ?>/custompages/images/footer.png" alt="footer"/>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user