diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-12-22 16:26:57 +0100 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2013-12-22 16:26:57 +0100 |
commit | 8fd4de3639d393feb37a1744d9a91e1a25119c5d (patch) | |
tree | 2725e748925cc6865bcd2fb13204b6eb6841288e /quips.cgi | |
parent | ec4862650f2da6ef3b0cdcb1ca135a64879c6b31 (diff) | |
download | bugzilla-8fd4de3639d393feb37a1744d9a91e1a25119c5d.tar.gz bugzilla-8fd4de3639d393feb37a1744d9a91e1a25119c5d.tar.xz |
Bug 918013: Add Bugzilla messaging system in quips page
r=LpSolit a=justdave
Diffstat (limited to 'quips.cgi')
-rwxr-xr-x | quips.cgi | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -75,6 +75,7 @@ if ($action eq "add") { undef, ($user->id, $comment, $approved)); $vars->{'added_quip'} = $comment; + $vars->{'message'} = 'quips_added'; } if ($action eq 'approve') { @@ -115,6 +116,7 @@ if ($action eq 'approve') { join(",", @unapproved) . ")") if($#unapproved > -1); $vars->{ 'approved' } = \@approved; $vars->{ 'unapproved' } = \@unapproved; + $vars->{'message'} = 'quips_approved_unapproved'; } if ($action eq "delete") { @@ -130,6 +132,7 @@ if ($action eq "delete") { "SELECT quip FROM quips WHERE quipid = ?", undef, $quipid); $dbh->do("DELETE FROM quips WHERE quipid = ?", undef, $quipid); + $vars->{'message'} = 'quips_deleted'; } print $cgi->header(); |