[tuxdroid-svn] r4918 - in software_suite_v3/smart-core/smart-server/trunk: data/web_interface/user
Status: Beta
Brought to you by:
ks156
Author: remi
Date: 2009-06-27 19:01:40 +0200 (Sat, 27 Jun 2009)
New Revision: 4918
Added:
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window-ie6.css
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window.css
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_btn_activate.png
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_btn_enable.png
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_bottom.png
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_middle.png
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_top.png
Modified:
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup-ie6.css
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup.css
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/lightbox.js
software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl
software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/default.pot
software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/en.po
software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/fr.po
Log:
* added "configuration" and "help" frame. (with a fake content inside for the moment ...)
* added icon in the "delete gadget confirmation" popup
* added some translations
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup-ie6.css
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup-ie6.css 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup-ie6.css 2009-06-27 17:01:40 UTC (rev 4918)
@@ -22,17 +22,26 @@
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/data/web_interface/user_01/img/popup_frame01_bottom.png",sizingMethod="scale");
}
+.popup01GadgetIcon{
+ height:34px;
+ width:34px;
+ margin-left:5px;
+ margin-top:4px;
+ display:table;
+ float:left;
+}
+
.popup01Message{
- width:351px;
+ width:313px;
height:34px;
- margin-left:10px;
+ margin-left:6px;
margin-top:4px;
display:table;
float:left;
line-height:34px;
font-size:12px;
color:#000;
- text-align:center;
+ text-align:left;
vertical-align:middle;
font-weight:bold;
overflow:hidden;
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup.css
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup.css 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/popup.css 2009-06-27 17:01:40 UTC (rev 4918)
@@ -22,17 +22,26 @@
background-image:url(/data/web_interface/user_01/img/popup_frame01_bottom.png);
}
-.popup01Message{
- width:351px;
+.popup01GadgetIcon{
height:34px;
+ width:34px;
margin-left:10px;
margin-top:4px;
display:table;
float:left;
+}
+
+.popup01Message{
+ width:313px;
+ height:34px;
+ margin-left:6px;
+ margin-top:4px;
+ display:table;
+ float:left;
line-height:34px;
font-size:12px;
color:#000;
- text-align:center;
+ text-align:left;
vertical-align:middle;
font-weight:bold;
overflow:hidden;
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window-ie6.css
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window-ie6.css (rev 0)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window-ie6.css 2009-06-27 17:01:40 UTC (rev 4918)
@@ -0,0 +1,101 @@
+.windowFrame01Top{
+ height:50px;
+ width:450px;
+ overflow:hidden;
+ display:block;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/data/web_interface/user_01/img/window_frame01_top.png",sizingMethod="scale");
+}
+
+.windowFrame01Middle{
+ height:440px;
+ width:450px;
+ overflow:hidden;
+ display:block;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/data/web_interface/user_01/img/window_frame01_middle.png",sizingMethod="scale");
+}
+
+.windowFrame01Bottom{
+ height:10px;
+ width:450px;
+ overflow:hidden;
+ display:block;
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/data/web_interface/user_01/img/window_frame01_bottom.png",sizingMethod="scale");
+}
+
+.windowGadgetIcon{
+ height:33px;
+ width:33px;
+ margin-left:5px;
+ margin-top:10px;
+ display:table;
+ float:left;
+}
+
+.windowTitle{
+ width:391px;
+ height:33px;
+ margin-left:6px;
+ margin-top:10px;
+ display:table;
+ float:left;
+ line-height:33px;
+ font-size:12px;
+ color:#FFF;
+ text-align:left;
+ vertical-align:middle;
+ font-weight:bold;
+ overflow:hidden;
+ text-decoration:none;
+ font-family:Verdana, Bitstream Vera Sans, Arial, Helvetica, sans-serif;
+}
+
+iframe.windowContentIFrame{
+ left:0px;
+ top:0px;
+ width:424px;
+ height:390px;
+ display:table;
+ margin-top:8px;
+ margin-left:12px;
+ background-color:#EFEFEF;
+ border-color:black;
+ border-style:solid;
+ border-width:1px;
+ overflow-y:auto;
+ overflow-x:hidden;
+}
+
+.windowBtn{
+ width:68px;
+ height:34px;
+ margin-left:2px;
+ margin-top:6px;
+ padding-top:-1px;
+ line-height:34px;
+ font-size:10px;
+ color:#FFFFFF;
+ text-align:center;
+ vertical-align:middle;
+ font-weight:bold;
+ overflow:hidden;
+ text-decoration:none;
+ display:table;
+ float:left;
+ font-family:Verdana, Bitstream Vera Sans, Arial, Helvetica, sans-serif;
+ background-image:url(/data/web_interface/user_01/img/window_btn_enable.png);
+}
+
+.windowBtn:hover{
+ background-image:url(/data/web_interface/user_01/img/window_btn_activate.png);
+}
+
+.window01Box {
+ display: none;
+ position:absolute;
+ top:0px;
+ left:202px;
+ width:450px;
+ height:500px;
+ z-index:1001;
+ overflow:hidden;
+}
\ No newline at end of file
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window.css
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window.css (rev 0)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/css/window.css 2009-06-27 17:01:40 UTC (rev 4918)
@@ -0,0 +1,101 @@
+.windowFrame01Top{
+ height:50px;
+ width:450px;
+ overflow:hidden;
+ display:block;
+ background-image:url(/data/web_interface/user_01/img/window_frame01_top.png);
+}
+
+.windowFrame01Middle{
+ height:440px;
+ width:450px;
+ overflow:hidden;
+ display:block;
+ background-image:url(/data/web_interface/user_01/img/window_frame01_middle.png);
+}
+
+.windowFrame01Bottom{
+ height:10px;
+ width:450px;
+ overflow:hidden;
+ display:block;
+ background-image:url(/data/web_interface/user_01/img/window_frame01_bottom.png);
+}
+
+.windowGadgetIcon{
+ height:33px;
+ width:33px;
+ margin-left:10px;
+ margin-top:10px;
+ display:table;
+ float:left;
+}
+
+.windowTitle{
+ width:391px;
+ height:33px;
+ margin-left:6px;
+ margin-top:10px;
+ display:table;
+ float:left;
+ line-height:33px;
+ font-size:12px;
+ color:#FFF;
+ text-align:left;
+ vertical-align:middle;
+ font-weight:bold;
+ overflow:hidden;
+ text-decoration:none;
+ font-family:Verdana, Bitstream Vera Sans, Arial, Helvetica, sans-serif;
+}
+
+iframe.windowContentIFrame{
+ left:0px;
+ top:0px;
+ width:424px;
+ height:390px;
+ display:table;
+ margin-top:8px;
+ margin-left:12px;
+ background-color:#EFEFEF;
+ border-color:black;
+ border-style:solid;
+ border-width:1px;
+ overflow-y:auto;
+ overflow-x:hidden;
+}
+
+.windowBtn{
+ width:68px;
+ height:34px;
+ margin-left:2px;
+ margin-top:6px;
+ padding-top:-1px;
+ line-height:34px;
+ font-size:10px;
+ color:#FFFFFF;
+ text-align:center;
+ vertical-align:middle;
+ font-weight:bold;
+ overflow:hidden;
+ text-decoration:none;
+ display:table;
+ float:left;
+ font-family:Verdana, Bitstream Vera Sans, Arial, Helvetica, sans-serif;
+ background-image:url(/data/web_interface/user_01/img/window_btn_enable.png);
+}
+
+.windowBtn:hover{
+ background-image:url(/data/web_interface/user_01/img/window_btn_activate.png);
+}
+
+.window01Box {
+ display: none;
+ position:absolute;
+ top:0px;
+ left:202px;
+ width:450px;
+ height:500px;
+ z-index:1001;
+ overflow:hidden;
+}
\ No newline at end of file
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_btn_activate.png
===================================================================
(Binary files differ)
Property changes on: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_btn_activate.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_btn_enable.png
===================================================================
(Binary files differ)
Property changes on: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_btn_enable.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_bottom.png
===================================================================
(Binary files differ)
Property changes on: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_bottom.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_middle.png
===================================================================
(Binary files differ)
Property changes on: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_middle.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_top.png
===================================================================
(Binary files differ)
Property changes on: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/img/window_frame01_top.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/lightbox.js
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/lightbox.js 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/js/lightbox.js 2009-06-27 17:01:40 UTC (rev 4918)
@@ -16,6 +16,7 @@
var detect = navigator.userAgent.toLowerCase();
var OS,browser,version,total,thestring;
+var _abortNext = false;
/*-----------------------------------------------------------------------------------------------*/
@@ -57,6 +58,11 @@
/*-----------------------------------------------------------------------------------------------*/
+function abortNextLightbox()
+{
+ _abortNext = true;
+}
+
Event.observe(window, 'load', getBrowserInfo, false);
Event.observe(window, 'unload', Event.unloadCache, false);
@@ -76,58 +82,23 @@
// Turn everything on - mainly the IE fixes
activate: function(){
- if (browser == 'Internet Explorer'){
- this.getScroll();
- this.prepareIE('100%', 'hidden');
- this.setScroll(0,0);
- this.hideSelects('hidden');
- }
- this.displayLightbox("block");
+ this.displayLightbox("block");
},
- // Ie requires height to 100% and overflow hidden or else you can scroll down past the lightbox
- prepareIE: function(height, overflow){
- bod = document.getElementsByTagName('body')[0];
- bod.style.height = height;
- bod.style.overflow = overflow;
-
- htm = document.getElementsByTagName('html')[0];
- htm.style.height = height;
- htm.style.overflow = overflow;
- },
-
- // In IE, select elements hover on top of the lightbox
- hideSelects: function(visibility){
- selects = document.getElementsByTagName('select');
- for(i = 0; i < selects.length; i++) {
- selects[i].style.visibility = visibility;
- }
- },
-
- // Taken from lightbox implementation found at http://www.huddletogether.com/projects/lightbox/
- getScroll: function(){
- if (self.pageYOffset) {
- this.yPos = self.pageYOffset;
- } else if (document.documentElement && document.documentElement.scrollTop){
- this.yPos = document.documentElement.scrollTop;
- } else if (document.body) {
- this.yPos = document.body.scrollTop;
- }
- },
-
- setScroll: function(x, y){
- window.scrollTo(x, y);
- },
-
displayLightbox: function(display){
$('overlay').style.display = display;
parent.top.document.getElementById('overlay').style.display = display;
$(this.content).style.display = display;
- if (display != 'none')
+ if (display != 'none')
{
+ this.actions();
$(this.content).onfocus(this.elementId);
+ if (_abortNext)
+ {
+ _abortNext = false;
+ this.displayLightbox("none");
+ }
}
- if(display != 'none') this.actions();
},
// Search through new links within the lightbox, and attach click event
@@ -144,12 +115,6 @@
// Example of creating your own functionality once lightbox is initiated
deactivate: function(){
- if (browser == "Internet Explorer"){
- this.setScroll(0,this.yPos);
- this.prepareIE("auto", "auto");
- this.hideSelects("visible");
- }
-
this.displayLightbox("none");
}
}
Modified: software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/data/web_interface/user_01/xsl/gadgets.xsl 2009-06-27 17:01:40 UTC (rev 4918)
@@ -16,15 +16,18 @@
<!-- IE <= 7 -->
<xsl:comment><![CDATA[[if lte IE 7]>
<link href="/data/web_interface/user_01/css/popup-ie6.css" rel="stylesheet" type="text/css"/>
+ <link href="/data/web_interface/user_01/css/window-ie6.css" rel="stylesheet" type="text/css"/>
<![endif]]]></xsl:comment>
<!-- IE >= 8 -->
<xsl:comment><![CDATA[[if gte IE 8]>
<link href="/data/web_interface/user_01/css/popup.css" rel="stylesheet" type="text/css"/>
+ <link href="/data/web_interface/user_01/css/window.css" rel="stylesheet" type="text/css"/>
<![endif]]]></xsl:comment>
</xsl:when>
<!-- FIREFOX ETC... -->
<xsl:otherwise>
<link href="/data/web_interface/user_01/css/popup.css" rel="stylesheet" type="text/css"/>
+ <link href="/data/web_interface/user_01/css/window.css" rel="stylesheet" type="text/css"/>
</xsl:otherwise>
</xsl:choose>
<script src="/data/web_interface/user_01/js/hashtable.js" type="text/javascript"/>
@@ -37,7 +40,9 @@
var knowedGadgetsDict = null;
var knowedPlayingGadgetUuid1 = "0";
var knowedPlayingGadgetUuid2 = "0";
- var lastUuidAction = "0";
+ var lastGadgetUuidInAction = "0";
+ var lastGadgetNameInAction = "0";
+ var lastGadgetIconInAction = "0";
var translationStart = "";
var translationStop = ""
var translationDelete = "";
@@ -210,17 +215,53 @@
htmlContent += '<a class="gadgetsBtnTitle gadgetsBtnStopDisable" id="stopId_' + uuid + '" onclick="javascript:return false;" href="#">' + translationStop + '</a>';
}
htmlContent += '<div class="gadgetsVSpacer" style="width:18px;"></div>';
- htmlContent += '<a class="gadgetsBtnNoTitle gadgetsBtnHelp" id="helpId_' + uuid + '" onclick="" href="#" name="lbOn" rel="popupNotYetImplemented"></a>';
+ htmlContent += '<a class="gadgetsBtnNoTitle gadgetsBtnHelp" id="helpId_' + uuid + '" onclick="" href="#" name="lbOn" rel="windowGadgetHelp"></a>';
htmlContent += '<div class="gadgetsVSpacer" style="width:8px;"></div>';
- htmlContent += '<a class="gadgetsBtnNoTitle gadgetsBtnConfigure" id="configureId_' + uuid + '" onclick="" href="#" name="lbOn" rel="popupNotYetImplemented"></a>';
+ htmlContent += '<a class="gadgetsBtnNoTitle gadgetsBtnConfigure" id="configureId_' + uuid + '" onclick="" href="#" name="lbOn" rel="windowGadgetConfiguration"></a>';
htmlContent += '<div class="gadgetsVSpacer" style="width:8px;"></div>';
- htmlContent += '<a class="gadgetsBtnNoTitle gadgetsBtnDuplicate" id="duplicateId_' + uuid + '" onclick="javascript:setUuidAction(\''+uuid+'\');duplicateUgc();return false;" href="#"></a>';
+ htmlContent += '<a class="gadgetsBtnNoTitle gadgetsBtnDuplicate" id="duplicateId_' + uuid + '" onclick="javascript:setLastGadgetInAction(\''+uuid+'\');duplicateUgc();return false;" href="#"></a>';
htmlContent += '<div class="gadgetsVSpacer" style="width:18px;"></div>';
htmlContent += '<a class="gadgetsBtnTitle gadgetsBtnDelete" id="deleteId_' + uuid + '" onclick="" href="#" name="lbOn" rel="popupConfirmDelete">' + translationDelete + '</a>';
htmlContent += '<div class="frame01Sep2"></div>';
return htmlContent;
}
+ function getGadgetNameFromUuid(uuid)
+ {
+ if (knowedGadgetsDict != null)
+ {
+ var gadgets = knowedGadgetsDict;
+ var gadgetsCount = parseInt(gadgets.get("data0").get("count"));
+ for (i = 0; i < gadgetsCount; i++)
+ {
+ gUuid = gadgets.get("data0").get("gadget_" + i + "_uuid");
+ if (gUuid == uuid)
+ {
+ return gadgets.get("data0").get("gadget_" + i + "_name");
+ }
+ }
+ }
+ return "";
+ }
+
+ function getGadgetIconFromUuid(uuid)
+ {
+ if (knowedGadgetsDict != null)
+ {
+ var gadgets = knowedGadgetsDict;
+ var gadgetsCount = parseInt(gadgets.get("data0").get("count"));
+ for (i = 0; i < gadgetsCount; i++)
+ {
+ gUuid = gadgets.get("data0").get("gadget_" + i + "_uuid");
+ if (gUuid == uuid)
+ {
+ return gadgets.get("data0").get("gadget_" + i + "_icon");
+ }
+ }
+ }
+ return "";
+ }
+
function disableAllGadgetButtons(uuid)
{
disableStartStopGadgetButtons(uuid);
@@ -316,7 +357,7 @@
getRequest("/robot_content_interactions/stop_gadget", {});
}
- function setUuidAction(uuid)
+ function setLastGadgetInAction(uuid)
{
var idx = uuid.indexOf("_", 0) + 1;
uuid = uuid.slice(idx, uuid.length);
@@ -324,41 +365,82 @@
{
if (thisGadgetIsPlaying(uuid))
{
- lastUuidAction = "0";
- clickMe("closeLightbox");
- return;
+ lastGadgetUuidInAction = "0";
+ lastGadgetNameInAction = "0";
+ lastGadgetIconInAction = "0";
+ return false;
}
}
- lastUuidAction = uuid;
+ lastGadgetUuidInAction = uuid;
+ lastGadgetNameInAction = getGadgetNameFromUuid(uuid);
+ lastGadgetIconInAction = getGadgetIconFromUuid(uuid);
+ return true;
}
+ function updateWindowGadgetHelpContent(uuid)
+ {
+ if (!setLastGadgetInAction(uuid))
+ {
+ abortNextLightbox();
+ return;
+ }
+ document.getElementById("windowGadgetHelpIcon").src = lastGadgetIconInAction;
+ setpng(document.getElementById("windowGadgetHelpIcon"));
+ document.getElementById("windowGadgetHelpTitle").firstChild.nodeValue = lastGadgetNameInAction;
+ document.getElementById("windowGadgetHelpContentIFrame").src = "http://www.google.fr";
+ }
+
+ function updateWindowGadgetConfigurationContent(uuid)
+ {
+ if (!setLastGadgetInAction(uuid))
+ {
+ abortNextLightbox();
+ return;
+ }
+ document.getElementById("windowGadgetConfigurationIcon").src = lastGadgetIconInAction;
+ setpng(document.getElementById("windowGadgetConfigurationIcon"));
+ document.getElementById("windowGadgetConfigurationTitle").firstChild.nodeValue = lastGadgetNameInAction;
+ document.getElementById("windowGadgetConfigurationContentIFrame").src = "http://www.google.fr";
+ }
+
+ function updatePopupGadgetDeleteContent(uuid)
+ {
+ if (!setLastGadgetInAction(uuid))
+ {
+ abortNextLightbox();
+ return;
+ }
+ document.getElementById("popup01GadgetDeleteIcon").src = lastGadgetIconInAction;
+ setpng(document.getElementById("popup01GadgetDeleteIcon"));
+ }
+
function duplicateUgc()
{
- if (lastUuidAction == "0")
+ if (lastGadgetUuidInAction == "0")
{
return;
}
var language = document.getElementById("language").value;
var args = {
- "uuid" : lastUuidAction,
+ "uuid" : lastGadgetUuidInAction,
"language" : language
}
getRequest("/wi_devel/ugc_duplicate", args);
- lastUuidAction = "0";
+ lastGadgetUuidInAction = "0";
fillGadgetRows(knowedGadgetsFilter);
}
function deleteUgc()
{
- if (lastUuidAction == "0")
+ if (lastGadgetUuidInAction == "0")
{
return;
}
var args = {
- "uuid" : lastUuidAction
+ "uuid" : lastGadgetUuidInAction
}
getRequest("/ugc_server/remove_ugc", args);
- lastUuidAction = "0";
+ lastGadgetUuidInAction = "0";
fillGadgetRows(knowedGadgetsFilter);
}
]]>
@@ -430,9 +512,17 @@
<div class="frame01Bottom"></div>
</div>
<!-- POPUP CONFIRM DELETE -->
- <div id="popupConfirmDelete" class="popup01Box" onfocus="setUuidAction(arguments[0]);">
+ <div id="popupConfirmDelete" class="popup01Box" onfocus="updatePopupGadgetDeleteContent(arguments[0]);">
<div class="popupFrame01Top"></div>
<div class="popupFrame01Middle">
+ <div class="popup01GadgetIcon">
+ <xsl:element name="img">
+ <xsl:attribute name="id">popup01GadgetDeleteIcon</xsl:attribute>
+ <xsl:attribute name="src">/data/web_interface/user_01/img/empty.png</xsl:attribute>
+ <xsl:attribute name="height">34</xsl:attribute>
+ <xsl:attribute name="width">34</xsl:attribute>
+ </xsl:element>
+ </div>
<span class="popup01Message"><xsl:value-of select="root/translations/popup_confirm_delete_gadget"/></span>
<xsl:element name="a">
<xsl:attribute name="class">popupBtn</xsl:attribute>
@@ -452,10 +542,10 @@
<div class="popupFrame01Bottom"></div>
</div>
<!-- POPUP NOT YET IMPLEMENTED -->
- <div id="popupNotYetImplemented" class="popup01Box" onfocus="return false;">
+ <div id="popupNotYetImplemented" class="popup01Box" onfocus="return true;">
<div class="popupFrame01Top"></div>
<div class="popupFrame01Middle">
- <span class="popup01Message" style="width:409px;"><xsl:value-of select="root/translations/popup_not_yet_implemented"/></span>
+ <span class="popup01Message" style="width:409px;text-align:center;"><xsl:value-of select="root/translations/popup_not_yet_implemented"/></span>
<xsl:element name="a">
<xsl:attribute name="class">popupBtn</xsl:attribute>
<xsl:attribute name="name">lbOff</xsl:attribute>
@@ -465,6 +555,75 @@
</div>
<div class="popupFrame01Bottom"></div>
</div>
+ <!-- WINDOW GADGET HELP -->
+ <div id="windowGadgetHelp" class="window01Box" onfocus="updateWindowGadgetHelpContent(arguments[0]);">
+ <div class="windowFrame01Top">
+ <div class="windowGadgetIcon">
+ <xsl:element name="img">
+ <xsl:attribute name="id">windowGadgetHelpIcon</xsl:attribute>
+ <xsl:attribute name="src">/data/web_interface/user_01/img/empty.png</xsl:attribute>
+ <xsl:attribute name="height">33</xsl:attribute>
+ <xsl:attribute name="width">33</xsl:attribute>
+ </xsl:element>
+ </div>
+ <span class="windowTitle" id="windowGadgetHelpTitle"> . </span>
+ </div>
+ <div class="windowFrame01Middle">
+ <iframe class="windowContentIFrame"
+ id="windowGadgetHelpContentIFrame"
+ name="windowGadgetHelpContentIFrame"
+ frameborder="0"
+ scrolling="no"
+ src="">
+ </iframe>
+ <div style="display:table;float:left;height:34px;width:370px"></div>
+ <xsl:element name="a">
+ <xsl:attribute name="class">windowBtn</xsl:attribute>
+ <xsl:attribute name="name">lbOff</xsl:attribute>
+ <xsl:attribute name="rel">deactivate</xsl:attribute>
+ <xsl:attribute name="href">#</xsl:attribute><xsl:value-of select="root/translations/close"/>
+ </xsl:element>
+ </div>
+ <div class="windowFrame01Bottom"></div>
+ </div>
+ <!-- WINDOW GADGET CONFIGURATION -->
+ <div id="windowGadgetConfiguration" class="window01Box" onfocus="updateWindowGadgetConfigurationContent(arguments[0]);">
+ <div class="windowFrame01Top">
+ <div class="windowGadgetIcon">
+ <xsl:element name="img">
+ <xsl:attribute name="id">windowGadgetConfigurationIcon</xsl:attribute>
+ <xsl:attribute name="src">/data/web_interface/user_01/img/empty.png</xsl:attribute>
+ <xsl:attribute name="height">33</xsl:attribute>
+ <xsl:attribute name="width">33</xsl:attribute>
+ </xsl:element>
+ </div>
+ <span class="windowTitle" id="windowGadgetConfigurationTitle"> . </span>
+ </div>
+ <div class="windowFrame01Middle">
+ <iframe class="windowContentIFrame"
+ id="windowGadgetConfigurationContentIFrame"
+ name="windowGadgetConfigurationContentIFrame"
+ frameborder="0"
+ scrolling="no"
+ src="">
+ </iframe>
+ <div style="display:table;float:left;height:34px;width:300px"></div>
+ <xsl:element name="a">
+ <xsl:attribute name="class">windowBtn</xsl:attribute>
+ <xsl:attribute name="name">lbOff</xsl:attribute>
+ <xsl:attribute name="rel">deactivate</xsl:attribute>
+ <xsl:attribute name="href">#</xsl:attribute><xsl:value-of select="root/translations/apply"/>
+ </xsl:element>
+ <xsl:element name="a">
+ <xsl:attribute name="class">windowBtn</xsl:attribute>
+ <xsl:attribute name="name">lbOff</xsl:attribute>
+ <xsl:attribute name="rel">deactivate</xsl:attribute>
+ <xsl:attribute name="href">#</xsl:attribute><xsl:value-of select="root/translations/cancel"/>
+ </xsl:element>
+ </div>
+ <div class="windowFrame01Bottom"></div>
+ </div>
+
</body>
</html>
</xsl:template>
Modified: software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/default.pot
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/default.pot 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/default.pot 2009-06-27 17:01:40 UTC (rev 4918)
@@ -54,3 +54,9 @@
msgid "close"
msgstr ""
+
+msgid "apply"
+msgstr ""
+
+msgid "cancel"
+msgstr ""
Modified: software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/en.po
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/en.po 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/en.po 2009-06-27 17:01:40 UTC (rev 4918)
@@ -54,3 +54,9 @@
msgid "close"
msgstr "Close"
+
+msgid "apply"
+msgstr "Apply"
+
+msgid "cancel"
+msgstr "Cancel"
Modified: software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/fr.po
===================================================================
--- software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/fr.po 2009-06-27 11:59:10 UTC (rev 4917)
+++ software_suite_v3/smart-core/smart-server/trunk/translation/wi_user/fr.po 2009-06-27 17:01:40 UTC (rev 4918)
@@ -44,7 +44,7 @@
msgstr "Cette functionnalité n'est pas encore implémentée."
msgid "popup_confirm_delete_gadget"
-msgstr "Cette action va supprimer ce gadget. Continuer ?"
+msgstr "Etes-vous sûr de vouloir supprimer ce gadget ?"
msgid "yes"
msgstr "Oui"
@@ -54,3 +54,9 @@
msgid "close"
msgstr "Fermer"
+
+msgid "apply"
+msgstr "Appliquer"
+
+msgid "cancel"
+msgstr "Annuler"
|