Compare commits
3 Commits
master
...
3.3_temp_f
| Author | SHA1 | Date | |
|---|---|---|---|
| a2fd058bf5 | |||
| 1538ba757a | |||
| a358b3b89e |
80
.travis.yml
@@ -1,80 +0,0 @@
|
||||
language: php
|
||||
sudo: required
|
||||
dist: precise
|
||||
|
||||
matrix:
|
||||
include:
|
||||
- php: 5.4
|
||||
env: DB=none;NOTESTS=1
|
||||
- php: 5.4
|
||||
env: DB=mysqli # MyISAM
|
||||
- php: 5.4
|
||||
env: DB=mysql
|
||||
- php: 5.4
|
||||
env: DB=mariadb
|
||||
- php: 5.4
|
||||
env: DB=postgres
|
||||
- php: 5.4
|
||||
env: DB=sqlite3
|
||||
- php: 5.4
|
||||
env: DB=mysqli;SLOWTESTS=1
|
||||
- php: 5.5
|
||||
env: DB=mysqli
|
||||
- php: 5.6
|
||||
env: DB=mysqli
|
||||
- php: 7.0
|
||||
env: DB=mysqli
|
||||
- php: 7.1
|
||||
env: DB=mysqli
|
||||
- php: nightly
|
||||
env: DB=mysqli
|
||||
- php: hhvm
|
||||
env: DB=mysqli
|
||||
allow_failures:
|
||||
- php: hhvm
|
||||
- php: nightly
|
||||
fast_finish: true
|
||||
|
||||
env:
|
||||
global:
|
||||
- EXTNAME="board3/portal"
|
||||
- SNIFF="1" # Should we run code sniffer on your code?
|
||||
- IMAGE_ICC="0" # Should we run icc profile sniffer on your images?
|
||||
- COVERAGE="1" # Should we send coverage?
|
||||
- EPV="1" # Should we run EPV (Extension Pre Validator) on your code?
|
||||
- SPELLCHECK="1" # Should the php files be checked for obvious spelling errors?
|
||||
- PHPBB_BRANCH="3.2.x"
|
||||
|
||||
branches:
|
||||
except:
|
||||
- 2.0.x
|
||||
- develop-1_0_X
|
||||
|
||||
install:
|
||||
- php composer.phar install --dev --no-interaction --prefer-source
|
||||
- travis/prepare-phpbb.sh $EXTNAME $PHPBB_BRANCH
|
||||
- cd ../../phpBB3
|
||||
- travis/prepare-extension.sh $EXTNAME $PHPBB_BRANCH
|
||||
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION
|
||||
- sh -c "if [ '$COVERAGE' != '0' ]; then ../board3/Board3-Portal/travis/prepare-coverage.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||
|
||||
before_script:
|
||||
- travis/setup-database.sh $DB $TRAVIS_PHP_VERSION
|
||||
- mkdir build/logs
|
||||
- chmod +wx build/logs
|
||||
|
||||
script:
|
||||
- sh -c "if [ '$SNIFF' != '0' ]; then travis/ext-sniff.sh $DB $TRAVIS_PHP_VERSION $EXTNAME $NOTESTS; fi"
|
||||
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION $NOTESTS; fi"
|
||||
- sh -c "if [ '$NOTESTS' != '1' ]; then ../board3/Board3-Portal/travis/run-testsuite.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||
- sh -c "if [ '$EPV' != '0' ]; then ../board3/Board3-Portal/travis/run-epv.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
|
||||
|
||||
after_script:
|
||||
- sh -c "if [ '$COVERAGE' != '0' ]; then ../board3/Board3-Portal/travis/send-coverage.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||
|
||||
notifications:
|
||||
email:
|
||||
recipients:
|
||||
- admin@m-a-styles.de
|
||||
on_success: change
|
||||
on_failure: change
|
||||
@@ -125,7 +125,7 @@ class portal_module
|
||||
|
||||
if (!($this->c_class = $this->portal_helper->get_module($module_data['module_classname'])))
|
||||
{
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
// Load module language
|
||||
@@ -445,7 +445,7 @@ class portal_module
|
||||
|
||||
if (!($this->c_class = $this->portal_helper->get_module($module_classname)))
|
||||
{
|
||||
continue;
|
||||
break;
|
||||
}
|
||||
|
||||
// Do not add modules that shouldn't be added
|
||||
|
||||
234
build.xml
@@ -1,234 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project name="Extension Builder" description="Builds an extension.zip from a git repository" default="all">
|
||||
<property name="vendor-name" value="board3" />
|
||||
<property name="extension-name" value="portal" />
|
||||
<!--
|
||||
Only set this to "true" if you have dependencies in the composer.json,
|
||||
otherwise use "false".
|
||||
-->
|
||||
<property name="has-dependencies" value="true" />
|
||||
|
||||
<target name="clean-package">
|
||||
<!--
|
||||
Remove some unnecessary files/directories
|
||||
${dir}/ is the folder of your extension, e.g. ext/nickvergessen/newspage/
|
||||
-->
|
||||
<delete dir="${dir}/tests" />
|
||||
<delete dir="${dir}/travis" />
|
||||
<delete dir="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/src/Nickvergessen/TrimMessage/Tests" />
|
||||
<delete dir="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/tests" />
|
||||
|
||||
<delete file="${dir}/.gitignore" />
|
||||
<delete file="${dir}/.gitattributes" />
|
||||
<delete file="${dir}/.travis.yml" />
|
||||
<delete file="${dir}/build.xml" />
|
||||
<delete file="${dir}/composer.lock" />
|
||||
<delete file="${dir}/composer.phar" />
|
||||
<delete file="${dir}/phpunit.xml.dist" />
|
||||
<delete file="${dir}/README.md" />
|
||||
<delete file="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/composer.lock" />
|
||||
<delete file="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/composer.phar" />
|
||||
<delete file="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/phpunit.xml" />
|
||||
<delete file="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/README.md" />
|
||||
<delete file="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/.gitignore" />
|
||||
<delete file="${dir}/vendor/nickvergessen/phpbb-tool-trimmessage/.travis.yml" />
|
||||
</target>
|
||||
|
||||
<!--
|
||||
TODO: DO NOT EDIT BELOW THIS LINE!!!!
|
||||
-->
|
||||
|
||||
<property name="version" value="HEAD" override="true" />
|
||||
<property name="package.version" value="HEAD" />
|
||||
<property name="build-directory" value="build" override="true" />
|
||||
<property name="package-directory" value="${build-directory}/package/${vendor-name}/${extension-name}" />
|
||||
<property name="phpbb-root" value="${build-directory}/../../../../../" />
|
||||
<property name="clover-path" value="${build-directory}/logs/clover.xml" />
|
||||
<property name="coverage-html-path" value="${build-directory}/coverage" />
|
||||
|
||||
<!-- These are the main targets which you will probably want to use -->
|
||||
<target name="all" depends="prepare-structure,package" />
|
||||
|
||||
<!--
|
||||
Clean up the build directory
|
||||
-->
|
||||
<target name="clean">
|
||||
<delete dir="${build-directory}" />
|
||||
<mkdir dir="${build-directory}" />
|
||||
</target>
|
||||
|
||||
<target name="composer">
|
||||
<exec dir="${build-directory}/../"
|
||||
command="php composer.phar install"
|
||||
passthru="true" />
|
||||
</target>
|
||||
|
||||
<target name="prepare-tests" depends="clean,composer">
|
||||
<if>
|
||||
<available property="phpbb-is-available" file="${phpbb-root}/phpBB/vendor/bin/phpunit" type="file" />
|
||||
<then>
|
||||
<echo msg="phpBB is already set up." />
|
||||
</then>
|
||||
<else>
|
||||
<!-- Move Board3 Portal and set up phpBB -->
|
||||
<exec command="CURRENT_BUILD_REV=$(git rev-parse --abbrev-ref HEAD)" passthru="true" />
|
||||
<exec command="echo $GIT_BRANCH" passthru="true" />
|
||||
<exec command="git clone -v --progress https://github.com/phpbb/phpbb.git phpbb" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="git checkout 3.2.x" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb/phpBB" command="php ../composer.phar install" passthru="true" />
|
||||
<mkdir dir="phpbb/phpBB/ext/board3" />
|
||||
<exec dir="${build-directory}/../phpbb/phpBB/ext/board3" command="git clone https://github.com/board3/Board3-Portal.git portal" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb/phpBB/ext/board3/portal" command="git checkout $GIT_BRANCH" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb/phpBB/ext/board3/portal" command="php composer.phar install" passthru="true" />
|
||||
<property name="phpbb-root" value="${build-directory}/../phpbb" override="true" />
|
||||
<property name="clover-path" value="../build/logs/clover.xml" override="true" />
|
||||
<property name="coverage-html-path" value="../build/coverage" override="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="cp ../../test_config_22x.php tests/test_config.php" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="chmod 777 phpBB/cache" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="mkdir phpBB/cache/test" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="chmod 777 phpBB/cache/test" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="chmod 777 phpBB/files" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="chmod 777 phpBB/store" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb" command="chmod 777 phpBB/images/avatars/upload" passthru="true" />
|
||||
</else>
|
||||
</if>
|
||||
<if>
|
||||
<equals arg1="$JENKINS_URL" arg2="" />
|
||||
<then>
|
||||
<echo msg="JENKINS_URL is not set" />
|
||||
</then>
|
||||
<else>
|
||||
<exec dir="${build-directory}/../phpbb/phpBB/ext/board3/portal" command="wget https://phar.phpunit.de/phploc.phar" passthru="true" />
|
||||
<if>
|
||||
<available property="logs-dir-available" file="${build-directory}/logs" type="dir" />
|
||||
<then>
|
||||
<echo msg="Logs dir already set up." />
|
||||
</then>
|
||||
<else>
|
||||
<mkdir dir="${build-directory}/logs" />
|
||||
<exec dir="${build-directory}/logs" command="touch phploc.csv" />
|
||||
</else>
|
||||
</if>
|
||||
<exec dir="${build-directory}/../phpbb/phpBB/ext/board3" command="php portal/phploc.phar --exclude=vendor --exclude=travis --log-csv ../../../../build/logs/phploc.csv portal/" passthru="true" />
|
||||
<exec dir="${build-directory}/../phpbb/phpBB/ext/board3/portal" command="rm phploc.phar" passthru="true" />
|
||||
</else>
|
||||
</if>
|
||||
<if>
|
||||
<equals arg1="$BUILD_NUMBER" arg2="" />
|
||||
<then>
|
||||
<echo msg="BUILD_NUMBER is not available" />
|
||||
</then>
|
||||
<else>
|
||||
<property environment="env" />
|
||||
<echo>Build number is ${env.BUILD_NUMBER}</echo>
|
||||
<property name="package.version" value="${env.BUILD_NUMBER}" override="true" />
|
||||
</else>
|
||||
</if>
|
||||
</target>
|
||||
|
||||
<target name="test" depends="clean,composer,prepare-tests">
|
||||
<if>
|
||||
<available property="phpunit-available" file="phpbb/phpBB/vendor/bin/phpunit" type="file" />
|
||||
<then>
|
||||
<exec dir="${phpbb-root}"
|
||||
command="phpBB/vendor/bin/phpunit
|
||||
-c phpBB/ext/${vendor-name}/${extension-name}/ --coverage-clover=${clover-path} --coverage-html=${coverage-html-path}"
|
||||
passthru="true" returnProperty="test.pass" />
|
||||
<if>
|
||||
<not>
|
||||
<equals arg1="${test.pass}" arg2="0"/>
|
||||
</not>
|
||||
<then>
|
||||
<fail msg="PHPUnit tests failed."/>
|
||||
</then>
|
||||
</if>
|
||||
</then>
|
||||
<else>
|
||||
<echo msg="PHPUnit couldn't be found." />
|
||||
</else>
|
||||
</if>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="test-slow" depends="clean,composer">
|
||||
<if>
|
||||
<available property="phpunit-available" file="phpbb/phpBB/vendor/bin/phpunit" type="file" />
|
||||
<then>
|
||||
<exec dir="${phpbb-root}"
|
||||
command="phpBB/vendor/bin/phpunit
|
||||
-c phpBB/ext/${vendor-name}/${extension-name}/
|
||||
--group slow"
|
||||
passthru="true" />
|
||||
<if>
|
||||
<not>
|
||||
<equals arg1="${test.pass}" arg2="0"/>
|
||||
</not>
|
||||
<then>
|
||||
<fail msg="PHPUnit slow tests failed."/>
|
||||
</then>
|
||||
</if>
|
||||
</then>
|
||||
<else>
|
||||
<echo msg="PHPUnit couldn't be found." />
|
||||
</else>
|
||||
</if>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
Recreate the necessary folders
|
||||
-->
|
||||
<target name="prepare-structure" depends="clean,composer,test,test-slow">
|
||||
<mkdir dir="${build-directory}" />
|
||||
<mkdir dir="${build-directory}/checkout" />
|
||||
<mkdir dir="${build-directory}/package" />
|
||||
<mkdir dir="${build-directory}/package/${vendor-name}" />
|
||||
<mkdir dir="${build-directory}/package/${vendor-name}/${extension-name}" />
|
||||
<mkdir dir="${build-directory}/upload" />
|
||||
</target>
|
||||
|
||||
<!--
|
||||
The real packaging
|
||||
-->
|
||||
<target name="package">
|
||||
<echo msg="Extracting ${version}" />
|
||||
|
||||
<phingcall target="git-checkout">
|
||||
<property name="archive-version" value="${version}" />
|
||||
</phingcall>
|
||||
|
||||
<if>
|
||||
<equals arg1="${has-dependencies}" arg2="1" />
|
||||
<then>
|
||||
<exec dir="${package-directory}" command="php composer.phar install --no-dev"
|
||||
checkreturn="true" />
|
||||
</then>
|
||||
</if>
|
||||
|
||||
<phingcall target="clean-package">
|
||||
<property name="dir" value="${package-directory}" />
|
||||
</phingcall>
|
||||
|
||||
<phingcall target="wrap-package">
|
||||
<property name="destination-filename" value="${build-directory}/upload/${vendor-name}_${extension-name}_${package.version}" />
|
||||
</phingcall>
|
||||
</target>
|
||||
|
||||
<!--
|
||||
Checkout a given version and install/clean the dependencies
|
||||
-->
|
||||
<target name="git-checkout">
|
||||
<echo msg="Getting archive for ${archive-version}" />
|
||||
|
||||
<exec command="git archive ${archive-version} --format zip --output ${build-directory}/checkout/${archive-version}.zip"
|
||||
checkreturn="true" />
|
||||
<unzip file="${build-directory}/checkout/${archive-version}.zip" todir="${package-directory}" />
|
||||
</target>
|
||||
|
||||
<!--
|
||||
Create the zip and tar ball
|
||||
-->
|
||||
<target name="wrap-package">
|
||||
<echo msg="Creating archives (${vendor-name}/${extension-name} ${version})" />
|
||||
<zip basedir="${build-directory}/package/" destfile="${destination-filename}.zip" />
|
||||
</target>
|
||||
</project>
|
||||
@@ -6,7 +6,8 @@
|
||||
"version": "2.1.0",
|
||||
"time": "2015-08-04 12:49:14",
|
||||
"license": "GPL-2.0",
|
||||
"authors": [{
|
||||
"authors": [
|
||||
{
|
||||
"name": "Marc Alexander",
|
||||
"email": "admin@m-a-styles.de",
|
||||
"homepage": "http://www.m-a-styles.de",
|
||||
@@ -17,9 +18,10 @@
|
||||
"email": "nickvergessen@gmx.de",
|
||||
"homepage": "http://mods.flying-bits.org",
|
||||
"role": "Developer"
|
||||
}],
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"php": ">=5.3.9",
|
||||
"php": ">=5.3.3",
|
||||
"marc1706/phpbb-text-shortener": "^0.1.0"
|
||||
},
|
||||
"require-dev": {
|
||||
@@ -28,12 +30,12 @@
|
||||
"extra": {
|
||||
"display-name": "Board3 Portal",
|
||||
"soft-require": {
|
||||
"phpbb/phpbb": ">=3.1.5,<3.2.*@dev"
|
||||
"phpbb/phpbb": ">=3.1.5,<3.4.*@dev"
|
||||
},
|
||||
"version-check": {
|
||||
"host": "board3.de",
|
||||
"directory": "/updatecheck",
|
||||
"filename": "board3_portal.json"
|
||||
"host": "www.phpbb.com",
|
||||
"directory": "/customise/db/extension/board3_portal_ext",
|
||||
"filename": "version_check"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
476
composer.lock
generated
@@ -1,476 +0,0 @@
|
||||
{
|
||||
"_readme": [
|
||||
"This file locks the dependencies of your project to a known state",
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"hash": "f79966a0c35657dc6831652d3a8b0f6e",
|
||||
"content-hash": "eec8e152b8e3363ee143a27bf2481202",
|
||||
"packages": [
|
||||
{
|
||||
"name": "marc1706/phpbb-text-shortener",
|
||||
"version": "v0.1.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/marc1706/phpbb-text-shortener.git",
|
||||
"reference": "3200fcfaf22f91d31cffcba475475e90bbe1d3bf"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/marc1706/phpbb-text-shortener/zipball/3200fcfaf22f91d31cffcba475475e90bbe1d3bf",
|
||||
"reference": "3200fcfaf22f91d31cffcba475475e90bbe1d3bf",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.4.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.*",
|
||||
"symfony/yaml": "~2.8"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Marc1706\\TextShortener\\": "src",
|
||||
"Marc1706\\TextShortener\\tests\\": "tests"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Marc Alexander",
|
||||
"email": "admin@m-a-styles.de",
|
||||
"homepage": "https://www.m-a-styles.de",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"description": "Library for shortening post text in phpBB 3.2.x",
|
||||
"homepage": "https://www.m-a-styles.de",
|
||||
"keywords": [
|
||||
"bbcode",
|
||||
"extension",
|
||||
"extensions",
|
||||
"minify",
|
||||
"php",
|
||||
"phpbb",
|
||||
"post",
|
||||
"shortening"
|
||||
],
|
||||
"time": "2017-02-11 17:30:06"
|
||||
}
|
||||
],
|
||||
"packages-dev": [
|
||||
{
|
||||
"name": "gitonomy/gitlib",
|
||||
"version": "v0.1.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gitonomy/gitlib.git",
|
||||
"reference": "7a46107cfb8552b312101e0d5906e95d54d7ddc6"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/gitonomy/gitlib/zipball/7a46107cfb8552b312101e0d5906e95d54d7ddc6",
|
||||
"reference": "7a46107cfb8552b312101e0d5906e95d54d7ddc6",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"symfony/process": "~2.4"
|
||||
},
|
||||
"require-dev": {
|
||||
"psr/log": "~1"
|
||||
},
|
||||
"suggest": {
|
||||
"psr/log": "Add some log"
|
||||
},
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Gitonomy\\Git": [
|
||||
"src/",
|
||||
"tests/"
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alexandre Salomé",
|
||||
"email": "alexandre.salome@gmail.com",
|
||||
"homepage": "http://alexandre-salome.fr"
|
||||
},
|
||||
{
|
||||
"name": "Julien DIDIER",
|
||||
"email": "genzo.wm@gmail.com",
|
||||
"homepage": "http://www.jdidier.net"
|
||||
}
|
||||
],
|
||||
"description": "Library for accessing git",
|
||||
"homepage": "http://gitonomy.com",
|
||||
"time": "2014-07-13 19:02:31"
|
||||
},
|
||||
{
|
||||
"name": "nikic/php-parser",
|
||||
"version": "v0.9.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/nikic/PHP-Parser.git",
|
||||
"reference": "ef70767475434bdb3615b43c327e2cae17ef12eb"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/ef70767475434bdb3615b43c327e2cae17ef12eb",
|
||||
"reference": "ef70767475434bdb3615b43c327e2cae17ef12eb",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"ext-tokenizer": "*",
|
||||
"php": ">=5.2"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "0.9-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"PHPParser": "lib/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"BSD-3-Clause"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Nikita Popov"
|
||||
}
|
||||
],
|
||||
"description": "A PHP parser written in PHP",
|
||||
"keywords": [
|
||||
"parser",
|
||||
"php"
|
||||
],
|
||||
"time": "2014-07-23 18:24:17"
|
||||
},
|
||||
{
|
||||
"name": "phpbb/epv",
|
||||
"version": "dev-master",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpbb/epv.git",
|
||||
"reference": "75df9936ffbb8f05a1351cf622cf6f41c7d2d9f2"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpbb/epv/zipball/87c89df9560431910fa9027a8129a9efac362ba4",
|
||||
"reference": "75df9936ffbb8f05a1351cf622cf6f41c7d2d9f2",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"gitonomy/gitlib": "0.1.*@dev",
|
||||
"nikic/php-parser": "0.9.*@dev",
|
||||
"php": ">=5.3.3",
|
||||
"sensiolabs/ansi-to-html": "~1.1",
|
||||
"symfony/console": ">=2.3.0",
|
||||
"symfony/finder": ">=2.3.0",
|
||||
"symfony/yaml": ">=2.3.0|>=2.4.0|>=2.5.0"
|
||||
},
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": "4.4.*",
|
||||
"phpunit/phpunit-mock-objects": "2.3.*"
|
||||
},
|
||||
"bin": [
|
||||
"src/EPV.php"
|
||||
],
|
||||
"type": "library",
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Phpbb\\Epv\\": "src/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"GPL-2.0"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Paul Sohier",
|
||||
"email": "paul@phpbb.com"
|
||||
}
|
||||
],
|
||||
"description": "A extension validator for phpBB extensions. Extensions are required to pass the validator when submitted to the extension database.",
|
||||
"time": "2015-02-12 12:13:06"
|
||||
},
|
||||
{
|
||||
"name": "sensiolabs/ansi-to-html",
|
||||
"version": "v1.1.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sensiolabs/ansi-to-html.git",
|
||||
"reference": "92d2ef7ffba5418be060d8ba8adaf7223d741f93"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/sensiolabs/ansi-to-html/zipball/92d2ef7ffba5418be060d8ba8adaf7223d741f93",
|
||||
"reference": "92d2ef7ffba5418be060d8ba8adaf7223d741f93",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.0"
|
||||
},
|
||||
"suggest": {
|
||||
"twig/twig": "Provides nice templating features"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "1.1-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"SensioLabs\\AnsiConverter": "."
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Fabien Potencier",
|
||||
"email": "fabien@symfony.com"
|
||||
}
|
||||
],
|
||||
"description": "A library to convert a text with ANSI codes to HTML",
|
||||
"time": "2014-08-01 14:02:39"
|
||||
},
|
||||
{
|
||||
"name": "symfony/console",
|
||||
"version": "v2.6.5",
|
||||
"target-dir": "Symfony/Component/Console",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/console.git",
|
||||
"reference": "53f86497ccd01677e22435cfb7262599450a90d1"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/console/zipball/53f86497ccd01677e22435cfb7262599450a90d1",
|
||||
"reference": "53f86497ccd01677e22435cfb7262599450a90d1",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"psr/log": "~1.0",
|
||||
"symfony/event-dispatcher": "~2.1",
|
||||
"symfony/phpunit-bridge": "~2.7",
|
||||
"symfony/process": "~2.1"
|
||||
},
|
||||
"suggest": {
|
||||
"psr/log": "For using the console logger",
|
||||
"symfony/event-dispatcher": "",
|
||||
"symfony/process": ""
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.6-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Symfony\\Component\\Console\\": ""
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "http://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Fabien Potencier",
|
||||
"email": "fabien@symfony.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony Console Component",
|
||||
"homepage": "http://symfony.com",
|
||||
"time": "2015-03-13 17:37:22"
|
||||
},
|
||||
{
|
||||
"name": "symfony/finder",
|
||||
"version": "v2.6.5",
|
||||
"target-dir": "Symfony/Component/Finder",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/Finder.git",
|
||||
"reference": "bebc7479c566fa4f14b9bcef9e32e719eabec74e"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/Finder/zipball/bebc7479c566fa4f14b9bcef9e32e719eabec74e",
|
||||
"reference": "bebc7479c566fa4f14b9bcef9e32e719eabec74e",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/phpunit-bridge": "~2.7"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.6-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Symfony\\Component\\Finder\\": ""
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "http://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Fabien Potencier",
|
||||
"email": "fabien@symfony.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony Finder Component",
|
||||
"homepage": "http://symfony.com",
|
||||
"time": "2015-03-12 10:28:44"
|
||||
},
|
||||
{
|
||||
"name": "symfony/process",
|
||||
"version": "v2.6.5",
|
||||
"target-dir": "Symfony/Component/Process",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/Process.git",
|
||||
"reference": "4d717f34f3d1d6ab30fbe79f7132960a27f4a0dc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/Process/zipball/4d717f34f3d1d6ab30fbe79f7132960a27f4a0dc",
|
||||
"reference": "4d717f34f3d1d6ab30fbe79f7132960a27f4a0dc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/phpunit-bridge": "~2.7"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.6-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Symfony\\Component\\Process\\": ""
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "http://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Fabien Potencier",
|
||||
"email": "fabien@symfony.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony Process Component",
|
||||
"homepage": "http://symfony.com",
|
||||
"time": "2015-03-12 10:28:44"
|
||||
},
|
||||
{
|
||||
"name": "symfony/yaml",
|
||||
"version": "v2.6.5",
|
||||
"target-dir": "Symfony/Component/Yaml",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/Yaml.git",
|
||||
"reference": "0cd8e72071e46e15fc072270ae39ea1b66b10a9d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/Yaml/zipball/0cd8e72071e46e15fc072270ae39ea1b66b10a9d",
|
||||
"reference": "0cd8e72071e46e15fc072270ae39ea1b66b10a9d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3.3"
|
||||
},
|
||||
"require-dev": {
|
||||
"symfony/phpunit-bridge": "~2.7"
|
||||
},
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "2.6-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"Symfony\\Component\\Yaml\\": ""
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Symfony Community",
|
||||
"homepage": "http://symfony.com/contributors"
|
||||
},
|
||||
{
|
||||
"name": "Fabien Potencier",
|
||||
"email": "fabien@symfony.com"
|
||||
}
|
||||
],
|
||||
"description": "Symfony Yaml Component",
|
||||
"homepage": "http://symfony.com",
|
||||
"time": "2015-03-12 10:28:44"
|
||||
}
|
||||
],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": {
|
||||
"phpbb/epv": 20
|
||||
},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false,
|
||||
"platform": {
|
||||
"php": ">=5.3.9"
|
||||
},
|
||||
"platform-dev": []
|
||||
}
|
||||
BIN
composer.phar
@@ -16,7 +16,6 @@ services:
|
||||
- '@board3.portal.fetch_posts'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.attachments:
|
||||
class: board3\portal\modules\attachments
|
||||
arguments:
|
||||
@@ -31,7 +30,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.birthday_list:
|
||||
class: board3\portal\modules\birthday_list
|
||||
arguments:
|
||||
@@ -41,7 +39,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.calendar:
|
||||
class: board3\portal\modules\calendar
|
||||
arguments:
|
||||
@@ -57,7 +54,6 @@ services:
|
||||
- '@log'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.clock:
|
||||
class: board3\portal\modules\clock
|
||||
arguments:
|
||||
@@ -65,7 +61,6 @@ services:
|
||||
- '@template'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.custom:
|
||||
class: board3\portal\modules\custom
|
||||
arguments:
|
||||
@@ -79,7 +74,6 @@ services:
|
||||
- '@log'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.donation:
|
||||
class: board3\portal\modules\donation
|
||||
arguments:
|
||||
@@ -90,7 +84,6 @@ services:
|
||||
- '@board3.portal.modules_helper'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.forumlist:
|
||||
class: board3\portal\modules\forumlist
|
||||
arguments:
|
||||
@@ -102,7 +95,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.friends:
|
||||
class: board3\portal\modules\friends
|
||||
arguments:
|
||||
@@ -113,7 +105,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.latest_bots:
|
||||
class: board3\portal\modules\latest_bots
|
||||
arguments:
|
||||
@@ -123,7 +114,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.latest_members:
|
||||
class: board3\portal\modules\latest_members
|
||||
arguments:
|
||||
@@ -133,7 +123,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.leaders:
|
||||
class: board3\portal\modules\leaders
|
||||
arguments:
|
||||
@@ -146,7 +135,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.link_us:
|
||||
class: board3\portal\modules\link_us
|
||||
arguments:
|
||||
@@ -155,7 +143,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.links:
|
||||
class: board3\portal\modules\links
|
||||
arguments:
|
||||
@@ -169,7 +156,6 @@ services:
|
||||
- '@log'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.main_menu:
|
||||
class: board3\portal\modules\main_menu
|
||||
arguments:
|
||||
@@ -183,7 +169,6 @@ services:
|
||||
- '@log'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.news:
|
||||
class: board3\portal\modules\news
|
||||
arguments:
|
||||
@@ -201,7 +186,6 @@ services:
|
||||
- '@board3.portal.fetch_posts'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.poll:
|
||||
class: board3\portal\modules\poll
|
||||
arguments:
|
||||
@@ -216,7 +200,6 @@ services:
|
||||
- '@board3.portal.modules_helper'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.random_member:
|
||||
class: board3\portal\modules\random_member
|
||||
arguments:
|
||||
@@ -225,7 +208,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.recent:
|
||||
class: board3\portal\modules\recent
|
||||
arguments:
|
||||
@@ -238,7 +220,6 @@ services:
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.search:
|
||||
class: board3\portal\modules\search
|
||||
arguments:
|
||||
@@ -247,7 +228,6 @@ services:
|
||||
- '%core.root_path%'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.statistics:
|
||||
class: board3\portal\modules\statistics
|
||||
arguments:
|
||||
@@ -258,7 +238,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.stylechanger:
|
||||
class: board3\portal\modules\stylechanger
|
||||
arguments:
|
||||
@@ -270,7 +249,6 @@ services:
|
||||
- '@user'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.topposters:
|
||||
class: board3\portal\modules\topposters
|
||||
arguments:
|
||||
@@ -281,7 +259,6 @@ services:
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.user_menu:
|
||||
class: board3\portal\modules\user_menu
|
||||
arguments:
|
||||
@@ -296,7 +273,6 @@ services:
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.welcome:
|
||||
class: board3\portal\modules\welcome
|
||||
arguments:
|
||||
@@ -308,7 +284,6 @@ services:
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
|
||||
board3.portal.module.whois_online:
|
||||
class: board3\portal\modules\whois_online
|
||||
arguments:
|
||||
@@ -321,3 +296,16 @@ services:
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- {name: board3.portal.module}
|
||||
board3.portal.module.portal_tl_menu:
|
||||
class: board3\portal\modules\portal_tl_menu
|
||||
arguments:
|
||||
- '@config'
|
||||
- '@dbal.conn'
|
||||
- '@request'
|
||||
- '@template'
|
||||
- '%core.root_path%'
|
||||
- '%core.php_ext%'
|
||||
- '@user'
|
||||
- '@log'
|
||||
tags:
|
||||
- { name: board3.portal.module }
|
||||
|
||||
@@ -1,13 +1,8 @@
|
||||
board3_portal_controller:
|
||||
path: /portal
|
||||
defaults: { _controller: board3.portal.main:handle }
|
||||
|
||||
# This is currently not supported yet
|
||||
# board3_portal_pages_controller:
|
||||
# pattern: /portal/{page}
|
||||
# defaults: { _controller: board3.portal.main:handle_page, page: "portal" }
|
||||
|
||||
# Redirect to portal by default
|
||||
defaults:
|
||||
_controller: 'board3.portal.main:handle'
|
||||
board3_portal_redirect_controller:
|
||||
path: /
|
||||
defaults: { _controller: board3.portal.main:handle }
|
||||
defaults:
|
||||
_controller: 'board3.portal.main:handle'
|
||||
@@ -1,10 +1,9 @@
|
||||
imports:
|
||||
- { resource: modules.yml }
|
||||
|
||||
-
|
||||
resource: modules.yml
|
||||
parameters:
|
||||
board3.portal.config.table: %core.table_prefix%portal_config
|
||||
board3.portal.modules.table: %core.table_prefix%portal_modules
|
||||
|
||||
board3.portal.config.table: '%core.table_prefix%portal_config'
|
||||
board3.portal.modules.table: '%core.table_prefix%portal_modules'
|
||||
services:
|
||||
board3.portal.main:
|
||||
class: board3\portal\controller\main
|
||||
@@ -16,36 +15,31 @@ services:
|
||||
- '@user'
|
||||
- '@path_helper'
|
||||
- '%core.root_path%'
|
||||
- '.%core.php_ext%'
|
||||
- .%core.php_ext%
|
||||
- '%board3.portal.config.table%'
|
||||
- '%board3.portal.modules.table%'
|
||||
|
||||
board3.portal.controller_helper:
|
||||
class: board3\portal\controller\helper
|
||||
arguments:
|
||||
- '@auth'
|
||||
- '@board3.portal.columns'
|
||||
- '@config'
|
||||
- '@language'
|
||||
- '@template'
|
||||
- '@user'
|
||||
- '@path_helper'
|
||||
- '@board3.portal.helper'
|
||||
- '%core.root_path%'
|
||||
- '.%core.php_ext%'
|
||||
|
||||
- .%core.php_ext%
|
||||
board3.portal.module_collection:
|
||||
class: phpbb\di\service_collection
|
||||
arguments:
|
||||
- '@service_container'
|
||||
tags:
|
||||
- {name: service_collection, tag: board3.portal.module}
|
||||
|
||||
board3.portal.helper:
|
||||
class: board3\portal\includes\helper
|
||||
arguments:
|
||||
- '@board3.portal.module_collection'
|
||||
|
||||
board3.portal.modules_helper:
|
||||
class: board3\portal\includes\modules_helper
|
||||
arguments:
|
||||
@@ -53,10 +47,8 @@ services:
|
||||
- '@config'
|
||||
- '@controller.helper'
|
||||
- '@request'
|
||||
|
||||
board3.portal.columns:
|
||||
class: board3\portal\portal\columns
|
||||
|
||||
board3.portal.fetch_posts:
|
||||
class: board3\portal\portal\fetch_posts
|
||||
arguments:
|
||||
@@ -66,7 +58,6 @@ services:
|
||||
- '@dbal.conn'
|
||||
- '@board3.portal.modules_helper'
|
||||
- '@user'
|
||||
|
||||
board3.portal.listener:
|
||||
class: board3\portal\event\listener
|
||||
arguments:
|
||||
@@ -80,7 +71,6 @@ services:
|
||||
- '%core.php_ext%'
|
||||
tags:
|
||||
- {name: event.listener}
|
||||
|
||||
board3.portal.modules.manager:
|
||||
class: board3\portal\portal\modules\manager
|
||||
arguments:
|
||||
@@ -93,12 +83,10 @@ services:
|
||||
- '@board3.portal.modules.database_handler'
|
||||
- '@request'
|
||||
- '@user'
|
||||
|
||||
board3.portal.modules.database_handler:
|
||||
class: board3\portal\portal\modules\database_handler
|
||||
arguments:
|
||||
- '@dbal.conn'
|
||||
|
||||
board3.portal.modules.constraints_handler:
|
||||
class: board3\portal\portal\modules\constraints_handler
|
||||
arguments:
|
||||
|
||||
@@ -26,9 +26,6 @@ class helper
|
||||
*/
|
||||
protected $config;
|
||||
|
||||
/** @var \phpbb\language\language */
|
||||
protected $language;
|
||||
|
||||
/**
|
||||
* Template object
|
||||
* @var \phpbb\template
|
||||
@@ -87,7 +84,6 @@ class helper
|
||||
* @param \phpbb\auth\auth $auth Auth object
|
||||
* @param \board3\portal\portal\columns $portal_columns Board3 Portal columns object
|
||||
* @param \phpbb\config\config $config phpBB Config object
|
||||
* @param \phpbb\language\language $language phpBB language
|
||||
* @param \phpbb\template $template Template object
|
||||
* @param \phpbb\user $user User object
|
||||
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||
@@ -95,12 +91,11 @@ class helper
|
||||
* @param string $phpbb_root_path phpBB root path
|
||||
* @param string $php_ext PHP file extension
|
||||
*/
|
||||
public function __construct($auth, $portal_columns, $config, $language, $template, $user, $path_helper, $portal_helper, $phpbb_root_path, $php_ext)
|
||||
public function __construct($auth, $portal_columns, $config, $template, $user, $path_helper, $portal_helper, $phpbb_root_path, $php_ext)
|
||||
{
|
||||
$this->auth = $auth;
|
||||
$this->portal_columns = $portal_columns;
|
||||
$this->config = $config;
|
||||
$this->language = $language;
|
||||
$this->template = $template;
|
||||
$this->user = $user;
|
||||
$this->path_helper = $path_helper;
|
||||
@@ -211,11 +206,11 @@ class helper
|
||||
// Load language file from vendor if specified
|
||||
if (is_array($language_file))
|
||||
{
|
||||
$this->language->add_lang($language_file['file'], $language_file['vendor']);
|
||||
$this->user->add_lang_ext($language_file['vendor'], $language_file['file']);
|
||||
}
|
||||
else
|
||||
{
|
||||
$this->language->add_lang('modules/' . $language_file, 'board3/portal');
|
||||
$this->user->add_lang_ext('board3/portal', 'modules/' . $language_file);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -173,7 +173,7 @@ function generate_portal_pagination($base_url, $num_items, $per_page, $start_ite
|
||||
$on_page = floor($start_item / $per_page) + 1;
|
||||
$url_delim = (strpos($base_url, '?') === false) ? '?' : '&';
|
||||
|
||||
$page_string = ($on_page == 1) ? '<ul><li class="active"><span>1</span></li>' : '<ul><li><a href="' . $base_url . $anker .'" role="button">1</a></li>';
|
||||
$page_string = ($on_page == 1) ? '<ul><li class="active"><span>1</span></li>' : '<ul><li><a class="button" href="' . $base_url . $anker .'" role="button">1</a></li>';
|
||||
|
||||
if ($total_pages > 5)
|
||||
{
|
||||
@@ -185,7 +185,7 @@ function generate_portal_pagination($base_url, $num_items, $per_page, $start_ite
|
||||
|
||||
for ($i = $start_cnt + 1; $i < $end_cnt; ++$i)
|
||||
{
|
||||
$page_string .= ($i == $on_page) ? '<li class="active"><span>' . $i . '</span></li>' : '<li><a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($i - 1) * $per_page) . $anker . '" role="button">' . $i . '</a></li>';
|
||||
$page_string .= ($i == $on_page) ? '<li class="active"><span>' . $i . '</span></li>' : '<li><a class="button" href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($i - 1) * $per_page) . $anker . '" role="button">' . $i . '</a></li>';
|
||||
if ($i < $end_cnt - 1)
|
||||
{
|
||||
$page_string .= $seperator;
|
||||
@@ -201,25 +201,25 @@ function generate_portal_pagination($base_url, $num_items, $per_page, $start_ite
|
||||
|
||||
for ($i = 2; $i < $total_pages; ++$i)
|
||||
{
|
||||
$page_string .= ($i == $on_page) ? '<li class="active"><span>' . $i . '</span></li>' : '<li><a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($i - 1) * $per_page) . $anker . '" role="button">' . $i . '</a></li>';
|
||||
$page_string .= ($i == $on_page) ? '<li class="active"><span>' . $i . '</span></li>' : '<li><a class="button" href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($i - 1) * $per_page) . $anker . '" role="button">' . $i . '</a></li>';
|
||||
if ($i < $total_pages)
|
||||
{
|
||||
$page_string .= $seperator;
|
||||
}
|
||||
}
|
||||
}
|
||||
$page_string .= ($on_page == $total_pages) ? '<li class="active"><span>' . $total_pages . '</span></li></ul>' : '<li><a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($total_pages - 1) * $per_page) . $anker . '" role="button">' . $total_pages . '</a></li></ul>';
|
||||
$page_string .= ($on_page == $total_pages) ? '<li class="active"><span>' . $total_pages . '</span></li></ul>' : '<li><a class="button" href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($total_pages - 1) * $per_page) . $anker . '" role="button">' . $total_pages . '</a></li></ul>';
|
||||
|
||||
if ($add_prevnext_text)
|
||||
{
|
||||
if ($on_page != 1)
|
||||
{
|
||||
$page_string = '<a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($on_page - 2) * $per_page) . $anker . '" role="button">' . $user->lang['PREVIOUS'] . '</a> ' . $page_string;
|
||||
$page_string = '<a class="button" href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . (($on_page - 2) * $per_page) . $anker . '" role="button">' . $user->lang['PREVIOUS'] . '</a> ' . $page_string;
|
||||
}
|
||||
|
||||
if ($on_page != $total_pages)
|
||||
{
|
||||
$page_string .= ' <a href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . ($on_page * $per_page) . $anker . '" role="button">' . $user->lang['NEXT'] . '</a>';
|
||||
$page_string .= ' <a class="button" href="' . $base_url . "{$url_delim}" . $pagination_type . '=' . ($on_page * $per_page) . $anker . '" role="button">' . $user->lang['NEXT'] . '</a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -47,4 +47,8 @@ $lang = array_merge($lang, array(
|
||||
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Portal-Einstellungen geändert</strong><br />» Termin geändert: %s ',
|
||||
'LOG_PORTAL_EVENT_REMOVED' => '<strong>Portal-Einstellungen geändert</strong><br />» Termin gelöscht: %s ',
|
||||
'LOG_PORTAL_CONFIG' => '<strong>Portal-Einstellungen geändert</strong><br />» %s',
|
||||
|
||||
// Adding the permissions
|
||||
'ACL_A_MANAGE_PORTAL' => 'Kann Portal-Einstellungen ändern',
|
||||
'ACL_U_VIEW_PORTAL' => 'Kann das Portal sehen',
|
||||
));
|
||||
|
||||
@@ -33,7 +33,7 @@ if (empty($lang) || !is_array($lang))
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_ANNOUNCEMENTS' => 'Letzte Bekanntmachung',
|
||||
'GLOBAL_ANNOUNCEMENTS' => 'Globale Bekanntmachungen',
|
||||
'GLOBAL_ANNOUNCEMENTS' => 'Global Bekanntmachungen',
|
||||
'GLOBAL_ANNOUNCEMENT' => 'Globale Bekanntmachung',
|
||||
'VIEW_LATEST_ANNOUNCEMENT' => '1 Bekanntmachung',
|
||||
'VIEW_LATEST_ANNOUNCEMENTS' => '%d Bekanntmachungen',
|
||||
|
||||
@@ -38,5 +38,5 @@ $lang = array_merge($lang, array(
|
||||
'PORTAL_SEARCH_POSTS' => 'Beiträge',
|
||||
'PORTAL_SEARCH_AUTHOR' => 'Autor',
|
||||
'PORTAL_SEARCH_ENGINE' => 'Suchmaschinen',
|
||||
'PORTAL_SEARCH_ADV' => 'erweiterte Suche',
|
||||
'PORTAL_SEARCH_ADV' => 'Erweiterte Suche',
|
||||
));
|
||||
|
||||
36
language/de/modules/portal_tl_menu_module.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2 - Link Us
|
||||
* @copyright (c) Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'TL_MENU' => 'Tipprunde ',
|
||||
));
|
||||
@@ -34,6 +34,6 @@ if (empty($lang) || !is_array($lang))
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
// Adding the permissions
|
||||
'ACL_A_MANAGE_PORTAL' => 'Kann Portal-Einstellungen <EFBFBD>ndern',
|
||||
'ACL_A_MANAGE_PORTAL' => 'Kann Portal-Einstellungen ändern',
|
||||
'ACL_U_VIEW_PORTAL' => 'Kann das Portal sehen',
|
||||
));
|
||||
|
||||
54
language/de_x_sie/info_acp_portal.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
'ACP_PORTAL_MODULES' => 'Portal Module',
|
||||
'ACP_PORTAL' => 'Portal',
|
||||
'ACP_PORTAL_GENERAL_INFO' => 'Allgemeine Einstellungen',
|
||||
'ACP_PORTAL_UPLOAD' => 'Modul hochladen',
|
||||
|
||||
// Logs
|
||||
'LOG_PORTAL_LINK_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />» Link hinzugefügt: %s ',
|
||||
'LOG_PORTAL_LINK_UPDATED' => '<strong>Portal-Einstellungen geändert</strong><br />» Link geändert: %s ',
|
||||
'LOG_PORTAL_LINK_REMOVED' => '<strong>Portal-Einstellungen geändert</strong><br />» Link gelöscht: %s ',
|
||||
'LOG_PORTAL_EVENT_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />» Termin eingetragen: %s ',
|
||||
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Portal-Einstellungen geändert</strong><br />» Termin geändert: %s ',
|
||||
'LOG_PORTAL_EVENT_REMOVED' => '<strong>Portal-Einstellungen geändert</strong><br />» Termin gelöscht: %s ',
|
||||
'LOG_PORTAL_CONFIG' => '<strong>Portal-Einstellungen geändert</strong><br />» %s',
|
||||
|
||||
// Adding the permissions
|
||||
'ACL_A_MANAGE_PORTAL' => 'Kann Portal-Einstellungen ändern',
|
||||
'ACL_U_VIEW_PORTAL' => 'Kann das Portal sehen',
|
||||
));
|
||||
74
language/de_x_sie/modules/portal_announcements_module.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Announcements
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_ANNOUNCEMENTS' => 'Letzte Bekanntmachung',
|
||||
'GLOBAL_ANNOUNCEMENTS' => 'Global Bekanntmachungen',
|
||||
'GLOBAL_ANNOUNCEMENT' => 'Globale Bekanntmachung',
|
||||
'VIEW_LATEST_ANNOUNCEMENT' => '1 Bekanntmachung',
|
||||
'VIEW_LATEST_ANNOUNCEMENTS' => '%d Bekanntmachungen',
|
||||
'READ_FULL' => 'alles lesen',
|
||||
'NO_ANNOUNCEMENTS' => 'Keine Bekanntmachung',
|
||||
'POSTED_BY' => 'Autor',
|
||||
'COMMENTS' => 'Kommentare',
|
||||
'VIEW_COMMENTS' => 'Kommentare anzeigen',
|
||||
'PORTAL_POST_REPLY' => 'Kommentar schreiben',
|
||||
'TOPIC_VIEWS' => 'Zugriffe',
|
||||
'JUMP_NEWEST' => 'Zum letzten Beitrag springen',
|
||||
'JUMP_FIRST' => 'Zum ersten Beitrag springen',
|
||||
'JUMP_TO_POST' => 'Rufe den Beitrag auf',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Einstellungen für Bekanntmachungen',
|
||||
'ACP_PORTAL_ANNOUNCE_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für die Bekanntmachungen ändern.',
|
||||
'PORTAL_ANNOUNCEMENTS' => 'Bekanntmachungen anzeigen',
|
||||
'PORTAL_ANNOUNCEMENTS_EXP' => 'Diesen Block auf dem Portal anzeigen.',
|
||||
'PORTAL_ANNOUNCEMENTS_STYLE' => 'Kompakter Bekanntmachungen-Block-Stil',
|
||||
'PORTAL_ANNOUNCEMENTS_STYLE_EXP' => 'Wenn "ja" ausgewählt ist, wird die kompakte Ansicht für die Bekanntmachungen angezeigt, bei "nein" die große Ansicht.',
|
||||
'PORTAL_NUMBER_OF_ANNOUNCEMENTS' => 'Anzahl der Bekanntmachungen auf dem Portal',
|
||||
'PORTAL_NUMBER_OF_ANNOUNCEMENTS_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_ANNOUNCEMENTS_DAY' => 'Die Anzahl der Tage, während der die Bekanntmachung angezeigt werden soll',
|
||||
'PORTAL_ANNOUNCEMENTS_DAY_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_ANNOUNCEMENTS_LENGTH' => 'Maximale Länge der Bekanntmachungen',
|
||||
'PORTAL_ANNOUNCEMENTS_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_GLOBAL_ANNOUNCEMENTS_FORUM' => 'Foren der Bekanntmachungen',
|
||||
'PORTAL_GLOBAL_ANNOUNCEMENTS_FORUM_EXP' => 'Die ID des Forums, aus welchem die Bekanntmachungen angezeigt werden sollen. Frei lassen, um aus allen Foren anzeigen zu lassen. Falls "Foren ausschließen" auf "Ja" steht, wählen Sie die Foren die Sie ausschließen möchten.<br />Falls "Foren ausschließen" auf "Nein" steht, wählen Sie die Foren die Sie sehen möchten.<br />Wählen Sie mehrere Foren aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||
'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE' => 'Foren ausschließen',
|
||||
'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE_EXP' => 'Wählen Sie "Ja" wenn Sie die ausgewählten Foren vom Bekanntmachungen-Block ausschließen möchten, und "Nein" wenn Sie nur die Bekanntmachungen aus den ausgewählten Foren im Bekanntmachungen-Block sehen möchten.',
|
||||
'PORTAL_ANNOUNCEMENTS_PERMISSIONS' => 'Berechtigungen prüfen anschalten?',
|
||||
'PORTAL_ANNOUNCEMENTS_PERMISSIONS_EXP' => 'Berücksichtigt Berechtigungen beim Anzeigen der Bekanntmachungen',
|
||||
'PORTAL_ANNOUNCEMENTS_ARCHIVE' => 'Das Archivsystem für die Bekanntmachungen aktivieren',
|
||||
'PORTAL_ANNOUNCEMENTS_ARCHIVE_EXP' => 'Wenn aktiviert, wird das Archivsystem und ggf. Seitenzahlen angezeigt.',
|
||||
'PORTAL_SHOW_REPLIES_VIEWS' => '"Antworten" und "Zugriffe" in Extraspalten',
|
||||
'PORTAL_SHOW_REPLIES_VIEWS_EXP' => 'Einstellung für den kompakter Bekanntmachungen-Block-Stil.<br />Wenn aktiviert, wird die Anzahl der Antworten und Zugriffe in gesonderten Spalten angezeigt. Wenn deaktiviert gibt es nur zwei Spalten und die Antworten und Zugriffe werden neben "Forum" angezeigt. Bei Darstellungsproblemen mit z.B. schmalen Styles bitte deaktivieren.',
|
||||
));
|
||||
54
language/de_x_sie/modules/portal_attachments_module.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Attachments
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'DOWNLOADS' => 'Downloads',
|
||||
'NO_ATTACHMENTS' => 'Keine Dateianhänge',
|
||||
'PORTAL_ATTACHMENTS' => 'Dateianhänge-Block',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS' => 'Einstellungen für Dateianhänge',
|
||||
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für Dateianhänge ändern.',
|
||||
'PORTAL_ATTACHMENTS_NUMBER' => 'Anzahl der anzuzeigenden Dateianhänge',
|
||||
'PORTAL_ATTACHMENTS_NUMBER_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_ATTACHMENTS_FORUM_IDS' => 'Dateianhänge Foren',
|
||||
'PORTAL_ATTACHMENTS_FORUM_IDS_EXP' => 'Die Foren, aus welchen die Dateianhänge angezeigt werden sollen. Frei lassen, um aus allen Foren anzeigen zu lassen. Falls "Foren ausschließen" auf "Ja" steht, wählen Sie die Foren die Sie ausschließen möchten.<br />Falls "Foren ausschließen" auf "Nein" steht, wählen Sie die Foren aus, aus denen Sie die Dateianhänge sehen möchten.<br />Wählen Sie mehrere Foren aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'PORTAL_ATTACHMENTS_FORUM_EXCLUDE' => 'Foren ausschließen',
|
||||
'PORTAL_ATTACHMENTS_FORUM_EXCLUDE_EXP' => 'Wählen Sie "Ja" wenn Sie die ausgewählten Foren vom Dateianhänge-Block ausschließen möchten, und "Nein" wenn Sie nur die Dateianhänge der ausgewählten Foren im Dateianhänge-Block sehen möchten.',
|
||||
'PORTAL_ATTACHMENTS_MAX_LENGTH' => 'Maximal angezeigte Länge der Dateianhänge',
|
||||
'PORTAL_ATTACHMENTS_MAX_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_ATTACHMENTS_FILETYPE' => 'Dateitypen',
|
||||
'PORTAL_ATTACHMENTS_FILETYPE_EXP' => 'Falls "Dateitypen ausschließen" auf "Ja" steht, wählen Sie die Dateitypen die Sie ausschließen möchten.<br />Falls "Dateitypen ausschließen" auf "Nein" steht, wählen Sie die Dateitypen die Sie sehen möchten.<br />Wählen Sie mehrere Foren aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'PORTAL_ATTACHMENTS_EXCLUDE' => 'Dateitypen ausschließen',
|
||||
'PORTAL_ATTACHMENTS_EXCLUDE_EXP' => 'Wählen Sie "Ja" wenn Sie die ausgewählten Dateitypen vom Dateianhänge-Block ausschließen möchten, und "Nein" wenn Sie nur die ausgewählten Dateitypen im Dateianhänge-Block sehen möchten.',
|
||||
));
|
||||
44
language/de_x_sie/modules/portal_birthday_list_module.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Birthday List
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'BIRTHDAYS_AHEAD' => 'In den nächsten %s Tagen',
|
||||
'NO_BIRTHDAYS_AHEAD' => 'In diesem Zeitraum hat kein Mitglied Geburtstag',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_BIRTHDAYS_SETTINGS' => 'Einstellungen für den Geburtstage-Block',
|
||||
'ACP_PORTAL_BIRTHDAYS_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für den Geburtstage-Block ändern.',
|
||||
'PORTAL_BIRTHDAYS' => 'Geburtstage',
|
||||
'PORTAL_BIRTHDAYS_AHEAD' => 'Anstehende Geburtstage',
|
||||
'PORTAL_BIRTHDAYS_AHEAD_EXP' => 'Zeitraum für die Geburtstagsvorschau (Tage).<br />"0" deaktiviert die Anzeige der bevorstehenden Geburtstage.',
|
||||
));
|
||||
131
language/de_x_sie/modules/portal_calendar_module.php
Normal file
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Calendar
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_CALENDAR' => 'Kalender',
|
||||
'VIEW_NEXT_MONTH' => 'nächster Monat',
|
||||
'VIEW_PREVIOUS_MONTH' => 'voriger Monat',
|
||||
'EVENT_START' => 'Von',
|
||||
'EVENT_END' => 'Bis',
|
||||
'EVENT_TIME' => 'Zeit',
|
||||
'EVENT_ALL_DAY' => 'Ganztägig',
|
||||
'CURRENT_EVENTS' => 'Aktuelle Veranstaltungen',
|
||||
'NO_CUR_EVENTS' => 'Keine aktuellen Veranstaltungen',
|
||||
'UPCOMING_EVENTS' => 'Bevorstehende Veranstaltungen',
|
||||
'NO_UPCOMING_EVENTS' => 'Keine bevorstehenden Veranstaltungen',
|
||||
|
||||
'mini_cal' => array(
|
||||
'day' => array(
|
||||
'1' => 'So',
|
||||
'2' => 'Mo',
|
||||
'3' => 'Di',
|
||||
'4' => 'Mi',
|
||||
'5' => 'Do',
|
||||
'6' => 'Fr',
|
||||
'7' => 'Sa',
|
||||
),
|
||||
|
||||
'month' => array(
|
||||
'1' => 'Jan.',
|
||||
'2' => 'Feb.',
|
||||
'3' => 'Mär.',
|
||||
'4' => 'Apr.',
|
||||
'5' => 'Mai',
|
||||
'6' => 'Jun.',
|
||||
'7' => 'Jul.',
|
||||
'8' => 'Aug.',
|
||||
'9' => 'Sep.',
|
||||
'10'=> 'Okt.',
|
||||
'11'=> 'Nov.',
|
||||
'12'=> 'Dez.',
|
||||
),
|
||||
|
||||
'long_month'=> array(
|
||||
'1' => 'Januar',
|
||||
'2' => 'Februar',
|
||||
'3' => 'März',
|
||||
'4' => 'April',
|
||||
'5' => 'Mai',
|
||||
'6' => 'Juni',
|
||||
'7' => 'Juli',
|
||||
'8' => 'August',
|
||||
'9' => 'September',
|
||||
'10'=> 'Oktober',
|
||||
'11'=> 'November',
|
||||
'12'=> 'Dezember',
|
||||
),
|
||||
),
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_CALENDAR' => 'Kalender Einstellungen',
|
||||
'ACP_PORTAL_CALENDAR_EXP' => 'Hier können Sie die Einstellungen für den Kalender ändern.',
|
||||
'ACP_PORTAL_EVENTS' => 'Kalender Veranstaltungen',
|
||||
'PORTAL_CALENDAR_TODAY_COLOR' => 'Farbe für den aktuellen Tag',
|
||||
'PORTAL_CALENDAR_TODAY_COLOR_EXP' => 'HEX oder Farbennamen sind erlaubt (Englisch!) wie z.B. #FFFFFF für Weiß oder (englische!) Farbennamen wie z.B. violet.',
|
||||
'PORTAL_CALENDAR_SUNDAY_COLOR' => 'Farbe für Sonntage',
|
||||
'PORTAL_CALENDAR_SUNDAY_COLOR_EXP' => 'HEX oder Farbennamen sind erlaubt (Englisch!) wie z.B. #FFFFFF für Weiß oder (englische!) Farbennamen wie z.B. violet.',
|
||||
'PORTAL_LONG_MONTH' => 'Langen Monatsname anzeigen',
|
||||
'PORTAL_LONG_MONTH_EXP' => 'Wenn deaktiviert, wird der Monat gekürzt z.B. Aug. statt August.',
|
||||
'PORTAL_SUNDAY_FIRST' => 'Erster Tag der Woche',
|
||||
'PORTAL_SUNDAY_FIRST_EXP' => 'Wenn deaktiviert, wird von Mo. --> So. angezeigt, ansonsten So. --> Sa.',
|
||||
'PORTAL_DISPLAY_EVENTS' => 'Veranstaltungen anzeigen',
|
||||
'PORTAL_DISPLAY_EVENTS_EXP' => 'Zeige Veranstaltungen an, die im Kalender Block erstellt wurden.',
|
||||
'PORTAL_EVENTS_MANAGE' => 'Veranstaltungen verwalten',
|
||||
'NO_EVENT_TITLE' => 'Sie haben keinen Titel für die Veranstaltung angegeben.',
|
||||
'NO_EVENT_START' => 'Sie haben keine Start-Zeit für die Veranstaltung angegeben.',
|
||||
'ADD_EVENT' => 'Veranstaltung hinzufügen',
|
||||
'EVENT_UPDATED' => 'Veranstaltung erfolgreich aktualisiert.',
|
||||
'EVENT_ADDED' => 'Veranstaltung erfolgreich hinzugefügt.',
|
||||
'NO_EVENT' => 'Keine Veranstaltung.',
|
||||
'EVENT_TITLE' => 'Titel der Veranstaltung',
|
||||
'EVENT_DESC' => 'Beschreibung',
|
||||
'EVENT_LINK' => 'Link zur Veranstaltung',
|
||||
'EVENT_LINK_EXP' => 'Geben Sie hier den Link zu einem Thema oder einer Website mit der Ankündigung oder dem Diskussionsthema der Veranstaltung ein.',
|
||||
'NO_EVENTS' => 'Keine Veranstaltungen',
|
||||
'ACP_PORTAL_CALENDAR_START_INCORRECT' => 'Die eingegebene Start-Zeit ist nicht korrekt. Bitte folgen Sie genau den Anweisungen.',
|
||||
'ACP_PORTAL_CALENDAR_END_INCORRECT' => 'Die eingegebene End-Zeit ist nicht korrekt. Bitte folgen Sie genau den Anweisungen.',
|
||||
'ACP_PORTAL_CALENDAR_EVENT_PAST' => 'Die Start-zeit der Veranstaltung muss in der Zukunft liegen.',
|
||||
'ACP_PORTAL_EVENT_START_DATE' => 'Start-Datum der Veranstaltung',
|
||||
'ACP_PORTAL_EVENT_START_DATE_EXP' => 'Geben Sie das Datum und Uhrzeit ein, zu der die Veranstaltung beginnt. Datum und Uhrzeit sollten in einem ähnlichen Format sein: TT.MM.JJJJ SS:MM',
|
||||
'ACP_PORTAL_EVENT_END_DATE' => 'End-Datum der Veranstaltung',
|
||||
'ACP_PORTAL_EVENT_END_DATE_EXP' => 'Geben Sie das Datum und Uhrzeit ein, zu der die Veranstaltung endet. Datum und Uhrzeit sollten in einem ähnlichen Format sein: TT.MM.JJJJ',
|
||||
'ACP_PORTAL_CALENDAR_EVENT_START_FIRST' => 'Das Ende der Veranstaltung muss nach dem Beginn der Veranstaltung liegen.',
|
||||
'ACP_PORTAL_CALENDAR_PERMISSION' => 'Berechtigungen für die Veranstaltung',
|
||||
'ACP_PORTAL_CALENDAR_PERMISSION_EXP' => 'Wählen Sie die Gruppen aus, denen es erlaubt sein soll die Veranstaltung zu sehen. Falls alle Benutzer die Veranstaltung sehen sollen, dann wählen Sie nichts aus.<br />Wählen Sie mehrere Gruppen aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'PORTAL_EVENTS_URL_NEW_WINDOW' => 'Öffne externe Veranstaltungsverknüpfungen in einem neuen Fenster',
|
||||
|
||||
// Logs
|
||||
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Veranstaltung aktualisiert</strong><br />» %s',
|
||||
'LOG_PORTAL_EVENT_ADDED' => '<strong>Veranstaltung hinzugefügt</strong><br />» %s',
|
||||
'LOG_PORTAL_EVENT_REMOVED' => '<strong>Veranstaltung entfernt</strong><br />» %s',
|
||||
));
|
||||
42
language/de_x_sie/modules/portal_clock_module.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Clock
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'CLOCK' => 'Uhr',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_CLOCK_SETTINGS' => 'Uhr Einstellungen',
|
||||
'ACP_PORTAL_CLOCK_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für die Uhr ändern',
|
||||
'ACP_PORTAL_CLOCK_SRC' => 'Uhr',
|
||||
'ACP_PORTAL_CLOCK_SRC_EXP' => 'Geben Sie den Dateinamen der Uhr ein. Die Uhr muss unter folgendem Pfad gespeichert sein: styles/*yourstyle*/theme/images/portal/.',
|
||||
));
|
||||
48
language/de_x_sie/modules/portal_custom_module.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Custom
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_CUSTOM' => 'Eigener Block',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom Block Settings',
|
||||
'ACP_PORTAL_CUSTOM_SETTINGS_EXP' => 'Einstellungen für den eigenen Block',
|
||||
'ACP_PORTAL_CUSTOM_CODE_SHORT' => 'Der eingegebene Code ist nicht lang genug.',
|
||||
'ACP_PORTAL_CUSTOM_PREVIEW' => 'Vorschau',
|
||||
'ACP_PORTAL_CUSTOM_CODE' => 'Code für den eigenen Block',
|
||||
'ACP_PORTAL_CUSTOM_CODE_EXP' => 'Änderen Sie den Code für Ihre eigenen Block (HTML oder BBCode).',
|
||||
'ACP_PORTAL_CUSTOM_PERMISSION' => 'Berechtigungen für den eigenen Block',
|
||||
'ACP_PORTAL_CUSTOM_PERMISSION_EXP' => 'Wählen Sie die Gruppen aus, die den eigenen Block sehen dürfen. <br />Wählen Sie mehrere Gruppen aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'ACP_PORTAL_CUSTOM_BBCODE' => 'BBCode für den eigenen Block aktivieren',
|
||||
'ACP_PORTAL_CUSTOM_BBCODE_EXP' => 'BBCode kann dann in diesem Block benutzt werden. Ansonsten wird HTML direkt geparst.',
|
||||
));
|
||||
67
language/de_x_sie/modules/portal_donation_module.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Donation
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'DONATION' => 'PayPal-Spenden',
|
||||
'DONATION_TEXT' => 'ist eine Webseite ohne jedes Gewinninteresse. Jeder der dieses Projekt unterstützen möchte, kann dies mit einer kleinen PayPal-Spende tun, damit die Rechnungen für den Server, die Domain, etc. bezahlt werden können.',
|
||||
'PAY_MSG' => 'Betrag bitte mit Punkt statt Komma trennen, z.B. 3.50',
|
||||
'PAY_ITEM' => 'Freiwillige Foren-Spende',
|
||||
|
||||
'AUD' => 'Australische Dollar (AUD)',
|
||||
'CAD' => 'Kanadische Dollar (CAD)',
|
||||
'CZK' => 'Tschechische Kronen (CZK)',
|
||||
'DKK' => 'Dänische Kronen (DKK)',
|
||||
'HKD' => 'Hongkong-Dollar (HKD)',
|
||||
'HUF' => 'Ungarische Forint (HUF)',
|
||||
'NZD' => 'Neuseeland-Dollar (NZD)',
|
||||
'NOK' => 'Norwegische Kronen (NOK)',
|
||||
'PLN' => 'Polnische Zloty (PLN)',
|
||||
'GBP' => 'Britische Pfund (GBP)',
|
||||
'SGD' => 'Singapur-Dollar (SGD)',
|
||||
'SEK' => 'Schwedische Kronen (SEK)',
|
||||
'CHF' => 'Schweizer Franken (CHF)',
|
||||
'JPY' => 'Japanische Yen (JPY)',
|
||||
'USD' => 'US-Dollar (USD)',
|
||||
'EUR' => 'Euro (EUR)',
|
||||
'MXN' => 'Mexikanische Pesos (MXN)',
|
||||
'ILS' => 'Neue Israelische Schekel (ILS)',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_PAYPAL_SETTINGS' => 'Paypal Einstellungen',
|
||||
'ACP_PORTAL_PAYPAL_SETTINGS_EXP' => 'Hier können Sie die Paypal Einstellungen ändern.',
|
||||
'PORTAL_PAY_ACC' => 'Paypal Account',
|
||||
'PORTAL_PAY_ACC_EXP' => 'Geben Sie Ihre e-mail-Adresse an, die Sie bei Paypal benutzen, z.B. xxx@xxx.com',
|
||||
'PORTAL_PAY_CUSTOM' => 'Benutzername an die Paypal Zahlung anhängen',
|
||||
'PORTAL_PAY_DEFAULT' => 'Standard-Währung',
|
||||
'PORTAL_PAY_DEFAULT_EXP' => 'Währung die standardmäßig in der Drop-Down-Liste ausgewählt ist.'
|
||||
));
|
||||
36
language/de_x_sie/modules/portal_forumlist_module.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Forumlist
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_FORUMLIST' => 'Forumliste',
|
||||
));
|
||||
47
language/de_x_sie/modules/portal_friends_module.php
Normal file
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Friends
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'FRIENDS' => 'Freunde',
|
||||
'FRIENDS_OFFLINE' => 'Offline',
|
||||
'FRIENDS_ONLINE' => 'Online',
|
||||
'NO_FRIENDS' => 'Derzeit sind keine Freunde definiert',
|
||||
'NO_FRIENDS_OFFLINE' => 'Keine Freunde offline',
|
||||
'NO_FRIENDS_ONLINE' => 'Keine Freunde online',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_FRIENDS_SETTINGS' => 'Einstellungen für den Freunde-Block',
|
||||
'ACP_PORTAL_FRIENDS_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für den Freunde-Block ändern.',
|
||||
'PORTAL_MAX_ONLINE_FRIENDS' => 'Limitierung der Anzeige Freunde online',
|
||||
'PORTAL_MAX_ONLINE_FRIENDS_EXP' => 'Limitiert die Anzeige Freunde online auf den angegebenen Wert.',
|
||||
));
|
||||
43
language/de_x_sie/modules/portal_latest_bots_module.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Latest Bots
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_BOTS' => 'Letzte Bots',
|
||||
'LAST_VISITED_BOTS' => 'Die letzten Bots',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_BOTS_SETTINGS' => 'Einstellungen für Bot-Besuche',
|
||||
'ACP_PORTAL_BOTS_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für Bot-Besuche ändern.',
|
||||
'PORTAL_LAST_VISITED_BOTS_NUMBER' => 'Anzahl der anzuzeigenden Bots',
|
||||
'PORTAL_LAST_VISITED_BOTS_NUMBER_EXP' => '0 bedeutet unbegrenzt',
|
||||
));
|
||||
42
language/de_x_sie/modules/portal_latest_members_module.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Latest Members
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_MEMBERS' => 'Neue Mitglieder',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_MEMBERS_SETTINGS' => 'Einstellungen für neue Mitglieder',
|
||||
'ACP_PORTAL_MEMBERS_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für neue Mitglieder ändern.',
|
||||
'PORTAL_MAX_LAST_MEMBER' => 'Anzahl der anzuzeigenden Mitglieder',
|
||||
'PORTAL_MAX_LAST_MEMBER_EXP' => '0 bedeutet unbegrenzt',
|
||||
));
|
||||
45
language/de_x_sie/modules/portal_leaders_module.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Leaders
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'NO_ADMINISTRATORS_P' => 'Keine Administratoren',
|
||||
'NO_MODERATORS_P' => 'Keine Moderatoren',
|
||||
'NO_GROUPS_P' => 'Keine Gruppen',
|
||||
'ACP_PORTAL_LEADERS' => 'Das Team',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_LEADERS' => 'Team Block Einstellungen',
|
||||
'ACP_PORTAL_LEADERS_EXP' => 'Hier können Sie den Team-Block anpassen',
|
||||
'PORTAL_LEADERS_EXT' => 'Erweiterter Team-Block',
|
||||
'PORTAL_LEADERS_EXT_EXP' => 'Der standard Block listet alle Admins und Moderatoren auf, der erweiterte Team-Block listet zusätzlich alle nicht-versteckten Gruppen inklusive Legende auf.',
|
||||
));
|
||||
37
language/de_x_sie/modules/portal_link_us_module.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Link Us
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LINK_US' => 'Link zu uns ',
|
||||
'LINK_US_TXT' => 'Benutzen Sie bitte diesen Link um <strong>%s</strong> bei Ihnen zu verlinken:',
|
||||
));
|
||||
56
language/de_x_sie/modules/portal_links_module.php
Normal file
@@ -0,0 +1,56 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Links
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_LINKS' => 'Links',
|
||||
'LINKS_NO_LINKS' => 'Keine Links vorhanden',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_LINKS' => 'Links-Einstellungen',
|
||||
'ACP_PORTAL_LINKS_EXP' => 'Einstellungen für die Links ändern.',
|
||||
'ACP_PORTAL_LINK_TITLE' => 'Titel',
|
||||
'ACP_PORTAL_LINK_TYPE' => 'Link Typ',
|
||||
'ACP_PORTAL_LINK_TYPE_EXP' => 'Falls Ihr Link auf Ihr Forum verweist, dann wählen Sie bitte "Interner Link" um ungewollte Logouts zu verhindern.',
|
||||
'ACP_PORTAL_LINK_INT' => 'Interner Link',
|
||||
'ACP_PORTAL_LINK_EXT' => 'Externer Link',
|
||||
'ACP_PORTAL_LINK_ADD' => 'Link erstellen',
|
||||
'ACP_PORTAL_LINK_URL' => 'Link URL',
|
||||
'ACP_PORTAL_LINK_URL_EXP' => 'Externe Links:<br />Alle Links sollten mit einem http:// eingegeben werden.<br /><br />Interne Links:<br />Geben Sie nur die PHP Datei als Link URL ein, z.B. index.php?style=4.',
|
||||
'ACP_PORTAL_LINK_PERMISSION' => 'Link Berechtigungen',
|
||||
'ACP_PORTAL_LINK_PERMISSION_EXP'=> 'Wählen Sie die Gruppen aus die berechtigt sein sollen den Link zu sehen. Falls alle Benutzer den Link sehen sollen, dann wählen Sie nichts aus.<br />Wählen Sie mehrere Gruppen aus/ab indem Sie <samp>STRG</samp> gedrückt halten und klicken.',
|
||||
'ACP_PORTAL_LINKS_NEW_WINDOW' => 'Öffne externe Verknüpfungen in einem neuen Fenster',
|
||||
|
||||
// Errors
|
||||
'NO_LINK_TITLE' => 'Sie müssen einen Titel für diesen Link angeben.',
|
||||
'NO_LINK_URL' => 'Sie müssen eine Link URL eingeben.',
|
||||
));
|
||||
69
language/de_x_sie/modules/portal_main_menu_module.php
Normal file
@@ -0,0 +1,69 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Main Menu
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'M_MENU' => 'Menü',
|
||||
'M_CONTENT' => 'Inhalt',
|
||||
'M_ACP' => 'Administrations-Bereich',
|
||||
'M_HELP' => 'Hilfe',
|
||||
'M_BBCODE' => 'BBCode-Anleitung',
|
||||
'M_TERMS' => 'Nutzungsbedingungen',
|
||||
'M_PRV' => 'Datenschutzrichtlinie',
|
||||
'M_SEARCH' => 'Suche',
|
||||
'MENU_NO_LINKS' => 'Keine Links',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_MENU' => 'Hauptmenü-Einstellungen',
|
||||
'ACP_PORTAL_MENU_LINK_SETTINGS' => 'Link Einstellungen',
|
||||
'ACP_PORTAL_MENU_EXP' => 'Verwalte dein Hauptmenü',
|
||||
'ACP_PORTAL_MENU_MANAGE' => 'Hauptmenü-Verwaltung',
|
||||
'ACP_PORTAL_MENU_MANAGE_EXP' => 'Sie können die Links Ihres Hauptmenüs hier verwalten.',
|
||||
'ACP_PORTAL_MENU_CAT' => 'Kategorie',
|
||||
'ACP_PORTAL_MENU_IS_CAT' => 'Setze Link als Kategorie',
|
||||
'ACP_PORTAL_MENU_INT' => 'Interner Link',
|
||||
'ACP_PORTAL_MENU_EXT' => 'Externer Link',
|
||||
'ACP_PORTAL_MENU_TITLE' => 'Titel',
|
||||
'ACP_PORTAL_MENU_URL' => 'Link URL',
|
||||
'ACP_PORTAL_MENU_ADD' => 'Link erstellen',
|
||||
'ACP_PORTAL_MENU_TYPE' => 'Link Typ',
|
||||
'ACP_PORTAL_MENU_TYPE_EXP' => 'Falls Ihr Link auf Ihe Forum verweist, dann wählen Sie bitte "Interner Link" um ungewollte Logouts zu verhindern.',
|
||||
'ACP_PORTAL_MENU_CREATE_CAT' => 'Sie müssen zuerst eine Kategorie erstellen.',
|
||||
'ACP_PORTAL_MENU_URL_EXP' => 'Externe Links:<br />Alle Links sollten mit einem http:// eingegeben werden.<br /><br />Interne Links:<br />Gebe nur die PHP Datei als Link URL ein, z.B. index.php?style=4.',
|
||||
'ACP_PORTAL_MENU_PERMISSION' => 'Link Berechtigungen',
|
||||
'ACP_PORTAL_MENU_PERMISSION_EXP'=> 'Wählen Sie die Gruppen aus die berechtigt sein sollen den Link zu sehen. Falls alle Benutzer den Link sehen sollen, dann wählen Sie nichts aus.<br />Wählen Sie mehrere Gruppen aus/ab indem Sie <samp>STRG</samp> gedrückt halten und klicken.',
|
||||
'ACP_PORTAL_MENU_EXT_NEW_WINDOW'=> 'Öffne externe Verknüpfungen in einem neuen Fenster',
|
||||
|
||||
// Errors
|
||||
'NO_LINK_TITLE' => 'Sie müssen einen Titel für diesen Link angeben.',
|
||||
'NO_LINK_URL' => 'Sie müssen eine Link URL eingeben.',
|
||||
));
|
||||
70
language/de_x_sie/modules/portal_news_module.php
Normal file
@@ -0,0 +1,70 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - News
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'LATEST_NEWS' => 'Aktuelle Beiträge',
|
||||
'READ_FULL' => 'alles lesen',
|
||||
'NO_NEWS' => 'Keine neuen Beiträge',
|
||||
'POSTED_BY' => 'Autor',
|
||||
'COMMENTS' => 'Kommentare',
|
||||
'VIEW_COMMENTS' => 'Kommentare anzeigen',
|
||||
'PORTAL_POST_REPLY' => 'Kommentar schreiben',
|
||||
'TOPIC_VIEWS' => 'Zugriffe',
|
||||
'JUMP_NEWEST' => 'Zum letzten Beitrag springen',
|
||||
'JUMP_FIRST' => 'Zum ersten Beitrag springen',
|
||||
'JUMP_TO_POST' => 'Rufe den Beitrag auf',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_NEWS_SETTINGS' => 'Aktuelle Beiträge Einstellungen',
|
||||
'ACP_PORTAL_NEWS_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für die aktuellen Beiträge ändern.',
|
||||
'PORTAL_NEWS_STYLE' => 'Kompakter Block-Stil',
|
||||
'PORTAL_NEWS_STYLE_EXP' => 'Wenn "ja" ausgewählt ist, wird die kompakte Ansicht für die aktuellen Beiträge angezeigt, bei "nein" die Textansicht.',
|
||||
'PORTAL_SHOW_ALL_NEWS' => 'Zeige alle Beiträge dieses Forums',
|
||||
'PORTAL_SHOW_ALL_NEWS_EXP' => 'Auch Wichtige Beiträge.',
|
||||
'PORTAL_NUMBER_OF_NEWS' => 'Anzahl der Beiträge auf dem Portal',
|
||||
'PORTAL_NUMBER_OF_NEWS_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_NEWS_LENGTH' => 'Maximal angezeigte Länge der Beiträge',
|
||||
'PORTAL_NEWS_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_NEWS_FORUM' => 'Beiträge Foren',
|
||||
'PORTAL_NEWS_FORUM_EXP' => 'Die Foren, aus welchen die Beiträge angezeigt werden sollen. Frei lassen, um aus allen Foren anzeigen zu lassen. Falls "Foren ausschließen" auf "Ja" steht, wählen Sie die Foren die Sie ausschließen möchten.<br />Falls "Foren ausschließen" auf "Nein" steht, wählen Sie die Foren die Sie sehen möchten.<br />Wählen Sie mehrere Foren aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'PORTAL_NEWS_EXCLUDE' => 'Foren ausschließen',
|
||||
'PORTAL_NEWS_EXCLUDE_EXP' => 'Wählen Sie "Ja" wenn Sie die ausgewählten Foren vom Aktuelle Beiträge-Block ausschließen möchten, und "Nein" wenn Sie nur die Beiträge aus den ausgewählten Foren im Aktuelle Beiträge-Block sehen möchten.',
|
||||
'PORTAL_NEWS_PERMISSIONS' => 'Berechtigungen prüfen anschalten?',
|
||||
'PORTAL_NEWS_PERMISSIONS_EXP' => 'Berücksichtigt Berechtigungen beim Anzeigen der aktuellen Beiträge',
|
||||
'PORTAL_NEWS_SHOW_LAST' => 'Nach neuesten Beiträgen sortieren',
|
||||
'PORTAL_NEWS_SHOW_LAST_EXP' => 'Wenn aktiviert, wird nach den neuesten Beiträgen sortiert. Wenn deaktiviert, wird nach den neuesten Themen sortiert.',
|
||||
'PORTAL_NEWS_ARCHIVE' => 'Das Archivsystem für die aktuellen Beiträge aktivieren',
|
||||
'PORTAL_NEWS_ARCHIVE_EXP' => 'Wenn aktiviert, wird das Archivsystem und ggf. Seitenzahlen angezeigt.',
|
||||
'PORTAL_SHOW_REPLIES_VIEWS' => '"Antworten" und "Zugriffe" in Extraspalten',
|
||||
'PORTAL_SHOW_REPLIES_VIEWS_EXP' => 'Einstellung für den kompakter Bekanntmachungen-Block-Stil.<br />Wenn aktiviert, wird die Anzahl der Antworten und Zugriffe in gesonderten Spalten angezeigt. Wenn deaktiviert gibt es nur zwei Spalten und die Antworten und Zugriffe werden neben "Forum" angezeigt. Bei Darstellungsproblemen mit z.B. schmalen Styles bitte deaktivieren.',
|
||||
));
|
||||
53
language/de_x_sie/modules/portal_poll_module.php
Normal file
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Poll
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_POLL' => 'Umfrage',
|
||||
'LATEST_POLLS' => 'Neueste Umfragen',
|
||||
'NO_OPTIONS' => 'Diese Umfrage verfügt über keine Optionen.',
|
||||
'NO_POLL' => 'Derzeit gibt es keine aktuellen Umfragen',
|
||||
'RETURN_PORTAL' => '%sZurück zum Portal%s',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_POLLS_SETTINGS' => 'Einstellungen für Umfragen',
|
||||
'ACP_PORTAL_POLLS_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für Umfragen ändern.',
|
||||
'PORTAL_POLL_TOPIC_ID' => 'Umfragen Foren',
|
||||
'PORTAL_POLL_TOPIC_ID_EXP' => 'Die Foren, aus welchen die Umfragen angezeigt werden sollen. Frei lassen, um aus allen Foren anzeigen zu lassen. Falls "Foren ausschließen" auf "Ja" steht, wählen Sie die Foren die Sie ausschließen möchten.<br />Falls "Foren ausschließen" auf "Nein" steht, wählen Sie die Foren die Sie sehen möchten.<br />Wählen Sie mehrere Foren aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'PORTAL_POLL_EXCLUDE_ID' => 'Foren ausschließen',
|
||||
'PORTAL_POLL_EXCLUDE_ID_EXP' => 'Wählen Sie "Ja" wenn Sie die ausgewählten Foren vom Umfragen-Block ausschließen möchten, und "Nein" wenn Sie nur die Themen aus den ausgewählten Foren im Umfragen-Block sehen möchten.',
|
||||
'PORTAL_POLL_LIMIT' => 'Maximale Anzahl der Umfragen',
|
||||
'PORTAL_POLL_LIMIT_EXP' => 'Die Anzahl der Umfragen, die auf dem Portal angezeigt werden sollen.',
|
||||
'PORTAL_POLL_ALLOW_VOTE' => 'Abstimmen erlauben',
|
||||
'PORTAL_POLL_ALLOW_VOTE_EXP' => 'Verfügt der Benutzer über entsprechende Berechtigungen, kann er direkt auf der Portal-Seite abstimmen.',
|
||||
'PORTAL_POLL_HIDE' => 'Abgelaufene Umfragen verbergen?',
|
||||
));
|
||||
41
language/de_x_sie/modules/portal_random_member_module.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Random Member
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_RANDOM_MEMBER' => 'Zufälliges Profil',
|
||||
'RND_JOIN' => 'Registriert',
|
||||
'RND_POSTS' => 'Beiträge',
|
||||
'RND_OCC' => 'Tätigkeit',
|
||||
'RND_FROM' => 'Wohnort',
|
||||
'RND_WWW' => 'Webseite',
|
||||
));
|
||||
51
language/de_x_sie/modules/portal_recent_module.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Recent Module
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_RECENT' => 'Aktuelles',
|
||||
'PORTAL_RECENT_TOPIC' => 'Aktuelle Themen',
|
||||
'PORTAL_RECENT_ANN' => 'Aktuelle Bekanntmachungen',
|
||||
'PORTAL_RECENT_HOT_TOPIC' => 'Beliebte Themen',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_RECENT_SETTINGS' => 'Einstellungen für neueste Themen',
|
||||
'ACP_PORTAL_RECENT_SETTINGS_EXP' => 'Hier können Sie die Einstellungen für die neuesten Themen ändern.',
|
||||
'PORTAL_MAX_TOPIC' => 'Anzahl der neuesten Themen auf dem Portal',
|
||||
'PORTAL_MAX_TOPIC_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_RECENT_TITLE_LIMIT' => 'Maximal angezeigte Länge der neuesten Themen',
|
||||
'PORTAL_RECENT_TITLE_LIMIT_EXP' => '0 bedeutet unbegrenzt',
|
||||
'PORTAL_RECENT_FORUM' => 'Themen Foren',
|
||||
'PORTAL_RECENT_FORUM_EXP' => 'Die Foren, aus welchen die Themen angezeigt werden sollen. Frei lassen, um aus allen Foren anzeigen zu lassen. Falls "Foren ausschließen" auf "Ja" steht, wählen Sie die Foren die Sie ausschließen möchten.<br />Falls "Foren ausschließen" auf "Nein" steht, wählen Sie die Foren die Sie sehen möchten.<br />Wählen Sie mehrere Foren aus/ab, indem Sie beim Klicken die <samp>Strg</samp>-Taste gedrückt halten.',
|
||||
'PORTAL_EXCLUDE_FORUM' => 'Foren ausschließen',
|
||||
'PORTAL_EXCLUDE_FORUM_EXP' => 'Wählen Sie "Ja" wenn Sie die ausgewählten Foren vom Aktuelle Themen-Block ausschließen möchten, und "Nein" wenn Sie nur die Themen aus den ausgewählten Foren im Aktuelle Themen-Block sehen möchten.',
|
||||
));
|
||||
42
language/de_x_sie/modules/portal_search_module.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Search
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_SEARCH' => 'Suche',
|
||||
'PORTAL_SEARCH_GO' => 'Los',
|
||||
'PORTAL_SEARCH_SITE' => 'Foren',
|
||||
'PORTAL_SEARCH_POSTS' => 'Beiträge',
|
||||
'PORTAL_SEARCH_AUTHOR' => 'Autor',
|
||||
'PORTAL_SEARCH_ENGINE' => 'Suchmaschinen',
|
||||
'PORTAL_SEARCH_ADV' => 'Erweiterte Suche',
|
||||
));
|
||||
51
language/de_x_sie/modules/portal_statistics_module.php
Normal file
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Statistics
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'ST_TOP' => 'Insgesamt',
|
||||
'ST_TOP_ANNS' => 'Bekanntmachungen insgesamt:',
|
||||
'ST_TOP_STICKYS' => 'Wichtig insgesamt:',
|
||||
'ST_TOT_ATTACH' => 'Dateianhänge insgesamt:',
|
||||
'TOPICS_PER_DAY_OTHER' => 'Themen pro Tag: <strong>%d</strong>',
|
||||
'TOPICS_PER_DAY_ZERO' => 'Themen pro Tag: <strong>0</strong>',
|
||||
'POSTS_PER_DAY_OTHER' => 'Beiträge pro Tag: <strong>%d</strong>',
|
||||
'POSTS_PER_DAY_ZERO' => 'Beiträge pro Tag: <strong>0</strong>',
|
||||
'USERS_PER_DAY_OTHER' => 'Benutzer pro Tag: <strong>%d</strong>',
|
||||
'USERS_PER_DAY_ZERO' => 'Benutzer pro Tag: <strong>0</strong>',
|
||||
'TOPICS_PER_USER_OTHER' => 'Themen pro Benutzer: <strong>%d</strong>',
|
||||
'TOPICS_PER_USER_ZERO' => 'Themen pro Benutzer: <strong>0</strong>',
|
||||
'POSTS_PER_USER_OTHER' => 'Beiträge pro Benutzer: <strong>%d</strong>',
|
||||
'POSTS_PER_USER_ZERO' => 'Beiträge pro Benutzer: <strong>0</strong>',
|
||||
'POSTS_PER_TOPIC_OTHER' => 'Beiträge pro Thema: <strong>%d</strong>',
|
||||
'POSTS_PER_TOPIC_ZERO' => 'Beiträge pro Thema: <strong>0</strong>',
|
||||
));
|
||||
37
language/de_x_sie/modules/portal_stylechanger_module.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Stylechanger
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'BOARD_STYLE' => 'Ihr Board-Style',
|
||||
'STYLE_CHOOSE' => 'Wählen Sie einen Style',
|
||||
));
|
||||
41
language/de_x_sie/modules/portal_topposters_module.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Topposters
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'TOPPOSTERS' => 'Top Poster',
|
||||
'TOPPOSTERS_CONFIG' => 'Einstellungen zu Top Poster',
|
||||
|
||||
// ACP
|
||||
'NUM_TOPPOSTERS' => 'Anzahl der Top Poster',
|
||||
'NUM_TOPPOSTERS_EXP' => 'Geben Sie die Anzahl der Benutzer an, die im Top Poster Block angezeigt werden sollen.',
|
||||
));
|
||||
45
language/de_x_sie/modules/portal_user_menu_module.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - User Menu
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'USER_MENU' => 'Benutzer-Menü',
|
||||
'UM_LOG_ME_IN' => 'Mich bei jedem Besuch automatisch anmelden',
|
||||
'UM_HIDE_ME' => 'Meinen Online-Status während dieser Sitzung verbergen',
|
||||
'UM_REGISTER_NOW' => 'Registriern Sie sich jetzt!',
|
||||
'UM_MAIN_SUBSCRIBED' => 'Benachrichtigungen verwalten',
|
||||
'UM_BOOKMARKS' => 'Lesezeichen verwalten',
|
||||
'M_MENU' => 'Menü',
|
||||
'M_ACP' => 'Administrations-Bereich',
|
||||
'USER_MENU_SETTINGS' => 'Benutzer-Menü Einstellungen',
|
||||
'USER_MENU_REGISTER' => 'Zeige Registrierungs-Link in Benutzer-Menü',
|
||||
));
|
||||
43
language/de_x_sie/modules/portal_welcome_module.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Welcome
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_WELCOME' => 'Willkommen',
|
||||
|
||||
// ACP
|
||||
'ACP_PORTAL_WELCOME_SETTINGS' => 'Einstellungen für die Willkommens-Nachricht',
|
||||
'ACP_PORTAL_WELCOME_MESSAGE_SHORT' => 'Die eingegebene Nachricht ist nicht lang genug.',
|
||||
'ACP_PORTAL_WELCOME_PREVIEW' => 'Willkommens-Nachricht Vorschau',
|
||||
'ACP_PORTAL_WELCOME_MESSAGE' => 'Willkommens-Nachricht',
|
||||
'ACP_PORTAL_WELCOME_MESSAGE_EXP' => 'Sie können die Willkommens-Nachricht in der Textbox verändern. BBCode, Bilder und Links sind erlaubt.',
|
||||
));
|
||||
36
language/de_x_sie/modules/portal_whois_online_module.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1 - Who is online
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL_WHOIS_ONLINE' => 'Wer ist online?',
|
||||
));
|
||||
39
language/de_x_sie/permissions_portal.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1
|
||||
* @copyright (c) 2015 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
// Adding the permissions
|
||||
'ACL_A_MANAGE_PORTAL' => 'Kann Portal-Einstellungen ändern',
|
||||
'ACL_U_VIEW_PORTAL' => 'Kann das Portal sehen',
|
||||
));
|
||||
40
language/de_x_sie/portal.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
// Common
|
||||
$lang = array_merge($lang, array(
|
||||
'PORTAL' => 'Portal',
|
||||
'VIEWING_PORTAL' => 'Betrachtet das Portal',
|
||||
'BACK' => 'Zurück',
|
||||
));
|
||||
109
language/de_x_sie/portal_acp.php
Normal file
@@ -0,0 +1,109 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1
|
||||
* @copyright (c) 2014 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* DO NOT CHANGE
|
||||
*/
|
||||
if (!defined('IN_PHPBB'))
|
||||
{
|
||||
exit;
|
||||
}
|
||||
|
||||
if (empty($lang) || !is_array($lang))
|
||||
{
|
||||
$lang = array();
|
||||
}
|
||||
|
||||
// DEVELOPERS PLEASE NOTE
|
||||
//
|
||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||||
//
|
||||
// Placeholders can now contain order information, e.g. instead of
|
||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||||
// translators to re-order the output of data while ensuring it remains correct
|
||||
//
|
||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||||
// equally where a string contains only two placeholders which are used to wrap text
|
||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||
|
||||
|
||||
$lang = array_merge($lang, array(
|
||||
// Portal Module
|
||||
'ACP_PORTAL_MODULES_EXP' => 'Sie können Ihre Portal Module hier verwalten. Falls Sie alle Module deaktivieren, dann deaktivieren Sie bitte auch das Portal.',
|
||||
|
||||
'MODULE_POS_TOP' => 'Oben',
|
||||
'MODULE_POS_LEFT' => 'Linke Spalte',
|
||||
'MODULE_POS_RIGHT' => 'Rechte Spalte',
|
||||
'MODULE_POS_CENTER' => 'Mittlere Spalte',
|
||||
'MODULE_POS_BOTTOM' => 'Unten',
|
||||
'ADD_MODULE' => 'Modul Hinzufügen',
|
||||
'CHOOSE_MODULE' => 'Modul Auswählen',
|
||||
'CHOOSE_MODULE_EXP' => 'Wähle ein Modul von der Dropdown-Liste',
|
||||
'SUCCESS_ADD' => 'Das Modul wurde erfolgreich hinzugefügt.',
|
||||
'SUCCESS_DELETE' => 'Das Modul wurde erfolgreich entfernt.',
|
||||
'NO_MODULES' => 'Es wurden keine Module gefunden.',
|
||||
'MOVE_RIGHT' => 'Nach rechts',
|
||||
'MOVE_LEFT' => 'Nach links',
|
||||
'B3P_FILE_NOT_FOUND' => 'Die angegebene Datei konnte nicht gefunden werden',
|
||||
'UNABLE_TO_MOVE' => 'Es ist nicht möglich den Block in die gewählte Spalte zu verschieben.',
|
||||
'UNABLE_TO_MOVE_ROW' => 'Es ist nicht möglich den Block in die gewählte Reihe zu verschieben.',
|
||||
'DELETE_MODULE_CONFIRM' => 'Sind Sie sicher, dass Sie das Modul "%1$s" löschen möchtest?',
|
||||
'MODULE_RESET_SUCCESS' => 'Modul Einstellungen erfolgreich zurückgesetzt.',
|
||||
'MODULE_RESET_CONFIRM' => 'Sind Sie sicher, dass Sie diese Einstellungen des Moduls "%1$s" zurücksetzen möchten?',
|
||||
'MODULE_NOT_EXISTS' => 'Das gewählte Modul existiert nicht.',
|
||||
|
||||
'MODULE_OPTIONS' => 'Modul Optionen',
|
||||
'MODULE_NAME' => 'Modul Name',
|
||||
'MODULE_NAME_EXP' => 'Geben Sie hier den Namen ein der für das Modul in der Modul Konfiguration angezeigt werden soll.',
|
||||
'MODULE_IMAGE' => 'Modul Bild',
|
||||
'MODULE_IMAGE_EXP' => 'Geben Sie hier den Dateinamen des Modul Bildes ein. Das Bild muss sich in allen styles/{Dein Style}/theme/images/portal/ Ordnern befinden.',
|
||||
'MODULE_PERMISSIONS' => 'Modul Berechtigungen',
|
||||
'MODULE_PERMISSIONS_EXP' => 'Wählen Sie die Gruppen aus, die berechtigt sein sollen, das Modul zu sehen. Sollen alle Benutzer das Modul sehen können, wählen Sie nichts aus.<br />An- / abwählen mehrerer Gruppen indem man <samp>Strg</samp> gedrückt hält und klickt.',
|
||||
'MODULE_IMAGE_WIDTH' => 'Modul Bild Breite',
|
||||
'MODULE_IMAGE_WIDTH_EXP' => 'Geben Sie hier die Breite des Modul Bildes in Pixeln ein',
|
||||
'MODULE_IMAGE_HEIGHT' => 'Modul Bild Höhe',
|
||||
'MODULE_IMAGE_HEIGHT_EXP' => 'Geben Sie hier die Höhe des Modul Bildes in Pixeln ein',
|
||||
'MODULE_RESET' => 'Modul Einstellungen zurücksetzen',
|
||||
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!',
|
||||
'MODULE_STATUS' => 'Aktiviere Modul',
|
||||
'MODULE_ADD_ONCE' => 'Diese Modul kann nur ein Mal hinzugefügt werden.',
|
||||
'MODULE_IMAGE_ERROR' => 'Während dem Prüfen des Modul Bildes sind ein oder mehrere Fehler aufgetreten:',
|
||||
'UNKNOWN_MODULE_METHOD' => 'Die Modul Methode des %1$s Moduls konnte nicht gefunden werden.',
|
||||
|
||||
// general
|
||||
'ACP_PORTAL_CONFIG_INFO' => 'Allgemeine Einstellungen',
|
||||
'ACP_PORTAL_GENERAL_TITLE' => 'Portal Verwaltung',
|
||||
'ACP_PORTAL_GENERAL_TITLE_EXP' => 'Danke, dass Sie sich für board3 Portal entschieden haben. Auf dieser Seite können Sie Ihr Portal verwalten. Diese Anzeige gibt Ihnen einen schnellen Überblick über die verschiedenen Portal-Einstellungen.',
|
||||
'ACP_PORTAL_SHOW_ALL' => 'Zeige portal auf allen Seiten',
|
||||
'ACP_PORTAL_SHOW_ALL_EXP' => 'Zeigt das Portal auf allen Seiten des Forums an.',
|
||||
'PORTAL_ENABLE' => 'Portal aktivieren',
|
||||
'PORTAL_ENABLE_EXP' => 'Wenn deaktiviert, wird das komplette Portal abgeschaltet.',
|
||||
'PORTAL_LEFT_COLUMN' => 'Linke Spalte aktivieren',
|
||||
'PORTAL_LEFT_COLUMN_EXP' => 'Die Linke Spalte auf dem Portal anzeigen',
|
||||
'PORTAL_RIGHT_COLUMN' => 'Rechte Spalte aktivieren',
|
||||
'PORTAL_RIGHT_COLUMN_EXP' => 'Die Rechte Spalte auf dem Portal anzeigen',
|
||||
'ACP_PORTAL_COLUMN_WIDTH_SETTINGS' => 'Breiteneinstellung der rechten und linken Spalte',
|
||||
'PORTAL_LEFT_COLUMN_WIDTH' => 'Breite der linken Spalte',
|
||||
'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Änderen Sie hier die Breite der linken Spalte in Pixel, empfohlener Wert 180',
|
||||
'PORTAL_RIGHT_COLUMN_WIDTH' => 'Breite der rechten Spalte',
|
||||
'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Änderen Sie hier die Breite der rechten Spalte in Pixel, empfohlener Wert 180',
|
||||
'PORTAL_DISPLAY_JUMPBOX' => 'Zeige Jumpbox',
|
||||
'PORTAL_DISPLAY_JUMPBOX_EXP' => 'Die Jumpbox auf dem Portal anzeigen. Die Jumpbox wird nur angezeigt, wenn sie gleichzeitig in den Board-Funktionalitäten aktiviert ist.',
|
||||
'PORTAL_SHOW_ALL_SIDE' => 'Spalte die auf allen Seiten angezeigt werden soll',
|
||||
'PORTAL_SHOW_ALL_SIDE_EXP' => 'Wählen Sie aus welche Spalte auf allen seiten des Portals angezeigt werden soll.',
|
||||
'PORTAL_SHOW_ALL_LEFT' => 'Links',
|
||||
'PORTAL_SHOW_ALL_RIGHT' => 'Rechts',
|
||||
|
||||
'LINK_ADDED' => 'Der Link wurde erfolgreich eingetragen',
|
||||
'LINK_UPDATED' => 'Der Link wurde erfolgreich geändert',
|
||||
|
||||
// Install
|
||||
'PORTAL_BASIC_INSTALL' => 'Füge Basismodule hinzu',
|
||||
'PORTAL_BASIC_UNINSTALL' => 'Entferne Module von Datenbank',
|
||||
));
|
||||
@@ -46,4 +46,8 @@ $lang = array_merge($lang, array(
|
||||
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Altered Portal settings</strong><br />» Event updated: %s ',
|
||||
'LOG_PORTAL_EVENT_REMOVED' => '<strong>Altered Portal settings</strong><br />» Event removed: %s ',
|
||||
'LOG_PORTAL_CONFIG' => '<strong>Altered Portal settings</strong><br />» %s',
|
||||
|
||||
// Adding the permissions
|
||||
'ACL_A_MANAGE_PORTAL' => 'Can alter Portal settings',
|
||||
'ACL_U_VIEW_PORTAL' => 'Can view the Portal',
|
||||
));
|
||||
|
||||
@@ -119,7 +119,7 @@ class birthday_list extends module_base
|
||||
'ORDER BY' => $order_by,
|
||||
);
|
||||
$sql = $this->db->sql_build_query('SELECT', $sql_array);
|
||||
$result = $this->db->sql_query($sql, 300);
|
||||
$result = $this->db->sql_query($sql);
|
||||
$today = sprintf('%2d-%2d-', $now['mday'], $now['mon']);
|
||||
|
||||
while ($row = $this->db->sql_fetchrow($result))
|
||||
|
||||
@@ -188,8 +188,8 @@ class calendar extends module_base
|
||||
// output our general calendar bits
|
||||
$down = $this->mini_cal_month - 1;
|
||||
$up = $this->mini_cal_month + 1;
|
||||
$prev_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$down#minical$module_id" . '" rel="nofollow"><span class="portal-arrow-left-icon" title="' . $this->user->lang['VIEW_PREVIOUS_MONTH'] . '"></span></a>';
|
||||
$next_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$up#minical$module_id" . '" rel="nofollow"><span class="portal-arrow-right-icon" title="' . $this->user->lang['VIEW_NEXT_MONTH'] . '"></span></a>';
|
||||
$prev_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$down#minical$module_id" . '" rel="nofollow"><i class="fa fa-backward" aria-hidden="true" title="' . $this->user->lang['VIEW_PREVIOUS_MONTH'] . '"></i></a>';
|
||||
$next_month = '<a href="' . $this->modules_helper->route('board3_portal_controller') . "?m$module_id=$up#minical$module_id" . '" rel="nofollow"><i class="fa fa-forward" aria-hidden="true" title="' . $this->user->lang['VIEW_NEXT_MONTH'] . '"></i></a>';
|
||||
|
||||
$this->template->assign_block_vars('minical', array(
|
||||
'S_SUNDAY_FIRST' => ($this->config['board3_sunday_first_' . $module_id]) ? true : false,
|
||||
|
||||
@@ -307,7 +307,7 @@ class custom extends module_base
|
||||
default:
|
||||
if (!isset($custom_code))
|
||||
{
|
||||
$custom_code = generate_text_for_edit($portal_config['board3_custom_' . $module_id . '_code'], $this->config['board3_custom_' . $module_id . '_uid'], '');
|
||||
$custom_code = generate_text_for_edit($portal_config['board3_custom_' . $module_id . '_code'], $this->config['board3_custom_' . $module_id . '_uid'], 0);
|
||||
}
|
||||
|
||||
$this->template->assign_vars(array(
|
||||
|
||||
148
modules/portal_tl_menu.php
Normal file
@@ -0,0 +1,148 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package Board3 Portal v2.1
|
||||
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace board3\portal\modules;
|
||||
|
||||
/**
|
||||
* @package Links
|
||||
*/
|
||||
class portal_tl_menu extends module_base
|
||||
{
|
||||
/**
|
||||
* Allowed columns: Just sum up your options (Exp: left + right = 10)
|
||||
* top 1
|
||||
* left 2
|
||||
* center 4
|
||||
* right 8
|
||||
* bottom 16
|
||||
*/
|
||||
public $columns = 10;
|
||||
|
||||
/**
|
||||
* Default modulename
|
||||
*/
|
||||
public $name = 'TL_MENU';
|
||||
|
||||
/**
|
||||
* Default module-image:
|
||||
* file must be in "{T_THEME_PATH}/images/portal/"
|
||||
*/
|
||||
public $image_src = 'portal_menu.png';
|
||||
|
||||
/**
|
||||
* module-language file
|
||||
* file must be in "language/{$user->lang}/mods/portal/"
|
||||
*/
|
||||
public $language = 'portal_tl_menu_module';
|
||||
|
||||
/**
|
||||
* custom acp template
|
||||
* file must be in "adm/style/portal/"
|
||||
*/
|
||||
public $custom_acp_tpl = 'acp_portal_links';
|
||||
|
||||
/** @var bool Can include this module multiple times */
|
||||
protected $multiple_includes = true;
|
||||
|
||||
/**
|
||||
* constants
|
||||
*/
|
||||
const LINK_INT = 1;
|
||||
const LINK_EXT = 2;
|
||||
|
||||
/** @var \phpbb\config\config */
|
||||
protected $config;
|
||||
|
||||
/** @var \phpbb\db\driver\driver_interface */
|
||||
protected $db;
|
||||
|
||||
/** @var \phpbb\request\request */
|
||||
protected $request;
|
||||
|
||||
/** @var \phpbb\template\template */
|
||||
protected $template;
|
||||
|
||||
/** @var string PHP file extension */
|
||||
protected $php_ext;
|
||||
|
||||
/** @var string phpBB root path */
|
||||
protected $phpbb_root_path;
|
||||
|
||||
/** @var \phpbb\user */
|
||||
protected $user;
|
||||
|
||||
/** @var \phpbb\log\log phpBB log */
|
||||
protected $log;
|
||||
|
||||
/**
|
||||
* Construct a links object
|
||||
*
|
||||
* @param \phpbb\config\config $config phpBB config
|
||||
* @param \phpbb\db\driver\driver_interface $db phpBB db driver
|
||||
* @param \phpbb\request\request $request phpBB request
|
||||
* @param \phpbb\template\template $template phpBB template
|
||||
* @param string $phpEx php file extension
|
||||
* @param string $phpbb_root_path phpBB root path
|
||||
* @param \phpbb\user $user phpBB user object
|
||||
* @param \phpbb\log\log phpBB log
|
||||
*/
|
||||
public function __construct($config, $db, $request, $template, $phpbb_root_path, $phpEx, $user, $log)
|
||||
{
|
||||
$this->config = $config;
|
||||
$this->db = $db;
|
||||
$this->request = $request;
|
||||
$this->template = $template;
|
||||
$this->php_ext = $phpEx;
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->user = $user;
|
||||
$this->log = $log;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
|
||||
public function get_template_side($module_id)
|
||||
{
|
||||
global $config, $template;
|
||||
|
||||
$template->assign_vars(array(
|
||||
'EXAMPLE' => $config['board3_configname2_' . $module_id],
|
||||
));
|
||||
|
||||
return 'tl_menu.html';
|
||||
}
|
||||
|
||||
public function get_template_acp($module_id)
|
||||
{
|
||||
global $phpEx, $phpbb_root_path;
|
||||
|
||||
return array(
|
||||
'title' => 'ACP_CONFIG_MODULENAME',
|
||||
'vars' => array(
|
||||
'legend1' => 'ACP_MODULENAME_CONFIGLEGEND',
|
||||
'board3_configname_' . $module_id => array('lang' => 'MODULENAME_CONFIGNAME', 'validate' => 'string', 'type' => 'text:10:200', 'explain' => false),
|
||||
'board3_configname2_' . $module_id => array('lang' => 'MODULENAME_CONFIGNAME2', 'validate' => 'int', 'type' => 'text:3:3', 'explain' => true),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* API functions
|
||||
*/
|
||||
public function install($module_id)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
public function uninstall($module_id, $db)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
@@ -108,7 +108,8 @@ class random_member extends module_base
|
||||
|
||||
$avatar_img = phpbb_get_avatar(\phpbb\avatar\manager::clean_row($row, 'user'), 'USER_AVATAR');
|
||||
|
||||
$rank_data = phpbb_get_user_rank($row, $row['user_posts']);
|
||||
$rank_title = $rank_img = $rank_img_src = '';
|
||||
get_user_rank($row['user_rank'], $row['user_posts'], $rank_title, $rank_img, $rank_img_src);
|
||||
|
||||
$username = $row['username'];
|
||||
$user_id = (int) $row['user_id'];
|
||||
@@ -120,9 +121,9 @@ class random_member extends module_base
|
||||
'USER_COLOR' => get_username_string('colour', $user_id, $username, $colour),
|
||||
'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $username, $colour),
|
||||
|
||||
'RANK_TITLE' => $rank_data['title'],
|
||||
'RANK_IMG' => $rank_data['img'],
|
||||
'RANK_IMG_SRC' => $rank_data['img_src'],
|
||||
'RANK_TITLE' => $rank_title,
|
||||
'RANK_IMG' => $rank_img,
|
||||
'RANK_IMG_SRC' => $rank_img_src,
|
||||
|
||||
'USER_POSTS' => (int) $row['user_posts'],
|
||||
'AVATAR_IMG' => $avatar_img,
|
||||
|
||||
@@ -136,7 +136,7 @@ class recent extends module_base
|
||||
AND topic_moved_id = 0
|
||||
' . $sql_where . $forum_sql . '
|
||||
ORDER BY topic_time DESC';
|
||||
$result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0 , 30);
|
||||
$result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0 , 10);
|
||||
|
||||
while (($row = $this->db->sql_fetchrow($result)) && ($row['topic_title']))
|
||||
{
|
||||
@@ -162,7 +162,7 @@ class recent extends module_base
|
||||
AND topic_moved_id = 0
|
||||
' . $sql_where . $forum_sql . '
|
||||
ORDER BY topic_time DESC';
|
||||
$result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 30);
|
||||
$result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 10);
|
||||
|
||||
while (($row = $this->db->sql_fetchrow($result)) && ($row['topic_title']))
|
||||
{
|
||||
@@ -189,7 +189,7 @@ class recent extends module_base
|
||||
AND topic_moved_id = 0
|
||||
' . $sql_where . $forum_sql . '
|
||||
ORDER BY topic_time DESC';
|
||||
$result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 30);
|
||||
$result = $this->db->sql_query_limit($sql, $this->config['board3_max_topics_' . $module_id], 0, 10);
|
||||
|
||||
while (($row = $this->db->sql_fetchrow($result)) && ($row['topic_title']))
|
||||
{
|
||||
|
||||
@@ -99,7 +99,7 @@ class user_menu extends module_base
|
||||
*/
|
||||
public function get_template_side($module_id)
|
||||
{
|
||||
if (!function_exists('phpbb_get_user_rank'))
|
||||
if (!function_exists('get_user_rank'))
|
||||
{
|
||||
include($this->phpbb_root_path . 'includes/functions_display.' . $this->php_ext);
|
||||
}
|
||||
@@ -147,8 +147,22 @@ class user_menu extends module_base
|
||||
$username = $this->user->data['username'];
|
||||
$colour = $this->user->data['user_colour'];
|
||||
$avatar_img = phpbb_get_avatar(\phpbb\avatar\manager::clean_row($this->user->data, 'user'), 'USER_AVATAR');
|
||||
$rank_data = phpbb_get_user_rank($this->user->data, $this->user->data['user_posts']);
|
||||
$rank_title = $rank_img = $rank_img_src = '';
|
||||
\get_user_rank($this->user->data['user_rank'], $this->user->data['user_posts'], $rank_title, $rank_img, $rank_img_src);
|
||||
|
||||
|
||||
$s_login_redirect = build_hidden_fields(array('redirect' => $this->path_helper->remove_web_root_path(build_url())));
|
||||
/**
|
||||
* Workaround for missing template variable in pre phpBB 3.2.6 styles.
|
||||
* @deprecated 3.2.7 (To be removed: 3.3.0-a1)
|
||||
*/
|
||||
$form_token_login = $this->template->retrieve_var('S_FORM_TOKEN_LOGIN');
|
||||
if (!empty($form_token_login))
|
||||
{
|
||||
$s_login_redirect .= $form_token_login;
|
||||
// Remove S_FORM_TOKEN_LOGIN as it's already appended to S_login_redirect
|
||||
$this->template->assign_var('S_FORM_TOKEN_LOGIN', '');
|
||||
}
|
||||
// Assign specific vars
|
||||
$this->template->assign_vars(array(
|
||||
'L_NEW_POSTS' => $this->user->lang['SEARCH_NEW'] . ' (' . $new_posts_count . ')',
|
||||
@@ -156,9 +170,9 @@ class user_menu extends module_base
|
||||
'L_UNREAD_POSTS'=> $this->user->lang['SEARCH_UNREAD'] . ' (' . $unread_posts_count . ')',
|
||||
|
||||
'B3P_AVATAR_IMG' => $avatar_img,
|
||||
'B3P_RANK_TITLE' => $rank_data['title'],
|
||||
'B3P_RANK_IMG' => $rank_data['img'],
|
||||
'RANK_IMG_SRC' => $rank_data['img_src'],
|
||||
'B3P_RANK_TITLE' => $rank_title,
|
||||
'B3P_RANK_IMG' => $rank_img,
|
||||
'RANK_IMG_SRC' => $rank_img_src,
|
||||
|
||||
'USERNAME_FULL' => get_username_string('full', $user_id, $username, $colour),
|
||||
'U_VIEW_PROFILE' => get_username_string('profile', $user_id, $username, $colour),
|
||||
@@ -176,13 +190,16 @@ class user_menu extends module_base
|
||||
}
|
||||
else
|
||||
{
|
||||
// Add form token for login box
|
||||
add_form_key('login', '_LOGIN');
|
||||
|
||||
/*
|
||||
* Assign specific vars
|
||||
* Need to remove web root path as ucp.php will do the
|
||||
* redirect
|
||||
*/
|
||||
$this->template->assign_vars(array(
|
||||
'U_PORTAL_REDIRECT' => $this->path_helper->remove_web_root_path($this->controller_helper->route('board3_portal_controller')),
|
||||
'U_login_redirect' => $this->path_helper->remove_web_root_path($this->controller_helper->route('board3_portal_controller')),
|
||||
'S_DISPLAY_FULL_LOGIN' => true,
|
||||
'S_AUTOLOGIN_ENABLED' => ($this->config['allow_autologin']) ? true : false,
|
||||
'S_LOGIN_ACTION' => append_sid("{$this->phpbb_root_path}ucp.{$this->php_ext}", 'mode=login'),
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<phpunit backupGlobals="true"
|
||||
backupStaticAttributes="true"
|
||||
colors="true"
|
||||
convertErrorsToExceptions="true"
|
||||
convertNoticesToExceptions="true"
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false"
|
||||
syntaxCheck="false"
|
||||
verbose="true"
|
||||
bootstrap="../../../../tests/bootstrap.php">
|
||||
<testsuites>
|
||||
<testsuite name="Extension Test Suite">
|
||||
<directory suffix="_test.php">./tests</directory>
|
||||
<exclude>./tests/functional</exclude>
|
||||
</testsuite>
|
||||
<testsuite name="Extension Functional Tests">
|
||||
<directory suffix="_test.php" phpVersion="5.3.19" phpVersionOperator=">=">./tests/functional/</directory>
|
||||
</testsuite>
|
||||
</testsuites>
|
||||
<filter>
|
||||
<whitelist>
|
||||
<directory>../../../../phpBB/ext/board3/portal/</directory>
|
||||
<exclude>
|
||||
<directory>../../../../phpBB/ext/board3/portal/tests/</directory>
|
||||
<directory>../../../../phpBB/ext/board3/portal/develop/</directory>
|
||||
<directory>../../../../phpBB/ext/board3/portal/migrations/</directory>
|
||||
<directory>../../../../phpBB/ext/board3/portal/language/</directory>
|
||||
<directory>../../../../phpBB/ext/board3/portal/vendor/</directory>
|
||||
</exclude>
|
||||
</whitelist>
|
||||
</filter>
|
||||
</phpunit>
|
||||
@@ -266,7 +266,7 @@ class fetch_posts
|
||||
// Cache queries for 30 seconds
|
||||
if ($number_of_posts != 0)
|
||||
{
|
||||
$result = $this->db->sql_query_limit($sql, $number_of_posts, $start, 30);
|
||||
$result = $this->db->sql_query_limit($sql, $number_of_posts, $start, 10);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -296,7 +296,7 @@ class fetch_posts
|
||||
$posts[$i]['bbcode_uid'] = $row['bbcode_uid'];
|
||||
|
||||
// Format message
|
||||
$message = $this->format_message($row, $text_length, $posts[$i]['striped']);
|
||||
$message = $row['post_text'];
|
||||
|
||||
$row['bbcode_options'] = (int) $this->get_setting_based_data($row['enable_bbcode'], OPTION_FLAG_BBCODE, 0)
|
||||
+ (int) $this->get_setting_based_data($row['enable_smilies'], OPTION_FLAG_SMILIES, 0)
|
||||
|
||||
BIN
styles/all/theme/images/portal/portal_weather.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
BIN
styles/dark_vision/theme/images/portal/board3clock.swf
Normal file
BIN
styles/dark_vision/theme/images/portal/icon_portal_search.gif
Normal file
|
After Width: | Height: | Size: 873 B |
BIN
styles/dark_vision/theme/images/portal/spacer_down.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
BIN
styles/dark_vision/theme/images/portal/spacer_up.png
Normal file
|
After Width: | Height: | Size: 2.7 KiB |
597
styles/dark_vision/theme/portal.css
Normal file
@@ -0,0 +1,597 @@
|
||||
/* main menu, user menu and the links */
|
||||
|
||||
.content li {
|
||||
list-style-type: inherit !important;
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.portal-navigation{
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.portal-navigation ul{
|
||||
list-style-type: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-bottom: 8px; /*bottom spacing between each UL and rest of content*/
|
||||
}
|
||||
|
||||
.portal-navigation ul li{
|
||||
padding-bottom: 2px; /*bottom spacing between menu items*/
|
||||
}
|
||||
|
||||
.portal-navigation ul li a{
|
||||
display: block;
|
||||
padding: 2px 0;
|
||||
font-weight: bold;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
||||
.portal-navigation div.menutitle{
|
||||
padding: 1px 0;
|
||||
font: bold 90% 'Trebuchet MS', 'Lucida Grande', Arial, sans-serif;
|
||||
font-size: 12px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.portal-navigation hr.dashed:last-child {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rtl .portal-navigation .menutitle {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.calendar-info {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.portal-events li.row
|
||||
{
|
||||
border-top: 0;
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.portal-user-span {
|
||||
float: left;
|
||||
padding-left: 5px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.rtl .portal-user-span {
|
||||
float: right;
|
||||
padding: 2px 5px 0 0;
|
||||
}
|
||||
|
||||
.portal-user-annotation {
|
||||
float: right;
|
||||
padding-top: 2px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.rtl .portal-user-annotation {
|
||||
float: left;
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
.portal-title-span {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.rtl .portal-title-span {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.rtl .portal-title-link {
|
||||
float: right;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
.portal-text-span {
|
||||
float: left;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.rtl .portal-text-span {
|
||||
float: right;
|
||||
padding-right: 0;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.portal-data-span {
|
||||
float: right;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.rtl .portal-data-span {
|
||||
float: left;
|
||||
padding-right: 0;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.portal-module-postbody {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.portal-module-content {
|
||||
min-height: 1em;
|
||||
}
|
||||
|
||||
.portal-stylechanger-select {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.portal-whois-online-content {
|
||||
border-left: 0 !important;
|
||||
}
|
||||
.portal-whois-online-content p {
|
||||
margin: 0 5px 0 5px;
|
||||
}
|
||||
|
||||
.portal-donation-center-content {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.portal-donation-center-content > div {
|
||||
text-align: left;
|
||||
margin: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.portal-donation-form {
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.portal-centered-content {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portal-read-all-link {
|
||||
float: right;
|
||||
margin: 0 0 5px 0;
|
||||
}
|
||||
|
||||
.portal-module-postbody .post:not(:last-child) {
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
a.portal-forumtitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.portal-random-member-name {
|
||||
font-size: 12px;
|
||||
padding-top: 1px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.portal-recent-column {
|
||||
width: 33%;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.portal-paypal-icon {
|
||||
background-image: url("../../all/theme/images/portal/paypal.gif");
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 73px;
|
||||
padding-top: 44px;
|
||||
float: left;
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.portal-poll-subtext {
|
||||
font-size: 1.0em !important;
|
||||
width: 10em;
|
||||
}
|
||||
|
||||
.portal-poll-vote {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.portal-poll-side-option dt {
|
||||
width: 30% !important;
|
||||
}
|
||||
|
||||
.portal-poll-side-option dt:first-child {
|
||||
width: 60% !important;
|
||||
}
|
||||
|
||||
.portal-poll-side-option-info {
|
||||
width: 58% !important;
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.portal-poll-side-checkbox {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.portal-poll-side-checkbox input {
|
||||
vertical-align: top;
|
||||
margin-left: 39px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Calendar CSS rules
|
||||
*/
|
||||
.portal-calendar-go-previous {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.portal-calendar-current-month {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portal-calendar-go-next {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.portal-calendar-days-title td, .portal-calendar-days td {
|
||||
width: 14%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portal-calendar-days-title span {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.portal-calendar-days td {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portal-calendar-events-heading {
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.portal-calendar-event-listing {
|
||||
width: 100%;
|
||||
padding-left: 0;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.portal-calendar-event-title {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.portal-calendar-event-description {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.portal-calendar-divider {
|
||||
margin: 5px 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Replacement for table layout
|
||||
*/
|
||||
#portal-left, #portal-right {
|
||||
position: relative;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.rtl #portal-left, .rtl #portal-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#portal-center-wrapper {
|
||||
width: 100%;
|
||||
float: left;
|
||||
display: block;
|
||||
}
|
||||
|
||||
#portal-center-wrapper .panel, #portal-center-wrapper .post,
|
||||
#portal-top .panel, #portal-top .post,
|
||||
#portal-bottom .panel, #portal-bottom .post
|
||||
{
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.rtl #portal-center-wrapper {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#portal-column-area {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#portal-left {
|
||||
margin-left: -100%;
|
||||
}
|
||||
|
||||
.rtl #portal-left {
|
||||
margin-right: -100%;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* top spacing between portal body table and headerbar spacing is usually 10px
|
||||
*/
|
||||
#portal-body {
|
||||
padding-top: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.portal-side {
|
||||
text-align: left;
|
||||
margin: 5px 5px 5px 5px
|
||||
}
|
||||
|
||||
.rtl .portal-side {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.portal-side-wrapper {
|
||||
border-left: 0 !important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
/*
|
||||
* This is needed in order to have the same spacing between blocks
|
||||
* as we have between the top blocks and the headerbar
|
||||
*/
|
||||
#portal-left .forabg, #portal-center .forabg,
|
||||
#portal-right .forabg, #portal-top .forabg,
|
||||
#portal-bottom .forabg {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#portal-body td {
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#portal-body .row .pagination {
|
||||
margin: 2px 2px 0px 0;
|
||||
}
|
||||
|
||||
#portal-body #viewpoll {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
#portal-left li, #portal-center li,
|
||||
#portal-right li, #portal-top li,
|
||||
#portal-bottom li {
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
.portal-news-pagination {
|
||||
line-height: 2em;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
.portal-news-pagination .pagination {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
/**
|
||||
* margin spacing as in default prosilver for the forumlist
|
||||
*/
|
||||
#portal-forumlist .forabg {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.portal-no-margin {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.portal-clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
/* RTL language fixes */
|
||||
.rtl .portal-navigation ul li a{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
/* Portal clock
|
||||
-------------------------------------- */
|
||||
.portal-clock-wrapper {
|
||||
text-align: center;
|
||||
min-height: 5em;
|
||||
margin: 0 10%;
|
||||
/* set a fixed height to get rid of the trembling clock in IE9 */
|
||||
height: 50px;
|
||||
}
|
||||
|
||||
.rtl .portal-clock-wrapper {
|
||||
/* Arabic clocks are ltr */
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
.portal-clock {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.portal-clock-spacer-up {
|
||||
content: url("./images/portal/spacer_up.png");
|
||||
}
|
||||
|
||||
.portal-clock-spacer-down {
|
||||
content: url("./images/portal/spacer_down.png");
|
||||
}
|
||||
|
||||
.portal-clock * img {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.portal-clock-front, .portal-clock-back {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.portal-clock-front-upper div {
|
||||
height: 21px;
|
||||
position: absolute;
|
||||
vertical-align: bottom;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.portal-clock-front-lower div {
|
||||
height: 20px;
|
||||
position: absolute;
|
||||
vertical-align: top;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.portal-clock-back-upper div {
|
||||
position: absolute;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.portal-clock-back-lower div {
|
||||
position: absolute;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.portal-clock-back-seconds-up-left, .portal-clock-back-seconds-up-right,
|
||||
.portal-clock-front-minutes-up-left, .portal-clock-front-minutes-up-right,
|
||||
.portal-clock-back-minutes-up-left, .portal-clock-back-minutes-up-right,
|
||||
.portal-clock-front-seconds-up-left, .portal-clock-front-seconds-up-right,
|
||||
.portal-clock-back-minutes-down-left, .portal-clock-back-minutes-down-right,
|
||||
.portal-clock-back-seconds-down-left, .portal-clock-back-seconds-down-right,
|
||||
.portal-clock-front-minutes-down-left, .portal-clock-front-minutes-down-right,
|
||||
.portal-clock-front-seconds-down-left, .portal-clock-front-seconds-down-right {
|
||||
width: 21px;
|
||||
height: 21px;
|
||||
background-position: 0 0;
|
||||
background: url("../../all/theme/images/portal/portal_clock_single.png") no-repeat;
|
||||
}
|
||||
|
||||
/* Minutes start
|
||||
-------------------------------------- */
|
||||
.portal-clock-back-minutes-up-left{
|
||||
background-position: 0 0;
|
||||
margin: 0 0 0 43px;
|
||||
}
|
||||
|
||||
.portal-clock-back-minutes-up-right {
|
||||
background-position: 0 -43px;
|
||||
margin: 0 0 0 64px;
|
||||
}
|
||||
|
||||
.portal-clock-front-minutes-up-left {
|
||||
background-position: 0 0;
|
||||
margin: 0 0 0 43px;
|
||||
}
|
||||
|
||||
.portal-clock-front-minutes-up-right {
|
||||
background-position: 0 -43px;
|
||||
margin: 0 0 0 63px;
|
||||
}
|
||||
|
||||
.portal-clock-back-minutes-down-left{
|
||||
background-position: 0 -22px;
|
||||
margin: 21px 0 0 43px;
|
||||
}
|
||||
|
||||
.portal-clock-back-minutes-down-right {
|
||||
background-position: 0 -65px;
|
||||
margin: 21px 0 0 64px;
|
||||
}
|
||||
|
||||
.portal-clock-front-minutes-down-left {
|
||||
background-position: 0 -22px;
|
||||
margin: 21px 0 0 42px;
|
||||
}
|
||||
|
||||
.portal-clock-front-minutes-down-right {
|
||||
background-position: 0 -65px;
|
||||
margin: 21px 0 0 63px;
|
||||
}
|
||||
|
||||
/* Seconds start
|
||||
---------------------------------------- */
|
||||
.portal-clock-back-seconds-up-left{
|
||||
background-position: 0 0;
|
||||
margin: 0 0 0 85px;
|
||||
}
|
||||
|
||||
.portal-clock-back-seconds-up-right {
|
||||
background-position: 0 -43px;
|
||||
margin: 0 0 0 106px;
|
||||
}
|
||||
|
||||
.portal-clock-front-seconds-up-left {
|
||||
background-position: 0 0;
|
||||
margin: 0 0 0 84px;
|
||||
}
|
||||
|
||||
.portal-clock-front-seconds-up-right {
|
||||
background-position: 0 -43px;
|
||||
margin: 0 0 0 105px;
|
||||
}
|
||||
|
||||
.portal-clock-back-seconds-down-left{
|
||||
background-position: 0 -22px;
|
||||
margin: 21px 0 0 85px;
|
||||
}
|
||||
|
||||
.portal-clock-back-seconds-down-right {
|
||||
background-position: 0 -65px;
|
||||
margin: 21px 0 0 106px;
|
||||
}
|
||||
|
||||
.portal-clock-front-seconds-down-left {
|
||||
background-position: 0 -22px;
|
||||
margin: 21px 0 0 84px;
|
||||
}
|
||||
|
||||
.portal-clock-front-seconds-down-right {
|
||||
background-position: 0 -65px;
|
||||
margin: 21px 0 0 105px;
|
||||
}
|
||||
|
||||
/* Hours start
|
||||
---------------------------------------- */
|
||||
.portal-clock-back-hours-up, .portal-clock-front-hours-up {
|
||||
width: 42px;
|
||||
height: 21px;
|
||||
background: url("../../all/theme/images/portal/portal_clock_double.png") no-repeat;
|
||||
background-position: 0 0;
|
||||
vertical-align: bottom;
|
||||
display: inline-block;
|
||||
margin: 0 0 0 0;
|
||||
}
|
||||
|
||||
.portal-clock-back-hours-down, .portal-clock-front-hours-down {
|
||||
width: 42px;
|
||||
height: 20px;
|
||||
background: url("../../all/theme/images/portal/portal_clock_double.png") no-repeat;
|
||||
background-position: 0 -44px;
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
margin: 21px 0 0 0;
|
||||
}
|
||||
|
||||
@media all\0 {
|
||||
.portal-clock-back-hours-down, .portal-clock-front-hours-down {
|
||||
margin-left: -1px;
|
||||
}
|
||||
}
|
||||
|
||||
.fa-backward, .fa-forward {
|
||||
color: #3499ff;
|
||||
font-size: 1.4em;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.fa-user {
|
||||
color: #ce8600;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.icon_portal_search {
|
||||
background-image: url("../../dark_vision/theme/images/portal/icon_portal_search.gif") !important;
|
||||
background-position: left 1px;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 17px;
|
||||
}
|
||||
104
styles/dark_vision/theme/portal_responsive.css
Normal file
@@ -0,0 +1,104 @@
|
||||
@media only screen and (max-width: 1040px), only screen and (max-device-width: 1040px)
|
||||
{
|
||||
.responsive-portal-announcements dd.views { display: none !important; }
|
||||
dd.responsive-portal-announcements { display: none !important; }
|
||||
|
||||
.responsive-portal-announcements dd.posts, .responsive-portal-announcements dd.views {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
dt#a { width: 125% !important; }
|
||||
.responsive-portal-announcements dt { width: 130% !important; }
|
||||
dd.responsive-portal-news { display: none !important; }
|
||||
|
||||
.responsive-portal-news dd.posts, .responsive-portal-news dd.views {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.responsive-portal-news dt { width: 130% !important; }
|
||||
dt#n { width: 125% !important; }
|
||||
.topiclist .topics, .topiclist .posts { display: none !important; }
|
||||
#portal-forumlist dl.icon dt { width: 125% !important; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 895px), only screen and (max-device-width: 895px)
|
||||
{
|
||||
div#portal-right {
|
||||
width: 49% !important;
|
||||
margin-left: 1% !important;
|
||||
}
|
||||
|
||||
div#portal-left {
|
||||
width: 50% !important;
|
||||
margin-left: 0 !important;
|
||||
}
|
||||
|
||||
.rtl div#portal-right {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 1% !important;
|
||||
}
|
||||
|
||||
.rtl div#portal-left {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
div#portal-center {
|
||||
margin-right: 0 !important;
|
||||
margin-left: 0 !important;
|
||||
padding-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
.responsive-portal-news dt { width: 100% !important; }
|
||||
.responsive-portal-announcements dt { width: 100% !important; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||
{
|
||||
.responsive-portal-news dd.lastpost, .responsive-portal-announcements dd.lastpost { display: none !important; }
|
||||
.responsive-portal-news dt .list-inner, .responsive-portal-announcements dt .list-inner { margin-right: 0 !important; }
|
||||
.responsive-portal-news dt, .responsive-portal-announcements dt { width: 100% !important; }
|
||||
dt#n, dt#a { width: 100% !important; }
|
||||
|
||||
.portal-responsive-poll .resultbar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.portal-responsive-poll dt { width: 45% !important; }
|
||||
.portal-responsive-poll dd {
|
||||
width: 45% !important;
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.row .pagination .ellipsis + li {
|
||||
display: inline !important;
|
||||
}
|
||||
|
||||
#portal-forumlist dl.icon dt { width: 100% !important; }
|
||||
#portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; }
|
||||
.portal-responsive-show { display: block !important; }
|
||||
.portal-responsive-hide { display: none !important; }
|
||||
#portal-body { padding-top: 0 !important; }
|
||||
#portal-right > .portal-clear, #portal-body > .portal-clear, #portal-left > .portal-clear,
|
||||
#portal-center > .portal-clear, #portal-login-box .portal-clear { display: none !important; }
|
||||
#portal-right { width: 50% !important; }
|
||||
#portal-left { width: 50% !important; }
|
||||
#portal-center {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.b3p-jumpbox {
|
||||
margin: 15px auto;
|
||||
}
|
||||
.b3p-copyright {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.portal-news-pagination .pagination {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
<!-- IF U_PORTAL --><span class="crumb"><a href="{U_PORTAL}" data-navbar-reference="portal">{L_PORTAL}</a></span><!-- ENDIF -->
|
||||
<!-- IF U_PORTAL --><span class="crumb"><a href="{U_PORTAL}" data-navbar-reference="portal"><i class="icon fa-university fa-fw" aria-hidden="true"></i><span>{L_PORTAL}</span></a></span><!-- ENDIF -->
|
||||
@@ -1 +1 @@
|
||||
<!-- IF U_PORTAL --><span class="crumb"><a href="{U_PORTAL}" data-navbar-reference="portal">{L_PORTAL}</a></span><!-- ENDIF -->
|
||||
<!-- IF U_PORTAL --><span class="crumb"><a href="{U_PORTAL}" data-navbar-reference="portal"><i class="icon fa-university fa-fw" aria-hidden="true"></i><span>{L_PORTAL}</span></a></span><!-- ENDIF -->
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
<!-- Config for the center blocks //-->
|
||||
<!-- DEFINE $C_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl class="row-item"><dt>' -->
|
||||
<!-- DEFINE $C_BLOCK_H_R = '</dt><dd></dd></dl></li></ul>' -->
|
||||
<!-- DEFINE $C_BLOCK_F_L = ' ' -->
|
||||
<!-- DEFINE $C_BLOCK_H_R = '</dt><dd></dd></dl></li></ul><ul class="portal blocks">' -->
|
||||
<!-- DEFINE $C_BLOCK_F_L = '</ul>' -->
|
||||
<!-- DEFINE $C_BLOCK_F_R = '</div></div><br class="portal-clear" />' -->
|
||||
|
||||
<!-- Config for compact blocks //-->
|
||||
<!-- DEFINE $CC_BLOCK_H_L = '<div class="forabg" role="row"><div class="inner"><ul class="topiclist"><li class="header"><dl class="row-item">' -->
|
||||
<!-- DEFINE $CC_BLOCK_H_R = '</dl></li></ul>' -->
|
||||
<!-- DEFINE $CC_BLOCK_H_R = '</dl></li></ul><ul class="portal blocks">' -->
|
||||
|
||||
<!-- Images-URL //-->
|
||||
<!-- DEFINE $NO_AVATAR_IMG = '/images/no_avatar.gif' -->
|
||||
|
||||
@@ -14,11 +14,11 @@
|
||||
<a <!-- IF announcements.center_row.S_FIRST_ROW -->id="a_{$MODULE_ID}" <!-- ENDIF -->name="a_{$MODULE_ID}_{announcements.center_row.A_ID}"></a><!-- IF announcements.center_row.S_UNREAD_INFO --><a class="unread" href="{announcements.center_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}"><!-- ENDIF -->
|
||||
<i class="icon fa-file fa-fw <!-- IF announcements.center_row.S_UNREAD_INFO -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
|
||||
</a>
|
||||
<a <!-- IF announcements.center_row.S_FIRST_ROW -->id="a_{$MODULE_ID}" <!-- ENDIF -->name="a_{$MODULE_ID}_{announcements.center_row.A_ID}"></a><!-- IF announcements.center_row.S_UNREAD_INFO --><a class="unread" href="{announcements.center_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i> <!-- IF announcements.center_row.S_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i> <!-- ENDIF --><!-- IF announcements.center_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{announcements.center_row.POST_ICON_IMG}" width="{announcements.center_row.POST_ICON_IMG_WIDTH}" height="{announcements.center_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{announcements.center_row.U_VIEW_COMMENTS}"><strong>{announcements.center_row.TITLE}</strong></a>
|
||||
<a <!-- IF announcements.center_row.S_FIRST_ROW -->id="a_{$MODULE_ID}" <!-- ENDIF -->name="a_{$MODULE_ID}_{announcements.center_row.A_ID}"></a><!-- IF announcements.center_row.S_UNREAD_INFO --><a class="unread" href="{announcements.center_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><!-- IF announcements.center_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{announcements.center_row.POST_ICON_IMG}" width="{announcements.center_row.POST_ICON_IMG_WIDTH}" height="{announcements.center_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{announcements.center_row.U_VIEW_COMMENTS}"><strong>{announcements.center_row.TITLE}</strong></a>
|
||||
</h4>
|
||||
<!-- IF announcements.center_row.PAGINATION --><strong class="pagination"><span>{announcements.center_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
<ul class="linklist">
|
||||
<li>{L_POSTED} {L_POST_BY_AUTHOR}{L_COLON} {announcements.center_row.POSTER_FULL} » {announcements.center_row.TIME}</li>
|
||||
<li>{L_POSTED} {L_POST_BY_AUTHOR}{L_COLON} {announcements.center_row.POSTER_FULL} » <a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {announcements.center_row.TIME}</a></li>
|
||||
<li class="rightside"><!-- IF announcements.center_row.FORUM_NAME -->{L_FORUM}{L_COLON} <strong><a href="{announcements.center_row.U_VIEWFORUM}">{announcements.center_row.FORUM_NAME}</a></strong><!-- ELSE -->{L_GLOBAL_ANNOUNCEMENT}<!-- ENDIF --></li>
|
||||
</ul>
|
||||
<!-- IF not $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF -->
|
||||
|
||||
@@ -42,9 +42,13 @@
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show" style="display: none;">
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {announcements.center_row.USERNAME_FULL_LAST} » <a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}" title="{L_VIEW_LATEST_POST}"> {announcements.center_row.LAST_POST_TIME}</a>
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {announcements.center_row.USERNAME_FULL_LAST} » <a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {announcements.center_row.LAST_POST_TIME}</a>
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<br />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="responsive-hide">
|
||||
<!-- IF announcements.center_row.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
@@ -64,8 +68,8 @@
|
||||
<dd class="posts">{announcements.center_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||
<dd class="views">{announcements.center_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {announcements.center_row.USERNAME_FULL_LAST} <!-- IF announcements.center_row.S_UNREAD_INFO --><a href="{announcements.center_row.U_VIEW_UNREAD}" title="{L_VIEW_NEWEST_POST}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_VIEW_LATEST_POST}"><i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ENDIF --><br />
|
||||
{announcements.center_row.LAST_POST_TIME}</span>
|
||||
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {announcements.center_row.USERNAME_FULL_LAST} <!-- IF not S_IS_BOT --><!-- IF announcements.center_row.S_UNREAD_INFO --><a href="{announcements.center_row.U_VIEW_UNREAD}" title="{L_VIEW_NEWEST_POST}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ELSE --><a href="{announcements.center_row.U_LAST_COMMENTS}" title="{L_VIEW_LATEST_POST}"><i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ENDIF --><br />
|
||||
{announcements.center_row.LAST_POST_TIME}</span><!-- ENDIF -->
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
@@ -74,6 +78,7 @@
|
||||
<li class="row<!-- IF announcements.center_row.S_ROW_COUNT is even --> bg2<!-- ELSE --> bg1<!-- ENDIF --> portal-news-pagination">
|
||||
<div class="topic-actions">
|
||||
<div class="pagination">
|
||||
<span><i class="icon fa-clone fa-fw" aria-hidden="true"></i></span>
|
||||
{announcements.TOTAL_ANNOUNCEMENTS}
|
||||
<!-- IF announcements.AP_PAGE_NUMBER --><!-- IF announcements.AP_PAGINATION --> • {announcements.AP_PAGE_NUMBER} • {announcements.AP_PAGINATION}<!-- ELSE --> • {announcements.AP_PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<!-- BEGIN board3_birthday_list -->
|
||||
<span class="portal-user-icon"></span>
|
||||
<span class="portal-user-span">
|
||||
<i class="icon fa-user fa-fw" aria-hidden="true"></i>
|
||||
{board3_birthday_list.USER}
|
||||
</span>
|
||||
<span class="portal-user-annotation">
|
||||
@@ -20,7 +21,8 @@
|
||||
<!-- IF BIRTHDAYS_AHEAD_LIST -->
|
||||
<!-- BEGIN board3_birthday_ahead_list -->
|
||||
<span class="portal-user-icon"></span>
|
||||
<span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i>
|
||||
<span class="portal-user-span">
|
||||
<i class="icon fa-user fa-fw" aria-hidden="true"></i>
|
||||
<span title="{board3_birthday_ahead_list.DATE}">{board3_birthday_ahead_list.USER}</span>
|
||||
</span>
|
||||
<span class="portal-user-annotation">
|
||||
|
||||
@@ -1,42 +1,170 @@
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||
<!-- IF not B3P_CLOCK_SRC -->
|
||||
<div class="portal-clock-wrapper">
|
||||
<div class="portal-clock">
|
||||
<div class="portal-clock-back">
|
||||
<div class="portal-clock-back-upper">
|
||||
<div class="portal-clock-spacer-up"></div><div class="portal-clock-back-hours-up"></div>
|
||||
<div class="portal-clock-back-minutes-up-left" ></div><div class="portal-clock-back-minutes-up-right"></div>
|
||||
<div class="portal-clock-back-seconds-up-left"></div><div class="portal-clock-back-seconds-up-right"></div>
|
||||
</div>
|
||||
<div class="portal-clock-back-lower">
|
||||
<div class="portal-clock-spacer-down"></div><div class="portal-clock-back-hours-down"></div>
|
||||
<div class="portal-clock-back-minutes-down-left"></div><div class="portal-clock-back-minutes-down-right"></div>
|
||||
<div class="portal-clock-back-seconds-down-left"></div><div class="portal-clock-back-seconds-down-right"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portal-clock-front">
|
||||
<div class="portal-clock-front-upper">
|
||||
<div class="portal-clock-spacer-up"></div><div class="portal-clock-front-hours-up"></div>
|
||||
<div class="portal-clock-front-minutes-up-left"></div><div class="portal-clock-front-minutes-up-right"></div>
|
||||
<div class="portal-clock-front-seconds-up-left"></div><div class="portal-clock-front-seconds-up-right"></div>
|
||||
</div>
|
||||
<div class="portal-clock-front-lower">
|
||||
<div class="portal-clock-spacer-down"></div><div class="portal-clock-front-hours-down"></div>
|
||||
<div class="portal-clock-front-minutes-down-left"></div><div class="portal-clock-front-minutes-down-right"></div>
|
||||
<div class="portal-clock-front-seconds-down-left"></div><div class="portal-clock-front-seconds-down-right"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- INCLUDEJS portal/assets/jquery_easing_1_3.js -->
|
||||
<!-- INCLUDEJS portal/assets/portal_clock.js -->
|
||||
<!-- ELSE -->
|
||||
<div style="text-align: center;">
|
||||
<br />
|
||||
<object type="application/x-shockwave-flash" data="{T_EXT_THEME_PATH}/images/portal/{B3P_CLOCK_SRC}" width="140" height="140">
|
||||
<param name="wmode" value="transparent" />
|
||||
<param name="movie" value="{T_EXT_THEME_PATH}/images/portal/{B3P_CLOCK_SRC}" />
|
||||
</object>
|
||||
<style type="text/css">
|
||||
#uhr {
|
||||
position: relative;
|
||||
width: 140px;
|
||||
height: 140px;
|
||||
margin: -14px auto 0px;
|
||||
background: url("{ROOT_PATH}ext/board3/portal/styles/prosilver/theme/images/portal/football-140px.png");
|
||||
}
|
||||
|
||||
#uhr div {
|
||||
position: absolute;
|
||||
bottom: 64px;
|
||||
border-radius: 3px / 20px 20px 3px 3px;
|
||||
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.8), 0 0 1px;
|
||||
}
|
||||
|
||||
#stunden {
|
||||
left: 67px;
|
||||
height: 56px;
|
||||
width: 6px;
|
||||
-webkit-transform-origin: 3px 50px;
|
||||
transform-origin: 3px 50px;
|
||||
background: red;
|
||||
}
|
||||
|
||||
#minuten {
|
||||
left: 68px;
|
||||
height: 66px;
|
||||
width: 4px;
|
||||
-webkit-transform-origin: 2px 60px;
|
||||
transform-origin: 2px 60px;
|
||||
background: green;
|
||||
}
|
||||
|
||||
#sekunden {
|
||||
left: 69px;
|
||||
height: 74px;
|
||||
width: 2px;
|
||||
-webkit-transform-origin: 1px 68px;
|
||||
transform-origin: 1px 68px;
|
||||
background: orange;
|
||||
}
|
||||
|
||||
#uhr p {
|
||||
position: absolute;
|
||||
padding: 18px 10px;
|
||||
text-align: center;
|
||||
line-height: 300%;
|
||||
color: white;
|
||||
font-size: large;
|
||||
font-family: sans-serif;
|
||||
text-shadow: -1px -1px 1px #333,
|
||||
-1px 0px 1px #333,
|
||||
-1px 1px 1px #333,
|
||||
0px -1px 1px #333,
|
||||
0px 1px 1px #333,
|
||||
1px -1px 1px #333,
|
||||
1px 0px 1px #333,
|
||||
1px 1px 1px #333 !important;
|
||||
}
|
||||
|
||||
#uhr hr {
|
||||
width: 2px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
left: 69px;
|
||||
margin: 0;
|
||||
-webkit-transform-origin: 1px 70px;
|
||||
transform-origin: 1px 70px;
|
||||
background: white;
|
||||
border: none;
|
||||
box-shadow: 0 0 1px 1px;
|
||||
}
|
||||
|
||||
#eins {
|
||||
-webkit-transform: rotate(30deg);
|
||||
transform: rotate(30deg);
|
||||
}
|
||||
|
||||
#zwei {
|
||||
-webkit-transform: rotate(60deg);
|
||||
transform: rotate(60deg);
|
||||
}
|
||||
|
||||
#drei {
|
||||
-webkit-transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
#vier {
|
||||
-webkit-transform: rotate(120deg);
|
||||
transform: rotate(120deg);
|
||||
}
|
||||
|
||||
#fuenf {
|
||||
-webkit-transform: rotate(150deg);
|
||||
transform: rotate(150deg);
|
||||
}
|
||||
|
||||
#sechs {
|
||||
-webkit-transform: rotate(180deg);
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
#sieben {
|
||||
-webkit-transform: rotate(210deg);
|
||||
transform: rotate(210deg);
|
||||
}
|
||||
|
||||
#acht {
|
||||
-webkit-transform: rotate(240deg);
|
||||
transform: rotate(240deg);
|
||||
}
|
||||
|
||||
#neun {
|
||||
-webkit-transform: rotate(270deg);
|
||||
transform: rotate(270deg);
|
||||
}
|
||||
|
||||
#zehn {
|
||||
-webkit-transform: rotate(300deg);
|
||||
transform: rotate(300deg);
|
||||
}
|
||||
|
||||
#elf {
|
||||
-webkit-transform: rotate(330deg);
|
||||
transform: rotate(330deg);
|
||||
}
|
||||
</style>
|
||||
<div id="uhr">
|
||||
<hr id="null"/>
|
||||
<hr id="eins"/>
|
||||
<hr id="zwei"/>
|
||||
<hr id="drei"/>
|
||||
<hr id="vier"/>
|
||||
<hr id="fuenf"/>
|
||||
<hr id="sechs"/>
|
||||
<hr id="sieben"/>
|
||||
<hr id="acht"/>
|
||||
<hr id="neun"/>
|
||||
<hr id="zehn"/>
|
||||
<hr id="elf"/>
|
||||
<p>{SITENAME}</p>
|
||||
<div id="stunden">
|
||||
</div>
|
||||
<div id="minuten">
|
||||
</div>
|
||||
<div id="sekunden">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
function uhr() {
|
||||
window.setInterval("zeit()", 1000);
|
||||
}
|
||||
function zeit() {
|
||||
var datum = new Date();
|
||||
document.getElementById("stunden").style.webkitTransform = "rotate(" + (datum.getHours() * 30 + datum.getMinutes() / 4) + "deg)";
|
||||
document.getElementById("minuten").style.webkitTransform = "rotate(" + (datum.getMinutes() * 6 + datum.getSeconds() / 10) + "deg)";
|
||||
document.getElementById("sekunden").style.webkitTransform = "rotate(" + datum.getSeconds() * 6 + "deg)";
|
||||
document.getElementById("stunden").style.transform = "rotate(" + (datum.getHours() * 30 + datum.getMinutes() / 4) + "deg)";
|
||||
document.getElementById("minuten").style.transform = "rotate(" + (datum.getMinutes() * 6 + datum.getSeconds() / 10) + "deg)";
|
||||
document.getElementById("sekunden").style.transform = "rotate(" + datum.getSeconds() * 6 + "deg)";
|
||||
}
|
||||
uhr();
|
||||
</script>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||
<strong style="color:green<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->; float: right;<!-- ENDIF -->">{L_FRIENDS_ONLINE}</strong><br />
|
||||
<!-- BEGIN b3p_friends_online -->
|
||||
<span class="portal-user-icon"></span><span class="portal-user-span">{b3p_friends_online.USERNAME_FULL}</span><br class="portal-clear" />
|
||||
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{b3p_friends_online.USERNAME_FULL}</span</span><br class="portal-clear" />
|
||||
<!-- BEGINELSE -->
|
||||
<span class="portal-user-span">{L_NO_FRIENDS_ONLINE}</span>
|
||||
<br class="portal-clear" />
|
||||
@@ -9,7 +9,7 @@
|
||||
<br class="portal-clear" />
|
||||
<strong style="color:red<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->; float: right;<!-- ENDIF -->">{L_FRIENDS_OFFLINE}</strong><br />
|
||||
<!-- BEGIN b3p_friends_offline -->
|
||||
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i>{b3p_friends_offline.USERNAME_FULL}</span><br class="portal-clear" />
|
||||
<span class="portal-user-icon"></span><span class="portal-user-span"><i class="icon fa-user fa-fw" aria-hidden="true"></i><span>{b3p_friends_offline.USERNAME_FULL}</span></span><br class="portal-clear" />
|
||||
<!-- BEGINELSE -->
|
||||
<span class="portal-user-span">{L_NO_FRIENDS_OFFLINE}</span>
|
||||
<!-- END b3p_friends_offline -->
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- IF S_DISPLAY_JUMPBOX -->
|
||||
<div class="jumpbox dropdown-container dropdown-container-right<!-- IF not S_IN_MCP --> dropdown-up<!-- ENDIF --> dropdown-{S_CONTENT_FLOW_BEGIN} dropdown-button-control" id="jumpbox">
|
||||
<div class="jumpbox b3p-jumpbox dropdown-container dropdown-container-right<!-- IF not S_IN_MCP --> dropdown-up<!-- ENDIF --> dropdown-{S_CONTENT_FLOW_BEGIN} dropdown-button-control" id="jumpbox">
|
||||
<span title="<!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->" class="button button-secondary dropdown-trigger dropdown-select">
|
||||
<span><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF --></span>
|
||||
<span class="caret"><i class="icon fa-sort-down fa-fw" aria-hidden="true"></i></span>
|
||||
|
||||
@@ -17,6 +17,8 @@
|
||||
<br />
|
||||
<input type="hidden" name="redirect" value="{U_PORTAL_REDIRECT}" />
|
||||
<input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" />
|
||||
{S_LOGIN_REDIRECT}
|
||||
{S_FORM_TOKEN_LOGIN}
|
||||
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
|
||||
</div>
|
||||
</form>
|
||||
@@ -3,7 +3,6 @@
|
||||
<!-- BEGIN news -->
|
||||
<!-- IF news.MODULE_ID eq $MODULE_ID -->
|
||||
<!-- BEGIN news_row -->
|
||||
<!-- IF news.news_row.S_FIRST_ROW --><a id="n_{$MODULE_ID}"></a><!-- ENDIF -->
|
||||
<!-- IF news.news_row.S_NO_TOPICS -->
|
||||
<div class="post bg2">
|
||||
<div class="inner">
|
||||
@@ -13,10 +12,15 @@
|
||||
<!-- ELSE -->
|
||||
<div class="post <!-- IF news.news_row.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||
<div class="inner">
|
||||
<h4 class="first"><a id="n_{$MODULE_ID}_{news.news_row.N_ID}"></a><!-- IF news.news_row.S_UNREAD_INFO --><a href="{news.news_row.U_VIEW_UNREAD}">{NEWEST_POST_IMG}</a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}">{READ_POST_IMG}</a><!-- ENDIF --> {news.news_row.ATTACH_ICON_IMG} <!-- IF news.news_row.S_POLL --><strong>{L_VIEW_TOPIC_POLL}</strong><!-- ENDIF --><!-- IF news.news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news.news_row.TOPIC_ICON_IMG}" width="{news.news_row.TOPIC_ICON_IMG_WIDTH}" height="{news.news_row.TOPIC_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>{news.news_row.TITLE}</strong></a></h4>
|
||||
<h4 class="first">
|
||||
<a id="n_{$MODULE_ID}_{news.news_row.N_ID}"></a><!-- IF news.news_row.S_UNREAD_INFO --><a href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"><!-- ENDIF -->
|
||||
<i class="icon fa-file fa-fw <!-- IF news.news_row.S_UNREAD_INFO -->icon-red<!-- ELSE -->icon-lightgray<!-- ENDIF --> icon-md" aria-hidden="true"></i><span class="sr-only">{postrow.MINI_POST}</span>
|
||||
</a>
|
||||
<!-- IF news.news_row.S_UNREAD_INFO --><a class="unread" href="{news.news_row.U_VIEW_UNREAD}" title="{postrow.MINI_POST}"></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}"></a><!-- ENDIF --><!-- IF news.news_row.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{news.news_row.POST_ICON_IMG}" width="{news.news_row.POST_ICON_IMG_WIDTH}" height="{news.news_row.POST_ICON_IMG_HEIGHT}" alt="" /> <!-- ENDIF --><a href="{news.news_row.U_VIEW_COMMENTS}"><strong>{news.news_row.TITLE}</strong></a>
|
||||
</h4>
|
||||
<!-- IF news.news_row.PAGINATION --><strong class="pagination"><span>{news.news_row.PAGINATION}</span></strong><!-- ENDIF -->
|
||||
<ul class="linklist">
|
||||
<li>{news.POSTED_BY_TEXT} {L_POST_BY_AUTHOR}{L_COLON} {news.news_row.POSTER_FULL} » {news.news_row.TIME}</li>
|
||||
<li>{news.POSTED_BY_TEXT} {L_POST_BY_AUTHOR}{L_COLON} {news.news_row.POSTER_FULL} » <a href="{news.news_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {news.news_row.TIME}</a></li>
|
||||
<li class="rightside">{L_FORUM}{L_COLON} <strong><a href="{news.news_row.U_VIEWFORUM}">{news.news_row.FORUM_NAME}</a></strong></li>
|
||||
</ul>
|
||||
<!-- IF not $S_POSTBODY_TOP --><div class="postbody portal-module-postbody"><!-- ENDIF -->
|
||||
@@ -34,7 +38,12 @@
|
||||
<br class="portal-clear" />
|
||||
<span class="portal-title-span">{L_TOPIC_VIEWS}{L_COLON} {news.news_row.TOPIC_VIEWS} • <a href="{news.news_row.U_VIEW_COMMENTS}" title="{L_VIEW_COMMENTS}">{L_COMMENTS}{L_COLON} {news.news_row.REPLIES}</a> • <a href="{news.news_row.U_POST_COMMENT}">{L_PORTAL_POST_REPLY}</a></span>
|
||||
<span class="portal-read-all-link">{news.news_row.OPEN}<a href="{news.news_row.U_READ_FULL}">{news.news_row.L_READ_FULL}</a>{news.news_row.CLOSE}</span>
|
||||
<div class="back2top"><a href="#wrap" class="top" title="{L_BACK_TO_TOP}">{L_BACK_TO_TOP}</a></div>
|
||||
<div class="back2top">
|
||||
<a href="#top" class="top" title="{L_BACK_TO_TOP}">
|
||||
<i class="icon fa-chevron-circle-up fa-fw icon-gray" aria-hidden="true"></i>
|
||||
<span class="sr-only">{L_BACK_TO_TOP}</span>
|
||||
</a>
|
||||
</div>
|
||||
<!-- IF news.news_row.S_NOT_LAST --><br class="portal-clear" /><!-- ENDIF -->
|
||||
<!-- IF news.news_row.S_LAST_ROW -->
|
||||
<!-- IF not news.news_row.S_NO_TOPICS -->
|
||||
|
||||
@@ -42,27 +42,31 @@
|
||||
</ul>
|
||||
</div>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not S_IS_BOT -->
|
||||
<div class="responsive-show" style="display: none;">
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {news.news_row.USERNAME_FULL_LAST} » <a href="{news.news_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}" title="{L_VIEW_LATEST_POST}"> {news.news_row.LAST_POST_TIME}</a>
|
||||
{L_LAST_POST} {L_POST_BY_AUTHOR} {news.news_row.USERNAME_FULL_LAST} » <a href="{news.news_row.U_LAST_COMMENTS}" title="{L_GOTO_LAST_POST}"> {news.news_row.LAST_POST_TIME}</a>
|
||||
</div>
|
||||
<!-- ELSE -->
|
||||
<br />
|
||||
<!-- ENDIF -->
|
||||
|
||||
<div class="responsive-hide">
|
||||
<!-- IF news.news_row.ATTACH_ICON_IMG --><i class="icon fa-paperclip fa-fw" aria-hidden="true"></i><!-- ENDIF -->
|
||||
<!-- IF news.news_row.S_POLL --><i class="icon fa-bar-chart fa-fw" aria-hidden="true"></i> <!-- ENDIF -->
|
||||
{L_POST_BY_AUTHOR} {news.news_row.POSTER_FULL} » {news.news_row.TIME}
|
||||
{L_POSTED} {L_POST_BY_AUTHOR} {news.news_row.POSTER_FULL} » {news.news_row.TIME}
|
||||
</div>
|
||||
<!-- IF news.news_row.FORUM_NAME -->
|
||||
{L_FORUM}{L_COLON} <a href="{news.news_row.U_VIEWFORUM}" class="portal-forumtitle">{news.news_row.FORUM_NAME}</a>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF not news.S_DISPLAY_NEWS_RVS --><!-- IF news.news_row.FORUM_NAME -->• <!-- ENDIF -->{L_REPLIES}{L_COLON} <strong>{news.news_row.REPLIES}</strong> • {L_VIEWS}{L_COLON} <strong>{news.news_row.TOPIC_VIEWS}</strong><!-- ENDIF -->
|
||||
</div> <!-- \END <div class="list-inner"> -->
|
||||
</div>
|
||||
</dt>
|
||||
<!-- IF news.S_DISPLAY_NEWS_RVS -->
|
||||
<dd class="posts" data-skip-responsive="true">{news.news_row.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||
<dd class="views" data-skip-responsive="true">{news.news_row.TOPIC_VIEWS} <dfn>{L_VIEWS}</dfn></dd>
|
||||
<!-- ENDIF -->
|
||||
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {news.news_row.USERNAME_FULL_LAST} <!-- IF news.news_row.S_UNREAD_INFO --><a href="{news.news_row.U_VIEW_UNREAD}" title="{L_VIEW_NEWEST_POST}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}" title="{L_VIEW_LATEST_POST}"><i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ENDIF --><br />
|
||||
{news.news_row.LAST_POST_TIME}</span>
|
||||
<dd class="lastpost"><span><dfn>{L_LAST_POST}</dfn>{L_POST_BY_AUTHOR} {news.news_row.USERNAME_FULL_LAST} <!-- IF not S_IS_BOT --><!-- IF news.news_row.S_UNREAD_INFO --><a href="{news.news_row.U_VIEW_UNREAD}" title="{L_VIEW_NEWEST_POST}"><i class="icon fa-external-link-square fa-fw icon-red icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ELSE --><a href="{news.news_row.U_LAST_COMMENTS}" title="{L_VIEW_LATEST_POST}"><i class="icon fa-external-link-square fa-fw icon-lightgray icon-md" aria-hidden="true"></i><span class="sr-only">{L_VIEW_LATEST_POST}</span></a><!-- ENDIF --><br />
|
||||
{news.news_row.LAST_POST_TIME}</span><!-- ENDIF -->
|
||||
</dd>
|
||||
</dl>
|
||||
</li>
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
<div id="viewpoll" class="panel bg1 portal-no-margin">
|
||||
<div class="inner">
|
||||
<!-- BEGIN poll -->
|
||||
<!-- IF not poll.S_FIRST_ROW --><hr class="dashed" /><!-- ENDIF -->
|
||||
<!-- IF poll.S_CAN_VOTE --><form method="post" action="{poll.S_POLL_ACTION}"><!-- ENDIF -->
|
||||
<div class="content">
|
||||
<h2>{poll.POLL_QUESTION}</h2>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<!-- IF S_HAS_POLL -->
|
||||
<div id="viewpoll" class="inner">
|
||||
<!-- BEGIN poll_side -->
|
||||
<!-- IF not poll_side.S_FIRST_ROW --><hr class="dashed" /><!-- ENDIF -->
|
||||
<!-- IF poll_side.S_CAN_VOTE --><form method="post" action="{poll_side.S_POLL_ACTION}"><!-- ENDIF -->
|
||||
<div class="content">
|
||||
<h2>{poll_side.POLL_QUESTION}</h2>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||
<!-- BEGIN random_member -->
|
||||
<div class="portal-centered-content"><span class="portal-random-member-name">{random_member.USERNAME_FULL}</span><br class="portal-clear" />
|
||||
<!-- IF random_member.AVATAR_IMG --><a href="{random_member.U_VIEW_PROFILE}">{random_member.AVATAR_IMG}</a><br class="portal-clear" /><!-- ENDIF -->
|
||||
<!-- IF random_member.AVATAR_IMG --><a href="{random_member.U_VIEW_PROFILE}">{random_member.AVATAR_IMG}</a><!-- ELSEIF $NO_AVATAR_IMG --><a href="{random_member.U_VIEW_PROFILE}"><img src="{T_THEME_PATH}{$NO_AVATAR_IMG}" alt="" /></a><br class="portal-clear" /><!-- ENDIF -->
|
||||
<!-- IF random_member.RANK_TITLE --><span class="gensmall">{random_member.RANK_TITLE}</span><br class="portal-clear" /><!-- ENDIF -->
|
||||
<!-- IF random_member.RANK_IMG -->{random_member.RANK_IMG}<br class="portal-clear" /><!-- ENDIF -->
|
||||
</div>
|
||||
|
||||
@@ -49,7 +49,7 @@ function qsearch_onSubmit()
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF -->{$TITLE}{$LR_BLOCK_H_R}
|
||||
<form id="qsearch_form" method="post" action="{U_SEARCH}" onsubmit="return qsearch_onSubmit();">
|
||||
<p>
|
||||
<input type="text" tabindex="6" name="keywords" id="searchfield" maxlength="40" title="{L_SEARCH_KEYWORDS}" class="inputbox search autowidth" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
|
||||
<input type="text" tabindex="6" name="keywords" id="searchfield" maxlength="40" title="{L_SEARCH_KEYWORDS}" class="inputbox search icon_portal_search" value="<!-- IF SEARCH_WORDS-->{SEARCH_WORDS}<!-- ELSE -->{L_SEARCH_MINI}<!-- ENDIF -->" onclick="if(this.value=='{LA_SEARCH_MINI}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_MINI}';" />
|
||||
</p>
|
||||
<p>
|
||||
<select id="qsearch_select" tabindex="7">
|
||||
|
||||
49
styles/prosilver/template/portal/modules/tl_menu.html
Normal file
@@ -0,0 +1,49 @@
|
||||
<!-- $Id: football_tabs.html,v 0.9.0 2010-04-01 00:09:00Z football $ //-->
|
||||
<div class="panel bg3">
|
||||
<div class="inner"><span class="corners-top"><span></span></span>
|
||||
|
||||
<ul class="menupanel">
|
||||
<li class="menulink"><span>{S_FOOTBALL_NAME}</span></li>
|
||||
<li class="menulink row bg1"><a href="{U_BET}" role="menuitem" ><span>{L_BET}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_ALL_BETS}" role="menuitem" ><span>{L_ALL_BETS}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_RESULTS}" role="menuitem" ><span>{L_RESULTS}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_RESULTS_TL}" role="menuitem" ><span>{L_RESULTS_TL}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_TABLE}" role="menuitem" ><span>{L_TABLE}</span></a></li>
|
||||
<!-- IF S_FOOTBALL_BANK -->
|
||||
<li class="menulink row bg1"><a href="{U_FOOTBALL_BANK}" role="menuitem" ><span>{L_FOOTBALL_BANK}</span></a></li>
|
||||
<!-- ENDIF -->
|
||||
<li class="menulink row bg1"><a href="{U_RULES}" onclick="popup(this.href, 450, 650); return false;"><span>{L_RULES}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_EXPORT}" role="menuitem" ><span>{L_EXPORT}</span></a></li>
|
||||
<li class="menulink"><span>{L_STATISTICS}</span></li>
|
||||
<li class="menulink row bg1"><a href="{U_MY_BETS}" role="menuitem" ><span>{L_MY_BETS}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_MY_POINTS}" role="menuitem" ><span>{L_MY_POINTS}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_MY_TABLE}" role="menuitem" ><span>{L_MY_TABLE}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_MY_RANK}" role="menuitem" ><span>{L_MY_RANK}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_MY_CHART}" role="menuitem" ><span>{L_MY_CHART}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_MY_KOEFF}" role="menuitem" ><span>{L_MY_KOEFF}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_STAT_POINTS}" role="menuitem" ><span>{L_STAT_POINTS}</span></a></li>
|
||||
<li class="menulink row bg1"><a href="{U_STAT_RESULTS}" role="menuitem" ><span>{L_STAT_RESULTS}</span></a></li>
|
||||
<!-- IF S_MENU_FORUM1 -->
|
||||
<li class="menulink"><span>{L_FORUM}</span></li>
|
||||
<li class="menulink row bg1"><a href="{U_FORUM1}" accesskey="1">{S_FORUM1_NAME}</a></li>
|
||||
<!-- IF S_MENU_FORUM2 -->
|
||||
<li class="menulink row bg1"><a href="{U_FORUM2}" accesskey="2">{S_FORUM2_NAME}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_MENU_FORUM3 -->
|
||||
<li class="menulink row bg1"><a href="{U_FORUM3}" accesskey="3">{S_FORUM3_NAME}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_MENU_FORUM4 -->
|
||||
<li class="menulink row bg1"><a href="{U_FORUM4}" accesskey="4">{S_FORUM4_NAME}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_MENU_FORUM5 -->
|
||||
<li class="menulink row bg1"><a href="{U_FORUM5}" accesskey="5">{S_FORUM5_NAME}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- IF S_MENU_FORUM6 -->
|
||||
<li class="menulink row bg1"><a href="{U_FORUM6}" accesskey="6">{S_FORUM6_NAME}</a></li>
|
||||
<!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</ul>
|
||||
|
||||
<span class="corners-bottom"><span></span></span></div>
|
||||
</div>
|
||||
<br style="clear:both" />
|
||||
@@ -1,10 +1,17 @@
|
||||
{$C_BLOCK_H_L}<!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$C_BLOCK_H_R}
|
||||
<ul class="topiclist bg1">
|
||||
<li><dl><dt></dt>
|
||||
<li>
|
||||
<dl>
|
||||
<dt></dt>
|
||||
<dd class="portal-whois-online-content portal-responsive-show">
|
||||
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
|
||||
<!-- IF PORTAL_LEGEND --><br /><em>{L_LEGEND}{L_COLON} {PORTAL_LEGEND}</em><!-- ENDIF --></p>
|
||||
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br />
|
||||
<!-- IF U_VIEWONLINE -->
|
||||
<br />{LOGGED_IN_USER_LIST}
|
||||
<!-- IF PORTAL_LEGEND --><br /><em>{L_LEGEND}{L_COLON} {PORTAL_LEGEND}</em><!-- ENDIF -->
|
||||
<!-- ENDIF -->
|
||||
</p>
|
||||
</dd>
|
||||
</dl></li>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
{$C_BLOCK_F_L}{$C_BLOCK_F_R}
|
||||
@@ -1,5 +1,9 @@
|
||||
{$LR_BLOCK_H_L}<!-- IF $S_BLOCK_ICON --><img src="{$IMAGE_SRC}" width="{$IMAGE_WIDTH}" height="{$IMAGE_HEIGHT}" alt="" /> <!-- ENDIF --><!-- IF U_VIEWONLINE --><a href="{U_VIEWONLINE}">{$TITLE}</a><!-- ELSE -->{$TITLE}<!-- ENDIF -->{$LR_BLOCK_H_R}
|
||||
<div class="portal-whois-online-content">
|
||||
<p>{TOTAL_USERS_ONLINE}<br /> <br />{LOGGED_IN_USER_LIST}</p>
|
||||
<p>{TOTAL_USERS_ONLINE}<br />
|
||||
<!-- IF U_VIEWONLINE -->
|
||||
<br />{LOGGED_IN_USER_LIST}
|
||||
<!-- ENDIF -->
|
||||
</p>
|
||||
</div>
|
||||
{$LR_BLOCK_F_L}{$LR_BLOCK_F_R}
|
||||
@@ -101,7 +101,7 @@
|
||||
</div>
|
||||
|
||||
<!--// board3 Portal by www.board3.de //-->
|
||||
<div class="copyright">Powered by <a href="http://www.board3.de/">Board3 Portal</a> © 2009 - 2015 Board3 Group</div>
|
||||
<div class="copyright b3p-copyright">Powered by <a href="http://www.board3.de/">Board3 Portal</a> © 2009 - 2020 Board3 Group</div>
|
||||
|
||||
<!-- INCLUDEJS portal/assets/jquery.getscrollbarwidth.js -->
|
||||
<!-- INCLUDEJS portal/assets/portal.js -->
|
||||
|
||||
BIN
styles/prosilver/theme/images/portal/football-140px.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
styles/prosilver/theme/images/portal/icon_portal_search.png
Normal file
|
After Width: | Height: | Size: 813 B |
BIN
styles/prosilver/theme/images/portal/portal_weather.png
Normal file
|
After Width: | Height: | Size: 3.4 KiB |
@@ -1,5 +1,17 @@
|
||||
/* main menu, user menu and the links */
|
||||
|
||||
.content li {
|
||||
list-style-type: inherit !important;
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style-type: disc !important;
|
||||
}
|
||||
|
||||
.portal-navigation{
|
||||
width: auto;
|
||||
}
|
||||
@@ -122,10 +134,6 @@
|
||||
min-height: 1em;
|
||||
}
|
||||
|
||||
.content li {
|
||||
list-style-type: inherit !important;
|
||||
}
|
||||
|
||||
.portal-stylechanger-select {
|
||||
width: 150px;
|
||||
}
|
||||
@@ -205,7 +213,8 @@ a.portal-forumtitle {
|
||||
}
|
||||
|
||||
.portal-poll-side-option-info {
|
||||
width: 30% !important;
|
||||
width: 58% !important;
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.portal-poll-side-checkbox {
|
||||
@@ -214,6 +223,7 @@ a.portal-forumtitle {
|
||||
|
||||
.portal-poll-side-checkbox input {
|
||||
vertical-align: top;
|
||||
margin-left: 39px;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@@ -234,6 +244,7 @@ a.portal-forumtitle {
|
||||
|
||||
.portal-calendar-days-title td, .portal-calendar-days td {
|
||||
width: 14%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.portal-calendar-days-title span {
|
||||
@@ -618,3 +629,10 @@ dd.responsive-portal-news:last-of-type, dd.responsive-portal-announcements:last-
|
||||
font-size: 1.4em;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.icon_portal_search {
|
||||
background-image: url("../../prosilver/theme/images/portal/icon_portal_search.png") !important;
|
||||
background-position: left 1px;
|
||||
background-repeat: no-repeat;
|
||||
padding-left: 17px;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
@media only screen and (max-width: 1040px), only screen and (max-device-width: 1040px)
|
||||
{
|
||||
@media (max-width: 1040px) {
|
||||
.responsive-portal-announcements dd.views { display: none !important; }
|
||||
dd.responsive-portal-announcements { display: none !important; }
|
||||
|
||||
@@ -21,8 +20,7 @@
|
||||
#portal-forumlist dl.icon dt { width: 125% !important; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 895px), only screen and (max-device-width: 895px)
|
||||
{
|
||||
@media (max-width: 895px) {
|
||||
div#portal-right {
|
||||
width: 49% !important;
|
||||
margin-left: 1% !important;
|
||||
@@ -53,8 +51,7 @@
|
||||
.responsive-portal-announcements dt { width: 100% !important; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 700px), only screen and (max-device-width: 700px)
|
||||
{
|
||||
@media (max-width: 700px) {
|
||||
.responsive-portal-news dd.lastpost, .responsive-portal-announcements dd.lastpost { display: none !important; }
|
||||
.responsive-portal-news dt .list-inner, .responsive-portal-announcements dt .list-inner { margin-right: 0 !important; }
|
||||
.responsive-portal-news dt, .responsive-portal-announcements dt { width: 100% !important; }
|
||||
@@ -70,6 +67,11 @@
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.row .pagination .ellipsis + li {
|
||||
display: inline !important;
|
||||
vertical-align: bottom !important;
|
||||
}
|
||||
|
||||
#portal-forumlist dl.icon dt { width: 100% !important; }
|
||||
#portal-left ul.topiclist dd, #portal-right ul.topiclist dd { display: block !important; }
|
||||
.portal-responsive-show { display: block !important; }
|
||||
@@ -84,4 +86,17 @@
|
||||
margin-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
.b3p-jumpbox {
|
||||
margin: 15px auto;
|
||||
}
|
||||
.b3p-copyright {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.portal-news-pagination .pagination {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,136 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_acp_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function acp_pages_data()
|
||||
{
|
||||
return array(
|
||||
array('config'),
|
||||
array('modules'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider acp_pages_data
|
||||
*/
|
||||
public function test_acp_pages($mode)
|
||||
{
|
||||
self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=' . $mode . '&sid=' . $this->sid);
|
||||
}
|
||||
|
||||
public function test_move_first_module_up()
|
||||
{
|
||||
$crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=modules&sid=' . $this->sid);
|
||||
$module_link = $crawler->filter('table')->eq(3)->filter('tr')->eq(1)->filter('a')->eq(0)->attr('href');
|
||||
preg_match('/module_id=(?:([0-9]{1,3}))/', $module_link, $output);
|
||||
$this->assertNotEmpty($output[1]);
|
||||
$module_id = $output[1];
|
||||
self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=modules&module_id=' . $module_id . '&action=move_up&sid=' . $this->sid);
|
||||
}
|
||||
|
||||
public function test_move_last_module_down()
|
||||
{
|
||||
$crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=modules&sid=' . $this->sid);
|
||||
$module_link = $crawler->filter('table')->eq(3)->filter('tr')->last()->filter('a')->eq(0)->attr('href');
|
||||
preg_match('/module_id=(?:([0-9]{1,3}))/', $module_link, $output);
|
||||
$this->assertNotEmpty($output[1]);
|
||||
$module_id = $output[1];
|
||||
self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=modules&module_id=' . $module_id . '&action=move_down&sid=' . $this->sid);
|
||||
}
|
||||
|
||||
public function test_delete_module()
|
||||
{
|
||||
$crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=modules&sid=' . $this->sid);
|
||||
$module_link = str_replace(array('./../', '%5C'), array('', '\\'), $crawler->filter('table')->eq(3)->filter('tr')->last()->filter('a')->eq(3)->attr('href'));
|
||||
$crawler = self::request('GET', $module_link);
|
||||
preg_match('/module_classname=(?:([a-z0-9\\\_]+))/', $module_link, $module_name);
|
||||
$module_name = $module_name[1];
|
||||
$this->assertContains('Are you sure you wish to delete the module', $crawler->text());
|
||||
$form = $crawler->selectButton('confirm')->form();
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContains('The module was removed successfully.', $crawler->text());
|
||||
|
||||
// Add it back
|
||||
$crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=modules&add[center]=true&module_column=2&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('submit')->form();
|
||||
$form->setValues(array('module_classname' => $module_name));
|
||||
self::submit($form);
|
||||
}
|
||||
|
||||
public function test_portal_logs()
|
||||
{
|
||||
$this->add_lang_ext('board3/portal', 'info_acp_portal');
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=config&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('submit')->form();
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('CONFIG_UPDATED', $crawler->text());
|
||||
|
||||
// Take a look at the logs
|
||||
$crawler = self::request('GET', 'adm/index.php?i=acp_logs&mode=admin&sid=' . $this->sid);
|
||||
$this->assertContains(strip_tags(html_entity_decode($this->lang('LOG_PORTAL_CONFIG', $this->lang('ACP_PORTAL_GENERAL_INFO')), ENT_COMPAT, 'UTF-8')), $crawler->text());
|
||||
}
|
||||
|
||||
public function test_portal_permissions()
|
||||
{
|
||||
$this->add_lang_ext('board3/portal', 'permissions_portal');
|
||||
$crawler = self::request('GET', 'adm/index.php?i=acp_permissions&mode=setting_group_global&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('submit')->form();
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('ACL_U_VIEW_PORTAL', $crawler->text());
|
||||
}
|
||||
|
||||
public function test_edit_menu_link()
|
||||
{
|
||||
$this->add_lang_ext('board3/portal', 'info_acp_portal');
|
||||
$crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=config&module_id=1&action=edit&id=10&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('submit')->form();
|
||||
$form->setValues(array('link_title' => 'foobar'));
|
||||
$crawler = self::submit($form);
|
||||
$crawler = self::request('GET', 'adm/index.php?i=\board3\portal\acp\portal_module&mode=config&module_id=1&sid=' . $this->sid);
|
||||
$this->assertContains('foobar', $crawler->text());
|
||||
$crawler = self::request('GET', 'app.php/portal?sid=' . $this->sid);
|
||||
$this->assertContains('foobar', $crawler->text());
|
||||
}
|
||||
|
||||
public function data_add_second_module()
|
||||
{
|
||||
return array(
|
||||
array('\board3\portal\modules\news', 2, 'center', 'The module was added successfully.'),
|
||||
array('\board3\portal\modules\news', 1, 'left', 'It is not possible to add the module to the selected column.'),
|
||||
array('\board3\portal\modules\attachments', 2, 'center', 'The module was added successfully'),
|
||||
array('\board3\portal\modules\attachments', 2, 'center', 'This module can only be added once'),
|
||||
array('\board3\portal\modules\attachments', 1, 'left', 'This module can only be added once'),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider data_add_second_module
|
||||
*/
|
||||
public function test_add_second_news($module_class, $column, $column_name, $expected_message)
|
||||
{
|
||||
$this->add_lang_ext('board3/portal', 'info_acp_portal');
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=modules&add_column=' . $column . '&add[' . $column_name . ']=add&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('submit')->form();
|
||||
$form['module_classname']->disableValidation()->select($module_class);
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContains($expected_message, $crawler->text());
|
||||
}
|
||||
}
|
||||
@@ -1,75 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_announcement_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->purge_cache();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_with_announce()
|
||||
{
|
||||
// Create topic as announcement
|
||||
$data = $this->create_topic(2, 'Portal-announce', 'This is an announcement for the portal', array(
|
||||
'topic_type' => POST_ANNOUNCE,
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
// no errors should appear on portal
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
|
||||
public function test_with_global()
|
||||
{
|
||||
// Create topic as announcement
|
||||
$data = $this->create_topic(2, 'Portal-announce-global', 'This is a global announcement for the portal', array(
|
||||
'topic_type' => POST_GLOBAL,
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
// no errors should appear on portal
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends test_with_announce
|
||||
*/
|
||||
public function test_after_announce()
|
||||
{
|
||||
$this->logout();
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
|
||||
public function test_shortened_message()
|
||||
{
|
||||
// Create topic as announcement
|
||||
$data = $this->create_topic(2, 'Portal-announce-global', str_repeat('This is a global announcement for the portal', 6), array(
|
||||
'topic_type' => POST_GLOBAL,
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
// no errors should appear on portal
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
$this->assertContains('This is a global announc ...', $crawler->text());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2014 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_birthday_list_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->purge_cache();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_setup_birthday()
|
||||
{
|
||||
$this->logout();
|
||||
$uid = $this->create_user('portal_birthday_user');
|
||||
if (!$uid)
|
||||
{
|
||||
$this->markTestIncomplete('Unable to create portal_user');
|
||||
}
|
||||
$this->login('portal_birthday_user');
|
||||
$crawler = self::request('GET', 'ucp.php?i=ucp_profile&mode=profile_info&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form->setValues(array(
|
||||
'bday_day' => date('d', time() + 86400*2),
|
||||
'bday_month' => date('m', time() + 86400*2),
|
||||
'bday_year' => date('Y', time() + 86400*2),
|
||||
));
|
||||
self::submit($form);
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends test_setup_birthday
|
||||
*/
|
||||
public function test_after_announce()
|
||||
{
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
$this->assertContains(date('d M', time() + 86400*2), $crawler->html());
|
||||
}
|
||||
}
|
||||
@@ -1,70 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2014 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_link_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_portal_link()
|
||||
{
|
||||
$crawler = self::request('GET', 'index.php?sid=' . $this->sid);
|
||||
$this->assertContains('Portal', $crawler->text());
|
||||
}
|
||||
|
||||
public function test_disabled_portal_link()
|
||||
{
|
||||
// Disable portal
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=config&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form->setValues(array(
|
||||
'config[board3_enable]' => 0,
|
||||
));
|
||||
$crawler = self::submit($form);
|
||||
|
||||
// Should be updated
|
||||
$this->assertContainsLang('CONFIG_UPDATED', $crawler->text());
|
||||
|
||||
// Look for portal link on index
|
||||
$crawler = self::request('GET', 'index.php?sid=' . $this->sid);
|
||||
$vals = $crawler->filter('#nav-breadcrumbs')->each(function (\Symfony\Component\DomCrawler\Crawler $node, $i) {
|
||||
return $node->text();
|
||||
});
|
||||
foreach ($vals as $val)
|
||||
{
|
||||
$this->assertNotContains('Portal', $val);
|
||||
}
|
||||
|
||||
// Try to access portal directly
|
||||
$crawler = self::request('GET', 'app.php/portal?sid=' . $this->sid);
|
||||
$vals = $crawler->filter('#nav-breadcrumbs')->each(function (\Symfony\Component\DomCrawler\Crawler $node, $i) {
|
||||
return $node->text();
|
||||
});
|
||||
foreach ($vals as $val)
|
||||
{
|
||||
$this->assertNotContains('Portal', $val);
|
||||
}
|
||||
|
||||
// Enable portal again
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=config&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form->setValues(array(
|
||||
'config[board3_enable]' => 1,
|
||||
));
|
||||
self::submit($form);
|
||||
}
|
||||
}
|
||||
@@ -1,84 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_no_error_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->purge_cache();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_vanilla_board()
|
||||
{
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
|
||||
public function data_portal_all_pages()
|
||||
{
|
||||
return array(
|
||||
array(1),
|
||||
array(2),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider data_portal_all_pages
|
||||
* @dependsOn test_enable_subsilver
|
||||
*/
|
||||
public function test_portal_all_pages($style_id)
|
||||
{
|
||||
$crawler = self::request('GET', 'index.php?style=' . $style_id);
|
||||
$this->assertNotContains('Menu', $crawler->text());
|
||||
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=config&sid=' . $this->sid);
|
||||
|
||||
$form = $crawler->selectButton('submit')->form(array(
|
||||
'config[board3_show_all_pages]' => 1,
|
||||
'board3_show_all_side' => 0,
|
||||
));
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('CONFIG_UPDATED', $crawler->text());
|
||||
|
||||
$crawler = self::request('GET', 'index.php?style=' . $style_id);
|
||||
$this->assertContains('Menu', $crawler->text());
|
||||
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=config&sid=' . $this->sid);
|
||||
|
||||
$form = $crawler->selectButton('submit')->form(array(
|
||||
'config[board3_show_all_pages]' => 1,
|
||||
'board3_show_all_side' => 1,
|
||||
));
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('CONFIG_UPDATED', $crawler->text());
|
||||
|
||||
$crawler = self::request('GET', 'index.php?style=' . $style_id);
|
||||
$this->assertNotContains('Board Style', $crawler->text());
|
||||
$this->assertContains('User menu', $crawler->text());
|
||||
|
||||
$crawler = self::request('GET', 'adm/index.php?i=-board3-portal-acp-portal_module&mode=config&sid=' . $this->sid);
|
||||
|
||||
$form = $crawler->selectButton('submit')->form(array(
|
||||
'config[board3_show_all_pages]' => 0,
|
||||
'board3_show_all_side' => 0,
|
||||
));
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContainsLang('CONFIG_UPDATED', $crawler->text());
|
||||
|
||||
$crawler = self::request('GET', 'index.php?style=' . $style_id);
|
||||
$this->assertNotContains('Menu', $crawler->text());
|
||||
}
|
||||
}
|
||||
@@ -1,59 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_redirect_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_redirect()
|
||||
{
|
||||
if (function_exists('apache_get_modules'))
|
||||
{
|
||||
$modules = apache_get_modules();
|
||||
$mod_rewrite = in_array('mod_rewrite', $modules);
|
||||
}
|
||||
else
|
||||
{
|
||||
$mod_rewrite = (getenv('HTTP_MOD_REWRITE')=='On') ? true : false;
|
||||
}
|
||||
|
||||
if ($mod_rewrite)
|
||||
{
|
||||
$crawler = self::request('GET', '');
|
||||
$this->assertContains('Board3 Portal', $crawler->text());
|
||||
}
|
||||
}
|
||||
|
||||
public function test_redirect_after_login()
|
||||
{
|
||||
// Make sure we are logged out
|
||||
$this->logout();
|
||||
|
||||
$crawler = self::request('GET', 'app.php/portal?sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('Login')->form();
|
||||
$form->setValues(array(
|
||||
'username' => 'admin',
|
||||
'password' => 'adminadmin',
|
||||
));
|
||||
|
||||
$crawler = self::submit($form);
|
||||
|
||||
// Should be redirected to portal and logged in
|
||||
$this->assertContains('Site Admin', $crawler->text());
|
||||
}
|
||||
}
|
||||
@@ -1,187 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_visit_registered_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_vanilla_board()
|
||||
{
|
||||
$this->logout();
|
||||
$uid = $this->create_user('portal_user');
|
||||
if (!$uid)
|
||||
{
|
||||
$this->markTestIncomplete('Unable to create portal_user');
|
||||
}
|
||||
$this->login('portal_user');
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
|
||||
public function test_with_announce()
|
||||
{
|
||||
// Create topic as announcement
|
||||
$data = $this->create_topic(2, 'Portal-announce', 'This is an announcement for the portal', array(
|
||||
'topic_type' => POST_ANNOUNCE,
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
// no errors should appear on portal
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
|
||||
public function test_with_global()
|
||||
{
|
||||
// Create topic as announcement
|
||||
$data = $this->create_topic(2, 'Portal-announce-global', 'This is a global announcement for the portal', array(
|
||||
'topic_type' => POST_GLOBAL,
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
// no errors should appear on portal
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends test_with_announce
|
||||
*/
|
||||
public function test_after_announce()
|
||||
{
|
||||
$this->logout();
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
|
||||
public function test_with_poll()
|
||||
{
|
||||
// Create topic with poll
|
||||
$data = $this->create_topic(2, 'Portal-poll', 'This is a poll for the portal', array(
|
||||
'poll_title' => 'Is this a poll?',
|
||||
'poll_option_text' => "Yes\nNo\nMaybe",
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
$form = $crawler->selectButton('Submit vote')->form();
|
||||
$form->setValues(array('vote_id' => array(1)));
|
||||
self::submit($form);
|
||||
|
||||
// no errors should appear on portal
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends test_with_poll
|
||||
*/
|
||||
public function test_after_poll()
|
||||
{
|
||||
$this->logout();
|
||||
self::request('GET', 'app.php/portal');
|
||||
}
|
||||
|
||||
public function test_whois_online_legend()
|
||||
{
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
|
||||
$legend = $crawler->filter('dd.portal-responsive-show p em')->text();
|
||||
$this->assertContains('Administrators', $legend);
|
||||
$this->assertContains('Global moderators', $legend);
|
||||
}
|
||||
|
||||
public function test_setup_hidden_forum()
|
||||
{
|
||||
$this->logout();
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
$crawler = self::request('GET', 'adm/index.php?i=acp_forums&mode=manage&parent_id=1&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('Create new forum')->form();
|
||||
$form->setValues(array('forum_name' => 'Hidden forum'));
|
||||
$crawler = self::submit($form);
|
||||
|
||||
// Create the forum
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$form['forum_perm_from']->select(2);
|
||||
$crawler = self::submit($form);
|
||||
$this->assertContains('Forum created successfully', $crawler->text());
|
||||
|
||||
// Hide forum using permissions from registered users
|
||||
$crawler = self::request('GET', 'adm/index.php?i=acp_permissions&mode=setting_group_local&sid=' . $this->sid);
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$group_id = 0;
|
||||
$crawler->filter('option')->each(function ($node) use (&$group_id) {
|
||||
if ($node->text() === 'Registered users')
|
||||
{
|
||||
$group_id = $node->attr('value');
|
||||
}
|
||||
});
|
||||
$form->setValues(array('group_id[0]' => $group_id));
|
||||
$crawler = self::submit($form);
|
||||
$form = $crawler->selectButton('Submit')->form();
|
||||
$forum_id = 0;
|
||||
$crawler->filter('option')->each(function ($node) use (&$forum_id) {
|
||||
if (strpos($node->text(), 'Hidden forum') !== false)
|
||||
{
|
||||
$forum_id = $node->attr('value');
|
||||
}
|
||||
});
|
||||
$form['forum_id']->select($forum_id);
|
||||
$crawler = self::submit($form);
|
||||
$form = $crawler->selectButton('Apply all permissions')->form();
|
||||
$role_id = 0;
|
||||
$crawler->filter('li')->each(function ($node) use (&$role_id) {
|
||||
if ($node->text() === 'No Access')
|
||||
{
|
||||
$role_id = $node->attr('data-id');
|
||||
}
|
||||
});
|
||||
|
||||
$db = $this->get_db();
|
||||
$sql = 'DELETE FROM ' . ACL_GROUPS_TABLE . "
|
||||
WHERE group_id = {$group_id}
|
||||
AND forum_id = {$forum_id}";
|
||||
$db->sql_query($sql);
|
||||
$sql = 'INSERT INTO ' . ACL_GROUPS_TABLE . " (group_id, forum_id, auth_option_id, auth_role_id, auth_setting)
|
||||
VALUES({$group_id}, {$forum_id}, 0, {$role_id}, 0)";
|
||||
$db->sql_query($sql);
|
||||
|
||||
// Create standard registered user
|
||||
$this->create_user('standard-user');
|
||||
$this->add_user_group('REGISTERED_USERS', array('standard-user'));
|
||||
$this->remove_user_group('NEWLY_REGISTERED_USERS', array('standard-user'));
|
||||
|
||||
// Create topic in hidden forum
|
||||
$this->create_topic($forum_id, 'Hidden topic', 'Very very hidden topic (for registered users that is)');
|
||||
}
|
||||
|
||||
/**
|
||||
* @dependsOn test_setup_hidden_forum
|
||||
*/
|
||||
public function test_news_with_hidden_forum()
|
||||
{
|
||||
$this->logout();
|
||||
$this->login('standard-user');
|
||||
$crawler = self::request('GET', 'index.php');
|
||||
$this->assertNotContains('Hidden forum', $crawler->text());
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
$this->assertNotContains('Hidden topic', $crawler->text());
|
||||
}
|
||||
}
|
||||
@@ -1,51 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2013 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
/**
|
||||
* @group functional
|
||||
*/
|
||||
class phpbb_functional_portal_vote_poll_test extends \board3\portal\tests\testframework\functional_test_case
|
||||
{
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
|
||||
$this->login();
|
||||
$this->admin_login();
|
||||
}
|
||||
|
||||
public function test_with_poll()
|
||||
{
|
||||
// Create topic with poll
|
||||
$data = $this->create_topic(2, 'Portal-poll', 'This is a [b]poll[/b] for the portal', array(
|
||||
'poll_title' => 'Is this a poll?',
|
||||
'poll_option_text' => "Yes\nN[b]o[/b]\nMaybe",
|
||||
));
|
||||
|
||||
if (isset($data))
|
||||
{
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
$form = $crawler->selectButton('Submit vote')->form();
|
||||
$form->setValues(array('vote_id' => array(1)));
|
||||
$crawler = self::submit($form);
|
||||
|
||||
// no errors should appear on portal
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @depends test_with_poll
|
||||
*/
|
||||
public function test_after_poll()
|
||||
{
|
||||
$this->logout();
|
||||
$crawler = self::request('GET', 'app.php/portal');
|
||||
}
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace board3\portal\modules;
|
||||
|
||||
abstract class check_form_key
|
||||
{
|
||||
static public $form_key_valid = false;
|
||||
}
|
||||
|
||||
function check_form_key($value)
|
||||
{
|
||||
return check_form_key::$form_key_valid;
|
||||
}
|
||||
@@ -1,179 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2012 phpBB Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||
use Symfony\Component\DependencyInjection\ScopeInterface;
|
||||
|
||||
class phpbb_mock_container_builder implements ContainerInterface
|
||||
{
|
||||
protected $services = array();
|
||||
protected $parameters = array();
|
||||
|
||||
/**
|
||||
* Sets a service.
|
||||
*
|
||||
* @param string $id The service identifier
|
||||
* @param object $service The service instance
|
||||
* @param string $scope The scope of the service
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function set($id, $service, $scope = self::SCOPE_CONTAINER)
|
||||
{
|
||||
$this->services[$id] = $service;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a service.
|
||||
*
|
||||
* @param string $id The service identifier
|
||||
* @param int $invalidBehavior The behavior when the service does not exist
|
||||
*
|
||||
* @return object The associated service
|
||||
*
|
||||
* @throws InvalidArgumentException if the service is not defined
|
||||
* @throws ServiceCircularReferenceException When a circular reference is detected
|
||||
* @throws ServiceNotFoundException When the service is not defined
|
||||
*
|
||||
* @see Reference
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE)
|
||||
{
|
||||
if ($this->has($id))
|
||||
{
|
||||
return $this->services[$id];
|
||||
}
|
||||
|
||||
throw new Exception('Could not find service: ' . $id);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if the given service is defined.
|
||||
*
|
||||
* @param string $id The service identifier
|
||||
*
|
||||
* @return Boolean true if the service is defined, false otherwise
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function has($id)
|
||||
{
|
||||
return isset($this->services[$id]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a parameter.
|
||||
*
|
||||
* @param string $name The parameter name
|
||||
*
|
||||
* @return mixed The parameter value
|
||||
*
|
||||
* @throws InvalidArgumentException if the parameter is not defined
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function getParameter($name)
|
||||
{
|
||||
if ($this->hasParameter($name))
|
||||
{
|
||||
return $this->parameters[$name];
|
||||
}
|
||||
|
||||
throw new Exception('Could not find parameter: ' . $name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks if a parameter exists.
|
||||
*
|
||||
* @param string $name The parameter name
|
||||
*
|
||||
* @return Boolean The presence of parameter in container
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function hasParameter($name)
|
||||
{
|
||||
return isset($this->parameters[$name]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets a parameter.
|
||||
*
|
||||
* @param string $name The parameter name
|
||||
* @param mixed $value The parameter value
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function setParameter($name, $value)
|
||||
{
|
||||
$this->parameters[$name] = $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enters the given scope
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function enterScope($name)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Leaves the current scope, and re-enters the parent scope
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function leaveScope($name)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a scope to the container
|
||||
*
|
||||
* @param ScopeInterface $scope
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function addScope(ScopeInterface $scope)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether this container has the given scope
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return Boolean
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function hasScope($name)
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether the given scope is currently active.
|
||||
*
|
||||
* It does however not check if the scope actually exists.
|
||||
*
|
||||
* @param string $name
|
||||
*
|
||||
* @return Boolean
|
||||
*
|
||||
* @api
|
||||
*/
|
||||
public function isScopeActive($name)
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -1,35 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) 2015 Board3 Group
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace board3\portal\tests\mock;
|
||||
|
||||
class controller_helper
|
||||
{
|
||||
protected $phpbb_root_path;
|
||||
|
||||
protected $php_ext;
|
||||
|
||||
protected $routes;
|
||||
|
||||
public function __construct($phpbb_root_path, $php_ext)
|
||||
{
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->php_ext = $php_ext;
|
||||
}
|
||||
|
||||
public function add_route($name, $url)
|
||||
{
|
||||
$this->routes[$name] = $url;
|
||||
}
|
||||
|
||||
public function route($route)
|
||||
{
|
||||
return append_sid("{$this->phpbb_root_path}app.{$this->php_ext}/{$this->routes[$route]}");
|
||||
}
|
||||
}
|
||||
@@ -1,76 +0,0 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @package testing
|
||||
* @copyright (c) Board3 Group ( www.board3.de )
|
||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||
*
|
||||
*/
|
||||
|
||||
namespace board3\portal\tests\mock;
|
||||
|
||||
class template
|
||||
{
|
||||
protected $data = array();
|
||||
|
||||
protected $test_case;
|
||||
|
||||
public function __construct($test_case)
|
||||
{
|
||||
$this->test_case = $test_case;
|
||||
}
|
||||
|
||||
public function assign_block_vars($row, $values)
|
||||
{
|
||||
$this->test_case->assertEquals(true, is_array($values));
|
||||
|
||||
if (!isset($this->data[$row]))
|
||||
{
|
||||
$this->data[$row] = array();
|
||||
}
|
||||
|
||||
$index = (sizeof($this->data[$row])) ? sizeof($this->data[$row]) : 0;
|
||||
foreach ($values as $key => $column)
|
||||
{
|
||||
$this->test_case->assertArrayNotHasKey($key, $this->data[$row]);
|
||||
if (!isset($this->data[$row][$index]))
|
||||
{
|
||||
$this->data[$row][$index] = array();
|
||||
}
|
||||
$this->data[$row][$index][$key] = $column;
|
||||
}
|
||||
}
|
||||
|
||||
public function assign_vars($vars)
|
||||
{
|
||||
$this->data = array_merge($this->data, $vars);
|
||||
}
|
||||
|
||||
public function assign_var($key, $var)
|
||||
{
|
||||
$this->data[$key] = $var;
|
||||
}
|
||||
|
||||
public function assert_equals($data, $row)
|
||||
{
|
||||
foreach ($data as $key => $value)
|
||||
{
|
||||
$this->test_case->assertEquals($value, $this->data[$row][$key]);
|
||||
}
|
||||
}
|
||||
|
||||
public function assert_same($expected, $row)
|
||||
{
|
||||
$this->test_case->assertSame($expected, $this->data[$row]);
|
||||
}
|
||||
|
||||
public function delete_var($key)
|
||||
{
|
||||
unset($this->data[$key]);
|
||||
}
|
||||
|
||||
public function get_row($row)
|
||||
{
|
||||
return $this->data[$row];
|
||||
}
|
||||
}
|
||||