Ignore:
Timestamp:
2010-09-27T12:48:55+13:00 (14 years ago)
Author:
kjdon
Message:

modified DocumentText format statement. If p=text but there is no text, then display screenicon or srcicon. Similarly, if asked for screenicon, and there is none, then display srcicon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documented-examples/trunk/pagedimg-e/etc/collect.cfg

    r20507 r22967  
    6161format DocumentText "<center><table width=_pagewidth_><tr><td>
    6262{If}{_cgiargp_ eq \'fullsize\',[srcicon],
    63 {If}{_cgiargp_ eq \'preview\',[screenicon],{If}{[NoText] eq \'1\',,[Text]}}}
     63{If}{_cgiargp_ eq \'preview\',{Or}{[screenicon],[srcicon]},{If}{[NoText] eq \'1\',{Or}{[screenicon],[srcicon]},[Text]}}}
    6464</td></tr></table></center>"
    6565
Note: See TracChangeset for help on using the changeset viewer.