From 4fd79e4ae7e5df11c59c08c6136d2f52d73605aa Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 14 Jun 2017 12:35:03 -0700 Subject: [PATCH] Issue #2683, Issue #2659 - Poll LANs. --- e107_plugins/poll/languages/English.php | 2 ++ e107_plugins/poll/oldpolls.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/e107_plugins/poll/languages/English.php b/e107_plugins/poll/languages/English.php index f10a8363f..8eeca1ece 100644 --- a/e107_plugins/poll/languages/English.php +++ b/e107_plugins/poll/languages/English.php @@ -66,6 +66,8 @@ define("POLLAN_43", "You do not have the required permissions to vote in this po //define("POLLAN_45", "Poll successfully updated");//NOT USED //define("POLLAN_46", "Field(s) left blank"); +define("POLLAN_50", "Active from [x] to [y]"); + // TODO NEED TO BE RENAMED! diff --git a/e107_plugins/poll/oldpolls.php b/e107_plugins/poll/oldpolls.php index d3e3686b5..59d0b4800 100644 --- a/e107_plugins/poll/oldpolls.php +++ b/e107_plugins/poll/oldpolls.php @@ -51,7 +51,7 @@ if(e_QUERY) $text .= "
- ".LAN_POSTED_BY." ".$userlink."
".LAN_ACTIVE.": ".LAN_FROM." ".$start_datestamp." ".LAN_TO." ".$end_datestamp."
+ ".LAN_POSTED_BY." ".$userlink."
".$tp->lanVars(POLLAN_50, array('x'=>$start_datestamp, 'y'=> $end_datestamp))."
";