diff --git a/basepage.tpl b/basepage.tpl index c429e9f..436948c 100755 --- a/basepage.tpl +++ b/basepage.tpl @@ -235,9 +235,8 @@ }); - +{{Form::open(['id' => 'frm-logout', 'route' => 'logout'])}} +{{Form::close()}} diff --git a/books.tpl b/books.tpl index 4c77acb..e4752a6 100755 --- a/books.tpl +++ b/books.tpl @@ -11,7 +11,7 @@
{include file='search-filter.tpl'}
-
+{{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
@@ -183,7 +183,7 @@ {/foreach}
- + {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
View: Covers | List
@@ -228,4 +228,4 @@
- +{{Form::close()}} diff --git a/browse.tpl b/browse.tpl index 98a6215..5696267 100755 --- a/browse.tpl +++ b/browse.tpl @@ -3,15 +3,15 @@
{$site->adbrowse} {if $results|@count > 0} -
+ {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
@@ -240,5 +240,5 @@
-
+ {{Form::close()}} {/if} diff --git a/browsegroup.tpl b/browsegroup.tpl index e68d015..1a3c2c4 100755 --- a/browsegroup.tpl +++ b/browsegroup.tpl @@ -15,6 +15,9 @@
+
+ {$results->links()} +
@@ -37,6 +40,9 @@ {/foreach}
+
+ {$results->links()} +
diff --git a/btc_payment.tpl b/btc_payment.tpl index a027af1..4124c5a 100644 --- a/btc_payment.tpl +++ b/btc_payment.tpl @@ -10,21 +10,20 @@
{foreach $donation as $donate} - - {{csrf_field()}} + {{Form::open(['url' => 'btc_payment?action=submit'])}} - + {{Form::close()}} {/foreach}
{$donate->name} ({$donate->donation}$)
- - - - - + {{Form::hidden('price', {$donate->donation})}} + {{Form::hidden('role', {$donate->id})}} + {{Form::hidden('rolename', {$donate->name})}} + {{Form::hidden('addyears', {$donate->addyears})}} + {{Form::submit('Pay with BTC', ['class' => 'btn btn-primary'])}}
diff --git a/cart.tpl b/cart.tpl index da10161..d6581b5 100755 --- a/cart.tpl +++ b/cart.tpl @@ -15,7 +15,7 @@ feed. Some NZB downloaders can read this feed and automatically start downloading. {if $results|@count > 0} -
+ {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}} {{csrf_field()}}
With Selected: @@ -29,7 +29,7 @@ value="Download"/>
-
+ {{Form::close()}}
diff --git a/console.tpl b/console.tpl index 4cb5489..2b90602 100755 --- a/console.tpl +++ b/console.tpl @@ -12,7 +12,7 @@
{include file='search-filter.tpl'}
-
+{{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
@@ -57,7 +57,7 @@
-
+{{Form::close()}}
@@ -197,7 +197,7 @@
-
+{{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
@@ -242,4 +242,4 @@
-
+{{Form::close()}} diff --git a/contact.tpl b/contact.tpl index f678b7c..8e1828d 100755 --- a/contact.tpl +++ b/contact.tpl @@ -37,8 +37,7 @@
-
- {{csrf_field()}} + {{Form::open(['url' => 'contact-us'])}}
@@ -60,7 +59,7 @@ - + {{Form::close()}}
diff --git a/forgottenpassword.tpl b/forgottenpassword.tpl index 2165cae..ad86b6c 100755 --- a/forgottenpassword.tpl +++ b/forgottenpassword.tpl @@ -19,8 +19,7 @@ cannot remember your email, or no longer have access to it, please contact us.

-
- {{csrf_field()}} + {{Form::open(['url' => 'forgottenpassword?action=submit'])}}
@@ -43,7 +42,7 @@
- + {{Form::close()}} {elseif $sent != ''}

A password reset request has been sent to your email. @@ -55,4 +54,4 @@ {/if}

- \ No newline at end of file + diff --git a/forum.tpl b/forum.tpl index 03936ce..51020b2 100755 --- a/forum.tpl +++ b/forum.tpl @@ -90,8 +90,7 @@

Add New Post

-
- {{csrf_field()}} + {{Form::open(['id' => 'new-forum-thread', 'class' => 'form-horizontal'])}}
@@ -108,7 +107,7 @@
- + {{Form::close()}}
diff --git a/forumpost.tpl b/forumpost.tpl index d410eab..b68fe16 100755 --- a/forumpost.tpl +++ b/forumpost.tpl @@ -56,7 +56,7 @@

Reply

-
+ {{Form::open(['id' => 'forum-post-reply', 'class' => 'form-horizontal'])}} {{csrf_field()}}
@@ -67,7 +67,7 @@
-
+ {{Form::close()}}
{else} diff --git a/games.tpl b/games.tpl index 4fa1169..b34389a 100755 --- a/games.tpl +++ b/games.tpl @@ -13,7 +13,7 @@
{include file='search-filter.tpl'}
-
+{{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
@@ -58,7 +58,7 @@
-
+{{Form::close()}}
@@ -214,7 +214,7 @@
-
+{{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
@@ -261,4 +261,4 @@
-
+{{Form::close()}} diff --git a/headermenu.tpl b/headermenu.tpl index dec1d3e..14ef2b8 100755 --- a/headermenu.tpl +++ b/headermenu.tpl @@ -12,7 +12,7 @@
  • TV

  • TV Series
  • -
  • Anime Series
  • +
  • Anime Series

  • {foreach $parentcat.subcatlist as $subcat}
  • {$subcat.title}
  • @@ -230,8 +230,7 @@ {/if} -
    - {{csrf_field()}} + {{Form::open(['url' => 'profileedit?action=submit'])}}
    @@ -299,7 +298,7 @@ - + {{Form::close()}} diff --git a/register.tpl b/register.tpl index eb7130b..22fbf56 100755 --- a/register.tpl +++ b/register.tpl @@ -15,8 +15,7 @@
    -
    - {{csrf_field()}} + {{Form::open(['url' => "register?action=submit{$invite_code_query}"])}}
    @@ -62,7 +61,7 @@
    I already have a membership - + {{Form::close()}} diff --git a/search.tpl b/search.tpl index 5303d25..0bbf338 100755 --- a/search.tpl +++ b/search.tpl @@ -27,8 +27,7 @@
    {$search_description}

    -
    - {{csrf_field()}} + {{Form::open(['url' => 'search', 'method' => 'get'])}}
    - + {{Form::close()}}
    -
    + {{Form::open(['url' => 'search', 'method' => 'get'])}}
    @@ -116,7 +115,7 @@
    - + {{Form::close()}} {if $results|@count == 0 && ($search || $subject|| $searchadvr|| $searchadvsubject || $selectedgroup || $selectedsizefrom || $searchadvdaysold) != ""}
    @@ -143,8 +142,7 @@ {elseif ($search || $subject || $searchadvr || $searchadvsubject || $selectedgroup || $selectedsizefrom || $searchadvdaysold) == ""} {else}
    -
    + {{Form::open(['id' => 'nzb_multi_operations_form','style' => 'padding-top:10px;', 'method' => 'get', 'url' => 'search'])}}
    {if isset($shows)} @@ -437,7 +435,7 @@ {/if}



    - + {{Form::close()}}
    {/if}
    diff --git a/viewanime.tpl b/viewanime.tpl index b426b40..f57604f 100755 --- a/viewanime.tpl +++ b/viewanime.tpl @@ -18,7 +18,7 @@

    {$animeTitle} {if isset($isadmin)} Edit + href="{$smarty.const.WWW_TOP}/admin/anidb-edit/{$animeAnidbid}">Edit {/if}

    {if animePicture != ''} @@ -63,7 +63,7 @@
    -
    + {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
    With Selected: @@ -111,45 +111,45 @@ {foreach $animeEpisodeTitles as $result} - + value="{$result->guid}"/> {$result.searchname|escape:"htmlall"|replace:".":" "} + href="{$smarty.const.WWW_TOP}/details/{$result->guid}">{$result->searchname|escape:"htmlall"|replace:".":" "}
    - {if $result.nfoid > 0}nfoid > 0}NFO {/if} - {if $result.haspreview == 1 && $userdata.canpreview == 1}haspreview == 1 && $userdata.canpreview == 1}Preview{/if} - {$result.grabs} - Grab{if $result.grabs != 1}s{/if} - {if $result.reid > 0}Media{/if} + {$result->grabs} + Grab{if $result->grabs != 1}s{/if} + {if $result->reid > 0}Media{/if}
    - {$result.category_name} - {$result.postdate|timeago} - {$result.size|filesize} + {$result->category_name} + {$result->postdate|timeago} + {$result->size|filesize} - @@ -158,7 +158,7 @@ {if isset($sabintegrated) && $sabintegrated !=""}
    - + {{Form::close()}} {/if} diff --git a/viewanimelist.tpl b/viewanimelist.tpl index d2ef27d..1a3862f 100755 --- a/viewanimelist.tpl +++ b/viewanimelist.tpl @@ -11,10 +11,10 @@ {$site->adbrowse}

    Jump to:   [ {if $animeletter == '0-9'}{/if}0-9{if $animeletter == '0-9'}{/if} + href="{$smarty.const.WWW_TOP}/animelist/0-9">0-9{if $animeletter == '0-9'}{/if} {foreach $animerange as $range} {if $range == $animeletter}{/if}{$range}{if $range == $animeletter}{/if} + href="{$smarty.const.WWW_TOP}/animelist?id={$range}">{$range}{if $range == $animeletter}{/if} {/foreach}]

    {$site->adbrowse} @@ -24,13 +24,12 @@

    {$aletter}...

    -
    - - - -
    + {{Form::open(['class' => 'form pull-right', 'method' => 'get', 'name' => 'anidbsearch', 'style' =>'margin-top:-35px;'])}} + {{Form::label('title', 'Search:')}} + {{Form::text('title', $animetitle, ['class' => 'form-control', 'style' => 'width: 150px;', 'id'=> 'title appendedInputButton', + 'placeholder' => 'Search here'])}} + {{Form::button('Search', ['class' => 'btn btn-default', 'type' => 'submit'])}} + {{Form::close()}} @@ -45,7 +44,7 @@ {$a.title|escape:"htmlall"}{if {$a.startdate} != ''}
    ({$a.startdate|date_format} - - {/if}{if $a.enddate != ''}{$a.enddate|date_format}{/if}) + - {/if}{if $a.enddate != ''}{$a.enddate|date_format}){/if} {if {$a.type} != ''}{$a.type|escape:"htmlall"}{/if} {if {$a.categories} != ''}{$a.categories|escape:"htmlall"|replace:'|':', '}{/if} {if {$a.rating} != ''}{$a.rating}{/if} @@ -62,4 +61,4 @@ Hmm! No results for this query. {/if} - \ No newline at end of file + diff --git a/viewmoviefull.tpl b/viewmoviefull.tpl index 7ddc16d..5f69a50 100755 --- a/viewmoviefull.tpl +++ b/viewmoviefull.tpl @@ -54,7 +54,7 @@ -
    + {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
    {if isset($section) && $section != ''}View: @@ -235,8 +235,8 @@ {/if}
    -
    + {{Form::close()}} {/if} {/foreach} -{/if} \ No newline at end of file +{/if} diff --git a/viewnzb.tpl b/viewnzb.tpl index a1bbcb9..dc73ff4 100755 --- a/viewnzb.tpl +++ b/viewnzb.tpl @@ -56,7 +56,7 @@ RSS Feed {/if} {if $show && $release.videos_id > 0} - Add to My Shows View all episodes @@ -662,13 +662,12 @@ No comments yet... {/if} -
    - {{csrf_field()}} + {{Form::open(['url' => "details/{$release.guid}"])}}

    - -
    + {{Form::submit('Submit', ['class' => 'btn btn-default'])}} + {{Form::close()}} {if $release.jpgstatus == 1 && $userdata.canpreview == 1}
    diff --git a/viewseries.tpl b/viewseries.tpl index 15af46f..d713333 100755 --- a/viewseries.tpl +++ b/viewseries.tpl @@ -70,7 +70,7 @@

    + {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
    With Selected: @@ -106,20 +106,20 @@ {if $myshows.id != ''} {else} @@ -257,5 +257,5 @@ {/foreach}
    - + {{Form::close()}} {/if} diff --git a/viewserieslist.tpl b/viewserieslist.tpl index 1141f03..06ce912 100755 --- a/viewserieslist.tpl +++ b/viewserieslist.tpl @@ -26,17 +26,17 @@ {if $serieslist|@count > 0}
    -
    - + {{Form::open(['class' => 'form pull-right', 'style' => 'margin-top:-35px;'])}} + {{Form::open(['name' => 'showsearch', 'class' => 'navbar-form', 'method' => 'get'])}}
    - + {{Form::button('Go', ['class' => 'btn btn-success', 'type' => 'submit'])}}
    - - + {{Form::close()}} + {{Form::close()}}
    {foreach $serieslist as $sletter => $series} @@ -75,15 +75,15 @@
    {$s.countries_id|escape:"htmlall"} {if $s.userseriesid != null} - Edit
    - Remove {else} - Add {/if} diff --git a/viewxxxfull.tpl b/viewxxxfull.tpl index 40790cc..e86dd76 100755 --- a/viewxxxfull.tpl +++ b/viewxxxfull.tpl @@ -47,7 +47,7 @@ -
    + {{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
    {if isset($section) && $section != ''}View: @@ -224,7 +224,7 @@ {/if}
    -
    + {{Form::close()}} {/foreach} -{/if} \ No newline at end of file +{/if} diff --git a/xxx.tpl b/xxx.tpl index 9679568..15a7192 100755 --- a/xxx.tpl +++ b/xxx.tpl @@ -11,7 +11,7 @@
    {include file='search-filter.tpl'}
    -
    +{{Form::open(['id' => 'nzb_multi_operations_form', 'method' => 'get'])}}
    @@ -254,8 +254,8 @@ {assign var="mpass" value=","|explode:$result->grp_release_password} {assign var="minnerfiles" value=","|explode:$result->grp_rarinnerfilecount} {assign var="mhaspreview" value=","|explode:$result->grp_haspreview} - {foreach $msplits as $loop=>$m name="loop"} - {if $smarty.foreach.loop.first} + {foreach $msplits as $m} + {if $m@first}
    - +{{Form::close()}}