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
c85f1f9e
Commit
c85f1f9e
authored
Jan 07, 2011
by
Richard Mansfield
Browse files
Add share link to view editor tabs
Signed-off-by:
Richard Mansfield
<
richard.mansfield@catalyst.net.nz
>
parent
9e79e7bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
htdocs/lang/en.utf8/view.php
View file @
c85f1f9e
...
...
@@ -140,6 +140,7 @@ $string['share'] = 'Share';
$string
[
'sharewith'
]
=
'Share with'
;
$string
[
'accesslist'
]
=
'Access list'
;
$string
[
'sharewithmygroups'
]
=
'Share with My Groups'
;
$string
[
'shareview'
]
=
'Share page'
;
$string
[
'otherusersandgroups'
]
=
'Share with other users and groups'
;
$string
[
'moreoptions'
]
=
'Advanced Options'
;
$string
[
'allviews'
]
=
'All pages'
;
...
...
@@ -183,7 +184,7 @@ $string['confirmcancelcreatingview'] = 'This page has not been completed. Do you
// view control stuff
$string
[
'editblockspagedescription'
]
=
'<p>Drag and drop content blocks from the tabs below to create your page.</p>'
;
$string
[
'display
my
view'
]
=
'Display
my
page'
;
$string
[
'displayview'
]
=
'Display page'
;
$string
[
'editthisview'
]
=
'Edit this page'
;
$string
[
'success.addblocktype'
]
=
'Added block successfully'
;
...
...
htdocs/theme/raw/templates/view/editviewtabs.tpl
View file @
c85f1f9e
...
...
@@ -3,5 +3,6 @@
<li><a
{
if
$selected
==
'content'
}
class=
"current-tab"
{/
if
}
href=
"
{
$WWWROOT
}
view/blocks.php?id=
{
$viewid
}{
if
$new
}
&new=1
{/
if
}
"
>
{
str
tag
=
editcontent
section
=
view
}
</a></li>
{
if
$edittitle
}
<li><a
{
if
$selected
==
'title'
}
class=
"current-tab"
{/
if
}
href=
"
{
$WWWROOT
}
view/edit.php?id=
{
$viewid
}{
if
$new
}
&new=1
{/
if
}
"
>
{
str
tag
=
edittitleanddescription
section
=
view
}
</a></li>
{/
if
}
<li><a
{
if
$selected
==
'layout'
}
class=
"current-tab"
{/
if
}
href=
"
{
$WWWROOT
}
view/layout.php?id=
{
$viewid
}{
if
$new
}
&new=1
{/
if
}
"
>
{
str
tag
=
editlayout
section
=
view
}
</a></li>
<li
class=
"displaymyview"
><a
id=
"btn-displaymyview"
href=
"
{
$displaylink
}{
if
$new
}
&new=1
{/
if
}
"
>
{
str
tag
=
displaymyview
section
=
view
}
»
</a></li>
<li
class=
"displaymypage"
><a
href=
"
{
$displaylink
}{
if
$new
}
&new=1
{/
if
}
"
>
{
str
tag
=
displayview
section
=
view
}
»
</a></li>
{
if
$edittitle
}
<li
class=
"displaymypage"
><a
href=
"
{
$WWWROOT
}
view/access.php?id=
{
$viewid
}{
if
$new
}
&new=1
{/
if
}
"
>
{
str
tag
=
shareview
section
=
view
}
»
</a></li>
{/
if
}
</ul>
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