Commit 83086781 authored by Christophe Dumez's avatar Christophe Dumez

- use new cute buttons

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6832 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f4f4c18c
......@@ -129,9 +129,9 @@ print \'\'\'\n
nbModified=0;\n
nbAdded=0;\n
nbRemoved=0;\n
FilesRemovedArray=[]\n
FilesAddedArray=[]\n
FilesModifiedArray=[]\n
FilesRemovedArray=[];\n
FilesAddedArray=[];\n
FilesModifiedArray=[];\n
if(popup == 1){\n
//hide popup\n
document.getElementById(\'menudiv\').style.display = "none";\n
......@@ -140,6 +140,7 @@ print \'\'\'\n
}else{\n
filesCheckedArray=tree.getAllChecked().split(\',\');\n
}\n
\n
for(i=0;i<filesCheckedArray.length; ++i){\n
if(tree.getItemColor(filesCheckedArray[i])==\'red\'){\n
FilesRemovedArray[nbRemoved++]=filesCheckedArray[i];\n
......@@ -152,29 +153,30 @@ print \'\'\'\n
}\n
}\n
}\n
\n
partialToCommit=tree.getAllPartiallyChecked();\n
if(nbModified!=0){\n
filesModified=FilesModifiedArray.join(\',\');\n
if(partialToCommit!=\'\'){\n
filesModified=filesModified+\',\'+partialToCommit\n
filesModified=filesModified+\',\'+partialToCommit;\n
}\n
}else{\n
filesModified=\'none\'\n
filesModified=\'none\';\n
if(partialToCommit!=\'\'){\n
filesModified=partialToCommit\n
filesModified=partialToCommit;\n
}\n
}\n
form.modified.value=filesModified;\n
if(nbAdded!=0){\n
filesAdded=FilesAddedArray.join(\',\');\n
}else{\n
filesAdded=\'none\'\n
filesAdded=\'none\';\n
}\n
form.added.value=filesAdded;\n
if(nbRemoved!=0){\n
filesRemoved=FilesRemovedArray.join(\',\');\n
}else{\n
filesRemoved=\'none\'\n
filesRemoved=\'none\';\n
}\n
form.removed.value=filesRemoved;\n
if (nbRemoved==0 && nbAdded==0 && nbModified==0) {\n
......@@ -188,9 +190,9 @@ print \'\'\'\n
nbModified=0;\n
nbAdded=0;\n
nbRemoved=0;\n
FilesRemovedArray=[]\n
FilesAddedArray=[]\n
FilesModifiedArray=[]\n
FilesRemovedArray=[];\n
FilesAddedArray=[];\n
FilesModifiedArray=[];\n
if(popup == 1){\n
//hide popup\n
document.getElementById(\'menudiv\').style.display = "none";\n
......@@ -214,19 +216,19 @@ print \'\'\'\n
if(nbModified!=0){\n
filesModified=FilesModifiedArray.join(\',\');\n
}else{\n
filesModified=\'none\'\n
filesModified=\'none\';\n
}\n
form.modified.value=filesModified;\n
if(nbAdded!=0){\n
filesAdded=FilesAddedArray.join(\',\');\n
}else{\n
filesAdded=\'none\'\n
filesAdded=\'none\';\n
}\n
form.added.value=filesAdded;\n
if(nbRemoved!=0){\n
filesRemoved=FilesRemovedArray.join(\',\');\n
}else{\n
filesRemoved=\'none\'\n
filesRemoved=\'none\';\n
}\n
form.removed.value=filesRemoved;\n
if (nbRemoved==0 && nbAdded==0 && nbModified==0) {\n
......
......@@ -63,7 +63,9 @@
<link rel="STYLESHEET" type="text/css" href="css/dhtmlXTree.css">\n
\n
<script src="js/dhtmlXCommon.js"></script>\n
<script src="js/dhtmlXTree.js"></script>\t\n
<script src="js/dhtmlXTree.js"></script>\n
<script src="js/menuico.js"></script>\n
\n
<!-- Form Hidden : Selected files -->\n
<input type=\'hidden\' name=\'removed\' value=\'\'>\n
<input type=\'hidden\' name=\'added\' value=\'\'>\n
......@@ -127,9 +129,16 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br>\n
</td>\n
\t</tr>\n
</table>\n
<button onclick="viewDiff(0,this.form)" value="diff" name="View Diff" type="button">View Diff</button>\n
<button onclick="commit(0,this.form)" value="commit" name="commit Changes" type="button">Commit Changes</button>\n
<button onclick="revert(0,this.form)" value="revert" name="revert Changes" type="button">Revert Changes</button>\n
\n
<script>\n
// Menu Customization\n
var MenuToolBar=new CreateToolBarMenu(\'#dae6e6\', \'#FFFFFF\', \'#B1BBBB\', \'#6699FF\', \'font-family:verdana;font-size:11px;color:black;font-weight:bold\', 16, 16)\n
MenuToolBar.Add(\'imgs/diffoff.png\', \'imgs/diffon.png\', \'View Diff\', \'#\', \'viewDiff(0,document.main_form);\');\n
MenuToolBar.Add(\'imgs/execoff.png\', \'imgs/execon.png\', \'Commit Changes\', \'#\', \'commit(0,document.main_form);\');\n
MenuToolBar.Add(\'imgs/trashoff.png\', \'imgs/trashon.png\', \'Revert Changes\', \'#\', \'revert(0,document.main_form);\');\n
// Menu Display\n
MenuToolBar.Display();\n
</script>\n
</center>\n
<script>\n
if(upLevel) {\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>diffoff.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
CxMAAAsTAQCanBgAAAAHdElNRQfWBBQNHwIJxM97AAABXklEQVQoz2XOPSxDYRTG8f/73rfVD60B
UZ2Ij4kgWGyWBjF0sdkYJAZhsBsZJMJisBnFKNgkBBtpUjH4ikGkqdK67b23ve81iFZ4lpOc/HKe
IyAdtRLMWh1l6c+7Z6Vt+3bSoRrjuttatRbcgMqpgkb3eJ1OIXm/5/0AlR+pm24h1CwoY6IpCgv3
hocqcGYaiBBC8olAE+3wwpnRGpD2kA8DA4mBIkiEeMyYq/0gnYCkjEkRHx5ZXninNLi7VaswCYNA
YVBPhDIFlMxEqxfMSweNxsNDoIE3mhC1itLGExqBi4uLR54L+A36rCDXfKKp4JLhEJsPKm2rbd9A
pBKnR+OcU0DjEaOJLC8EnMyBObfyCgqglSQajcZFc0U7cX8qecfS4vqj4l+6SJGjF3vCKs0v/wEC
CPBM3hxmIMxUqlF+rwUCWZ2gTo43s3ZcBRNKAjv/avzZp7X9/shYMf0FpeWHDaLuqJMAAAAASUVO
RK5CYII=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>461</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>diffon.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH1AcZDQMWDWtFXQAAAqNJREFUeNqFkstL1FEUx7/33t/M
OE8Vx8ZRE2GgIiill1BQtMgXSW4CF62qhS37A6Jdi1pFQbSQQCJoE20ybRFFhRWpaGRk4iOLUWac
GX/ze/9+994WM9JjhvrCgQPnnA/nfDkEAObnF2NFy+kmBBcNy055rk0Dfp8qPPHGMs27jiW/DAyc
cFBFZGZ2YZflWFcsx+mhFHmmsAKk5B7niuC83nO9KVPTR02dTwwN9fO/AUpBLR711/jONSXiCIUC
jYQQuK4LTTcghYRuGMQyTXhC+wxguQLgOtaFWF0I0WgY4VANGKVQNR2EEAghEIuFU5AinMvkT1YD
UMuxD/l9PjBGoTAGSikYY/ApCoLBGsSiUbQ0J5sYk8PVPKC2Y9dQSuC6Hoq6Ad0wEfApkFIgv5nD
enodW4UCTNM8eO/+2O2KExzH0wGEAYAQAqYwUMYQjUQQi0Tgui6KRQ2K4qeZTDZWsYGpme8cx4EQ
EkIISCkhpQQBIIUEAUE+l0dDfAcIIZUnmKZ9c3XlB7jwSsZxAc45eBmmqireTk5BQkGVedCOjv1W
OBjG3Ow8NE0HFwKe54FzgUwmi/Gnz2HbBG7+O/Yaj9pnrra0//lIH5e6J1+/mOjtO4XJyWmoxRyk
4ICkSDQlEW9IwMiuIrI2ip3+r87WRmZsS6fDx2+kNwBA2SY1J5swONhX9qIUnAtwwZH9MIVIqg7x
1jN+ZXp80FxYw+NLycuDd9Ir9LdlUPXXQVC7pxuql8JWXkX9gR4k2hr7owHn2oPzyVYF/9C26yxY
h1fpZtR9WtSPdRE0dp0OS4ydLcxlG+iv5tIAIQClBLScE0JAaAm0Hjj88v2TiVsbm6ZN244oWmRf
t0LLxZGRUfxXgfrNb8vq9dzDZ52idnfvktU5/xMwYkiBOjqJVAAAAABJRU5ErkJggg==</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>790</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>execoff.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
CxIAAAsSAdLdfvwAAAAHdElNRQfWBBQNGy5fcGacAAABrUlEQVQoz22QT0gUcQCFv5mddXZrUnZn
TEEJiRBPphSVpzp0ECMIvNilQ9QlRKKDRgdhD6nYIUihOngo6B8o4sGTwupKEUG1FsIiYouDazI6
uv90nf3Njoc9mNB3fHzwHk8CgI/npCFRiN698KAY75njHySYqHW7xW7+2Wly274qoSzdGpw6JnwY
D3QW8WOSRkFH7GVn9lYjj8qCDy49tcIh4mzjsM8u+OubvLZgLJEEUN5dcQJZ8ggz/co1q1uNO349
i4rRRhRAGhunE4rEIu8HcKC3rnmi4nKJFBvJz+e/ZGTbSJGmxJlrCIDhdaWjZrMaDa3B6AJZ/rvD
GgWMq5He8qwuOziq4mAuz0ZBpt+9p1sFXE4Mjo68MQBE0iKP3njjNkgwpHkbQgOQqRQn437htGwG
SsgsLnzqUMC9HtIyqFRgYynWxXJRmAypeRwZ3NnMss6O6aMeD49awnj8JvZyYQTHB1GnaXLFevHQ
SIRuFnAJcpYDtvYXn9hLIB29fr+h9U8dM+b3x+1vhZju+zFGDpQjwd36+jrY/O35z6lTuYS99osc
/0FFPR4cAiEYqcMznubjAAAAAElFTkSuQmCC</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>540</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>execon.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBI
WXMAAAsSAAALEgHS3X78AAAAB3RJTUUH0wkCFgQeea9JfgAAAuNJREFUeNqNk0toXHUUh7/7nDsz
N9dpnSYxVyatJgqKNmikis8UKaQrsSJWRFoRCqIoKoLYigtFRUsXsRRduHAhNdTUVmKNpu2kreAi
1tASChPThDycSSbzyGRmcjP38XeRTmjRgD84q3POxzm/w5G4Ti+cqrbNG/In8orv5Pq/fall2zOv
uK4/8tPeeJJ1JAHsGXSaA1+86rmieNIwPiMhaE2v5EqGcpNS81U7efmp3w5sO7EuoPuXlWNDCW1X
c8lnMqZgjZYw5yrImoLXEsVc9qsN2dqvLDlX/3g78ea/AJ1HamPDptZGB9iDs2wqlpCkYLVAlglt
tBjvaET9u0q477vt40f3na0D5N0/Vh5MNNYMKxqgFnw2VZama4t/vucsDL8oqblD4Vv0nGoGbJ0q
YOgqSuM9D92wQ9fx5WOcE4JzQmgDnmjf2/cBoNfz9334vb1jIP17dzIvuk9XhdlbEfZHsxPxxw5Y
APLyvIjzF5AFVyjI7Xc/AXh1wMX9u2Zl3dkZvTU6t6FJQ8TC5OOxzXpj53MAsioHGWvGRxkVUIH5
1tbHH/k89c71U/7ctSWvRvUvdENFciTMK1OpuVOrPshmkHv/rurAy+0bSlkqUJBCjDW1frzjm2zP
s8eX4nWI7jCZzUC5DBW7+Y7Y0/27167Q1ZMxZ/RIekxrMOsNBoLbw553c0Qa0XTFK7pSx6U8hisA
BczkxfPlr+/fqQIEvnhyzjZMikAEMMDJSIwWNJUCnTe43gLawiJMXB4CajKA74tBO11MWc0OW6am
py25CncC4lrcttqIgGhyllDfmSPls3t61gAX3mop66mJ7Xbv6Xcn3kg83PTDyD4zUwEJVLdGxCnC
VgE2eFqwXBsf6AXm1/sP2l5LbW7oXxRcDcTG/amp2KMHn498lfZCh2ec8AMHXwfWvFL/C+B7wULD
yStf6kOhe90zRw+Vhj89YVkdZXf0cH5lsu8SUOZ/KnQt1tU/Wcwxzw05AoYAAAAASUVORK5CYII=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>854</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>trashoff.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAQAAAC1+jfqAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAA
CxMAAAsTAQCanBgAAAAHdElNRQfWBBQNGTSQJP1kAAABT0lEQVQoz03PP2sTcRgH8M/dJU0UilRr
WhAKoYigiyJ0cioKLjo6uTi7ieArcegL0MEXoDjoJDg5CVpQEGyklaSacMnd/fLnziGS5Ptsz/OB
L08EPDjbvrd7d+PK7PzQ317ny6fXH94IEMGl3YOXN/Zifcf+GPilJ3v/4mF+TAyPnu3vJXLBTGks
daTcv/+E/6BxLlEtJpNqum27BTXIszXrEpGpSE3bppveZgsQMgZ6CrnEuqCjZVgsQJqWKiNdPVOR
SE0hWwFZKRJL1MUipdhIugQhlCqVqdxEoq6ukOULMMpKQd+JI6mxSktDWK0o5HITkTWxzA99g5Uv
ikJqpqapLrIhCMKyIs+nLhoJchOxhrZrXi0rOj8Pi1vNLSNDlTMuaPo47h5b5vLj593vVVHN060O
Tneezi/Rwuxs37l6fWuzik5Ov37+/c63+fof8TWd7bFbEqMAAAAASUVORK5CYII=</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>446</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>Image</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>trashon.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="base64">iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAAmpJREFU
eJxtkctrE1EUh7+bmSRt7SNpm0bF1IJQqbrwAaVQcNEHiNBFl4LuxIXdiSL4B7hw58KNK7vRvQsF
H7XgRkRBEIylKrGxTc2zyWTuvTPJzLiIkdb0B+dwFvf3nXPPEezWtac9qbHphakx40IyFj7e8MSg
XW9SrMji743Ml833T57lV+4/B5y2RbSL/tTJY7cevXk8dTYxSQgKVfiWg+0yVKrwdROKBUhWX618
WL50GVnMAYTagIWrd24vziQmhQl1DbYDnge+D8qFigXZDJS8uZnzi9dvtH3/AP0RYyAOBD54wd7Y
UVCsQ7gbrsxCKtk/0vaZ7cKVUh4GmlEoAgd8MF3oDmBAwPQRODoEs+dg6UVNdgCU60mAjA2ZEjga
LAWGAQMDsOPC2wL056BeV7oDIGsVSwMNIK/hZwGyJXA8CInWtqNmazeW1PsBSlL9vYshIGJAVxhC
Rsvs+xAKQdUGy9pvArfpSCCglRpNkMpDNwJMQ2CGDaIRqGlQstVrD8C2tZSA0lCuwFbOJfNLUbU0
jqsJAo+DI33EzASOdjonsK2KrDlgK1AKXFcAESJhg5CIYMs633+UqFUU1k698woN3dRSQcmCZjPA
NE16usKYYRACYvE4tusTVTnQ1c4vKOmqhN1kIm5i2YJqAyoOiAaEQ9AbCZhKCRbGR5hbDnT5f0Ax
m95YS2/pi9OprjODPnllUJTgBxCLwtigoC8KL9/l3HI+m2M/Jcfnl+4+WC2k161A6WCPtgpOcO/h
amlodPrmbo/YhzPae2hqfuLEqdPDyeRwEPiisJ0vraU/fa5vf3wNrO9+/AcF9EFMptG8QgAAAABJ
RU5ErkJggg==</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>16</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>691</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<tuple>
<string>OFS.Image</string>
<string>File</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts45545061.76</string> </value>
</item>
<item>
<key> <string>__ac_local_roles__</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>menuico.js</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>application/x-javascript</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
function CreateToolBarMenu(colBackground, colLight, colShadow, colFlash, style, height, width) {\n
this.nb=0;\n
this.colBackground=colBackground;\n
this.colLight=colLight;\n
this.colShadow=colShadow;\n
this.colFlash=colFlash;\n
this.height=height;\n
this.width=width;\n
this.style=style;\n
this.Index=-1;\n
this.NbFlash=0;\n
this.Add=AddMenuToolBar;\n
this.Display=DisplayToolBarMenu;\n
}\n
\n
function AddMenuToolBar(imgOff, imgOn, text, url, js) {\n
var link=new Object();\n
link.imgOff=imgOff;\n
link.imgOn=imgOn;\n
link.text=text;\n
link.url=url;\n
link.js=js;\n
this[this.nb]=link;\n
this.nb++;\n
}\n
\n
function DisplayToolBarMenu() {\n
if (document.getElementById || document.all) {\n
var Z="<TABLE border=0 cellpadding=1 cellspacing=1><TR>";\n
for (var i=0; i<this.nb; i++) {\n
Z+="<TD onMouseOver=\'DisplayToolBarMenuOver(this,"+i+")\' onMouseOut=\'DisplayToolBarMenuOut(this,"+i+")\' onMouseDown=\'DisplayToolBarMenuDown(this,"+i+")\' onClick=\'DisplayToolBarMenuClick(this,"+i+")\' style=\'border-style:solid;border-width:1px;border-color:"+this.colBackground+";"+this.style+";cursor:pointer\'><IMG name=\'MenuToolBarIMG"+i+"\' src=\'"+this[i].imgOff+"\' border=0 width="+this.width+" height="+this.height+" align=top>&nbsp;"+this[i].text+"</TD>";\n
}\n
Z+="</TR></TABLE>";\n
} else {\n
var Z="| &nbsp;";\n
for (var i=0; i<this.nb; i++) {\n
Z+="<A href=\'"+this[i].url+"\' style=\'"+this.style+"\'><IMG name=\'MenuToolBarIMG"+i+"\' src=\\""+this[i].imgOff+"\\" border=0 width="+this.width+" height="+this.height+" align=top>&nbsp;"+this[i].text+"</A>&nbsp;|&nbsp;";\n
}\n
}\n
document.write(Z);\n
}\n
function DisplayToolBarMenuOver(obj,ind) {\n
obj.style.borderTopColor=MenuToolBar.colLight;\t\n
obj.style.borderLeftColor=MenuToolBar.colLight;\t\n
obj.style.borderBottomColor=MenuToolBar.colShadow;\t\n
obj.style.borderRightColor=MenuToolBar.colShadow;\t\n
document.images[\'MenuToolBarIMG\'+ind].src=MenuToolBar[ind].imgOn;\n
}\n
\n
function DisplayToolBarMenuOut(obj,ind) {\n
obj.style.borderTopColor=MenuToolBar.colBackground;\t\n
obj.style.borderBottomColor=MenuToolBar.colBackground;\t\n
obj.style.borderLeftColor=MenuToolBar.colBackground;\t\n
obj.style.borderRightColor=MenuToolBar.colBackground;\t\n
document.images[\'MenuToolBarIMG\'+ind].src=MenuToolBar[ind].imgOff;\n
}\n
\n
\n
function DisplayToolBarMenuDown(obj,ind) {\n
obj.style.borderTopColor=MenuToolBar.colShadow;\n
obj.style.borderLeftColor=MenuToolBar.colShadow;\t\n
obj.style.borderBottomColor=MenuToolBar.colLight;\t\n
obj.style.borderRightColor=MenuToolBar.colLight;\n
}\n
\n
function DisplayToolBarMenuClick(obj,ind) {\n
MenuToolBar.Index=ind;\n
MenuToolBar.obj=obj;\n
MenuToolBar.NbFlash=0;\n
MenuToolBarFlash();\n
}\n
\n
function MenuToolBarFlash() {\n
MenuToolBar.NbFlash++;\n
if (Math.round(MenuToolBar.NbFlash/2) != MenuToolBar.NbFlash/2) {\n
MenuToolBar.obj.style.backgroundColor=MenuToolBar.colFlash;\n
} else {\n
MenuToolBar.obj.style.backgroundColor=MenuToolBar.colBackground;\n
}\n
if (MenuToolBar.NbFlash < 8) {\n
setTimeout(\'MenuToolBarFlash()\',50-5*MenuToolBar.NbFlash);\n
} else {\n
eval(MenuToolBar[MenuToolBar.Index].js);\n
window.location=MenuToolBar[MenuToolBar.Index].url;\n
}\n
}\n
\n
]]></string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>3559</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment