Skip to content

Commit

Permalink
Corrected detection of theme CSS file path. Removed dependency on id …
Browse files Browse the repository at this point in the history
…attributes for pe-ap and theme CSS file path detection. Theme name now read from theme CSS file path.
  • Loading branch information
Paul Jackson authored and Paul Jackson committed Jun 7, 2012
1 parent 03dda07 commit 2a67bf7
Show file tree
Hide file tree
Showing 58 changed files with 114 additions and 112 deletions.
2 changes: 1 addition & 1 deletion build/js/pe-ap-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demos/archived/archived-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -257,7 +257,7 @@ <h2>Archived Content</h2>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/archived/archived-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -253,7 +253,7 @@ <h2>Contenu archivé</h2>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/grids/1col-grid-utilities-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -5429,7 +5429,7 @@ <h2 id="prnt">Print <abbr title="Cascading Style Sheet">CSS</abbr> and grids</h2

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/grids/1col-grid-utilities-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -5349,7 +5349,7 @@ <h2 id="print">Impression en <abbr title="feuille de style en cascade">CSS</abbr

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/grids/2col-grid-utilities-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -4143,7 +4143,7 @@ <h2 id="print">Print <abbr title="Cascading Style Sheet">CSS</abbr> and grids</h

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/grids/2col-grid-utilities-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -4133,7 +4133,7 @@ <h2 id="print">Impression en <abbr title="feuille de style en cascade">CSS</abbr

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/index-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -296,7 +296,7 @@ <h1 id="wb-cont">Working examples - Web Experience Toolkit (WET)</h1>

<!-- ScriptsStart -->
<script src="../build/js/settings.js"></script>
<script src="../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/index-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -296,7 +296,7 @@ <h1 id="wb-cont">Exemples pratiques - Boîte à outils de l’expérience Web (B

<!-- ScriptsStart -->
<script src="../build/js/settings.js"></script>
<script src="../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/mathlib/mathlib-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -1484,7 +1484,7 @@ <h1 id="wb-cont">Mathematical/scientific formula display - Web Experience Toolki

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/mathlib/mathlib-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -1484,7 +1484,7 @@ <h1 id="wb-cont">Affichage des formules mathématiques ou scientifiques - Boîte

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/share/share-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -250,7 +250,7 @@ <h1 id="wb-cont">Share widget - Web Experience Toolkit (WET)</h1>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/share/share-filtered-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -262,7 +262,7 @@ <h1 id="wb-cont">Share widget - Filtered sites - Web Experience Toolkit (WET)</h

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/share/share-filtered-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -261,7 +261,7 @@ <h1 id="wb-cont">Gadget de partage - Sites filtrés - Boîte à outils de l'exp

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/share/share-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -249,7 +249,7 @@ <h1 id="wb-cont">Gadget de partage - Boîte à outils de l'expérience Web (BOEW

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/tabs/tabs-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -542,7 +542,7 @@ <h1 id="wb-cont">Tabbed interface - Web Experience Toolkit (WET)</h1>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/tabs/tabs-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -536,7 +536,7 @@ <h1 id="wb-cont">Interface à onglets - Boîte à outils de l'expérience Web (B

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/texthighlight/texthighlight-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -296,7 +296,7 @@ <h3 id="ori"><strong>Other Related Information</strong></h3>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/texthighlight/texthighlight-fra.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -274,7 +274,7 @@ <h3>Critères de recherche - Exemple</h3>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -244,7 +244,7 @@ <h1 id="wb-cont">1 column - Horizontal site navigation bar - GC Web Usability th

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -245,7 +245,7 @@ <h1 id="wb-cont">1 colonne - Barre de navigation horizontale - Thème de la faci

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>
4 changes: 2 additions & 2 deletions demos/theme-gcwu-fegc/1col-megamenu-theme-gcwu-fegc-eng.html
Expand Up @@ -30,7 +30,7 @@
<![endif]-->
<!--[if gt IE 8]><!-->
<link rel="stylesheet" href="../../build/js/css/pe-ap-min.css" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" id="wb-theme" />
<link rel="stylesheet" href="../../build/theme-gcwu-fegc/css/theme-min.css" />
<!--<![endif]-->

<!-- CustomScriptsCSSStart -->
Expand Down Expand Up @@ -247,7 +247,7 @@ <h1 id="wb-cont">1 column - Mega menu - GC Web Usability theme</h1>

<!-- ScriptsStart -->
<script src="../../build/js/settings.js"></script>
<script src="../../build/js/pe-ap-min.js" id="progressive"></script>
<script src="../../build/js/pe-ap-min.js"></script>
<!-- ScriptsEnd -->
</body>
</html>

0 comments on commit 2a67bf7

Please sign in to comment.