Skip to content
GitLab
Menu
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
ec091f59
Commit
ec091f59
authored
Nov 08, 2006
by
Penny Leach
Browse files
rejigged the account wireframes a bit
parent
b04e2029
Changes
5
Hide whitespace changes
Inline
Side-by-side
htdocs/account/activity/index.php
View file @
ec091f59
...
...
@@ -26,7 +26,7 @@
define
(
'INTERNAL'
,
1
);
define
(
'MENUITEM'
,
'account'
);
define
(
'SUBMENUITEM'
,
'activity
prefs
'
);
define
(
'SUBMENUITEM'
,
'activity'
);
require
(
dirname
(
dirname
(
dirname
(
__FILE__
)))
.
'/init.php'
);
...
...
htdocs/account/activity/preferences/index.php
0 → 100644
View file @
ec091f59
<?php
/**
* This program is part of Mahara
*
* 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
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
* @package mahara
* @subpackage core
* @author Penny Leach <penny@catalyst.net.nz>
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL
* @copyright (C) 2006,2007 Catalyst IT Ltd http://catalyst.net.nz
*
*/
define
(
'INTERNAL'
,
1
);
define
(
'MENUITEM'
,
'account'
);
define
(
'SUBMENUITEM'
,
'activityprefs'
);
require
(
dirname
(
dirname
(
dirname
(
dirname
(
__FILE__
))))
.
'/init.php'
);
$smarty
=
smarty
();
$smarty
->
display
(
'account/activity/preferences/index.tpl'
);
?>
htdocs/lang/en.utf8/mahara.php
View file @
ec091f59
...
...
@@ -92,6 +92,7 @@ $string['account'] = 'My account';
$string
[
'accountprefs'
]
=
'Account preferences'
;
$string
[
'activityprefs'
]
=
'Activity preferences'
;
$string
[
'changepassword'
]
=
'Change password'
;
$string
[
'activity'
]
=
'Recent activity'
;
$string
[
'emailname'
]
=
'Mahara System'
;
// robot!
?>
htdocs/lib/mahara.php
View file @
ec091f59
...
...
@@ -790,9 +790,14 @@ function main_nav() {
'link'
=>
$wwwroot
.
'account/'
,
'section'
=>
'mahara'
,
),
'activity'
=>
array
(
'name'
=>
'activity'
,
'link'
=>
$wwwroot
.
'account/activity/'
,
'section'
=>
'mahara'
,
),
'activityprefs'
=>
array
(
'name'
=>
'activityprefs'
,
'link'
=>
$wwwroot
.
'account/activity'
,
'link'
=>
$wwwroot
.
'account/activity
/preferences
'
,
'section'
=>
'mahara'
,
),
'changepassword'
=>
array
(
...
...
htdocs/theme/default/templates/account/activity/preferences/index.tpl
0 → 100644
View file @
ec091f59
{
include
file
=
"header.tpl"
}
{
include
file
=
"adminmenu.tpl"
}
<h2>
{
str
tag
=
"account"
}
</h2>
<div
class=
"content"
>
Content from database here
</div>
{
include
file
=
"footer.tpl"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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