Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Somehow missed to include modules/site/module_functions.php
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@764 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
- Loading branch information
Showing
3 changed files
with
48 additions
and
204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?php | ||
require_once(dirname(__FILE__) . '/../../config.php'); | ||
/** | ||
* | ||
* module functions page, shared functions for this module | ||
* | ||
* @author Patrick Lockley | ||
* @version 1.0 | ||
* @copyright Copyright (c) 2008,2009 University of Nottingham | ||
* @package | ||
*/ | ||
|
||
function dont_show_template($optional=''){ | ||
|
||
_load_language_file("/modules/xerte/module_functions.inc"); | ||
|
||
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<script src="modules/Xerte/js/swfobject.js"></script> | ||
<script src="website_code/scripts/opencloseedit.js"></script> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<link href="website_code/styles/frontpage.css" media="screen" type="text/css" rel="stylesheet" /> | ||
</head> | ||
|
||
<body> | ||
|
||
<div style="margin:0 auto; width:800px"> | ||
<div class="edit_topbar" style="width:800px"> | ||
<img src="website_code/images/edit_xerteLogo.jpg" style="margin-left:10px; float:left" /> | ||
<img src="website_code/images/edit_UofNLogo.jpg" style="margin-right:10px; float:right" /> | ||
</div> | ||
<div style="margin:0 auto"> | ||
<?PHP | ||
|
||
echo XERTE_DISPLAY_FAIL; | ||
if($optional!=='') { | ||
echo '</div><div>' . $optional; | ||
} | ||
?></div></div></body></html><?PHP | ||
|
||
die(); | ||
|
||
} | ||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters