Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
mahara
mahara
Commits
2784a117
Commit
2784a117
authored
Jan 15, 2009
by
Nigel McNie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve the message shown for a post that has been deleted.
(cherry picked from commit
38fc37f9
)
parent
856a43d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
htdocs/interaction/forum/lang/en.utf8/interaction.forum.php
htdocs/interaction/forum/lang/en.utf8/interaction.forum.php
+1
-1
htdocs/interaction/forum/theme/default/post.tpl
htdocs/interaction/forum/theme/default/post.tpl
+2
-1
htdocs/theme/default/static/style/style.css
htdocs/theme/default/static/style/style.css
+4
-0
No files found.
htdocs/interaction/forum/lang/en.utf8/interaction.forum.php
View file @
2784a117
...
...
@@ -52,7 +52,6 @@ $string['closeddescription'] = 'Closed topics can only be replied to by moderato
$string
[
'Count'
]
=
'Count'
;
$string
[
'currentmoderators'
]
=
'Current Moderators'
;
$string
[
'deleteforum'
]
=
'Delete forum'
;
$string
[
'deletedpost'
]
=
'This post has been deleted'
;
$string
[
'deletepost'
]
=
'Delete post'
;
$string
[
'deletepostsuccess'
]
=
'Post deleted successfully'
;
$string
[
'deletepostsure'
]
=
'Are you sure you want to do this? It cannot be undone.'
;
...
...
@@ -91,6 +90,7 @@ $string['Open'] = 'Open';
$string
[
'Order'
]
=
'Order'
;
$string
[
'orderdescription'
]
=
'Choose where you want the forum to be ordered compared to the other forums'
;
$string
[
'Post'
]
=
'Post'
;
$string
[
'postbyuserwasdeleted'
]
=
'A post by %s was deleted'
;
$string
[
'postedin'
]
=
'%s posted in %s'
;
$string
[
'Poster'
]
=
'Poster'
;
$string
[
'postreply'
]
=
'Post reply'
;
...
...
htdocs/interaction/forum/theme/default/post.tpl
View file @
2784a117
{
if
$post
->
deleted
}
<h4>
{
str
tag
=
"deletedpost"
section
=
"
interaction
.
forum
}
</h4>
{
assign
var
=
poster
value
=
$post
->
poster
|
display_name
|
escape
}
<h4
class=
"deletedpost"
>
{
str
tag
=
"postbyuserwasdeleted"
section
=
"
interaction
.
forum
args
=
$poster
}
</h4>
{
else
}
{
if
$post
->
parent
}
{
include
file
=
"interaction:forum:simplepost.tpl"
post
=
$post
groupadmins
=
$groupadmins
}
...
...
htdocs/theme/default/static/style/style.css
View file @
2784a117
...
...
@@ -2463,6 +2463,10 @@ span.breadcrumbs a {
text-align
:
right
;
padding-right
:
10px
;
}
.deletedpost
{
color
:
gray
;
margin-top
:
0
;
}
...
...
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