diff --git a/public/templates/account.tpl b/public/templates/account.tpl index e1ddded78a..9b5eae3519 100644 --- a/public/templates/account.tpl +++ b/public/templates/account.tpl @@ -3,7 +3,7 @@ <div class="account-username-box" data-userslug="{userslug}"> <span class="account-username"> - <a href="/user/{userslug}">{username}</a> + <a href="{relative_path}/user/{userslug}">{username}</a> </span> </div> diff --git a/public/templates/accountedit.tpl b/public/templates/accountedit.tpl index 0c4f8ca196..09b1cc5461 100644 --- a/public/templates/accountedit.tpl +++ b/public/templates/accountedit.tpl @@ -32,8 +32,8 @@ <div class="account-username-box" data-userslug="{userslug}"> <span class="account-username"> - <a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> - <a href="/user/{userslug}/edit">[[user:edit]]</a> + <a href="{relative_path}/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> + <a href="{relative_path}/user/{userslug}/edit">[[user:edit]]</a> </span> </div> diff --git a/public/templates/accountsettings.tpl b/public/templates/accountsettings.tpl index f3987b69cc..f90b978973 100644 --- a/public/templates/accountsettings.tpl +++ b/public/templates/accountsettings.tpl @@ -2,8 +2,8 @@ <div class="account-username-box" data-userslug="{userslug}"> <span class="account-username"> - <a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> - <a href="/user/{userslug}/settings">[[user:settings]]</a> + <a href="{relative_path}/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> + <a href="{relative_path}/user/{userslug}/settings">[[user:settings]]</a> </span> </div> diff --git a/public/templates/category.tpl b/public/templates/category.tpl index 30dd871851..79bbcd7412 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -1,11 +1,10 @@ <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">{category_name} <a target="_blank" href="../{category_id}.rss"><i class="fa fa-rss-square"></i></a></span> </li> - <div id="category_active_users"></div> </ol> <div> @@ -56,7 +55,7 @@ </span> | <span> - <a href="/user/{topics.userslug}"> + <a href="../../user/{topics.userslug}"> <img class="teaser-pic" src="{topics.picture}" title="{topics.username}"/> </a> [[category:posted]] <span class="timeago" title="{topics.relativeTime}"></span> @@ -66,7 +65,7 @@ <!-- IF topics.unreplied --> [[category:no_replies]] <!-- ELSE --> - <a href="/user/{topics.teaser_userslug}"> + <a href="../../user/{topics.teaser_userslug}"> <img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/> </a> <a href="../../topic/{topics.slug}#{topics.teaser_pid}"> @@ -95,7 +94,7 @@ <div class="panel-heading">[[category:sidebar.active_participants]]</div> <div class="panel-body active-users"> <!-- BEGIN active_users --> - <a data-uid="{active_users.uid}" href="/user/{active_users.userslug}"><img title="{active_users.username}" src="{active_users.picture}" class="img-rounded user-img" /></a> + <a data-uid="{active_users.uid}" href="../../user/{active_users.userslug}"><img title="{active_users.username}" src="{active_users.picture}" class="img-rounded user-img" /></a> <!-- END active_users --> </div> </div> @@ -104,7 +103,7 @@ <div class="panel-heading">[[category:sidebar.moderators]]</div> <div class="panel-body moderators"> <!-- BEGIN moderators --> - <a href="/user/{moderators.userslug}"><img title="{moderators.username}" src="{moderators.picture}" class="img-rounded" /></a> + <a href="../../user/{moderators.userslug}"><img title="{moderators.username}" src="{moderators.picture}" class="img-rounded" /></a> <!-- END moderators --> </div> </div> diff --git a/public/templates/confirm.tpl b/public/templates/confirm.tpl index ef9638a906..7662d9e177 100644 --- a/public/templates/confirm.tpl +++ b/public/templates/confirm.tpl @@ -2,6 +2,6 @@ <strong>{title}</strong> <p>{text}</p> <p> - <a href="/">[[notifications:back_to_home]]</a> + <a href="{relative_path}/">[[notifications:back_to_home]]</a> </p> </div> diff --git a/public/templates/favourites.tpl b/public/templates/favourites.tpl index 7412c907ed..c26e4952c1 100644 --- a/public/templates/favourites.tpl +++ b/public/templates/favourites.tpl @@ -1,13 +1,13 @@ <div class="well favourites"> <div class="account-username-box" data-userslug="{userslug}"> <span class="account-username"> - <a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> - <a href="/user/{userslug}/favourites">[[topic:favourites]]</a> + <a href="{relative_path}/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> + <a href="{relative_path}/user/{userslug}/favourites">[[topic:favourites]]</a> </span> </div> <!-- IF show_nofavourites --> - <div id="no-favourites-notice" class="alert alert-warning">[[topic:has_no_favourites]]</div> + <div id="no-favourites-notice" class="alert alert-warning">[[topic:favourites.has_no_favourites]]</div> <!-- ENDIF show_nofavourites --> <div class="row"> diff --git a/public/templates/followers.tpl b/public/templates/followers.tpl index 3e8ad82a63..7182280206 100644 --- a/public/templates/followers.tpl +++ b/public/templates/followers.tpl @@ -2,20 +2,20 @@ <div class="account-username-box" data-userslug="{userslug}"> <span class="account-username"> - <a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> - <a href="/user/{userslug}/followers">[[user:followers]]</a> + <a href="../../user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> + <a href="../../user/{userslug}/followers">[[user:followers]]</a> </span> </div> <div> <!-- BEGIN followers --> <div class="users-box"> - <a href="/user/{followers.userslug}"> + <a href="../../user/{followers.userslug}"> <img src="{followers.picture}" class="img-thumbnail"/> </a> <br/> <div class="user-info"> - <a href="/user/{followers.userslug}">{followers.username}</a> + <a href="../../user/{followers.userslug}">{followers.username}</a> <br/> <div title="reputation" class="reputation"> <i class='fa fa-star'></i> diff --git a/public/templates/following.tpl b/public/templates/following.tpl index 0b415cd3f3..a2bf44c430 100644 --- a/public/templates/following.tpl +++ b/public/templates/following.tpl @@ -2,20 +2,20 @@ <div class="account-username-box" data-userslug="{userslug}"> <span class="account-username"> - <a href="/user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> - <a href="/user/{userslug}/following">[[user:following]]</a> + <a href="../../user/{userslug}">{username}</a> <i class="fa fa-chevron-right"></i> + <a href="../../user/{userslug}/following">[[user:following]]</a> </span> </div> <div> <!-- BEGIN following --> <div class="users-box"> - <a href="/user/{following.userslug}"> + <a href="../../user/{following.userslug}"> <img src="{following.picture}" class="img-thumbnail"/> </a> <br/> <div class="user-info"> - <a href="/user/{following.userslug}">{following.username}</a> + <a href="../../user/{following.userslug}">{following.username}</a> <br/> <div title="reputation" class="reputation"> <span class='formatted-number'>{following.reputation}</span> diff --git a/public/templates/home.tpl b/public/templates/home.tpl index 98ce2c7dcd..b3f84d3d0e 100644 --- a/public/templates/home.tpl +++ b/public/templates/home.tpl @@ -5,7 +5,7 @@ <div class="row home" itemscope itemtype="http://www.schema.org/ItemList"> <!-- BEGIN categories --> <div class="{categories.class}"> - <a href="category/{categories.slug}" itemprop="url"> + <a href="{relative_path}/category/{categories.slug}" itemprop="url"> <meta itemprop="name" content="{categories.name}"> <h4><span class="badge {categories.badgeclass}">{categories.topic_count} </span> {categories.name}</h4> <div class="icon" style="background: {categories.background}; color: {categories.color};"> diff --git a/public/templates/login.tpl b/public/templates/login.tpl index 233986f339..d1b4055cb2 100644 --- a/public/templates/login.tpl +++ b/public/templates/login.tpl @@ -1,6 +1,6 @@ <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">[[login:login]]</span> @@ -41,7 +41,7 @@ <div class="form-group"> <div class="col-lg-offset-2 col-lg-10"> <hr /> - <button class="btn btn-primary btn-lg btn-block" id="login" type="submit">[[login:login]]</button> <a id="reset-link" class="hide" href="/reset">[[login:forgot_password]]</a> + <button class="btn btn-primary btn-lg btn-block" id="login" type="submit">[[login:login]]</button> <a id="reset-link" class="hide" href="{relative_path}/reset">[[login:forgot_password]]</a> </div> </div> <input type="hidden" name="_csrf" value="{token}" id="csrf-token" /> diff --git a/public/templates/logout.tpl b/public/templates/logout.tpl index 1704a611e0..d712bb3842 100644 --- a/public/templates/logout.tpl +++ b/public/templates/logout.tpl @@ -1,6 +1,6 @@ <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">[[global:logout]]</span> diff --git a/public/templates/noscript/category.tpl b/public/templates/noscript/category.tpl index e2098aa4c0..d36f621aed 100644 --- a/public/templates/noscript/category.tpl +++ b/public/templates/noscript/category.tpl @@ -1,7 +1,6 @@ <ol class="breadcrumb"> <li><a href="/">Home</a></li> <li class="active">{category_name}</li> - <div id="category_active_users"></div> </ol> <ul class="topics"> <!-- BEGIN topics --> diff --git a/public/templates/outgoing.tpl b/public/templates/outgoing.tpl index bbe1ac4af8..6c6d8d9e0f 100644 --- a/public/templates/outgoing.tpl +++ b/public/templates/outgoing.tpl @@ -1,7 +1,7 @@ <div class="outgoing"> <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">Home</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">Home</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">[[notifications:outgoing_link]]</span> diff --git a/public/templates/recent.tpl b/public/templates/recent.tpl index 4ddcf250bb..3cd0ef667d 100644 --- a/public/templates/recent.tpl +++ b/public/templates/recent.tpl @@ -1,17 +1,17 @@ <ol class="breadcrumb"> - <li><a href="/">Home</a></li> - <li class="active">Recent <a href="/recent.rss"><i class="fa fa-rss-square"></i></a></li> + <li><a href="{relative_path}/">Home</a></li> + <li class="active">Recent <a href="{relative_path}/recent.rss"><i class="fa fa-rss-square"></i></a></li> </ol> <ul class="nav nav-pills"> - <li class=''><a href='/recent/day'>[[recent:day]]</a></li> - <li class=''><a href='/recent/week'>[[recent:week]]</a></li> - <li class=''><a href='/recent/month'>[[recent:month]]</a></li> + <li class=''><a href='{relative_path}/recent/day'>[[recent:day]]</a></li> + <li class=''><a href='{relative_path}/recent/week'>[[recent:week]]</a></li> + <li class=''><a href='{relative_path}/recent/month'>[[recent:month]]</a></li> </ul> <br /> -<a href="/recent"> +<a href="{relative_path}/recent"> <div class="alert alert-warning hide" id="new-topics-alert"></div> </a> @@ -27,7 +27,7 @@ <div class="row"> <div class="col-md-12 col-xs-12 topic-row img-thumbnail"> - <a href="../../topic/{topics.slug}"> + <a href="{relative_path}/topic/{topics.slug}"> <h3><span class="topic-title"><strong><i class="fa {topics.pin-icon}"></i> <i class="fa {topics.lock-icon}"></i></strong> {topics.title}</span></h3> </a> <small> @@ -42,11 +42,11 @@ </span> | <span> - <a href="/user/{topics.userslug}"> + <a href="{relative_path}/user/{topics.userslug}"> <img class="teaser-pic" src="{topics.picture}" title="{topics.username}"/> </a> posted in - <a href="../../category/{topics.categorySlug}"> + <a href="{relative_path}/category/{topics.categorySlug}"> <i class="fa {topics.categoryIcon}"></i> {topics.categoryName} </a> <span class="timeago" title="{topics.relativeTime}"></span> @@ -57,10 +57,10 @@ <!-- IF topics.unreplied --> No one has replied <!-- ELSE --> - <a href="/user/{topics.teaser_userslug}"> + <a href="{relative_path}/user/{topics.teaser_userslug}"> <img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/> </a> - <a href="../../topic/{topics.slug}#{topics.teaser_pid}"> + <a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}"> replied </a> <span class="timeago" title="{topics.teaser_timestamp}"></span> diff --git a/public/templates/register.tpl b/public/templates/register.tpl index e443f388af..c6e7e3b898 100644 --- a/public/templates/register.tpl +++ b/public/templates/register.tpl @@ -1,6 +1,6 @@ <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">[[register:register]]</span> diff --git a/public/templates/reset.tpl b/public/templates/reset.tpl index 7e6f996f46..bcc4d4d931 100644 --- a/public/templates/reset.tpl +++ b/public/templates/reset.tpl @@ -1,6 +1,6 @@ <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">[[reset_password:reset_password]]</span> @@ -8,8 +8,9 @@ </ol> <div class="alert alert-info"> - [[reset_password:reset_password:enter_email]] - </div> + [[reset_password:reset_password:enter_email]] +</div> + <div class="well"> <div class="alert alert-success" id="success" style="display:none"> <button type="button" class="close" data-dismiss="alert">×</button> diff --git a/public/templates/reset_code.tpl b/public/templates/reset_code.tpl index 40a2dee402..6931f6c346 100644 --- a/public/templates/reset_code.tpl +++ b/public/templates/reset_code.tpl @@ -1,9 +1,9 @@ <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/reset" itemprop="url"><span itemprop="title">[[reset_password:reset_password]]</span></a> + <a href="{relative_path}/reset" itemprop="url"><span itemprop="title">[[reset_password:reset_password]]</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">[[reset_password:update_password]]</span> diff --git a/public/templates/search.tpl b/public/templates/search.tpl index 0f2ad27a30..4eb5e44f2e 100644 --- a/public/templates/search.tpl +++ b/public/templates/search.tpl @@ -1,5 +1,5 @@ <ol class="breadcrumb"> - <li><a href="/">[[global:home]]</a></li> + <li><a href="{relative_path}/">[[global:home]]</a></li> <li class="active">[[global:header.search]]</li> </ol> @@ -26,7 +26,7 @@ <!-- BEGIN topics --> <li class="category-item"> - <a href="../../topic/{topics.slug}" id="tid-{topics.tid}"> + <a href="{relative_path}/topic/{topics.slug}" id="tid-{topics.tid}"> <div> <div class="col-md-12 img-thumbnail"> <div class="search-result-post"> @@ -50,7 +50,7 @@ <ul id="topics-container" data-search-query="{search_query}"> <!-- BEGIN posts --> <li class="category-item"> - <a href="../../topic/{posts.topicSlug}#{posts.pid}" id="tid-{posts.tid}"> + <a href="{relative_path}/topic/{posts.topicSlug}#{posts.pid}" id="tid-{posts.tid}"> <div> <div class="col-md-12 img-thumbnail"> <div class="search-result-post"> diff --git a/public/templates/topic.tpl b/public/templates/topic.tpl index a38357fafa..26bdee338e 100644 --- a/public/templates/topic.tpl +++ b/public/templates/topic.tpl @@ -13,10 +13,10 @@ <div class="topic"> <ol class="breadcrumb"> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> + <a href="{relative_path}/" itemprop="url"><span itemprop="title">[[global:home]]</span></a> </li> <li itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> - <a href="/category/{category_slug}" itemprop="url"><span itemprop="title">{category_name}</span></a> + <a href="{relative_path}/category/{category_slug}" itemprop="url"><span itemprop="title">{category_name}</span></a> </li> <li class="active" itemscope="itemscope" itemtype="http://data-vocabulary.org/Breadcrumb"> <span itemprop="title">{topic_name} <a target="_blank" href="../{topic_id}.rss"><i class="fa fa-rss-square"></i></a></span> @@ -33,7 +33,7 @@ <meta itemprop="dateModified" content="{posts.relativeEditTime}"> <div class="col-md-1 profile-image-block hidden-xs hidden-sm sub-post"> - <a href="/user/{posts.userslug}"> + <a href="{relative_path}/user/{posts.userslug}"> <img src="{posts.picture}" align="left" class="img-thumbnail" itemprop="image" /> <!-- IF posts.user_banned --> <span class="label label-danger">[[topic:banned]]</span> @@ -44,7 +44,7 @@ <div class="col-md-11"> <div class="post-block"> - <a class="main-post avatar" href="/user/{posts.userslug}"> + <a class="main-post avatar" href="{relative_path}/user/{posts.userslug}"> <img itemprop="image" src="{posts.picture}" align="left" class="img-thumbnail" width=150 height=150 /> </a> <h3 class="main-post"> @@ -54,12 +54,12 @@ <div class="topic-buttons"> <div class="btn-group"> <button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button" title="[[topic:posted_by]] {posts.username}"> - <span class="username-field" href="/user/{posts.userslug}" itemprop="author">{posts.username} </span> + <span class="username-field" href="{relative_path}/user/{posts.userslug}" itemprop="author">{posts.username} </span> <span class="caret"></span> </button> <ul class="dropdown-menu"> - <li><a href="/user/{posts.userslug}"><i class="fa fa-user"></i> [[topic:profile]]</a></li> + <li><a href="{relative_path}/user/{posts.userslug}"><i class="fa fa-user"></i> [[topic:profile]]</a></li> <li><a href="#" class="chat"><i class="fa fa-comment"></i> [[topic:chat]]</a></li> </ul> </div> @@ -120,7 +120,7 @@ <span class="pull-right"> [[category:posted]] <span class="relativeTimeAgo timeago" title="{posts.relativeTime}"></span> <!-- IF posts.editor --> - <span>| [[category:last_edited_by]] <strong><a href="/user/{posts.editorslug}">{posts.editorname}</a></strong></span> + <span>| [[category:last_edited_by]] <strong><a href="{relative_path}/user/{posts.editorslug}">{posts.editorname}</a></strong></span> <span class="timeago" title="{posts.relativeEditTime}"></span> <!-- ENDIF posts.editor --> </span> diff --git a/public/templates/unread.tpl b/public/templates/unread.tpl index 512df36c3d..1054e6d03b 100644 --- a/public/templates/unread.tpl +++ b/public/templates/unread.tpl @@ -1,8 +1,7 @@ <div class="unread"> <ol class="breadcrumb"> - <li><a href="/">[[global:home]]</a></li> + <li><a href="{relative_path}/">[[global:home]]</a></li> <li class="active">{category_name}</li> - <div id="category_active_users"></div> </ol> <div class="alert alert-warning {no_topics_message}" id="category-no-topics"> @@ -11,7 +10,7 @@ <button id="mark-allread-btn" class="btn btn-primary {show_markallread_button}">[[unread:mark_all_read]]</button> - <a href="/unread"> + <a href="{relative_path}/unread"> <div class="alert alert-warning hide" id="new-topics-alert"></div> </a> @@ -22,7 +21,7 @@ <li class="category-item {topics.deleted-class}"> <div class="row"> <div class="col-md-12 topic-row"> - <a href="../../topic/{topics.slug}"> + <a href="{relative_path}/topic/{topics.slug}"> <h3><span class="topic-title"><strong><i class="fa {topics.pin-icon}"></i> <i class="fa {topics.lock-icon}"></i></strong> {topics.title}</span></h3> </a> <small> @@ -37,11 +36,11 @@ </span> | <span> - <a href="/user/{topics.userslug}"> - <img class="img-rounded teaser-pic" src="{topics.picture}" title="{topics.username}"/> + <a href="{relative_path}/user/{topics.userslug}"> + <img class="teaser-pic" src="{topics.picture}" title="{topics.username}"/> </a> posted in - <a href="../../category/{topics.categorySlug}"> + <a href="{relative_path}/category/{topics.categorySlug}"> <i class="fa {topics.categoryIcon}"></i> {topics.categoryName} </a> <span class="timeago" title="{topics.relativeTime}"></span> @@ -52,10 +51,10 @@ <!-- IF topics.unreplied --> No one has replied <!-- ELSE --> - <a href="/user/{topics.teaser_userslug}"> + <a href="{relative_path}/user/{topics.teaser_userslug}"> <img class="teaser-pic" src="{topics.teaser_userpicture}" title="{topics.teaser_username}"/> </a> - <a href="../../topic/{topics.slug}#{topics.teaser_pid}"> + <a href="{relative_path}/topic/{topics.slug}#{topics.teaser_pid}"> replied </a> <span class="timeago" title="{topics.teaser_timestamp}"></span> diff --git a/public/templates/users.tpl b/public/templates/users.tpl index e2f71022e6..529e6db16c 100644 --- a/public/templates/users.tpl +++ b/public/templates/users.tpl @@ -1,15 +1,15 @@ <div class="users"> <ul class="nav nav-pills"> - <li class=''><a href='/users/latest'>[[users:latest_users]]</a></li> - <li class=''><a href='/users/sort-posts'>[[users:top_posters]]</a></li> - <li class=''><a href='/users/sort-reputation'>[[users:most_reputation]]</a></li> - <li class=''><a href='/users/online'>[[users:online]]</a></li> - <li class=''><a href='/users/search'>[[users:search]]</a></li> + <li class=''><a href='{relative_path}/users/latest'>[[users:latest_users]]</a></li> + <li class=''><a href='{relative_path}/users/sort-posts'>[[users:top_posters]]</a></li> + <li class=''><a href='{relative_path}/users/sort-reputation'>[[users:most_reputation]]</a></li> + <li class=''><a href='{relative_path}/users/online'>[[users:online]]</a></li> + <li class=''><a href='{relative_path}/users/search'>[[users:search]]</a></li> </ul> <br /> - <div class="search {search_display} well"> + <div class="search {search_display} well"> <div class="input-group"> <input class="form-control" id="search-user" type="text" placeholder="[[users:enter_username]]"/> <span class="input-group-addon"> @@ -21,12 +21,12 @@ <ul id="users-container" class="users-container"> <!-- BEGIN users --> <li class="users-box registered-user"> - <a href="/user/{users.userslug}"> + <a href="{relative_path}/user/{users.userslug}"> <img src="{users.picture}" class="img-thumbnail"/> </a> <br/> <div class="user-info"> - <a href="/user/{users.userslug}">{users.username}</a> + <a href="{relative_path}/user/{users.userslug}">{users.username}</a> <br/> <div title="reputation" class="reputation"> <i class='fa fa-star'></i>