source: trunk/content/plugins/updown_voting/templates/updown_voting_alert.php @ 1375

Revision 1375, 1.7 KB checked in by nick_ramsay, 3 years ago (diff)

[Trunk] Hotaru 1.1.3 [Run upgrade script]

Line 
1<?php
2/**
3 * Vote Button - Alert message
4 *
5 * PHP version 5
6 *
7 * LICENSE: Hotaru CMS is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation, either version 3 of
10 * the License, or (at your option) any later version.
11 *
12 * Hotaru CMS is distributed in the hope that it will be useful, but WITHOUT
13 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 * FITNESS FOR A PARTICULAR PURPOSE.
15 *
16 * You should have received a copy of the GNU General Public License along
17 * with Hotaru CMS. If not, see http://www.gnu.org/licenses/.
18 *
19 * @category  Content Management System
20 * @package   HotaruCMS
21 * @author    Nick Ramsay <admin@hotarucms.org>
22 * @copyright Copyright (c) 2009, Hotaru CMS
23 * @license   http://www.gnu.org/copyleft/gpl.html GNU General Public License
24 * @link      http://www.hotarucms.org/
25 */
26
27$flags = $h->vars['flag_count'];
28?>
29
30<?php if ($flags > 1) { ?>
31
32    <img src="<?php echo BASEURL; ?>content/themes/<?php echo THEME; ?>images/flag_red.png"
33    title="<?php echo $h->lang["vote_alert_flagged_message_1"] . " " . $flags . " " . $h->lang["vote_alert_flagged_message_users"]  . " " . $h->lang["vote_alert_flagged_message_2"] . " " . $h->vars['flag_why']; ?>">
34   
35<?php } else { ?>
36
37    <img src="<?php echo BASEURL; ?>content/themes/<?php echo THEME; ?>images/flag_yellow.png"
38    title="<?php echo $h->lang["vote_alert_flagged_message_1"] . " " . $flags . " " . $h->lang["vote_alert_flagged_message_user"]  . " " . $h->lang["vote_alert_flagged_message_2"] . " " . $h->vars['flag_why']; ?>">
39<?php } ?>
Note: See TracBrowser for help on using the repository browser.