mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
Bugtracker #4136 - missing punctuation relating to display of download agreement
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_files/shortcode/batch/download_shortcodes.php,v $
|
||||||
| $Revision: 1.10 $
|
| $Revision: 1.11 $
|
||||||
| $Date: 2007-06-27 13:27:19 $
|
| $Date: 2007-10-12 19:54:34 $
|
||||||
| $Author: sweetas $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
if (!defined('e107_INIT')) { exit; }
|
if (!defined('e107_INIT')) { exit; }
|
||||||
@@ -123,6 +123,10 @@ $agreetext = $tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"));
|
|||||||
}
|
}
|
||||||
SC_END
|
SC_END
|
||||||
|
|
||||||
|
SC_BEGIN DOWNLOAD_LIST_NEXTPREV
|
||||||
|
global $nextprev_parms,$tp;
|
||||||
|
return $tp->parseTemplate("{NEXTPREV={$nextprev_parms}}");
|
||||||
|
SC_END
|
||||||
|
|
||||||
|
|
||||||
// ---------------------- Download View ----------------------------------------
|
// ---------------------- Download View ----------------------------------------
|
||||||
@@ -177,7 +181,7 @@ SC_END
|
|||||||
SC_BEGIN DOWNLOAD_VIEW_NAME_LINKED
|
SC_BEGIN DOWNLOAD_VIEW_NAME_LINKED
|
||||||
global $pref,$dl,$tp;
|
global $pref,$dl,$tp;
|
||||||
if ($pref['agree_flag'] == 1) {
|
if ($pref['agree_flag'] == 1) {
|
||||||
return "<a href='".e_BASE."request.php?".$dl['download_id']."' onclick= \"return confirm('".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"))."' title='".LAN_dl_46."'>".$dl['download_name']."</a>";
|
return "<a href='".e_BASE."request.php?".$dl['download_id']."' onclick= \"return confirm('".$tp->toJS($tp->toHTML($pref['agree_text'],FALSE,"parse_sc, defs"))."');\" title='".LAN_dl_46."'>".$dl['download_name']."</a>";
|
||||||
} else {
|
} else {
|
||||||
return "<a href='".e_BASE."request.php?".$dl['download_id']."' title='".LAN_dl_46."'>".$dl['download_name']."</a>";
|
return "<a href='".e_BASE."request.php?".$dl['download_id']."' title='".LAN_dl_46."'>".$dl['download_name']."</a>";
|
||||||
}
|
}
|
||||||
@@ -418,6 +422,10 @@ global $dl;
|
|||||||
return "<a href='".e_BASE."download.php?list.".$dl['download_category']."'>".LAN_dl_35."</a>";
|
return "<a href='".e_BASE."download.php?list.".$dl['download_category']."'>".LAN_dl_35."</a>";
|
||||||
SC_END
|
SC_END
|
||||||
|
|
||||||
|
SC_BEGIN DOWNLOAD_BACK_TO_CATEGORY_LIST
|
||||||
|
return "<a href='".e_SELF."'>".LAN_dl_9."</a>";
|
||||||
|
SC_END
|
||||||
|
|
||||||
|
|
||||||
// --------------- Download - Admin -----------------------------------
|
// --------------- Download - Admin -----------------------------------
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user