Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
d07fea02
Commit
d07fea02
authored
Feb 16, 2008
by
Nigel McNie
Browse files
A whole bunch of minor fixes pointed out by the content checker script
parent
699f3fe7
Changes
32
Hide whitespace changes
Inline
Side-by-side
htdocs/account/activity/index.php
View file @
d07fea02
...
...
@@ -31,6 +31,7 @@ define('SECTION_PLUGINNAME', 'account');
define
(
'SECTION_PAGE'
,
'activity'
);
require
(
dirname
(
dirname
(
dirname
(
__FILE__
)))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'notifications'
));
$types
=
get_records_assoc
(
'activity_type'
,
'admin'
,
0
,
'plugintype,pluginname,name'
,
'id,name,plugintype,pluginname'
);
$types
=
array_map
(
create_function
(
'$a'
,
'
...
...
htdocs/account/activity/preferences/index.php
View file @
d07fea02
...
...
@@ -31,6 +31,7 @@ define('SECTION_PLUGINNAME', 'account');
define
(
'SECTION_PAGE'
,
'activitypreferences'
);
require
(
dirname
(
dirname
(
dirname
(
dirname
(
__FILE__
))))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'activityprefs'
));
require_once
(
'pieforms/pieform.php'
);
$activitytypes
=
get_records_array
(
'activity_type'
,
'admin'
,
0
);
...
...
htdocs/account/index.php
View file @
d07fea02
...
...
@@ -31,6 +31,7 @@ define('SECTION_PLUGINNAME', 'account');
define
(
'SECTION_PAGE'
,
'preferences'
);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'preferences'
));
require_once
(
'pieforms/pieform.php'
);
// load up user preferences
...
...
htdocs/account/institutions.php
View file @
d07fea02
...
...
@@ -28,6 +28,7 @@ define('INTERNAL', 1);
define
(
'MENUITEM'
,
'settings/institutions'
);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'institutionmembership'
));
require_once
(
'pieforms/pieform.php'
);
$institutions
=
get_records_assoc
(
'institution'
,
''
,
''
,
''
,
'name,displayname,registerallowed'
);
...
...
htdocs/admin/index.php
View file @
d07fea02
...
...
@@ -29,6 +29,7 @@ define('ADMIN', 1);
define
(
'MENUITEM'
,
'adminhome'
);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'administration'
,
'admin'
));
require
(
get_config
(
'libroot'
)
.
'upgrade.php'
);
$smarty
=
smarty
();
...
...
htdocs/admin/site/networking.php
View file @
d07fea02
...
...
@@ -18,7 +18,7 @@
*
* @package mahara
* @subpackage admin
* @author
Donal McMullan <richard.mansfield@catalyst.net.nz>
* @author
Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
...
...
htdocs/admin/upgrade.php
View file @
d07fea02
...
...
@@ -29,6 +29,7 @@ define('ADMIN', 1);
define
(
'INSTALLER'
,
1
);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
define
(
'TITLE'
,
get_string
(
'upgrades'
,
'admin'
));
require
(
get_config
(
'libroot'
)
.
'upgrade.php'
);
$smarty
=
smarty
();
...
...
htdocs/api/xmlrpc/client.php
View file @
d07fea02
...
...
@@ -18,7 +18,7 @@
*
* @package mahara
* @subpackage xmlrpc
* @author
Donal McMullan <donal@catalyst.net.nz>
* @author
Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
...
...
htdocs/api/xmlrpc/dispatcher.php
View file @
d07fea02
...
...
@@ -18,7 +18,7 @@
*
* @package mahara
* @subpackage xmlrpc
* @author
Donal McMullan <donal@catalyst.net.nz>
* @author
Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
...
...
htdocs/api/xmlrpc/server.php
View file @
d07fea02
...
...
@@ -18,7 +18,7 @@
*
* @package mahara
* @subpackage core
* @author
Donal McMullan <donal@catalyst.net.nz>
* @author
Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
...
...
@@ -43,6 +43,7 @@
define
(
'INTERNAL'
,
1
);
define
(
'PUBLIC'
,
1
);
define
(
'XMLRPC'
,
1
);
define
(
'TITLE'
,
''
);
require
(
dirname
(
__FILE__
)
.
'/lib.php'
);
// Catch anything that goes wrong in init.php
...
...
htdocs/artefact/resume/composite.json.php
View file @
d07fea02
...
...
@@ -75,4 +75,3 @@ echo json_encode(array(
'type'
=>
$type
));
?>
htdocs/artefact/resume/compositedelete.json.php
View file @
d07fea02
...
...
@@ -53,4 +53,3 @@ else {
json_reply
(
null
,
get_string
(
'compositedeleted'
,
'artefact.resume'
));
?>
htdocs/artefact/resume/compositemove.json.php
View file @
d07fea02
...
...
@@ -75,4 +75,3 @@ if (isset($neworder)) {
json_reply
(
null
,
true
);
?>
htdocs/auth/imap/version.php
View file @
d07fea02
...
...
@@ -17,8 +17,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package mahara
* @subpackage auth-i
nternal
* @author
Donal McMullan <donal@catalyst.net.nz>
* @subpackage auth-i
map
* @author
Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
...
...
htdocs/auth/ldap/lib.php
View file @
d07fea02
<?php
/**
* Mahara: Electronic portfolio, weblog, resume builder and social networking
* Copyright (C) 2006-200
7
Catalyst IT Ltd (http://www.catalyst.net.nz)
* Copyright (C) 2006-200
8
Catalyst IT Ltd (http://www.catalyst.net.nz)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
htdocs/auth/xmlrpc/jump.php
View file @
d07fea02
<?php
/**
*
Authentication Plugin: Moodle Network Authentication
* Copyright (C) 2006-200
7
Catalyst IT Ltd (http://www.catalyst.net.nz)
*
Mahara: Electronic portfolio, weblog, resume builder and social networking
* Copyright (C) 2006-200
8
Catalyst IT Ltd (http://www.catalyst.net.nz)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -16,8 +16,11 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package mahara
* @copyright (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz
* @package mahara
* @subpackage auth-xmlrpc
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
* This file incorporates work covered by the following copyright and
* permission notice:
...
...
htdocs/auth/xmlrpc/land.php
View file @
d07fea02
<?php
/**
*
Authentication Plugin: Moodle Network Authentication
* Copyright (C) 2006-200
7
Catalyst IT Ltd (http://www.catalyst.net.nz)
*
Mahara: Electronic portfolio, weblog, resume builder and social networking
* Copyright (C) 2006-200
8
Catalyst IT Ltd (http://www.catalyst.net.nz)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -17,8 +16,11 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package mahara
* @copyright (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz
* @package mahara
* @subpackage auth-xmlrpc
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
* This file incorporates work covered by the following copyright and
* permission notice:
...
...
htdocs/auth/xmlrpc/version.php
View file @
d07fea02
...
...
@@ -18,7 +18,7 @@
*
* @package mahara
* @subpackage auth-internal
* @author
Donal McMullan <donal@catalyst.net.nz>
* @author
Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
*
...
...
htdocs/group/interactions.php
View file @
d07fea02
...
...
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package mahara
* @subpackage
group-interactions
* @subpackage
core
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
...
...
htdocs/interaction/delete.php
View file @
d07fea02
...
...
@@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @package mahara
* @subpackage
group-
interaction
* @subpackage interaction
* @author Catalyst IT Ltd
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006-2008 Catalyst IT Ltd http://catalyst.net.nz
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment