Project

General

Profile

« Previous | Next » 

Revision 376

Added by nicolasboyer 6 months ago

changement chrono

View differences:

resetBtn.uiwidget
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="resetBtn">
1
<?xml version="1.0"?>
2
<sm:openUiWidget xmlns:sm="http://www.utc.fr/ics/scenari/v3/modeling" xmlns:sc="http://www.utc.fr/ics/scenari/v3/core" xmlns="http://www.w3.org/1999/xhtml" code="resetBtn">
3 3
	<sm:fillTemplateBuffers>
4 4
		<sm:standardLibrary codeLib="PaLib"/>
5 5
	</sm:fillTemplateBuffers>
6 6
	<sm:content>
7 7
		<sm:choose>
8 8
			<sm:when sc:refUri="/prism/web/cnd/isEvalReset.cond">
9
				<div xmlns="http://www.w3.org/1999/xhtml" id="resetStorageData" style="display: none;">
10
					<a class="btnReset" onclick="rubisMgr.resetAllDatas();return false;" title="Effacer définitivement toutes mes productions relatives à cette étude de cas">
11
						<addAttribute name="href">
12
							<sm:callUrlZone key="urlPage"/>
13
						</addAttribute>
9
				<div id="resetStorageData" style="display: none;">
10
					<a class="btnReset" onclick="rubisMgr.resetAllDatas();return false;" title="Effacer définitivement toutes mes productions relatives à cette étude de cas" href="#">
14 11
						<span>;Recommencer</span>
15
						<span class="lnkImg"></span>
12
						<span class="lnkImg"/>
16 13
					</a>
17 14
				</div>
18
				<script xmlns="http://www.w3.org/1999/xhtml" type="text/JavaScript">scOnLoads[scOnLoads.length] = {
15
				<script type="text/JavaScript">scOnLoads[scOnLoads.length] = {
19 16
	onLoad: function() {
20 17
		if(scServices.locationStorage &amp;&amp; scServices.locationStorage.getLocation()) {
21 18
			if((scServices.storage &amp;&amp; scServices.storage.isStorageActive()) || (scServices.scorm12 &amp;&amp; scServices.scorm12.isScorm12Active()) || (scServices.scorm2k4 &amp;&amp; scServices.scorm2k4.isScorm2k4Active())) {

Also available in: Unified diff