Changeset 22967 for documented-examples

Show
Ignore:
Timestamp:
27.09.2010 12:48:55 (9 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

Files:
1 modified

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