Diff
Not logged in

Differences From:

File src/tagview.c part of check-in [d57de28756] - The "h" capability is now used to enable hyperlinks to non-wiki pages. When "h" is missing, many pages give a hyperlink to the login page and automatically fill in "anonymous" as the user name. The login page jumps back to the target page after a successful login. by drh on 2008-05-05 23:15:29. [view]

To:

File src/tagview.c part of check-in [908009fdc4] - Fix a couple of C++-isms in my_page.c and tagview.c. Remove the return value from autosync(). by drh on 2008-05-07 17:38:57. [view]

@@ -140,8 +140,9 @@
 /*
 ** WEBPAGE: /tagview
 */
 void tagview_page(void){
+  char const * check = 0;
   login_check_credentials();
   if( !g.okRdWiki ){
     login_needed();
   }
@@ -148,9 +149,8 @@
   style_header("Tags");
   login_anonymous_available();
   tagview_page_search_miniform();
   @ <hr/>
-  char const * check = 0;
   if( 0 != (check = P("tagid")) ){
     tagview_page_tag_by_id( atoi(check) );
   }else if( 0 != (check = P("like")) ){
     tagview_page_list_tags( check );