Fossil

Diff
Login

Diff

Differences From Artifact [ebee9197c7]:

To Artifact [d752f8b645]:


210
211
212
213
214
215
216

217


218
219
220
221
222
223
224
210
211
212
213
214
215
216
217

218
219
220
221
222
223
224
225
226







+
-
+
+







void form_begin(const char *zOtherArgs, const char *zAction, ...){
  char *zLink;
  va_list ap;
  if( zOtherArgs==0 ) zOtherArgs = "";
  va_start(ap, zAction);
  zLink = vmprintf(zAction, ap);
  va_end(ap);
  if( fossil_strcmp(zLink,"/register")==0
  if( g.perm.Hyperlink && !g.javascriptHyperlink ){
   || (g.perm.Hyperlink && !g.javascriptHyperlink)
  ){
    @ <form method="POST" action="%z(zLink)" %s(zOtherArgs)>
  }else{
    needHrefJs = 1;
    @ <form method="POST" data-action='%s(zLink)' action='%R/login' \
    @ %s(zOtherArgs)>
  }
}