Changeset 14072


Ignore:
Timestamp:
2007-05-16T11:14:59+12:00 (14 years ago)
Author:
mdewsnip
Message:

Moved document cover image non-compliant HTML out of the C++ code and into document.dm. Many thanks to John Thompson from DL Consulting Ltd (www.dlconsulting.com).

Location:
trunk/gsdl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/macros/document.dm

    r14019 r14072  
    311311#######################################################################
    312312
     313_coverimage_ {<img alt="Cover Image" onError="src='_httpimg_/blank.gif'" src="_httpcollimg_/_thisOID_/cover.jpg">}
     314
    313315_docbutton_ {<div class="button"><span class="button" title="_3_"><a href="_1_">_2_</a></span></div>
    314316}
  • trunk/gsdl/src/recpt/browsetoolsclass.cpp

    r13432 r14072  
    117117  if (args["d"].empty()) return;
    118118 
    119   textout << outconvert << disp << "<img alt=\"\" onError=\"src='_httpimg_/blank.gif'\" src=\"_httpcollimg_/_thisOID_/cover.jpg\">\n";
     119  textout << outconvert << disp << "_document:coverimage_";
    120120}
    121121
Note: See TracChangeset for help on using the changeset viewer.