mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Update actions in admin theme
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-04-19 DariusIII
|
||||
* Chg: Update actions in admin theme
|
||||
* Fix: Fix group list pagination
|
||||
* Fix: Add missing group routes
|
||||
* Fix: Fix bugs in redirects
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
<li><a><i class="fa fa-chevron-circle-down"></i><span> Menu</span><span
|
||||
class="fa fa-chevron-down"></span></a>
|
||||
<ul class="nav child_menu" style="display: none">
|
||||
<li><a href="{$smarty.const.WWW_TOP}/menu-list">View Menu Items</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/menu-edit?action=add">Add Menu Items</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/admin/menu-list">View Menu Items</a></li>
|
||||
<li><a href="{$smarty.const.WWW_TOP}/admin/menu-edit?action=add">Add Menu Items</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a><i class="fa fa-tint"></i><span> Categories</span><span class="fa fa-chevron-down"></span></a>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
<div class="well well-sm">
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form enctype="multipart/form-data" action="anidb-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}"/>
|
||||
|
||||
@@ -34,12 +34,12 @@
|
||||
<td class="less"><a href="http://anidb.net/perl-bin/animedb.pl?show=anime&aid={$anidb.anidbid}"
|
||||
title="View in AniDB">{$anidb.anidbid}</a></td>
|
||||
<td><a title="Edit"
|
||||
href="{$smarty.const.WWW_TOP}/anidb-edit?id={$anidb.anidbid}">{$anidb.title|escape:"htmlall"}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/anidb-edit?id={$anidb.anidbid}">{$anidb.title|escape:"htmlall"}</a>
|
||||
</td>
|
||||
<td class="mid"><a title="Delete this AniDB entry"
|
||||
href="{$smarty.const.WWW_TOP}/anidb-delete?id={$anidb.anidbid}">delete</a> | <a
|
||||
href="{$smarty.const.WWW_TOP}/admin/anidb-delete?id={$anidb.anidbid}">delete</a> | <a
|
||||
title="Remove this anidbid from all releases"
|
||||
href="{$smarty.const.WWW_TOP}/anidb-remove?id={$anidb.anidbid}">remove</a></td>
|
||||
href="{$smarty.const.WWW_TOP}/admin/anidb-remove?id={$anidb.anidbid}">remove</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<div class="well well-sm">
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form action="binaryblacklist-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input">
|
||||
<tr>
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<tr id="row-{$bin.id}" class="{cycle values=",alt"}">
|
||||
<td>{$bin.id}</td>
|
||||
<td>{$bin.groupname|replace:"alt.binaries":"a.b"}</td>
|
||||
<td title="Edit this blacklist"><a href="{$smarty.const.WWW_TOP}/binaryblacklist-edit?id={$bin.id}">Edit</a>
|
||||
<td title="Edit this blacklist"><a href="{$smarty.const.WWW_TOP}/admin/binaryblacklist-edit?id={$bin.id}">Edit</a>
|
||||
</td>
|
||||
<td>{$bin.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this blacklist"><a href="javascript:ajax_binaryblacklist_delete({$bin.id})"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<h1>{$title}</h1>
|
||||
|
||||
<div class="well well-sm">
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<form enctype="multipart/form-data" action="book-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
<input type="hidden" name="id" value="{$book.id}"/>
|
||||
@@ -58,7 +58,7 @@
|
||||
<input type="file" id="cover" name="cover"/>
|
||||
{if $book.cover == 1}
|
||||
<img style="max-width:200px; display:block;"
|
||||
src="{$smarty.const.WWW_TOP}/../covers/book/{$book.id}.jpg" alt=""/>
|
||||
src="{$smarty.const.WWW_TOP}/covers/book/{$book.id}.jpg" alt=""/>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{foreach from=$booklist item=book}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$book.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/book-edit?id={$book.id}">{$book.title}</a>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/admin/book-edit?id={$book.id}">{$book.title}</a>
|
||||
</td>
|
||||
<td>{$book.author}</td>
|
||||
<td class="mid">{$book.created_at|date_format}</td>
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
{/if}
|
||||
|
||||
<div class="well well-sm">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/category-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/category-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="category-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
{foreach $categorylist as $category}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>{$category.id}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/category-edit?id={$category.id}">{$category.title}</a></td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/admin/category-edit?id={$category.id}">{$category.title}</a></td>
|
||||
<td>
|
||||
{if $category.parentid != null}
|
||||
{$category->parent->title}
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<div class="well well-sm">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/category_regexes-list"><i class="fa fa-arrow-left"></i>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/category_regexes-list"><i class="fa fa-arrow-left"></i>
|
||||
Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form action="category_regexes-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a
|
||||
href="{$smarty.const.WWW_TOP}/category_regexes-edit?id={$row.id}">Edit</a></td>
|
||||
href="{$smarty.const.WWW_TOP}/admin/category_regexes-edit?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_category_regex_delete({$row.id})"
|
||||
onclick="return confirm('Are you sure? This will delete the regex from this list.');">Delete</a>
|
||||
@@ -43,7 +43,7 @@
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a
|
||||
href="{$smarty.const.WWW_TOP}/category_regexes-edit?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/category_regexes-edit?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a>
|
||||
</td>
|
||||
<td>{$row.categories_id}</td>
|
||||
</tr>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<div class="well well-sm">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/collection_regexes-list"><i
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/collection_regexes-list"><i
|
||||
class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form action="collection_regexes-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a
|
||||
href="{$smarty.const.WWW_TOP}/collection_regexes-edit?id={$row.id}">Edit</a></td>
|
||||
href="{$smarty.const.WWW_TOP}/admin/collection_regexes-edit?id={$row.id}">Edit</a></td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_collection_regex_delete({$row.id})"
|
||||
onclick="return confirm('Are you sure? This will delete the regex from this list.');">Delete</a>
|
||||
@@ -40,7 +40,7 @@
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a
|
||||
href="{$smarty.const.WWW_TOP}/collection_regexes-edit?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/collection_regexes-edit?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td>
|
||||
{if $comment.users_id > 0}
|
||||
<a href="{$smarty.const.WWW_TOP}/user-edit?id={$comment.users_id}">{$comment.username}</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/admin/user-edit?id={$comment.users_id}">{$comment.username}</a>
|
||||
{else}
|
||||
{$comment.username}
|
||||
{/if}
|
||||
@@ -27,9 +27,9 @@
|
||||
{/if}
|
||||
<td>{$comment.host}</td>
|
||||
<td>
|
||||
{if $comment.guid}<a href="{$smarty.const.WWW_TOP}/../details/{$comment.guid}#comments">
|
||||
{if $comment.guid}<a href="{$smarty.const.WWW_TOP}/details/{$comment.guid}#comments">
|
||||
view</a> |{/if}
|
||||
<a href="{$smarty.const.WWW_TOP}/comments-delete?id={$comment.id}">delete</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/admin/comments-delete?id={$comment.id}">delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<h1>{$title}</h1>
|
||||
<div class="well well-sm">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/console-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/console-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form enctype="multipart/form-data" action="console-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
<input type="hidden" name="id" value="{$console.id}"/>
|
||||
@@ -86,7 +86,7 @@
|
||||
<input type="file" id="cover" name="cover"/>
|
||||
{if $console.cover == 1}
|
||||
<img style="max-width:200px; display:block;"
|
||||
src="{$smarty.const.WWW_TOP}/../covers/console/{$console.id}.jpg" alt=""/>
|
||||
src="{$smarty.const.WWW_TOP}/covers/console/{$console.id}.jpg" alt=""/>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$console.id}</td>
|
||||
<td><a title="Edit"
|
||||
href="{$smarty.const.WWW_TOP}/console-edit?id={$console.id}">{$console.title}</a></td>
|
||||
href="{$smarty.const.WWW_TOP}/admin/console-edit?id={$console.id}">{$console.title}</a></td>
|
||||
<td>{$console.platform}</td>
|
||||
<td>{$console.created_at|date_format}</td>
|
||||
</tr>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/content-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/content-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="content-add?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{foreach from=$releaselist item=release}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="{$release.name}"><a
|
||||
href="{$smarty.const.WWW_TOP}/release-edit?id={$release.guid}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/release-edit?id={$release.guid}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
</td>
|
||||
<td class="less">{$release.category_name}</td>
|
||||
<td class="less right">{$release.size|fsize_format:"MB"}</td>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/game-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/game-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form enctype="multipart/form-data" action="game-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
<input type="hidden" name="id" value="{$game.id}"/>
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
@@ -69,7 +69,7 @@
|
||||
<input type="file" id="cover" name="cover"/>
|
||||
{if $game.cover == 1}
|
||||
<img style="max-width:200px; display:block;"
|
||||
src="{$smarty.const.WWW_TOP}/../covers/games/{$game.id}.jpg" alt=""/>
|
||||
src="{$smarty.const.WWW_TOP}/covers/games/{$game.id}.jpg" alt=""/>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{foreach from=$gamelist item=game}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$game.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/game-edit?id={$game.id}">{$game.title}</a>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/admin/game-edit?id={$game.id}">{$game.title}</a>
|
||||
</td>
|
||||
<td>{$game.genretitle}</td>
|
||||
<td>{$game.created_at|date_format}</td>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
<p>View <a href="group-list">all groups</a>.</p>
|
||||
{else}
|
||||
<p>Regex of groups to add to the site.</p>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form action="group-bulk?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input">
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/group-list"><i class="fa fa-arrow-left"></i> Go
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/group-list"><i class="fa fa-arrow-left"></i> Go
|
||||
back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form action="group-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -25,10 +25,10 @@
|
||||
onclick="return confirm('Are you sure? This will delete all releases, collections/binaries/parts.');">Purge
|
||||
all</a><br/>
|
||||
<a title="List all groups Activated for Update_Binaries"
|
||||
href="{$smarty.const.WWW_TOP}/group-list-active">Active Groups</a> |
|
||||
href="{$smarty.const.WWW_TOP}/admin/group-list-active">Active Groups</a> |
|
||||
<a title="List all groups NOT Activated for Update_Binaries"
|
||||
href="{$smarty.const.WWW_TOP}/group-list-inactive">Inactive Groups</a> |
|
||||
<a title="List all groups" href="{$smarty.const.WWW_TOP}/group-list">All Groups</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/group-list-inactive">Inactive Groups</a> |
|
||||
<a title="List all groups" href="{$smarty.const.WWW_TOP}/admin/group-list">All Groups</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="message">msg</div>
|
||||
@@ -49,7 +49,7 @@
|
||||
{foreach from=$grouplist item=group}
|
||||
<tr id="grouprow-{$group.id}" class="{cycle values=",alt"}">
|
||||
<td>
|
||||
<a href="{$smarty.const.WWW_TOP}/group-edit?id={$group.id}">{$group.name|replace:"alt.binaries":"a.b"}</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/admin/group-edit?id={$group.id}">{$group.name|replace:"alt.binaries":"a.b"}</a>
|
||||
<div class="hint">{$group.description}</div>
|
||||
</td>
|
||||
<td class="less">{$group.first_record_postdate}<br/>{$group.first_record_postdate|timeago}</td>
|
||||
@@ -101,10 +101,10 @@
|
||||
onclick="return confirm('Are you sure? This will delete all releases, collections/binaries/parts.');">Purge
|
||||
all</a><br/>
|
||||
<a title="List all groups Activated for Update_Binaries"
|
||||
href="{$smarty.const.WWW_TOP}/group-list-active">Active Groups</a> |
|
||||
href="{$smarty.const.WWW_TOP}/admin/group-list-active">Active Groups</a> |
|
||||
<a title="List all groups NOT Activated for Update_Binaries"
|
||||
href="{$smarty.const.WWW_TOP}/group-list-inactive">Inactive Groups</a> |
|
||||
<a title="List all groups" href="{$smarty.const.WWW_TOP}/group-list">All Groups</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/group-list-inactive">Inactive Groups</a> |
|
||||
<a title="List all groups" href="{$smarty.const.WWW_TOP}/admin/group-list">All Groups</a>
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
|
||||
@@ -7,13 +7,13 @@
|
||||
</p>
|
||||
|
||||
<ol style="list-style-type:decimal; line-height: 180%;">
|
||||
<li style="margin-bottom: 15px;">Configure your <a href="{$smarty.const.WWW_TOP}/site-edit">site
|
||||
<li style="margin-bottom: 15px;">Configure your <a href="{$smarty.const.WWW_TOP}/admin/site-edit">site
|
||||
options</a>. The defaults will work fine.
|
||||
</li>
|
||||
<li style="margin-bottom: 15px;">There is a default list of usenet groups provided. To get started, you will
|
||||
need to <a href="{$smarty.const.WWW_TOP}/group-list">activate some groups</a>. <u>Do not</u>
|
||||
need to <a href="{$smarty.const.WWW_TOP}/admin/group-list">activate some groups</a>. <u>Do not</u>
|
||||
activate every group if its your first time setting this up. Try one or two first.
|
||||
You can also <a href="{$smarty.const.WWW_TOP}/group-edit">add your own groups</a> manually.
|
||||
You can also <a href="{$smarty.const.WWW_TOP}/admin/group-edit">add your own groups</a> manually.
|
||||
</li>
|
||||
<li style="margin-bottom: 15px;">If you intend to keep using NNTmux, it is best to sign up for your own api
|
||||
keys from <a href="http://www.themoviedb.org/account/signup">TMDB</a> and <a
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/menu-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/menu-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="menu-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
@@ -17,14 +17,14 @@
|
||||
{foreach from=$menulist item=menu}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="Edit {$menu.title}"><a
|
||||
href="{$smarty.const.WWW_TOP}/menu-edit?id={$menu.id}">{$menu.title|escape:"htmlall"}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/menu-edit?id={$menu.id}">{$menu.title|escape:"htmlall"}</a>
|
||||
</td>
|
||||
<td>{$menu.href}</td>
|
||||
<td>{$menu.tooltip}</td>
|
||||
<td>{if $menu.role == 0}Guests{elseif $menu.role == 1}Users{elseif $menu.role == 2}Admin{else}Other{/if}</td>
|
||||
<td class="mid">{$menu.ordinal}</td>
|
||||
<td class="mid">{if $menu.newwindow == 1}Yes{else}No{/if}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/menu-delete/{$menu.id}">delete</a></td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/admin/menu-delete/{$menu.id}">delete</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
@@ -1,10 +1,8 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}" method="post">
|
||||
<form enctype="multipart/form-data" action="movie-add" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
<tr>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/movie-list"><i class="fa fa-arrow-left"></i> Go
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/movie-list"><i class="fa fa-arrow-left"></i> Go
|
||||
back</a>
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<form enctype="multipart/form-data" action="movie-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
<input type="hidden" name="id" value="{$movie.imdbid}"/>
|
||||
|
||||
@@ -19,13 +19,13 @@
|
||||
title="View in IMDB">{$movie.imdbid}</a></td>
|
||||
<td class="less"><a href="http://www.themoviedb.org/movie/{$movie.tmdbid}"
|
||||
title="View in TMDb">{$movie.tmdbid}</a></td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/movie-edit?id={$movie.imdbid}">{$movie.title}
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/admin/movie-edit?id={$movie.imdbid}">{$movie.title}
|
||||
({$movie.year})</a></td>
|
||||
<td class="less">{$movie.cover}</td>
|
||||
<td class="less">{$movie.backdrop}</td>
|
||||
<td class="less">{$movie.created_at|date_format}</td>
|
||||
<td class="less"><a title="Update"
|
||||
href="{$smarty.const.WWW_TOP}/movie-add?id={$movie.imdbid}&update=1">Update</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/movie-add?id={$movie.imdbid}&update=1">Update</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/music-list"><i class="fa fa-arrow-left"></i> Go
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/music-list"><i class="fa fa-arrow-left"></i> Go
|
||||
back</a>
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<form enctype="multipart/form-data" action="music-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
<input type="hidden" name="id" value="{$music.id}"/>
|
||||
@@ -94,7 +94,7 @@
|
||||
<input type="file" id="cover" name="cover"/>
|
||||
{if $music.cover == 1}
|
||||
<img style="max-width:200px; display:block;"
|
||||
src="{$smarty.const.WWW_TOP}/../covers/music/{$music.id}.jpg" alt=""/>
|
||||
src="{$smarty.const.WWW_TOP}/covers/music/{$music.id}.jpg" alt=""/>
|
||||
{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
{foreach from=$musiclist item=music}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$music.id}</td>
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/music-edit?id={$music.id}">{$music.title}
|
||||
<td><a title="Edit" href="{$smarty.const.WWW_TOP}/admin/music-edit?id={$music.id}">{$music.title}
|
||||
({$music.year})</a></td>
|
||||
<td>{$music.artist}</td>
|
||||
<td width="80" class="mid">{$music.created_at|date_format}</td>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
</p>
|
||||
|
||||
|
||||
<form action="{$SCRIPT_NAME}" method="POST">
|
||||
<form action="nzb-export" method="POST">
|
||||
{{csrf_field()}}
|
||||
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
</ul>
|
||||
<fieldset>
|
||||
<legend>Import From Directory</legend>
|
||||
<form action="{$SCRIPT_NAME}#results" method="POST">
|
||||
<form action="nzb-import#results" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
@@ -57,7 +57,7 @@
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Import From Browser</legend>
|
||||
<form action="{$SCRIPT_NAME}#results" method="POST" enctype="multipart/form-data">
|
||||
<form action="nzb-import#results" method="POST" enctype="multipart/form-data">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/posters-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/posters-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="posters-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -18,8 +18,6 @@
|
||||
<tr>
|
||||
<th> Date</th>
|
||||
<th> Title</th>
|
||||
<th> Category</th>
|
||||
<th> Source</th>
|
||||
<th> Reqid</th>
|
||||
<th> Size</th>
|
||||
<th> Files</th>
|
||||
@@ -35,7 +33,7 @@
|
||||
{if isset($result.guid)}
|
||||
<a style="font-style:italic;text-decoration:underline;color:#{if $result.nuked == 1}009933{elseif $result.nuked > 1}990000{/if};"
|
||||
class="title" title="View details"
|
||||
href="{$smarty.const.WWW_TOP}/../details/{$result.guid}">
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}">
|
||||
<span title="{if $result.nuked == 1}UNNUKED: {$result.nukereason|escape:"htmlall"}{elseif $result.nuked > 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"}</span>
|
||||
</a>
|
||||
{else}
|
||||
@@ -43,274 +41,12 @@
|
||||
title="{if $result.nuked == 1}UNNUKED: {$result.nukereason|escape:"htmlall"}{elseif $result.nuked > 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"}</span>
|
||||
{/if}
|
||||
</td>
|
||||
<td class="predb" style="text-align:center;">
|
||||
{* Console *}
|
||||
{* Xbox 360 *}
|
||||
{if $result.category == 'XBOX360'}
|
||||
<a class="title" title="View category XBOX 360"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::GAME_XBOX360}">Console
|
||||
Xbox
|
||||
360</a>
|
||||
{/if}
|
||||
{* Movies *}
|
||||
{if in_array($result.category, array('Movies'))}
|
||||
<a class="title" title="View category Movies"
|
||||
href="{$smarty.const.WWW_TOP}/../browse/{$parentcat.title}">Movies</a>
|
||||
{/if}
|
||||
{* SD *}
|
||||
{if in_array($result.category, array('movies-sd', 'Movies: STD', 'XVid'))}
|
||||
<a class="title" title="View category Movies SD"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MOVIE_SD}">Movies
|
||||
SD</a>
|
||||
{/if}
|
||||
{* HD *}
|
||||
{if in_array($result.category, array('Movies: HD', 'X264'))}
|
||||
<a class="title" title="View category Movies HD"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MOVIE_HD}">Movies
|
||||
HD</a>
|
||||
{/if}
|
||||
{* BluRay *}
|
||||
{if in_array($result.category, array('BLURAY'))}
|
||||
<a class="title" title="View category BluRay"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MOVIE_BLURAY}">Movies
|
||||
BluRay</a>
|
||||
{/if}
|
||||
{* DVD *}
|
||||
{if in_array($result.category, array('DVDR', 'Movies: DVD'))}
|
||||
<a class="title" title="View category DVDR"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MOVIE_DVD}">DVD</a>
|
||||
{/if}
|
||||
{* Audio *}
|
||||
{if in_array($result.category, array('music-audio'))}
|
||||
<a class="title" title="View category Music"
|
||||
href="{$smarty.const.WWW_TOP}/../music">Audio</a>
|
||||
{/if}
|
||||
{* MP3 *}
|
||||
{if in_array($result.category, array('MP3', 'Music: MP3'))}
|
||||
<a class="title" title="View category MP3"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MUSIC_MP3}">MP3</a>
|
||||
{/if}
|
||||
{* Video *}
|
||||
{if in_array($result.category, array('MVid', 'Music: MVid'))}
|
||||
<a class="title" title="View category Audio Video"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MUSIC_VIDEO}">Music
|
||||
Videos</a>
|
||||
{/if}
|
||||
{* Audiobook *}
|
||||
{if in_array($result.category, array('audiobook', 'Audiobook'))}
|
||||
<a class="title" title="View category Audiobook"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MUSIC_AUDIOBOOK}">Audiobook</a>
|
||||
{/if}
|
||||
{* Lossless *}
|
||||
{if in_array($result.category, array('FLAC', 'Music: FLAC'))}
|
||||
<a class="title" title="View category Music Lossless"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::MUSIC_LOSSLESS}">Lossless
|
||||
Music</a>
|
||||
{/if}
|
||||
{* PC *}
|
||||
{* 0day *}
|
||||
{if in_array($result.category, array('0DAY', 'APPS', 'Apps: PC', 'Apps: Linux', 'DOX'))}
|
||||
<a class="title" title="View category PC 0day"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::PC_0DAY}">PC
|
||||
0DAY</a>
|
||||
{/if}
|
||||
{* Mac *}
|
||||
{if in_array($result.category, array('Apps: MAC', 'Games: MAC'))}
|
||||
<a class="title" title="View category PC Mac"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::PC_MAC}">PC
|
||||
Mac</a>
|
||||
{/if}
|
||||
{* Phone-Other *}
|
||||
{if in_array($result.category, array('Apps: Phone', 'PDA'))}
|
||||
<a class="title" title="View category Phone Other"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::PC_PHONE_OTHER}">Phone
|
||||
Other</a>
|
||||
{/if}
|
||||
{* Games *}
|
||||
{if in_array($result.category, array('GAMES', 'Games: PC', 'Games: Other'))}
|
||||
<a class="title" title="View category PC Games"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::PC_GAMES}">PC
|
||||
Games</a>
|
||||
{/if}
|
||||
{* TV *}
|
||||
{if in_array($result.category, array('TV'))}
|
||||
<a class="title" title="View category TV"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::TV_ROOT}">TV</a>
|
||||
{/if}
|
||||
{* SD *}
|
||||
{if in_array($result.category, array('TV-DVDRIP', 'tv-sd', 'TV: STD', 'TV-XVid'))}
|
||||
<a class="title" title="View category TV SD"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::TV_SD}">SDTV</a>
|
||||
{/if}
|
||||
{* HD *}
|
||||
{if in_array($result.category, array('tv-hd', 'TV: HD', 'TV-x264', 'TV-X264'))}
|
||||
<a class="title" title="View category TV HD"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::TV_HD}">HDTV</a>
|
||||
{/if}
|
||||
{* XXX *}
|
||||
{if in_array($result.category, array('XXX'))}
|
||||
<a class="title" title="View category XXX"
|
||||
href="{$smarty.const.WWW_TOP}/../browse/{$parentcat.title}">XXX</a>
|
||||
{/if}
|
||||
{* DVD *}
|
||||
{if in_array($result.category, array('XXX: DVD'))}
|
||||
<a class="title" title="View category XXX DVD"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::XXX_DVD}">XXX
|
||||
DVD</a>
|
||||
{/if}
|
||||
{* XviD *}
|
||||
{if in_array($result.category, array('XXX: SD-CLIPS', 'XXX: MOVIES-SD'))}
|
||||
<a class="title" title="View category XXX XviD"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::XXX_XVID}">XXX
|
||||
SD</a>
|
||||
{/if}
|
||||
{* x264 *}
|
||||
{if in_array($result.category, array('XXX: HD-CLIPS', 'XXX: MOVIES-HD'))}
|
||||
<a class="title" title="View category XXX x264"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::XXX_X264}">XXX
|
||||
HD</a>
|
||||
{/if}
|
||||
{* Other *}
|
||||
{if in_array($result.category, array('xxx-videos'))}
|
||||
<a class="title" title="View category XXX Other"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::XXX_OTHER}">XXX
|
||||
Other</a>
|
||||
{/if}
|
||||
{* Imageset *}
|
||||
{if in_array($result.category, array('XXX-IMGSET'))}
|
||||
<a class="title" title="View category XXX Imageset"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::XXX_IMAGESET}">XXX
|
||||
Imagesets</a>
|
||||
{/if}
|
||||
{* Books *}
|
||||
{if in_array($result.category, array('EBOOK'))}
|
||||
<a class="title" title="View category Books"
|
||||
href="{$smarty.const.WWW_TOP}/../browse/{$parentcat.title}">Ebooks</a>
|
||||
{/if}
|
||||
{* Other *}
|
||||
{if in_array($result.category, array('Other: E-Books'))}
|
||||
<a class="title" title="View category Books Other"
|
||||
href="{$smarty.const.WWW_TOP}/../browse?t={$catClass::BOOKS_UNKNOWN}">Ebooks
|
||||
Other</a>
|
||||
{/if}
|
||||
{if in_array($result.category, array('', 'PRE'))}
|
||||
N/A
|
||||
{else}
|
||||
{$result.category}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="predb" style="text-align:center;">
|
||||
{if $result.source == abgx}
|
||||
<a title="Visit abgx"
|
||||
href="{$site->dereferrer_link}http://www.abgx.net/rss/x360/posted.rss"
|
||||
target="_blank">
|
||||
abgx.net
|
||||
</a>
|
||||
{/if}
|
||||
{if in_array($result.source, array('abErotica', 'abMooVee', 'abTeeVee', 'abForeign'))}
|
||||
<a title="Visit allfilled $result.source"
|
||||
href="{$site->dereferrer_link}http://$result.source.allfilled.com/search?q={$result.title}&Search=Search"
|
||||
target="_blank">
|
||||
$result.source
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source|strpos:'#a.b.' != false}
|
||||
<a title="Visit $result.source on IRC"
|
||||
href="irc://irc.Prison.NET:6667/{str_replace('#a.b.', 'alt.binaries.', $result.source)}"
|
||||
target="_blank">
|
||||
$result.source
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == omgwtfnzbs}
|
||||
<a title="Visit omgwtfnzbs"
|
||||
href="{$site->dereferrer_link}http://rss.omgwtfnzbs.org/rss-info"
|
||||
target="_blank">
|
||||
omgwtfnzbs
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == orlydb}
|
||||
<a title="Visit ORLYDB"
|
||||
href="{$site->dereferrer_link}http://orlydb.com/?q={$result.title}"
|
||||
target="_blank">
|
||||
ORLYDB
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == predbme}
|
||||
<a title="Visit PreDB.me"
|
||||
href="{$site->dereferrer_link}http://predb.me/?search={$result.title}"
|
||||
target="_blank">
|
||||
PreDB
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == prelist}
|
||||
<a title="Visit Prelist"
|
||||
href="{$site->dereferrer_link}http://www.prelist.ws/?search={$result.title}"
|
||||
target="_blank">
|
||||
Prelist
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == "#Pre@zenet"}
|
||||
<a title="Visit zenet on IRC" href="irc://irc.zenet.org:6667/Pre"
|
||||
target="_blank">
|
||||
Zenet IRC
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == "#pre@corrupt"}
|
||||
<a title="Visit corrupt on IRC"
|
||||
href="irc://irc.corrupt-net.org:6667/pre"
|
||||
target="_blank">
|
||||
Corrupt-Net
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == srrdb}
|
||||
<a title="Visit srrDB"
|
||||
href="{$site->dereferrer_link}http://www.srrdb.com/browse/{$result.title}"
|
||||
target="_blank">
|
||||
srrDB
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == "#scnzb"}
|
||||
<a title="Visit srrDB" href="irc://irc.Prison.NET:6667/scnzb"
|
||||
target="_blank">
|
||||
srrDB
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == "#tvnzb"}
|
||||
<a title="Visit srrDB" href="irc://irc.Prison.NET:6667/tvnzb"
|
||||
target="_blank">
|
||||
srrDB
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == "usenet-crawler"}
|
||||
<a title="Visit Usenet-Crawler"
|
||||
href="{$site->dereferrer_link}http://www.usenet-crawler.com/predb?q={$result.title}"
|
||||
target="_blank">
|
||||
Usenet-Crawler
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == womble}
|
||||
<a title="Visit Womble"
|
||||
href="{$site->dereferrer_link}http://www.newshost.co.za/?s={$result.title}"
|
||||
target="_blank">
|
||||
Womble
|
||||
</a>
|
||||
{/if}
|
||||
{if $result.source == zenet}
|
||||
<a title="Visit ZEnet"
|
||||
href="{$site->dereferrer_link}http://pre.zenet.org/?search={$result.title}"
|
||||
target="_blank">
|
||||
ZEnet
|
||||
</a>
|
||||
{else}
|
||||
{$result.source}
|
||||
{/if}
|
||||
</td>
|
||||
<td class="predb" style="text-align:center;">
|
||||
{if is_numeric($result.requestid) && $result.requestid != 0}
|
||||
<a
|
||||
class="requestid"
|
||||
title="{$result.requestid}"
|
||||
href="{$smarty.const.WWW_TOP}/../search?searchadvr=&searchadvsubject={$result.requestid}
|
||||
href="{$smarty.const.WWW_TOP}/search?searchadvr=&searchadvsubject={$result.requestid}
|
||||
&searchadvposter=&searchadvdaysnew=&searchadvdaysold=&searchadvgroups=-1&searchadvcat=-1
|
||||
&searchadvsizefrom=-1&searchadvsizeto=-1&searchadvhasnfo=0&searchadvhascomments=0&search_type=adv"
|
||||
>
|
||||
@@ -345,7 +81,7 @@
|
||||
href="{$site->dereferrer_link}http://nzbindex.com/search/?q={$result.title}"
|
||||
target="_blank"
|
||||
>
|
||||
<img src="{$smarty.const.WWW_TOP}/../shared/images/icons/nzbindex.png"/>
|
||||
<img src="{$smarty.const.WWW_TOP}/shared/images/icons/nzbindex.png"/>
|
||||
|
||||
</a>
|
||||
</td>
|
||||
@@ -356,7 +92,7 @@
|
||||
href="{$site->dereferrer_link}http://binsearch.info/?q={$result.title}"
|
||||
target="_blank"
|
||||
>
|
||||
<img src="{$smarty.const.WWW_TOP}/../shared/images/icons/binsearch.png"/>
|
||||
<img src="{$smarty.const.WWW_TOP}/shared/images/icons/binsearch.png"/>
|
||||
|
||||
</a>
|
||||
</td>
|
||||
|
||||
@@ -29,11 +29,10 @@
|
||||
{foreach from=$releaselist item=release}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="{$release.name}">
|
||||
<img src="{$smarty.const.WWW_TOP}/../covers/preview/{$release.guid}_thumb.jpg"/>
|
||||
<img src="{$smarty.const.WWW_TOP}/covers/preview/{$release.guid}_thumb.jpg"/>
|
||||
<br/>
|
||||
<a href="{$smarty.const.WWW_TOP}/release-edit?id={$release.id}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
<a href="{$smarty.const.WWW_TOP}/admin/release-edit?id={$release.id}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
</td>
|
||||
<td><!--<a href="{$smarty.const.WWW_TOP}/preview-delete?id={$release.id}">delete</a>--></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/release-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/release-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="release-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
{foreach from=$releaselist item=release}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td title="{$release.name}"><a
|
||||
href="{$smarty.const.WWW_TOP}/release-edit?id={$release.guid}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
href="{$smarty.const.WWW_TOP}/radmin/elease-edit?id={$release.guid}">{$release.searchname|escape:"htmlall"|wordwrap:75:"\n":true}</a>
|
||||
</td>
|
||||
<td class="less">{$release.category_name}</td>
|
||||
<td class="less right">{$release.size|fsize_format:"MB"}</td>
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
{if isset($error) && $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/release_naming_regexes-list"><i
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/release_naming_regexes-list"><i
|
||||
class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<form action="release_naming_regexes-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<td>{$row.id}</td>
|
||||
<td>{$row.group_regex}</td>
|
||||
<td title="Edit this regex"><a
|
||||
href="{$smarty.const.WWW_TOP}/release_naming_regexes-edit?id={$row.id}">Edit</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/release_naming_regexes-edit?id={$row.id}">Edit</a>
|
||||
</td>
|
||||
<td>{$row.description|truncate:50:"...":true}</td>
|
||||
<td title="Delete this regex"><a href="javascript:ajax_release_naming_regex_delete({$row.id})"
|
||||
@@ -41,7 +41,7 @@
|
||||
<td style="color:#FF0000">Disabled</td>
|
||||
{/if}
|
||||
<td title="Edit this regex"><a
|
||||
href="{$smarty.const.WWW_TOP}/release_naming_regexes-edit?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/release_naming_regexes-edit?id={$row.id}">{$row.regex|escape:html|truncate:50:"...":true}</a>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/role-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/role-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form action="role-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
{foreach from=$userroles item=role}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td><a href="{$smarty.const.WWW_TOP}/role-edit?id={$role.id}">{$role.name}</a></td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/admin/role-edit?id={$role.id}">{$role.name}</a></td>
|
||||
<td>{$role.apirequests}</td>
|
||||
<td>{$role.downloadrequests}</td>
|
||||
<td>{$role.defaultinvites}</td>
|
||||
@@ -28,8 +28,8 @@
|
||||
<td>{$role.donation}</td>
|
||||
<td>{$role.addyears}</td>
|
||||
<td>{if $role.isdefault=="1"}Yes{else}No{/if}</td>
|
||||
<td><a href="{$smarty.const.WWW_TOP}/role-edit?id={$role.id}">edit</a> {if $role.id>"3"}<a
|
||||
class="confirm_action" href="{$smarty.const.WWW_TOP}/role-delete?id={$role.id}">delete</a>{/if}
|
||||
<td><a href="{$smarty.const.WWW_TOP}/admin/role-edit?id={$role.id}">edit</a> {if $role.id>"3"}<a
|
||||
class="confirm_action" href="{$smarty.const.WWW_TOP}/admin/role-delete?id={$role.id}">delete</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<br/>
|
||||
<div id="message" style="width:717px;">msg</div>
|
||||
{if $local}
|
||||
<form action="{$SCRIPT_NAME}" method="post">
|
||||
<form action="sharing" method="post">
|
||||
{{csrf_field()}}
|
||||
<fieldset style="width:717px;">
|
||||
<legend>Local sharing settings.</legend>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/show-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/show-list"><i class="fa fa-arrow-left"></i> Go back</a>
|
||||
<form enctype="multipart/form-data" action="show-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<input type="hidden" name="from" value="{$smarty.get.from}"/>
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td class="less">{$tvshow.id}</td>
|
||||
<td><a title="Edit"
|
||||
href="{$smarty.const.WWW_TOP}/show-edit?id={$tvshow.id}">{$tvshow.title|escape:"htmlall"}</a>
|
||||
href="{$smarty.const.WWW_TOP}/admin/show-edit?id={$tvshow.id}">{$tvshow.title|escape:"htmlall"}</a>
|
||||
</td>
|
||||
<td class="less">{$tvshow.started|date_format}</td>
|
||||
<td class="less">
|
||||
@@ -36,9 +36,9 @@
|
||||
{/if}
|
||||
</td>
|
||||
<td class="right"><a title="delete this show entry"
|
||||
href="{$smarty.const.WWW_TOP}/show-delete?id={$tvshow.id}">delete</a> | <a
|
||||
href="{$smarty.const.WWW_TOP}/admin/show-delete?id={$tvshow.id}">delete</a> | <a
|
||||
title="remove this showid from all releases"
|
||||
href="{$smarty.const.WWW_TOP}/show-remove?id={$tvshow.id}">remove</a></td>
|
||||
href="{$smarty.const.WWW_TOP}/admin/show-remove?id={$tvshow.id}">remove</a></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
{foreach from=$topgrabs item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%"><a
|
||||
href="{$smarty.const.WWW_TOP}/user-edit?id={$result.id}">{$result.username}</a></td>
|
||||
href="{$smarty.const.WWW_TOP}/admin/user-edit?id={$result.id}">{$result.username}</a></td>
|
||||
<td>{$result.grabs}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
@@ -82,8 +82,8 @@
|
||||
{foreach from=$topdownloads item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%"><a
|
||||
href="{$smarty.const.WWW_TOP}/../details/{$result.guid}">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
{if isset($isadmin)}<a href="{$smarty.const.WWW_TOP}/release-edit?id={$result.id}">
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
{if isset($isadmin)}<a href="{$smarty.const.WWW_TOP}/admin/release-edit?id={$result.id}">
|
||||
[Edit]</a>{/if}</td>
|
||||
<td>{$result.grabs}</td>
|
||||
<td>{$result.adddate|timeago}</td>
|
||||
@@ -126,7 +126,7 @@
|
||||
{foreach from=$topcomments item=result}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td width="75%"><a
|
||||
href="{$smarty.const.WWW_TOP}/../details/{$result.guid}/#comments">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
href="{$smarty.const.WWW_TOP}/details/{$result.guid}/#comments">{$result.searchname|escape:"htmlall"|replace:".":" "}</a>
|
||||
</td>
|
||||
<td>{$result.comments}</td>
|
||||
<td>{$result.adddate|timeago}</td>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="well well-sm">
|
||||
<h1>{$title}</h1>
|
||||
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="post">
|
||||
<form action="tmux-edit?action=submit" method="post">
|
||||
{{csrf_field()}}
|
||||
|
||||
{if isset($error) && $error != ''}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
{if isset($error) && $error != ''}
|
||||
<div class="error">{$error}</div>
|
||||
{/if}
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/user-list">Go back</a>
|
||||
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
|
||||
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/admin/user-list">Go back</a>
|
||||
<form action="user-edit?action=submit" method="POST">
|
||||
{{csrf_field()}}
|
||||
<table class="input data table table-striped responsive-utilities jambo-table">
|
||||
<tr>
|
||||
@@ -107,7 +107,7 @@
|
||||
<td>
|
||||
<input class="btn btn-primary" type="submit" value="Save"/>
|
||||
{if !empty($user.id) && $user->role->id != 2}<a class="confirm_action btn btn-danger"
|
||||
href="{$smarty.const.WWW_TOP}/user-delete?id={$user.id}">
|
||||
href="{$smarty.const.WWW_TOP}/admin/user-delete?id={$user.id}">
|
||||
Delete user</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -77,9 +77,9 @@
|
||||
|
||||
{foreach $userlist as $user}
|
||||
<tr class="{cycle values=",alt"}">
|
||||
<td><a title="Edit user" href="{$smarty.const.WWW_TOP}/user-edit?id={$user.id}">{$user.username}</a>
|
||||
<td><a title="Edit user" href="{$smarty.const.WWW_TOP}/admin/user-edit?id={$user.id}">{$user.username}</a>
|
||||
</td>
|
||||
<td><a title="View profile" href="{$smarty.const.WWW_TOP}/../profile?id={$user.id}">{$user.email}</a>
|
||||
<td><a title="View profile" href="{$smarty.const.WWW_TOP}/profile?id={$user.id}">{$user.email}</a>
|
||||
</td>
|
||||
<td>{$user.host}</td>
|
||||
<td title="{$user.created_at}">{$user.created_at|date_format}</td>
|
||||
@@ -89,13 +89,13 @@
|
||||
<td class="mid">{$user.grabs}</td>
|
||||
<td class="mid">{$user.invites}</td>
|
||||
<td class="mid"><a title="{if $user.notes|count_characters > 0}View{else}Add{/if} Notes"
|
||||
href="{$smarty.const.WWW_TOP}/user-edit?id={$user.id}#notes"><img
|
||||
src="{$smarty.const.WWW_TOP}/../shared/images/icons/{if $user.notes|count_characters > 0}note_edit.png{else}note_add.png{/if}"
|
||||
href="{$smarty.const.WWW_TOP}/admin/user-edit?id={$user.id}#notes"><img
|
||||
src="{$smarty.const.WWW_TOP}/shared/images/icons/{if $user.notes|count_characters > 0}note_edit.png{else}note_add.png{/if}"
|
||||
alt=""/></a></td>
|
||||
<td>{$user->role->name}</td>
|
||||
<td>{if !empty($user.rolechangedate)}{$user.rolechangedate}{/if}</td>
|
||||
<td>{if $user.user_roles_id !="2"}<a class="confirm_action"
|
||||
href="{$smarty.const.WWW_TOP}/user-delete?id={$user.id}">
|
||||
href="{$smarty.const.WWW_TOP}/admin/user-delete?id={$user.id}">
|
||||
delete</a>{/if}
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user