Changeset 7106
- Timestamp:
- 2004-03-22T15:36:15+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/PagedImgPlug.pm
r6860 r7106 59 59 # 60 60 # To display the images instead of the document text, you can use [srcicon] 61 # (the original image) or [screenicon] (the smaller image) in a format 62 # statement. Her is one that switches between the two: 61 # in the DocumentText format statement. 62 # For example, 63 # 64 # format DocumentText "<center><table width=_pagewidth_><tr><td>[srcicon]</td></tr></table></center>" 65 66 # If you have used -screenview, you can also use [screenicon] in the format 67 # statement to display the smaller image. Here is an example that switches 68 # between the two: 63 69 # 64 70 # format DocumentText "<center><table width=_pagewidth_><tr><td>_If_('_cgiargp_' eq 'full',<a href='_httpdocument_&d=_cgiargd_&p=small'>Switch to small version.</a>,<a href='_httpdocument_&d=_cgiargd_&p=full'>Switch to fullsize version</a>)</td></tr><tr><td>_If_('_cgiargp_' eq 'full',<a href='_httpdocument_&d=_cgiargd_&p=small' title='Switch to small version'>[srcicon]</a>,<a href='_httpdocument_&d=_cgiargd_&p=full' title="Switch to fullsize version'>[screenicon]</a></td></tr></table></center>" … … 105 111 'type' => "int", 106 112 'deft' => "100", 113 'range' => "1,", 107 114 'reqd' => "no" }, 108 115 { 'name' => "thumbnailtype", … … 115 122 'type' => "flag", 116 123 'reqd' => "no" }, 117 { 'name' => "screenviewsize",124 { 'name' => "screenviewsize", 118 125 'desc' => "{PagedImgPlug.screenviewsize}", 119 126 'type' => "int", 120 'deft' => "500", 127 'deft' => "500", 128 'range' => "1,", 121 129 'reqd' => "no" }, 122 130 { 'name' => "screenviewtype", … … 134 142 'type' => "int", 135 143 'deft' => "100", 144 'range' => "1,", 136 145 'reqd' => "no" }, 137 146 { 'name' => "noheaderpage", … … 595 604 } 596 605 606 close ITEMFILE; 607 597 608 $file =~ s/\.item//i; 598 609 #use the name of the .item file as the OID
Note:
See TracChangeset
for help on using the changeset viewer.