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
8204e909
Commit
8204e909
authored
Jun 23, 2010
by
Richard Mansfield
Browse files
Remove 'View' from group homepage title
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
8521f276
Changes
5
Hide whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/group.php
View file @
8204e909
...
...
@@ -306,6 +306,7 @@ $string['rolechanged'] = 'Role changed';
$string
[
'removefromgroup'
]
=
'Remove from group'
;
$string
[
'userremoved'
]
=
'User removed'
;
$string
[
'About'
]
=
'About'
;
$string
[
'aboutgroup'
]
=
'About %s'
;
$string
[
'Joined'
]
=
'Joined'
;
...
...
htdocs/lib/db/upgrade.php
View file @
8204e909
...
...
@@ -1777,7 +1777,7 @@ function xmldb_core_upgrade($oldversion=0) {
'owner'
=>
0
,
'numcolumns'
=>
1
,
'template'
=>
1
,
'title'
=>
get_string
(
'grouphomepage
viewtitle
'
,
'view'
),
'title'
=>
get_string
(
'grouphomepage'
,
'view'
),
'ctime'
=>
$dbtime
,
'atime'
=>
$dbtime
,
'mtime'
=>
$dbtime
,
...
...
htdocs/lib/group.php
View file @
8204e909
...
...
@@ -1374,7 +1374,7 @@ function install_system_grouphomepage_view() {
'owner'
=>
0
,
'numcolumns'
=>
1
,
'template'
=>
1
,
'title'
=>
get_string
(
'grouphomepage
viewtitle
'
,
'view'
),
'title'
=>
get_string
(
'grouphomepage'
,
'view'
),
'ctime'
=>
$dbtime
,
'atime'
=>
$dbtime
,
'mtime'
=>
$dbtime
,
...
...
htdocs/lib/view.php
View file @
8204e909
...
...
@@ -2832,6 +2832,10 @@ class View {
$ownername
=
$this
->
formatted_owner
();
$wwwroot
=
get_config
(
'wwwroot'
);
if
(
$this
->
type
==
'grouphomepage'
)
{
return
'<strong>'
.
get_string
(
'aboutgroup'
,
'group'
,
$ownername
)
.
'</strong>'
;
}
if
(
$this
->
owner
)
{
$ownerlink
=
$wwwroot
.
'user/view.php?id='
.
$this
->
owner
;
}
...
...
htdocs/theme/raw/templates/view/index.tpl
View file @
8204e909
...
...
@@ -27,7 +27,7 @@
{
elseif
$view.type
==
'dashboard'
}
<h3><a
href=
"
{
$WWWROOT
}
"
>
{
str
tag
=
dashboardviewtitle
section
=
view
}
</a></h3>
{
elseif
$view.type
==
'grouphomepage'
}
<h3><a
href=
"
{
$WWWROOT
}
group/view.php?id=
{
$GROUP
->
id
}
"
>
{
str
tag
=
grouphomepage
viewtitle
section
=
view
}
</a></h3>
<h3><a
href=
"
{
$WWWROOT
}
group/view.php?id=
{
$GROUP
->
id
}
"
>
{
str
tag
=
grouphomepage
section
=
view
}
</a></h3>
{
else
}
<h3><a
href=
"
{
$WWWROOT
}
view/view.php?id=
{
$view.id
}
"
>
{
$view.title
|
escape
}
</a></h3>
{/
if
}
...
...
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