diff --git a/e107_plugins/forum/templates/forum_stats_template.php b/e107_plugins/forum/templates/forum_stats_template.php new file mode 100644 index 0000000000..e4e557ff24 --- /dev/null +++ b/e107_plugins/forum/templates/forum_stats_template.php @@ -0,0 +1,188 @@ +\n
\n\n\n\n\n"; +*/ +// LEGACY definition with LAN Shortcodes ({TRACKTITLE})..... +/* +$FORUM_TRACK_START = "
\n
\n
{LAN=FORUM_0073}
\n\n\n\n"; + + if (!isset($FORUM_TRACK_MAIN)) + { + $FORUM_TRACK_MAIN = " + + + + "; + } +} + +if (!isset($FORUM_TRACK_END)) +{ + $FORUM_TRACK_END = "
{TRACKTITLE}
{NEWIMAGE}{TRACKPOSTNAME}{UNTRACK}
\n
\n"; +} +*/ + + +// New in v2.x - requires a bootstrap theme be loaded. +$FORUM_STATS_TEMPLATE['start'] = "
"; +$FORUM_STATS_TEMPLATE['item'] = ""; +$FORUM_STATS_TEMPLATE['end'] = "
"; + +$FORUM_STATS_TEMPLATE['text_0'] = " + + + + + + + + + + +
".LAN_FORUM_6001.":  {OPEN_DATE}
".LAN_FORUM_6002.":  {OPEN_SINCE}
".LAN_FORUM_6003.":  {TOTAL_POSTS}
".LAN_FORUM_1007.":  {TOTAL_TOPICS}
".LAN_FORUM_6004.":  {TOTAL_REPLIES}
".LAN_FORUM_6005.":  {TOTAL_VIEWS}
".LAN_FORUM_6014.":  {POSTSPERDAY}
".LAN_FORUM_6006.":  {DB_SIZE}
".LAN_FORUM_6007.":  {AVG_ROW_LEN}
"; + +$FORUM_STATS_TEMPLATE['text_1']['start'] = " + + + + + + + + + + + "; + +$FORUM_STATS_TEMPLATE['text_1']['item'] = " + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_1']['end'] = "
".LAN_FORUM_6008."".LAN_FORUM_1003."".LAN_FORUM_0003."".LAN_FORUM_6009."".LAN_DATE."
{COUNT}{THREAD_NAME}{THREAD_TOTAL_REPLIES}{UINFO}{THREAD_DATESTAMP}
"; + +$FORUM_STATS_TEMPLATE['text_2']['start'] = " + + + + + + + + + + + "; + +$FORUM_STATS_TEMPLATE['text_2']['item'] = " + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_2']['end'] = "
".LAN_FORUM_6008."".LAN_FORUM_1003."".LAN_FORUM_1005."".LAN_FORUM_6009."".LAN_DATE."
{COUNT}{THREAD_NAME}{THREAD_VIEWS}{UINFO}{THREAD_DATESTAMP}
"; + +$FORUM_STATS_TEMPLATE['text_3']['start'] = " + + + + + + + + + + + + "; + +$FORUM_STATS_TEMPLATE['text_3']['item'] = " + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_3']['end'] = " +
".LAN_FORUM_6008."".LAN_NAME."".LAN_FORUM_2032."% 
{COUNT}{USER_NAME}{USER_FORUMS}{USER_PERCENTAGE}%{PERCENTAGE_BAR}
"; + + +$FORUM_STATS_TEMPLATE['text_4']['start'] = " + + + + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_4']['item'] = " + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_4']['end'] = "
".LAN_FORUM_6008."".LAN_NAME."".LAN_FORUM_2032."% 
{COUNT}{USER_NAME}{USER_FORUMS}{USER_PERCENTAGE}%{PERCENTAGE_BAR}
"; + + +$FORUM_STATS_TEMPLATE['text_5']['start'] = " + + + + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_5']['item'] = " + + + + + + + +"; + +$FORUM_STATS_TEMPLATE['text_5']['end'] = "
".LAN_FORUM_6008."".LAN_NAME."".LAN_FORUM_2032."% 
{COUNT}{USER_NAME}{USER_FORUMS}{USER_PERCENTAGE}%{PERCENTAGE_BAR}
"; \ No newline at end of file