Commit 9d148389 authored by Martyn Smith's avatar Martyn Smith Committed by Martyn Smith
Browse files

More <title> tag stuff

parent 372d8202
......@@ -29,6 +29,7 @@ define('ADMIN', 1);
define('MENUITEM', 'configusers');
define('SUBMENUITEM', 'usersearch');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('usersearch', 'admin'));
$query = param_variable('query',null);
......
......@@ -26,8 +26,8 @@
define('INTERNAL', 1);
define('MENUITEM', 'myprofile');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('profile','artefact.internal'));
require_once('pieforms/pieform.php');
safe_require('artefact', 'internal');
......
......@@ -26,10 +26,10 @@
define('INTERNAL', 1);
define('PUBLIC', 1);
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
require_once('pieforms/pieform.php');
safe_require('artefact', 'internal');
define('TITLE', get_string('emailactivation','artefact.internal'));
$email = param_variable('email');
$key = param_variable('key');
......
......@@ -27,8 +27,8 @@
define('INTERNAL', 1);
define('MENUITEM', 'mycontacts');
define('SUBMENUITEM', 'myaddressbook');
require(dirname(dirname(dirname(__FILE__))) . '/init.php');
define('TITLE', get_string('myaddressbook'));
$smarty = smarty();
......
......@@ -6,7 +6,7 @@
{include file="columnleftstart.tpl"}
<h2>{str tag="myaddressbook"}</h2>
Content from database here
Coming soon
{include file="columnleftend.tpl"}
{include file="footer.tpl"}
......@@ -28,6 +28,7 @@ define('INTERNAL', 1);
define('MENUITEM', 'myviews');
// define('SUBMENUITEM', 'mygroups');
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('createviewstep1', 'view'));
require_once('pieforms/pieform.php');
require_once('template.php');
......
......@@ -26,6 +26,7 @@
define('INTERNAL', 1);
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('createviewstep2', 'view'));
require_once('template.php');
require_once('pieforms/pieform.php');
......
......@@ -18,7 +18,7 @@
*
* @package mahara
* @subpackage core
* @author Nigel McNie <nigel@catalyst.net.nz>
* @author Martyn Smith <martyn@catalyst.net.nz>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz
*
......@@ -27,6 +27,7 @@
define('INTERNAL', 1);
define('MENUITEM', 'view');
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('createviewstep3', 'view'));
require_once('template.php');
$createid = param_integer('createid');
......
......@@ -27,6 +27,7 @@
define('INTERNAL', 1);
define('MENUITEM', 'view');
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('createviewstep4', 'view'));
require_once('pieforms/pieform.php');
require_once('pieforms/pieform/elements/calendar.php');
$smarty = smarty(array(), pieform_element_calendar_get_headdata(pieform_element_calendar_configure(array())));
......
......@@ -27,6 +27,7 @@
define('INTERNAL', 1);
define('MENUITEM', 'view');
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('editview', 'view'));
require_once('template.php');
$view_id = param_integer('viewid');
......
......@@ -32,6 +32,7 @@
define('INTERNAL', 1);
define('MENUITEM', 'view');
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('editaccess', 'view'));
require_once('pieforms/pieform.php');
require_once('pieforms/pieform/elements/calendar.php');
$smarty = smarty(array(), pieform_element_calendar_get_headdata(pieform_element_calendar_configure(array())));
......
......@@ -28,6 +28,7 @@ define('INTERNAL', 1);
define('MENUITEM', 'myviews');
// define('SUBMENUITEM', 'mygroups');
require(dirname(dirname(__FILE__)) . '/init.php');
define('TITLE', get_string('editmetadata', 'view'));
require_once('pieforms/pieform.php');
require_once('template.php');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment