<a href="${helpuri}Configure+Indexers-0-7" id="help" target="_blank">$T('menu-help')</a><h3>Newzbin</h3>
<form id="configNewzbin" class="cmxform" autocomplete="off">

$T('explain-newzbin')<br/>
<br/>
<div class="EntryBlock">


<fieldset class="EntryFieldSet">
<legend>$T('accountInfo')</legend>
  <hr />
    <label class="label">$T('opt-username_newzbin'):</label>
    <input type="text" name="username_newzbin" value="$username_newzbin">
    <span class="tips">$T('explain-username_newzbin')</span>
  <br class="clear" />


  <label class="label">$T('opt-password_newzbin'):</label>
  <input type="password" name="password_newzbin" value="$password_newzbin">
  <span class="tips">$T('explain-password_newzbin')</span>
<br class="clear" />
</fieldset>


<fieldset class="EntryFieldSet">
<legend>$T('newzbinBookmarks')</legend>
  <hr />

  <label><span class="label">$T('newzbinBookmarks'):</span>
  <input class="radio" type="checkbox" name="newzbin_bookmarks" value="1" <!--#if $newzbin_bookmarks > 0 then "checked=1" else ""#--> />
  <span class="tips">$T('explain-newzbin_bookmarks')</span></label>
<br class="clear" />

  <label><span class="label">$T('opt-newzbin_unbookmark'):</span>
  <input class="radio" type="checkbox" name="newzbin_unbookmark" value="1" <!--#if $newzbin_unbookmark > 0 then "checked=1" else ""#--> />
  <span class="tips">$T('explain-newzbin_unbookmark')</span></label>
<br class="clear" />

  <label class="label">$T('opt-bookmark_rate'):</label>
  <input type="text" name="bookmark_rate" value="$bookmark_rate">
  <span class="tips">$T('explain-bookmark_rate')</span>
<br class="clear" />
</fieldset>

<a class="config" onClick="getBookmarks();">$T('link-getBookmarks')</a>
<!--#if $bookmarks_list#-->
  <a class="config" onClick="lr('config/indexers/hideBookmarks');">$T('link-HideBM')</a>
<!--#else#-->
  <a class="config" onClick="lr('config/indexers/showBookmarks');">$T('link-ShowBM')</a>
<!--#end if#-->

<!--#if $bookmarks_list#-->
<fieldset class="EntryFieldSet">
<legend>$T('processedBM')</legend>
  <hr />
    <!--#for $msgid in $bookmarks_list#-->
      <a href="https://$newzbin_url/browse/post/$msgid/" target="_blank">$msgid</a>&nbsp;
  <!--#end for#-->
  <br class="clear" />
</fieldset>
<!--#end if#-->


</div>

<br/><hr/>
<h3>NzbMatrix</h3><br/>

$T('explain-nzbmatrix')<br/>
<br/>
<div class="EntryBlock">


<fieldset class="EntryFieldSet">
<legend>$T('accountInfo')</legend>
  <hr />
    <label class="label">$T('opt-username_matrix'):</label>
    <input type="text" name="matrix_username" value="$matrix_username">
    <span class="tips">$T('explain-username_matrix')</span>
  <br class="clear" />


  <label class="label">$T('opt-apikey_matrix'):</label>
  <input type="text" name="matrix_apikey" value="$matrix_apikey">
  <span class="tips">$T('explain-apikey_matrix')</span>
<br class="clear" />

  <label><span class="label">$T('opt-newzbin_unbookmark'):</span>
  <input class="radio" type="checkbox" name="matrix_del_bookmark" value="1" <!--#if $matrix_del_bookmark > 0 then "checked=1" else ""#--> />
  <span class="tips">$T('explain-newzbin_unbookmark')</span></label>
<br class="clear" />

</fieldset>

<p>
  <input type="button" size="40" value="$T('button-saveChanges')" onclick="javascript:submitconfig('config/indexers/saveNewzbin', this, 'configNewzbin')">
</p>
</form>
