Added 'go' as hidden input fields to all of the forms in the room editor
[citadel.git] / webcit / static / t / room / edit / tab_feed.html
index e33240cf790c80ff70d5f3a0fb29064797573c47..6a11cd2d1c6d074590c228abedd4b8a9c396c386 100644 (file)
@@ -1,6 +1,13 @@
 <div class="tabcontent">
        <i><?_("Retrieve messages from these remote POP3 accounts and store them in this room:")></i>
        <br />
+       <form method="post" action="netedit">
+<p>
+        <input type="hidden" name="last_tabsel" value="<?TAB:N>" />
+       <input type="hidden" name="prefix" value="pop3client|" />
+       <input type="hidden" name="nonce" value="<?NONCE>">
+       <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
+</p>
        <table class="altern" border="0" cellpadding="5">
                <tr class="even">
                        <th><?_("Remote host")></th>
                        <th><?_("Interval")></th>
                        <th>&nbsp;</th>
                </tr>
-               <?ITERATE("ITERATE:THISROOM:GNET", ="pop3client_removal", 0, 0, -1, #"pop3client")>
-               <form method="post" action="netedit">
+               <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_pop3client_removal", 0, 0, -1, #"pop3client")>
                        <tr>
-                               <input type="hidden" name="tab" value="feeds" />
-                               <input type="hidden" name="prefix" value="pop3client|" />
-                               <input type="hidden" name="nonce" value="<?NONCE>">
                                <td><input type="text" id="add_as_pop3host" name="line_pop3host" /></td>
                                <td><input type="text" id="add_as_pop3user" name="line_pop3user" /></td>
                                <td><input type="password" id="add_as_pop3pass" name="line_pop3pass" /></td>
                                <td><input type="text" id="add_as_pop3int" name="line_pop3int" maxlength="5" /></td>
                                <td><input type="submit" name="add_button" value="<?_("Add")>" /></td>
                        </tr>
-               </form>
        </table>
+       </form>
        <hr>
        <i><?_("Fetch the following RSS feeds and store them in this room:")></i>
        <br />
+       <form method="post" action="netedit">
+<p>
+       <input type="hidden" name="last_tabsel" value="<?TAB:N>" />
+       <input type="hidden" name="prefix" value="rssclient|" />
+       <input type="hidden" name="nonce" value="<?NONCE>" />
+       <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
+</p>
        <table class="altern" border="0" cellpadding="5">
                <tr class="even">
                        <th>
-                               <img src="static/rss_16x.png" width="16" height="16" alt=" " /> 
+                               <img src="static/webcit_icons/essen/16x16/rss.png" alt=" " /> 
                                <?_("Feed URL")>
                        </th>
                        <th></th>
                </tr>
-               <?ITERATE("ITERATE:THISROOM:GNET", ="rssclient_removal", 0, 0, -1, #"rssclient")>
-               <form method="post" action="netedit">
+               <?ITERATE("ITERATE:THISROOM:GNET", ="room_edit_rssclient_removal", 0, 0, -1, #"rssclient")>
                        <tr>
-                               <input type="hidden" name="tab" value="feeds" />
-                               <input type="hidden" name="prefix" value="rssclient|" />
-                               <input type="hidden" name="nonce" value="<?NONCE>" />
-                               <td><input type="text" id="add_as_pop3host" size="72" "maxlength="256" name="line_pop3host" /></td>
+                               <td><input type="text" id="add_as_rssclient" size="72" maxlength="256" name="line_pop3host" /></td>
                                <td><input type="submit" name="add_button" value="<?_("Add")>" /></td>
                        </tr>
-               </form>
        </table>
+       </form>
 </div>