Subversion Repositories wimsdev

Rev

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

Rev 16129 Rev 16130
Line 1055... Line 1055...
1055
  u=getvar("wims_user"); if(u==NULL) u="";
1055
  u=getvar("wims_user"); if(u==NULL) u="";
1056
  if(sh!=NULL && *sh!=0) {
1056
  if(sh!=NULL && *sh!=0) {
1057
    char buf[MAX_LINELEN+1],ubuf[32], nbuf[1024], *c, *m;
1057
    char buf[MAX_LINELEN+1],ubuf[32], nbuf[1024], *c, *m;
1058
    char *p1,*p2,*p3,*p4,*p5;
1058
    char *p1,*p2,*p3,*p4,*p5;
1059
    int i,j,sheet;
1059
    int i,j,sheet;
1060
    sheet=atoi(sh); if(sheet<=0 || sheet>256) return;
1060
    sheet=atoi(sh); if(sheet<=0 || sheet>MAX_SHEETS) return;
1061
    m=getvar(ro_name[ro_module]);
1061
    m=getvar(ro_name[ro_module]);
1062
    if(m==NULL) internal_error("set_init_parm(): module name disapears.");
1062
    if(m==NULL) internal_error("set_init_parm(): module name disapears.");
1063
    if(*u==0) public_sheet=1;
1063
    if(*u==0) public_sheet=1;
1064
    if(!public_sheet) {
1064
    if(!public_sheet) {
1065
      c=getvar("wims_class"); if(c==NULL) c="";
1065
      c=getvar("wims_class"); if(c==NULL) c="";