Update themes and use ForgottenPasswordController

This commit is contained in:
DariusIII
2018-03-29 10:49:44 +02:00
parent 005cfdaa8d
commit 7e4045bf6f
94 changed files with 190 additions and 100 deletions
+1
View File
@@ -1,4 +1,5 @@
2018-03-29 DariusIII
* Chg: Update themes and use ForgottenPasswordController
* Chg: Remove login/register pages, use Login/Register controllers completely
2018-03-28 DariusIII
* Chg: Update laravel/framework to version 5.6.14
@@ -3,7 +3,12 @@
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use App\Mail\ForgottenPassword;
use App\Mail\PasswordReset;
use App\Models\Settings;
use App\Models\User;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
use Illuminate\Support\Facades\Mail;
class ForgotPasswordController extends Controller
{
@@ -29,4 +34,93 @@ class ForgotPasswordController extends Controller
{
$this->middleware('guest');
}
public function showLinkRequestForm()
{
$action = request()->input('action') ?? 'view';
$email = $rssToken = $sent = $confirmed = '';
switch ($action) {
case 'reset':
if (! request()->has('guid')) {
app('smarty.view')->assign('error', 'No reset code provided.');
break;
}
$ret = User::getByPassResetGuid(request()->input('guid'));
if (! $ret) {
app('smarty.view')->assign('error', 'Bad reset code provided.');
break;
}
//
// reset the password, inform the user, send out the email
//
User::updatePassResetGuid($ret['id'], '');
$newpass = User::generatePassword();
User::updatePassword($ret['id'], $newpass);
$to = $ret['email'];
$onscreen = 'Your password has been reset to <strong>'.$newpass.'</strong> and sent to your e-mail address.';
Mail::to($to)->send(new PasswordReset($ret['id'], $newpass));
app('smarty.view')->assign('notice', $onscreen);
$confirmed = true;
break;
break;
case 'submit':
$email = request()->input('email') ?? '';
$rssToken = request()->input('apikey') ?? '';
if (empty($email) && empty($rssToken)) {
app('smarty.view')->assign('error', 'Missing parameter(email and/or apikey to send password reset');
} else {
//
// Check users exists and send an email
//
$ret = ! empty($rssToken) ? User::getByRssToken($rssToken) : User::getByEmail($email);
if ($ret === null) {
app('smarty.view')->assign('error', 'The email or apikey are not recognised.');
$sent = true;
break;
}
//
// Generate a forgottenpassword guid, store it in the user table
//
$guid = md5(uniqid('', false));
User::updatePassResetGuid($ret['id'], $guid);
//
// Send the email
//
$resetLink = request()->server('SERVER_NAME').'/forgottenpassword?action=reset&guid='.$guid;
//Mail::to($ret['email'])->send(new ForgottenPassword($resetLink));
$sent = true;
break;
}
break;
}
$theme = Settings::settingValue('site.main.style');
$title = 'Forgotten Password';
$meta_title = 'Forgotten Password';
$meta_keywords = 'forgotten,password,signup,registration';
$meta_description = 'Forgotten Password';
$content = app('smarty.view')->fetch($theme.'/forgottenpassword.tpl');
app('smarty.view')->assign(
[
'content' => $content,
'title' => $title,
'meta_title' => $meta_title,
'meta_keywords' => $meta_keywords,
'meta_description' => $meta_description,
'email' => $email,
'apikey' => $rssToken,
'confirmed' => $confirmed,
'sent' => $sent,
]
);
app('smarty.view')->display($theme.'/basepage.tpl');
}
}
-1
View File
@@ -37,7 +37,6 @@ switch ($page->page) {
case 'content':
case 'details':
case 'filelist':
case 'forgottenpassword':
case 'forum':
case 'forumpost':
case 'games':
+1 -1
View File
@@ -1,4 +1,4 @@
<h2>{if $page->title !=''}{$page->title}{else}Forum{/if}</h2>
<h2>{if $title !=''}{$title}{else}Forum{/if}</h2>
{if $results|@count > 0}
<div class=".pagination pagination-centered">
{$pager}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<table>
{foreach $sitemaps as $sitemap}
{if $last_type != $sitemap->type}
+2 -2
View File
@@ -1,9 +1,9 @@
<div class="header">
<h2>View > <strong>{$page->title}</strong></h2>
<h2>View > <strong>{$title}</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ {$page->title}
/ {$title}
</ol>
</div>
</div>
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h2>
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h3>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h3>
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>Getting in touch</h2>
{$msg}{* This is a message that appears if a email is sent. *}
{if $msg == ""}
@@ -6,7 +6,7 @@ border: 1px solid #e1e1e8;
-moz-border-radius: 4px;
border-radius: 4px;
">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>
Please enter the email address you used to register and we will send an email to reset your password. If you cannot remember your email, or no longer have access to it, please <a href="{$smarty.const.WWW_TOP}/contact-us">contact us</a>.
</p>
+1 -1
View File
@@ -1,4 +1,4 @@
<h2>{if $page->title !=''}{$page->title}{else}Forum{/if}</h2>
<h2>{if $title !=''}{$title}{else}Forum{/if}</h2>
{if $results|@count > 0}
<div class=".pagination pagination-centered">
{$pager}
+1 -1
View File
@@ -1,4 +1,4 @@
<h2>{$page->title}</h2>
<h2>{$title}</h2>
<div style="text-align: center;">
<div class="btn-group">
<a class="btn btn-sm" title="View available Movies" href="{$smarty.const.WWW_TOP}/movies" >Movies List</a>
+1 -1
View File
@@ -1,4 +1,4 @@
<h2>{$page->title}</h2>
<h2>{$title}</h2>
<div style="text-align: center;">
<div class="btn-group">
<a class="btn btn-small" title="View available TV series" href="{$smarty.const.WWW_TOP}/series" >Series List</a>
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="page-header">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
</div>
<table class="table span8">
{foreach $sitemaps as $sitemap}
+1 -1
View File
@@ -1,4 +1,4 @@
<div class="page-header">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
</div>
{$site->tandc}
@@ -1,4 +1,4 @@
<h2>{$page->title}</h2>
<h2>{$title}</h2>
<p>
<b>Jump to</b>:
@@ -1,4 +1,4 @@
<h2>{$page->title} </h2>
<h2>{$title} </h2>
<h4>For <a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a></h4>
<br/>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For <a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a></h2>
{/if}
{if $movie.backdrop == 1}<div id="backdrop"><img src="{$smarty.const.WWW_TOP}/covers/movies/{$movie.imdbid}-backdrop.jpg" alt=""/></div>{/if}
+1 -1
View File
@@ -1,6 +1,6 @@
{if !isset($modal)}
<div class="page-header">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
</div>
<h2>For <a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a></h2>
{/if}
@@ -1,5 +1,5 @@
<h2>{$page->title}</h2>
<h2>{$title}</h2>
<p>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For <a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a></h2>
{/if}
{if $movie.backdrop == 1}<div id="backdrop"><img src="{$smarty.const.WWW_TOP}/covers/xxx/{$movie.id}-backdrop.jpg" alt=""/></div>{/if}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h2>{if $page->title !=''}{$page->title}{else}Forum{/if}</h2>
<h2>{if $title !=''}{$title}{else}Forum{/if}</h2>
{if $results|@count > 0}
<div class=".pagination pagination-centered">
{$pager}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<table>
{foreach $sitemaps as $sitemap}
{if $last_type != $sitemap->type}
+2 -2
View File
@@ -8,11 +8,11 @@
<body class="skin-blue layout-boxed">
<div class="wrapper">
<div class="header">
<h2>View > <strong>{$page->title}</strong></h2>
<h2>View > <strong>{$title}</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ {$page->title}
/ {$title}
</ol>
</div>
</div>
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h3>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h3>
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h2>{if $page->title !=''}{$page->title}{else}Forum{/if}</h2>
<h2>{if $title !=''}{$title}{else}Forum{/if}</h2>
{if $results|@count > 0}
<div class=".pagination pagination-centered">
{$pager}
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<table>
{foreach $sitemaps as $sitemap}
{if $last_type != $sitemap->type}
+2 -2
View File
@@ -8,11 +8,11 @@
<body class="skin-blue layout-boxed">
<div class="wrapper">
<div class="header">
<h2>View > <strong>{$page->title}</strong></h2>
<h2>View > <strong>{$title}</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ {$page->title}
/ {$title}
</ol>
</div>
</div>
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
{if not $modal}
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h3>For
<a href="{$smarty.const.WWW_TOP}/details/{$rel.guid}">{$rel.searchname|escape:'htmlall'}</a>
</h3>
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $anidblist}
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
Removing AniDB ID {$anidbid} from releases:
{if $success = true}Succeeded.{/if}
{if $success = false}Failed.{/if}
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if isset($error) && $error != ''}
<div class="error">{$error}</div>
{/if}
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
<p>
Binaries can be prevented from being added to the index at all if they match a regex provided in the blacklist.
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
{if $booklist}
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if isset($error) && $error != ''}
<div class="error">{$error}</div>
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if isset($error) && $error != ''}
<div class="error">{$error}</div>
{/if}
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>This page lists regex used for categorizing releases.<br/>
You can recategorize all releases by running misc/update/update_releases.php 6 true
</p>
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if isset($error) && $error != ''}
<div class="error">{$error}</div>
{/if}
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
<p>This page lists regex used for grouping usenet collections.</p>
<div id="message"></div>
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
<p>This page is used for testing regex for grouping usenet collections.<br/>Enter the group name to test and a
regex. Limit is how many collections to show max on the page, 0 for no limit(slow).</p>
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
{if $commentslist}
{$pager}
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/console-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
{if $consolelist}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/content-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form action="{$SCRIPT_NAME}?action=submit" method="post">
{{csrf_field()}}
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<table class="data table table-striped responsive-utilities jambo-table Sortable">
<tr>
<th style="width:60px;">ordinal</th>
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $releaselist}
{$pager}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/game-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
{{csrf_field()}}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $gamelist}
{$pager}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $groupmsglist}
<table class="data table table-striped responsive-utilities jambo-table Sortable">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/group-list.php"><i class="fa fa-arrow-left"></i> Go
back</a>
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm" id="group_list">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>
Below is a list of all usenet groups available to be indexed. Click 'Activate' to start indexing a group.
Backfill works independently of active.
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div style="{if $site->showadminwelcome != "1"}display:none;{/if}" id="adminwelcome">
<p>
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/menu-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
{{csrf_field()}}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $menulist}
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}" method="post">
{{csrf_field()}}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/movie-list.php"><i class="fa fa-arrow-left"></i> Go
back</a>
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $movielist}
{$pager}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/music-list.php"><i class="fa fa-arrow-left"></i> Go
back</a>
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="post">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $musiclist}
{$pager}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>
Export nzbs from the system into a folder. Specify the full file path to a folder.
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>
Import NZB's from a folder or via the browser into the system. Specify the full file path to a folder containing
NZB's.
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/posters-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
{{csrf_field()}}
@@ -1,5 +1,5 @@
<div class="well well-sm" id="group_list">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if !empty($check)}
<p>
Below is a list of MultiGroup posters
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-sm">
<form name="presearch" method="get" action="{$smarty.const.WWW_TOP}/predb.php" id="custom-search-form"
{{csrf_field()}}
@@ -1,5 +1,5 @@
<div class="well wellsm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<label for="previewcat"> Select Category :
<select id="previewcat" name="previewcat">
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/release-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form action="{$SCRIPT_NAME}?action=submit" method="POST">
{{csrf_field()}}
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<h2>For {$rel.searchname|escape:'htmlall'}</h2>
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $releaselist}
{$pager}
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1 xmlns="http://www.w3.org/1999/html">{$page->title}</h1>
<h1 xmlns="http://www.w3.org/1999/html">{$title}</h1>
{if isset($error) && $error != ''}
<div class="error">{$error}</div>
{/if}
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>This page lists regex used for getting names for releases from usenet subjects.</p>
<div id="message"></div>
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>This page is used for testing regex for getting release names from usenet subject.
<br/>Maximum releases to display will limit the amount of results displayed on the page. 0 for no limit.
<br/>Query limit will limit the amount of releases to select from MySQL (setting this high can be very slow). 0
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/role-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form action="{$SCRIPT_NAME}?action=submit" method="post">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div style="width:700px">
<strong>
<strong>
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<a class="btn btn-success" href="{$smarty.const.WWW_TOP}/show-list.php"><i class="fa fa-arrow-left"></i> Go back</a>
<form enctype="multipart/form-data" action="{$SCRIPT_NAME}?action=submit" method="POST">
{{csrf_field()}}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $tvshowlist}
<div style="float:right;">
<form name="showsearch" action="">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
Removing Videos\Episode ID {$videoid} from releases:
{if $success = true}Succeeded.{/if}
{if $success = false}Failed.{/if}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>Below is a dump of system settings and mysql table status to assist others in debuging problems.
Items like private 3rd party keys have been removed, however <b>*note*</b> full paths to binaries and web files
+1 -1
View File
@@ -1,4 +1,4 @@
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div class="well well-small">
<form action="site-edit.php?action=submit" method="post">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if $topgrabs|count > 0}
<h2>Top Grabbers</h2>
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<form action="{$SCRIPT_NAME}?action=submit" method="post">
{{csrf_field()}}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
{if isset($error) && $error != ''}
<div class="error">{$error}</div>
{/if}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<div style="float:right;">
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well well-sm">
<h3>{$page->title}</h3>
<h3>{$title}</h3>
<p>Here lives the documentation for the api for accessing nzb and index data. Api functions can be called by either logged in users, or by providing an apikey.</p>
<br>
{if $loggedin=="true"}
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="well sell-sm">
<h1>{$page->title}</h1>
<h1>{$title}</h1>
<p>
Here you can choose rss feeds from settings categories. The feeds will present either decriptions or
downloads of Nzb files.
+2 -6
View File
@@ -33,13 +33,9 @@ Route::post('/login', 'Auth\LoginController@login');
Route::get('/register', 'Auth\RegisterController@showRegistrationForm');
Route::post('/register', 'Auth\RegisterController@register');
Route::get('/forgottenpassword', function () {
redirect('/forgottenpassword');
})->middleware('guest');
Route::get('/forgottenpassword', 'Auth\ForgotPasswordController@showLinkRequestForm');
Route::post('/forgottenpassword', 'Auth\ForgotPasswordController@showLinkRequestForm');
Route::post('/forgottenpassword', function () {
redirect('/forgottenpassword');
})->middleware('guest');
Route::get('/browse', function () {
redirect('/browse');