Add a 'go' value to the 'edit room configuration' tab so it automatically selects...
authorArt Cancro <ajc@uncensored.citadel.org>
Tue, 15 May 2012 03:56:15 +0000 (23:56 -0400)
committerArt Cancro <ajc@uncensored.citadel.org>
Tue, 15 May 2012 03:56:15 +0000 (23:56 -0400)
webcit/roomops.c
webcit/static/t/room/edit.html
webcit/static/t/room/edit/tab_config.html
webcit/subst.c

index 09534742eeaae5ba09b01b4222c68ef64487d60d..2cba1abb615945ff4a6e9f2ba315958e2adf7124 100644 (file)
@@ -5,17 +5,11 @@
  *
  * This program is open source software.  You can redistribute it and/or
  * modify it under the terms of the GNU General Public License, version 3.
- * 
- * 
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
- *
- * 
- * 
- * 
  */
 
 #include "webcit.h"
index d3f3c07bb849f069b68fac7637c0c1d2d7862b17..c8928ccb33e6ae360e84a3feb6112d76cc64f6ca 100644 (file)
@@ -11,7 +11,6 @@
           _("Remote retrieval"), ="room_edit_tab_feed",
           "", ="room_edit_submit")>
 </td></tr></table>
-
 <?=("addressbook_popup")>
 </div>
 <?=("trailing")>
index 7c45b6ec76fce126cc07568099f8570ed8ac4c94..872f3ea1942245df5b7c2c92504a2c3c95e4fafb 100644 (file)
@@ -1,6 +1,7 @@
 <?!("COND:THISROOM:EDIT", 1)><div class="tabcontent">
        <form method="post" action="editroom">
                <input type="hidden" name="nonce" value="<?NONCE>" />
+               <input type="hidden" name="go" value="<?ROOM:INFO:PRINT_NAME("X")>">
                <ul>   
                        <li>
                                <?_("name of room: ")>
index 41a352e6878b96373a18fe3b53c1eda7d42b2f04..1a8d029f0eef959e6f96c4ae65bd6d7b6219c1d9 100644 (file)
@@ -584,10 +584,10 @@ long GetTemplateTokenNumber(StrBuf *Target, WCTemplputParams *TP, int N, long df
 }
 
 
-/**
- * \brief puts string into the template and computes which escape methon we should use
- * \param Source the string we should put into the template
- * \param FormatTypeIndex where should we look for escape types if?
+/*
+ * puts string into the template and computes which escape methon we should use
+ * Source = the string we should put into the template
+ * FormatTypeIndex = where should we look for escape types if?
  */
 void StrBufAppendTemplate(StrBuf *Target, 
                          WCTemplputParams *TP,