Changeset 22651


Ignore:
Timestamp:
2010-08-17T16:37:27+12:00 (14 years ago)
Author:
mdewsnip
Message:

Changed vlistbrowserclass.cpp and demo/etc/collect.cfg to use the new "dmsafe:" format statement modifier on Source metadata, now that underscores will no longer be escaped in the build time.

Location:
main/trunk/greenstone2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/collect/demo/etc/collect.cfg

    r21754 r22651  
    2929format SearchVList "<td valign=top>[link][icon][/link]</td><td>{If}{[parent(All\': \'):Title],[parent(All\': \'):Title]:}[link][Title][/link]</td>"
    3030
    31 format VList "<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[Source]</i></small>}</td>"
     31format VList "<td valign=top>[link][icon][/link]</td><td valign=top>[highlight]{Or}{[Title],Untitled}[/highlight]{If}{[Date],<br><small><i>_textdate_[Date]</i></small>}{If}{[NumPages],<br><small><i>_textnumpages_[NumPages]</i></small>}{If}{[Source],<br><small><i>_textsource_[dmsafe:Source]</i></small>}</td>"
    3232
    3333format DocumentText "<h3>[Title]</h3>\\n\\n<p>[Text]"
  • main/trunk/greenstone2/runtime-src/src/recpt/vlistbrowserclass.cpp

    r21758 r22651  
    6161    "<td valign=\"top\">[srclink]{Or}{[thumbicon],[srcicon]}[/srclink]</td>"
    6262    "<td valign=\"top\">[highlight]{Or}{[dls.Title],[dc.Title],[Title],Untitled}[/highlight]"
    63     "{If}{[Source],<br><i>([Source])</i>}</td>";
     63    "{If}{[Source],<br><i>([dmsafe:Source])</i>}</td>";
    6464}
    6565
Note: See TracChangeset for help on using the changeset viewer.