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
24e0805d
Commit
24e0805d
authored
Dec 17, 2010
by
Richard Mansfield
Browse files
Put edit view tabs in separate template
Signed-off-by:
Richard Mansfield
<
richard.mansfield@catalyst.net.nz
>
parent
d102f6ca
Changes
3
Hide whitespace changes
Inline
Side-by-side
htdocs/theme/raw/templates/view/blocks.tpl
View file @
24e0805d
...
...
@@ -4,11 +4,8 @@
{/
if
}
{
if
$edittitleurl
}
<h1>
{
$viewtitle
}
</h1>
<ul
class=
"in-page-tabs edit-view-tabs"
>
<li><a
href=
"
{
$WWWROOT
}
view/edit.php?id=
{
$viewid
}
"
>
{
str
tag
=
edittitleanddescription
section
=
view
}
</a></li>
<li><a
class=
"current-tab"
href=
"
{
$WWWROOT
}
view/blocks.php?id=
{
$viewid
}
"
>
{
str
tag
=
editcontent
section
=
view
}
</a></li>
</ul>
<h1>
{
$viewtitle
}
</h1>
{
include
file
=
"view/editviewtabs.tpl"
selected
=
'content'
}
<div
class=
"subpage rel"
>
{/
if
}
...
...
htdocs/theme/raw/templates/view/edit.tpl
View file @
24e0805d
{
include
file
=
"header.tpl"
}
<h1>
{
$viewtitle
}
</h1>
<ul
class=
"in-page-tabs edit-view-tabs"
>
<li><a
class=
"current-tab"
href=
"
{
$WWWROOT
}
view/edit.php?id=
{
$viewid
}
"
>
{
str
tag
=
edittitleanddescription
section
=
view
}
</a></li>
<li><a
href=
"
{
$WWWROOT
}
view/blocks.php?id=
{
$viewid
}
"
>
{
str
tag
=
editcontent
section
=
view
}
</a></li>
</ul>
<h1>
{
$viewtitle
}
</h1>
{
include
file
=
"view/editviewtabs.tpl"
selected
=
'title'
}
<div
class=
"subpage rel"
>
{
$editview
|
safe
}
</div>
...
...
htdocs/theme/raw/templates/view/editviewtabs.tpl
0 → 100644
View file @
24e0805d
<ul
class=
"in-page-tabs edit-view-tabs"
>
<li><a
{
if
$selected
==
'title'
}
class=
"current-tab"
{/
if
}
href=
"
{
$WWWROOT
}
view/edit.php?id=
{
$viewid
}
"
>
{
str
tag
=
edittitleanddescription
section
=
view
}
</a></li>
<li><a
{
if
$selected
==
'content'
}
class=
"current-tab"
{/
if
}
href=
"
{
$WWWROOT
}
view/blocks.php?id=
{
$viewid
}
"
>
{
str
tag
=
editcontent
section
=
view
}
</a></li>
</ul>
Write
Preview
Supports
Markdown
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