Subversion Repositories wimsdev

Rev

Rev 8120 | Rev 12011 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8120 Rev 8529
Line 187... Line 187...
187
      }
187
      }
188
      for(p2=p;*p2 && *p2!='\n' && !isdigit(*p2);p2++);
188
      for(p2=p;*p2 && *p2!='\n' && !isdigit(*p2);p2++);
189
      if(isdigit(*p2)) pp=find_word_end(p2);
189
      if(isdigit(*p2)) pp=find_word_end(p2);
190
      else for(i=0, pp=p;i<2;i++) pp=find_word_end(find_word_start(pp));
190
      else for(i=0, pp=p;i<2;i++) pp=find_word_end(find_word_start(pp));
191
      *pp=0;
191
      *pp=0;
192
      if(*p!=0) printf("<a href=\"%s\">%s</a>",homepage,p);
192
      if(*p!=0) printf("<a target=\"wims_external\" href=\"%s\">%s</a>",homepage,p);
193
    }
193
    }
194
}
194
}
195
 
195
 
196
char *dynsetup(char *ptr, char *end)
196
char *dynsetup(char *ptr, char *end)
197
{
197
{