diff --git a/upload/custom/templates/Bootstrap3/404.tpl b/upload/custom/templates/Bootstrap3/404.tpl index e5fa581..325277a 100644 --- a/upload/custom/templates/Bootstrap3/404.tpl +++ b/upload/custom/templates/Bootstrap3/404.tpl @@ -8,8 +8,8 @@

{$TITLE}

{$CONTENT}

- {$BACK} - {$HOME} + + {$HOME}

{$ERROR} diff --git a/upload/custom/templates/Bootstrap3/footer.tpl b/upload/custom/templates/Bootstrap3/footer.tpl index 3e3ebb5..9c0d6aa 100644 --- a/upload/custom/templates/Bootstrap3/footer.tpl +++ b/upload/custom/templates/Bootstrap3/footer.tpl @@ -62,6 +62,7 @@ diff --git a/upload/custom/templates/Bootstrap3/forum/forum_index.tpl b/upload/custom/templates/Bootstrap3/forum/forum_index.tpl index 54b608f..fd674c3 100644 --- a/upload/custom/templates/Bootstrap3/forum/forum_index.tpl +++ b/upload/custom/templates/Bootstrap3/forum/forum_index.tpl @@ -80,20 +80,12 @@

{$STATS}

{$USERS_REGISTERED}
{$LATEST_MEMBER} - -
- -

{$ONLINE_USERS}

- {$ONLINE_USERS_LIST} - {if count($WIDGETS)} -
{foreach from=$WIDGETS item=widget} {$widget} -

{/foreach} {/if} diff --git a/upload/custom/templates/Bootstrap3/forum/view_forum.tpl b/upload/custom/templates/Bootstrap3/forum/view_forum.tpl index 277b8f2..332dff2 100644 --- a/upload/custom/templates/Bootstrap3/forum/view_forum.tpl +++ b/upload/custom/templates/Bootstrap3/forum/view_forum.tpl @@ -131,20 +131,12 @@

{$STATS}

{$USERS_REGISTERED}
{$LATEST_MEMBER} - -
- -

{$ONLINE_USERS}

- {$ONLINE_USERS_LIST} - {if count($WIDGETS)} -
{foreach from=$WIDGETS item=widget} {$widget} -

{/foreach} {/if} diff --git a/upload/custom/templates/Bootstrap3/forum/view_forum_confirm_redirect.tpl b/upload/custom/templates/Bootstrap3/forum/view_forum_confirm_redirect.tpl new file mode 100644 index 0000000..7d4c401 --- /dev/null +++ b/upload/custom/templates/Bootstrap3/forum/view_forum_confirm_redirect.tpl @@ -0,0 +1,16 @@ +{include file='navbar.tpl'} + +
+
+
+ {$CONFIRM_REDIRECT} +
+
+ {$NO} + {$YES} +
+
+
+
+ +{include file='footer.tpl'} \ No newline at end of file diff --git a/upload/custom/templates/Bootstrap3/forum/view_forum_no_discussions.tpl b/upload/custom/templates/Bootstrap3/forum/view_forum_no_discussions.tpl index 121e6c6..f7bab80 100644 --- a/upload/custom/templates/Bootstrap3/forum/view_forum_no_discussions.tpl +++ b/upload/custom/templates/Bootstrap3/forum/view_forum_no_discussions.tpl @@ -72,20 +72,12 @@

{$STATISTICS}

{$USERS_REGISTERED}
{$LATEST_MEMBER} - -
- -

{$ONLINE_USERS}

- {$ONLINE_USERS_LIST} - {if count($WIDGETS)} -
{foreach from=$WIDGETS item=widget} {$widget} -

{/foreach} {/if} diff --git a/upload/custom/templates/Bootstrap3/forum/view_topic.tpl b/upload/custom/templates/Bootstrap3/forum/view_topic.tpl index 1e800de..ce46742 100644 --- a/upload/custom/templates/Bootstrap3/forum/view_topic.tpl +++ b/upload/custom/templates/Bootstrap3/forum/view_topic.tpl @@ -73,7 +73,9 @@ {$reply.user_title} {/if}
- {$reply.user_posts_count} {$POSTS}
+ {$reply.user_registered}
+ {$reply.user_topics_count}
+ {$reply.user_posts_count}

{if count($reply.fields)} diff --git a/upload/custom/templates/Bootstrap3/index.tpl b/upload/custom/templates/Bootstrap3/index.tpl index b2a0bb2..47a16c8 100644 --- a/upload/custom/templates/Bootstrap3/index.tpl +++ b/upload/custom/templates/Bootstrap3/index.tpl @@ -73,7 +73,6 @@ {if count($WIDGETS)} {foreach from=$WIDGETS item=widget} {$widget} -

{/foreach} {/if} diff --git a/upload/custom/templates/Bootstrap3/login.tpl b/upload/custom/templates/Bootstrap3/login.tpl index 7d2215c..0151474 100644 --- a/upload/custom/templates/Bootstrap3/login.tpl +++ b/upload/custom/templates/Bootstrap3/login.tpl @@ -25,10 +25,17 @@
-
- -
+ {if isset($EMAIL)} +
+ +
+ {else} +
+ +
+ {/if}
-
+
{* Global messages *} {if isset($MAINTENANCE_ENABLED)} {/if} + {if isset($MUST_VALIDATE_ACCOUNT)} +
+ {$MUST_VALIDATE_ACCOUNT} +
+ {/if}
\ No newline at end of file diff --git a/upload/custom/templates/Bootstrap3/privacy.tpl b/upload/custom/templates/Bootstrap3/privacy.tpl new file mode 100644 index 0000000..251b8d5 --- /dev/null +++ b/upload/custom/templates/Bootstrap3/privacy.tpl @@ -0,0 +1,14 @@ +{include file='navbar.tpl'} + +
+
+
+

{$PRIVACY_POLICY}

+ +

{$POLICY}

+ +
+
+
+ +{include file='footer.tpl'} \ No newline at end of file diff --git a/upload/custom/templates/Bootstrap3/profile.tpl b/upload/custom/templates/Bootstrap3/profile.tpl index 342ca0c..7e776ab 100644 --- a/upload/custom/templates/Bootstrap3/profile.tpl +++ b/upload/custom/templates/Bootstrap3/profile.tpl @@ -93,7 +93,7 @@
-

{$post.nickname}:

+

{$post.nickname}:

{$post.date_rough}
diff --git a/upload/custom/templates/Bootstrap3/template.php b/upload/custom/templates/Bootstrap3/template.php index 44285a5..c81c498 100644 --- a/upload/custom/templates/Bootstrap3/template.php +++ b/upload/custom/templates/Bootstrap3/template.php @@ -2,15 +2,17 @@ /* * Made by Samerton * https://github.com/NamelessMC/Nameless/ - * NamelessMC version 2.0.0-pr3 + * NamelessMC version 2.0.0-pr4 * * License: MIT * * Bootstrap 3 template */ -$template_version = 'v2.0.0-pr3'; // Version number of template -$nl_template_version = '2.0.0-pr3'; // Nameless version template is designed for +$template_version = 'v2.0.0-pr4'; // Version number of template +$nl_template_version = '2.0.0-pr4'; // Nameless version template is designed for + +$route = rtrim($_GET['route'], '/'); $cache->setCache('bs3_template'); if($cache->isCached('bootswatch')){ @@ -43,22 +45,21 @@ (defined('CONFIG_PATH') ? CONFIG_PATH : '') . '/custom/templates/Bootstrap3/js/bootstrap.min.js' ); - if(defined('PAGE') && PAGE == 'cc_messaging'){ + if($route == '/user/messaging'){ $js_sources[] = (defined('CONFIG_PATH') ? CONFIG_PATH : '') . '/custom/templates/Bootstrap3/js/bootstrap3-typeahead.min.js'; } // Page load time - $page_load = microtime(true) - $start; - if(isset($page_loading) && $page_loading == '1'){ - $js = ' + if(isset($page_loading) && $page_loading == '1') { + $page_load_js = ' '; - } else $js = ''; + } // Popovers - $js.= ' + $js = ' '; + } else { + if(defined('COOKIE_NOTICE')){ + $js .= ''; + } } // Registration page/login page checkbox - if(defined('PAGE') && (PAGE == 'login' || PAGE == 'register' || PAGE == 'complete_signup')){ + if($route == '/login' || $route == '/register' || $route == '/complete_signup'){ $js .= '