Skip to content

Commit

Permalink
Update more templates
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Aug 8, 2019
1 parent b42b999 commit b253d3e
Show file tree
Hide file tree
Showing 39 changed files with 227 additions and 285 deletions.
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/browse.tpl
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<div class="header">
<div class="breadcrumb-wrapper">
<ul class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/
<a href="{$smarty.const.WWW_TOP}/{if preg_match('/^alt\.binaries|a\.b|dk\./i', $parentcat)}browse/group?g={else}browse/{/if}{if ($parentcat == 'music')}Audio{else}{$parentcat}{/if}">{$parentcat}</a>
<a href="{{url("/{if preg_match('/^alt\.binaries|a\.b|dk\./i', $parentcat)}browse/group?g={else}browse/{/if}{if ($parentcat == 'music')}Audio{else}{$parentcat}{/if}")}}">{$parentcat}</a>
/ {if ($catname != '' && $catname != 'all')} <a
href="{url("/browse/{$parentcat}/{$catname}")}}">{$catname}</a>{/if}
</ul>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/browsegroup.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>Browse > <strong>Groups</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ Browse / Groups
</ol>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/cart.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h2><strong>My Download Basket</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ Download Basket
</ol>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/console.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
<div class="col-md-2 small-gutter-left">
<a title="View details"
href="{{url("/details/{$result->guid}")}}">
<img src="{{url("/covers/console/{if $result->cover == 1}{$result->consoleinfo_id}.jpg{else}{{assets("/assets/images/no-cover.png")}}{/if}")}}"
<img src="{{url("/covers/console/{if $result->cover == 1}{$result->consoleinfo_id}.jpg{else}{{asset("/assets/images/no-cover.png")}}{/if}")}}"
class="img-fluid rounded"
width="140" border="0"
alt="{$result->title|escape:"htmlall"}"/>{if !empty($result->failed)}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/contact.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<h2>Contact Us</h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ Contact
</ol>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/content.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<h2>Help > <strong>{$c->title}</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ {$c->title}
</ol>
</div>
Expand All @@ -24,7 +24,7 @@
<h2>Help > <strong>{$c->title}</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ {$c->title}
</ol>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/mymovies.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>My > <strong>Movies</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ My Movies
</ol>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/myshows.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<h2>My > <strong>TV Shows</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ My TV Shows
</ol>
</div>
Expand Down
20 changes: 10 additions & 10 deletions resources/views/themes/Gentele/nzbvortex-ajax.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
<br/>
<div style="width: 20px; float: left; margin: 7px 0 0 0">
{if $nzb['isPaused'] == 1}
<img src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/blah.png"
<img src="{{asset("/assets/images/icons/vortex/blah.png")}}"
style="float: left; margin: 0 5px 0 0"/>
{else}
<img src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/bigsmile.png"
<img src="{{asset("/assets/images/icons/vortex/bigsmile.png")}}"
style="float: left; margin: 0 5px 0 0"/>
{/if}
</div>
Expand All @@ -27,25 +27,25 @@
<div style="border-right: 2px solid #eee; width: 41px; float: left; margin: 0 5px 0 0">
{if $nzb['isPaused'] == 1}
<a class="vortex-resume" title="Resume" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/play.png"/></a>
src="{{asset("/assets/images/icons/vortex/play.png")}}"/></a>
{else}
<a class="vortex-pause" title="Pause" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/pause.png"/></a>
src="{{asset("/assets/images/icons/vortex/pause.png")}}"/></a>
{/if}
<a class="vortex-filelist" title="View filelist" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/tv.png"/></a>
src="{{asset("/assets/images/icons/vortex/tv.png")}}"/></a>
</div>
<div class="vortex-controls" style="float: left">
<a class="vortex-moveup" title="Move up in queue" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/arrow2_n.png"/></a>
src="{{asset("/assets/images/icons/vortex/arrow2_n.png")}}"/></a>
<a class="vortex-movedown" title="Move down in queue" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/arrow2_s.png"/></a>
src="{{asset("/assets/images/icons/vortex/arrow2_s.png")}}"/></a>
<a class="vortex-movebottom" title="Move to bottom of queue" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/arrow3_s.png"/></a>
src="{{asset("/assets/images/icons/vortex/arrow3_s.png")}}"/></a>
<a class="vortex-movetop" title="Move to top of queue" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/arrow3_n.png"/></a>
src="{{asset("/assets/images/icons/vortex/arrow3_n.png")}}"/></a>
<a class="vortex-trash" title="Cancel and delete NZB" href="{$nzb['id']}"><img
src="{$smarty.const.WWW_ASSETS}/images/icons/vortex/trash.png"/></a>
src="{{asset("/assets/images/icons/vortex/trash.png")}}"/></a>
</div>
<br style="clear: both"/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions resources/views/themes/Gentele/nzbvortex.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>NZBVortex > <strong>Queue</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ NZB
</ol>
</div>
Expand Down Expand Up @@ -37,4 +37,4 @@
{/literal}
{else}
<p>Make sure you've entered API key and server URL under profile settings.</p>
{/if}
{/if}
14 changes: 0 additions & 14 deletions resources/views/themes/Gentele/opensearch.tpl

This file was deleted.

10 changes: 5 additions & 5 deletions resources/views/themes/Gentele/profile.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ Profile / {$user.username|escape:"htmlall"}
</ol>
</div>
Expand Down Expand Up @@ -141,8 +141,8 @@
<tr>
<th title="Not public">API/RSS Key</th>
<td>
<a href="{$smarty.const.WWW_TOP}rss/full-feed?dl=1&amp;i={$user.id}&amp;api_token={$user.api_token}">{$user.api_token}</a>
<a href="{$smarty.const.WWW_TOP}profileedit?action=newapikey"
<a href="{{url("/rss/full-feed?dl=1&amp;i={$user.id}&amp;api_token={$user.api_token}")}}">{$user.api_token}</a>
<a href="{{url("profileedit?action=newapikey")}}"
class="badge badge-danger">GENERATE NEW
KEY</a>
</td>
Expand Down Expand Up @@ -247,12 +247,12 @@
</ul>
</div>
{if isset($isadmin) || !$publicview}
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}profileedit">Edit
<a class="btn btn-success" href="{{route("profileedit")}}">Edit
Profile</a>
{/if}
{if !isset($isadmin)}
<a class="btn btn-warning confirm_action"
href="{$smarty.const.WWW_TOP}profile_delete?id={$user.id}">Delete your account</a>
href="{{url("profile_delete?id={$user.id}")}}">Delete your account</a>
{/if}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/themes/Gentele/profileedit.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<h2>Edit Profile > <strong>{$user.username|escape:"htmlall"}</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ Profile / {$user.username|escape:"htmlall"}
</ol>
</div>
Expand Down
44 changes: 22 additions & 22 deletions resources/views/themes/Gentele/search.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<h2>{$site->title} > <strong>Search</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
<li><a href="{{url("{$site->home_link}")}}">Home</a></li>
/ Search
</ol>
</div>
Expand Down Expand Up @@ -140,18 +140,18 @@
<div class="col-md-4">
{if isset($shows)}
<p>
<a href="{$smarty.const.WWW_TOP}/series"
<a href="{{route('series')}}"
title="View available TV series">Series List</a> |
<a title="Manage your shows"
href="{$smarty.const.WWW_TOP}/myshows">Manage My Shows</a> |
href="{{route("myshows")}}">Manage My Shows</a> |
<a title="All releases in your shows as an RSS feed"
href="{$smarty.const.WWW_TOP}/rss/myshows?dl=1&amp;i={$userdata.id}&amp;api_token={$userdata.api_token}">Rss
href="{{url("/rss/myshows?dl=1&amp;i={$userdata.id}&amp;api_token={$userdata.api_token}")}}">Rss
Feed</a>
</p>
{/if}
<div class="nzb_multi_operations">
{if isset($section) && $section != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$section}?t={$category}">Covers</a>
<a href="{{url("/{$section}?t={$category}")}}">Covers</a>
|
<b>List</b>
<br/>
Expand Down Expand Up @@ -225,7 +225,7 @@
<td class="item">
<label for="chk{$result->guid|substr:0:7}">
<a class="title" title="View details"
href="{$smarty.const.WWW_TOP}/details/{$result->guid}">{$result->searchname|escape:"htmlall"|truncate:150:"...":true}</a>{if !empty($result->failed)}
href="{{url("/details/{$result->guid}")}}">{$result->searchname|escape:"htmlall"|truncate:150:"...":true}</a>{if !empty($result->failed)}
<i class="fa fa-exclamation-circle" style="color: red"
title="This release has failed to download for some users"></i>{/if}
</label value="Searchname">
Expand All @@ -234,28 +234,28 @@
{release_flag($result->searchname, browse)}
{if $result->passwordstatus == 1}
<img title="RAR/ZIP Possibly Passworded."
src="{$smarty.const.WWW_ASSETS}/images/icons/lock2.png"
src="{{asset("/assets/images/icons/lock2.png")}}"
alt="RAR/ZIP Possibly Passworded.">
{elseif $result->passwordstatus == 2}
<img title="RAR/ZIP Possibly Damaged."
src="{$smarty.const.WWW_ASSETS}/images/icons/broken.png"
src="{{asset("/assets/images/icons/broken.png")}}"
alt="RAR/ZIP Possibly Damaged.">
{elseif $result->passwordstatus == 10}
<img title="RAR/ZIP is Passworded."
src="{$smarty.const.WWW_ASSETS}/images/icons/lock.gif"
src="{{asset("/assets/images/icons/lock.gif")}}"
alt="RAR/ZIP is Passworded.">
{/if}
{if $result->videostatus > 0}
<a
class="model_prev badge badge-info"
href="{$smarty.const.WWW_TOP}/details/{$result->guid}"
href="{{url("/details/{$result->guid}")}}"
title="This release has a video preview."
rel="preview"
><i class="icon-youtube-play"></i>
</a>
{/if}
{if $result->nfoid > 0}
<a href="{$smarty.const.WWW_TOP}/nfo/{$result->guid}"
<a href="{{url("/nfo/{$result->guid}")}}"
title="View Nfo"
class="modal_nfo badge badge-info" rel="nfo">Nfo</a>
{/if}
Expand All @@ -264,13 +264,13 @@
class="modal_imdb badge badge-info" rel="movie">Cover</a>
{/if}
{if $result->haspreview == 1 && $userdata->can('preview') == true}
<a href="{$smarty.const.WWW_TOP}/covers/preview/{$result->guid}_thumb.jpg"
<a href="{{url("/covers/preview/{$result->guid}_thumb.jpg")}}"
name="name{$result->guid}"
data-fancybox
title="Screenshot of {$result->searchname|escape:"htmlall"}"
class="badge badge-info" rel="preview">Preview</a>{/if}
{if $result->jpgstatus == 1 && $userdata->can('preview') == true}
<a href="{$smarty.const.WWW_TOP}/covers/sample/{$result->guid}_thumb.jpg"
<a href="{{url("/covers/sample/{$result->guid}_thumb.jpg")}}"
name="name{$result->guid}"
data-fancybox
title="Sample of {$result->searchname|escape:"htmlall"}"
Expand All @@ -287,13 +287,13 @@
{/if}
{if $result->videos_id > 0}
<a class="badge badge-info"
href="{$smarty.const.WWW_TOP}/series/{$result->videos_id}"
href="{{url("/series/{$result->videos_id}")}}"
title="View all episodes">View
Series</a>
{/if}
{if $result->anidbid > 0}
<a class="badge badge-info"
href="{$smarty.const.WWW_TOP}/anime?id={$result->anidbid}"
href="{{url("/anime?id={$result->anidbid}")}}"
title="View all episodes">View
Anime</a>
{/if}
Expand All @@ -303,7 +303,7 @@
{/if}
{if $result->group_name != ""}
<a class="badge badge-info"
href="{$smarty.const.WWW_TOP}/browse/group?g={$result->group_name|escape:"htmlall"}"
href="{{url("/browse/group?g={$result->group_name|escape:"htmlall"}")}}"
title="Browse {$result->group_name}">{$result->group_name|escape:"htmlall"|replace:"alt.binaries.":"a.b."}</a>
{/if}
{if !empty($result->failed)}<span class="badge badge-info">
Expand All @@ -318,7 +318,7 @@
</td>
<td class="category">
<a title="Browse {$result->category_name}"
href="{$smarty.const.WWW_TOP}/browse/{$result->parent_category}/{$result->sub_category}"> {$result->category_name}</a>
href="{{url("/browse/{$result->parent_category}/{$result->sub_category}")}}"> {$result->category_name}</a>
</td>
<td class="posted" title="{$result->postdate}">
{$result->postdate|timeago}
Expand All @@ -336,27 +336,27 @@
</td>
<td class="files">
<a title="View file list"
href="{$smarty.const.WWW_TOP}/filelist/{$result->guid}">{$result->totalpart}</a>
href="{{url("/filelist/{$result->guid}")}}">{$result->totalpart}</a>
{if $result->rarinnerfilecount > 0}
<div class="rarfilelist">
<img src="{$smarty.const.WWW_ASSETS}/images/icons/magnifier.png"
<img src="{{asset("/assets/images/icons/magnifier.png")}}"
alt="{$result->guid}">
</div>
{/if}
</td>
<td class="stats">
<a title="View comments"
href="{$smarty.const.WWW_TOP}/details/{$result->guid}/#comments">{$result->comments}
href="{{url("/details/{$result->guid}/#comments")}}">{$result->comments}
cmt{if $result->comments != 1}s{/if}</a>
<br>{$result->grabs} grab{if $result->grabs != 1}s{/if}
</td>
<td>
<a href="{$smarty.const.WWW_TOP}/getnzb?id={$result->guid}"
<a href="{{url("/getnzb?id={$result->guid}")}}"
class="icon_nzb text-muted"><i
class="fa fa-cloud-download text-muted"
data-toggle="tooltip" data-placement="top" title
data-original-title="Download NZB"></i></a>
<a href="{$smarty.const.WWW_TOP}/details/{$result->guid}/#comments"><i
<a href="{{url("/details/{$result->guid}/#comments")}}"><i
class="fa fa-comments-o text-muted"
data-toggle="tooltip" data-placement="top" title
data-original-title="Comments"></i></a>
Expand Down
11 changes: 0 additions & 11 deletions resources/views/themes/Gentele/sitemap-xml.tpl

This file was deleted.

23 changes: 0 additions & 23 deletions resources/views/themes/Gentele/sitemap.tpl

This file was deleted.

Loading

0 comments on commit b253d3e

Please sign in to comment.