org/sonews/web/tmpl/SonewsPeerServlet.tmpl
author chris <chris@marvin>
Wed, 01 Jul 2009 10:48:22 +0200
changeset 2 1090e2141798
parent 1 6fceb66e1ad7
permissions -rw-r--r--
sonews/0.5.1 fixes merged
     1 <p>
     2 <a href="/sonews">Back to Main Page</a>
     3 </p>
     4 
     5 On this page you can configure to which peer hosts new messages are 
     6 posted or from which peer hosts we should receive messages.
     7 
     8 <h2>Peers</h2>
     9 %PEERS
    10 
    11 <h3>Add new peer</h3>
    12 <form action="" method="GET">
    13 <table style="border: 0px">
    14   <tr>
    15     <td>Hostname:</td>
    16     <td><input type="text" name="host" value="news.someremotehost.org" /></td>
    17   </tr>
    18   <tr>
    19     <td>Port:</td>
    20     <td><input type="text" name="port" value="119" /></td>
    21   </tr>
    22 </table>
    23 <input type="submit" value="Add peer" />
    24 </form>
    25 
    26 <h2>Rules</h2>
    27 <h3>Current</h3>
    28 %PEERING_RULES
    29 
    30 <h3>Add peering rule</h3>
    31 <form action="" method="GET">
    32 <table style="border: 0px">
    33   <tr>
    34     <td>Peer:</td>
    35     <td>%OPTION_PEERS</td>
    36   </tr>
    37   <tr>
    38     <td>Group:</td>
    39     <td>%OPTION_GROUP</td>
    40   </tr>
    41   <tr>
    42     <td>Peering type:</td>
    43     <td>
    44       <select name="peertype">
    45         <option value="0">Pull peering</option>
    46         <option value="1">Push peering</option>
    47       </select>
    48     </td>
    49   </tr>
    50 </table>
    51 <input type="submit" value="Add peering rule" />
    52 </form>