Subversion Repositories wimsdev

Rev

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

Rev 15331 Rev 15503
Line 860... Line 860...
860
 
860
 
861
      /* case of theme */
861
      /* case of theme */
862
      if (th) {
862
      if (th) {
863
        s2=getvar("module_title");
863
        s2=getvar("module_title");
864
        if(s2!=NULL && *s2!=0) {
864
        if(s2!=NULL && *s2!=0) {
-
 
865
          char nbuf[MAX_LINELEN+1];
865
          mystrncpy(nbuf,s2,sizeof(buf)); calc_detag(nbuf); setvar("module_title2",nbuf);
866
          mystrncpy(nbuf,s2,sizeof(nbuf)); calc_detag(nbuf); setvar("module_title2",nbuf);
866
        };
867
        };
867
        nbuf=mkfname(NULL,"html/themes/%s/htmlheader.phtml",th) ;
868
        nbuf=mkfname(NULL,"html/themes/%s/htmlheader.phtml",th) ;
868
        if (readfile(nbuf,tmplbuf,sizeof(tmplbuf))) html_header=nbuf ;
869
        if (readfile(nbuf,tmplbuf,sizeof(tmplbuf))) html_header=nbuf ;
869
      }
870
      }
870
    }
871
    }