diff --git a/e107_plugins/download/templates/download_template.php b/e107_plugins/download/templates/download_template.php new file mode 100644 index 000000000..f689fc4ca --- /dev/null +++ b/e107_plugins/download/templates/download_template.php @@ -0,0 +1,355 @@ + + \n + + + + + + + "; +} +if(!isset($DOWNLOAD_CAT_PARENT_TABLE)) +{ + $DOWNLOAD_CAT_PARENT_TABLE = " + + + "; +} + +if(!isset($DOWNLOAD_CAT_CHILD_TABLE)) +{ + $DOWNLOAD_CAT_CHILD_TABLE = " + + + + + + + + {DOWNLOAD_CAT_SUBSUB} + "; + +} + +if(!isset($DOWNLOAD_CAT_SUBSUB_TABLE)) +{ + $DOWNLOAD_CAT_SUBSUB_TABLE = " + + + + + + + + "; +} + +if(!isset($DOWNLOAD_CAT_TABLE_END)) +{ + $DOWNLOAD_CAT_TABLE_END = " + + +
 ".LAN_dl_19."".LAN_dl_20."".LAN_dl_21."".LAN_dl_77."
+ {DOWNLOAD_CAT_MAIN_ICON} {DOWNLOAD_CAT_MAIN_NAME} +
+ {DOWNLOAD_CAT_SUB_ICON} + + {DOWNLOAD_CAT_SUB_NEW_ICON} {DOWNLOAD_CAT_SUB_NAME}
+ + {DOWNLOAD_CAT_SUB_DESCRIPTION} + +
+ {DOWNLOAD_CAT_SUB_COUNT} + + {DOWNLOAD_CAT_SUB_SIZE} + + {DOWNLOAD_CAT_SUB_DOWNLOADED} +
+   + + + + + + + +
". + LAN_dl_42." + + {DOWNLOAD_CAT_SUBSUB_ICON} + + {DOWNLOAD_CAT_SUBSUB_NEW_ICON} {DOWNLOAD_CAT_SUBSUB_NAME}
+ + {DOWNLOAD_CAT_SUBSUB_DESCRIPTION} + +
+
+ {DOWNLOAD_CAT_SUBSUB_COUNT} + + {DOWNLOAD_CAT_SUBSUB_SIZE} + + {DOWNLOAD_CAT_SUBSUB_DOWNLOADED} +
{DOWNLOAD_CAT_NEWDOWNLOAD_TEXT}
{DOWNLOAD_CAT_SEARCH}
+ \n"; +} +// ##### ------------------------------------------------------------------------------------------ + + + +// ##### LIST TABLE ------------------------------------------------------------------------------- +if(!isset($DOWNLOAD_LIST_TABLE_START)) +{ + $DOWNLOAD_LIST_TABLE_START = " +
+
+ \n + + + + + + + + + + + + "; + +} + +if(!isset($DOWNLOAD_LIST_TABLE)) +{ + $DOWNLOAD_LIST_TABLE = " + + + + + + + + + "; +} + +if(!isset($DOWNLOAD_LIST_TABLE_END)) +{ + $DOWNLOAD_LIST_TABLE_END = " + +
+ ".LAN_dl_37." + +   + ".LAN_dl_38." + +   + ".LAN_dl_39." + +   + +
".LAN_dl_28."".LAN_dl_22."".LAN_dl_24."".LAN_dl_21."".LAN_dl_29."".LAN_dl_12."".LAN_dl_8."
+ {DOWNLOAD_LIST_NEWICON} {DOWNLOAD_LIST_NAME} + + {DOWNLOAD_LIST_DATESTAMP} + + {DOWNLOAD_LIST_AUTHOR} + + {DOWNLOAD_LIST_FILESIZE} + + {DOWNLOAD_LIST_REQUESTED} + + {DOWNLOAD_LIST_RATING} + + {DOWNLOAD_LIST_LINK} {DOWNLOAD_LIST_ICON} +
{DOWNLOAD_LIST_TOTAL_AMOUNT} {DOWNLOAD_LIST_TOTAL_FILES}
+
+
\n"; +} +// ##### ------------------------------------------------------------------------------------------ + + +// ##### VIEW TABLE ------------------------------------------------------------------------------- + +$DL_VIEW_PAGETITLE = PAGE_NAME." / {DOWNLOAD_CATEGORY} / {DOWNLOAD_VIEW_NAME}"; +$DL_VIEW_CAPTION = "{DOWNLOAD_VIEW_CAPTION}"; + + $DL_VIEW_NEXTPREV = " +
+ + + + + + +
{DOWNLOAD_VIEW_PREV}{DOWNLOAD_BACK_TO_LIST}{DOWNLOAD_VIEW_NEXT}
+
\n"; + +// Only renders the following rows when data is present. +$sc_style['DOWNLOAD_VIEW_AUTHOR_LAN']['pre'] = ""; +$sc_style['DOWNLOAD_VIEW_AUTHOR_LAN']['post'] = ""; + +$sc_style['DOWNLOAD_VIEW_AUTHOR']['pre'] = ""; +$sc_style['DOWNLOAD_VIEW_AUTHOR']['post'] = ""; + +$sc_style['DOWNLOAD_VIEW_AUTHOREMAIL_LAN']['pre'] = ""; +$sc_style['DOWNLOAD_VIEW_AUTHOREMAIL_LAN']['post'] = ""; + +$sc_style['DOWNLOAD_VIEW_AUTHOREMAIL']['pre'] = ""; +$sc_style['DOWNLOAD_VIEW_AUTHOREMAIL']['post'] = ""; + +$sc_style['DOWNLOAD_VIEW_AUTHORWEBSITE_LAN']['pre'] = ""; +$sc_style['DOWNLOAD_VIEW_AUTHORWEBSITE_LAN']['post'] = ""; + +$sc_style['DOWNLOAD_VIEW_AUTHORWEBSITE']['pre'] = ""; +$sc_style['DOWNLOAD_VIEW_AUTHORWEBSITE']['post'] = ""; + +if(!isset($DOWNLOAD_VIEW_TABLE)) +{ + $DOWNLOAD_VIEW_TABLE = " +
+ \n + + + + + {DOWNLOAD_VIEW_AUTHOR_LAN} + {DOWNLOAD_VIEW_AUTHOR} + + {DOWNLOAD_VIEW_AUTHOREMAIL_LAN} + {DOWNLOAD_VIEW_AUTHOREMAIL} + + {DOWNLOAD_VIEW_AUTHORWEBSITE_LAN} + {DOWNLOAD_VIEW_AUTHORWEBSITE} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ {DOWNLOAD_VIEW_NAME} +
{DOWNLOAD_VIEW_DESCRIPTION_LAN}{DOWNLOAD_VIEW_DESCRIPTION}
{DOWNLOAD_VIEW_IMAGE_LAN}{DOWNLOAD_VIEW_IMAGE}
{DOWNLOAD_VIEW_FILESIZE_LAN}{DOWNLOAD_VIEW_FILESIZE}
{DOWNLOAD_VIEW_DATE_LAN}{DOWNLOAD_VIEW_DATE=long}
{DOWNLOAD_VIEW_REQUESTED_LAN}{DOWNLOAD_VIEW_REQUESTED}
{DOWNLOAD_VIEW_LINK_LAN}{DOWNLOAD_VIEW_LINK}
{DOWNLOAD_VIEW_RATING_LAN}{DOWNLOAD_VIEW_RATING}
{DOWNLOAD_REPORT_LINK}
+
{DOWNLOAD_ADMIN_EDIT}
+
\n"; +} + +// ##### ------------------------------------------------------------------------------------------ + +// ##### MIRROR LIST ------------------------------------------------------------------------------- + +if(!isset($DOWNLOAD_MIRROR_START)) +{ + $DOWNLOAD_MIRROR_START = " +
+ + + + + + + + + + + "; +} + +if(!isset($DOWNLOAD_MIRROR)) +{ + $DOWNLOAD_MIRROR = " + + + + + + + "; +} + +if(!isset($DOWNLOAD_MIRROR_END)) +{ + $DOWNLOAD_MIRROR_END = " +
{DOWNLOAD_MIRROR_REQUEST}
{DOWNLOAD_MIRROR_HOST_LAN}{DOWNLOAD_MIRROR_DESCRIPTION_LAN}{DOWNLOAD_MIRROR_LOCATION_LAN}{DOWNLOAD_MIRROR_GET_LAN}
{DOWNLOAD_MIRROR_IMAGE}

{DOWNLOAD_MIRROR_REQUESTS}
{DOWNLOAD_TOTAL_MIRROR_REQUESTS}
{DOWNLOAD_MIRROR_DESCRIPTION}
{DOWNLOAD_MIRROR_LOCATION}
{DOWNLOAD_MIRROR_LINK} {DOWNLOAD_MIRROR_FILESIZE}
+
+ "; +} + +// ##### ------------------------------------------------------------------------------------------ +?> \ No newline at end of file