Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mahara
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
mahara
mahara
Commits
e9b0b0dd
Commit
e9b0b0dd
authored
Sep 10, 2009
by
Richard Mansfield
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add links on edit tags page back to search results
Signed-off-by:
Richard Mansfield
<
richardm@catalyst.net.nz
>
parent
81f640e0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
htdocs/edittags.php
htdocs/edittags.php
+1
-0
htdocs/lang/en.utf8/mahara.php
htdocs/lang/en.utf8/mahara.php
+2
-2
htdocs/theme/raw/templates/edittags.tpl
htdocs/theme/raw/templates/edittags.tpl
+3
-2
No files found.
htdocs/edittags.php
View file @
e9b0b0dd
...
...
@@ -68,6 +68,7 @@ $smarty->assign('PAGEHEADING', hsc(TITLE));
$smarty
->
assign
(
'tags'
,
$tags
);
if
(
$tag
)
{
$smarty
->
assign
(
'tag'
,
$tag
);
$smarty
->
assign
(
'tagsearchurl'
,
get_config
(
'wwwroot'
)
.
'tags.php?tag='
.
urlencode
(
$tag
));
$smarty
->
assign
(
'edittagform'
,
$edittagform
);
$smarty
->
assign
(
'deletetagform'
,
$deletetagform
);
}
...
...
htdocs/lang/en.utf8/mahara.php
View file @
e9b0b0dd
...
...
@@ -102,10 +102,10 @@ $string['tagfilter_text'] = 'Text';
$string
[
'tagfilter_view'
]
=
'Views'
;
$string
[
'edittags'
]
=
'Edit Tags'
;
$string
[
'selectatagtoedit'
]
=
'Select a tag to edit'
;
$string
[
'edittag'
]
=
'Edit
Tag "%s"
'
;
$string
[
'edittag'
]
=
'Edit
<a href="%s">%s</a>
'
;
$string
[
'editthistag'
]
=
'Edit This Tag'
;
$string
[
'edittagdescription'
]
=
'All items in your portfolio tagged "%s" will be updated'
;
$string
[
'deletetag'
]
=
'Delete
Tag "%s"
'
;
$string
[
'deletetag'
]
=
'Delete
<a href="%s">%s</a>
'
;
$string
[
'confirmdeletetag'
]
=
'Do you really want to delete this tag from everything in your portfolio?'
;
$string
[
'deletetagdescription'
]
=
'Remove this tag from all items in your portfolio'
;
$string
[
'tagupdatedsuccessfully'
]
=
'Tag updated successfully'
;
...
...
htdocs/theme/raw/templates/edittags.tpl
View file @
e9b0b0dd
{
include
file
=
"header.tpl"
}
{
if
$tags
}
<div
class=
"rbuttons"
><a
href=
"
{
$WWWROOT
}
tags.php"
>
{
str
tag
=
mytags
}
</a></div>
<div
class=
"edittags mytags"
>
<div>
{
str
tag
=
selectatagtoedit
}
:
</div>
{
foreach
from
=
$tags
item
=
t
}
...
...
@@ -12,10 +13,10 @@
{/
if
}
{
if
$tag
}
<h
3>
{
str
tag
=
edittag
arg1
=
$tag
|
escape
}
</h3
>
<h
2>
{
str
tag
=
edittag
arg1
=
$tagsearchurl
arg2
=
$tag
|
escape
}
</h2
>
<p>
{
str
tag
=
edittagdescription
arg1
=
$tag
|
escape
}
</p>
{
$edittagform
}
<h
3>
{
str
tag
=
deletetag
arg1
=
$tag
|
escape
}
</h3
>
<h
2>
{
str
tag
=
deletetag
arg1
=
$tagsearchurl
arg2
=
$tag
|
escape
}
</h2
>
<p>
{
str
tag
=
deletetagdescription
}
</p>
{
$deletetagform
}
{/
if
}
...
...
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