{config.relative_path} instead of {relative_path}

v1.18.x
psychobunny 10 years ago
parent 5c4e988232
commit e6beeb62cf

@ -7,6 +7,6 @@
<!-- ENDIF error -->
<!-- IF !loggedIn -->
<p>[[global:403.login, {relative_path}]]</p>
<p>[[global:403.login, {config.relative_path}]]</p>
<!-- ENDIF !loggedIn -->
</div>

@ -3,6 +3,6 @@
<!-- IF error -->
<p>{error}</p>
<!-- ELSE -->
<p>[[global:404.message, {relative_path}]]</p>
<p>[[global:404.message, {config.relative_path}]]</p>
<!-- ENDIF error -->
</div>

@ -38,11 +38,11 @@
<div>
<div class="panel panel-default" data-pid="{posts.pid}" data-tid="{posts.topic.tid}">
<div class="panel-body">
<a href="{relative_path}/user/{posts.user.userslug}">
<a href="{config.relative_path}/user/{posts.user.userslug}">
<img title="{posts.user.username}" class="img-rounded user-img" src="{posts.user.picture}">
</a>
<a href="{relative_path}/user/{posts.user.userslug}">
<a href="{config.relative_path}/user/{posts.user.userslug}">
<strong><span>{posts.user.username}</span></strong>
</a>
<div class="content">
@ -51,8 +51,8 @@
</div>
<small>
<span class="pull-right">
Posted in <a href="{relative_path}/category/{posts.category.slug}" target="_blank"><i class="fa {posts.category.icon}"></i> {posts.category.name}</a>, <span class="timeago" title="{posts.relativeTime}"></span> &bull;
<a href="{relative_path}/topic/{posts.topic.slug}/{posts.index}" target="_blank">Read More</a>
Posted in <a href="{config.relative_path}/category/{posts.category.slug}" target="_blank"><i class="fa {posts.category.icon}"></i> {posts.category.name}</a>, <span class="timeago" title="{posts.relativeTime}"></span> &bull;
<a href="{config.relative_path}/topic/{posts.topic.slug}/{posts.index}" target="_blank">Read More</a>
</span>
</small>
</div>

@ -14,7 +14,7 @@
<!-- BEGIN tags -->
<div class="tag-row" data-tag="{tags.value}">
<div data-value="{tags.value}">
<span class="tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.value}</span><span class="tag-topic-count"><a href="{relative_path}/tags/{tags.value}" target="_blank">{tags.score}</a></span>
<span class="tag-item" data-tag="{tags.value}" style="<!-- IF tags.color -->color: {tags.color};<!-- ENDIF tags.color --><!-- IF tags.bgColor -->background-color: {tags.bgColor};<!-- ENDIF tags.bgColor -->">{tags.value}</span><span class="tag-topic-count"><a href="{config.relative_path}/tags/{tags.value}" target="_blank">{tags.score}</a></span>
</div>
<div class="tag-modal hidden">
<div class="form-group">

@ -4,11 +4,11 @@
<div class="panel-heading"><i class="fa fa-user"></i> Users</div>
<div class="panel-body">
<ul class="nav nav-pills">
<li class='active'><a href='{relative_path}/admin/manage/users/latest'>Latest Users</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/sort-posts'>Top Posters</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/sort-reputation'>Most Reputation</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/banned'>Banned</a></li>
<li class=''><a href='{relative_path}/admin/manage/users/search'>User Search</a></li>
<li class='active'><a href='{config.relative_path}/admin/manage/users/latest'>Latest Users</a></li>
<li class=''><a href='{config.relative_path}/admin/manage/users/sort-posts'>Top Posters</a></li>
<li class=''><a href='{config.relative_path}/admin/manage/users/sort-reputation'>Most Reputation</a></li>
<li class=''><a href='{config.relative_path}/admin/manage/users/banned'>Banned</a></li>
<li class=''><a href='{config.relative_path}/admin/manage/users/search'>User Search</a></li>
<div class="btn-group pull-right">
@ -63,7 +63,7 @@
</div>
</div>
<a href="{relative_path}/user/{users.userslug}" target="_blank">{users.username} ({users.uid})</a><br/>
<a href="{config.relative_path}/user/{users.userslug}" target="_blank">{users.username} ({users.uid})</a><br/>
<!-- IF users.email -->
<small><span title="{users.email}">{users.email}</span></small>
<!-- ENDIF users.email -->

@ -34,7 +34,7 @@
<form>
<label>Site Logo</label>
<input id="logoUrl" type="text" class="form-control" placeholder="Path to a logo to display on forum header" data-field="brand:logo" /><br />
<input data-action="upload" data-target="logoUrl" data-route="{relative_path}/api/admin/uploadlogo" type="button" class="btn btn-default" value="Upload Logo"></input>
<input data-action="upload" data-target="logoUrl" data-route="{config.relative_path}/api/admin/uploadlogo" type="button" class="btn btn-default" value="Upload Logo"></input>
</form>
</div>
</div>
@ -45,7 +45,7 @@
<form>
<label>Favicon</label><br />
<input id="faviconUrl" type="text" class="form-control" placeholder="favicon.ico" data-field="brand:favicon" /><br />
<input data-action="upload" data-target="faviconUrl" data-route="{relative_path}/api/admin/uploadfavicon" type="button" class="btn btn-default" value="Upload"></input>
<input data-action="upload" data-target="faviconUrl" data-route="{config.relative_path}/api/admin/uploadfavicon" type="button" class="btn btn-default" value="Upload"></input>
</form>
</div>
</div>

@ -73,7 +73,7 @@
<div class="form-group">
<label>Custom Gravatar Default Image</label>
<input id="customGravatarDefaultImage" type="text" class="form-control" placeholder="A custom image to use instead of gravatar defaults" data-field="customGravatarDefaultImage" /><br />
<input data-action="upload" data-target="customGravatarDefaultImage" data-route="{relative_path}/api/admin/uploadgravatardefault" type="button" class="btn btn-default" value="Upload"></input>
<input data-action="upload" data-target="customGravatarDefaultImage" data-route="{config.relative_path}/api/admin/uploadgravatardefault" type="button" class="btn btn-default" value="Upload"></input>
</div>
<div class="form-group">

Loading…
Cancel
Save