mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Change wrong usage of $show.videos_id to $show.id
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
{if $show.image != 0}
|
||||
<center>
|
||||
<img class="shadow img img-polaroid" style="max-height:300px;" alt="{$show.title} Logo"
|
||||
src="{$smarty.const.WWW_TOP}/covers/tvshows/{$show.videos_id}.jpg"/>
|
||||
src="{$smarty.const.WWW_TOP}/covers/tvshows/{$show.id}.jpg"/>
|
||||
</center>
|
||||
<br/>
|
||||
{/if}
|
||||
@@ -48,16 +48,8 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
{if $show|@count == 1 && $isadmin}
|
||||
<a class="btn btn-sm btn-default"
|
||||
href="{$smarty.const.WWW_TOP}/admin/rage-edit.php?id={$r.id}&action=update&from={$smarty.server.REQUEST_URI|escape:"url"}">Update
|
||||
From Tv Rage</a>
|
||||
{/if}
|
||||
<a class="btn btn-sm btn-default" target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$show.videos_id}" title="View in TvRage">View
|
||||
in Tv Rage</a>
|
||||
<a class="btn btn-sm btn-default"
|
||||
href="{$smarty.const.WWW_TOP}/rss?show={$show.videos_id}{if $category != ''}&t={$category}{/if}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}">RSS
|
||||
href="{$smarty.const.WWW_TOP}/rss?show={$show.id}{if $category != ''}&t={$category}{/if}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}">RSS
|
||||
for TV Show <i class="fa fa-rss"></i></a>
|
||||
</div>
|
||||
<br/>
|
||||
@@ -93,17 +85,17 @@
|
||||
<div class="btn-group">
|
||||
{if $myshows.id != ''}
|
||||
<a class="btn btn-sm btn-warning"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/edit/{$show.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="edit" name="series{$show.videos_id}"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/edit/{$show.id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="edit" name="series{$show.id}"
|
||||
title="Edit Categories for this show">Edit</a>
|
||||
<a class="btn btn-sm btn-danger"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/delete/{$show.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="remove" name="series{$show.videos_id}"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/delete/{$show.id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="remove" name="series{$show.id}"
|
||||
title="Remove from My Shows">Remove</a>
|
||||
{else}
|
||||
<a class="btn btn-sm btn-success"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/add/{$show.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="add" name="series{$show.videos_id}" title="Add to My Shows">Add</a>
|
||||
href="{$smarty.const.WWW_TOP}/myshows/add/{$show.id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="add" name="series{$show.id}" title="Add to My Shows">Add</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -44,23 +44,23 @@
|
||||
</tr>
|
||||
{foreach $series as $s}
|
||||
<tr>
|
||||
<td><a class="title" title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.videos_id}">{$s.releasetitle|escape:"htmlall"}</a>{if $s.prevdate != ''}<br /><span class="label label-info">Last: {$s.previnfo|escape:"htmlall"} aired {$s.prevdate|date_format}</span>{/if}</td>
|
||||
<td><a class="title" title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.id}">{$s.releasetitle|escape:"htmlall"}</a>{if $s.prevdate != ''}<br /><span class="label label-info">Last: {$s.previnfo|escape:"htmlall"} aired {$s.prevdate|date_format}</span>{/if}</td>
|
||||
<td>{$s.country|escape:"htmlall"}</td>
|
||||
<td>{$s.genre|escape:"htmlall"|replace:'|':', '}</td>
|
||||
<td class="mid">
|
||||
{if $s.userseriesid != ''}
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/edit/{$s.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-warning" rel="edit" name="series{$s.videos_id}" title="Edit">Edit</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/edit/{$s.id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-warning" rel="edit" name="series{$s.id}" title="Edit">Edit</a>
|
||||
<br />
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/delete/{$s.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-danger" rel="remove" name="series{$s.videos_id}" title="Remove from My Shows">Remove</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/delete/{$s.id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-danger" rel="remove" name="series{$s.id}" title="Remove from My Shows">Remove</a>
|
||||
{else}
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/add/{$s.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-primary" rel="add" name="series{$s.videos_id}" title="Add to My Shows">Add</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/add/{$s.id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-primary" rel="add" name="series{$s.id}" title="Add to My Shows">Add</a>
|
||||
{/if}
|
||||
</td>
|
||||
<td class="mid">
|
||||
<a title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.videos_id}">Series</a><br />
|
||||
{if $s.videos_id > 0}
|
||||
<a title="View at TVRage" target="_blank" href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$s.videos_id}">TVRage</a>
|
||||
<a title="RSS Feed for {$s.title|escape:"htmlall"}" href="{$smarty.const.WWW_TOP}/rss?show={$s.videos_id}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}"><i class="fa fa-rss"></i></a>
|
||||
<a title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.id}">Series</a><br />
|
||||
{if $s.id > 0}
|
||||
<a title="View at TVRage" target="_blank" href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$s.id}">TVRage</a>
|
||||
<a title="RSS Feed for {$s.title|escape:"htmlall"}" href="{$smarty.const.WWW_TOP}/rss?show={$s.id}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}"><i class="fa fa-rss"></i></a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -29,16 +29,16 @@
|
||||
{foreach $show as $r}
|
||||
{$r.title}
|
||||
{if !$r@last} / {/if}
|
||||
{/foreach}{if isset($isadmin)}<a class="btn btn-xs btn-warning" title="Edit TV Rage Data"
|
||||
href="{$smarty.const.WWW_TOP}/admin/rage-edit.php?id={$r.id}&from={$smarty.server.REQUEST_URI|escape:"url"}">
|
||||
Edit</a>{/if}
|
||||
{/foreach}
|
||||
{if isset($isadmin)}<a class="btn btn-xs btn-warning" title="Edit TV Rage Data"
|
||||
href="{$smarty.const.WWW_TOP}/admin/rage-edit.php?id={$r.id}&from={$smarty.serve.REQUEST_URI|escape:"url"}"> Edit</a>{/if}
|
||||
</h1>
|
||||
{if $catname != ''}<span class="text-info h5">Current category shown: {$catname|escape:"htmlall"}</span>{/if}
|
||||
<div class="tvseriesheading">
|
||||
{if $show.image != 0}
|
||||
<center>
|
||||
<img class="shadow img img-polaroid" style="max-height:300px;" alt="{$show.title} Logo"
|
||||
src="{$smarty.const.WWW_TOP}/covers/tvshows/{$show.videos_id}.jpg"/>
|
||||
src="{$smarty.const.WWW_TOP}/covers/tvshows/{$show.id}.jpg"/>
|
||||
</center>
|
||||
<br/>
|
||||
{/if}
|
||||
@@ -48,16 +48,8 @@
|
||||
</p>
|
||||
</div>
|
||||
<div class="btn-group">
|
||||
{if $show|@count == 1 && $isadmin}
|
||||
<a class="btn btn-sm btn-default"
|
||||
href="{$smarty.const.WWW_TOP}/admin/rage-edit.php?id={$r.id}&action=update&from={$smarty.server.REQUEST_URI|escape:"url"}">Update
|
||||
From Tv Rage</a>
|
||||
{/if}
|
||||
<a class="btn btn-sm btn-default" target="_blank"
|
||||
href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$show.videos_id}" title="View in TvRage">View
|
||||
in Tv Rage</a>
|
||||
<a class="btn btn-sm btn-default"
|
||||
href="{$smarty.const.WWW_TOP}/rss?show={$show.videos_id}{if $category != ''}&t={$category}{/if}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}">RSS
|
||||
href="{$smarty.const.WWW_TOP}/rss?show={$show.id}{if $category != ''}&t={$category}{/if}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}">RSS
|
||||
for TV Show <i class="fa fa-rss"></i></a>
|
||||
</div>
|
||||
<br/>
|
||||
@@ -93,17 +85,17 @@
|
||||
<div class="btn-group">
|
||||
{if $myshows.id != ''}
|
||||
<a class="btn btn-sm btn-warning"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/edit/{$show.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="edit" name="series{$show.videos_id}"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/edit/{$show.id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="edit" name="series{$show.id}"
|
||||
title="Edit Categories for this show">Edit</a>
|
||||
<a class="btn btn-sm btn-danger"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/delete/{$show.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="remove" name="series{$show.videos_id}"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/delete/{$show.id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="remove" name="series{$show.id}"
|
||||
title="Remove from My Shows">Remove</a>
|
||||
{else}
|
||||
<a class="btn btn-sm btn-success"
|
||||
href="{$smarty.const.WWW_TOP}/myshows/add/{$show.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="add" name="series{$show.videos_id}" title="Add to My Shows">Add</a>
|
||||
href="{$smarty.const.WWW_TOP}/myshows/add/{$show.id}?from={$smarty.server.REQUEST_URI|escape:"url"}"
|
||||
class="myshows" rel="add" name="series{$show.id}" title="Add to My Shows">Add</a>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -44,23 +44,23 @@
|
||||
</tr>
|
||||
{foreach $series as $s}
|
||||
<tr>
|
||||
<td><a class="title" title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.videos_id}">{$s.releasetitle|escape:"htmlall"}</a>{if $s.prevdate != ''}<br /><span class="label label-info">Last: {$s.previnfo|escape:"htmlall"} aired {$s.prevdate|date_format}</span>{/if}</td>
|
||||
<td><a class="title" title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.id}">{$s.releasetitle|escape:"htmlall"}</a>{if $s.prevdate != ''}<br /><span class="label label-info">Last: {$s.previnfo|escape:"htmlall"} aired {$s.prevdate|date_format}</span>{/if}</td>
|
||||
<td>{$s.country|escape:"htmlall"}</td>
|
||||
<td>{$s.genre|escape:"htmlall"|replace:'|':', '}</td>
|
||||
<td class="mid">
|
||||
{if $s.userseriesid != ''}
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/edit/{$s.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-warning" rel="edit" name="series{$s.videos_id}" title="Edit">Edit</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/edit/{$s.id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-warning" rel="edit" name="series{$s.id}" title="Edit">Edit</a>
|
||||
<br />
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/delete/{$s.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-danger" rel="remove" name="series{$s.videos_id}" title="Remove from My Shows">Remove</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/delete/{$s.id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-danger" rel="remove" name="series{$s.id}" title="Remove from My Shows">Remove</a>
|
||||
{else}
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/add/{$s.videos_id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-primary" rel="add" name="series{$s.videos_id}" title="Add to My Shows">Add</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/myshows/add/{$s.id}?from={$smarty.server.REQUEST_URI|escape:"url"}" class="myshows btn btn-sm btn-primary" rel="add" name="series{$s.id}" title="Add to My Shows">Add</a>
|
||||
{/if}
|
||||
</td>
|
||||
<td class="mid">
|
||||
<a title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.videos_id}">Series</a><br />
|
||||
{if $s.videos_id > 0}
|
||||
<a title="View at TVRage" target="_blank" href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$s.videos_id}">TVRage</a>
|
||||
<a title="RSS Feed for {$s.title|escape:"htmlall"}" href="{$smarty.const.WWW_TOP}/rss?show={$s.videos_id}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}"><i class="fa fa-rss"></i></a>
|
||||
<a title="View series" href="{$smarty.const.WWW_TOP}/series/{$s.id}">Series</a><br />
|
||||
{if $s.id > 0}
|
||||
<a title="View at TVRage" target="_blank" href="{$site->dereferrer_link}http://www.tvrage.com/shows/id-{$s.id}">TVRage</a>
|
||||
<a title="RSS Feed for {$s.title|escape:"htmlall"}" href="{$smarty.const.WWW_TOP}/rss?show={$s.id}&dl=1&i={$userdata.id}&r={$userdata.rsstoken}"><i class="fa fa-rss"></i></a>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user