Skip to content

Commit

Permalink
update requires
Browse files Browse the repository at this point in the history
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@162 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
  • Loading branch information
Dave Goodwin committed Oct 20, 2011
1 parent 77ea751 commit a4c2045
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 20 deletions.
32 changes: 14 additions & 18 deletions website_code/php/templates/general_templates.php
@@ -1,22 +1,18 @@
<?PHP /**
*
* general_templates, shows blank templates to a user
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/
<?php
/**
*
* general_templates, shows blank templates to a user
*
* @author Patrick Lockley
* @version 1.0
* @copyright Copyright (c) 2008,2009 University of Nottingham
* @package
*/

include "../display_library.php";
include "../database_library.php";
require("../../../config.php");
require("../../../session.php");
require_once("../../../config.php");
include "../display_library.php";

$database_connect_id = database_connect("general templates database connect success","general templates database connect failed");
$database_connect_id = database_connect("general templates database connect success","general templates database connect failed");

list_blank_templates();
list_blank_templates();

mysql_close($database_connect_id);

?>
3 changes: 1 addition & 2 deletions website_code/php/templates/your_templates.php
Expand Up @@ -5,9 +5,8 @@
//
// Calls the function from the display library

include "../display_library.php";
include "../database_library.php";
require_once("../../../config.php");
include "../display_library.php";
include "../user_library.php";

$_SESSION['sort_type'] = "date_down";
Expand Down

0 comments on commit a4c2045

Please sign in to comment.