mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-01 18:58:56 +00:00
Fix undefined notices in admin regexes pages
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
2016-12-02 DariusIII
|
||||
* Fix: Undefined notices in admin regexes pages
|
||||
2016-11-30 DariusIII
|
||||
* Fix: Grouping of console releasescover view in Gamma theme
|
||||
* Fix: Settings table verification for PHP 5.6 users
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<input id="limit" type="text" name="limit" value="{$limit}" size="8" /><br/>
|
||||
<input class="btn btn-default" type="submit" value="Test" />
|
||||
</form>
|
||||
{if $data}
|
||||
{if isset($data)}
|
||||
|
||||
{foreach from=$data key=hash item=collection}
|
||||
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table">
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
<tr>
|
||||
<td><label for="group_regex">Group:</label></td>
|
||||
<td>
|
||||
<input type="hidden" name="id" value="{$regex.id}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{$regex.group_regex|escape:html}" />
|
||||
<input type="hidden" name="id" value="{if isset($regex.id)}{$regex.id}{else}{/if}" />
|
||||
<input type="text" id="group_regex" name="group_regex" value="{if isset($regex.group_regex)}{$regex.group_regex|escape:html}{else}{/if}" />
|
||||
<div class="hint">
|
||||
Regex to match against a group or multiple groups.<br />
|
||||
Delimiters are already added, and PCRE_CASELESS is added after for case insensitivity.<br /> >
|
||||
@@ -22,7 +22,7 @@
|
||||
<tr>
|
||||
<td><label for="regex">Regex:</label></td>
|
||||
<td>
|
||||
<textarea id="regex" name="regex" >{$regex.regex|escape:html}</textarea>
|
||||
<textarea id="regex" name="regex" >{if isset($regex.regex)}{$regex.regex|escape:html}{else}{/if}</textarea>
|
||||
<div class="hint">
|
||||
The regex to use when trying to name a release using the usenet subject.<br />
|
||||
The regex delimiters are not added, you MUST add them. See <a href="http://php.net/manual/en/regexp.reference.delimiters.php">this</a> page.<br />
|
||||
@@ -38,7 +38,7 @@
|
||||
<tr>
|
||||
<td><label for="description">Description:</label></td>
|
||||
<td>
|
||||
<textarea id="description" name="description" >{$regex.description|escape:html}</textarea>
|
||||
<textarea id="description" name="description" >{if isset($regex.description)}{$regex.description|escape:html}{else}{/if}</textarea>
|
||||
<div class="hint">
|
||||
Description for this regex.<br />
|
||||
You can include an example usenet subject this regex would match on.
|
||||
@@ -48,7 +48,7 @@
|
||||
<tr>
|
||||
<td><label for="ordinal">Ordinal:</label></td>
|
||||
<td>
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{$regex.ordinal}" />
|
||||
<input class="ordinal" id="ordinal" name="ordinal" type="text" value="{if isset($regex.ordinal)}{$regex.ordinal}{else}{/if}" />
|
||||
<div class="hint">
|
||||
The order to run this regex in.<br />
|
||||
Must be a number, 0 or higher.<br />
|
||||
|
||||
@@ -5,11 +5,11 @@
|
||||
|
||||
<form name="groupsearch" action="" style="margin-bottom:5px;">
|
||||
<label for="group">Search a group:</label>
|
||||
<input id="group" type="text" name="group" value="{$group}" size="15" />
|
||||
<input id="group" type="text" name="group" value="{if isset($group)}{$group}{else}{/if}" size="15" />
|
||||
|
||||
<input class="btn btn-default" type="submit" value="Go" />
|
||||
</form>
|
||||
{if $regex}
|
||||
{if isset($regex)}
|
||||
|
||||
<div>{$pager}</div>
|
||||
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
|
||||
@@ -42,4 +42,4 @@
|
||||
</table>
|
||||
<div style="margin-top: 15px">{$pager}</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<input id="querylimit" type="text" name="querylimit" value="{$querylimit}" size="8" /><br/>
|
||||
<input class="btn btn-default" type="submit" value="Test" />
|
||||
</form>
|
||||
{if $data}
|
||||
{if isset($data)}
|
||||
<table style="margin-top:10px;" class="data table table-striped responsive-utilities jambo-table Sortable">
|
||||
<tr>
|
||||
<th>Release id</th>
|
||||
@@ -34,4 +34,4 @@
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user