Merge pull request #145 from marc1706/update/2.0.2
[update/2.0.2] Update files for 2.0.2 release
This commit is contained in:
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
<!-- $Id$ -->
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
<header>
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
|
||||||
@@ -31,11 +30,11 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author-notes>
|
</author-notes>
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
||||||
</author-notes>
|
</author-notes>
|
||||||
|
<github>https://github.com/board3/Board3-Portal</github>
|
||||||
<author-group>
|
<author-group>
|
||||||
<author>
|
<author>
|
||||||
<realname>Marc Alexander</realname>
|
<realname>Marc Alexander</realname>
|
||||||
<username>marc1706</username>
|
<username>Marc</username>
|
||||||
<email>admin@m-a-styles.de</email>
|
<email>admin@m-a-styles.de</email>
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
<homepage>http://www.m-a-styles.de</homepage>
|
||||||
<contributions-group>
|
<contributions-group>
|
||||||
@@ -86,12 +85,12 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author>
|
</author>
|
||||||
</author-group>
|
</author-group>
|
||||||
|
|
||||||
<mod-version>2.0.1</mod-version>
|
<mod-version>2.0.2</mod-version>
|
||||||
|
|
||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>120</time>
|
<time>120</time>
|
||||||
<target-version>3.0.11</target-version>
|
<target-version>3.0.12</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<!DOCTYPE xsl:stylesheet[
|
<!DOCTYPE xsl:stylesheet[
|
||||||
<!ENTITY nbsp " ">
|
<!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:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
||||||
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
||||||
<xsl:variable name="version">
|
<xsl:variable name="version">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
/* phpBB 3.0 Admin Style Sheet
|
/* phpBB 3.0 Admin Style Sheet
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
Original author: subBlue ( http://www.subblue.com/ )
|
Original author: subBlue ( http://www.subblue.com/ )
|
||||||
Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
|
Copyright 2007 phpBB Group ( https://www.phpbb.com/ )
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ div.endMOD { padding:0 5px; }
|
|||||||
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
||||||
document.onkeydown = mod_do_keypress;
|
document.onkeydown = mod_do_keypress;
|
||||||
|
|
||||||
var host = "http://www.phpbb.com/mods/modx/i18n/";
|
var host = "https://www.phpbb.com/mods/modx/i18n/";
|
||||||
|
|
||||||
var enStrings = "dir=ltr\n" +
|
var enStrings = "dir=ltr\n" +
|
||||||
"h1=Installation instructions for\n" +
|
"h1=Installation instructions for\n" +
|
||||||
@@ -646,6 +646,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"a-e=Email:\n" +
|
"a-e=Email:\n" +
|
||||||
"a-n=Name:\n" +
|
"a-n=Name:\n" +
|
||||||
"a-h=WWW:\n" +
|
"a-h=WWW:\n" +
|
||||||
|
"a-git=Github:\n" +
|
||||||
"a-c=Contributions:\n" +
|
"a-c=Contributions:\n" +
|
||||||
"a-c-f=From\n" +
|
"a-c-f=From\n" +
|
||||||
"a-c-t=to\n" +
|
"a-c-t=to\n" +
|
||||||
@@ -654,9 +655,9 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"icf=Included files\n" +
|
"icf=Included files\n" +
|
||||||
"icfn=No files have been included with this MOD.\n" +
|
"icfn=No files have been included with this MOD.\n" +
|
||||||
"dcl=Disclaimer\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" +
|
"dclt=For security purposes, please check: <a href=\"https://www.phpbb.com/mods/\">https://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=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a>\n" +
|
||||||
"isp=and English support\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" +
|
"ispt=English support can be obtained at <a href=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a> for released MODs.\n" +
|
||||||
"ant=Author notes:\n" +
|
"ant=Author notes:\n" +
|
||||||
"lic=License\n" +
|
"lic=License\n" +
|
||||||
"lict=This MOD has been licensed under the following license:\n" +
|
"lict=This MOD has been licensed under the following license:\n" +
|
||||||
@@ -709,8 +710,8 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
||||||
"mhe-v=- Version\n" +
|
"mhe-v=- Version\n" +
|
||||||
"mh=MOD history\n" +
|
"mh=MOD history\n" +
|
||||||
"addtl-modx=Additional MODX files\n" +
|
"addtl-modx=Additional file(s)\n" +
|
||||||
"imn=This MOD has no additional MODX files.\n" +
|
"imn=This MOD has no additional file(s).\n" +
|
||||||
"link-c=Contrib\n" +
|
"link-c=Contrib\n" +
|
||||||
"link-d=Dependency\n" +
|
"link-d=Dependency\n" +
|
||||||
"link-l=Language\n" +
|
"link-l=Language\n" +
|
||||||
@@ -722,7 +723,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"installer-h2=PHP install file\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-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" +
|
"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" +
|
"ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"https://www.phpbb.com/support/intl/\">international support site</a>.\n" +
|
||||||
"del-heads=Delete files\n" +
|
"del-heads=Delete files\n" +
|
||||||
"del-head=Delete file\n" +
|
"del-head=Delete file\n" +
|
||||||
"del-file=Delete\n" +
|
"del-file=Delete\n" +
|
||||||
@@ -741,14 +742,14 @@ var arrClasCnt = [
|
|||||||
['cde-' , codes_ll ],
|
['cde-' , codes_ll ],
|
||||||
['edt-' , edits_ll ],
|
['edt-' , edits_ll ],
|
||||||
['fnd' , finds_ll ],
|
['fnd' , finds_ll ],
|
||||||
['fnd' , removes_ll ],
|
['rem' , removes_ll ],
|
||||||
['regex', regex_ll ],
|
['regex', regex_ll ],
|
||||||
['rplw' , replacewiths_ll ],
|
['rplw' , replacewiths_ll ],
|
||||||
['aft' , addafters_ll ],
|
['aft' , addafters_ll ],
|
||||||
['bef' , addbefores_ll ],
|
['bef' , addbefores_ll ],
|
||||||
['inc' , increments_ll ],
|
['inc' , increments_ll ],
|
||||||
['ifnd' , ifinds_ll ],
|
['ifnd' , ifinds_ll ],
|
||||||
['ifnd' , iremoves_ll ],
|
['irem' , iremoves_ll ],
|
||||||
['regex', iregex_ll ],
|
['regex', iregex_ll ],
|
||||||
['irplw', ireplacewiths_ll ],
|
['irplw', ireplacewiths_ll ],
|
||||||
['iaft' , iaddafters_ll ],
|
['iaft' , iaddafters_ll ],
|
||||||
@@ -780,6 +781,8 @@ function changeLanguage(langCode)
|
|||||||
applyLanguage(enStrings.split("\n"));
|
applyLanguage(enStrings.split("\n"));
|
||||||
}
|
}
|
||||||
xslLanguage(langCode);
|
xslLanguage(langCode);
|
||||||
|
|
||||||
|
show_title(langCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_languages()
|
function load_languages()
|
||||||
@@ -808,6 +811,71 @@ function load_language()
|
|||||||
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* From http://stackoverflow.com/questions/1280903/javascript-ie-and-getelementsbyclassname-problems/8472488#8472488
|
||||||
|
*/
|
||||||
|
if (typeof document.getElementsByClassName != 'function')
|
||||||
|
{
|
||||||
|
document.getElementsByClassName = function()
|
||||||
|
{
|
||||||
|
var elms = document.getElementsByTagName('*');
|
||||||
|
var ei = new Array();
|
||||||
|
for (i = 0; i < elms.length; i++)
|
||||||
|
{
|
||||||
|
if (elms[i].getAttribute('class'))
|
||||||
|
{
|
||||||
|
ecl = elms[i].getAttribute('class').split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (elms[i].className)
|
||||||
|
{
|
||||||
|
ecl = elms[i].className.split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ei;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function show_title(langCode)
|
||||||
|
{
|
||||||
|
var sel_title = document.getElementById('title-' + langCode);
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// A title in English is required.
|
||||||
|
sel_title = document.getElementById('title-en')
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// No title in English or the selected language.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var hide_title = document.getElementsByClassName('hide-title');
|
||||||
|
|
||||||
|
for (var i = 0; i < hide_title.length; i++)
|
||||||
|
{
|
||||||
|
hide_title[i].style.display='none';
|
||||||
|
}
|
||||||
|
|
||||||
|
sel_title.style.display='inline';
|
||||||
|
document.title = "phpBB MOD » " + sel_title.innerHTML;
|
||||||
|
}
|
||||||
|
|
||||||
/*****************
|
/*****************
|
||||||
* AJAX Functions *
|
* AJAX Functions *
|
||||||
*****************/
|
*****************/
|
||||||
@@ -1425,7 +1493,7 @@ function change_dbms($form)
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$exists = 0;
|
$exists = 0;
|
||||||
$tags = document.getElementsByTagName('dbms');
|
$tags = document.getElementsByTagName('dbms');
|
||||||
@@ -1440,7 +1508,7 @@ function change_dbms($form)
|
|||||||
{
|
{
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1472,7 +1540,7 @@ function sql_display($value)
|
|||||||
// show the dbms of type we have selected, hide all others except for non dbms specific
|
// show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1520,7 +1588,7 @@ function sql_dropdown()
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$options = [];
|
$options = [];
|
||||||
$ie_options = [];
|
$ie_options = [];
|
||||||
@@ -1530,7 +1598,7 @@ function sql_dropdown()
|
|||||||
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1628,7 +1696,14 @@ function toggle_edit(o)
|
|||||||
<div id="debug"></div>
|
<div id="debug"></div>
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
<div id="page-header">
|
<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>
|
<h1>
|
||||||
|
<span id="lang-h1">Installation instructions for</span>
|
||||||
|
<span class="hide-title" lang="{@lang}"> '<xsl:value-of select="$title" />' </span>
|
||||||
|
<xsl:for-each select="mod:header/mod:title">
|
||||||
|
<span class="hide-title" lang="{@lang}" id="title-{@lang}" style="display: none;"> '<xsl:value-of select="current()" />' </span>
|
||||||
|
</xsl:for-each>
|
||||||
|
<span id="lang-V">version</span> <xsl:value-of select="$version" />
|
||||||
|
</h1>
|
||||||
<form method="post" action="" id="lang-selector" style="display: none;">
|
<form method="post" action="" id="lang-selector" style="display: none;">
|
||||||
<fieldset class="nobg">
|
<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>
|
<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>
|
||||||
@@ -1667,6 +1742,7 @@ function toggle_edit(o)
|
|||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<xsl:template name="give-header">
|
<xsl:template name="give-header">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend id="lang-atm">About this MOD</legend>
|
<legend id="lang-atm">About this MOD</legend>
|
||||||
@@ -1750,6 +1826,12 @@ function toggle_edit(o)
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
</dd>
|
</dd>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
<xsl:if test="mod:github != 'N/A' and mod:github != 'n/a' and mod:github != ''">
|
||||||
|
<xsl:if test="contains(mod:github, 'https://github.com/')">
|
||||||
|
<dt id="lang-a-git[{generate-id()}]">Github:</dt>
|
||||||
|
<dd name="author-dd"><a href="{mod:github}" dir="ltr"><xsl:value-of select="mod:github" /></a></dd>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
</dl>
|
</dl>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1778,9 +1860,9 @@ function toggle_edit(o)
|
|||||||
<xsl:for-each select="../mod:action-group">
|
<xsl:for-each select="../mod:action-group">
|
||||||
<xsl:call-template name="give-files-included"></xsl:call-template>
|
<xsl:call-template name="give-files-included"></xsl:call-template>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
<h3 id="lang-addtl-modx">Additional MODX files</h3>
|
<h3 id="lang-addtl-modx">Additional file(s)</h3>
|
||||||
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
||||||
<p id="lang-imn">This MOD has no additional MODX files.</p>
|
<p id="lang-imn">This MOD has no additional file(s).</p>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<ul class="link-group" id="link-group">
|
<ul class="link-group" id="link-group">
|
||||||
@@ -1823,7 +1905,7 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about">
|
<div class="mod-about">
|
||||||
<span class="corners-top"><span></span></span>
|
<span class="corners-top"><span></span></span>
|
||||||
<div class="mod-about-padding">
|
<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-dclt">For security purposes, please check: <a href="https://www.phpbb.com/mods/">https://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="https://www.phpbb.com/mods/">https://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-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>
|
<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:for-each select="./mod:mod-version">
|
||||||
@@ -1842,8 +1924,8 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about-padding">
|
<div class="mod-about-padding">
|
||||||
<p><span id="lang-lict">This MOD has been licensed under the following license:</span></p>
|
<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 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">English support can be obtained at <a href="https://www.phpbb.com/mods/">https://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>
|
<p><span id="lang-ispt-int">Support in your language <strong>might</strong> be available at a <a href="https://www.phpbb.com/support/intl/">international support site</a>.</span></p>
|
||||||
</div>
|
</div>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1882,10 +1964,10 @@ function toggle_edit(o)
|
|||||||
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$operaurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$authorurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
@@ -2083,7 +2165,7 @@ function toggle_edit(o)
|
|||||||
<option value="mssql">MSSQL</option>
|
<option value="mssql">MSSQL</option>
|
||||||
<option value="oracle">Oracle</option>
|
<option value="oracle">Oracle</option>
|
||||||
<option value="postgres">Postgres</option>
|
<option value="postgres">Postgres</option>
|
||||||
<option value="sqllite">SQLLite</option>
|
<option value="sqlite">SQLite</option>
|
||||||
</select>
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
<!-- $Id: subsilver2.xml 658 2010-06-01 12:26:23Z marc1706 $ -->
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
<header>
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
|
||||||
@@ -31,11 +30,11 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author-notes>
|
</author-notes>
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
||||||
</author-notes>
|
</author-notes>
|
||||||
|
<github>https://github.com/board3/Board3-Portal</github>
|
||||||
<author-group>
|
<author-group>
|
||||||
<author>
|
<author>
|
||||||
<realname>Marc Alexander</realname>
|
<realname>Marc Alexander</realname>
|
||||||
<username>marc1706</username>
|
<username>Marc</username>
|
||||||
<email>admin@m-a-styles.de</email>
|
<email>admin@m-a-styles.de</email>
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
<homepage>http://www.m-a-styles.de</homepage>
|
||||||
<contributions-group>
|
<contributions-group>
|
||||||
@@ -86,12 +85,12 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author>
|
</author>
|
||||||
</author-group>
|
</author-group>
|
||||||
|
|
||||||
<mod-version>2.0.1</mod-version>
|
<mod-version>2.0.2</mod-version>
|
||||||
|
|
||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>120</time>
|
<time>120</time>
|
||||||
<target-version>3.0.11</target-version>
|
<target-version>3.0.12</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
|
|||||||
@@ -1,13 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
<!-- $Id$ -->
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
<header>
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
|
||||||
<title lang="en">board3 Portal - German Language Update for 2.0.1</title>
|
<title lang="en">board3 Portal - German Language Update for 2.0.2</title>
|
||||||
<title lang="de">board3 Portal - Deutsche Sprache Aktualisiering für 2.0.1</title>
|
<title lang="de">board3 Portal - Deutsche Sprache Aktualisiering für 2.0.2</title>
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
<description lang="en">Adds a portal to your forum.
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
||||||
@@ -31,11 +30,11 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author-notes>
|
</author-notes>
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
||||||
</author-notes>
|
</author-notes>
|
||||||
|
<github>https://github.com/board3/Board3-Portal</github>
|
||||||
<author-group>
|
<author-group>
|
||||||
<author>
|
<author>
|
||||||
<realname>Marc Alexander</realname>
|
<realname>Marc Alexander</realname>
|
||||||
<username>marc1706</username>
|
<username>Marc</username>
|
||||||
<email>admin@m-a-styles.de</email>
|
<email>admin@m-a-styles.de</email>
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
<homepage>http://www.m-a-styles.de</homepage>
|
||||||
<contributions-group>
|
<contributions-group>
|
||||||
@@ -86,12 +85,12 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author>
|
</author>
|
||||||
</author-group>
|
</author-group>
|
||||||
|
|
||||||
<mod-version>2.0.1</mod-version>
|
<mod-version>2.0.2</mod-version>
|
||||||
|
|
||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>120</time>
|
<time>120</time>
|
||||||
<target-version>3.0.11</target-version>
|
<target-version>3.0.12</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
@@ -101,9 +100,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</header>
|
</header>
|
||||||
<action-group>
|
<action-group>
|
||||||
<copy>
|
<copy>
|
||||||
<file from="root/language/de/mods/info_acp_portal.php" to="language/de/mods/info_acp_portal.php" />
|
<file from="root/language/en/mods/*.*" to="language/en/mods/*.*" />
|
||||||
<file from="root/language/de/mods/portal/portal_links_module.php" to="language/de/mods/portal/portal_links_module.php" />
|
|
||||||
<file from="root/language/de/mods/portal/portal_main_menu_module.php" to="language/de/mods/portal/portal_main_menu_module.php" />
|
|
||||||
</copy>
|
</copy>
|
||||||
<diy-instructions lang="en">See general install.xml file</diy-instructions>
|
<diy-instructions lang="en">See general install.xml file</diy-instructions>
|
||||||
<diy-instructions lang="de">Siehe install.xml</diy-instructions>
|
<diy-instructions lang="de">Siehe install.xml</diy-instructions>
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
<!DOCTYPE xsl:stylesheet[
|
<!DOCTYPE xsl:stylesheet[
|
||||||
<!ENTITY nbsp " ">
|
<!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:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
||||||
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
||||||
<xsl:variable name="version">
|
<xsl:variable name="version">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
/* phpBB 3.0 Admin Style Sheet
|
/* phpBB 3.0 Admin Style Sheet
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
Original author: subBlue ( http://www.subblue.com/ )
|
Original author: subBlue ( http://www.subblue.com/ )
|
||||||
Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
|
Copyright 2007 phpBB Group ( https://www.phpbb.com/ )
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ div.endMOD { padding:0 5px; }
|
|||||||
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
||||||
document.onkeydown = mod_do_keypress;
|
document.onkeydown = mod_do_keypress;
|
||||||
|
|
||||||
var host = "http://www.phpbb.com/mods/modx/i18n/";
|
var host = "https://www.phpbb.com/mods/modx/i18n/";
|
||||||
|
|
||||||
var enStrings = "dir=ltr\n" +
|
var enStrings = "dir=ltr\n" +
|
||||||
"h1=Installation instructions for\n" +
|
"h1=Installation instructions for\n" +
|
||||||
@@ -646,6 +646,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"a-e=Email:\n" +
|
"a-e=Email:\n" +
|
||||||
"a-n=Name:\n" +
|
"a-n=Name:\n" +
|
||||||
"a-h=WWW:\n" +
|
"a-h=WWW:\n" +
|
||||||
|
"a-git=Github:\n" +
|
||||||
"a-c=Contributions:\n" +
|
"a-c=Contributions:\n" +
|
||||||
"a-c-f=From\n" +
|
"a-c-f=From\n" +
|
||||||
"a-c-t=to\n" +
|
"a-c-t=to\n" +
|
||||||
@@ -654,9 +655,9 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"icf=Included files\n" +
|
"icf=Included files\n" +
|
||||||
"icfn=No files have been included with this MOD.\n" +
|
"icfn=No files have been included with this MOD.\n" +
|
||||||
"dcl=Disclaimer\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" +
|
"dclt=For security purposes, please check: <a href=\"https://www.phpbb.com/mods/\">https://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=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a>\n" +
|
||||||
"isp=and English support\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" +
|
"ispt=English support can be obtained at <a href=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a> for released MODs.\n" +
|
||||||
"ant=Author notes:\n" +
|
"ant=Author notes:\n" +
|
||||||
"lic=License\n" +
|
"lic=License\n" +
|
||||||
"lict=This MOD has been licensed under the following license:\n" +
|
"lict=This MOD has been licensed under the following license:\n" +
|
||||||
@@ -709,8 +710,8 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
||||||
"mhe-v=- Version\n" +
|
"mhe-v=- Version\n" +
|
||||||
"mh=MOD history\n" +
|
"mh=MOD history\n" +
|
||||||
"addtl-modx=Additional MODX files\n" +
|
"addtl-modx=Additional file(s)\n" +
|
||||||
"imn=This MOD has no additional MODX files.\n" +
|
"imn=This MOD has no additional file(s).\n" +
|
||||||
"link-c=Contrib\n" +
|
"link-c=Contrib\n" +
|
||||||
"link-d=Dependency\n" +
|
"link-d=Dependency\n" +
|
||||||
"link-l=Language\n" +
|
"link-l=Language\n" +
|
||||||
@@ -722,7 +723,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"installer-h2=PHP install file\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-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" +
|
"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" +
|
"ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"https://www.phpbb.com/support/intl/\">international support site</a>.\n" +
|
||||||
"del-heads=Delete files\n" +
|
"del-heads=Delete files\n" +
|
||||||
"del-head=Delete file\n" +
|
"del-head=Delete file\n" +
|
||||||
"del-file=Delete\n" +
|
"del-file=Delete\n" +
|
||||||
@@ -741,14 +742,14 @@ var arrClasCnt = [
|
|||||||
['cde-' , codes_ll ],
|
['cde-' , codes_ll ],
|
||||||
['edt-' , edits_ll ],
|
['edt-' , edits_ll ],
|
||||||
['fnd' , finds_ll ],
|
['fnd' , finds_ll ],
|
||||||
['fnd' , removes_ll ],
|
['rem' , removes_ll ],
|
||||||
['regex', regex_ll ],
|
['regex', regex_ll ],
|
||||||
['rplw' , replacewiths_ll ],
|
['rplw' , replacewiths_ll ],
|
||||||
['aft' , addafters_ll ],
|
['aft' , addafters_ll ],
|
||||||
['bef' , addbefores_ll ],
|
['bef' , addbefores_ll ],
|
||||||
['inc' , increments_ll ],
|
['inc' , increments_ll ],
|
||||||
['ifnd' , ifinds_ll ],
|
['ifnd' , ifinds_ll ],
|
||||||
['ifnd' , iremoves_ll ],
|
['irem' , iremoves_ll ],
|
||||||
['regex', iregex_ll ],
|
['regex', iregex_ll ],
|
||||||
['irplw', ireplacewiths_ll ],
|
['irplw', ireplacewiths_ll ],
|
||||||
['iaft' , iaddafters_ll ],
|
['iaft' , iaddafters_ll ],
|
||||||
@@ -780,6 +781,8 @@ function changeLanguage(langCode)
|
|||||||
applyLanguage(enStrings.split("\n"));
|
applyLanguage(enStrings.split("\n"));
|
||||||
}
|
}
|
||||||
xslLanguage(langCode);
|
xslLanguage(langCode);
|
||||||
|
|
||||||
|
show_title(langCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_languages()
|
function load_languages()
|
||||||
@@ -808,6 +811,71 @@ function load_language()
|
|||||||
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* From http://stackoverflow.com/questions/1280903/javascript-ie-and-getelementsbyclassname-problems/8472488#8472488
|
||||||
|
*/
|
||||||
|
if (typeof document.getElementsByClassName != 'function')
|
||||||
|
{
|
||||||
|
document.getElementsByClassName = function()
|
||||||
|
{
|
||||||
|
var elms = document.getElementsByTagName('*');
|
||||||
|
var ei = new Array();
|
||||||
|
for (i = 0; i < elms.length; i++)
|
||||||
|
{
|
||||||
|
if (elms[i].getAttribute('class'))
|
||||||
|
{
|
||||||
|
ecl = elms[i].getAttribute('class').split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (elms[i].className)
|
||||||
|
{
|
||||||
|
ecl = elms[i].className.split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ei;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function show_title(langCode)
|
||||||
|
{
|
||||||
|
var sel_title = document.getElementById('title-' + langCode);
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// A title in English is required.
|
||||||
|
sel_title = document.getElementById('title-en')
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// No title in English or the selected language.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var hide_title = document.getElementsByClassName('hide-title');
|
||||||
|
|
||||||
|
for (var i = 0; i < hide_title.length; i++)
|
||||||
|
{
|
||||||
|
hide_title[i].style.display='none';
|
||||||
|
}
|
||||||
|
|
||||||
|
sel_title.style.display='inline';
|
||||||
|
document.title = "phpBB MOD » " + sel_title.innerHTML;
|
||||||
|
}
|
||||||
|
|
||||||
/*****************
|
/*****************
|
||||||
* AJAX Functions *
|
* AJAX Functions *
|
||||||
*****************/
|
*****************/
|
||||||
@@ -1425,7 +1493,7 @@ function change_dbms($form)
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$exists = 0;
|
$exists = 0;
|
||||||
$tags = document.getElementsByTagName('dbms');
|
$tags = document.getElementsByTagName('dbms');
|
||||||
@@ -1440,7 +1508,7 @@ function change_dbms($form)
|
|||||||
{
|
{
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1472,7 +1540,7 @@ function sql_display($value)
|
|||||||
// show the dbms of type we have selected, hide all others except for non dbms specific
|
// show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1520,7 +1588,7 @@ function sql_dropdown()
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$options = [];
|
$options = [];
|
||||||
$ie_options = [];
|
$ie_options = [];
|
||||||
@@ -1530,7 +1598,7 @@ function sql_dropdown()
|
|||||||
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1628,7 +1696,14 @@ function toggle_edit(o)
|
|||||||
<div id="debug"></div>
|
<div id="debug"></div>
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
<div id="page-header">
|
<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>
|
<h1>
|
||||||
|
<span id="lang-h1">Installation instructions for</span>
|
||||||
|
<span class="hide-title" lang="{@lang}"> '<xsl:value-of select="$title" />' </span>
|
||||||
|
<xsl:for-each select="mod:header/mod:title">
|
||||||
|
<span class="hide-title" lang="{@lang}" id="title-{@lang}" style="display: none;"> '<xsl:value-of select="current()" />' </span>
|
||||||
|
</xsl:for-each>
|
||||||
|
<span id="lang-V">version</span> <xsl:value-of select="$version" />
|
||||||
|
</h1>
|
||||||
<form method="post" action="" id="lang-selector" style="display: none;">
|
<form method="post" action="" id="lang-selector" style="display: none;">
|
||||||
<fieldset class="nobg">
|
<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>
|
<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>
|
||||||
@@ -1667,6 +1742,7 @@ function toggle_edit(o)
|
|||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<xsl:template name="give-header">
|
<xsl:template name="give-header">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend id="lang-atm">About this MOD</legend>
|
<legend id="lang-atm">About this MOD</legend>
|
||||||
@@ -1750,6 +1826,12 @@ function toggle_edit(o)
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
</dd>
|
</dd>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
<xsl:if test="mod:github != 'N/A' and mod:github != 'n/a' and mod:github != ''">
|
||||||
|
<xsl:if test="contains(mod:github, 'https://github.com/')">
|
||||||
|
<dt id="lang-a-git[{generate-id()}]">Github:</dt>
|
||||||
|
<dd name="author-dd"><a href="{mod:github}" dir="ltr"><xsl:value-of select="mod:github" /></a></dd>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
</dl>
|
</dl>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1778,9 +1860,9 @@ function toggle_edit(o)
|
|||||||
<xsl:for-each select="../mod:action-group">
|
<xsl:for-each select="../mod:action-group">
|
||||||
<xsl:call-template name="give-files-included"></xsl:call-template>
|
<xsl:call-template name="give-files-included"></xsl:call-template>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
<h3 id="lang-addtl-modx">Additional MODX files</h3>
|
<h3 id="lang-addtl-modx">Additional file(s)</h3>
|
||||||
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
||||||
<p id="lang-imn">This MOD has no additional MODX files.</p>
|
<p id="lang-imn">This MOD has no additional file(s).</p>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<ul class="link-group" id="link-group">
|
<ul class="link-group" id="link-group">
|
||||||
@@ -1823,7 +1905,7 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about">
|
<div class="mod-about">
|
||||||
<span class="corners-top"><span></span></span>
|
<span class="corners-top"><span></span></span>
|
||||||
<div class="mod-about-padding">
|
<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-dclt">For security purposes, please check: <a href="https://www.phpbb.com/mods/">https://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="https://www.phpbb.com/mods/">https://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-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>
|
<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:for-each select="./mod:mod-version">
|
||||||
@@ -1842,8 +1924,8 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about-padding">
|
<div class="mod-about-padding">
|
||||||
<p><span id="lang-lict">This MOD has been licensed under the following license:</span></p>
|
<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 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">English support can be obtained at <a href="https://www.phpbb.com/mods/">https://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>
|
<p><span id="lang-ispt-int">Support in your language <strong>might</strong> be available at a <a href="https://www.phpbb.com/support/intl/">international support site</a>.</span></p>
|
||||||
</div>
|
</div>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1882,10 +1964,10 @@ function toggle_edit(o)
|
|||||||
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$operaurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$authorurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
@@ -2083,7 +2165,7 @@ function toggle_edit(o)
|
|||||||
<option value="mssql">MSSQL</option>
|
<option value="mssql">MSSQL</option>
|
||||||
<option value="oracle">Oracle</option>
|
<option value="oracle">Oracle</option>
|
||||||
<option value="postgres">Postgres</option>
|
<option value="postgres">Postgres</option>
|
||||||
<option value="sqllite">SQLLite</option>
|
<option value="sqlite">SQLite</option>
|
||||||
</select>
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
@@ -1,13 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
<!-- $Id: subsilver2.xml 658 2010-06-01 12:26:23Z marc1706 $ -->
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
<header>
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
|
||||||
<title lang="en">board3 Portal - Update subsilver2 style for 2.0.1</title>
|
<title lang="en">board3 Portal - Update subsilver2 style for 2.0.2</title>
|
||||||
<title lang="de">board3 Portal - Aktualisiere das subsilver2 style für 2.0.1</title>
|
<title lang="de">board3 Portal - Aktualisiere das subsilver2 style für 2.0.2</title>
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
<description lang="en">Adds a portal to your forum.
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
||||||
@@ -31,11 +30,11 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author-notes>
|
</author-notes>
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
||||||
</author-notes>
|
</author-notes>
|
||||||
|
<github>https://github.com/board3/Board3-Portal</github>
|
||||||
<author-group>
|
<author-group>
|
||||||
<author>
|
<author>
|
||||||
<realname>Marc Alexander</realname>
|
<realname>Marc Alexander</realname>
|
||||||
<username>marc1706</username>
|
<username>Marc</username>
|
||||||
<email>admin@m-a-styles.de</email>
|
<email>admin@m-a-styles.de</email>
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
<homepage>http://www.m-a-styles.de</homepage>
|
||||||
<contributions-group>
|
<contributions-group>
|
||||||
@@ -86,12 +85,12 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author>
|
</author>
|
||||||
</author-group>
|
</author-group>
|
||||||
|
|
||||||
<mod-version>2.0.1</mod-version>
|
<mod-version>2.0.2</mod-version>
|
||||||
|
|
||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>120</time>
|
<time>120</time>
|
||||||
<target-version>3.0.11</target-version>
|
<target-version>3.0.12</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
@@ -101,7 +100,7 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</header>
|
</header>
|
||||||
<action-group>
|
<action-group>
|
||||||
<copy>
|
<copy>
|
||||||
<file from="root/styles/subsilver2/template/portal/modules/user_menu_side.html" to="styles/subsilver2/template/portal/modules/user_menu_side.html" />
|
<file from="root/styles/subsilver2/template/portal/modules/*.*" to="styles/subsilver2/template/portal/modules/*.*" />
|
||||||
</copy>
|
</copy>
|
||||||
<diy-instructions lang="de"><![CDATA[
|
<diy-instructions lang="de"><![CDATA[
|
||||||
Aktualisiere deine Styles:
|
Aktualisiere deine Styles:
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
<!DOCTYPE xsl:stylesheet[
|
<!DOCTYPE xsl:stylesheet[
|
||||||
<!ENTITY nbsp " ">
|
<!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:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
||||||
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
||||||
<xsl:variable name="version">
|
<xsl:variable name="version">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
/* phpBB 3.0 Admin Style Sheet
|
/* phpBB 3.0 Admin Style Sheet
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
Original author: subBlue ( http://www.subblue.com/ )
|
Original author: subBlue ( http://www.subblue.com/ )
|
||||||
Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
|
Copyright 2007 phpBB Group ( https://www.phpbb.com/ )
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ div.endMOD { padding:0 5px; }
|
|||||||
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
||||||
document.onkeydown = mod_do_keypress;
|
document.onkeydown = mod_do_keypress;
|
||||||
|
|
||||||
var host = "http://www.phpbb.com/mods/modx/i18n/";
|
var host = "https://www.phpbb.com/mods/modx/i18n/";
|
||||||
|
|
||||||
var enStrings = "dir=ltr\n" +
|
var enStrings = "dir=ltr\n" +
|
||||||
"h1=Installation instructions for\n" +
|
"h1=Installation instructions for\n" +
|
||||||
@@ -646,6 +646,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"a-e=Email:\n" +
|
"a-e=Email:\n" +
|
||||||
"a-n=Name:\n" +
|
"a-n=Name:\n" +
|
||||||
"a-h=WWW:\n" +
|
"a-h=WWW:\n" +
|
||||||
|
"a-git=Github:\n" +
|
||||||
"a-c=Contributions:\n" +
|
"a-c=Contributions:\n" +
|
||||||
"a-c-f=From\n" +
|
"a-c-f=From\n" +
|
||||||
"a-c-t=to\n" +
|
"a-c-t=to\n" +
|
||||||
@@ -654,9 +655,9 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"icf=Included files\n" +
|
"icf=Included files\n" +
|
||||||
"icfn=No files have been included with this MOD.\n" +
|
"icfn=No files have been included with this MOD.\n" +
|
||||||
"dcl=Disclaimer\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" +
|
"dclt=For security purposes, please check: <a href=\"https://www.phpbb.com/mods/\">https://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=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a>\n" +
|
||||||
"isp=and English support\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" +
|
"ispt=English support can be obtained at <a href=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a> for released MODs.\n" +
|
||||||
"ant=Author notes:\n" +
|
"ant=Author notes:\n" +
|
||||||
"lic=License\n" +
|
"lic=License\n" +
|
||||||
"lict=This MOD has been licensed under the following license:\n" +
|
"lict=This MOD has been licensed under the following license:\n" +
|
||||||
@@ -709,8 +710,8 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
||||||
"mhe-v=- Version\n" +
|
"mhe-v=- Version\n" +
|
||||||
"mh=MOD history\n" +
|
"mh=MOD history\n" +
|
||||||
"addtl-modx=Additional MODX files\n" +
|
"addtl-modx=Additional file(s)\n" +
|
||||||
"imn=This MOD has no additional MODX files.\n" +
|
"imn=This MOD has no additional file(s).\n" +
|
||||||
"link-c=Contrib\n" +
|
"link-c=Contrib\n" +
|
||||||
"link-d=Dependency\n" +
|
"link-d=Dependency\n" +
|
||||||
"link-l=Language\n" +
|
"link-l=Language\n" +
|
||||||
@@ -722,7 +723,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"installer-h2=PHP install file\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-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" +
|
"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" +
|
"ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"https://www.phpbb.com/support/intl/\">international support site</a>.\n" +
|
||||||
"del-heads=Delete files\n" +
|
"del-heads=Delete files\n" +
|
||||||
"del-head=Delete file\n" +
|
"del-head=Delete file\n" +
|
||||||
"del-file=Delete\n" +
|
"del-file=Delete\n" +
|
||||||
@@ -741,14 +742,14 @@ var arrClasCnt = [
|
|||||||
['cde-' , codes_ll ],
|
['cde-' , codes_ll ],
|
||||||
['edt-' , edits_ll ],
|
['edt-' , edits_ll ],
|
||||||
['fnd' , finds_ll ],
|
['fnd' , finds_ll ],
|
||||||
['fnd' , removes_ll ],
|
['rem' , removes_ll ],
|
||||||
['regex', regex_ll ],
|
['regex', regex_ll ],
|
||||||
['rplw' , replacewiths_ll ],
|
['rplw' , replacewiths_ll ],
|
||||||
['aft' , addafters_ll ],
|
['aft' , addafters_ll ],
|
||||||
['bef' , addbefores_ll ],
|
['bef' , addbefores_ll ],
|
||||||
['inc' , increments_ll ],
|
['inc' , increments_ll ],
|
||||||
['ifnd' , ifinds_ll ],
|
['ifnd' , ifinds_ll ],
|
||||||
['ifnd' , iremoves_ll ],
|
['irem' , iremoves_ll ],
|
||||||
['regex', iregex_ll ],
|
['regex', iregex_ll ],
|
||||||
['irplw', ireplacewiths_ll ],
|
['irplw', ireplacewiths_ll ],
|
||||||
['iaft' , iaddafters_ll ],
|
['iaft' , iaddafters_ll ],
|
||||||
@@ -780,6 +781,8 @@ function changeLanguage(langCode)
|
|||||||
applyLanguage(enStrings.split("\n"));
|
applyLanguage(enStrings.split("\n"));
|
||||||
}
|
}
|
||||||
xslLanguage(langCode);
|
xslLanguage(langCode);
|
||||||
|
|
||||||
|
show_title(langCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_languages()
|
function load_languages()
|
||||||
@@ -808,6 +811,71 @@ function load_language()
|
|||||||
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* From http://stackoverflow.com/questions/1280903/javascript-ie-and-getelementsbyclassname-problems/8472488#8472488
|
||||||
|
*/
|
||||||
|
if (typeof document.getElementsByClassName != 'function')
|
||||||
|
{
|
||||||
|
document.getElementsByClassName = function()
|
||||||
|
{
|
||||||
|
var elms = document.getElementsByTagName('*');
|
||||||
|
var ei = new Array();
|
||||||
|
for (i = 0; i < elms.length; i++)
|
||||||
|
{
|
||||||
|
if (elms[i].getAttribute('class'))
|
||||||
|
{
|
||||||
|
ecl = elms[i].getAttribute('class').split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (elms[i].className)
|
||||||
|
{
|
||||||
|
ecl = elms[i].className.split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ei;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function show_title(langCode)
|
||||||
|
{
|
||||||
|
var sel_title = document.getElementById('title-' + langCode);
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// A title in English is required.
|
||||||
|
sel_title = document.getElementById('title-en')
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// No title in English or the selected language.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var hide_title = document.getElementsByClassName('hide-title');
|
||||||
|
|
||||||
|
for (var i = 0; i < hide_title.length; i++)
|
||||||
|
{
|
||||||
|
hide_title[i].style.display='none';
|
||||||
|
}
|
||||||
|
|
||||||
|
sel_title.style.display='inline';
|
||||||
|
document.title = "phpBB MOD » " + sel_title.innerHTML;
|
||||||
|
}
|
||||||
|
|
||||||
/*****************
|
/*****************
|
||||||
* AJAX Functions *
|
* AJAX Functions *
|
||||||
*****************/
|
*****************/
|
||||||
@@ -1425,7 +1493,7 @@ function change_dbms($form)
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$exists = 0;
|
$exists = 0;
|
||||||
$tags = document.getElementsByTagName('dbms');
|
$tags = document.getElementsByTagName('dbms');
|
||||||
@@ -1440,7 +1508,7 @@ function change_dbms($form)
|
|||||||
{
|
{
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1472,7 +1540,7 @@ function sql_display($value)
|
|||||||
// show the dbms of type we have selected, hide all others except for non dbms specific
|
// show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1520,7 +1588,7 @@ function sql_dropdown()
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$options = [];
|
$options = [];
|
||||||
$ie_options = [];
|
$ie_options = [];
|
||||||
@@ -1530,7 +1598,7 @@ function sql_dropdown()
|
|||||||
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1628,7 +1696,14 @@ function toggle_edit(o)
|
|||||||
<div id="debug"></div>
|
<div id="debug"></div>
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
<div id="page-header">
|
<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>
|
<h1>
|
||||||
|
<span id="lang-h1">Installation instructions for</span>
|
||||||
|
<span class="hide-title" lang="{@lang}"> '<xsl:value-of select="$title" />' </span>
|
||||||
|
<xsl:for-each select="mod:header/mod:title">
|
||||||
|
<span class="hide-title" lang="{@lang}" id="title-{@lang}" style="display: none;"> '<xsl:value-of select="current()" />' </span>
|
||||||
|
</xsl:for-each>
|
||||||
|
<span id="lang-V">version</span> <xsl:value-of select="$version" />
|
||||||
|
</h1>
|
||||||
<form method="post" action="" id="lang-selector" style="display: none;">
|
<form method="post" action="" id="lang-selector" style="display: none;">
|
||||||
<fieldset class="nobg">
|
<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>
|
<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>
|
||||||
@@ -1667,6 +1742,7 @@ function toggle_edit(o)
|
|||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<xsl:template name="give-header">
|
<xsl:template name="give-header">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend id="lang-atm">About this MOD</legend>
|
<legend id="lang-atm">About this MOD</legend>
|
||||||
@@ -1750,6 +1826,12 @@ function toggle_edit(o)
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
</dd>
|
</dd>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
<xsl:if test="mod:github != 'N/A' and mod:github != 'n/a' and mod:github != ''">
|
||||||
|
<xsl:if test="contains(mod:github, 'https://github.com/')">
|
||||||
|
<dt id="lang-a-git[{generate-id()}]">Github:</dt>
|
||||||
|
<dd name="author-dd"><a href="{mod:github}" dir="ltr"><xsl:value-of select="mod:github" /></a></dd>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
</dl>
|
</dl>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1778,9 +1860,9 @@ function toggle_edit(o)
|
|||||||
<xsl:for-each select="../mod:action-group">
|
<xsl:for-each select="../mod:action-group">
|
||||||
<xsl:call-template name="give-files-included"></xsl:call-template>
|
<xsl:call-template name="give-files-included"></xsl:call-template>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
<h3 id="lang-addtl-modx">Additional MODX files</h3>
|
<h3 id="lang-addtl-modx">Additional file(s)</h3>
|
||||||
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
||||||
<p id="lang-imn">This MOD has no additional MODX files.</p>
|
<p id="lang-imn">This MOD has no additional file(s).</p>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<ul class="link-group" id="link-group">
|
<ul class="link-group" id="link-group">
|
||||||
@@ -1823,7 +1905,7 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about">
|
<div class="mod-about">
|
||||||
<span class="corners-top"><span></span></span>
|
<span class="corners-top"><span></span></span>
|
||||||
<div class="mod-about-padding">
|
<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-dclt">For security purposes, please check: <a href="https://www.phpbb.com/mods/">https://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="https://www.phpbb.com/mods/">https://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-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>
|
<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:for-each select="./mod:mod-version">
|
||||||
@@ -1842,8 +1924,8 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about-padding">
|
<div class="mod-about-padding">
|
||||||
<p><span id="lang-lict">This MOD has been licensed under the following license:</span></p>
|
<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 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">English support can be obtained at <a href="https://www.phpbb.com/mods/">https://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>
|
<p><span id="lang-ispt-int">Support in your language <strong>might</strong> be available at a <a href="https://www.phpbb.com/support/intl/">international support site</a>.</span></p>
|
||||||
</div>
|
</div>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1882,10 +1964,10 @@ function toggle_edit(o)
|
|||||||
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$operaurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$authorurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
@@ -2083,7 +2165,7 @@ function toggle_edit(o)
|
|||||||
<option value="mssql">MSSQL</option>
|
<option value="mssql">MSSQL</option>
|
||||||
<option value="oracle">Oracle</option>
|
<option value="oracle">Oracle</option>
|
||||||
<option value="postgres">Postgres</option>
|
<option value="postgres">Postgres</option>
|
||||||
<option value="sqllite">SQLLite</option>
|
<option value="sqlite">SQLite</option>
|
||||||
</select>
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
@@ -1,12 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<header>
|
<header>
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
|
||||||
<title lang="en">board3 Portal 2.0.1 - Update from Board3 Portal 2.0.0</title>
|
<title lang="en">board3 Portal 2.0.2 - Update from Board3 Portal 2.0.1</title>
|
||||||
<title lang="de">board3 Portal 2.0.1 - Update von Board3 Portal 2.0.0</title>
|
<title lang="de">board3 Portal 2.0.2 - Update von Board3 Portal 2.0.1</title>
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
<description lang="en">Adds a portal to your forum.
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
||||||
@@ -30,11 +30,11 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author-notes>
|
</author-notes>
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
||||||
</author-notes>
|
</author-notes>
|
||||||
|
<github>https://github.com/board3/Board3-Portal</github>
|
||||||
<author-group>
|
<author-group>
|
||||||
<author>
|
<author>
|
||||||
<realname>Marc Alexander</realname>
|
<realname>Marc Alexander</realname>
|
||||||
<username>marc1706</username>
|
<username>Marc</username>
|
||||||
<email>admin@m-a-styles.de</email>
|
<email>admin@m-a-styles.de</email>
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
<homepage>http://www.m-a-styles.de</homepage>
|
||||||
<contributions-group>
|
<contributions-group>
|
||||||
@@ -85,54 +85,38 @@ Weitere Sprachen kannst in unseren International Forum finden: http://www.board3
|
|||||||
</author>
|
</author>
|
||||||
</author-group>
|
</author-group>
|
||||||
|
|
||||||
<mod-version>2.0.1</mod-version>
|
<mod-version>2.0.2</mod-version>
|
||||||
|
|
||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>120</time>
|
<time>120</time>
|
||||||
<target-version>3.0.11</target-version>
|
<target-version>3.0.12</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
<link type="parent" lang="de" href="../../install.xml">Installations-Anleitung</link>
|
<link type="parent" lang="de" href="../../install.xml">Installations-Anleitung</link>
|
||||||
<link type="parent" lang="en" href="../../install.xml">Manual</link>
|
<link type="parent" lang="en" href="../../install.xml">Manual</link>
|
||||||
<link type="template" lang="en" href="contrib/subsilver2.xml">Update subsilver2 to Board3 Portal 2.0.1</link>
|
<link type="template" lang="en" href="contrib/subsilver2.xml">Update subsilver2 to Board3 Portal 2.0.2</link>
|
||||||
<link type="template" lang="de" href="contrib/subsilver2.xml">Aktualisiere subsilver2 für Board3 Portal 2.0.1</link>
|
<link type="template" lang="de" href="contrib/subsilver2.xml">Aktualisiere subsilver2 für Board3 Portal 2.0.2</link>
|
||||||
<link type="language" lang="en" href="contrib/de.xml">Update German language to Board3 Portal 2.0.1</link>
|
<link type="language" lang="en" href="contrib/de.xml">Update German language to Board3 Portal 2.0.2</link>
|
||||||
<link type="language" lang="de" href="contrib/de.xml">Aktualisiere deutsche Sprachdateien für Board3 Portal 2.0.1</link>
|
<link type="language" lang="de" href="contrib/de.xml">Aktualisiere deutsche Sprachdateien für Board3 Portal 2.0.2</link>
|
||||||
</link-group>
|
</link-group>
|
||||||
</header>
|
</header>
|
||||||
<action-group>
|
<action-group>
|
||||||
<copy>
|
<copy>
|
||||||
|
<file from="root/adm/style/portal/acp_portal.js" to="adm/style/portal/acp_portal.js" />
|
||||||
|
<file from="root/adm/style/portal/acp_portal_custom.html" to="adm/style/portal/acp_portal_custom.html" />
|
||||||
|
<file from="root/adm/style/portal/acp_portal_welcome.html" to="adm/style/portal/acp_portal_welcome.html" />
|
||||||
<file from="root/includes/acp/acp_portal.php" to="includes/acp/acp_portal.php" />
|
<file from="root/includes/acp/acp_portal.php" to="includes/acp/acp_portal.php" />
|
||||||
<file from="root/includes/trim_message/bbcodes.php" to="includes/trim_message/bbcodes.php" />
|
|
||||||
<file from="root/install/index.php" to="install/index.php" />
|
<file from="root/install/index.php" to="install/index.php" />
|
||||||
<file from="root/language/en/mods/info_acp_portal.php" to="language/en/mods/info_acp_portal.php" />
|
<file from="root/language/en/mods/*.*" to="language/en/mods/*.*" />
|
||||||
<file from="root/language/en/mods/portal/portal_links_module.php" to="language/en/mods/portal/portal_links_module.php" />
|
|
||||||
<file from="root/language/en/mods/portal/portal_main_menu_module.php" to="language/en/mods/portal/portal_main_menu_module.php" />
|
|
||||||
<file from="root/portal/includes/functions.php" to="portal/includes/functions.php" />
|
<file from="root/portal/includes/functions.php" to="portal/includes/functions.php" />
|
||||||
<file from="root/portal/includes/functions_modules.php" to="portal/includes/functions_modules.php" />
|
|
||||||
<file from="root/portal/includes/functions_upload.php" to="portal/includes/functions_upload.php" />
|
<file from="root/portal/includes/functions_upload.php" to="portal/includes/functions_upload.php" />
|
||||||
<file from="root/portal/modules/portal_announcements.php" to="portal/modules/portal_announcements.php" />
|
<file from="root/portal/modules/*.*" to="portal/modules/*.*" />
|
||||||
<file from="root/portal/modules/portal_attachments.php" to="portal/modules/portal_attachments.php" />
|
<file from="root/styles/prosilver/template/portal/modules/*.*" to="styles/prosilver/template/portal/modules/*.*" />
|
||||||
<file from="root/portal/modules/portal_calendar.php" to="portal/modules/portal_calendar.php" />
|
<file from="root/umil/*.*" to="umil/*.*" />
|
||||||
<file from="root/portal/modules/portal_links.php" to="portal/modules/portal_links.php" />
|
<file from="root/portal.php" to="portal.php" />
|
||||||
<file from="root/portal/modules/portal_main_menu.php" to="portal/modules/portal_main_menu.php" />
|
|
||||||
<file from="root/portal/modules/portal_recent.php" to="portal/modules/portal_recent.php" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/announcements_center.html" to="styles/prosilver/template/portal/modules/announcements_center.html" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/announcements_center_compact.html" to="styles/prosilver/template/portal/modules/announcements_center_compact.html" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/calendar_side.html" to="styles/prosilver/template/portal/modules/calendar_side.html" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/news_center.html" to="styles/prosilver/template/portal/modules/news_center.html" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/news_compact_center.html" to="styles/prosilver/template/portal/modules/news_compact_center.html" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/poll_center.html" to="styles/prosilver/template/portal/modules/poll_center.html" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/modules/poll_side.html" to="styles/prosilver/template/portal/modules/poll_side.html" />
|
|
||||||
</copy>
|
</copy>
|
||||||
<open src="includes/session.php">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ if (!empty($_GET['style']) && !defined('ADMIN_START') && $this->data['user_type'] != USER_IGNORE)]]></find>
|
|
||||||
<action type="replace-with"><![CDATA[ if (!empty($_GET['style']) && !defined('ADMIN_START') && !$this->data['is_bot'])]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<php-installer>install/index.php</php-installer>
|
<php-installer>install/index.php</php-installer>
|
||||||
<diy-instructions lang="de"><![CDATA[Rufe install/index.php auf und führe den Installer aus.]]></diy-instructions>
|
<diy-instructions lang="de"><![CDATA[Rufe install/index.php auf und führe den Installer aus.]]></diy-instructions>
|
||||||
<diy-instructions lang="en"><![CDATA[Browse to install/index.php and run the installer.]]></diy-instructions>
|
<diy-instructions lang="en"><![CDATA[Browse to install/index.php and run the installer.]]></diy-instructions>
|
||||||
53
install.xml
53
install.xml
@@ -1,13 +1,12 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
<!-- $Id$ -->
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
<header>
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
||||||
|
|
||||||
<title lang="en">board3 Portal 2.0.1</title>
|
<title lang="en">board3 Portal</title>
|
||||||
<title lang="de">board3 Portal 2.0.1</title>
|
<title lang="de">board3 Portal</title>
|
||||||
|
|
||||||
<description lang="en">Adds a portal with several blocks to your forum.
|
<description lang="en">Adds a portal with several blocks to your forum.
|
||||||
You can change the settings, move the blocks, add new blocks and more in the ACP.
|
You can change the settings, move the blocks, add new blocks and more in the ACP.
|
||||||
@@ -31,11 +30,11 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
|
|||||||
</author-notes>
|
</author-notes>
|
||||||
<author-notes lang="de">Dieser MOD benötigt PHP5. Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
<author-notes lang="de">Dieser MOD benötigt PHP5. Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
||||||
</author-notes>
|
</author-notes>
|
||||||
|
<github>https://github.com/board3/Board3-Portal</github>
|
||||||
<author-group>
|
<author-group>
|
||||||
<author>
|
<author>
|
||||||
<realname>Marc Alexander</realname>
|
<realname>Marc Alexander</realname>
|
||||||
<username>marc1706</username>
|
<username>Marc</username>
|
||||||
<email>admin@m-a-styles.de</email>
|
<email>admin@m-a-styles.de</email>
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
<homepage>http://www.m-a-styles.de</homepage>
|
||||||
<contributions-group>
|
<contributions-group>
|
||||||
@@ -86,25 +85,55 @@ Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.boar
|
|||||||
</author>
|
</author>
|
||||||
</author-group>
|
</author-group>
|
||||||
|
|
||||||
<mod-version>2.0.1</mod-version>
|
<mod-version>2.0.2</mod-version>
|
||||||
|
|
||||||
<installation>
|
<installation>
|
||||||
<level>easy</level>
|
<level>easy</level>
|
||||||
<time>600</time>
|
<time>600</time>
|
||||||
<target-version>3.0.11</target-version>
|
<target-version>3.0.12</target-version>
|
||||||
</installation>
|
</installation>
|
||||||
|
|
||||||
<link-group>
|
<link-group>
|
||||||
<link type="dependency" lang="en" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal supports MOD Version Check. To use this feature, this mod has to be installed.</link>
|
<link type="contrib" lang="en" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal supports MOD Version Check. To use this feature, this mod has to be installed.</link>
|
||||||
<link type="dependency" lang="de" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal unterstützt MOD Version Check. Um dieses Feature zu nutzen, muss dieser Mod installiert sein.</link>
|
<link type="contrib" lang="de" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal unterstützt MOD Version Check. Um dieses Feature zu nutzen, muss dieser Mod installiert sein.</link>
|
||||||
<link type="language" lang="en" href="contrib/de.xml">Manual for German Language-set</link>
|
<link type="language" lang="en" href="contrib/de.xml">Manual for German Language-set</link>
|
||||||
<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
|
<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
|
||||||
<link type="template" lang="en" href="contrib/subsilver2.xml">Manual for subsilver2</link>
|
<link type="template" lang="en" href="contrib/subsilver2.xml">Manual for subsilver2</link>
|
||||||
<link type="template" lang="de" href="contrib/subsilver2.xml">Anleitung für subsilver2</link>
|
<link type="template" lang="de" href="contrib/subsilver2.xml">Anleitung für subsilver2</link>
|
||||||
<link type="contrib" lang="en" href="contrib/update_200_to_201/update.xml">Manual for Updating B3P 2.0.0 to 2.0.1</link>
|
<link type="contrib" lang="en" href="contrib/update_201_to_202/update.xml">Manual for Updating B3P 2.0.1 to 2.0.2</link>
|
||||||
<link type="contrib" lang="de" href="contrib/update_200_to_201/update.xml">Anleitung für das Aktualisieren von B3P 2.0.0 zu 2.0.1</link>
|
<link type="contrib" lang="de" href="contrib/update_201_to_202/update.xml">Anleitung für das Aktualisieren von B3P 2.0.1 zu 2.0.2</link>
|
||||||
</link-group>
|
</link-group>
|
||||||
<history>
|
<history>
|
||||||
|
<entry>
|
||||||
|
<date>2013-10-13</date>
|
||||||
|
<rev-version>2.0.2</rev-version>
|
||||||
|
<changelog lang="en">
|
||||||
|
<change>[ticket/216] Add function for obtaining user's groups</change>
|
||||||
|
<change>[ticket/217] Handle incorrect values in the news URL</change>
|
||||||
|
<change>[cleanup/acp] Make acp_portal module more readable</change>
|
||||||
|
<change>[cleanup/tabs] Remove unnecessary tabbing in portal files</change>
|
||||||
|
<change>[cleanup/whitespace] Get rid of unnecessary whitespace</change>
|
||||||
|
<change>Display correct day of the week with negative UTC offset</change>
|
||||||
|
<change>[ticket/120] Move birthday block HTML to template files</change>
|
||||||
|
<change>[ticket/224] Add possibility to append username to donation</change>
|
||||||
|
<change>[ŧicket/223] Set correct permissions to uploaded files (644)</change>
|
||||||
|
<change>[feature/clean-up] Remove duplicated code from portal modules</change>
|
||||||
|
<change>[gh/113] Update UMIL to 1.0.5</change>
|
||||||
|
</changelog>
|
||||||
|
<changelog lang="de">
|
||||||
|
<change>[ticket/216] Add function for obtaining user's groups</change>
|
||||||
|
<change>[ticket/217] Handle incorrect values in the news URL</change>
|
||||||
|
<change>[cleanup/acp] Make acp_portal module more readable</change>
|
||||||
|
<change>[cleanup/tabs] Remove unnecessary tabbing in portal files</change>
|
||||||
|
<change>[cleanup/whitespace] Get rid of unnecessary whitespace</change>
|
||||||
|
<change>Display correct day of the week with negative UTC offset</change>
|
||||||
|
<change>[ticket/120] Move birthday block HTML to template files</change>
|
||||||
|
<change>[ticket/224] Add possibility to append username to donation</change>
|
||||||
|
<change>[ŧicket/223] Set correct permissions to uploaded files (644)</change>
|
||||||
|
<change>[feature/clean-up] Remove duplicated code from portal modules</change>
|
||||||
|
<change>[gh/113] Update UMIL to 1.0.5</change>
|
||||||
|
</changelog>
|
||||||
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
<date>2012-10-13</date>
|
<date>2012-10-13</date>
|
||||||
<rev-version>2.0.1</rev-version>
|
<rev-version>2.0.1</rev-version>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<!DOCTYPE xsl:stylesheet[
|
<!DOCTYPE xsl:stylesheet[
|
||||||
<!ENTITY nbsp " ">
|
<!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:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0" xmlns:mod="https://www.phpbb.com/mods/xml/modx-1.2.6.xsd">
|
||||||
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
<xsl:output method="html" omit-xml-declaration="no" indent="yes" />
|
||||||
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
<xsl:variable name="title" select="mod:mod/mod:header/mod:title" />
|
||||||
<xsl:variable name="version">
|
<xsl:variable name="version">
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
/* phpBB 3.0 Admin Style Sheet
|
/* phpBB 3.0 Admin Style Sheet
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
Original author: subBlue ( http://www.subblue.com/ )
|
Original author: subBlue ( http://www.subblue.com/ )
|
||||||
Copyright 2007 phpBB Group ( http://www.phpbb.com/ )
|
Copyright 2007 phpBB Group ( https://www.phpbb.com/ )
|
||||||
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
–––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -624,7 +624,7 @@ div.endMOD { padding:0 5px; }
|
|||||||
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
// The following line from http://www.ryancooper.com/resources/keycode.asp
|
||||||
document.onkeydown = mod_do_keypress;
|
document.onkeydown = mod_do_keypress;
|
||||||
|
|
||||||
var host = "http://www.phpbb.com/mods/modx/i18n/";
|
var host = "https://www.phpbb.com/mods/modx/i18n/";
|
||||||
|
|
||||||
var enStrings = "dir=ltr\n" +
|
var enStrings = "dir=ltr\n" +
|
||||||
"h1=Installation instructions for\n" +
|
"h1=Installation instructions for\n" +
|
||||||
@@ -646,6 +646,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"a-e=Email:\n" +
|
"a-e=Email:\n" +
|
||||||
"a-n=Name:\n" +
|
"a-n=Name:\n" +
|
||||||
"a-h=WWW:\n" +
|
"a-h=WWW:\n" +
|
||||||
|
"a-git=Github:\n" +
|
||||||
"a-c=Contributions:\n" +
|
"a-c=Contributions:\n" +
|
||||||
"a-c-f=From\n" +
|
"a-c-f=From\n" +
|
||||||
"a-c-t=to\n" +
|
"a-c-t=to\n" +
|
||||||
@@ -654,9 +655,9 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"icf=Included files\n" +
|
"icf=Included files\n" +
|
||||||
"icfn=No files have been included with this MOD.\n" +
|
"icfn=No files have been included with this MOD.\n" +
|
||||||
"dcl=Disclaimer\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" +
|
"dclt=For security purposes, please check: <a href=\"https://www.phpbb.com/mods/\">https://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=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a>\n" +
|
||||||
"isp=and English support\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" +
|
"ispt=English support can be obtained at <a href=\"https://www.phpbb.com/mods/\">https://www.phpbb.com/mods/</a> for released MODs.\n" +
|
||||||
"ant=Author notes:\n" +
|
"ant=Author notes:\n" +
|
||||||
"lic=License\n" +
|
"lic=License\n" +
|
||||||
"lict=This MOD has been licensed under the following license:\n" +
|
"lict=This MOD has been licensed under the following license:\n" +
|
||||||
@@ -709,8 +710,8 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
"regex=This find contains an advanced feature known as regular expressions.\n" +
|
||||||
"mhe-v=- Version\n" +
|
"mhe-v=- Version\n" +
|
||||||
"mh=MOD history\n" +
|
"mh=MOD history\n" +
|
||||||
"addtl-modx=Additional MODX files\n" +
|
"addtl-modx=Additional file(s)\n" +
|
||||||
"imn=This MOD has no additional MODX files.\n" +
|
"imn=This MOD has no additional file(s).\n" +
|
||||||
"link-c=Contrib\n" +
|
"link-c=Contrib\n" +
|
||||||
"link-d=Dependency\n" +
|
"link-d=Dependency\n" +
|
||||||
"link-l=Language\n" +
|
"link-l=Language\n" +
|
||||||
@@ -722,7 +723,7 @@ var enStrings = "dir=ltr\n" +
|
|||||||
"installer-h2=PHP install file\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-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" +
|
"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" +
|
"ispt-int=Support in your language <strong>might</strong> be available at a <a href=\"https://www.phpbb.com/support/intl/\">international support site</a>.\n" +
|
||||||
"del-heads=Delete files\n" +
|
"del-heads=Delete files\n" +
|
||||||
"del-head=Delete file\n" +
|
"del-head=Delete file\n" +
|
||||||
"del-file=Delete\n" +
|
"del-file=Delete\n" +
|
||||||
@@ -741,14 +742,14 @@ var arrClasCnt = [
|
|||||||
['cde-' , codes_ll ],
|
['cde-' , codes_ll ],
|
||||||
['edt-' , edits_ll ],
|
['edt-' , edits_ll ],
|
||||||
['fnd' , finds_ll ],
|
['fnd' , finds_ll ],
|
||||||
['fnd' , removes_ll ],
|
['rem' , removes_ll ],
|
||||||
['regex', regex_ll ],
|
['regex', regex_ll ],
|
||||||
['rplw' , replacewiths_ll ],
|
['rplw' , replacewiths_ll ],
|
||||||
['aft' , addafters_ll ],
|
['aft' , addafters_ll ],
|
||||||
['bef' , addbefores_ll ],
|
['bef' , addbefores_ll ],
|
||||||
['inc' , increments_ll ],
|
['inc' , increments_ll ],
|
||||||
['ifnd' , ifinds_ll ],
|
['ifnd' , ifinds_ll ],
|
||||||
['ifnd' , iremoves_ll ],
|
['irem' , iremoves_ll ],
|
||||||
['regex', iregex_ll ],
|
['regex', iregex_ll ],
|
||||||
['irplw', ireplacewiths_ll ],
|
['irplw', ireplacewiths_ll ],
|
||||||
['iaft' , iaddafters_ll ],
|
['iaft' , iaddafters_ll ],
|
||||||
@@ -780,6 +781,8 @@ function changeLanguage(langCode)
|
|||||||
applyLanguage(enStrings.split("\n"));
|
applyLanguage(enStrings.split("\n"));
|
||||||
}
|
}
|
||||||
xslLanguage(langCode);
|
xslLanguage(langCode);
|
||||||
|
|
||||||
|
show_title(langCode);
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_languages()
|
function load_languages()
|
||||||
@@ -808,6 +811,71 @@ function load_language()
|
|||||||
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
send('', host + currentLanguage + '.txt?rnd=' + cachernd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* From http://stackoverflow.com/questions/1280903/javascript-ie-and-getelementsbyclassname-problems/8472488#8472488
|
||||||
|
*/
|
||||||
|
if (typeof document.getElementsByClassName != 'function')
|
||||||
|
{
|
||||||
|
document.getElementsByClassName = function()
|
||||||
|
{
|
||||||
|
var elms = document.getElementsByTagName('*');
|
||||||
|
var ei = new Array();
|
||||||
|
for (i = 0; i < elms.length; i++)
|
||||||
|
{
|
||||||
|
if (elms[i].getAttribute('class'))
|
||||||
|
{
|
||||||
|
ecl = elms[i].getAttribute('class').split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (elms[i].className)
|
||||||
|
{
|
||||||
|
ecl = elms[i].className.split(' ');
|
||||||
|
for (j = 0; j < ecl.length; j++)
|
||||||
|
{
|
||||||
|
if (ecl[j].toLowerCase() == arguments[0].toLowerCase())
|
||||||
|
{
|
||||||
|
ei.push(elms[i]);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return ei;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function show_title(langCode)
|
||||||
|
{
|
||||||
|
var sel_title = document.getElementById('title-' + langCode);
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// A title in English is required.
|
||||||
|
sel_title = document.getElementById('title-en')
|
||||||
|
|
||||||
|
if (sel_title == null)
|
||||||
|
{
|
||||||
|
// No title in English or the selected language.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var hide_title = document.getElementsByClassName('hide-title');
|
||||||
|
|
||||||
|
for (var i = 0; i < hide_title.length; i++)
|
||||||
|
{
|
||||||
|
hide_title[i].style.display='none';
|
||||||
|
}
|
||||||
|
|
||||||
|
sel_title.style.display='inline';
|
||||||
|
document.title = "phpBB MOD » " + sel_title.innerHTML;
|
||||||
|
}
|
||||||
|
|
||||||
/*****************
|
/*****************
|
||||||
* AJAX Functions *
|
* AJAX Functions *
|
||||||
*****************/
|
*****************/
|
||||||
@@ -1425,7 +1493,7 @@ function change_dbms($form)
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$exists = 0;
|
$exists = 0;
|
||||||
$tags = document.getElementsByTagName('dbms');
|
$tags = document.getElementsByTagName('dbms');
|
||||||
@@ -1440,7 +1508,7 @@ function change_dbms($form)
|
|||||||
{
|
{
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1472,7 +1540,7 @@ function sql_display($value)
|
|||||||
// show the dbms of type we have selected, hide all others except for non dbms specific
|
// show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1520,7 +1588,7 @@ function sql_dropdown()
|
|||||||
'mssql',
|
'mssql',
|
||||||
'oracle',
|
'oracle',
|
||||||
'postgres',
|
'postgres',
|
||||||
'sqllite'
|
'sqlite'
|
||||||
];
|
];
|
||||||
$options = [];
|
$options = [];
|
||||||
$ie_options = [];
|
$ie_options = [];
|
||||||
@@ -1530,7 +1598,7 @@ function sql_dropdown()
|
|||||||
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
// Show the dbms of type we have selected, hide all others except for non dbms specific
|
||||||
for ($i = 0; $i < $tags.length; $i++)
|
for ($i = 0; $i < $tags.length; $i++)
|
||||||
{
|
{
|
||||||
if (!($dbms = $tags[$i].attributes['type'].nodeValue))
|
if (!($dbms = $tags[$i].attributes['type'].value))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@@ -1628,7 +1696,14 @@ function toggle_edit(o)
|
|||||||
<div id="debug"></div>
|
<div id="debug"></div>
|
||||||
<div id="wrap">
|
<div id="wrap">
|
||||||
<div id="page-header">
|
<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>
|
<h1>
|
||||||
|
<span id="lang-h1">Installation instructions for</span>
|
||||||
|
<span class="hide-title" lang="{@lang}"> '<xsl:value-of select="$title" />' </span>
|
||||||
|
<xsl:for-each select="mod:header/mod:title">
|
||||||
|
<span class="hide-title" lang="{@lang}" id="title-{@lang}" style="display: none;"> '<xsl:value-of select="current()" />' </span>
|
||||||
|
</xsl:for-each>
|
||||||
|
<span id="lang-V">version</span> <xsl:value-of select="$version" />
|
||||||
|
</h1>
|
||||||
<form method="post" action="" id="lang-selector" style="display: none;">
|
<form method="post" action="" id="lang-selector" style="display: none;">
|
||||||
<fieldset class="nobg">
|
<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>
|
<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>
|
||||||
@@ -1667,6 +1742,7 @@ function toggle_edit(o)
|
|||||||
</html>
|
</html>
|
||||||
</xsl:template>
|
</xsl:template>
|
||||||
|
|
||||||
|
|
||||||
<xsl:template name="give-header">
|
<xsl:template name="give-header">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend id="lang-atm">About this MOD</legend>
|
<legend id="lang-atm">About this MOD</legend>
|
||||||
@@ -1750,6 +1826,12 @@ function toggle_edit(o)
|
|||||||
</xsl:if>
|
</xsl:if>
|
||||||
</dd>
|
</dd>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
<xsl:if test="mod:github != 'N/A' and mod:github != 'n/a' and mod:github != ''">
|
||||||
|
<xsl:if test="contains(mod:github, 'https://github.com/')">
|
||||||
|
<dt id="lang-a-git[{generate-id()}]">Github:</dt>
|
||||||
|
<dd name="author-dd"><a href="{mod:github}" dir="ltr"><xsl:value-of select="mod:github" /></a></dd>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
</dl>
|
</dl>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1778,9 +1860,9 @@ function toggle_edit(o)
|
|||||||
<xsl:for-each select="../mod:action-group">
|
<xsl:for-each select="../mod:action-group">
|
||||||
<xsl:call-template name="give-files-included"></xsl:call-template>
|
<xsl:call-template name="give-files-included"></xsl:call-template>
|
||||||
</xsl:for-each>
|
</xsl:for-each>
|
||||||
<h3 id="lang-addtl-modx">Additional MODX files</h3>
|
<h3 id="lang-addtl-modx">Additional file(s)</h3>
|
||||||
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
<xsl:if test="count(mod:link-group/mod:link) = 0">
|
||||||
<p id="lang-imn">This MOD has no additional MODX files.</p>
|
<p id="lang-imn">This MOD has no additional file(s).</p>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
|
|
||||||
<ul class="link-group" id="link-group">
|
<ul class="link-group" id="link-group">
|
||||||
@@ -1823,7 +1905,7 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about">
|
<div class="mod-about">
|
||||||
<span class="corners-top"><span></span></span>
|
<span class="corners-top"><span></span></span>
|
||||||
<div class="mod-about-padding">
|
<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-dclt">For security purposes, please check: <a href="https://www.phpbb.com/mods/">https://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="https://www.phpbb.com/mods/">https://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-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>
|
<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:for-each select="./mod:mod-version">
|
||||||
@@ -1842,8 +1924,8 @@ function toggle_edit(o)
|
|||||||
<div class="mod-about-padding">
|
<div class="mod-about-padding">
|
||||||
<p><span id="lang-lict">This MOD has been licensed under the following license:</span></p>
|
<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 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">English support can be obtained at <a href="https://www.phpbb.com/mods/">https://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>
|
<p><span id="lang-ispt-int">Support in your language <strong>might</strong> be available at a <a href="https://www.phpbb.com/support/intl/">international support site</a>.</span></p>
|
||||||
</div>
|
</div>
|
||||||
<span class="corners-bottom"><span></span></span>
|
<span class="corners-bottom"><span></span></span>
|
||||||
</div>
|
</div>
|
||||||
@@ -1882,10 +1964,10 @@ function toggle_edit(o)
|
|||||||
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
<xsl:with-param name="string-in" select="string($authorurl)"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$operaurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<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>
|
<dd name="author-dd"><a dir="ltr" href="https://www.phpbb.com/community/memberlist.php?mode=viewprofile&un={$authorurl}"><xsl:value-of select="$authorname" /></a></dd>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
@@ -2083,7 +2165,7 @@ function toggle_edit(o)
|
|||||||
<option value="mssql">MSSQL</option>
|
<option value="mssql">MSSQL</option>
|
||||||
<option value="oracle">Oracle</option>
|
<option value="oracle">Oracle</option>
|
||||||
<option value="postgres">Postgres</option>
|
<option value="postgres">Postgres</option>
|
||||||
<option value="sqllite">SQLLite</option>
|
<option value="sqlite">SQLite</option>
|
||||||
</select>
|
</select>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@@ -161,7 +161,10 @@ $versions = array(
|
|||||||
),
|
),
|
||||||
|
|
||||||
'2.0.1' => array(
|
'2.0.1' => array(
|
||||||
// no changes ... purge caches anyways
|
// no changes
|
||||||
|
),
|
||||||
|
'2.0.2' => array(
|
||||||
|
'custom' => array('update_donation_modules'),
|
||||||
'cache_purge' => array(
|
'cache_purge' => array(
|
||||||
'imageset',
|
'imageset',
|
||||||
'template',
|
'template',
|
||||||
@@ -173,3 +176,36 @@ $versions = array(
|
|||||||
|
|
||||||
// Include the UMIL Auto file, it handles the rest
|
// Include the UMIL Auto file, it handles the rest
|
||||||
include($phpbb_root_path . 'umil/umil_auto.' . $phpEx);
|
include($phpbb_root_path . 'umil/umil_auto.' . $phpEx);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add missing config setting to existing donation modules
|
||||||
|
*
|
||||||
|
* @param string $mode UMIL mode
|
||||||
|
* @param string $version Version
|
||||||
|
*/
|
||||||
|
function update_donation_modules($mode = 'install', $version = '')
|
||||||
|
{
|
||||||
|
global $user;
|
||||||
|
|
||||||
|
$new_configs = '';
|
||||||
|
if ($mode === 'update')
|
||||||
|
{
|
||||||
|
global $db;
|
||||||
|
|
||||||
|
$sql = 'SELECT *
|
||||||
|
FROM ' . PORTAL_MODULES_TABLE . "
|
||||||
|
WHERE module_classname = 'donation'";
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
set_config('board3_pay_custom_' . $row['module_id'], true);
|
||||||
|
if (!empty($new_configs))
|
||||||
|
{
|
||||||
|
$new_configs .= ', ';
|
||||||
|
}
|
||||||
|
$new_configs .= 'board3_pay_custom_' . $row['module_id'];
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
}
|
||||||
|
return $user->lang('CONFIG_ADD', $new_configs);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user