From 087c50db13b6d996a962124103ea4018ecdcce70 Mon Sep 17 00:00:00 2001 From: e107steved Date: Fri, 12 Oct 2007 19:54:34 +0000 Subject: [PATCH] Bugtracker #4136 - missing punctuation relating to display of download agreement --- .../shortcode/batch/download_shortcodes.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/e107_files/shortcode/batch/download_shortcodes.php b/e107_files/shortcode/batch/download_shortcodes.php index 914d2e9bf..51b04b2ce 100644 --- a/e107_files/shortcode/batch/download_shortcodes.php +++ b/e107_files/shortcode/batch/download_shortcodes.php @@ -11,9 +11,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $ -| $Revision: 1.10 $ -| $Date: 2007-06-27 13:27:19 $ -| $Author: sweetas $ +| $Revision: 1.11 $ +| $Date: 2007-10-12 19:54:34 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ if (!defined('e107_INIT')) { exit; } @@ -123,6 +123,10 @@ $agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs")); } SC_END +SC_BEGIN DOWNLOAD_LIST_NEXTPREV + global $nextprev_parms,$tp; + return $tp->parseTemplate("{NEXTPREV={$nextprev_parms}}"); +SC_END // ---------------------- Download View ---------------------------------------- @@ -177,7 +181,7 @@ SC_END SC_BEGIN DOWNLOAD_VIEW_NAME_LINKED global $pref,$dl,$tp; if ($pref['agree_flag'] == 1) { - return "toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"))."' title='".LAN_dl_46."'>".$dl['download_name'].""; + return "toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"))."');\" title='".LAN_dl_46."'>".$dl['download_name'].""; } else { return "".$dl['download_name'].""; } @@ -418,6 +422,10 @@ global $dl; return "".LAN_dl_35.""; SC_END +SC_BEGIN DOWNLOAD_BACK_TO_CATEGORY_LIST + return "".LAN_dl_9.""; +SC_END + // --------------- Download - Admin -----------------------------------