Author: dsaulnier
Date: Mon Oct 15 17:23:35 2007
New Revision: 18869

URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18869&repname=
=3Djahia
Log:
add show/hide for updates to past versions

Modified:
    branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/html/startup/howtoupgrade5=
03.html

Modified: branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/html/startup/howtoup=
grade503.html
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/branches/JAHIA-5-0-SP=
-BRANCH/core/src/webapp/html/startup/howtoupgrade503.html&rev=3D18869&repna=
me=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/html/startup/howtoupgrade5=
03.html (original)
+++ branches/JAHIA-5-0-SP-BRANCH/core/src/webapp/html/startup/howtoupgrade5=
03.html Mon Oct 15 17:23:35 2007
@@ -85,7 +85,7 @@
                            }
 DIV.maincontent            {
                              width            : 840px;
-                             pading           : 0 10px 0 10px;
+                             padding           : 0 10px 0 10px;
                              background-color : #FFFFFF;
                              float            : left;
                              margin-top       : 10px;
@@ -109,9 +109,43 @@
 }
 -->
 </style>
+<script type=3D"text/javascript">
+<!--
+var div_contents =3D new Array();
+
+function show_section(section_id)
+{
+       var link_node =3D document.getElementById(section_id+"_link");
+       var div_node  =3D document.getElementById(section_id);
+       var section_rank =3D section_id.substr(13,1).match(/\d/);
+       =

+       link_node.setAttribute("href", 
"javascript:hide_section('"+section_id+"')=
");
+       div_node.innerHTML =3D div_contents[section_rank];
+}
+function hide_section(section_id)
+{
+       var link_node =3D document.getElementById(section_id+"_link");
+       var div_node  =3D document.getElementById(section_id);
+       =

+       link_node.setAttribute("href", 
"javascript:show_section('"+section_id+"')=
");
+       div_node.innerHTML =3D "";
+}
+function hide_all()
+{
+       hide_section("upgrade_to_sp1");
+       hide_section("upgrade_to_sp2");
+}
+function init()
+{
+       div_contents[1] =3D document.getElementById("upgrade_to_sp1").innerHTML;
+       div_contents[2] =3D document.getElementById("upgrade_to_sp2").innerHTML;
+       hide_all();
+}
+//-->
+</script>
 </head>
 =

-<body>
+<body onLoad=3D"init()">
 <div class=3D"header">
     <span><img src=3D"images/jahia_logo.gif" width=3D"175" height=3D"57" a=
lt=3D""/></span>
 </div>
@@ -160,9 +194,9 @@
 This document explain how to upgrade from Jahia 5.0.0 to Jahia 5.0.3. Basi=
cally, after launching sql script if you have a jahia version under 5.0.2, =
you need to setup a separate installation of Jahia 5.0.3, then recover from=
 your existing Jahia 5.0.2 the data, content and specific setup you may hav=
e made (connexion to LDAP server, etc).
 You will also need to run an sql script to update your existing database. =
The following procedure should get you up and running :
 <h2>
-       How to upgrade from Jahia 5.0.0 to Jahia 5.0.1
+       <a href=3D"javascript:hide_section('upgrade_to_sp1')" 
id=3D"upgrade_to_sp=
1_link">How to upgrade from Jahia 5.0.0 to Jahia 5.0.1</a>
 </h2>
-
+<div id=3D"upgrade_to_sp1" title=3D"">
 <p>
 =

     <p>
@@ -332,11 +366,11 @@
 =

 </p>
 <BR>
-
+</div>
 <h2>
-       How to upgrade from Jahia 5.0.1 to Jahia 5.0.2
+       <a href=3D"javascript:hide_section('upgrade_to_sp2')" 
id=3D"upgrade_to_sp=
2_link">How to upgrade from Jahia 5.0.1 to Jahia 5.0.2</a>
 </h2>
-
+<div id=3D"upgrade_to_sp2" title=3D"">
 <p>
 =

     <p>
@@ -389,7 +423,7 @@
     </p>
 </p>
 <BR>
-
+</div>
 <h2>
        How to upgrade from Jahia 5.0.2 to Jahia 5.0.3
 </h2>

_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list

Reply via email to