Changeset 3186
- Timestamp:
- 2002-06-25T23:05:43+12:00 (22 years ago)
- Location:
- trunk/protemix
- Files:
-
- 2 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/protemix/etc/collect.cfg
r3182 r3186 3 3 public true 4 4 5 buildtype mgpp6 indexes text,metadata7 levels Section8 defaultindex text,metadata5 #buildtype mgpp 6 #indexes text,metadata 7 #levels Section 8 #defaultindex text,metadata 9 9 10 collectionmeta .text,metadata "all" 10 #collectionmeta .text,metadata "all" 11 12 indexes section:text 13 defaultindex section:text 11 14 12 15 plugin GAPlug 13 16 plugin ProtemixPlug 17 plugin HTMLPlug 18 plugin PDFPlug 19 plugin RTFPlug 20 plugin WordPlug 14 21 plugin ArcPlug 15 22 plugin RecPlug … … 21 28 22 29 format CL1VList \ 23 '<p>[Title]<br><small>\[ [link]text</a> \] \[ <a href="_httpcollection_/index/assoc/[archivedir]/[pdf]">pdf</a> \]</small></p>'30 '<p>[Title]<br><small>\[ [link]text</a> \]{If}{[pdf],\\[ <a href="_httpcollection_/index/assoc/[archivedir]/[pdf]">pdf</a> \\]}</small></p>' 24 31 25 32 format SearchVList \ 26 '<p>{If}{[parent:Title],[parent:Title] <small><i>(page [Title])</i> ,[Title]}<br>\[ [link]text</a> \]\[ <a href="_httpcollection_/index/assoc/[parent:archivedir]/[pdf]">page</a> \]\[ <a href="_httpcollection_/index/assoc/[parent:archivedir]/[parent:pdf]">article</a> \]</small></p>'33 '<p>{If}{[parent:Title],[parent:Title] <small><i>(page [Title])</i></small>,[Title]}<br><small>\[ [link]text</a> \]{If}{[pdf],\\[ <a href="_httpcollection_/index/assoc/[parent:archivedir]/[pdf]">page</a> \\]\\[ <a href="_httpcollection_/index/assoc/[parent:archivedir]/[parent:pdf]">article</a> \\]}</small></p>' 27 34 28 35 collectionmeta collectionname "Protemix FDA Submission" -
trunk/protemix/macros/base.dm
r3177 r3186 124 124 ####################################################################### 125 125 126 _httppagesubdocs_ {_httppagex_(subdocs)} 127 126 128 _httpcollimg_ {_httpcollection_/index/assoc} 127 129 _httpdocimg_ {_httpcollimg_/_thisOID_} … … 145 147 _httpbuild_ {_gwcgi_?e=_compressedoptions_&a=bc} 146 148 147 _httpiconchalk_ {_httpcollection_/images/b ottombgnd.gif}149 _httpiconchalk_ {_httpcollection_/images/bg.gif} 148 150 _widthchalk_ {2000} 149 151 _heightchalk_ {10} … … 261 263 src="_httpiconttitlgr_" width=_widthttitlx_ border=0>} 262 264 263 _iconblankbar_ {<center><img src="_httpcollection_/images/bar .gif"></center>}265 _iconblankbar_ {<center><img src="_httpcollection_/images/bar2.gif"></center>} 264 266 265 267 _icontext_ {<img border=0 align=absmiddle src="_httpiconitext_" width=_widthitext_ height=_heightitext_ alt="_texticontext_">} -
trunk/protemix/macros/style.dm
r3182 r3186 87 87 88 88 <tr valign="top"> 89 <td>< table border="0" cellpadding="0" cellspacing="0" width="638">89 <td><center><table border="0" cellpadding="0" cellspacing="0" width="100%"> 90 90 <tr valign="top"> 91 91 92 <td><img name="greydot1" src="_httpcollection_/images/greydot1.gif" width="26" height="11" border="0"></td> 93 94 <td> 92 <td align="center" width="25%"> 95 93 <a href="_httpquery_" 96 94 onMouseOut="MM_nbGroup('out');" … … 100 98 </td> 101 99 102 <td><img name="greydot2" src="_httpcollection_/images/greydot2.gif" width="96" height="11" border="0"></td> 103 104 <td> 100 <td align="center" width="25%"> 105 101 <a href="_httpdocument_&cl=CL1" 106 102 onMouseOut="MM_nbGroup('out');" … … 110 106 </td> 111 107 112 <td><img name="greydot4" src="_httpcollection_/images/greydot2.gif" width="96" height="11" border="0"></td> 113 114 <td> 108 <td align="center" width="25%"> 115 109 <a href="_httpdocument_&cl=CL2" 116 110 onMouseOut="MM_nbGroup('out');" 117 onMouseOver="MM_nbGroup('over','phrases','_httpcollection_/images/phraseon.gif','_httpcollection_/images/phrase .gif',1);"111 onMouseOver="MM_nbGroup('over','phrases','_httpcollection_/images/phraseon.gif','_httpcollection_/images/phraseon.gif',1);" 118 112 onClick="MM_nbGroup('down','navbar1','phrases','_httpcollection_/images/phraseon.gif',1);"><img 119 113 name="phrases" src="_httpcollection_/images/phraseoff.gif" width="52" height="11" border="0" alt="phrase browser"></a> 120 114 </td> 121 115 122 <td><img name="greydot5" src="_httpcollection_/images/greydot5.gif" width="25" height="11" border="0"></td> 116 <td align="center" width="25%"> 117 <a href="_httppagesubdocs_" 118 onMouseOut="MM_nbGroup('out');" 119 onMouseOver="MM_nbGroup('over','subdocs','_httpcollection_/images/sdocson.gif','_httpcollection_/images/sdocson.gif',1);" 120 onClick="MM_nbGroup('down','navbar1','subdocs','_httpcollection_/images/sdocson.gif',1);"><img 121 name="subdocs" src="_httpcollection_/images/sdocsoff.gif" width="110" height="11" border="0" alt="view submission documents"></a> 122 </td> 123 123 124 124 </tr> 125 </table></ td>125 </table></center></td> 126 126 </tr> 127 127 </table> -
trunk/protemix/perllib/plugins/ProtemixPlug.pm
r3182 r3186 58 58 $filename = &util::filename_cat ($base_dir, $file) if $base_dir =~ /\w/; 59 59 60 return 0 if $filename =~ /\.(pdf|html?|jpe?g)$/i; 60 my $basename = File::Basename::basename($filename); 61 return 0 if $basename =~ /^\d+(-(all|\d+))?\.(html?|pdf)/; 61 62 return undef unless $filename =~ /meta\.xml$/; 62 63 … … 76 77 77 78 my $dir = File::Basename::dirname($filename); 79 80 my $outhandle = $self->{'outhandle'}; 81 print $outhandle "ProtemixPlug: processing $dir\n"; 82 78 83 79 84 # associate article level pdf file -
trunk/protemix/src/recpt/browsetools.cpp
r3177 r3186 33 33 34 34 void output_controls (cgiargsclass &args, const text_tarray &ibuttons, 35 recptproto * /*collectproto*/, displayclass &disp,35 recptproto *collectproto, displayclass &disp, 36 36 outconvertclass &outconvert, ostream &textout, 37 ostream &/*logout*/) { 38 37 ostream &logout) { 38 39 FilterResponse_t response; 40 text_tset metadata; 41 metadata.insert("pdf"); 42 43 if (!get_info (args["d"], args["c"], metadata, false, collectproto, response, logout)) return; 44 45 if (!response.docInfo[0].metadata["pdf"].values[0].empty()) { 46 textout << outconvert << disp 47 << "_document:imagepagepdf_" 48 << "_document:imagearticlepdf_"; 49 } 39 50 textout << outconvert << disp 40 << "_document:imagepagepdf_"41 << "_document:imagearticlepdf_"42 51 << "_document:imagedetach_"; 43 52 if (args["hl"] == "1") {
Note:
See TracChangeset
for help on using the changeset viewer.