From 2c68d9ee52eaf52bb80478420560bd5ef9269df6 Mon Sep 17 00:00:00 2001 From: MikeyGMT Date: Sun, 1 Jan 2017 12:04:29 +0000 Subject: [PATCH] Text to LANS #6 - Polls Text to LANS #6 - Polls --- e107_languages/English/English.php | 8 +- e107_languages/English/admin/lan_admin.php | 12 ++- e107_plugins/poll/admin_config.php | 18 ++-- e107_plugins/poll/languages/English.php | 84 +++++++++---------- .../poll/languages/English_admin_poll.php | 22 ++--- .../poll/languages/English_global.php | 12 ++- e107_plugins/poll/oldpolls.php | 23 ++--- e107_plugins/poll/plugin.xml | 2 +- e107_plugins/poll/poll.php | 4 +- e107_plugins/poll/poll_class.php | 76 ++++++++--------- e107_plugins/poll/poll_menu.php | 5 +- e107_plugins/poll/search/search_comments.php | 15 +++- e107_plugins/poll/templates/poll_template.php | 12 +-- 13 files changed, 158 insertions(+), 135 deletions(-) diff --git a/e107_languages/English/English.php b/e107_languages/English/English.php index 333c0219f..e493d06f6 100644 --- a/e107_languages/English/English.php +++ b/e107_languages/English/English.php @@ -1,6 +1,10 @@ select("polls"); $text = $poll -> renderPollForm(); - $ns->tablerender(POLLAN_MENU_CAPTION.SEP.POLLAN_2, $mes->render() . $text); + + if (varset($_GET['mode'])=='create') + { + $ns->tablerender(LAN_PLUGIN_POLL_NAME.SEP.LAN_CREATE, $mes->render() . $text); + } + if (varset($_GET['mode'])=='edit') + { + $ns->tablerender(LAN_PLUGIN_POLL_NAME.SEP.LAN_EDIT, $mes->render() . $text); + } } @@ -211,18 +219,18 @@ function poll_list() } else { - $mes->addInfo(POLLAN_7); + $mes->addInfo(LAN_NO_RECORDS_FOUND); } $text .= ""; - $ns->tablerender(POLLAN_MENU_CAPTION.SEP.POLLAN_1, $mes->render(). $text); + $ns->tablerender(LAN_PLUGIN_POLL_NAME.SEP.LAN_MANAGE, $mes->render(). $text); } function admin_config_adminmenu() { $action = varset($_GET['mode']) ? $_GET['mode'] : "list"; - $var['list']['text'] = LAN_EXISTING; + $var['list']['text'] = LAN_MANAGE; $var['list']['link'] = e_SELF; $var['list']['perm'] = "P"; $var['create']['text'] = LAN_CREATE ; @@ -231,6 +239,6 @@ function admin_config_adminmenu() /* $var['import']['text'] = GSLAN_23; $var['import']['link'] = e_SELF."?import"; $var['import']['perm'] = "0";*/ - show_admin_menu(POLLAN_MENU_CAPTION, $action, $var); + show_admin_menu(LAN_PLUGIN_POLL_NAME, $action, $var); } ?> \ No newline at end of file diff --git a/e107_plugins/poll/languages/English.php b/e107_plugins/poll/languages/English.php index 2e4ccab9f..c3e3ee8b0 100644 --- a/e107_plugins/poll/languages/English.php +++ b/e107_plugins/poll/languages/English.php @@ -2,16 +2,10 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2017 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/e107_plugins/poll/languages/English.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ //define("POLL_ADLAN01", "Poll"); @@ -23,64 +17,64 @@ //define("POLL_ADLAN06", "Forum Thread: "); //define("POLL_ADLAN07", "Type"); -define("POLLAN_MENU_CAPTION", "Poll"); +//define("POLLAN_MENU_CAPTION", "Poll");//LAN_PLUGIN_POLL_NAME -define("POLLAN_1", "Existing polls"); -define("POLLAN_2", "Create / edit polls"); -define("POLLAN_3", "Poll question"); -define("POLLAN_4", "Poll Options"); +//define("POLLAN_1", "Existing polls");//LAN_MANAGE +//define("POLLAN_2", "Create / edit polls");//LAN_CREATE +define("POLLAN_3", "Poll Question"); +define("POLLAN_4", "Poll Answers"); //define("POLLAN_5", "Edit"); //define("POLLAN_6", "Delete"); -//define("POLLAN_7", "No polls yet."); -define("POLLAN_8", "Add another option"); -define("POLLAN_9", "Allow multiple choices?"); -define("POLLAN_10", "yes"); -define("POLLAN_11", "no"); +//define("POLLAN_7", "No polls yet.");//LAN_NO_RECORDS_FOUND +//define("POLLAN_8", "Add another option");//LAN_ADD_MORE +//define("POLLAN_9", "Allow multiple choices?");//LAN_MULTIPLE_CHOICE +//define("POLLAN_10", "yes");//LAN_YES +//define("POLLAN_11", "no");//LAN_NO define("POLLAN_12", "Show results"); define("POLLAN_13", "after voting"); define("POLLAN_14", "by clicking view results link - comments must be turned on to use this option"); define("POLLAN_15", "Allow to vote on this poll"); define("POLLAN_16", "Vote storage method"); -define("POLLAN_17", "cookie"); -define("POLLAN_18", "IP address"); +define("POLLAN_17", "Cookie"); +//define("POLLAN_18", "IP address");//LAN_IP_ADDRESS define("POLLAN_19", "User ID (only members can vote)"); -define("POLLAN_20", "Allow comments to be posted to this poll?"); -define("POLLAN_21", "Preview again"); -define("POLLAN_22", "Update Poll"); -define("POLLAN_23", "Create Poll"); -define("POLLAN_24", "Preview"); -define("POLLAN_25", "Clear form"); -define("POLLAN_26", "votes"); +//define("POLLAN_20", "Allow comments to be posted to this poll?");//LAN_COMMENTS_ALLOWED +//define("POLLAN_21", "Preview again");//NOT USED +//define("POLLAN_22", "Update Poll"); +//define("POLLAN_23", "Create Poll");//LAN_CREATE +//define("POLLAN_24", "Preview");//LAN_PREVIEW +//define("POLLAN_25", "Clear form");//LAN_CLEAR +//define("POLLAN_26", "votes");//NOT USED // define("POLLAN_27", "Comments"); define("POLLAN_28", "Previous polls"); -define("POLLAN_29", "posted by"); -define("POLLAN_30", "Submit"); +//define("POLLAN_29", "posted by");//NOT USED +//define("POLLAN_30", "Submit");//NOT USED define("POLLAN_31", "Votes"); -define("POLLAN_32", "Click here to see results"); -define("POLLAN_33", "No previous polls yet."); +//define("POLLAN_32", "Click here to see results");//NOT USED +//define("POLLAN_33", "No previous polls yet.");//LAN_NO_RECORDS_FOUND //define("POLLAN_34", "Title");//LAN_TITLE -define("POLLAN_35", "Posted by"); -define("POLLAN_36", "Active"); -define("POLLAN_37", "active from"); -define("POLLAN_38", "to"); -define("POLLAN_39", "Thank you for voting!"); +//define("POLLAN_35", "Posted by");//LAN_POSTED_BY +//define("POLLAN_36", "Active");//LAN_ACTIVE +//define("POLLAN_37", "active from");//LAN_FROM +//define("POLLAN_38", "to");// LAN_TO +//define("POLLAN_39", "Thank you for voting!");//LAN_THANK_YOU define("POLLAN_40", "Click here to see results"); define("POLLAN_41", "This poll is restricted to members only"); define("POLLAN_42", "This poll is restricted to administrators only"); define("POLLAN_43", "You do not have the required permissions to vote in this poll"); -define("POLLAN_44", "Delete this poll?"); -define("POLLAN_45", "Poll successfully updated"); +//define("POLLAN_44", "Delete this poll?");//NOT USED +//define("POLLAN_45", "Poll successfully updated");//NOT USED //define("POLLAN_46", "Field(s) left blank"); // TODO NEED TO BE RENAMED! define("LAN_FORUM_3029", "If you do not wish to add a poll to your topic, leave the fields blank."); // LAN_386 -define("LAN_FORUM_3030", "Poll question"); // LAN_5 -define("LAN_FORUM_3031", "Poll answer"); // LAN_391 -define("LAN_FORUM_3032", "Add another answer"); // LAN_6 -define("LAN_FORUM_3033", "Allow multiple choices?"); // LAN_506 -define("LAN_FORUM_3034", "Vote storage method"); // POLLAN_16 -define("LAN_FORUM_3035", "Cookie"); // POLLAN_17 -define("LAN_FORUM_3036", "IP address"); // POLLAN_18 -define("LAN_FORUM_3037", "User ID (only members can vote)"); // POLLAN_19 +//define("LAN_FORUM_3030", "Poll question"); // LAN_5//POLLAN_3 +//define("LAN_FORUM_3031", "Poll answer"); // LAN_391//POLLAN_4 +//define("LAN_FORUM_3032", "Add another answer"); // LAN_6//LAN_ADD_MORE +//define("LAN_FORUM_3033", "Allow multiple choices?"); // LAN_506//LAN_MULTIPLE_CHOICE +//define("LAN_FORUM_3034", "Vote storage method"); // POLLAN_16//POLLAN_16 +//define("LAN_FORUM_3035", "Cookie"); // POLLAN_17 +//define("LAN_FORUM_3036", "IP address"); // POLLAN_18//LAN_IP_ADDRESS +//define("LAN_FORUM_3037", "User ID (only members can vote)"); // POLLAN_19 diff --git a/e107_plugins/poll/languages/English_admin_poll.php b/e107_plugins/poll/languages/English_admin_poll.php index 6d9a891b0..cee1ff9ac 100644 --- a/e107_plugins/poll/languages/English_admin_poll.php +++ b/e107_plugins/poll/languages/English_admin_poll.php @@ -10,15 +10,15 @@ //define("POLL_ADLAN01", "Poll"); //define("POLL_ADLAN02", "The poll plugin allows you to define polls in either a menu or forum post."); -define("POLL_ADLAN03", "Configure polls"); +//define("POLL_ADLAN03", "Configure polls");//LAN_CONFIGURE define("POLL_ADLAN04", "The poll plugin has been successfully installed. To add polls, click on the Polls icon in the plugin section of your admin front page, and remember to activate the menu item from your menus page."); -define("POLL_ADLAN05", "Main Poll: "); -define("POLL_ADLAN06", "Forum Thread: "); -define("POLL_ADLAN07", "Type"); +//define("POLL_ADLAN05", "Main Poll: ");//NOT USED +//define("POLL_ADLAN06", "Forum Thread: ");//NOT USED +//define("POLL_ADLAN07", "Type");//NOT USED //define("POLL_ADLAN08", "Poll deleted"); -define("POLLAN_MENU_CAPTION", "Poll"); +//define("POLLAN_MENU_CAPTION", "Poll");//LAN_PLUGIN_POLL_NAME //define("POLLAN_1", "Existing polls"); //define("POLLAN_2", "Create / edit polls"); @@ -26,7 +26,7 @@ define("POLLAN_MENU_CAPTION", "Poll"); //define("POLLAN_4", "Poll Options"); //define("POLLAN_5", "Edit"); //define("POLLAN_6", "Delete"); -define("POLLAN_7", "No polls yet."); +//define("POLLAN_7", "No polls yet.");//LAN_NO_RECORDS_FOUND /* define("POLLAN_8", "Add another option"); define("POLLAN_9", "Allow multiple choices?"); @@ -70,9 +70,9 @@ define("POLLAN_44", "Delete this poll?"); //define("POLLAN_46", "Field(s) left blank"); // Log messages -define("LAN_AL_POLL_01","Poll deleted"); -define("LAN_AL_POLL_02","Poll updated"); -define("LAN_AL_POLL_03","Poll added"); -define("LAN_AL_POLL_04",""); -define("LAN_AL_POLL_05",""); +//define("LAN_AL_POLL_01","Poll deleted");//CHANGED TO EXISTING LANS +//define("LAN_AL_POLL_02","Poll updated");//NOT USED +//define("LAN_AL_POLL_03","Poll added");//NOT USED +//define("LAN_AL_POLL_04","");//NOT USED +//define("LAN_AL_POLL_05","");//NOT USED diff --git a/e107_plugins/poll/languages/English_global.php b/e107_plugins/poll/languages/English_global.php index 876d8baf1..863800a16 100644 --- a/e107_plugins/poll/languages/English_global.php +++ b/e107_plugins/poll/languages/English_global.php @@ -1,6 +1,14 @@ \ No newline at end of file +?> diff --git a/e107_plugins/poll/oldpolls.php b/e107_plugins/poll/oldpolls.php index bcd578349..e769fdf63 100644 --- a/e107_plugins/poll/oldpolls.php +++ b/e107_plugins/poll/oldpolls.php @@ -2,16 +2,10 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2017 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/e107_plugins/poll/oldpolls.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ require_once("../../class2.php"); @@ -57,7 +51,7 @@ if(e_QUERY) $text .= "
- ".POLLAN_35." ".$userlink."
".POLLAN_37." ".$start_datestamp." ".POLLAN_38." ".$end_datestamp."
+ ".LAN_POSTED_BY." ".$userlink."
".LAN_ACTIVE.": ".LAN_FROM." ".$start_datestamp." ".LAN_TO." ".$end_datestamp."
"; @@ -80,7 +74,8 @@ if(e_QUERY)
- ".$percentage[$count]."% [".POLLAN_31.": ".$voteArray[$count]."] + ".$percentage[$count]."% [".POL + LAN_31.": ".$voteArray[$count]."] \n"; $count++; @@ -120,7 +115,7 @@ if(e_QUERY) if(!$array = $sql->retrieve($query,true)) { - $ns->tablerender(POLLAN_28, "
".POLLAN_33."
"); + $ns->tablerender(POLLAN_28, "
".LAN_NO_RECORDS_FOUND."
"); require_once(FOOTERF); exit; } @@ -129,7 +124,7 @@ if(e_QUERY) if(empty($array)) { - $ns->tablerender(POLLAN_28, "
".POLLAN_33."
"); + $ns->tablerender(POLLAN_28, "
".LAN_NO_RECORDS_FOUND."
"); require_once(FOOTERF); exit; } @@ -142,8 +137,8 @@ if(e_QUERY) ".LAN_TITLE." - ".POLLAN_35." - ".POLLAN_36." + ".LAN_POSTED_BY." + ".LAN_ACTIVE." \n"; @@ -164,7 +159,7 @@ if(e_QUERY) $text .= " {$poll_title} ".$userlink." - ".$from." ".POLLAN_38." ".$to." + ".$from." ".LAN_TO." ".$to." \n"; } diff --git a/e107_plugins/poll/plugin.xml b/e107_plugins/poll/plugin.xml index bdc52fd78..f4a2141a7 100644 --- a/e107_plugins/poll/plugin.xml +++ b/e107_plugins/poll/plugin.xml @@ -5,7 +5,7 @@ content Copyright e107 Inc e107.org, Licensed under GPL (http://www.gnu.org/licenses/gpl.txt) - POLL_ADLAN03 + LAN_CONFIGURE diff --git a/e107_plugins/poll/poll.php b/e107_plugins/poll/poll.php index 241ff9911..95cb29486 100644 --- a/e107_plugins/poll/poll.php +++ b/e107_plugins/poll/poll.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2011 e107 Inc (e107.org) + * Copyright (C) 2008-2017 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -27,4 +27,4 @@ require(e_PLUGIN.'poll/poll_menu.php'); require_once(FOOTERF); exit; -?> \ No newline at end of file +?> diff --git a/e107_plugins/poll/poll_class.php b/e107_plugins/poll/poll_class.php index 4e963d24b..bd77293d8 100644 --- a/e107_plugins/poll/poll_class.php +++ b/e107_plugins/poll/poll_class.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2013 e107 Inc (e107.org) + * Copyright (C) 2008-2017 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -84,7 +84,7 @@ class poll { admin_purge_related("poll", $existing); } - e107::getLog()->add('POLL_01',LAN_AL_POLL_01.': '.$existing,''); + e107::getLog()->add('POLL_01',POLLAN_3.': '.LAN_DELETED.': '.$existing,''); //return POLL_ADLAN08; } } @@ -511,7 +511,7 @@ class poll if ($pollArray['poll_result_type'] && !strstr(e_SELF, "comment.php")) { - $text = "


".POLLAN_39."

".POLLAN_40."


"; + $text = "


".LAN_THANK_YOU."

".POLLAN_40."


"; } else { @@ -564,11 +564,11 @@ class poll if (!defined("POLLRENDERED")) define("POLLRENDERED", TRUE); - $caption = (file_exists(THEME."images/poll_menu.png") ? " ".POLLAN_MENU_CAPTION : POLLAN_MENU_CAPTION); + $caption = (file_exists(THEME."images/poll_menu.png") ? " ".LAN_PLUGIN_POLL_NAME : LAN_PLUGIN_POLL_NAME); if ($type == 'preview') { - $caption = POLLAN_23.SEP.LAN_PREVIEW; // "Preview"; // TODO LAN + $caption = LAN_CREATE.SEP.LAN_PREVIEW; // "Preview"; // TODO not sure this is used. $text = "
\n
".$text."
"; } elseif ($type == 'forum') @@ -649,14 +649,14 @@ class poll $text .= "
- - ".$frm->text('poll_title', $tp->post_toForm(vartrue($_POST['poll_title'])), '200', array('placeholder' => LAN_FORUM_3030, 'id' => 'poll_title'))." + + ".$frm->text('poll_title', $tp->post_toForm(vartrue($_POST['poll_title'])), '200', array('placeholder' => POLLAN_3, 'id' => 'poll_title'))."
"; $option_count = vartrue($_POST['poll_option']) ? count($_POST['poll_option']) : 2; $text .= "
- "; + "; for($count = 1; $count <= $option_count; $count++) { @@ -668,14 +668,14 @@ class poll $opt = ($count==1) ? "id='poll_answer'" : ""; $text .= "
- ".$frm->text('poll_option[]', $_POST['poll_option'][($count-1)], '200', array('placeholder' => LAN_FORUM_3031, 'id' => $opt))." + ".$frm->text('poll_option[]', $_POST['poll_option'][($count-1)], '200', array('placeholder' => POLLAN_4, 'id' => $opt))."
"; } $text .= "
"; // end pollsection div $text .= "
- +
"; @@ -688,7 +688,7 @@ class poll $text .= "
- +
". $frm->radio('multipleChoice',$opts, vartrue($_POST['multipleChoice'], 0) ).$frm->hidden('storageMethod', 1)."
@@ -718,7 +718,7 @@ class poll ".POLLAN_16." ".POLLAN_17."
- ".POLLAN_18."
+ ".LAN_IP_ADDRESS."
".POLLAN_19."
"; @@ -736,14 +736,14 @@ class poll ".LAN_FORUM_3029." -
".LAN_FORUM_3030.":
+
".POLLAN_3.":
"; $option_count = (count(vartrue($_POST['poll_option'])) ? count($_POST['poll_option']) : 1); $text .= " - ".LAN_FORUM_3031." + ".POLLAN_4."
"; @@ -761,22 +761,22 @@ class poll $text .="
-
+
- ".LAN_FORUM_3033." + ".LAN_MULTIPLE_CHOICE." ".LAN_YES."   ".LAN_NO." - ".LAN_FORUM_3034." + ".POLLAN_16." - ".LAN_FORUM_3035."
- ".LAN_FORUM_3036."
- ".LAN_FORUM_3037." + ".POLLAN_17."
+ ".LAN_IP_ADDRESS."
+ ".POLLAN_19." "; @@ -813,14 +813,14 @@ class poll $text .= "
"; } - $text .="
+ $text .="
- ".POLLAN_9." + ".LAN_MULTIPLE_CHOICE." - ".POLLAN_10."   - ".POLLAN_11." + ".LAN_YES."   + ".LAN_NO." @@ -846,14 +846,14 @@ class poll ".POLLAN_16." ".POLLAN_17."
- ".POLLAN_18."
+ ".LAN_IP_ADDRESS."
".POLLAN_19." - ".POLLAN_20.": - ".POLLAN_10." - ".POLLAN_11." + ".LAN_COMMENTS_ALLOWED.": + ".LAN_YES." + ".LAN_NO." @@ -861,8 +861,8 @@ class poll if (isset($_POST['preview']) || varset($_POST['edit'])) { - // $text .= " "; - $text .= $frm->admin_button('preview',POLLAN_24,'other'); + // $text .= " "; + $text .= $frm->admin_button('preview',LAN_PREVIEW,'other'); if (POLLACTION == 'edit') { @@ -878,14 +878,14 @@ class poll } else { - $text .= $frm->admin_button('preview','no-value','other',POLLAN_24); - // $text .= " "; + $text .= $frm->admin_button('preview','no-value','other',LAN_PREVIEW); + // $text .= " "; } if (defset('POLLID')) { - $text .= $frm->admin_button('reset','no-value','reset',POLLAN_25); - // $text .= " "; + $text .= $frm->admin_button('reset','no-value','reset',LAN_CLEAR); + // $text .= " "; } $text .= " @@ -946,7 +946,7 @@ class poll_shortcodes extends e_shortcode $userlink = "".$this->var['user_name'].""; // return print_a($this->var,true); - return POLLAN_35." ".(($this->pollType == 'preview' || $this->pollType == 'forum') ? USERNAME : $userlink); + return LAN_POSTED_BY." ".(($this->pollType == 'preview' || $this->pollType == 'forum') ? USERNAME : $userlink); } @@ -1049,10 +1049,10 @@ class poll_shortcodes extends e_shortcode if (('preview' == $this->pollType || $this->pollPreview == true) && strpos(e_REQUEST_SELF, "forum") === false) { - return ""; + return ""; } - return ""; + return ""; // disable submit when previewing the poll or when NOT viewing the poll in the forum } @@ -1087,4 +1087,4 @@ e107::js('inline', ' ');*/ -?> \ No newline at end of file +?> diff --git a/e107_plugins/poll/poll_menu.php b/e107_plugins/poll/poll_menu.php index d145b0fe4..174280aef 100644 --- a/e107_plugins/poll/poll_menu.php +++ b/e107_plugins/poll/poll_menu.php @@ -2,7 +2,7 @@ /* * e107 website system * - * Copyright (C) 2008-2013 e107 Inc (e107.org) + * Copyright (C) 2008-2017 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * @@ -59,4 +59,5 @@ ORDER BY p.poll_datestamp DESC LIMIT 0,1 $poll->remove_poll_cookies(); $poll->render_poll($query, $pollType, $pollMode); -?> \ No newline at end of file + +?> diff --git a/e107_plugins/poll/search/search_comments.php b/e107_plugins/poll/search/search_comments.php index eb190c69f..d2bdb38c6 100644 --- a/e107_plugins/poll/search/search_comments.php +++ b/e107_plugins/poll/search/search_comments.php @@ -1,11 +1,20 @@ \ No newline at end of file +?> diff --git a/e107_plugins/poll/templates/poll_template.php b/e107_plugins/poll/templates/poll_template.php index 40f33dc15..eea061a46 100644 --- a/e107_plugins/poll/templates/poll_template.php +++ b/e107_plugins/poll/templates/poll_template.php @@ -2,18 +2,12 @@ /* * e107 website system * - * Copyright (C) 2008-2009 e107 Inc (e107.org) + * Copyright (C) 2008-2017 e107 Inc (e107.org) * Released under the terms and conditions of the * GNU General Public License (http://www.gnu.org/licenses/gpl.txt) * - * - * - * $Source: /cvs_backup/e107_0.8/e107_plugins/poll/templates/poll_template.php,v $ - * $Revision$ - * $Date$ - * $Author$ */ - + if (!defined('e107_INIT')) { exit; } /* ################################# */ @@ -245,4 +239,4 @@ $POLL_TEMPLATE['denied']['end'] = "
{ "; -?> \ No newline at end of file +?>