mirror of
https://github.com/ZDoom/zdoom-styles.git
synced 2024-11-25 04:40:57 +00:00
2573 lines
99 KiB
XML
2573 lines
99 KiB
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<!-- MODX by the phpBB MOD Team XSL file v1.2.4 copyright 2005-2010 the phpBB MOD Team.
|
|||
|
This file is released under the GNU GPL version 2. See license.txt.
|
|||
|
$Id: modx.prosilver.en.xsl 211 2010-02-27 20:05:11Z tumba25 $ -->
|
|||
|
<!DOCTYPE xsl:stylesheet[
|
|||
|
<!ENTITY nbsp " ">
|
|||
|
]>
|
|||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|||
|
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
|||
|
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
|||
|
<xsl:variable name="version">
|
|||
|
<xsl:for-each select="mod:mod/mod:header/mod:mod-version">
|
|||
|
<xsl:value-of select="current()" />
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:variable>
|
|||
|
|
|||
|
<xsl:template match="mod:mod">
|
|||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Language" content="en" />
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|||
|
<style type="text/css">
|
|||
|
/* phpBB 3.0 Admin Style Sheet
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
|||
|
Original author: subBlue ( http://www.subblue.com/ )
|
|||
|
Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
|
|||
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
|||
|
*/
|
|||
|
|
|||
|
/* General markup styles
|
|||
|
––––––––––––––––––––––––––––––*/
|
|||
|
* {
|
|||
|
/* Reset browsers default margin, padding and font sizes */
|
|||
|
margin:0;
|
|||
|
padding:0;
|
|||
|
font-size:100%;
|
|||
|
}
|
|||
|
|
|||
|
/*.rtl * {
|
|||
|
text-align:right;
|
|||
|
direction: rtl;
|
|||
|
}*/
|
|||
|
|
|||
|
body, div, p, th, td, li, dd {
|
|||
|
font-size:x-small;
|
|||
|
voice-family:"\"}\"";
|
|||
|
voice-family:inherit;
|
|||
|
font-size:100%;
|
|||
|
}
|
|||
|
|
|||
|
html>body, html>div, html>p, html>th, html>td, html>li, html>dd {
|
|||
|
font-size:small
|
|||
|
}
|
|||
|
|
|||
|
html {
|
|||
|
color:#536482;
|
|||
|
background:#DBD7D1;
|
|||
|
/* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-ie browsers */
|
|||
|
height:100%;
|
|||
|
margin-bottom:1px;
|
|||
|
}
|
|||
|
|
|||
|
body {
|
|||
|
/* Text-Sizing with ems:http://www.clagnut.com/blog/348/ */
|
|||
|
font-family:"Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
|
|||
|
color:#536482;
|
|||
|
background:#DBD7D1;
|
|||
|
font-size:82.5%; /* This sets the default font size to be equivalent to 10px */
|
|||
|
margin:10px 15px;
|
|||
|
}
|
|||
|
|
|||
|
img {
|
|||
|
border:0;
|
|||
|
}
|
|||
|
|
|||
|
h1 {
|
|||
|
font-family:"Trebuchet MS", Helvetica, sans-serif;
|
|||
|
font-size:1.70em;
|
|||
|
font-weight:normal;
|
|||
|
color:#333333;
|
|||
|
}
|
|||
|
|
|||
|
h2, caption {
|
|||
|
font-family:"Trebuchet MS", Helvetica, sans-serif;
|
|||
|
font-size:1.40em;
|
|||
|
font-weight:normal;
|
|||
|
color:#115098;
|
|||
|
text-align:left;
|
|||
|
margin-top:25px;
|
|||
|
}
|
|||
|
|
|||
|
.rtl h2, .rtl caption {
|
|||
|
text-align:right;
|
|||
|
}
|
|||
|
|
|||
|
h3, h4, h5 {
|
|||
|
font-family:"Trebuchet MS", Helvetica, sans-serif;
|
|||
|
font-size:1.20em;
|
|||
|
text-decoration:none;
|
|||
|
line-height:1.20em;
|
|||
|
margin-top:10px;
|
|||
|
}
|
|||
|
|
|||
|
p {
|
|||
|
margin-bottom:0.7em;
|
|||
|
line-height:1.40em;
|
|||
|
font-size:1.0em;
|
|||
|
}
|
|||
|
|
|||
|
ul {
|
|||
|
list-style:disc;
|
|||
|
margin:0 0 1em 2em;
|
|||
|
}
|
|||
|
|
|||
|
.rtl ul {
|
|||
|
margin:0 2em 1em 0;
|
|||
|
}
|
|||
|
|
|||
|
hr {
|
|||
|
border:0 none;
|
|||
|
border-top:1px dashed #999999;
|
|||
|
margin-bottom:5px;
|
|||
|
padding-bottom:5px;
|
|||
|
height:1px;
|
|||
|
}
|
|||
|
|
|||
|
.small {
|
|||
|
font-size:0.85em;
|
|||
|
}
|
|||
|
|
|||
|
/* General links */
|
|||
|
a:link, a:visited {
|
|||
|
color:#105289;
|
|||
|
text-decoration:none;
|
|||
|
}
|
|||
|
|
|||
|
a:link:hover {
|
|||
|
color:#BC2A4D;
|
|||
|
text-decoration:underline;
|
|||
|
}
|
|||
|
|
|||
|
a:active {
|
|||
|
color:#368AD2;
|
|||
|
text-decoration:none;
|
|||
|
}
|
|||
|
|
|||
|
/* Main blocks
|
|||
|
––––––––––––––––––––––––––––––––––––––––*/
|
|||
|
#wrap {
|
|||
|
padding:0 0 15px 0;
|
|||
|
min-width:615px;
|
|||
|
}
|
|||
|
|
|||
|
#page-header {
|
|||
|
clear:both;
|
|||
|
text-align:right;
|
|||
|
background:url(data:image/gif;base64,R0lGODlhiwAwAPf/AMG+uerr7b66tf38/aWint3g4dbSzZaUkefs7+/u7a2qpuHf2tTQyrm2sc7T1bzBxKimoePi4djUz6Wkofb4+ubm5urv8evq6J2bmOjq7N3a1K6sqNDU1/L09rGuqo6MitDMx7m+wcLExejm4318ebS5vNTZ3Pr6+u7w8tbY2PHz9JKQjd/e3e3s69LOyKqopLSxrfj6+pyZlc7KxW1raezv8HV0coWDgeTn6NrW0MTFxeDl6NPW2OXo6np5duHg37a1srKvq8zQ08zOztrd3+no5/n7/JiWk76+vuDk5tbW1ubk4JCNiuXi3crO0KKgnHJxbuLk5t3f4cnNzsjEv+7w8bGxsL+9usXEwvX08+zw8ubq7MfDvoiGg/T299jb3LW1tdza2MjFwNba3N3c2fX3+MbJytDNyMLBv9fTzYqJh9jX1IB/fKuqqNvf4cfEv/n5+PDy887R0rq4tMTBvLWyrvT09PLz9O/y9KCem3h3dNrZ19LU1s3LycrGweHj5Lq5uPf398vIw+br7unt8MbKzdHW2cLHyuXq7NPX2uPo68nN0L/Ex+Ln6tfc39/k593i5dne4drf4tbb3tzh5K+0t62ytdnV0LK2uezq5szJw7azrre8vs/MxqyxtM3JxOvw88nIxvz8+/Hv7c/LxvD1+K+xssvHwu/099PPyuzx9O3y9e7z9sfLzvr6+ff29cLAu/H2+fL3+bO3ur+8t+Dc17i9v8fMzvv8/G9ua8LGx9bU0OHm6bC1uPPy8M/U1bOwrMPIy9TX2t/i4+bp69/c18DFx8HGyM3KxOPm59XRy9XSzauws83R1MbCvdHV1/T4+unu8Ort783P0N/j5fTz8cTAu7a4uMTCwLy6uLu4s9PT0rCztLK0tbSysMvKyMvMzc7NzM3Q0M7Q0fb19NXT0dnW0MfGxNHOyNDOy9PU1ayrq4OBfre0sOPl5aqvsrG2ucnGwNjZ2fn498XCvfHx8NPQzLO4u8LCwsLDxK6ztqekoPj39szIw////9vX0SH5BAEAAP8ALAAAAACLADAAAAj/AP8JHEiwoMGD//wpdDWqFsKHECNKnEixosWLB9Mo3DigGMaPFDUsyTQqy4CNKLOMGqEhokiSJlFuVMkSZMVO/t69K/HLX5FUNoMWbOFKplGjo1oaJHq0qcKkQiH28+eJmVU+cBpEFXpJoZFkX+TogueprFlPuuQUMOJvQJOCXf19DTv2rNm0a9u+3Wpwqj5LgO/5U8DXZip/tgArXsxY8ReFewUeTty4smPIhQlO7VWpcy9/+zJ/nOGPc+fTqFOfnhLgxLKBpE2rnr269WvRU2dh2j3LHwHRGHPvHj6Lm6njproNX+7EXxgJAoUvL448+fLhzZ/j9leie3ffwC9O//XeXUcuGyTSk/DBZt0D8iWknKATnTt58+jVs3cPXz59hBqMUNJJ/rjiSyZKHTSVLZw0aAtoAjXhC4H8HOhQRQEOuNCBCfaFWIOcOMHCAcDUsckmdQQBwQFAmAEiJ8b4A0t9DDYoIokmoqgiiy6CGOOMBmmQCYFNIaigPyEkmaQ/XGiQhVNZXAiRkEQeZaSHSoYgxA8vkNIJCCB0MoMY7byQQpYh3HEFUFNluWWXX4Y5ZplnZqmmQQvAoRAOXzhwzAMPFMLDH7j488oCHgKqqD+7nFQFD38+4MSggbQ1AkR57tlnpIISaiiiBU2l6AMORACMQRKcIcAaToxaxRwz/P8jqqKlnlpQqqu2quir0A20gCj+RHELI8QWW+wtUfgjCqgDTWWMsXZU+oex1Eqh0KUH/RrssNQem+yyofrzLLEcmHrQJZqEUYCxVQDRj6ziFluurXClu26x7aYxUDHAEnHIvwAHDDAR/syTg2b+BBMwwf4KLLADxLhmEL/+NOywwAQbjLDC/yZi7kEu1DNMwFVMoAm8HB/iMb0FhTwywCXrK1A1/khRyM04t9IKzjxbWwTCO/PsAM9B83wzB/4soUxBNNtstM5G3+wz0DiP8bFBZPjzDM9FyMCmP0VbzTJBWW+Nc9cyLxDsImyzfc0HNORywwRTtM12D4w2648Tdrf/LcIBNuTiQx759L1IsmIQpHYUfb8d99x12433LnrzzfYXFZxy0BKixGF3IlZAcAm8li+CueYGce5526CL/k8OCdwhxOxC8PCCDysQoMA+B6ygBO2z3zHCGfU1A/zsgNigRh4vQCCDGjocL8QA9vQKu+y024677rz7frzwxMNr/OxEkDNSJuiTVFTNwIPTBQDF017++emPsr4U7b8vkDn+DOPA/w4ABxsgAItTnOINAoAAAdwBQAcMwx+Jg9cvGugAIvjgCQAQwynEAIAN5CEFFKwBGaiwv/41UIAENCACFchAAD4wglOZ4P9M4JQquKGBSLgBBJYmQQDSsCk2xKEO/3m4gAFw4IgcSMYRnjADAxxMAgzgQhDCMQYkcuAE6VjaVJ5hRSIEQQaCUMboLmGAfrQDCwWwYjIqIACBFFGNS2ziE6M4xSoiEYta1JoVxxCAPvoxGXY8ohmOwAYC9GN08OIiEvnoxz4C0oqDLOQh/3GJH8TBEJg0RAWY8AZEDiQNdJhDADJpCBFyAV6kLKUMtNGrgUggHg24ZCYhMY9TVVKWmNxkJwsCSlGS0pSoTKUwUwmJFpyjAf1o5VSGyUxMFvOYyRSIARIgjURYkwjhIIDMCoIOASTAmtbEARvhJQxwJuIEBwDBQZQBgAGYcwz+eME/plnNa2ZzmwTp5jfBKf/ONk6lnOYMqECt5Y8EHExvABWoQhNBUIMOhAEtSIIJJkoMNGwCIRJ4QxEkMVETJMEfp5pKRyfqjzy0kiCXEEMRRkrD30BUohS1KEY1ytGJfjSk/mCpCXQggp769BkjpYYKDJUgkbKUpz7tKVA7KlSiCuQM/tjBJKZagyvQ4iGf2INUpzoJf0AAXlydKngQookLbFWsv4HqWat6VYRk9axd/epUwjoJFEBBPenxgR5WMISw1sAfF9AbXe2K1/Xsta9c/Wtg/0EKfzjisY5AQTac8RAQrEEakHUEeKaSWc3+BiGkuAAvMguexmZWspRFiGUxC9nNOpa0HziRbGHgwSP/yCOzf6UcvDrrj9jKdhO0zYNtcZu3T/gjEsiNRAe+cUqEpGIPVUhuJFwr3el+9iAguAAOpAse40p3uc09yHOjm1zqchcDYEovKfoBC2BgY7vJ9QILYjWV6voDvekFwXrb+17pyjcHU5GEgCWBgj785yAMCAMKBiwJFoQmwAweK3Yv0IMI/wbCAi7wgQ2S4AUP2MHwYrAkJEyQNFChAR1gcADu4E9/iJjEnzxxige84jRMhRI4pgQeKgA/hEAUDzkmxg82AK8c4xjGBMkuMYzsWiPvuMcIbgGQcSxkIt+YydctiAHaaeQdDKbIWEbIlgfQZX+4YCqQSDMktuAPKBsk/xUn2IKat4AGnKo5zUgeSHblrGbX3pnNbi4InPm85jrD686QyDMloYroQDzYH4hW9CUYfedArNcfj8h0pv2xBk8WpBb+4IWmVeCNFmt601kuSHYRcGrXnvoRnPY0QUAt6kyT2tSt/ipCfoCLU/OCBXLFdK4fwmtfs0ATU9mBspWtAlzwsCA5yEIZlr2DMhwhccmmtqL/kd0AaPvCUaV2s59NkGhPe9nWxna4l+2P8BlkBP5QAbUDcAUPwIvaXnZ3QeAt72XTGxlTaYTABc5mcnRIIAnwhzQG3ohtyIAB8GJ4I7ad3Wgw3LUSL/jB/5HwhQ/c4RDvRwIkfgJRtKAJKP9vwkhe4Q8vbIHhHTjCVUVOcpOnXOWZYLnLYX4EEExFEUAPegeUlYkLNeFJXgi6IlBAAA+M7udKp/gFLBB1cCsd6EMXRdEjhHSlM93p/9AECwjhdad4AQFXP0c6wz72sjfl7Gk/AAOmgoi62x0RQzeKF+6OCCUwAYb+4LvUtXB31/K97nmXyd7v7vcIaqIPKuA7AjoQg8rHgAIdiMbhA9AFGEDn8ZG/++Qtf/nMb77zEpjKIFbP+tVHwwsEOgEeWj+ID
|
|||
|
height:69px;
|
|||
|
font-size:0.85em;
|
|||
|
margin-bottom:10px;
|
|||
|
}
|
|||
|
|
|||
|
.rtl #page-header {
|
|||
|
text-align:left;
|
|||
|
background:top right no-repeat;
|
|||
|
}
|
|||
|
|
|||
|
#page-header h1 {
|
|||
|
color:#767676;
|
|||
|
font-family:"Trebuchet MS",Helvetica,sans-serif;
|
|||
|
font-size:1.70em;
|
|||
|
padding-top:10px;
|
|||
|
}
|
|||
|
|
|||
|
#page-header p {
|
|||
|
font-size:1.00em;
|
|||
|
}
|
|||
|
|
|||
|
#page-body {
|
|||
|
clear:both;
|
|||
|
min-width:700px;
|
|||
|
}
|
|||
|
|
|||
|
#page-footer {
|
|||
|
clear:both;
|
|||
|
font-size:0.75em;
|
|||
|
text-align:center;
|
|||
|
}
|
|||
|
|
|||
|
#content {
|
|||
|
padding:0 10px 10px 10px;
|
|||
|
position:relative;
|
|||
|
}
|
|||
|
|
|||
|
#content h1 {
|
|||
|
color:#115098;
|
|||
|
line-height:1.2em;
|
|||
|
margin-bottom:0;
|
|||
|
}
|
|||
|
|
|||
|
#main {
|
|||
|
width:100%;
|
|||
|
margin:0;
|
|||
|
min-height:350px;
|
|||
|
}
|
|||
|
|
|||
|
.rtl #main {
|
|||
|
float:right;
|
|||
|
margin:0;
|
|||
|
}
|
|||
|
|
|||
|
* html #main {
|
|||
|
height:350px;
|
|||
|
}
|
|||
|
|
|||
|
/* Main Panel
|
|||
|
–––––––––––––––––––––––––––––––––––––––– */
|
|||
|
#acp {
|
|||
|
margin:4px 0;
|
|||
|
padding:3px 1px;
|
|||
|
min-width:550px;
|
|||
|
background-color:#FFFFFF;
|
|||
|
border: 1px #ccc solid;
|
|||
|
border-radius: 8px;
|
|||
|
}
|
|||
|
|
|||
|
.panel {
|
|||
|
padding: 6px 0;
|
|||
|
}
|
|||
|
|
|||
|
/* General form styles
|
|||
|
––––––––––––––––––––––––––––––––––––––––*/
|
|||
|
fieldset {
|
|||
|
margin:25px 0;
|
|||
|
padding:1px 0;
|
|||
|
border-top:1px solid #D7D7D7;
|
|||
|
border-right:1px solid #CCCCCC;
|
|||
|
border-bottom:1px solid #CCCCCC;
|
|||
|
border-left:1px solid #D7D7D7;
|
|||
|
background-color:#FFFFFF;
|
|||
|
position:relative;
|
|||
|
}
|
|||
|
|
|||
|
.rtl fieldset {
|
|||
|
border-top:1px solid #D7D7D7;
|
|||
|
border-right:1px solid #D7D7D7;
|
|||
|
border-bottom:1px solid #CCCCCC;
|
|||
|
border-left:1px solid #CCCCCC;
|
|||
|
}
|
|||
|
|
|||
|
* html fieldset {
|
|||
|
padding:0 10px 5px 10px;
|
|||
|
}
|
|||
|
|
|||
|
fieldset p {
|
|||
|
font-size:1.0em;
|
|||
|
}
|
|||
|
|
|||
|
legend {
|
|||
|
padding:1px 5px;
|
|||
|
font-family: Arial,Verdana,Sans-serif;
|
|||
|
font-size:1.06em;
|
|||
|
font-weight:bold;
|
|||
|
color:#115098;
|
|||
|
position:relative;
|
|||
|
line-height:1.00em;
|
|||
|
top:0;
|
|||
|
vertical-align:middle;
|
|||
|
top:-1.2em;
|
|||
|
}
|
|||
|
|
|||
|
* html legend {
|
|||
|
margin-bottom:-10px;
|
|||
|
margin-left:-7px;
|
|||
|
}
|
|||
|
|
|||
|
/* Holly hack, .rtl comes after html */
|
|||
|
* html .rtl legend {
|
|||
|
margin:0;
|
|||
|
margin-right:-7px;
|
|||
|
}
|
|||
|
|
|||
|
optgroup, select {
|
|||
|
font-family: Verdana, Helvetica, Arial, sans-serif;
|
|||
|
font-size: 0.85em;
|
|||
|
font-weight: normal;
|
|||
|
font-style: normal;
|
|||
|
cursor: pointer;
|
|||
|
vertical-align: middle;
|
|||
|
width: auto;
|
|||
|
}
|
|||
|
|
|||
|
optgroup {
|
|||
|
font-size: 1.00em;
|
|||
|
font-weight: bold;
|
|||
|
}
|
|||
|
|
|||
|
option {
|
|||
|
padding:0 1em 0 0;
|
|||
|
}
|
|||
|
|
|||
|
.rtl option {
|
|||
|
padding:0 0 0 1em;
|
|||
|
}
|
|||
|
|
|||
|
fieldset.nobg {
|
|||
|
margin:15px 0 0 0;
|
|||
|
padding:0;
|
|||
|
border:none;
|
|||
|
background-color:transparent;
|
|||
|
}
|
|||
|
|
|||
|
/* MOD-ABOUT STUFFS ~smithy_dll */
|
|||
|
|
|||
|
.mod-about {
|
|||
|
background-color:#CADCEB;
|
|||
|
border-radius: 6px;
|
|||
|
padding: 6px 0;
|
|||
|
/*width:100%;*/
|
|||
|
}
|
|||
|
.mod-about .mod-about { padding: 0; }
|
|||
|
|
|||
|
.mod-about-padding { padding: 0 8px; }
|
|||
|
.mod-about { margin:7px 4px 10px 4px; }
|
|||
|
.mod-about dt { font-weight:bold; padding-right:4px; }
|
|||
|
.rtl .mod-about dt { padding-left: 4px; }
|
|||
|
.mod-about dl { margin:0 8px; }
|
|||
|
.mod-about div { margin:3px 8px;}
|
|||
|
/*div.inner .mod-about dl { margin:0; }*/
|
|||
|
/*.nopadding { margin:0; }*/
|
|||
|
|
|||
|
.mod-history {font-size:82.5%; } /* Mod histories can get pretty long, so I'm making that font a bit smaller */
|
|||
|
#language { width:130px; }
|
|||
|
#modDisclaimer .mod-about, #other-notes.mod-about { background-color:#EECCCC; }
|
|||
|
#other-notes.mod-about strong.red { color:#DD3333; }
|
|||
|
span.key { font-size:12px; line-height:14px; padding-bottom:2px; width:20px; border:outset 1px #999999; background-color:#EEEECC; display:block; float:left; text-align:center; margin-right:5px; }
|
|||
|
span.key:hover { background-color: #eaea9b; color: #000; }
|
|||
|
.mod-edit { background-color:#D6E6F6; border:solid 1px #336699; margin:10px 0; padding:0 10px; border-radius: 6px; }
|
|||
|
.mod-inlineedit { background-color:#DDEEFF; border:solid 1px #6699CC; margin:10px 0; padding:0 10px; }
|
|||
|
|
|||
|
dl.author-info dd { margin-left:112px; margin-bottom:8px; }
|
|||
|
.rtl dl.author-info dd { margin-left:112px; margin-bottom:8px; }
|
|||
|
ol#file-copy, ol#file-delete { padding:5px; margin-left:20px; margin-right:20px; margin-bottom:10px; }
|
|||
|
ol#file-copy li, ol#file-delete li { margin-left:30px; margin-right:30px; vertical-align:top;}
|
|||
|
ol#file-copy span, ol#file-delete span { font-weight:bold; }
|
|||
|
ol#file-copy dt, ol#file-delete dt {margin-right:5px; float:none !important }
|
|||
|
ol#file-copy dl, ol#file-delete dl {width:100%}
|
|||
|
h2#lang-fca, h2#lang-edts, h2#lang-diy, h2#lang-sql, h2#lang-installer-h2, h2#lang-del-head { margin-left:5px; }
|
|||
|
|
|||
|
/* Code block */
|
|||
|
div.codebox {
|
|||
|
padding:3px;
|
|||
|
background-color:#FFFFFF;
|
|||
|
border:1px solid #d8d8d8;
|
|||
|
border-radius: 6px;
|
|||
|
font-size:1em;
|
|||
|
}
|
|||
|
|
|||
|
div.codebox div.codeHead {
|
|||
|
text-transform:uppercase;
|
|||
|
border-bottom:1px solid #CCCCCC;
|
|||
|
margin-bottom:3px;
|
|||
|
font-size:0.8em;
|
|||
|
font-weight:bold;
|
|||
|
display:block;
|
|||
|
}
|
|||
|
|
|||
|
div.codebox div.codeHead a.codeSelect {
|
|||
|
padding-left:5px;
|
|||
|
}
|
|||
|
|
|||
|
blockquote div.codebox {
|
|||
|
margin-left:0;
|
|||
|
}
|
|||
|
|
|||
|
div.codebox pre {
|
|||
|
/* Also see tweaks.css */
|
|||
|
width:100%;
|
|||
|
overflow: auto;
|
|||
|
display:block;
|
|||
|
height:auto;
|
|||
|
/*white-space:normal;*/
|
|||
|
padding-top:5px;
|
|||
|
font:0.9em Monaco, "Andale Mono","Courier New", Courier, mono;
|
|||
|
line-height:1.3em;
|
|||
|
color:#606060;
|
|||
|
margin:2px 0;
|
|||
|
}
|
|||
|
|
|||
|
/*.rtl div.codePre pre {
|
|||
|
text-align: left !important;
|
|||
|
direction: ltr !important;
|
|||
|
}*/
|
|||
|
|
|||
|
dt {
|
|||
|
float: left;
|
|||
|
width:auto;
|
|||
|
}
|
|||
|
|
|||
|
.rtl dt {
|
|||
|
float: right !important;
|
|||
|
text-align: right;
|
|||
|
width:auto;
|
|||
|
}
|
|||
|
|
|||
|
dd { color:#666666; }
|
|||
|
dd + dd { padding-top: 5px; }
|
|||
|
|
|||
|
dt span { padding: 0 5px 0 0; }
|
|||
|
.rtl dt span { padding: 0 0 0 5px; }
|
|||
|
|
|||
|
div.endMOD { padding:0 5px; }
|
|||
|
|
|||
|
#history_toggle_link {
|
|||
|
display:block;
|
|||
|
}
|
|||
|
.edit_toggle_link {
|
|||
|
display:block;
|
|||
|
text-align:right;
|
|||
|
margin-bottom:2px;
|
|||
|
}
|
|||
|
</style>
|
|||
|
<title>phpBB MOD » <xsl:value-of select="$title" /></title>
|
|||
|
<script type="text/javascript">
|
|||
|
var i = 0;
|
|||
|
|
|||
|
/* passed from xslt */
|
|||
|
<xsl:for-each select="mod:header">
|
|||
|
<xsl:for-each select="mod:author-group">
|
|||
|
var authors_ll = [];
|
|||
|
<xsl:for-each select="mod:author">
|
|||
|
authors_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var mhes_ll = [];
|
|||
|
var mhcls_ll = [];
|
|||
|
<xsl:for-each select="mod:history/mod:entry">
|
|||
|
mhes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
<xsl:if test="count(mod:changelog) > 1">
|
|||
|
mhcls_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var link_ll = [];
|
|||
|
<xsl:for-each select="mod:link-group/mod:link">
|
|||
|
link_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var opens_ll = [];
|
|||
|
<xsl:for-each select="mod:action-group/mod:open">
|
|||
|
opens_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var codes_ll = [];
|
|||
|
<xsl:for-each select="mod:action-group/mod:sql">
|
|||
|
codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var edits_ll = [];
|
|||
|
<xsl:for-each select="mod:action-group/mod:open/mod:edit">
|
|||
|
edits_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var finds_ll = [];
|
|||
|
var removes_ll = [];
|
|||
|
var regex_ll = [];
|
|||
|
var ifinds_ll = [];
|
|||
|
var iremoves_ll = [];
|
|||
|
var iregex_ll = [];
|
|||
|
var addafters_ll = [];
|
|||
|
var iaddafters_ll = [];
|
|||
|
var addbefores_ll = [];
|
|||
|
var iaddbefores_ll = [];
|
|||
|
var replacewiths_ll = [];
|
|||
|
var ireplacewiths_ll = [];
|
|||
|
var increments_ll = [];
|
|||
|
var iincrements_ll = [];
|
|||
|
var comments_ll = [];
|
|||
|
<xsl:for-each select="mod:action-group/mod:open/mod:edit">
|
|||
|
<xsl:for-each select="mod:find">
|
|||
|
finds_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:for-each select="mod:remove">
|
|||
|
removes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:if test="count(mod:comment) > 0">
|
|||
|
comments_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:for-each select="mod:find|mod:action">
|
|||
|
codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
<xsl:if test="name() = 'action'">
|
|||
|
<xsl:if test="@type = 'after-add'">
|
|||
|
addafters_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'before-add'">
|
|||
|
addbefores_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'replace-with'">
|
|||
|
replacewiths_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'operation'">
|
|||
|
increments_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:for-each select="mod:inline-edit">
|
|||
|
<xsl:for-each select="mod:inline-find">
|
|||
|
ifinds_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
<xsl:if test="@type = 'regex'">
|
|||
|
iregex_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:for-each select="mod:inline-remove">
|
|||
|
iremoves_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:for-each select="mod:inline-find|mod:inline-action">
|
|||
|
codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
<xsl:if test="name() = 'inline-action'">
|
|||
|
<xsl:if test="@type = 'after-add'">
|
|||
|
iaddafters_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'before-add'">
|
|||
|
iaddbefores_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'replace-with'">
|
|||
|
ireplacewiths_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'operation'">
|
|||
|
iincrements_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:if>
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
<xsl:for-each select="mod:action-group/mod:diy-instructions">
|
|||
|
codes_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var copies_ll = [];
|
|||
|
<xsl:for-each select="mod:action-group/mod:copy/mod:file">
|
|||
|
copies_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
var delete_ll = [];
|
|||
|
<xsl:for-each select="mod:action-group/mod:delete/mod:file">
|
|||
|
delete_ll.push('<xsl:value-of select="generate-id()"/>');
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
<xsl:text disable-output-escaping="yes">
|
|||
|
<![CDATA[
|
|||
|
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
|||
|
document.onkeydown = mod_do_keypress;
|
|||
|
|
|||
|
var host = "http://www.phpbb.com/mods/modx/i18n/";
|
|||
|
|
|||
|
var enStrings = "dir=ltr\n" +
|
|||
|
"h1=Installation instructions for\n" +
|
|||
|
"edt-show=Show >>\n" +
|
|||
|
"edt-hide=<< Hide\n" +
|
|||
|
"V=version\n" +
|
|||
|
"t=Title:\n" +
|
|||
|
"d=Description:\n" +
|
|||
|
"aV=Version:\n" +
|
|||
|
"mint=minutes\n" +
|
|||
|
"it=Installation time:\n" +
|
|||
|
"il=Installation level:\n" +
|
|||
|
"ile=Easy\n" +
|
|||
|
"ili=Intermediate\n" +
|
|||
|
"ila=Advanced\n" +
|
|||
|
"au=Author\n" +
|
|||
|
"aus=Authors\n" +
|
|||
|
"a-un=Username:\n" +
|
|||
|
"a-e=Email:\n" +
|
|||
|
"a-n=Name:\n" +
|
|||
|
"a-h=WWW:\n" +
|
|||
|
"a-c=Contributions:\n" +
|
|||
|
"a-c-f=From\n" +
|
|||
|
"a-c-t=to\n" +
|
|||
|
"a-c-s=Since\n" +
|
|||
|
"fte=Files to edit\n" +
|
|||
|
"icf=Included files\n" +
|
|||
|
"icfn=No files have been included with this MOD.\n" +
|
|||
|
"dcl=Disclaimer\n" +
|
|||
|
"dclt=For security purposes, please check: <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a> for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a>\n" +
|
|||
|
"isp=and English support\n" +
|
|||
|
"ispt=English support can be obtained at <a href=\"http://www.phpbb.com/mods/\">http://www.phpbb.com/mods/</a> for released MODs.\n" +
|
|||
|
"ant=Author notes:\n" +
|
|||
|
"lic=License\n" +
|
|||
|
"lict=This MOD has been licensed under the following license:\n" +
|
|||
|
"ont=and other notes\n" +
|
|||
|
"ontt1=Before adding this MOD to your forum, you should back up all files and databases related to this MOD.\n" +
|
|||
|
"ontt2=This MOD was designed for phpBB\n" +
|
|||
|
"ontt3=and may not function as stated on other phpBB versions. MODs for phpBB 3.0 will <strong>not</strong> work on phpBB 2.0 and vice versa.\n" +
|
|||
|
"onttq=This MOD is development quality. It is not recommended that you install it on a live forum.\n" +
|
|||
|
"sql=SQL\n" +
|
|||
|
"fca=File copy\n" +
|
|||
|
"c-copy=Copy:\n" +
|
|||
|
"c-to=To:\n" +
|
|||
|
"cde-c=Code:\n" +
|
|||
|
"cde-sa=Select all\n" +
|
|||
|
"edts=Edits\n" +
|
|||
|
"edtt=Use your keyboard to navigate the code boxes. You may also hit '<em>s</em>' on your keyboard to go to the first code box.\n" +
|
|||
|
"opn=Open:\n" +
|
|||
|
"cm-cmt=Comments\n" +
|
|||
|
"fnd=Find\n" +
|
|||
|
"fndt=<strong>Tip:</strong> This may be a partial find and not the whole line.\n" +
|
|||
|
"remove=Find and Delete\n" +
|
|||
|
"removet=<strong>Tip:</strong> Find and delete this code.\n" +
|
|||
|
"rplw=Replace with\n" +
|
|||
|
"rplwt=<strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.\n" +
|
|||
|
"aft=Add after\n" +
|
|||
|
"aftt=<strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.\n" +
|
|||
|
"bef=Add before\n" +
|
|||
|
"beft=<strong>Tip:</strong> Add these lines on a new blank line before the preceding line(s) to find.\n" +
|
|||
|
"inc=Operation\n" +
|
|||
|
"inct=<strong>Tip:</strong> This allows you to alter integers.\n" +
|
|||
|
"ifnd=In-line Find\n" +
|
|||
|
"ifndt=<strong>Tip:</strong> This is a partial match of a line for in-line operations.\n" +
|
|||
|
"iremove=In-line Find and Delete\n" +
|
|||
|
"iremovet=<strong>Tip:</strong> Find this code in the line and delete it.\n" +
|
|||
|
"irplw=In-line Replace with\n" +
|
|||
|
"irplwt=\n" +
|
|||
|
"iaft=In-line Add after\n" +
|
|||
|
"iaftt=\n" +
|
|||
|
"ibef=In-line Add before\n" +
|
|||
|
"ibeft=\n" +
|
|||
|
"iinc=In-line Operation\n" +
|
|||
|
"iinct=<strong>Tip:</strong> This allows you to alter integers.\n" +
|
|||
|
"diy=DIY instructions\n" +
|
|||
|
"diyt=These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.\n" +
|
|||
|
"eom=Save all files. End of MOD.\n" +
|
|||
|
"eomt=You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.\n" +
|
|||
|
"slg=Select language:\n" +
|
|||
|
"dbms=Select Database Type:\n" +
|
|||
|
"foot=MOD UA XSLT File Copyright © 2007 The phpBB Group, this MOD is copyright to the authors listed above.\n" +
|
|||
|
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
|||
|
"mhe-v=- Version\n" +
|
|||
|
"mh=MOD history\n" +
|
|||
|
"addtl-modx=Additional MODX files\n" +
|
|||
|
"imn=This MOD has no additional MODX files.\n" +
|
|||
|
"link-c=Contrib\n" +
|
|||
|
"link-d=Dependency\n" +
|
|||
|
"link-l=Language\n" +
|
|||
|
"link-p=Parent\n" +
|
|||
|
"link-te=Template\n" +
|
|||
|
"link-txt=Text file\n" +
|
|||
|
"link-tl=Template lang\n" +
|
|||
|
"link-un=Uninstall instructions\n" +
|
|||
|
"installer-h2=PHP install file\n" +
|
|||
|
"installer-exp1=There is a PHP install file that needs to be run in order to complete the installation.\n" +
|
|||
|
"installer-exp2=To run it point your browser to, for example,\n" +
|
|||
|
"ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"http://www.phpbb.com/support/intl/\">international support site</a>.\n" +
|
|||
|
"del-heads=Delete files\n" +
|
|||
|
"del-head=Delete file\n" +
|
|||
|
"del-file=Delete\n" +
|
|||
|
"atm=About this MOD";
|
|||
|
|
|||
|
var box = codes_ll;
|
|||
|
var currentLanguage = "en";
|
|||
|
var languagesLoaded = false;
|
|||
|
var languages = ['en'];
|
|||
|
var arrClasCnt = [
|
|||
|
['a-' , authors_ll ],
|
|||
|
['c-' , copies_ll ],
|
|||
|
['del-' , delete_ll ],
|
|||
|
['cm-' , comments_ll ],
|
|||
|
['opn' , opens_ll ],
|
|||
|
['cde-' , codes_ll ],
|
|||
|
['edt-' , edits_ll ],
|
|||
|
['fnd' , finds_ll ],
|
|||
|
['fnd' , removes_ll ],
|
|||
|
['regex', regex_ll ],
|
|||
|
['rplw' , replacewiths_ll ],
|
|||
|
['aft' , addafters_ll ],
|
|||
|
['bef' , addbefores_ll ],
|
|||
|
['inc' , increments_ll ],
|
|||
|
['ifnd' , ifinds_ll ],
|
|||
|
['ifnd' , iremoves_ll ],
|
|||
|
['regex', iregex_ll ],
|
|||
|
['irplw', ireplacewiths_ll ],
|
|||
|
['iaft' , iaddafters_ll ],
|
|||
|
['ibef' , iaddbefores_ll ],
|
|||
|
['iinc' , iincrements_ll ],
|
|||
|
['mhe' , mhes_ll ],
|
|||
|
['link', link_ll]
|
|||
|
];
|
|||
|
|
|||
|
function startup()
|
|||
|
{
|
|||
|
sql_dropdown();
|
|||
|
change_dbms();
|
|||
|
changeLanguage(currentLanguage);
|
|||
|
document.getElementById('lang-selector').style.display = "block";
|
|||
|
init_mod_history();
|
|||
|
}
|
|||
|
|
|||
|
function changeLanguage(langCode)
|
|||
|
{
|
|||
|
langCode = langCode.toLowerCase();
|
|||
|
currentLanguage = langCode.split('-')[0];
|
|||
|
if (currentLanguage.toLowerCase() != 'en') // if change, only include up to first dash
|
|||
|
{
|
|||
|
load_language();
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
applyLanguage(enStrings.split("\n"));
|
|||
|
}
|
|||
|
xslLanguage(langCode);
|
|||
|
}
|
|||
|
|
|||
|
function load_languages()
|
|||
|
{
|
|||
|
if (languagesLoaded)
|
|||
|
{
|
|||
|
return;
|
|||
|
}
|
|||
|
languagesLoaded = true;
|
|||
|
|
|||
|
$divname = document.getElementById('language');
|
|||
|
var loadingItem = document.createElement('option');
|
|||
|
$divname.appendChild(loadingItem);
|
|||
|
loadingItem.innerHTML = 'Loading...';
|
|||
|
$divname.remove(0);
|
|||
|
|
|||
|
$output = 'load_languages';
|
|||
|
cachernd = parseInt(Math.random() * 99999999); // cache
|
|||
|
send('', host + 'languages.txt?rnd=' + cachernd);
|
|||
|
}
|
|||
|
|
|||
|
function load_language()
|
|||
|
{
|
|||
|
$output = 'load_language';
|
|||
|
cachernd = parseInt(Math.random() * 99999999); // cache
|
|||
|
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
|||
|
}
|
|||
|
|
|||
|
/*****************
|
|||
|
* AJAX Functions *
|
|||
|
*****************/
|
|||
|
var $xmlhttp = http_object();
|
|||
|
var $finished = 0;
|
|||
|
var $send_queue = [];
|
|||
|
var $running = false;
|
|||
|
var $divname;
|
|||
|
var $newform;
|
|||
|
var $newurl;
|
|||
|
var $output;
|
|||
|
|
|||
|
function http_object()
|
|||
|
{
|
|||
|
if (window.XMLHttpRequest)
|
|||
|
{
|
|||
|
return new XMLHttpRequest();
|
|||
|
}
|
|||
|
else if (window.ActiveXObject)
|
|||
|
{
|
|||
|
return new ActiveXObject("Microsoft.XMLHTTP");
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function send($action, $url, $form, $div, $clear)
|
|||
|
{
|
|||
|
$newform = $form;
|
|||
|
$newurl = $url;
|
|||
|
|
|||
|
$send_queue.push("handle_send($newurl, $newform)");
|
|||
|
|
|||
|
if (!$running)
|
|||
|
{
|
|||
|
run_ajax();
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
function run_ajax()
|
|||
|
{
|
|||
|
$running = true;
|
|||
|
for ($i = 0; $i < $send_queue.length; $i++)
|
|||
|
{
|
|||
|
if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
|
|||
|
{
|
|||
|
eval($send_queue[$i]);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$xmlhttp.onreadystatechange = check_state;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function check_state()
|
|||
|
{
|
|||
|
if ($xmlhttp.readyState == 4 || $xmlhtt.readyState == 0)
|
|||
|
{
|
|||
|
eval($send_queue[$finished]);
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$xmlhttp.onreadystatechange = check_state;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function handle_send($url, $f)
|
|||
|
{
|
|||
|
if ($xmlhttp.readyState == 4 || $xmlhttp.readyState == 0)
|
|||
|
{
|
|||
|
$param = '';
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
|
|||
|
$allowed = true;
|
|||
|
}
|
|||
|
catch (e)
|
|||
|
{}
|
|||
|
|
|||
|
try
|
|||
|
{
|
|||
|
$xmlhttp.open('POST', $url, true);
|
|||
|
$xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
|||
|
$xmlhttp.onreadystatechange = handle_return;
|
|||
|
$xmlhttp.send($param);
|
|||
|
}
|
|||
|
catch (e)
|
|||
|
{
|
|||
|
$divname = document.getElementById('language');
|
|||
|
var loadingItem = document.createElement('option');
|
|||
|
$divname.appendChild(loadingItem);
|
|||
|
loadingItem.innerHTML = 'Unavailable';
|
|||
|
$divname.remove(0);
|
|||
|
$divname.disabled = true;
|
|||
|
}
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
function handle_return()
|
|||
|
{
|
|||
|
if ($xmlhttp.readyState == 4)
|
|||
|
{
|
|||
|
ajax_output($xmlhttp.responseText);
|
|||
|
|
|||
|
$finished++;
|
|||
|
|
|||
|
if ($send_queue[$finished])
|
|||
|
{
|
|||
|
check_state();
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$send_queue = [];
|
|||
|
$finished = 0;
|
|||
|
$running = false;
|
|||
|
}
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
/*********************
|
|||
|
* END AJAX Functions *
|
|||
|
*********************/
|
|||
|
|
|||
|
function ajax_output($response)
|
|||
|
{
|
|||
|
switch ($output)
|
|||
|
{
|
|||
|
case 'load_language':
|
|||
|
var texts = $response.replace("\r\n", "\n").split("\n");
|
|||
|
applyLanguage(texts);
|
|||
|
break;
|
|||
|
|
|||
|
case 'load_languages':
|
|||
|
languages = $response.replace("\r", "").split("\n");
|
|||
|
|
|||
|
var i, l, s = 0;
|
|||
|
for (i in languages)
|
|||
|
{
|
|||
|
languages[i] = languages[i].replace("\r", "");
|
|||
|
languages[i] = languages[i].split("=");
|
|||
|
|
|||
|
var langItem = document.createElement('option');
|
|||
|
$divname.appendChild(langItem);
|
|||
|
langItem.value = languages[i][0];
|
|||
|
var iso = languages[i][0].split('-');
|
|||
|
langItem.innerHTML = languages[i][1];
|
|||
|
if (iso.length == 2)
|
|||
|
{
|
|||
|
langItem.innerHTML += ' [' + iso[1].toUpperCase() + ']';
|
|||
|
}
|
|||
|
if (languages[i][0] == currentLanguage)
|
|||
|
{
|
|||
|
$divname.selectedIndex = s;
|
|||
|
$divname.text = languages[i][1];
|
|||
|
}
|
|||
|
s++;
|
|||
|
}
|
|||
|
|
|||
|
$divname.focus();
|
|||
|
$divname.onchange =
|
|||
|
function()
|
|||
|
{
|
|||
|
changeLanguage(this.value.replace(" ", ""));
|
|||
|
};
|
|||
|
$divname.remove(0);
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function xslLangEl(langCode, obj_id)
|
|||
|
{
|
|||
|
var i, c, a, k, m = [], show = [], o = document.getElementById(obj_id);
|
|||
|
var lang_c = langCode.replace('_','-'), lang_s = langCode.substr(0, 2);
|
|||
|
var nodes = (o && o.childNodes) ? o.childNodes : '';
|
|||
|
|
|||
|
for (i = 0; i < nodes.length; i++)
|
|||
|
{
|
|||
|
c = nodes[i];
|
|||
|
if (c.nodeType != 1)
|
|||
|
{
|
|||
|
continue;
|
|||
|
}
|
|||
|
a = (obj_id == 'link-group') ? c.getElementsByTagName('a') : null;
|
|||
|
k = (a && a[0].href) ? a[0].href : c.tagName;
|
|||
|
if (!c.lang || m[k] === true)
|
|||
|
{
|
|||
|
c.style.display = 'none';
|
|||
|
continue;
|
|||
|
}
|
|||
|
c.lang = c.lang.replace('_', '-').toLowerCase();
|
|||
|
|
|||
|
if (m[k]) // Already have a partial match
|
|||
|
{
|
|||
|
if (c.lang != lang_c) // This isn't an exact match
|
|||
|
{
|
|||
|
c.style.display = 'none'; // So hide it and keep looking
|
|||
|
continue;
|
|||
|
}
|
|||
|
m[k] = true; // An exact match
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
m[k] = (c.lang == lang_c) ? true : (c.lang.substr(0, 2) == lang_s ? 1 : false);
|
|||
|
}
|
|||
|
if (!show[k] || m[k] || c.lang == 'en')
|
|||
|
{
|
|||
|
if (show[k])
|
|||
|
{
|
|||
|
show[k].style.display = 'none';
|
|||
|
}
|
|||
|
show[k] = c;
|
|||
|
c.style.display = '';
|
|||
|
if (a)
|
|||
|
{
|
|||
|
c.getElementsByTagName('span')[0].style.display = 'none';
|
|||
|
//c.firstChild.style.display = 'none'; // This line doesn't work in Safari
|
|||
|
}
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
c.style.display = 'none';
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function xslLanguage(langCode)
|
|||
|
{
|
|||
|
i18nedEls = new Array('title','description','author-notes','diy','link-group');
|
|||
|
var c, h, i;
|
|||
|
for (c in comments_ll)
|
|||
|
{
|
|||
|
i18nedEls.push('mod-comment[' + comments_ll[c] + ']');
|
|||
|
}
|
|||
|
|
|||
|
for (h in mhcls_ll)
|
|||
|
{
|
|||
|
i18nedEls.push('mhcl[' + mhcls_ll[h] + ']');
|
|||
|
}
|
|||
|
|
|||
|
for (i in i18nedEls)
|
|||
|
{
|
|||
|
xslLangEl(langCode, i18nedEls[i]);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function in_array(array, value, position)
|
|||
|
{
|
|||
|
for (var i = 0; i < array.length; i++)
|
|||
|
{
|
|||
|
// Matches identical (===), not just similar (==).
|
|||
|
if (array[i] === value)
|
|||
|
{
|
|||
|
return (position ? i : true);
|
|||
|
}
|
|||
|
}
|
|||
|
return false;
|
|||
|
};
|
|||
|
|
|||
|
function applyLanguage(texts)
|
|||
|
{
|
|||
|
var i;
|
|||
|
for (i in texts)
|
|||
|
{
|
|||
|
var lang = texts[i].split("=", 2), done = 0;
|
|||
|
if (lang.length == 2 && (lang[0] == 'edt-show' || lang[0] == 'edt-hide'))
|
|||
|
{
|
|||
|
toggle_strings[lang[0].replace('edt-', '')] = lang[1];
|
|||
|
if (++done >= 2)
|
|||
|
{
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
for (i in texts)
|
|||
|
{
|
|||
|
var lang = texts[i].split("=");
|
|||
|
if(lang[0] == 'dir')
|
|||
|
{
|
|||
|
set_dir(lang[1]);
|
|||
|
}
|
|||
|
if (lang.length < 2)
|
|||
|
{
|
|||
|
continue;
|
|||
|
}
|
|||
|
try
|
|||
|
{
|
|||
|
var jflag = false;
|
|||
|
for (var j = 0; j < arrClasCnt.length; j++)
|
|||
|
{
|
|||
|
var sw = '-' + lang[0];
|
|||
|
if (sw.match('-' + arrClasCnt[j][0]))
|
|||
|
{
|
|||
|
for (var k = 0; k < arrClasCnt[j][1].length; k++)
|
|||
|
{
|
|||
|
try
|
|||
|
{
|
|||
|
var o = document.getElementById('lang-' + lang[0] + '[' + arrClasCnt[j][1][k] + ']');
|
|||
|
o.innerHTML = lang[1];
|
|||
|
if (o.rel && (o.rel == 'show' || o.rel == 'hide') && (lang[0] == 'edt-show' || lang[0] == 'edt-hide'))
|
|||
|
{
|
|||
|
o.innerHTML = toggle_strings[o.rel];
|
|||
|
}
|
|||
|
}
|
|||
|
catch (e){}
|
|||
|
}
|
|||
|
jflag = true;
|
|||
|
}
|
|||
|
}
|
|||
|
if (!jflag)
|
|||
|
{
|
|||
|
var append = '';
|
|||
|
for (var p = 1; p < lang.length; p++)
|
|||
|
{
|
|||
|
append += (p > 1 ? '=' : '') + lang[p];
|
|||
|
}
|
|||
|
document.getElementById('lang-' + lang[0]).innerHTML = append;
|
|||
|
}
|
|||
|
}
|
|||
|
catch (o){}
|
|||
|
}
|
|||
|
try
|
|||
|
{
|
|||
|
document.getElementById('history_toggle_link').innerHTML = toggle_strings[(document.getElementById('mod_history_content').style.display == '' ? 'hide' : 'show')];
|
|||
|
} catch(o) {}
|
|||
|
}
|
|||
|
|
|||
|
function set_dir(direction)
|
|||
|
{
|
|||
|
direction = (direction == 'rtl') ? 'rtl' : 'ltr';
|
|||
|
document.body.style.direction=direction;
|
|||
|
|
|||
|
var ie = /*@cc_on!@*/false;
|
|||
|
var dts = document.getElementsByTagName('dt');
|
|||
|
var uls = document.getElementsByTagName('ul');
|
|||
|
var h2s = document.getElementsByTagName('h2');
|
|||
|
var mod_dt = document.getElementsByName('left4px');
|
|||
|
var author_dd = document.getElementsByName('author-dd');
|
|||
|
var ltr_spec = document.getElementsByName('ltr-spec');
|
|||
|
var rtl_spec = document.getElementsByName('rtl-spec');
|
|||
|
|
|||
|
var rtl_float = (ie) ? 'styleFloat' : 'cssFloat';
|
|||
|
|
|||
|
if(direction == 'rtl')
|
|||
|
{
|
|||
|
for(j = 0; j < dts.length; j++)
|
|||
|
{
|
|||
|
if(ie)
|
|||
|
{
|
|||
|
dts[j].style.styleFloat='right';
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
dts[j].style.cssFloat='right';
|
|||
|
}
|
|||
|
}
|
|||
|
for(j = 0; j < h2s.length; j++)
|
|||
|
{
|
|||
|
h2s[j].style.textAlign='right';
|
|||
|
}
|
|||
|
for(j = 0; j < uls.length; j++)
|
|||
|
{
|
|||
|
uls[j].style.margin='0 2em 1em 0';
|
|||
|
}
|
|||
|
for(j = 0; j < ltr_spec.length; j++)
|
|||
|
{
|
|||
|
ltr_spec[j].style.display='none';
|
|||
|
}
|
|||
|
for(j = 0; j < rtl_spec.length; j++)
|
|||
|
{
|
|||
|
rtl_spec[j].style.display='inherit';
|
|||
|
}
|
|||
|
for(j = 0; j < author_dd.length; j++)
|
|||
|
{
|
|||
|
author_dd[j].style.marginRight='115px';
|
|||
|
}
|
|||
|
for(j = 0; j < mod_dt.length; j++)
|
|||
|
{
|
|||
|
mod_dt[j].style.paddingRight='0';
|
|||
|
mod_dt[j].style.paddingLeft='4px';
|
|||
|
}
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
for(j = 0; j < dts.length; j++)
|
|||
|
{
|
|||
|
if(ie)
|
|||
|
{
|
|||
|
dts[j].style.styleFloat='left';
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
dts[j].style.cssFloat='left';
|
|||
|
}
|
|||
|
}
|
|||
|
for(j = 0; j < h2s.length; j++)
|
|||
|
{
|
|||
|
h2s[j].style.textAlign='left';
|
|||
|
}
|
|||
|
for(j = 0; j < uls.length; j++)
|
|||
|
{
|
|||
|
uls[j].style.margin='0 0 1em 2em';
|
|||
|
}
|
|||
|
for(j = 0; j < ltr_spec.length; j++)
|
|||
|
{
|
|||
|
ltr_spec[j].style.display='inherit';
|
|||
|
}
|
|||
|
for(j = 0; j < rtl_spec.length; j++)
|
|||
|
{
|
|||
|
rtl_spec[j].style.display='none';
|
|||
|
}
|
|||
|
for(j = 0; j < author_dd.length; j++)
|
|||
|
{
|
|||
|
author_dd[j].style.marginleft='112px';
|
|||
|
}
|
|||
|
for(j = 0; j < mod_dt.length; j++)
|
|||
|
{
|
|||
|
mod_dt[j].style.paddingRight='4px';
|
|||
|
mod_dt[j].style.paddingLeft='0';
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
function select_code(a)
|
|||
|
{
|
|||
|
// Get ID of code block
|
|||
|
var e = a.parentNode.parentNode.getElementsByTagName('PRE')[0];
|
|||
|
select_text(e.id);
|
|||
|
}
|
|||
|
|
|||
|
var selectedElement = -1;
|
|||
|
var boxes = box.length;
|
|||
|
var pre_count = 0;
|
|||
|
|
|||
|
function select_text(id)
|
|||
|
{
|
|||
|
var o = document.getElementById(id);
|
|||
|
if(!o)
|
|||
|
{
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
// Not IE
|
|||
|
if (window.getSelection)
|
|||
|
{
|
|||
|
var s = window.getSelection();
|
|||
|
// Safari
|
|||
|
if (s.setBaseAndExtent)
|
|||
|
{
|
|||
|
s.setBaseAndExtent(o, 0, o, o.innerText.length - 1);
|
|||
|
}
|
|||
|
// Firefox and Opera
|
|||
|
else
|
|||
|
{
|
|||
|
var r = document.createRange();
|
|||
|
r.selectNodeContents(o);
|
|||
|
s.removeAllRanges();
|
|||
|
s.addRange(r);
|
|||
|
}
|
|||
|
}
|
|||
|
// Some older browsers
|
|||
|
else if (document.getSelection)
|
|||
|
{
|
|||
|
var s = document.getSelection();
|
|||
|
var r = document.createRange();
|
|||
|
r.selectNodeContents(o);
|
|||
|
s.removeAllRanges();
|
|||
|
s.addRange(r);
|
|||
|
}
|
|||
|
// IE
|
|||
|
else if (document.selection)
|
|||
|
{
|
|||
|
var r = document.body.createTextRange();
|
|||
|
r.moveToElementText(o);
|
|||
|
r.select();
|
|||
|
}
|
|||
|
|
|||
|
for(x = 0; x < box.length; x++)
|
|||
|
{
|
|||
|
if (box[x] == id)
|
|||
|
{
|
|||
|
selectedElement = x;
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
return o;
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Determines if an object is hidden. If a class is specified, checking will stop when that class is encountered.
|
|||
|
*/
|
|||
|
function is_hidden(o, className)
|
|||
|
{
|
|||
|
o = typeof(o) == 'String' ? document.getElementById(o) : o;
|
|||
|
while (o)
|
|||
|
{
|
|||
|
if (o.style && o.style.display == 'none')
|
|||
|
{
|
|||
|
return true;
|
|||
|
}
|
|||
|
o = (o.parentNode && !(className && o.className == className)) ? o.parentNode : null;
|
|||
|
}
|
|||
|
return false;
|
|||
|
}
|
|||
|
|
|||
|
// function findPosY taken from http://www.quirksmode.org/js/findpos.html
|
|||
|
function findPosY(obj)
|
|||
|
{
|
|||
|
var curtop = 0;
|
|||
|
if (obj.offsetParent)
|
|||
|
{
|
|||
|
while (obj.offsetParent)
|
|||
|
{
|
|||
|
curtop += obj.offsetTop
|
|||
|
obj = obj.offsetParent;
|
|||
|
}
|
|||
|
}
|
|||
|
else if (obj.y)
|
|||
|
{
|
|||
|
curtop += obj.y;
|
|||
|
}
|
|||
|
return curtop;
|
|||
|
}
|
|||
|
|
|||
|
function selectBox()
|
|||
|
{
|
|||
|
obj = select_text(box[selectedElement]);
|
|||
|
window.scrollTo(0, findPosY(obj) - 100);
|
|||
|
}
|
|||
|
|
|||
|
function selectNextBox()
|
|||
|
{
|
|||
|
// Find the next box that is not hidden
|
|||
|
for (var i = 0; i < boxes; i++)
|
|||
|
{
|
|||
|
selectedElement = (selectedElement + 1 >= boxes) ? 0 : selectedElement + 1;
|
|||
|
if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents'))
|
|||
|
{
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
selectBox();
|
|||
|
}
|
|||
|
|
|||
|
function selectPrevBox()
|
|||
|
{
|
|||
|
// Find the previos box that is not hidden
|
|||
|
for (var i = 0; i < boxes; i++)
|
|||
|
{
|
|||
|
selectedElement = (selectedElement - 1 < 0) ? boxes - 1 : selectedElement - 1;
|
|||
|
if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents'))
|
|||
|
{
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
selectBox();
|
|||
|
}
|
|||
|
|
|||
|
function selectFirstBox()
|
|||
|
{
|
|||
|
// Find the first box that is not hidden
|
|||
|
for (selectedElement = 0; selectedElement < boxes; selectedElement++)
|
|||
|
{
|
|||
|
if (!is_hidden(document.getElementById(box[selectedElement]), 'mod-edit-contents'))
|
|||
|
{
|
|||
|
break;
|
|||
|
}
|
|||
|
}
|
|||
|
selectBox();
|
|||
|
}
|
|||
|
|
|||
|
function mod_do_keypress(e)
|
|||
|
{
|
|||
|
var key = (window.event && !window.event.ctrlKey) ? window.event.keyCode : ((e && !e.ctrlKey) ? e.which : null);
|
|||
|
|
|||
|
switch (key)
|
|||
|
{
|
|||
|
case 88: // X
|
|||
|
case 187: // plus (+)
|
|||
|
case 190: // period/greater-than (.>)
|
|||
|
selectNextBox();
|
|||
|
return false;
|
|||
|
break;
|
|||
|
|
|||
|
case 87: // W
|
|||
|
case 189: // minus (-)
|
|||
|
case 188: // comma/less-than (,<)
|
|||
|
selectPrevBox();
|
|||
|
return false;
|
|||
|
break;
|
|||
|
|
|||
|
case 83: // S
|
|||
|
case 37:
|
|||
|
selectFirstBox();
|
|||
|
return false;
|
|||
|
break;
|
|||
|
}
|
|||
|
return true; // true allows browser to take care of any further key press combinations such as (ctrl|cmd) + c
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Update the MODX with the selected dbms
|
|||
|
*
|
|||
|
*/
|
|||
|
function change_dbms($form)
|
|||
|
{
|
|||
|
$type = [
|
|||
|
'',
|
|||
|
'mysql',
|
|||
|
'mysql_41',
|
|||
|
'mysql_40',
|
|||
|
'firebird',
|
|||
|
'mssql',
|
|||
|
'oracle',
|
|||
|
'postgres',
|
|||
|
'sqllite'
|
|||
|
];
|
|||
|
$exists = 0;
|
|||
|
$tags = document.getElementsByTagName('dbms');
|
|||
|
|
|||
|
if ($form)
|
|||
|
{
|
|||
|
sql_display($form.value);
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
if ($tags.length > 0)
|
|||
|
{
|
|||
|
for ($i = 0; $i < $tags.length; $i++)
|
|||
|
{
|
|||
|
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
|||
|
{
|
|||
|
continue;
|
|||
|
}
|
|||
|
$position = in_array($type, $dbms, true);
|
|||
|
if ($position !== false)
|
|||
|
{
|
|||
|
$exists = (($exists > 0 && $position < $exists) || $exists == 0) ? $position : $exists;
|
|||
|
}
|
|||
|
}
|
|||
|
if ($exists > 0)
|
|||
|
{
|
|||
|
sql_display($type[$exists]);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Display the dbms specific sql data with the dbms we have selected
|
|||
|
*/
|
|||
|
function sql_display($value)
|
|||
|
{
|
|||
|
var $ie = /*@cc_on!@*/false;
|
|||
|
var $tags = document.getElementsByTagName('dbms');
|
|||
|
if($ie)
|
|||
|
{
|
|||
|
var $div_list = document.getElementsByTagName('div');
|
|||
|
}
|
|||
|
|
|||
|
// show the dbms of type we have selected, hide all others except for non dbms specific
|
|||
|
for ($i = 0; $i < $tags.length; $i++)
|
|||
|
{
|
|||
|
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
|||
|
{
|
|||
|
continue;
|
|||
|
}
|
|||
|
if(!$ie)
|
|||
|
{
|
|||
|
$tags[$i].style.display = ($dbms == $value) ? '' : 'none';
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
for($j = 0; $j < $div_list.length; $j++)
|
|||
|
{
|
|||
|
if($div_list[$j].name == $dbms)
|
|||
|
{
|
|||
|
$div_list[$j].style.display = ($dbms == $value) ? '' : 'none';
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/**
|
|||
|
* Load the sql dropdown with all the database types supported by this MODX file
|
|||
|
*/
|
|||
|
function sql_dropdown()
|
|||
|
{
|
|||
|
var $ie = /*@cc_on!@*/false;
|
|||
|
var $dbms_element = document.getElementById('dbms');
|
|||
|
var $dbms_selector = document.getElementById('dbms-selector');
|
|||
|
if (!$dbms_element || !$dbms_selector)
|
|||
|
{
|
|||
|
return;
|
|||
|
}
|
|||
|
|
|||
|
/* if($ie)
|
|||
|
{
|
|||
|
$dbms_selector.style.display = 'none';
|
|||
|
return;
|
|||
|
}
|
|||
|
*/
|
|||
|
$type = [
|
|||
|
'mysql',
|
|||
|
'mysql_41',
|
|||
|
'mysql_40',
|
|||
|
'firebird',
|
|||
|
'mssql',
|
|||
|
'oracle',
|
|||
|
'postgres',
|
|||
|
'sqllite'
|
|||
|
];
|
|||
|
$options = [];
|
|||
|
$ie_options = [];
|
|||
|
$ie_count = 0;
|
|||
|
$tags = document.getElementsByTagName('dbms');
|
|||
|
|
|||
|
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
|||
|
for ($i = 0; $i < $tags.length; $i++)
|
|||
|
{
|
|||
|
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
|||
|
{
|
|||
|
continue;
|
|||
|
}
|
|||
|
if (($position = in_array($type, $dbms, true)) !== false)
|
|||
|
{
|
|||
|
$options[$position] = '<option value=' + $dbms + '>' + $dbms + '</option>';
|
|||
|
if($ie)
|
|||
|
{
|
|||
|
if(!in_array($ie_options, $dbms, false))
|
|||
|
{
|
|||
|
$ie_options[$ie_count++] = $dbms;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
if ($options.length > 0)
|
|||
|
{
|
|||
|
$selects = '';
|
|||
|
|
|||
|
// sort options and output in the correct order
|
|||
|
for ($i = 0; $i < $type.length; $i++)
|
|||
|
{
|
|||
|
if ($options[$i])
|
|||
|
{
|
|||
|
$selects += $options[$i];
|
|||
|
}
|
|||
|
}
|
|||
|
$dbms_element.innerHTML=$selects;
|
|||
|
|
|||
|
if($ie)
|
|||
|
{
|
|||
|
for($i in $ie_options)
|
|||
|
{
|
|||
|
$ie_option = document.createElement('option');
|
|||
|
$ie_option.text = $ie_options[$i];
|
|||
|
$ie_option.value = $ie_options[$i];
|
|||
|
$dbms_element.add($ie_option);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
$dbms_selector.style.display = 'none';
|
|||
|
}
|
|||
|
}
|
|||
|
//-->]]>
|
|||
|
</xsl:text>
|
|||
|
/**
|
|||
|
* Toggle the visibility of certain sections.
|
|||
|
*/
|
|||
|
var toggle_strings = {
|
|||
|
'show' : (enStrings.match(/^|\n(?:edt-show=)([^\n]*)\n|$/))[1],
|
|||
|
'hide' : (enStrings.match(/^|\n(?:edt-hide=)([^\n]*)\n|$/))[1]
|
|||
|
}
|
|||
|
function init_mod_history()
|
|||
|
{
|
|||
|
<xsl:if test="count(mod:header/mod:history/mod:entry) > 1">
|
|||
|
document.getElementById('mod_history_content').style.display = 'none';
|
|||
|
document.getElementById('history_toggle_area').style.display = '';
|
|||
|
document.getElementById('history_toggle_link').innerHTML = toggle_strings['show'];
|
|||
|
</xsl:if>
|
|||
|
}
|
|||
|
|
|||
|
function toggle_display(o, n)
|
|||
|
{
|
|||
|
var v = o.rel == 'hide';
|
|||
|
n.style.display = n.style.display == '' ? 'none' : '';
|
|||
|
o.rel = v ? 'show' : 'hide';
|
|||
|
o.innerHTML = toggle_strings[o.rel];
|
|||
|
if (o.id.indexOf('lang-edt-') == 0)
|
|||
|
{
|
|||
|
o.style.textAlign = v ? 'left' : 'right';
|
|||
|
}
|
|||
|
return false;
|
|||
|
}
|
|||
|
|
|||
|
function toggle_history(o)
|
|||
|
{
|
|||
|
return toggle_display(o, document.getElementById("mod_history_content"));
|
|||
|
}
|
|||
|
|
|||
|
function toggle_edit(o)
|
|||
|
{
|
|||
|
var s = o.previousSibling;
|
|||
|
while (s.nodeType != 1)
|
|||
|
{
|
|||
|
s = s.previousSibling;
|
|||
|
}
|
|||
|
return toggle_display(o, s);
|
|||
|
}
|
|||
|
</script>
|
|||
|
</head>
|
|||
|
<body onload="startup()">
|
|||
|
<div id="debug"></div>
|
|||
|
<div id="wrap">
|
|||
|
<div id="page-header">
|
|||
|
<h1><span id="lang-h1">Installation instructions for</span> '<xsl:value-of select="$title" />' <span id="lang-V">version</span> <xsl:value-of select="$version" /></h1>
|
|||
|
<form method="post" action="" id="lang-selector" style="display: none;">
|
|||
|
<fieldset class="nobg">
|
|||
|
<label for="language"><span id="lang-slg">Select language:</span></label> <select id="language" name="language" onclick="load_languages()"><option value="en" selected="selected">English</option></select>
|
|||
|
</fieldset>
|
|||
|
</form>
|
|||
|
</div>
|
|||
|
<div id="page-body">
|
|||
|
<div id="acp">
|
|||
|
<div class="panel">
|
|||
|
<div id="content">
|
|||
|
<div id="main">
|
|||
|
<xsl:for-each select="mod:header">
|
|||
|
<xsl:call-template name="give-header"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
<div class="permissions" id="Fieldset1">
|
|||
|
<xsl:for-each select="mod:action-group">
|
|||
|
<xsl:call-template name="give-actions"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
<hr style="margin-bottom:0;" />
|
|||
|
<div class="endMOD">
|
|||
|
<h2 id="lang-eom">Save all files. End of MOD.</h2>
|
|||
|
<p id="lang-eomt">You have finished the installation for this MOD. Upload all changed files to your website. If the installation went bad, simply restore your backed up files.</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div id="page-footer">
|
|||
|
<p class="copyright" style="text-align: center; font-size: 10px;" id="lang-foot">MOD UA XSLT File Copyright © 2008 The phpBB Group. This MOD is copyright to the authors listed above.</p>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
</html>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-header">
|
|||
|
<fieldset>
|
|||
|
<legend id="lang-atm">About this MOD</legend>
|
|||
|
<div class="mod-about">
|
|||
|
<dl>
|
|||
|
<dt id="lang-t" name="left4px">Title:</dt>
|
|||
|
<dd>
|
|||
|
<xsl:if test="count(mod:title) > 1">
|
|||
|
<dl id="title" class="nopadding">
|
|||
|
<xsl:for-each select="mod:title">
|
|||
|
<dt><xsl:value-of select="@lang" /></dt>
|
|||
|
<dd style='white-space:pre;' lang="{@lang}">
|
|||
|
<p><xsl:value-of select="current()" /></p>
|
|||
|
</dd>
|
|||
|
</xsl:for-each>
|
|||
|
</dl>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:title) = 1">
|
|||
|
<p lang="{@lang}" style='white-space:pre;'><xsl:value-of select="mod:title" /></p>
|
|||
|
</xsl:if>
|
|||
|
</dd>
|
|||
|
<dt id="lang-d" name="left4px">Description:</dt>
|
|||
|
<dd>
|
|||
|
<xsl:if test="count(mod:description) > 1">
|
|||
|
<dl id="description" class="nopadding">
|
|||
|
<xsl:for-each select="mod:description">
|
|||
|
<dt><xsl:value-of select="@lang" /></dt>
|
|||
|
<dd lang="{@lang}">
|
|||
|
<p>
|
|||
|
<xsl:call-template name="add-line-breaks">
|
|||
|
<xsl:with-param name="string"><xsl:value-of select="current()" /></xsl:with-param>
|
|||
|
</xsl:call-template>
|
|||
|
</p>
|
|||
|
</dd>
|
|||
|
</xsl:for-each>
|
|||
|
</dl>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:description) = 1">
|
|||
|
<p lang="{@lang}">
|
|||
|
<xsl:call-template name="add-line-breaks">
|
|||
|
<xsl:with-param name="string"><xsl:value-of select="mod:description" /></xsl:with-param>
|
|||
|
</xsl:call-template>
|
|||
|
</p>
|
|||
|
</xsl:if>
|
|||
|
</dd>
|
|||
|
<dt id="lang-aV" name="left4px">Version:</dt>
|
|||
|
<dd class="mod-about">
|
|||
|
<p>
|
|||
|
<xsl:for-each select="mod:mod-version">
|
|||
|
<xsl:value-of select="$version" />
|
|||
|
</xsl:for-each>
|
|||
|
</p>
|
|||
|
</dd>
|
|||
|
<xsl:for-each select="mod:installation">
|
|||
|
<xsl:call-template name="give-installation"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:if test="mod:author-notes != 'N/A' and mod:author-notes != 'n/a' and mod:author-notes != ''">
|
|||
|
<dt id="lang-ant" name="left4px">Author notes:</dt>
|
|||
|
<dd>
|
|||
|
<xsl:if test="count(mod:author-notes) > 1">
|
|||
|
<dl id="author-notes" class="nopadding">
|
|||
|
<xsl:for-each select="mod:author-notes">
|
|||
|
<dt><xsl:value-of select="@lang" /></dt>
|
|||
|
<dd lang="{@lang}">
|
|||
|
<p>
|
|||
|
<xsl:call-template name="add-line-breaks">
|
|||
|
<xsl:with-param name="string"><xsl:value-of select="current()" /></xsl:with-param>
|
|||
|
</xsl:call-template>
|
|||
|
</p>
|
|||
|
</dd>
|
|||
|
</xsl:for-each>
|
|||
|
</dl>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:author-notes) = 1">
|
|||
|
<p lang="{@lang}">
|
|||
|
<xsl:call-template name="add-line-breaks">
|
|||
|
<xsl:with-param name="string"><xsl:value-of select="mod:author-notes" /></xsl:with-param>
|
|||
|
</xsl:call-template>
|
|||
|
</p>
|
|||
|
</xsl:if>
|
|||
|
</dd>
|
|||
|
</xsl:if>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
</fieldset>
|
|||
|
<fieldset>
|
|||
|
<xsl:for-each select="mod:author-group">
|
|||
|
<xsl:if test="count(mod:author) > 1">
|
|||
|
<legend id="lang-aus">Authors</legend>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:author) = 1">
|
|||
|
<legend id="lang-au">Author</legend>
|
|||
|
</xsl:if>
|
|||
|
<xsl:call-template name="give-authors"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</fieldset>
|
|||
|
<xsl:if test="count(../mod:action-group/mod:open) > 0">
|
|||
|
<h3 id="lang-fte">Files to edit</h3>
|
|||
|
<xsl:for-each select="../mod:action-group">
|
|||
|
<xsl:call-template name="give-files-to-edit"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:if>
|
|||
|
<h3 id="lang-icf">Included files</h3>
|
|||
|
<xsl:if test="count(../mod:action-group/mod:copy/mod:file) = 0">
|
|||
|
<p id="lang-icfn">No files have been included with this MOD.</p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:for-each select="../mod:action-group">
|
|||
|
<xsl:call-template name="give-files-included"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
<h3 id="lang-addtl-modx">Additional MODX files</h3>
|
|||
|
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
|||
|
<p id="lang-imn">This MOD has no additional MODX files.</p>
|
|||
|
</xsl:if>
|
|||
|
|
|||
|
<ul class="link-group" id="link-group">
|
|||
|
<xsl:for-each select="mod:link-group/mod:link">
|
|||
|
<li lang="{@lang}">
|
|||
|
<span class="link-group-lang"><xsl:value-of select="@lang" /> </span>
|
|||
|
<strong>
|
|||
|
<xsl:if test="@type = 'contrib'">
|
|||
|
<span id="lang-link-c[{generate-id()}]">Contrib</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'dependency'">
|
|||
|
<span id="lang-link-d[{generate-id()}]">Dependency</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'language'">
|
|||
|
<span id="lang-link-l[{generate-id()}]">Language</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'parent'">
|
|||
|
<span id="lang-link-p[{generate-id()}]">Parent</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'template'">
|
|||
|
<span id="lang-link-te[{generate-id()}]">Template</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'template-lang'">
|
|||
|
<span id="lang-link-tl[{generate-id()}]">Template lang</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'text'">
|
|||
|
<span id="lang-link-txt[{generate-id()}]">Text file</span>:
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'uninstall'">
|
|||
|
<span id="lang-link-un[{generate-id()}]">Uninstall instructions</span>:
|
|||
|
</xsl:if>
|
|||
|
</strong>
|
|||
|
<a href="{@href}"><xsl:value-of select="current()" /></a>
|
|||
|
</li>
|
|||
|
</xsl:for-each>
|
|||
|
</ul>
|
|||
|
<hr />
|
|||
|
<div id="modDisclaimer">
|
|||
|
<h3><span id="lang-dcl">Disclaimer</span> <span id="lang-ont">and other notes</span></h3>
|
|||
|
<div class="mod-about">
|
|||
|
<div class="mod-about-padding">
|
|||
|
<p><span id="lang-dclt">For security purposes, please check: <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a> for the latest version of this MOD. Downloading this MOD from other sites could cause malicious code to enter into your phpBB Forum. As such, phpBB will not offer support for MODs not offered in our MODs database, located at: <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a></span></p>
|
|||
|
<p><span id="lang-ontt1">Before adding this MOD to your forum, you should back up all files and databases related to this MOD.</span></p>
|
|||
|
<p><span id="lang-ontt2">This MOD was designed for phpBB</span><xsl:text> </xsl:text><xsl:value-of select="mod:installation/mod:target-version" /><xsl:text> </xsl:text> <span id="lang-ontt3">and may not function as stated on other phpBB versions. MODs for phpBB 3.0 will <strong>not</strong> work on phpBB 2.0 and vice versa.</span></p>
|
|||
|
<xsl:for-each select="./mod:mod-version">
|
|||
|
<xsl:if test="substring-before(current(), '.') = 0">
|
|||
|
<p><strong class="red"><span id="lang-onttq">This MOD is development quality. It is not recommended that you install it on a live forum.</span></strong></p>
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div>
|
|||
|
<h3><span id="lang-lic">License</span> <span id="lang-isp">and English support</span></h3>
|
|||
|
<div class="mod-about">
|
|||
|
<div class="mod-about-padding">
|
|||
|
<p><span id="lang-lict">This MOD has been licensed under the following license:</span></p>
|
|||
|
<p style='white-space:pre;'><a href="license.txt"><xsl:value-of select="mod:license" /></a></p>
|
|||
|
<p><span id="lang-ispt">English support can be obtained at <a href="http://www.phpbb.com/mods/">http://www.phpbb.com/mods/</a> for released MODs.</span></p>
|
|||
|
<p><span id="lang-ispt-int">Support in your language <strong>might</strong> be available at a <a href="http://www.phpbb.com/support/intl/">international support site</a>.</span></p>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
<xsl:for-each select="mod:history">
|
|||
|
<xsl:call-template name="give-mod-history"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-authors">
|
|||
|
<xsl:for-each select="mod:author">
|
|||
|
<div class="mod-about">
|
|||
|
<dl class="author-info">
|
|||
|
<dt id="lang-a-un[{generate-id()}]" name="left4px">Username:</dt>
|
|||
|
|
|||
|
<xsl:variable name="authorname" select="mod:username" />
|
|||
|
<xsl:for-each select="mod:username">
|
|||
|
<xsl:choose>
|
|||
|
<xsl:when test="@phpbbcom = 'no' or @phpbbcom = 'No' or @phpbbcom = 'NO'">
|
|||
|
<dd name="author-dd"><span dir="ltr"><xsl:value-of select="$authorname" /></span></dd>
|
|||
|
</xsl:when>
|
|||
|
|
|||
|
<xsl:otherwise>
|
|||
|
<xsl:variable name="authorurl">
|
|||
|
<xsl:call-template name="validate-username">
|
|||
|
<xsl:with-param name="string-in" select="string($authorname)"/>
|
|||
|
</xsl:call-template>
|
|||
|
</xsl:variable>
|
|||
|
|
|||
|
<xsl:variable name="browserEngine" select="system-property('xsl:vendor')" />
|
|||
|
<xsl:choose>
|
|||
|
<xsl:when test="$browserEngine='Opera'">
|
|||
|
<xsl:variable name="operaurl">
|
|||
|
<xsl:call-template name="validate-opera">
|
|||
|
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
|||
|
</xsl:call-template>
|
|||
|
</xsl:variable>
|
|||
|
<dd name="author-dd"><a dir="ltr" href="http://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$operaurl}"><xsl:value-of select="$authorname" /></a></dd>
|
|||
|
</xsl:when>
|
|||
|
<xsl:otherwise>
|
|||
|
<dd name="author-dd"><a dir="ltr" href="http://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$authorurl}"><xsl:value-of select="$authorname" /></a></dd>
|
|||
|
</xsl:otherwise>
|
|||
|
|
|||
|
</xsl:choose>
|
|||
|
</xsl:otherwise>
|
|||
|
|
|||
|
</xsl:choose>
|
|||
|
</xsl:for-each>
|
|||
|
<xsl:if test="mod:email != 'N/A' and mod:email != 'n/a' and mod:email != ''">
|
|||
|
<dt id="lang-a-e[{generate-id()}]">Email:</dt>
|
|||
|
<dd name="author-dd"><a href="mailto:{mod:email}"><xsl:value-of select="mod:email" /></a></dd>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="mod:realname != 'N/A' and mod:realname != 'n/a' and mod:realname != ''">
|
|||
|
<dt id="lang-a-n[{generate-id()}]">Name:</dt>
|
|||
|
<dd name="author-dd"><xsl:value-of select="mod:realname" /></dd>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="mod:homepage != 'N/A' and mod:homepage != 'n/a' and mod:homepage!=''">
|
|||
|
<dt id="lang-a-h[{generate-id()}]">WWW:</dt>
|
|||
|
<dd name="author-dd"><a href="{mod:homepage}" dir="ltr"><xsl:value-of select="mod:homepage" /></a></dd>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:contributions-group) > 0">
|
|||
|
<dt id="lang-a-c[{generate-id()}]">Contributions:</dt>
|
|||
|
<xsl:for-each select="mod:contributions-group/mod:contributions">
|
|||
|
<dd name="author-dd">
|
|||
|
|
|||
|
<span name="rtl-spec" style="display: none">
|
|||
|
<xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|||
|
<xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''">
|
|||
|
<span id="lang-a-c-f[{generate-id()}]">From</span>: <xsl:value-of select="@from" /> <span id="lang-a-c-t[{generate-id()}]]">to</span>: <xsl:value-of select="@to" />
|
|||
|
</xsl:if>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|||
|
<span id="lang-a-c-s[{generate-id()}]]">Since</span>: <xsl:value-of select="@from" />
|
|||
|
</xsl:if>
|
|||
|
<strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong>
|
|||
|
</span>
|
|||
|
|
|||
|
<span name="ltr-spec">
|
|||
|
<strong style="text-transform: capitalize;"><xsl:value-of select="@position" /></strong>
|
|||
|
<xsl:if test="@status = 'past' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|||
|
<xsl:if test="@to != 'N/A' and @to != 'n/a' and @to!=''">
|
|||
|
(<span id="lang-a-c-f[{generate-id()}]]">From</span>: <xsl:value-of select="@from" /> <span id="lang-a-c-t[{generate-id()}]]">to</span>: <xsl:value-of select="@to" />)
|
|||
|
</xsl:if>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@status = 'current' and @from != 'N/A' and @from != 'n/a' and @from!=''">
|
|||
|
(<span id="lang-a-c-s[{generate-id()}]]">Since</span>: <xsl:value-of select="@from" />)
|
|||
|
</xsl:if>
|
|||
|
</span>
|
|||
|
|
|||
|
</dd>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:if>
|
|||
|
</dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-installation">
|
|||
|
<dt id="lang-il" name="left4px">Installation level:</dt>
|
|||
|
<dd class="mod-about">
|
|||
|
<div class="inner">
|
|||
|
<xsl:if test="mod:level='easy'">
|
|||
|
<p id="lang-ile">Easy</p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="mod:level='intermediate'">
|
|||
|
<p id="lang-ili">Intermediate</p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="mod:level='advanced'">
|
|||
|
<p id="lang-ila">Advanced</p>
|
|||
|
</xsl:if>
|
|||
|
</div>
|
|||
|
</dd>
|
|||
|
<dt id="lang-it" name="left4px">Installation time:</dt>
|
|||
|
<dd class="mod-about">
|
|||
|
<div class="inner">
|
|||
|
<p>~<xsl:value-of select="floor(mod:time div 60)" /> <span id="lang-mint">minutes</span></p>
|
|||
|
</div>
|
|||
|
</dd>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-mod-history">
|
|||
|
<xsl:if test="count(mod:entry) > 0">
|
|||
|
<fieldset>
|
|||
|
<legend id="lang-mh">MOD history</legend>
|
|||
|
<div class="mod-about" id="history_toggle_area" style="display:none;">
|
|||
|
<div class="mod-about-padding">
|
|||
|
<a href="#" id="history_toggle_link" rel="show" onclick="return toggle_history(this);"></a>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
<div id="mod_history_content">
|
|||
|
<xsl:for-each select="mod:entry">
|
|||
|
<xsl:call-template name="give-history-entry"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
</fieldset>
|
|||
|
</xsl:if>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-history-entry">
|
|||
|
<div class="mod-about">
|
|||
|
<dl class="mod-history">
|
|||
|
<dt>
|
|||
|
<p><strong><xsl:value-of select="substring(mod:date,1,10)" /> <span id="lang-mhe-v[{generate-id()}]">- Version</span>
|
|||
|
<xsl:for-each select="mod:rev-version">
|
|||
|
<xsl:value-of select="current()" />
|
|||
|
</xsl:for-each>
|
|||
|
</strong></p>
|
|||
|
</dt>
|
|||
|
<dd><br clear="all" />
|
|||
|
<xsl:if test="count(mod:changelog) > 1">
|
|||
|
<dl id="mhcl[{generate-id()}]">
|
|||
|
<xsl:for-each select="mod:changelog">
|
|||
|
<xsl:call-template name="give-history-entry-changelog"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</dl>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:changelog) = 1">
|
|||
|
<xsl:for-each select="mod:changelog">
|
|||
|
<xsl:call-template name="give-history-entry-changelog-single"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:if>
|
|||
|
</dd>
|
|||
|
</dl>
|
|||
|
|
|||
|
</div>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-history-entry-changelog">
|
|||
|
<dt><xsl:value-of select="@lang" /></dt>
|
|||
|
<dd lang="{@lang}">
|
|||
|
<ul>
|
|||
|
<xsl:for-each select="mod:change">
|
|||
|
<li>
|
|||
|
<p><xsl:value-of select="current()" /></p>
|
|||
|
</li>
|
|||
|
</xsl:for-each>
|
|||
|
</ul>
|
|||
|
</dd>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-history-entry-changelog-single">
|
|||
|
<ul>
|
|||
|
<xsl:for-each select="mod:change">
|
|||
|
<li>
|
|||
|
<p><xsl:value-of select="current()" /></p>
|
|||
|
</li>
|
|||
|
</xsl:for-each>
|
|||
|
</ul>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-files-to-edit">
|
|||
|
<ul>
|
|||
|
<xsl:for-each select="mod:open">
|
|||
|
<xsl:call-template name="give-file"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</ul>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-files-included">
|
|||
|
<ul>
|
|||
|
<xsl:for-each select="mod:copy">
|
|||
|
<xsl:call-template name="give-file-copy"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</ul>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-file">
|
|||
|
<li><a href="#{@src}"><xsl:value-of select="@src" /></a><xsl:if test="position()!=last()">,</xsl:if></li>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-file-copy">
|
|||
|
<xsl:for-each select="mod:file">
|
|||
|
<li><xsl:value-of select="@from" />
|
|||
|
<xsl:if test="position()!=last()">,
|
|||
|
</xsl:if>
|
|||
|
</li>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-actions">
|
|||
|
<xsl:if test="count(mod:sql) > 0 or count(mod:copy) > 0 or count(mod:open) > 0">
|
|||
|
<hr />
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:sql) > 0">
|
|||
|
<form method="post" action="" id="dbms-selector">
|
|||
|
<fieldset class="nobg">
|
|||
|
<label for="dbms"> <span id="lang-dbms">Select Database Type:</span> </label>
|
|||
|
<select id="dbms" name="dbms" onchange="change_dbms(this);">
|
|||
|
<option value="mysql_41" selected="selected">MySQL 41</option>
|
|||
|
<option value="mysql_40">MySQL 40</option>
|
|||
|
<option value="firebird">Firebird</option>
|
|||
|
<option value="mssql">MSSQL</option>
|
|||
|
<option value="oracle">Oracle</option>
|
|||
|
<option value="postgres">Postgres</option>
|
|||
|
<option value="sqllite">SQLLite</option>
|
|||
|
</select>
|
|||
|
</fieldset>
|
|||
|
</form>
|
|||
|
<h2 id="lang-sql">SQL</h2>
|
|||
|
<div id="sql" class="mod-about">
|
|||
|
<xsl:for-each select="mod:sql">
|
|||
|
<xsl:call-template name="give-sql"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:copy) > 0">
|
|||
|
<xsl:for-each select="mod:copy">
|
|||
|
<xsl:call-template name="give-filez"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:delete) > 0">
|
|||
|
<xsl:for-each select="mod:delete">
|
|||
|
<xsl:call-template name="away-filez"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:open) > 0">
|
|||
|
<h2 id="lang-edts">Edits</h2>
|
|||
|
<p><span class="key">s</span><span class="key">w</span><span class="key">x</span><span id="lang-edtt">Use your keyboard to navigate the code boxes. You may also hit '<em>s</em>' on your keyboard to go to the first code box.</span></p>
|
|||
|
<div id="edits">
|
|||
|
<div class="inner">
|
|||
|
<xsl:for-each select="mod:open">
|
|||
|
<xsl:call-template name="give-fileo"></xsl:call-template>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="count(mod:php-installer) > 0">
|
|||
|
<h2 id="lang-installer-h2">PHP install file</h2>
|
|||
|
<div class="mod-about">
|
|||
|
<div class="mod-about-padding">
|
|||
|
<p>
|
|||
|
<span id="lang-installer-exp1">There is a PHP install file that needs to be run in order to complete the installation.</span>
|
|||
|
<br />
|
|||
|
<span id="lang-installer-exp2">To run it point your browser to, for example,</span><span dir="ltr"> domain.tld/phpBB3/<xsl:value-of select="mod:php-installer" /></span>
|
|||
|
</p>
|
|||
|
<div class="content">
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="mod:php-installer" /></pre></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:call-template name="give-manual" />
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-sql">
|
|||
|
<dbms type="{@dbms}">
|
|||
|
<div class="content" name="{@dbms}">
|
|||
|
<xsl:if test="@dbms != ''">
|
|||
|
<xsl:value-of select="@dbms" />:
|
|||
|
</xsl:if>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</dbms>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-manual">
|
|||
|
<xsl:if test="count(mod:diy-instructions)">
|
|||
|
<h2 id="lang-diy">DIY instructions</h2>
|
|||
|
<div class="mod-about">
|
|||
|
<div class="mod-about-padding">
|
|||
|
<p><span id="lang-diyt">These are manual instructions that cannot be performed automatically. You should follow these instructions carefully.</span></p>
|
|||
|
</div>
|
|||
|
<div id="diy">
|
|||
|
<xsl:for-each select="mod:diy-instructions">
|
|||
|
<div lang="{@lang}" style="margin:0;">
|
|||
|
<div class="content">
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-fileo">
|
|||
|
<div class="mod-about">
|
|||
|
<div class="editFile">
|
|||
|
<h3><span id="lang-opn[{generate-id()}]">Open:</span> <a name="{@src}"><xsl:value-of select="@src" /></a></h3>
|
|||
|
<xsl:for-each select="mod:edit">
|
|||
|
<div class="mod-edit">
|
|||
|
<div class="mod-edit-contents">
|
|||
|
<xsl:if test="count(mod:comment) > 0">
|
|||
|
<div class="mod-comment" style="margin:0;">
|
|||
|
<h4 id="lang-cm-cmt[{generate-id()}]">Comments</h4>
|
|||
|
<dl id="mod-comment[{generate-id()}]">
|
|||
|
<xsl:for-each select="mod:comment">
|
|||
|
<dt><span>
|
|||
|
<xsl:if test="count(../mod:comment) > 1">
|
|||
|
<xsl:value-of select="@lang" />
|
|||
|
</xsl:if>
|
|||
|
</span></dt>
|
|||
|
<dd lang="{@lang}"><xsl:value-of select="current()" /></dd>
|
|||
|
</xsl:for-each>
|
|||
|
</dl>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:for-each select="mod:find|mod:remove|mod:action|mod:inline-edit">
|
|||
|
<xsl:if test="name() = 'find'">
|
|||
|
<h4 id="lang-fnd[{generate-id()}]">Find</h4>
|
|||
|
<p><span id="lang-fndt[{generate-id()}]"><strong>Tip:</strong> This may be a partial find and not the whole line.</span>
|
|||
|
<xsl:if test="@type = 'regex'">
|
|||
|
<br /><em id="lang-regex[{generate-id()}]">This find contains an advanced feature known as regular expressions.</em>
|
|||
|
</xsl:if>
|
|||
|
</p>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="name() = 'remove'">
|
|||
|
<h4 id="lang-remove[{generate-id()}]" style="color: #FF0FFF;">Find and Delete</h4>
|
|||
|
<p><span id="lang-removet[{generate-id()}]"><strong>Tip:</strong> Find and delete this code.</span></p>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="name() = 'action'">
|
|||
|
<xsl:if test="@type = 'after-add'">
|
|||
|
<h4 id="lang-aft[{generate-id()}]" style="color: #009933;">Add after</h4>
|
|||
|
<p><span id="lang-aftt[{generate-id()}]"><strong>Tip:</strong> Add these lines on a new blank line after the preceding line(s) to find.</span></p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'before-add'">
|
|||
|
<h4 id="lang-bef[{generate-id()}]" style="color: #AC1987;">Add before</h4>
|
|||
|
<p><span id="lang-beft[{generate-id()}]"><strong>Tip:</strong> Add these lines on a new blank line before the preceding line(s) to find.</span></p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'replace-with'">
|
|||
|
<h4 id="lang-rplw[{generate-id()}]" style="color: #AE1616;">Replace with</h4>
|
|||
|
<p><span id="lang-rplwt[{generate-id()}]"><strong>Tip:</strong> Replace the preceding line(s) to find with the following lines.</span></p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'operation'">
|
|||
|
<h4 id="lang-inc[{generate-id()}]" style="color: #333333;">Operation</h4>
|
|||
|
<p><span id="lang-inct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers.</span></p>
|
|||
|
</xsl:if>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="name() = 'inline-edit'">
|
|||
|
<div class="mod-inlineedit">
|
|||
|
<xsl:for-each select="mod:inline-find|mod:inline-remove|mod:inline-action|mod:inline-comment">
|
|||
|
<xsl:if test="name() = 'inline-find'">
|
|||
|
<h5 id="lang-ifnd[{generate-id()}]">In-line Find</h5>
|
|||
|
<p><span id="lang-ifndt[{generate-id()}]"><strong>Tip:</strong> This is a partial match of a line for in-line operations.</span>
|
|||
|
<xsl:if test="@type = 'regex'">
|
|||
|
<br /><em id="lang-regex[{generate-id()}]">This find contains an advanced feature known as regular expressions.</em>
|
|||
|
</xsl:if>
|
|||
|
</p>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="name() = 'inline-remove'">
|
|||
|
<h5 id="lang-iremove[{generate-id()}]" style="color: #FF0FFF;">In-line Find and Delete</h5>
|
|||
|
<p><span id="lang-iremovet[{generate-id()}]"><strong>Tip:</strong> Find this code in the line and delete it.</span></p>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select all</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="name() = 'inline-action'">
|
|||
|
<xsl:if test="@type = 'after-add'">
|
|||
|
<h5 id="lang-iaft[{generate-id()}]" style="color: #009933;">In-line Add after</h5>
|
|||
|
<p><span id="lang-iaftt[{generate-id()}]"></span></p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'before-add'">
|
|||
|
<h5 id="lang-ibef[{generate-id()}]" style="color: #AC1987;">In-line Add before</h5>
|
|||
|
<p><span id="lang-ibeft[{generate-id()}]"></span></p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'replace-with'">
|
|||
|
<h5 id="lang-irplw[{generate-id()}]" style="color: #AE1616;">In-line Replace with</h5>
|
|||
|
<p><span id="lang-irplwt[{generate-id()}]"></span></p>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="@type = 'operation'">
|
|||
|
<h5 id="lang-iinc[{generate-id()}]" style="color: #333333;">In-line Operation</h5>
|
|||
|
<p><span id="lang-iinct[{generate-id()}]"><strong>Tip:</strong> This allows you to alter integers.</span></p>
|
|||
|
</xsl:if>
|
|||
|
<div class="codebox">
|
|||
|
<div class="codeHead"><span id="lang-cde-c[{generate-id()}]">Code:</span><a href="#" onclick="select_code(this); return false;" class="codeSelect"><span id="lang-cde-sa[{generate-id()}]">Select All</span></a></div>
|
|||
|
<div class="codePre"><pre id="{generate-id()}" dir="ltr"><xsl:value-of select="current()" /></pre></div>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
<xsl:if test="name() = 'inline-comment'">
|
|||
|
<dl id="comment[{generate-id()}]">
|
|||
|
<dt><span id="lang-cm-cmt[{generate-id()}]">Comments</span> <span><xsl:value-of select="@lang" /></span></dt>
|
|||
|
<dd lang="{@lang}"><xsl:value-of select="current()" /></dd>
|
|||
|
</dl>
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
</xsl:if>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
<a href="#" id="lang-edt-hide[{generate-id()}]" class="edit_toggle_link" rel="hide" onclick="return toggle_edit(this);"><< Hide</a>
|
|||
|
</div>
|
|||
|
</xsl:for-each>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="give-filez">
|
|||
|
<h2 id="lang-fca">File copy</h2>
|
|||
|
<ol id="file-copy">
|
|||
|
<xsl:for-each select="mod:file">
|
|||
|
<li>
|
|||
|
<dl>
|
|||
|
<dt><span id="lang-c-copy[{generate-id()}]">Copy:</span> <xsl:value-of select="@from" /></dt>
|
|||
|
<dd><span id="lang-c-to[{generate-id()}]">To:</span> <xsl:value-of select="@to" /></dd>
|
|||
|
</dl>
|
|||
|
</li>
|
|||
|
</xsl:for-each>
|
|||
|
</ol>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<xsl:template name="away-filez">
|
|||
|
<xsl:choose>
|
|||
|
<xsl:when test="count(mod:file) > 1">
|
|||
|
<h2 id="lang-del-heads">Delete files</h2>
|
|||
|
</xsl:when>
|
|||
|
<xsl:otherwise>
|
|||
|
<h2 id="lang-del-head">Delete file</h2>
|
|||
|
</xsl:otherwise>
|
|||
|
</xsl:choose>
|
|||
|
<ol id="file-delete">
|
|||
|
<xsl:for-each select="mod:file">
|
|||
|
<li>
|
|||
|
<dl>
|
|||
|
<dt><span id="lang-del-file[{generate-id()}]">Delete:</span> <xsl:value-of select="@name" /></dt>
|
|||
|
</dl>
|
|||
|
</li>
|
|||
|
</xsl:for-each>
|
|||
|
</ol>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<!-- add-line-breaks borrowed from http://www.stylusstudio.com/xsllist/200103/post40180.html -->
|
|||
|
<xsl:template name="add-line-breaks">
|
|||
|
<xsl:param name="string" select="." />
|
|||
|
<xsl:choose>
|
|||
|
<xsl:when test="contains($string, '
')">
|
|||
|
<xsl:value-of select="substring-before($string, '
')" /><br />
|
|||
|
<xsl:call-template name="add-line-breaks"><xsl:with-param name="string" select="substring-after($string, '
')" /></xsl:call-template>
|
|||
|
</xsl:when>
|
|||
|
<xsl:otherwise>
|
|||
|
<xsl:value-of select="$string" />
|
|||
|
</xsl:otherwise>
|
|||
|
</xsl:choose>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<!-- replace function borrowed from http://www.dpawson.co.uk/xsl/sect2/replace.html#d9701e43 -->
|
|||
|
<xsl:template name="replaceCharsInString">
|
|||
|
<xsl:param name="stringIn"/>
|
|||
|
<xsl:param name="charsIn"/>
|
|||
|
<xsl:param name="charsOut"/>
|
|||
|
<xsl:choose>
|
|||
|
<xsl:when test="contains($stringIn,$charsIn)">
|
|||
|
<xsl:value-of select="concat(substring-before($stringIn,$charsIn),$charsOut)"/>
|
|||
|
<xsl:call-template name="replaceCharsInString">
|
|||
|
<xsl:with-param name="stringIn" select="substring-after($stringIn,$charsIn)"/>
|
|||
|
<xsl:with-param name="charsIn" select="$charsIn"/>
|
|||
|
<xsl:with-param name="charsOut" select="$charsOut"/>
|
|||
|
</xsl:call-template>
|
|||
|
</xsl:when>
|
|||
|
<xsl:otherwise>
|
|||
|
<xsl:value-of select="$stringIn"/>
|
|||
|
</xsl:otherwise>
|
|||
|
</xsl:choose>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<!-- Replace some chars -->
|
|||
|
<xsl:template name="validate-username">
|
|||
|
<xsl:param name="string-in"/>
|
|||
|
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
|
|||
|
<xsl:call-template name="replaceCharsInString">
|
|||
|
<xsl:with-param name="stringIn" select="string($string-in)"/>
|
|||
|
<xsl:with-param name="charsIn" select="'#'"/>
|
|||
|
<xsl:with-param name="charsOut" select="'%23'"/>
|
|||
|
</xsl:call-template>
|
|||
|
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'&'"/><xsl:with-param name="charsOut" select="'%26'"/></xsl:call-template> <!-- & -->
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'+'"/><xsl:with-param name="charsOut" select="'%2B'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="' '"/><xsl:with-param name="charsOut" select="'%20'"/></xsl:call-template> <!-- space -->
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
<!-- This is only needed for Opera support, hiding it here at the bottom. -->
|
|||
|
<xsl:template name="validate-opera">
|
|||
|
<xsl:param name="string-in"/>
|
|||
|
|
|||
|
<!-- This doesn't follow any coding guidelines. But is easier to read this way -->
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
<xsl:call-template name="replaceCharsInString"><xsl:with-param name="stringIn">
|
|||
|
|
|||
|
<xsl:call-template name="replaceCharsInString">
|
|||
|
<xsl:with-param name="stringIn" select="string($string-in)"/>
|
|||
|
<xsl:with-param name="charsIn" select="'é'"/>
|
|||
|
<xsl:with-param name="charsOut" select="'%C3%A9'"/>
|
|||
|
</xsl:call-template>
|
|||
|
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ÿ'"/><xsl:with-param name="charsOut" select="'%C3%BF'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'þ'"/><xsl:with-param name="charsOut" select="'%C3%BE'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ý'"/><xsl:with-param name="charsOut" select="'%C3%BD'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ü'"/><xsl:with-param name="charsOut" select="'%C3%BC'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'û'"/><xsl:with-param name="charsOut" select="'%C3%BB'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ú'"/><xsl:with-param name="charsOut" select="'%C3%BA'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ù'"/><xsl:with-param name="charsOut" select="'%C3%B9'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ø'"/><xsl:with-param name="charsOut" select="'%C3%B8'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'÷'"/><xsl:with-param name="charsOut" select="'%C3%B7'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ö'"/><xsl:with-param name="charsOut" select="'%C3%B6'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'õ'"/><xsl:with-param name="charsOut" select="'%C3%B5'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ô'"/><xsl:with-param name="charsOut" select="'%C3%B4'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ó'"/><xsl:with-param name="charsOut" select="'%C3%B3'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ò'"/><xsl:with-param name="charsOut" select="'%C3%B2'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ñ'"/><xsl:with-param name="charsOut" select="'%C3%B1'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ð'"/><xsl:with-param name="charsOut" select="'%C3%B0'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ï'"/><xsl:with-param name="charsOut" select="'%C3%AF'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'î'"/><xsl:with-param name="charsOut" select="'%C3%AE'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'í'"/><xsl:with-param name="charsOut" select="'%C3%AD'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ì'"/><xsl:with-param name="charsOut" select="'%C3%AC'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ë'"/><xsl:with-param name="charsOut" select="'%C3%AB'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ê'"/><xsl:with-param name="charsOut" select="'%C3%AA'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'é'"/><xsl:with-param name="charsOut" select="'%C3%A9'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'è'"/><xsl:with-param name="charsOut" select="'%C3%A8'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ç'"/><xsl:with-param name="charsOut" select="'%C3%A7'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'æ'"/><xsl:with-param name="charsOut" select="'%C3%A6'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'å'"/><xsl:with-param name="charsOut" select="'%C3%A5'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ä'"/><xsl:with-param name="charsOut" select="'%C3%A4'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ã'"/><xsl:with-param name="charsOut" select="'%C3%A3'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'â'"/><xsl:with-param name="charsOut" select="'%C3%A2'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'á'"/><xsl:with-param name="charsOut" select="'%C3%A1'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'à'"/><xsl:with-param name="charsOut" select="'%C3%A0'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ß'"/><xsl:with-param name="charsOut" select="'%C3%9F'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Þ'"/><xsl:with-param name="charsOut" select="'%C3%9E'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ý'"/><xsl:with-param name="charsOut" select="'%C3%9D'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ü'"/><xsl:with-param name="charsOut" select="'%C3%9C'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Û'"/><xsl:with-param name="charsOut" select="'%C3%9B'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ú'"/><xsl:with-param name="charsOut" select="'%C3%9A'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ù'"/><xsl:with-param name="charsOut" select="'%C3%99'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ø'"/><xsl:with-param name="charsOut" select="'%C3%98'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'×'"/><xsl:with-param name="charsOut" select="'%C3%97'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ö'"/><xsl:with-param name="charsOut" select="'%C3%96'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Õ'"/><xsl:with-param name="charsOut" select="'%C3%95'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ô'"/><xsl:with-param name="charsOut" select="'%C3%94'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ó'"/><xsl:with-param name="charsOut" select="'%C3%93'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ò'"/><xsl:with-param name="charsOut" select="'%C3%92'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ñ'"/><xsl:with-param name="charsOut" select="'%C3%91'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ð'"/><xsl:with-param name="charsOut" select="'%C3%90'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ï'"/><xsl:with-param name="charsOut" select="'%C3%8F'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Î'"/><xsl:with-param name="charsOut" select="'%C3%8E'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Í'"/><xsl:with-param name="charsOut" select="'%C3%8D'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ì'"/><xsl:with-param name="charsOut" select="'%C3%8C'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ë'"/><xsl:with-param name="charsOut" select="'%C3%8B'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ê'"/><xsl:with-param name="charsOut" select="'%C3%8A'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'É'"/><xsl:with-param name="charsOut" select="'%C3%89'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'È'"/><xsl:with-param name="charsOut" select="'%C3%88'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ç'"/><xsl:with-param name="charsOut" select="'%C3%87'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Æ'"/><xsl:with-param name="charsOut" select="'%C3%86'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Å'"/><xsl:with-param name="charsOut" select="'%C3%85'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ä'"/><xsl:with-param name="charsOut" select="'%C3%84'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ã'"/><xsl:with-param name="charsOut" select="'%C3%83'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Â'"/><xsl:with-param name="charsOut" select="'%C3%82'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Á'"/><xsl:with-param name="charsOut" select="'%C3%81'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'À'"/><xsl:with-param name="charsOut" select="'%C3%80'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¿'"/><xsl:with-param name="charsOut" select="'%C2%BF'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¾'"/><xsl:with-param name="charsOut" select="'%C2%BE'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'½'"/><xsl:with-param name="charsOut" select="'%C2%BD'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¼'"/><xsl:with-param name="charsOut" select="'%C2%BC'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'»'"/><xsl:with-param name="charsOut" select="'%C2%BB'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'º'"/><xsl:with-param name="charsOut" select="'%C2%BA'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¹'"/><xsl:with-param name="charsOut" select="'%C2%B9'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¸'"/><xsl:with-param name="charsOut" select="'%C2%B8'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'·'"/><xsl:with-param name="charsOut" select="'%C2%B7'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¶'"/><xsl:with-param name="charsOut" select="'%C2%B6'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'µ'"/><xsl:with-param name="charsOut" select="'%C2%B5'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'´'"/><xsl:with-param name="charsOut" select="'%C2%B4'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'³'"/><xsl:with-param name="charsOut" select="'%C2%B3'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'²'"/><xsl:with-param name="charsOut" select="'%C2%B2'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'±'"/><xsl:with-param name="charsOut" select="'%C2%B1'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'°'"/><xsl:with-param name="charsOut" select="'%C2%B0'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¯'"/><xsl:with-param name="charsOut" select="'%C2%AF'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'®'"/><xsl:with-param name="charsOut" select="'%C2%AE'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¬'"/><xsl:with-param name="charsOut" select="'%C2%AC'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'«'"/><xsl:with-param name="charsOut" select="'%C2%AB'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ª'"/><xsl:with-param name="charsOut" select="'%C2%AA'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'©'"/><xsl:with-param name="charsOut" select="'%C2%A9'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¨'"/><xsl:with-param name="charsOut" select="'%C2%A8'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'§'"/><xsl:with-param name="charsOut" select="'%C2%A7'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¦'"/><xsl:with-param name="charsOut" select="'%C2%A6'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¥'"/><xsl:with-param name="charsOut" select="'%C2%A5'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¤'"/><xsl:with-param name="charsOut" select="'%C2%A4'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'£'"/><xsl:with-param name="charsOut" select="'%C2%A3'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¢'"/><xsl:with-param name="charsOut" select="'%C2%A2'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'¡'"/><xsl:with-param name="charsOut" select="'%C2%A1'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ÿ'"/><xsl:with-param name="charsOut" select="'%C5%B8'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ž'"/><xsl:with-param name="charsOut" select="'%C5%BE'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'œ'"/><xsl:with-param name="charsOut" select="'%C5%93'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'›'"/><xsl:with-param name="charsOut" select="'%E2%80%BA'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'š'"/><xsl:with-param name="charsOut" select="'%C5%A1'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'™'"/><xsl:with-param name="charsOut" select="'%E2%84%A2'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'˜'"/><xsl:with-param name="charsOut" select="'%CB%9C'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'—'"/><xsl:with-param name="charsOut" select="'%E2%80%94'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'–'"/><xsl:with-param name="charsOut" select="'%E2%80%93'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'•'"/><xsl:with-param name="charsOut" select="'%E2%80%A2'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'”'"/><xsl:with-param name="charsOut" select="'%E2%80%9D'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'“'"/><xsl:with-param name="charsOut" select="'%E2%80%9C'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'’'"/><xsl:with-param name="charsOut" select="'%E2%80%99'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'‘'"/><xsl:with-param name="charsOut" select="'%E2%80%98'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Ž'"/><xsl:with-param name="charsOut" select="'%C5%BD'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Œ'"/><xsl:with-param name="charsOut" select="'%C5%92'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'‹'"/><xsl:with-param name="charsOut" select="'%E2%80%B9'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'Š'"/><xsl:with-param name="charsOut" select="'%C5%A0'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'‰'"/><xsl:with-param name="charsOut" select="'%E2%80%B0'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ˆ'"/><xsl:with-param name="charsOut" select="'%CB%86'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'‡'"/><xsl:with-param name="charsOut" select="'%E2%80%A1'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'†'"/><xsl:with-param name="charsOut" select="'%E2%80%A0'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'…'"/><xsl:with-param name="charsOut" select="'%E2%80%A6'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'„'"/><xsl:with-param name="charsOut" select="'%E2%80%9E'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'ƒ'"/><xsl:with-param name="charsOut" select="'%C6%92'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'‚'"/><xsl:with-param name="charsOut" select="'%E2%80%9A'"/></xsl:call-template>
|
|||
|
</xsl:with-param><xsl:with-param name="charsIn" select="'€'"/><xsl:with-param name="charsOut" select="'%E2%82%AC'"/></xsl:call-template>
|
|||
|
</xsl:template>
|
|||
|
|
|||
|
</xsl:stylesheet>
|