Project

General

Profile

root / branches / 3.7-sc42 / model / sources / academic / gen / _web / widg / img / svgZoom.uiwidget @ 4208

1
<?xml version="1.0" encoding="UTF-8"?>
2
<sm:openUiWidget xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" code="svgZoom" info="SVG zoom (requires scImgMgr)">
3
	<sm:fillTemplateBuffers>
4
		<sm:postXslFragment keyXsl="xhtml">&lt;xsl:overlay match="a[containWord(@class, 'svgZoom')]"&gt;
5
  &lt;xsl:attribute name="onclick"&gt;scImgMgr.loading(); return false;&lt;/xsl:attribute&gt;
6
  &lt;xsl:attribute name="title"&gt;Cliquez pour agrandir (nouvelle fenêtre)&lt;/xsl:attribute&gt;
7
&lt;/xsl:overlay&gt;
8
</sm:postXslFragment>
9
		<sm:otherBuffers keyBuffer="js.postLink">scImgMgr.registerSvg("des:svg");
10
scImgMgr.registerZoom("des:a.svgZoom",{type:"svg",svgMax:1,toolbar:1,titlePath:"par:/nsi:/des:span.capTi"});
11
</sm:otherBuffers>
12
	</sm:fillTemplateBuffers>
13
	<sm:content>
14
		<sm:Widget sc:refUri="/aurora/web/widg/img/scImgMgr.uiwidget"/>
15
	</sm:content>
16
</sm:openUiWidget>
(4-4/5)