Skip to content

Commit

Permalink
Merge pull request #174 from JoomJunk/development
Browse files Browse the repository at this point in the history
Update to v5.0.1
  • Loading branch information
C-Lodder committed Aug 22, 2015
2 parents a608ee3 + 9244ce2 commit 06e6881
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions changelog.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
- -> Removed
! -> Note

Version 5.0.1
# Fixed delete own post when Kunena Profile links enabled

Version 5.0.0
^ Move messaging system to use JLayouts
^ Improvements to dependency importing
Expand Down
4 changes: 2 additions & 2 deletions mod_shoutbox/layouts/message.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<div>
<div data-shout-id="<?php echo $post->id; ?>" class="shout-header" <?php echo $title; ?>>
<span class="avatar"><?php echo $avatar; ?></span> <?php echo $post->name; ?> - <?php echo $post->when; ?>
<?php if ($user->authorise('core.delete') || ($post->name == $userName && $params->get('deleteown') == 1)) : ?>
<?php if ($user->authorise('core.delete') || ($postName == $userName && $params->get('deleteown') == 1)) : ?>
<form method="post" name="delete">
<input name="jjshout[delete]" type="submit" value="x" />
<input name="jjshout[idvalue]" type="hidden" value="<?php echo $post->id; ?>" />
Expand All @@ -55,4 +55,4 @@
<?php endif; ?>
</div>
<p><?php echo $post->msg; ?></p>
</div>
</div>
2 changes: 1 addition & 1 deletion mod_shoutbox/mod_shoutbox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<license>http://www.gnu.org/licenses/gpl-3.0.html</license>
<authorEmail>[email protected]</authorEmail>
<authorUrl>http://www.joomjunk.co.uk</authorUrl>
<version>5.0.0</version>
<version>5.0.1</version>
<description>JJSHOUTBOX_DESCRIPTION</description>

<install>
Expand Down
1 change: 1 addition & 0 deletions mod_shoutbox/sql/mysql/updates/5.0.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Placeholder file for database changes for version 5.0.1
1 change: 1 addition & 0 deletions mod_shoutbox/sql/postgresql/updates/5.0.1.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Placeholder file for database changes for version 5.0.1

0 comments on commit 06e6881

Please sign in to comment.