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
59e554ae
Commit
59e554ae
authored
Nov 18, 2009
by
Richard Mansfield
Browse files
Add some more links to microheader when editing
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
ba83322a
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/view.php
View file @
59e554ae
...
...
@@ -32,8 +32,10 @@ $string['createviewstepone'] = 'Create View Step One: Layout';
$string
[
'createviewsteptwo'
]
=
'Create View Step Two: Details'
;
$string
[
'createviewstepthree'
]
=
'Create View Step Three: Access'
;
$string
[
'createtemplate'
]
=
'Create Template'
;
$string
[
'editdetails'
]
=
'Edit Details'
;
$string
[
'editviewdetails'
]
=
'Edit Details for View "%s"'
;
$string
[
'editblocksforview'
]
=
'Edit View "%s"'
;
$string
[
'editaccess'
]
=
'Edit Access'
;
$string
[
'editaccessforview'
]
=
'Edit Access for View "%s"'
;
$string
[
'next'
]
=
'Next'
;
$string
[
'back'
]
=
'Back'
;
...
...
htdocs/theme/raw/templates/viewmicroheader.tpl
View file @
59e554ae
...
...
@@ -14,11 +14,16 @@
</div>
<div
class=
"lbuttons"
>
{
if
$backurl
}
<a
class=
"btn-reply"
href=
"
{
$backurl
}
"
>
{
str
tag
=
back
}
</a>
{/
if
}
{
if
$can_edit
}
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
view/blocks.php?id=
{
$viewid
}
&new=
{
$new
}
"
>
{
str
tag
=
edit
}
</a>
{/
if
}
{
if
$edit_profile
||
$viewtype
==
'profile'
}
<a
href=
"
{
$WWWROOT
}
user/view.php"
>
{
str
tag
=
viewmyprofilepage
}
</a>
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
view/blocks.php?profile=1"
>
{
str
tag
=
editmyprofilepage
}
</a>
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
artefact/internal/index.php"
>
{
str
tag
=
editprofile
section
=
artefact
.
internal
}
</a>
{
elseif
isset
(
$viewtype
)
}
<a
class=
"btn-reply"
href=
"
{
$WWWROOT
}
view/index.php"
>
{
str
tag
=
myviews
}
</a>
{
elseif
!
empty
(
$viewtype
)
}
<a
href=
"
{
$WWWROOT
}
view/index.php"
>
{
str
tag
=
myviews
}
</a>
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
view/edit.php?id=
{
$viewid
}
&new=
{
$new
}
"
>
{
str
tag
=
editdetails
section
=
view
}
</a>
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
view/access.php?id=
{
$viewid
}
&new=
{
$new
}
"
>
{
str
tag
=
editaccess
section
=
view
}
</a>
{
elseif
$can_edit
}
<a
class=
"btn-edit"
href=
"
{
$WWWROOT
}
view/blocks.php?id=
{
$viewid
}
&new=
{
$new
}
"
>
{
str
tag
=
edit
}
</a>
{/
if
}
</div>
<div
class=
"center"
>
...
...
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