Revision 3d143b33
Added by Andreas Kohlbecker almost 13 years ago
themes/palmweb_2/template.php | ||
---|---|---|
30 | 30 |
return $out; |
31 | 31 |
} |
32 | 32 |
|
33 |
function _disabled_palmweb_2_cdm_taxon_page_images($taxon, $media){ |
|
34 |
|
|
35 |
$flashLink = isset($media[0]); |
|
36 |
|
|
37 |
if($flashLink){ |
|
38 |
|
|
39 |
$taggedName = $taxon->name->taggedName; |
|
40 |
|
|
41 |
$nameArray = array(); |
|
42 |
foreach($taggedName as $taggedText){ |
|
43 |
if($taggedText->type == 'name'){ |
|
44 |
$nameArray[] = $taggedText->text; |
|
45 |
} |
|
46 |
} |
|
47 |
|
|
48 |
$query = join("%5F", $nameArray) . '%20AND%20EditWP6%20AND%20jpg'; |
|
49 |
|
|
50 |
$out = ' |
|
51 |
|
|
52 |
<script type="text/javascript" src="http://media.bgbm.org/erez/js/fsiwriter.js"></script> |
|
53 |
|
|
54 |
<script type="text/javascript"> |
|
55 |
<!-- |
|
56 |
writeFlashCode( "http://media.bgbm.org/erez/fsi/fsi.swf?&cfg=showcase_presets/showcase_info.fsi&effects=%26quality%3D95&showcase_query='.$query.'&skin=silver&showcase_labeltextheight=50&textbox_textfrom=IPTC_WP6&textbox_height=50¶m_backgroundcolor=454343&publishwmode=opaque&showcase_hscroll=true&showcase_basecolor=454343&plugins=PrintSave,textbox", |
|
57 |
"http://media.bgbm.org/erez/erez?src=erez-private/flashrequired.svg&tmp=Large&quality=97&width=500&height=323", |
|
58 |
"width=500;height=323;bgcolor=454343;wmode=opaque"); |
|
59 |
// --> |
|
60 |
</script> |
|
61 |
<noscript> |
|
62 |
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0" width="500" height="323"> |
|
63 |
<param name="movie" value="http://media.bgbm.org/erez/fsi/fsi.swf?&cfg=showcase_presets/showcase_info.fsi&effects=%26quality%3D95&showcase_query='.$query.'&skin=silver&showcase_labeltextheight=50&textbox_textfrom=IPTC_WP6&textbox_height=50¶m_backgroundcolor=454343&publishwmode=opaque&showcase_hscroll=true&showcase_basecolor=454343plugins=PrintSave,textbox"/> |
|
64 |
<param name="bgcolor" value="454343" /> |
|
65 |
<param name="wmode" value="opaque" /> |
|
66 |
<param name="allowscriptaccess" value="always" /> |
|
67 |
<param name="allowfullscreen" value="true" /> |
|
68 |
<param name="quality" value="high" /> |
|
69 |
<embed src="http://media.bgbm.org/erez/fsi/fsi.swf?&cfg=showcase_presets/showcase_info.fsi&effects=%26quality%3D95&showcase_query='.$query.'&skin=silver&showcase_labeltextheight=50&textbox_textfrom=IPTC_WP6&textbox_height=50¶m_backgroundcolor=454343&publishwmode=opaque&showcase_hscroll=true&showcase_basecolor=454343plugins=PrintSave,textbox" |
|
70 |
width="500" |
|
71 |
height="323" |
|
72 |
bgcolor="454343" |
|
73 |
wmode="opaque" |
|
74 |
allowscriptaccess="always" |
|
75 |
allowfullscreen="true" |
|
76 |
quality="high" |
|
77 |
type="application/x-shockwave-flash" |
|
78 |
pluginspage="http://www.adobe.com/go/getflashplayer"> |
|
79 |
</embed> |
|
80 |
</object> |
|
81 |
|
|
82 |
</noscript>'; |
|
83 |
|
|
84 |
}else{ |
|
85 |
$out = 'No images available.'; |
|
86 |
|
|
87 |
} |
|
88 |
return $out; |
|
89 |
|
|
90 |
|
|
91 |
} |
|
92 | 33 |
|
93 | 34 |
function palmweb_2_cdm_descriptionElementDistribution($descriptionElements) { |
94 | 35 |
|
Also available in: Unified diff
new sub module fsi_gallery - fixing: #2469 (FSI gallery copyright statement configurable), #2386 (FSI gallery query configurable)