Compare commits
895 Commits
v2.0.0b1
...
v2.1.0-RC1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4d1f24d15c | ||
|
|
eb152add05 | ||
|
|
7e7b593660 | ||
|
|
c6896d5e01 | ||
|
|
876e0e95de | ||
|
|
420d389c27 | ||
|
|
333ee274b5 | ||
|
|
c07de94fe2 | ||
|
|
5f55b9026b | ||
|
|
e26ffa88b8 | ||
|
|
88f8f0653a | ||
|
|
aa9421f1a1 | ||
|
|
cb58112c69 | ||
|
|
8628755c07 | ||
|
|
25a957ebf6 | ||
|
|
8dbce81126 | ||
|
|
48ce1c60ff | ||
|
|
2d55bc5ea3 | ||
|
|
b921300708 | ||
|
|
70fd4543fc | ||
|
|
b6f582fac0 | ||
|
|
11ae5cbeab | ||
|
|
1d45ead71f | ||
|
|
e786543335 | ||
|
|
aec2d84d99 | ||
|
|
a904754ebb | ||
|
|
eeac9c1813 | ||
|
|
97ce6579a8 | ||
|
|
a1fe498049 | ||
|
|
c2d7ff2254 | ||
|
|
219be1f402 | ||
|
|
d399a2e4c4 | ||
|
|
81b4087da4 | ||
|
|
dc09f6f072 | ||
|
|
f4a8f10ba3 | ||
|
|
e44ecc137e | ||
|
|
f6a5de7062 | ||
|
|
0d27ba0f84 | ||
|
|
7298b58399 | ||
|
|
1099a2cd2f | ||
|
|
6032016631 | ||
|
|
c87709a741 | ||
|
|
dacb445b51 | ||
|
|
e902fc2090 | ||
|
|
4a490385c8 | ||
|
|
4c5c068adc | ||
|
|
fc395182e3 | ||
|
|
d71380e88b | ||
|
|
ecef40e3a1 | ||
|
|
8efbe99abc | ||
|
|
6588def851 | ||
|
|
797abf5367 | ||
|
|
7486dc94d0 | ||
|
|
612a8e5f78 | ||
|
|
76df8a08b5 | ||
|
|
ed8644facb | ||
|
|
b9689cad2c | ||
|
|
0069fe1850 | ||
|
|
a3bba23b23 | ||
|
|
b4a029a0b0 | ||
|
|
172a985595 | ||
|
|
88696e0863 | ||
|
|
61fc372bb0 | ||
|
|
16df69fac3 | ||
|
|
5579ea1043 | ||
|
|
a3de2c8f23 | ||
|
|
0aa26d9e3f | ||
|
|
cf23e694a3 | ||
|
|
cddf5d2922 | ||
|
|
758ae3c414 | ||
|
|
f737eded48 | ||
|
|
351ab0494e | ||
|
|
fbe9915c15 | ||
|
|
d7fa0ae6aa | ||
|
|
c80c412563 | ||
|
|
14d39ae961 | ||
|
|
1c47512066 | ||
|
|
05777c0812 | ||
|
|
2d40c6060a | ||
|
|
5fbe4f5d5f | ||
|
|
29ebc6230b | ||
|
|
5f04c9a2bb | ||
|
|
a4336cfff2 | ||
|
|
b402df024d | ||
|
|
7e6ba60948 | ||
|
|
51e94518f4 | ||
|
|
361c0d9729 | ||
|
|
2c951d8c4b | ||
|
|
aa6e53812b | ||
|
|
e39eefded5 | ||
|
|
41f6d77b7f | ||
|
|
9a60ff9306 | ||
|
|
e9c8ffe28f | ||
|
|
2eaefd0b6a | ||
|
|
b739cce3eb | ||
|
|
1afb392199 | ||
|
|
c2bb81dbd6 | ||
|
|
1a761b75e8 | ||
|
|
4e1bce320e | ||
|
|
436a2d7255 | ||
|
|
d9ea2e4dda | ||
|
|
da83856c00 | ||
|
|
7107660669 | ||
|
|
099a089145 | ||
|
|
d6815f7468 | ||
|
|
1aa5cffac6 | ||
|
|
3f1a4ed2f1 | ||
|
|
08a10d7866 | ||
|
|
4b3b1d2a1c | ||
|
|
3d9ec1a134 | ||
|
|
1301541e03 | ||
|
|
49cc27c7c9 | ||
|
|
0d27f01ec4 | ||
|
|
b0830f2eae | ||
|
|
75ae957684 | ||
|
|
e0c404a059 | ||
|
|
04e9b20871 | ||
|
|
46a7f142cd | ||
|
|
8418e01c56 | ||
|
|
cd1f77a48a | ||
|
|
47e178b564 | ||
|
|
2227998de5 | ||
|
|
8fb01f997d | ||
|
|
d7343e2b3d | ||
|
|
7fc27b3483 | ||
|
|
8258d70f07 | ||
|
|
1a87ad3431 | ||
|
|
099beb8153 | ||
|
|
27eef620ba | ||
|
|
a277d6a08a | ||
|
|
068691f8c5 | ||
|
|
c919f92446 | ||
|
|
4e16c7bd1b | ||
|
|
fc6b1ef5b0 | ||
|
|
c7fa3e3bdd | ||
|
|
b6e39159b7 | ||
|
|
5c35cb9cf8 | ||
|
|
db7ad0361d | ||
|
|
f737a7d683 | ||
|
|
917eb48e07 | ||
|
|
52c668eba1 | ||
|
|
55c4a06f99 | ||
|
|
b8266eed8d | ||
|
|
b1dcd62fb2 | ||
|
|
bfec89846b | ||
|
|
8724215bad | ||
|
|
ac8686179d | ||
|
|
309bc6da45 | ||
|
|
c96627ac85 | ||
|
|
048968ae66 | ||
|
|
0451caed38 | ||
|
|
c3366f746a | ||
|
|
fab235065f | ||
|
|
f0f8b85280 | ||
|
|
3f87caf3f3 | ||
|
|
8e232cec9d | ||
|
|
ff26914f72 | ||
|
|
f8fa912342 | ||
|
|
61ec0eecf7 | ||
|
|
c02d214f85 | ||
|
|
7d6df389ed | ||
|
|
5a285050a7 | ||
|
|
58b1d818d4 | ||
|
|
dac1b2bcaa | ||
|
|
7556ddfc3d | ||
|
|
a61eab4b36 | ||
|
|
d81fc02ddb | ||
|
|
ec858672d2 | ||
|
|
a05ffcba13 | ||
|
|
39a14ea788 | ||
|
|
ed33e19f4b | ||
|
|
c89d0c0d4f | ||
|
|
555b02fd16 | ||
|
|
fa6f292365 | ||
|
|
cf4f2209ff | ||
|
|
a031bd611e | ||
|
|
5eceecf442 | ||
|
|
61584baed7 | ||
|
|
49707925b6 | ||
|
|
3e0ff080bb | ||
|
|
85d4d85ee5 | ||
|
|
dfc78cafd6 | ||
|
|
3fa1e7c745 | ||
|
|
83da7e0f23 | ||
|
|
1e1af5f883 | ||
|
|
acdc7adbd7 | ||
|
|
4d7cc18c43 | ||
|
|
4e3ff66f2d | ||
|
|
7925d69a12 | ||
|
|
ce2d9bf90f | ||
|
|
c408f8b9c6 | ||
|
|
dfcb429278 | ||
|
|
c5020a7608 | ||
|
|
a166ae2553 | ||
|
|
4b099019e0 | ||
|
|
8567a5c931 | ||
|
|
3bc2bfd67e | ||
|
|
b98a67287c | ||
|
|
78887540a4 | ||
|
|
9fd003bb00 | ||
|
|
6b8fcf120d | ||
|
|
1d37cbec80 | ||
|
|
e8d32dd018 | ||
|
|
2203614991 | ||
|
|
ca2304abb8 | ||
|
|
50f5cfcbf3 | ||
|
|
149a92e822 | ||
|
|
2f45c5547d | ||
|
|
e3e60b3068 | ||
|
|
d41bd0eab9 | ||
|
|
2c279b71df | ||
|
|
483c621fac | ||
|
|
d554480697 | ||
|
|
7f887b872c | ||
|
|
240168e925 | ||
|
|
53a58f8a7c | ||
|
|
8479cb28ca | ||
|
|
304f7883d9 | ||
|
|
2692429e82 | ||
|
|
7732c23e3d | ||
|
|
e43cb08db6 | ||
|
|
023940466f | ||
|
|
ca59efa379 | ||
|
|
2542c5ef30 | ||
|
|
3b56ca328f | ||
|
|
86afbe6fe1 | ||
|
|
6d21c1794c | ||
|
|
e57d1f411a | ||
|
|
1978fbc48f | ||
|
|
be8593d288 | ||
|
|
7acaa371c7 | ||
|
|
fc65161989 | ||
|
|
b9d0236793 | ||
|
|
9922b6a7a7 | ||
|
|
ac88dde05b | ||
|
|
f2a6bce07b | ||
|
|
1a9dfa8a58 | ||
|
|
75d75df881 | ||
|
|
2cdc2ee211 | ||
|
|
a552a5cb8f | ||
|
|
63be896ca4 | ||
|
|
0a276c6ec6 | ||
|
|
9d678d86a9 | ||
|
|
92e17646ed | ||
|
|
c4c884bd7c | ||
|
|
aeb912a559 | ||
|
|
016bee7f72 | ||
|
|
bf7b8eb99b | ||
|
|
f4fd6f73e0 | ||
|
|
cefd447a67 | ||
|
|
496fb8b60b | ||
|
|
0e7d1b01cc | ||
|
|
a7c4e6b5ab | ||
|
|
252e1de3a5 | ||
|
|
830305267a | ||
|
|
f46328889f | ||
|
|
3a35acd1b6 | ||
|
|
d7fadc322e | ||
|
|
3f738233fd | ||
|
|
b0e2208bdb | ||
|
|
40f630a55d | ||
|
|
0ae979e34a | ||
|
|
b9a6a3b3e5 | ||
|
|
09376584df | ||
|
|
5d9c9447f0 | ||
|
|
cebf984217 | ||
|
|
4390d9cf62 | ||
|
|
09c3898fad | ||
|
|
9c87379bf5 | ||
|
|
cd43291738 | ||
|
|
34bc17a55f | ||
|
|
5d441c68b6 | ||
|
|
3ce983c7b6 | ||
|
|
ed8d2e2412 | ||
|
|
34adefe7b5 | ||
|
|
0a10c75c28 | ||
|
|
71e71e75df | ||
|
|
79e22c2b9c | ||
|
|
2b05666f1a | ||
|
|
3ef03e4a43 | ||
|
|
7dba6c61e0 | ||
|
|
aa2b99be7f | ||
|
|
f4f797a477 | ||
|
|
24b9fed88b | ||
|
|
6825c679c0 | ||
|
|
909c123cd9 | ||
|
|
1f3d7f996c | ||
|
|
70cf265951 | ||
|
|
3728b87360 | ||
|
|
6d66f85a5c | ||
|
|
7bb42186e6 | ||
|
|
70917d9155 | ||
|
|
724a8372e1 | ||
|
|
a4595d3014 | ||
|
|
b5f6e9e532 | ||
|
|
3f75dd8fa3 | ||
|
|
709d163a78 | ||
|
|
16f85cfbaa | ||
|
|
7d0edf7403 | ||
|
|
87bf71684d | ||
|
|
4a7f5e6ed8 | ||
|
|
03509a3195 | ||
|
|
3c3d0d055e | ||
|
|
7d46bf53c1 | ||
|
|
dac82f5c47 | ||
|
|
04b9ecf190 | ||
|
|
d6395878bc | ||
|
|
a5e070b7d9 | ||
|
|
a5affe3ab1 | ||
|
|
b29a49e0f0 | ||
|
|
9423032df7 | ||
|
|
a4b71f01e3 | ||
|
|
a11bdf667f | ||
|
|
fbf101d0ff | ||
|
|
2665a07237 | ||
|
|
e53d75bb6c | ||
|
|
fe33179197 | ||
|
|
9ee1edcb8c | ||
|
|
6cb6cca7f8 | ||
|
|
36963661d4 | ||
|
|
8894e606b0 | ||
|
|
923574566b | ||
|
|
9712518f2b | ||
|
|
a66585e14b | ||
|
|
275bd7c9c6 | ||
|
|
3bf0fbb1e9 | ||
|
|
50737c5cff | ||
|
|
442e67eabc | ||
|
|
a14139cf9a | ||
|
|
244f283be7 | ||
|
|
6e67220fcc | ||
|
|
66a1f20705 | ||
|
|
e07af8de27 | ||
|
|
eb256a647d | ||
|
|
727980f7e0 | ||
|
|
a2f728de3c | ||
|
|
89f3355c76 | ||
|
|
207b5f4c66 | ||
|
|
c4ab45ade1 | ||
|
|
1ac06334b0 | ||
|
|
51e6a6e9a8 | ||
|
|
be38d6d284 | ||
|
|
251ed1d857 | ||
|
|
192356aff4 | ||
|
|
f4add715f0 | ||
|
|
045efb6df2 | ||
|
|
81d25051ad | ||
|
|
428cacd35f | ||
|
|
767783027c | ||
|
|
f3f9a5cbef | ||
|
|
07cad1d6a9 | ||
|
|
9bc05fb9e6 | ||
|
|
1e4fa1df0b | ||
|
|
dc7e0adf5b | ||
|
|
4da6d97653 | ||
|
|
e64f04b927 | ||
|
|
83072b0dce | ||
|
|
c603e32b19 | ||
|
|
6692d4f71e | ||
|
|
86be688cf9 | ||
|
|
cd8c30960e | ||
|
|
2da97611a7 | ||
|
|
69c748e1e4 | ||
|
|
d2b4cb35f8 | ||
|
|
d5dc59df3c | ||
|
|
112ce17761 | ||
|
|
6c3e300543 | ||
|
|
2390fd8432 | ||
|
|
42a34c2ea6 | ||
|
|
67b067355d | ||
|
|
ac11640938 | ||
|
|
a415941829 | ||
|
|
f8ace055f9 | ||
|
|
4e5bee3840 | ||
|
|
8db374bcd8 | ||
|
|
1b18cfc104 | ||
|
|
988b4a44a2 | ||
|
|
85ea218545 | ||
|
|
2ea6bfa6fb | ||
|
|
eb5961564e | ||
|
|
e6d527268d | ||
|
|
8745f0b93c | ||
|
|
c42a5015ce | ||
|
|
1e7c107682 | ||
|
|
edaf25cebd | ||
|
|
2b6252f874 | ||
|
|
8a7212bdb3 | ||
|
|
891e1ec648 | ||
|
|
4319d7d041 | ||
|
|
e255e2f4fc | ||
|
|
3e06ac9fe2 | ||
|
|
e7c32ec1f0 | ||
|
|
e178f9c40f | ||
|
|
43baccd837 | ||
|
|
3d755c1c95 | ||
|
|
4655544ed4 | ||
|
|
1d2bc15cf4 | ||
|
|
d9eaf2f2fd | ||
|
|
1e34c77459 | ||
|
|
c7b71f8c0a | ||
|
|
817c89e26e | ||
|
|
feb2f52d4d | ||
|
|
48ae4e63fb | ||
|
|
2909976697 | ||
|
|
cc098fb66c | ||
|
|
5f092ad7cd | ||
|
|
99cd7f2b9d | ||
|
|
7ff415973f | ||
|
|
69bff0fafb | ||
|
|
19b4a3a5a0 | ||
|
|
68cd966f3b | ||
|
|
fc78d5c5ed | ||
|
|
384b6bd610 | ||
|
|
25a70e20b2 | ||
|
|
a86a99d090 | ||
|
|
fb7871cb87 | ||
|
|
c873fd768c | ||
|
|
81a83e6f9e | ||
|
|
af102fee19 | ||
|
|
2eace0a015 | ||
|
|
939dfb8a6c | ||
|
|
c36a297113 | ||
|
|
e88a313640 | ||
|
|
cb4dc1fe5e | ||
|
|
e533cc7f7d | ||
|
|
795add0751 | ||
|
|
c175c89cc7 | ||
|
|
ecdaf2acdb | ||
|
|
6e2b9e3a13 | ||
|
|
04b1a4866a | ||
|
|
facdccd6c7 | ||
|
|
3dc7e79cfd | ||
|
|
f164d2e901 | ||
|
|
e4ae9cf436 | ||
|
|
8c031b6c0d | ||
|
|
80da7081f9 | ||
|
|
ac91c09778 | ||
|
|
161cc6c209 | ||
|
|
61af6d6569 | ||
|
|
48f6d9b8e1 | ||
|
|
963c5d60b8 | ||
|
|
19a9630b2b | ||
|
|
f52d111d48 | ||
|
|
51e6bc742f | ||
|
|
a9d3d84b36 | ||
|
|
f00c59b908 | ||
|
|
c4224fef73 | ||
|
|
614e4170f4 | ||
|
|
0ec477c849 | ||
|
|
8e97adac09 | ||
|
|
b2a5c3859b | ||
|
|
838639ad10 | ||
|
|
3c697881ff | ||
|
|
87215fde46 | ||
|
|
e20eae3e18 | ||
|
|
84fef324b1 | ||
|
|
e0f676c2f4 | ||
|
|
837e36eba6 | ||
|
|
591e232650 | ||
|
|
c601476ead | ||
|
|
af84d05fd3 | ||
|
|
9476743f55 | ||
|
|
98dab4ed0f | ||
|
|
5e575e2f83 | ||
|
|
0c95bc508e | ||
|
|
c4fd78dfd2 | ||
|
|
e8bc2c79a9 | ||
|
|
f7ec84633d | ||
|
|
b628ba287d | ||
|
|
fd93ef9702 | ||
|
|
2c08318ee4 | ||
|
|
b611bb42ea | ||
|
|
71a4315ffe | ||
|
|
045dcdb686 | ||
|
|
669688006f | ||
|
|
92cac64108 | ||
|
|
aceb686d70 | ||
|
|
d1a4097c45 | ||
|
|
5609bf131b | ||
|
|
1604a56909 | ||
|
|
d55a921e81 | ||
|
|
801066801c | ||
|
|
64ee68568b | ||
|
|
06bc28ed5a | ||
|
|
12db763560 | ||
|
|
9131024585 | ||
|
|
8c66281379 | ||
|
|
e8ba092710 | ||
|
|
73fa16f983 | ||
|
|
95a9c7a642 | ||
|
|
bfe396eec9 | ||
|
|
b320d6854d | ||
|
|
a4b2debca1 | ||
|
|
0c38ca2924 | ||
|
|
82495cb249 | ||
|
|
29d81e1f0c | ||
|
|
e2b5ace07d | ||
|
|
a816a703f2 | ||
|
|
19c2d437a4 | ||
|
|
9df1a2a1b7 | ||
|
|
e6e86f07b2 | ||
|
|
4c9303eba0 | ||
|
|
ce9534bb3d | ||
|
|
9a0ad6d1e3 | ||
|
|
7ef6ca25ba | ||
|
|
025c368ed9 | ||
|
|
ebabc1117c | ||
|
|
58e532dfd4 | ||
|
|
972ad7ae5d | ||
|
|
a1f64e9842 | ||
|
|
ebd11b302f | ||
|
|
95eb3d5111 | ||
|
|
a0fb429665 | ||
|
|
af712c4e1e | ||
|
|
e939b5e169 | ||
|
|
9d230d7b27 | ||
|
|
9b85ac923b | ||
|
|
6f3a3c62b7 | ||
|
|
db82e28857 | ||
|
|
512910189c | ||
|
|
9702fc8923 | ||
|
|
0c736232aa | ||
|
|
a5717eeb80 | ||
|
|
71145968ca | ||
|
|
2a7773eec3 | ||
|
|
b5f9e21a15 | ||
|
|
0f449e142a | ||
|
|
fefa2c8cd9 | ||
|
|
0eacefc1da | ||
|
|
e26c88e963 | ||
|
|
942d8f98e2 | ||
|
|
da964d047b | ||
|
|
ba167ddc90 | ||
|
|
f852f166f7 | ||
|
|
fd12ba4b8e | ||
|
|
c37da45612 | ||
|
|
d0e8cbea32 | ||
|
|
35fb3103f7 | ||
|
|
31b4fe1f96 | ||
|
|
8de0a01890 | ||
|
|
145bfeb6e5 | ||
|
|
7f85489f69 | ||
|
|
18a93ea829 | ||
|
|
2d87b0e06d | ||
|
|
bad689b5fd | ||
|
|
8f43a142b8 | ||
|
|
207076d637 | ||
|
|
d63149f33b | ||
|
|
e3220460a9 | ||
|
|
cf1cd55cfd | ||
|
|
52b7ce6aa3 | ||
|
|
6df924ff0f | ||
|
|
9adf059eaa | ||
|
|
04f6d4018f | ||
|
|
2c8a93b6d9 | ||
|
|
fe145f4b29 | ||
|
|
062a5112a5 | ||
|
|
9c90e52907 | ||
|
|
fb02bd2b61 | ||
|
|
7c86475eba | ||
|
|
6083270b61 | ||
|
|
f4e7061087 | ||
|
|
2ac5f713dc | ||
|
|
2fb73a9e3d | ||
|
|
da6af3b1aa | ||
|
|
2d87dc449c | ||
|
|
404fad65b5 | ||
|
|
2d5a7af22d | ||
|
|
6ee32bad32 | ||
|
|
d2d6b0ac6e | ||
|
|
cedc646b1d | ||
|
|
0cb27d7ca8 | ||
|
|
f2c29df22e | ||
|
|
9b92d1a1df | ||
|
|
f8f0d1ace7 | ||
|
|
7b130f2c49 | ||
|
|
6747625a5c | ||
|
|
b4f0657714 | ||
|
|
1c9e0da63c | ||
|
|
d2634566b8 | ||
|
|
cad748bc0d | ||
|
|
3e8b0d6394 | ||
|
|
e0ab401185 | ||
|
|
34ceca877e | ||
|
|
0ed406ae04 | ||
|
|
6695373e0b | ||
|
|
de3bfbd7dd | ||
|
|
076fe71999 | ||
|
|
0215d30281 | ||
|
|
7e65259d6f | ||
|
|
7525acfcd6 | ||
|
|
add4d2987f | ||
|
|
492c047f7e | ||
|
|
b9946a227c | ||
|
|
6afff6b32c | ||
|
|
f62f58a1be | ||
|
|
e7413d417d | ||
|
|
5263e67fa8 | ||
|
|
88dd50f3ab | ||
|
|
27304eb644 | ||
|
|
4eb836cbc7 | ||
|
|
fe7794f81a | ||
|
|
c3066e6f01 | ||
|
|
d757d7396d | ||
|
|
259d6d80e4 | ||
|
|
36fdb4d33d | ||
|
|
e3fb1073be | ||
|
|
ffef91d62f | ||
|
|
7214de04b7 | ||
|
|
1e83ce9489 | ||
|
|
9996eabe77 | ||
|
|
35b31ce0bf | ||
|
|
fd1f89e908 | ||
|
|
453468cc79 | ||
|
|
8a841d816f | ||
|
|
67c60419b8 | ||
|
|
ad4787ae1c | ||
|
|
32a63f3124 | ||
|
|
8e65ce57aa | ||
|
|
68da22bc28 | ||
|
|
ad82abde08 | ||
|
|
bd78cc73cd | ||
|
|
6bbd7cff42 | ||
|
|
c2e839defb | ||
|
|
09dad56bcf | ||
|
|
aae9917f9f | ||
|
|
70a77ca298 | ||
|
|
0f7ae90fb6 | ||
|
|
58ced7a6e7 | ||
|
|
0d0418f2d5 | ||
|
|
53436e790c | ||
|
|
ab9f2eaaa3 | ||
|
|
0c8b39b0bd | ||
|
|
d3cfdae79a | ||
|
|
5e95d62e1e | ||
|
|
63d7dd9f75 | ||
|
|
7e4896c79e | ||
|
|
2d4468b643 | ||
|
|
eee18cc4e5 | ||
|
|
5c5f8b4845 | ||
|
|
566762c5d2 | ||
|
|
966f5cfa2d | ||
|
|
ee38238199 | ||
|
|
6c54de1662 | ||
|
|
6130bcab38 | ||
|
|
7d42187fb1 | ||
|
|
18c27f17d8 | ||
|
|
533701b201 | ||
|
|
7b0864411b | ||
|
|
3ab6e550c4 | ||
|
|
dc032effb8 | ||
|
|
e594d23f79 | ||
|
|
277784bd11 | ||
|
|
65c5406ae8 | ||
|
|
1c6e503d2e | ||
|
|
9d0a483ab3 | ||
|
|
4640b00d3d | ||
|
|
7a1cf0e9ee | ||
|
|
c71695dfcb | ||
|
|
93376e16a5 | ||
|
|
7d2a124bbc | ||
|
|
651514aa54 | ||
|
|
3be38fabc5 | ||
|
|
198e32ea9d | ||
|
|
aac0e22962 | ||
|
|
cd4dd32e0d | ||
|
|
71a7860925 | ||
|
|
30da5c6261 | ||
|
|
16b148b713 | ||
|
|
a5102ee393 | ||
|
|
e8056e8e48 | ||
|
|
c764c45732 | ||
|
|
c260b90488 | ||
|
|
22b51dfb66 | ||
|
|
9d8089b287 | ||
|
|
5d2b3b4a54 | ||
|
|
fe1888e6c0 | ||
|
|
156fded994 | ||
|
|
78ea9ef8d3 | ||
|
|
05e320be77 | ||
|
|
1bbe74e8c6 | ||
|
|
faf559acd1 | ||
|
|
f931c822e8 | ||
|
|
7be6d9318e | ||
|
|
7e25bf46aa | ||
|
|
bd2ea48ecb | ||
|
|
1431b95c1d | ||
|
|
5d6f457b93 | ||
|
|
16de474503 | ||
|
|
78e1a9b064 | ||
|
|
a2ef3b8172 | ||
|
|
895546f502 | ||
|
|
b72fef9af3 | ||
|
|
ed642b9321 | ||
|
|
06918bc81d | ||
|
|
b69511de36 | ||
|
|
c3f7197eea | ||
|
|
a74347eefc | ||
|
|
6b17f71941 | ||
|
|
09faef4d74 | ||
|
|
53186f7060 | ||
|
|
ce300a78a6 | ||
|
|
76bd3af823 | ||
|
|
2d0e98b83c | ||
|
|
e33f13f8fb | ||
|
|
e40a5e97a6 | ||
|
|
cf79e948c3 | ||
|
|
b755201897 | ||
|
|
a2ffc65d1d | ||
|
|
36903cb9c8 | ||
|
|
edf7541001 | ||
|
|
742ac5bdea | ||
|
|
632c7ab24f | ||
|
|
93b3291de9 | ||
|
|
3a6640450c | ||
|
|
48bce54c48 | ||
|
|
d419c19324 | ||
|
|
1b85010f43 | ||
|
|
58aa86123a | ||
|
|
407f8df8a4 | ||
|
|
61685ce96a | ||
|
|
0b4eafdd9e | ||
|
|
f948811044 | ||
|
|
95a7130591 | ||
|
|
8854bb4a4b | ||
|
|
316cbfb59b | ||
|
|
2c2c0ad9ee | ||
|
|
741df3475e | ||
|
|
fb84ff92ae | ||
|
|
025421ff94 | ||
|
|
d5b91d4c01 | ||
|
|
6422c7925b | ||
|
|
96e0180f6e | ||
|
|
520f0b4ab4 | ||
|
|
075a12dbca | ||
|
|
0c90a1c613 | ||
|
|
326d9013b2 | ||
|
|
59a37a06ac | ||
|
|
fee70fd3d0 | ||
|
|
a8ed6a31e8 | ||
|
|
370f96aa99 | ||
|
|
715960ee94 | ||
|
|
1f55dd564c | ||
|
|
2678e879e3 | ||
|
|
1aeed1e4ec | ||
|
|
46fd811fa1 | ||
|
|
74b5f6f87c | ||
|
|
12b792bb38 | ||
|
|
c4026c9066 | ||
|
|
eb5f1f8156 | ||
|
|
8234c97a82 | ||
|
|
2b100c2792 | ||
|
|
3645336aeb | ||
|
|
1ea5e2bfd7 | ||
|
|
7ddb84c514 | ||
|
|
ec54bb99c4 | ||
|
|
1c4a73efa7 | ||
|
|
8327c46551 | ||
|
|
b8f9b6a83f | ||
|
|
cea6d2b155 | ||
|
|
4f83baee6f | ||
|
|
a72b7b788f | ||
|
|
011163669f | ||
|
|
591d6af124 | ||
|
|
a68b9b1904 | ||
|
|
009b90f9cb | ||
|
|
d84dda8fe1 | ||
|
|
e81bb0f967 | ||
|
|
0f53f6de07 | ||
|
|
e5182d667b | ||
|
|
f203232c60 | ||
|
|
e5206ff46d | ||
|
|
e0210130d7 | ||
|
|
9907b61aa9 | ||
|
|
778de7ca84 | ||
|
|
d8558bafb0 | ||
|
|
72c882b691 | ||
|
|
5ae08f7604 | ||
|
|
d7cfebbd31 | ||
|
|
2acdafd27b | ||
|
|
29ac558758 | ||
|
|
0d6b235b87 | ||
|
|
be189babd4 | ||
|
|
7fe2d484ab | ||
|
|
84bbe65ed7 | ||
|
|
9f835088da | ||
|
|
aea49ee61a | ||
|
|
d7dc9cfb04 | ||
|
|
62ca3c2478 | ||
|
|
7eca7c6b58 | ||
|
|
2f0831eec4 | ||
|
|
f97fad470a | ||
|
|
3e841584fa | ||
|
|
361fc247f7 | ||
|
|
972e10d82c | ||
|
|
858e643a4b | ||
|
|
86eb3e7526 | ||
|
|
a7bb3b3226 | ||
|
|
908db8fa6c | ||
|
|
cf3784b780 | ||
|
|
01755ad5b5 | ||
|
|
0f54212e90 | ||
|
|
df17f6f59f | ||
|
|
07c527e855 | ||
|
|
724505062c | ||
|
|
6b86ea9094 | ||
|
|
c34c6efe57 | ||
|
|
ab6db7e57d | ||
|
|
2c0838b2c3 | ||
|
|
435e8b7e5f | ||
|
|
f2aad0b6a2 | ||
|
|
bd0659b36f | ||
|
|
53953d4476 | ||
|
|
1ecf1372e9 | ||
|
|
83ac08a9d2 | ||
|
|
0e263e7f34 | ||
|
|
8e4cb28569 | ||
|
|
4917e8ca3c | ||
|
|
9e542e181d | ||
|
|
d92d1fb476 | ||
|
|
adaad84a1b | ||
|
|
2e95c0f6ee | ||
|
|
1dd041d67d | ||
|
|
b198ef8930 | ||
|
|
732098f461 | ||
|
|
7e6ada25d7 | ||
|
|
8ea4242591 | ||
|
|
9850484fa3 | ||
|
|
394a3677c1 | ||
|
|
551ebc31f2 | ||
|
|
4209c3e1f7 | ||
|
|
9fa1778225 | ||
|
|
5e8cdd6ba3 | ||
|
|
80abc153ea | ||
|
|
0cf220a31c | ||
|
|
4ca2d7c297 | ||
|
|
5928289ebc | ||
|
|
d9e56d730a | ||
|
|
baf7909964 | ||
|
|
344bfc9690 | ||
|
|
dfd6a77147 | ||
|
|
c0e0191945 | ||
|
|
92e1a4ca8c | ||
|
|
47e1228028 | ||
|
|
5339a8854d | ||
|
|
6e51f8fe3d | ||
|
|
6375e4b5a4 | ||
|
|
02127a28ac | ||
|
|
05122ddeec | ||
|
|
5e2413eefe | ||
|
|
1cc86d4276 | ||
|
|
96391cf873 | ||
|
|
a3eebf916f | ||
|
|
b91473f842 | ||
|
|
83c64b941c | ||
|
|
17ceff91c5 | ||
|
|
40b37e082b | ||
|
|
685223cd0f | ||
|
|
2077f0b717 | ||
|
|
56a46ab094 | ||
|
|
295ad31ba5 | ||
|
|
4cb5081b53 | ||
|
|
e83b9edd2d | ||
|
|
9ae3012689 | ||
|
|
24410b2ba8 | ||
|
|
204af4c8be | ||
|
|
507caa128f | ||
|
|
1da08d37d2 | ||
|
|
b8aa3660c3 | ||
|
|
222d5912bb | ||
|
|
8ee238ec65 | ||
|
|
7169a25422 | ||
|
|
46a55c202e | ||
|
|
3cbc7c502b | ||
|
|
32be3764b8 | ||
|
|
1350543537 | ||
|
|
378643a072 | ||
|
|
320c44b087 | ||
|
|
162e604feb | ||
|
|
b1e9c8101d | ||
|
|
c29957e316 | ||
|
|
acdb07bc38 | ||
|
|
c2157b502d | ||
|
|
7c5462a828 | ||
|
|
5f3e116e46 | ||
|
|
4e6567c20a | ||
|
|
639ee3539b | ||
|
|
d7e581532b | ||
|
|
88b076439c | ||
|
|
0691c3cee9 | ||
|
|
9929d469dd | ||
|
|
428d3b7950 | ||
|
|
ca25262e38 | ||
|
|
6059562beb | ||
|
|
149469230f |
5
.coveralls.yml
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#.coveralls.yml
|
||||||
|
|
||||||
|
src_dir: ../../phpBB3
|
||||||
|
coverage_clover: ../../phpBB3/build/logs/clover.xml
|
||||||
|
json_path: ../../phpBB3/build/logs/coveralls-upload.json
|
||||||
14
.gitattributes
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
tests/ export-ignore
|
||||||
|
develop/ export-ignore
|
||||||
|
travis/ export-ignore
|
||||||
|
.gitattributes export-ignore
|
||||||
|
.gitignore export-ignore
|
||||||
|
.travis.yml export-ignore
|
||||||
|
phpunit.xml.* export-ignore
|
||||||
|
README.md export-ignore
|
||||||
|
git-tools/ export-ignore
|
||||||
|
.coveralls.yml export-ignore
|
||||||
|
composer.phar export-ignore
|
||||||
|
composer.lock export-ignore
|
||||||
|
portal/upload/ export-ignore
|
||||||
|
includes/functions_upload.php export-ignore
|
||||||
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
/.idea/*
|
||||||
|
/tests/test_config.php
|
||||||
|
/vendor/
|
||||||
72
.travis.yml
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
language: php
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- php: 5.3.3
|
||||||
|
env: DB=mysqli
|
||||||
|
- php: 5.3
|
||||||
|
env: DB=mysqli # MyISAM
|
||||||
|
- php: 5.4
|
||||||
|
env: DB=mysqli
|
||||||
|
- 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.5
|
||||||
|
env: DB=mysqli
|
||||||
|
- php: 5.6
|
||||||
|
env: DB=mysqli
|
||||||
|
- php: hhvm
|
||||||
|
env: DB=mysqli
|
||||||
|
allow_failures:
|
||||||
|
- php: hhvm
|
||||||
|
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?
|
||||||
|
- COVERALLS="1" # Should we run coveralls?
|
||||||
|
- 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="develop-ascraeus"
|
||||||
|
|
||||||
|
branches:
|
||||||
|
except:
|
||||||
|
- master
|
||||||
|
- develop-1_0_X
|
||||||
|
|
||||||
|
install:
|
||||||
|
- php composer.phar install --dev --no-interaction --prefer-source
|
||||||
|
- travis/prepare-phpbb.sh $EXTNAME $PHPBB_BRANCH
|
||||||
|
- cp .coveralls.yml ../../phpBB3/phpBB/.coveralls.yml
|
||||||
|
- cd ../../phpBB3
|
||||||
|
- travis/prepare-extension.sh $EXTNAME $PHPBB_BRANCH
|
||||||
|
- travis/setup-phpbb.sh $DB $TRAVIS_PHP_VERSION
|
||||||
|
- sh -c "if [ '$COVERALLS' != '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; fi"
|
||||||
|
- sh -c "if [ '$IMAGE_ICC' != '0' ]; then travis/check-image-icc-profiles.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||||
|
- ../board3/Board3-Portal/travis/run-testsuite.sh $DB $TRAVIS_PHP_VERSION
|
||||||
|
- sh -c "if [ '$EPV' != '0' ]; then ../board3/Board3-Portal/travis/run-epv.sh $DB $TRAVIS_PHP_VERSION $EXTNAME; fi"
|
||||||
|
|
||||||
|
after_script:
|
||||||
|
- sh -c "if [ '$COVERALLS' != '0' ]; then ../board3/Board3-Portal/travis/run-coveralls.sh $DB $TRAVIS_PHP_VERSION; fi"
|
||||||
|
|
||||||
|
notifications:
|
||||||
|
email:
|
||||||
|
recipients:
|
||||||
|
- admin@m-a-styles.de
|
||||||
|
on_success: change
|
||||||
|
on_failure: change
|
||||||
21
README.md
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
#Board3 Portal 2.1.x
|
||||||
|
|
||||||
|
Board Portal 2.1.x is a second generation portal for phpBB 3.1.x. It adds a portal with several blocks to your forum.
|
||||||
|
You can change the settings, move the blocks, add new blocks and more in the ACP.
|
||||||
|
|
||||||
|
##How to use
|
||||||
|
|
||||||
|
You can download the current development version of Board3 Portal 2.1.x here or download the current release at [www.board3.de](http://www.board3.de/ "Board3 • Portal").
|
||||||
|
Board3 Portal 2.1.x can be installed via the phpBB 3.1 ACP.
|
||||||
|
|
||||||
|
|
||||||
|
##Support
|
||||||
|
|
||||||
|
Support for Board3 Portal can be found at [www.board3.de](http://www.board3.de/ "Board3 • Portal") or on [www.phpbb.com](http://www.phpbb.com/community/viewtopic.php?f=70&t=2131824/ "phpBB • Board3 Portal").
|
||||||
|
The extension is currently under heavy development and not supported until further notice.
|
||||||
|
|
||||||
|
## AUTOMATED TESTING
|
||||||
|
|
||||||
|
We are starting to have unit and functional tests in order to prevent regressions. You can check our travis build below.
|
||||||
|
develop-2.1.x - [](https://travis-ci.org/board3/Board3-Portal)
|
||||||
|
[](https://coveralls.io/r/board3/Board3-Portal?branch=develop-2.1.x)
|
||||||
30
acp/portal_info.php
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<?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\acp;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @package module_install
|
||||||
|
*/
|
||||||
|
class portal_info
|
||||||
|
{
|
||||||
|
public function module()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'filename' => '\board3\portal\acp\portal_module',
|
||||||
|
'title' => 'ACP_PORTAL',
|
||||||
|
'version' => '2.0.0b2',
|
||||||
|
'modes' => array(
|
||||||
|
'config' => array('title' => 'ACP_PORTAL_GENERAL_INFO', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||||
|
'modules' => array('title' => 'ACP_PORTAL_MODULES', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||||
|
// 'upload_module' => array('title' => 'ACP_PORTAL_UPLOAD', 'auth' => 'acl_a_manage_portal', 'cat' => array('ACP_PORTAL')),
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
1258
acp/portal_module.php
Normal file
|
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 240 B |
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 241 B After Width: | Height: | Size: 241 B |
|
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
439
adm/style/portal/acp_editor.js
Normal file
@@ -0,0 +1,439 @@
|
|||||||
|
/**
|
||||||
|
* bbCode control by subBlue design [ www.subBlue.com ]
|
||||||
|
* Includes unixsafe colour palette selector by SHS`
|
||||||
|
* stripped parts that are useless for the portal
|
||||||
|
*/
|
||||||
|
|
||||||
|
var panels = new Array('options-panel', 'attach-panel', 'poll-panel');
|
||||||
|
var show_panel = 'options-panel';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shows the help messages in the helpline window
|
||||||
|
*/
|
||||||
|
function helpline(help)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fix a bug involving the TextRange object. From
|
||||||
|
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
|
||||||
|
*/
|
||||||
|
function initInsertions()
|
||||||
|
{
|
||||||
|
var doc;
|
||||||
|
|
||||||
|
if (document.forms[form_name])
|
||||||
|
{
|
||||||
|
doc = document;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
doc = opener.document;
|
||||||
|
}
|
||||||
|
|
||||||
|
var textarea = doc.getElementById(text_name);
|
||||||
|
|
||||||
|
if (is_ie && typeof(baseHeight) != 'number')
|
||||||
|
{
|
||||||
|
textarea.focus();
|
||||||
|
baseHeight = doc.selection.createRange().duplicate().boundingHeight;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* bbstyle
|
||||||
|
*/
|
||||||
|
function bbstyle(bbnumber)
|
||||||
|
{
|
||||||
|
if (bbnumber != -1)
|
||||||
|
{
|
||||||
|
bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
insert_text('[*]');
|
||||||
|
document.getElementById(text_name).focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Apply bbcodes
|
||||||
|
*/
|
||||||
|
function bbfontstyle(bbopen, bbclose)
|
||||||
|
{
|
||||||
|
theSelection = false;
|
||||||
|
|
||||||
|
var textarea = document.getElementById(text_name);
|
||||||
|
|
||||||
|
textarea.focus();
|
||||||
|
|
||||||
|
if ((clientVer >= 4) && is_ie && is_win)
|
||||||
|
{
|
||||||
|
// Get text selection
|
||||||
|
theSelection = document.selection.createRange().text;
|
||||||
|
|
||||||
|
if (theSelection)
|
||||||
|
{
|
||||||
|
// Add tags around selection
|
||||||
|
document.selection.createRange().text = bbopen + theSelection + bbclose;
|
||||||
|
document.getElementById(text_name).focus();
|
||||||
|
theSelection = '';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (document.getElementById(text_name).selectionEnd && (document.getElementById(text_name).selectionEnd - document.getElementById(text_name).selectionStart > 0))
|
||||||
|
{
|
||||||
|
mozWrap(document.getElementById(text_name), bbopen, bbclose);
|
||||||
|
document.getElementById(text_name).focus();
|
||||||
|
theSelection = '';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
//The new position for the cursor after adding the bbcode
|
||||||
|
var caret_pos = getCaretPosition(textarea).start;
|
||||||
|
var new_pos = caret_pos + bbopen.length;
|
||||||
|
|
||||||
|
// Open tag
|
||||||
|
insert_text(bbopen + bbclose);
|
||||||
|
|
||||||
|
// Center the cursor when we don't have a selection
|
||||||
|
// Gecko and proper browsers
|
||||||
|
if (!isNaN(textarea.selectionStart))
|
||||||
|
{
|
||||||
|
textarea.selectionStart = new_pos;
|
||||||
|
textarea.selectionEnd = new_pos;
|
||||||
|
}
|
||||||
|
// IE
|
||||||
|
else if (document.selection)
|
||||||
|
{
|
||||||
|
var range = textarea.createTextRange();
|
||||||
|
range.move("character", new_pos);
|
||||||
|
range.select();
|
||||||
|
storeCaret(textarea);
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea.focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Insert text at position
|
||||||
|
*/
|
||||||
|
function insert_text(text, spaces, popup)
|
||||||
|
{
|
||||||
|
var textarea;
|
||||||
|
|
||||||
|
if (!popup)
|
||||||
|
{
|
||||||
|
textarea = document.getElementById(text_name);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textarea = opener.document.getElementById(text_name);
|
||||||
|
}
|
||||||
|
if (spaces)
|
||||||
|
{
|
||||||
|
text = ' ' + text + ' ';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isNaN(textarea.selectionStart))
|
||||||
|
{
|
||||||
|
var sel_start = textarea.selectionStart;
|
||||||
|
var sel_end = textarea.selectionEnd;
|
||||||
|
|
||||||
|
mozWrap(textarea, text, '')
|
||||||
|
textarea.selectionStart = sel_start + text.length;
|
||||||
|
textarea.selectionEnd = sel_end + text.length;
|
||||||
|
}
|
||||||
|
else if (textarea.createTextRange && textarea.caretPos)
|
||||||
|
{
|
||||||
|
if (baseHeight != textarea.caretPos.boundingHeight)
|
||||||
|
{
|
||||||
|
textarea.focus();
|
||||||
|
storeCaret(textarea);
|
||||||
|
}
|
||||||
|
|
||||||
|
var caret_pos = textarea.caretPos;
|
||||||
|
caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textarea.value = textarea.value + text;
|
||||||
|
}
|
||||||
|
if (!popup)
|
||||||
|
{
|
||||||
|
textarea.focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add inline attachment at position
|
||||||
|
*/
|
||||||
|
function attach_inline(index, filename)
|
||||||
|
{
|
||||||
|
insert_text('[attachment=' + index + ']' + filename + '[/attachment]');
|
||||||
|
document.getElementById(text_name).focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add quote text to message
|
||||||
|
*/
|
||||||
|
function addquote(post_id, username)
|
||||||
|
{
|
||||||
|
var message_name = 'message_' + post_id;
|
||||||
|
var theSelection = '';
|
||||||
|
var divarea = false;
|
||||||
|
|
||||||
|
if (document.all)
|
||||||
|
{
|
||||||
|
divarea = document.all[message_name];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
divarea = document.getElementById(message_name);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get text selection - not only the post content :(
|
||||||
|
if (window.getSelection)
|
||||||
|
{
|
||||||
|
theSelection = window.getSelection().toString();
|
||||||
|
}
|
||||||
|
else if (document.getSelection)
|
||||||
|
{
|
||||||
|
theSelection = document.getSelection();
|
||||||
|
}
|
||||||
|
else if (document.selection)
|
||||||
|
{
|
||||||
|
theSelection = document.selection.createRange().text;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
|
||||||
|
{
|
||||||
|
if (divarea.innerHTML)
|
||||||
|
{
|
||||||
|
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
|
||||||
|
theSelection = theSelection.replace(/<br\/>/ig, '\n');
|
||||||
|
theSelection = theSelection.replace(/<\;/ig, '<');
|
||||||
|
theSelection = theSelection.replace(/>\;/ig, '>');
|
||||||
|
theSelection = theSelection.replace(/&\;/ig, '&');
|
||||||
|
theSelection = theSelection.replace(/ \;/ig, ' ');
|
||||||
|
}
|
||||||
|
else if (document.all)
|
||||||
|
{
|
||||||
|
theSelection = divarea.innerText;
|
||||||
|
}
|
||||||
|
else if (divarea.textContent)
|
||||||
|
{
|
||||||
|
theSelection = divarea.textContent;
|
||||||
|
}
|
||||||
|
else if (divarea.firstChild.nodeValue)
|
||||||
|
{
|
||||||
|
theSelection = divarea.firstChild.nodeValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (theSelection)
|
||||||
|
{
|
||||||
|
if (bbcodeEnabled)
|
||||||
|
{
|
||||||
|
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var lines = split_lines(theSelection);
|
||||||
|
for (i = 0; i < lines.length; i++)
|
||||||
|
{
|
||||||
|
insert_text('> ' + lines[i] + '\n')
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function split_lines(text)
|
||||||
|
{
|
||||||
|
var lines = text.split('\n');
|
||||||
|
var splitLines = new Array();
|
||||||
|
var j = 0;
|
||||||
|
for(i = 0; i < lines.length; i++)
|
||||||
|
{
|
||||||
|
if (lines[i].length <= 80)
|
||||||
|
{
|
||||||
|
splitLines[j] = lines[i];
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var line = lines[i];
|
||||||
|
do
|
||||||
|
{
|
||||||
|
var splitAt = line.indexOf(' ', 80);
|
||||||
|
|
||||||
|
if (splitAt == -1)
|
||||||
|
{
|
||||||
|
splitLines[j] = line;
|
||||||
|
j++
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
splitLines[j] = line.substring(0, splitAt);
|
||||||
|
line = line.substring(splitAt);
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
while(splitAt != -1)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return splitLines;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* From http://www.massless.org/mozedit/
|
||||||
|
*/
|
||||||
|
function mozWrap(txtarea, open, close)
|
||||||
|
{
|
||||||
|
var selLength = (typeof(txtarea.textLength) == 'undefined') ? txtarea.value.length : txtarea.textLength;
|
||||||
|
var selStart = txtarea.selectionStart;
|
||||||
|
var selEnd = txtarea.selectionEnd;
|
||||||
|
var scrollTop = txtarea.scrollTop;
|
||||||
|
|
||||||
|
if (selEnd == 1 || selEnd == 2)
|
||||||
|
{
|
||||||
|
selEnd = selLength;
|
||||||
|
}
|
||||||
|
|
||||||
|
var s1 = (txtarea.value).substring(0,selStart);
|
||||||
|
var s2 = (txtarea.value).substring(selStart, selEnd)
|
||||||
|
var s3 = (txtarea.value).substring(selEnd, selLength);
|
||||||
|
|
||||||
|
txtarea.value = s1 + open + s2 + close + s3;
|
||||||
|
txtarea.selectionStart = selStart + open.length;
|
||||||
|
txtarea.selectionEnd = selEnd + open.length;
|
||||||
|
txtarea.focus();
|
||||||
|
txtarea.scrollTop = scrollTop;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Insert at Caret position. Code from
|
||||||
|
* http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
|
||||||
|
*/
|
||||||
|
function storeCaret(textEl)
|
||||||
|
{
|
||||||
|
if (textEl.createTextRange)
|
||||||
|
{
|
||||||
|
textEl.caretPos = document.selection.createRange().duplicate();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Color pallette
|
||||||
|
*/
|
||||||
|
function colorPalette(dir, width, height) {
|
||||||
|
var r = 0,
|
||||||
|
g = 0,
|
||||||
|
b = 0,
|
||||||
|
numberList = new Array(6),
|
||||||
|
color = '',
|
||||||
|
html = '';
|
||||||
|
|
||||||
|
numberList[0] = '00';
|
||||||
|
numberList[1] = '40';
|
||||||
|
numberList[2] = '80';
|
||||||
|
numberList[3] = 'BF';
|
||||||
|
numberList[4] = 'FF';
|
||||||
|
|
||||||
|
html += '<table>';
|
||||||
|
|
||||||
|
for (r = 0; r < 5; r++) {
|
||||||
|
if (dir == 'h') {
|
||||||
|
html += '<tr>';
|
||||||
|
}
|
||||||
|
|
||||||
|
for (g = 0; g < 5; g++) {
|
||||||
|
if (dir == 'v') {
|
||||||
|
html += '<tr>';
|
||||||
|
}
|
||||||
|
|
||||||
|
for (b = 0; b < 5; b++) {
|
||||||
|
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||||
|
html += '<td style="background-color: #' + color + '; width: ' + width + 'px; height: ' + height + 'px;">';
|
||||||
|
html += '<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" style="display: block; width: ' + width + 'px; height: ' + height + 'px; " alt="#' + color + '" title="#' + color + '"></a>';
|
||||||
|
html += '</td>';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dir == 'v') {
|
||||||
|
html += '</tr>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dir == 'h') {
|
||||||
|
html += '</tr>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
html += '</table>';
|
||||||
|
return html;
|
||||||
|
}
|
||||||
|
|
||||||
|
(function($) {
|
||||||
|
$(document).ready(function() {
|
||||||
|
$('#color_palette_placeholder').each(function() {
|
||||||
|
$(this).html(colorPalette('h', 5, 10));
|
||||||
|
});
|
||||||
|
});
|
||||||
|
})(jQuery);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Caret Position object
|
||||||
|
*/
|
||||||
|
function caretPosition()
|
||||||
|
{
|
||||||
|
var start = null;
|
||||||
|
var end = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the caret position in an textarea
|
||||||
|
*/
|
||||||
|
function getCaretPosition(txtarea)
|
||||||
|
{
|
||||||
|
var caretPos = new caretPosition();
|
||||||
|
|
||||||
|
// simple Gecko/Opera way
|
||||||
|
if(txtarea.selectionStart || txtarea.selectionStart == 0)
|
||||||
|
{
|
||||||
|
caretPos.start = txtarea.selectionStart;
|
||||||
|
caretPos.end = txtarea.selectionEnd;
|
||||||
|
}
|
||||||
|
// dirty and slow IE way
|
||||||
|
else if(document.selection)
|
||||||
|
{
|
||||||
|
|
||||||
|
// get current selection
|
||||||
|
var range = document.selection.createRange();
|
||||||
|
|
||||||
|
// a new selection of the whole textarea
|
||||||
|
var range_all = document.body.createTextRange();
|
||||||
|
range_all.moveToElementText(txtarea);
|
||||||
|
|
||||||
|
// calculate selection start point by moving beginning of range_all to beginning of range
|
||||||
|
var sel_start;
|
||||||
|
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
|
||||||
|
{
|
||||||
|
range_all.moveStart('character', 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
txtarea.sel_start = sel_start;
|
||||||
|
|
||||||
|
// we ignore the end value for IE, this is already dirty enough and we don't need it
|
||||||
|
caretPos.start = txtarea.sel_start;
|
||||||
|
caretPos.end = txtarea.sel_start;
|
||||||
|
}
|
||||||
|
|
||||||
|
return caretPos;
|
||||||
|
}
|
||||||
@@ -14,65 +14,51 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF S_EDIT -->
|
<!-- IF S_EDIT -->
|
||||||
<form id="acp_portal_links" method="post" action="{U_ACTION}">
|
<form id="acp_portal_links" method="post" action="{B3P_U_ACTION}">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_ACP_PORTAL_EVENTS}</legend>
|
<legend>{L_ACP_PORTAL_EVENTS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="event_title">{L_EVENT_TITLE}:</label></dt>
|
<dt><label for="event_title">{L_EVENT_TITLE}{L_COLON}</label></dt>
|
||||||
<dd><input name="event_title" type="text" id="event_title" value="{EVENT_TITLE}" maxlength="255" /></dd>
|
<dd><input name="event_title" type="text" id="event_title" value="{EVENT_TITLE}" maxlength="255" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="event_desc">{L_EVENT_DESC}:</label></dt>
|
<dt><label for="event_desc">{L_EVENT_DESC}{L_COLON}</label></dt>
|
||||||
<dd><textarea id="event_desc" rows="6" cols="6" name="event_desc">{EVENT_DESC}</textarea></dd>
|
<dd><textarea id="event_desc" rows="6" cols="6" name="event_desc">{EVENT_DESC}</textarea></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="event_start_day">{L_ACP_PORTAL_EVENT_START_DAY}:</label><br />
|
<label for="event_start_date">{L_ACP_PORTAL_EVENT_START_DATE}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_EVENT_START_DAY_EXP}</span>
|
<span>{L_ACP_PORTAL_EVENT_START_DATE_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd><input name="event_start_day" type="text" id="event_start_day" value="{EVENT_START_DAY}" maxlength="255" /></dd>
|
<dd><input name="event_start_date" type="text" id="event_start_date" value="{EVENT_START_DATE}" maxlength="255" /></dd>
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt>
|
|
||||||
<label for="event_start_time">{L_ACP_PORTAL_EVENT_START_TIME}:</label><br />
|
|
||||||
<span>{L_ACP_PORTAL_EVENT_START_TIME_EXP}</span>
|
|
||||||
</dt>
|
|
||||||
<dd><input name="event_start_time" type="text" id="event_start_time" value="{EVENT_START_TIME}" maxlength="255" /></dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="event_all_day">{L_EVENT_ALL_DAY}:</label></dt>
|
<dt><label for="event_all_day">{L_EVENT_ALL_DAY}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input onchange="dE('end', -1)" type="radio" class="radio" name="event_all_day" value="1" id="event_all_day"<!-- IF EVENT_ALL_DAY --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
<label><input onchange="phpbb.toggleDisplay('end', -1)" type="radio" class="radio" name="event_all_day" value="1" id="event_all_day"<!-- IF EVENT_ALL_DAY --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
<label><input onchange="dE('end', 1)" type="radio" class="radio" name="event_all_day" value="0"<!-- IF not EVENT_ALL_DAY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input onchange="phpbb.toggleDisplay('end', 1)" type="radio" class="radio" name="event_all_day" value="0"<!-- IF not EVENT_ALL_DAY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div id="end"<!-- IF EVENT_ALL_DAY -->style="display: none;"<!-- ENDIF -->>
|
<div id="end"<!-- IF EVENT_ALL_DAY -->style="display: none;"<!-- ENDIF -->>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="event_end_day">{L_ACP_PORTAL_EVENT_END_DAY}:</label><br />
|
<label for="event_end_date">{L_ACP_PORTAL_EVENT_END_DATE}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_EVENT_END_DAY_EXP}</span>
|
<span>{L_ACP_PORTAL_EVENT_END_DATE_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd><input name="event_end_day" type="text" id="event_end_day" value="{EVENT_END_DAY}" maxlength="255" /></dd>
|
<dd><input name="event_end_date" type="text" id="event_end_date" value="{EVENT_END_DATE}" maxlength="255" /></dd>
|
||||||
</dl>
|
|
||||||
<dl>
|
|
||||||
<dt>
|
|
||||||
<label for="event_end_time">{L_ACP_PORTAL_EVENT_END_TIME}:</label><br />
|
|
||||||
<span>{L_ACP_PORTAL_EVENT_END_TIME_EXP}</span>
|
|
||||||
</dt>
|
|
||||||
<dd><input name="event_end_time" type="text" id="event_end_time" value="{EVENT_END_TIME}" maxlength="255" /></dd>
|
|
||||||
</dl>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="event_url">{L_EVENT_LINK}:</label><br />
|
<label for="event_url">{L_EVENT_LINK}{L_COLON}</label><br />
|
||||||
<span>{L_EVENT_LINK_EXP}</span>
|
<span>{L_EVENT_LINK_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd><input name="event_url" type="text" id="event_url" value="{EVENT_URL}" maxlength="255" /></dd>
|
<dd><input name="event_url" type="text" id="event_url" value="{EVENT_URL}" maxlength="255" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="permission-setting-calendar">{L_ACP_PORTAL_CALENDAR_PERMISSION}:</label><br />
|
<label for="permission-setting-calendar">{L_ACP_PORTAL_CALENDAR_PERMISSION}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_CALENDAR_PERMISSION_EXP}</span>
|
<span>{L_ACP_PORTAL_CALENDAR_PERMISSION_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
@@ -99,38 +85,40 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MODULE_OPTIONS}</legend>
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_name">{L_MODULE_NAME}:</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
<dt><label for="module_name">{L_MODULE_NAME}{L_COLON}</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||||
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- IF MODULE_SHOW_IMAGE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_image">{L_MODULE_IMAGE}:</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
<dt><label for="module_image">{L_MODULE_IMAGE}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||||
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||||
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF MODULE_IMAGE_SRC -->
|
<!-- IF MODULE_IMAGE_SRC -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}:</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
||||||
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}:</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
||||||
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_reset">{L_MODULE_RESET}:</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
<dt><label for="module_reset">{L_MODULE_RESET}{L_COLON}</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
||||||
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_status">{L_MODULE_STATUS}:</label></dt>
|
<dt><label for="module_status">{L_MODULE_STATUS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF permission_setting -->
|
<!-- IF .permission_setting -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}:</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}{L_COLON}</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
||||||
<!-- BEGIN permission_setting -->
|
<!-- BEGIN permission_setting -->
|
||||||
@@ -152,7 +140,7 @@
|
|||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
||||||
<dd>{options.CONTENT}</dd>
|
<dd>{options.CONTENT}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
@@ -183,7 +171,7 @@
|
|||||||
<!-- IF events.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
<!-- IF events.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
<td style="text-align: center;">{events.EVENT_TITLE}</td>
|
<td style="text-align: center;">{events.EVENT_TITLE}</td>
|
||||||
<td style="text-align: center;">{events.EVENT_DESC}</td>
|
<td style="text-align: center;">{events.EVENT_DESC}</td>
|
||||||
<td style="text-align: center;"><!-- IF events.EVENT_END -->{L_EVENT_START}: {events.EVENT_START} | {L_EVENT_END}: {events.EVENT_END}<!-- ELSE -->{L_EVENT_TIME}: {events.EVENT_START}<!-- IF events.EVENT_ALL_DAY --> | {L_EVENT_ALL_DAY}<!-- ENDIF --><!-- ENDIF --></td>
|
<td style="text-align: center;"><!-- IF events.EVENT_END -->{L_EVENT_START}{L_COLON} {events.EVENT_START} | {L_EVENT_END}{L_COLON} {events.EVENT_END}<!-- ELSE -->{L_EVENT_TIME}{L_COLON} {events.EVENT_START}<!-- IF events.EVENT_ALL_DAY --> | {L_EVENT_ALL_DAY}<!-- ENDIF --><!-- ENDIF --></td>
|
||||||
<td style="text-align: center;"><a href="{events.EVENT_URL}" alt="{events.EVENT_TITLE}">{events.EVENT_URL_RAW}</td>
|
<td style="text-align: center;"><a href="{events.EVENT_URL}" alt="{events.EVENT_TITLE}">{events.EVENT_URL_RAW}</td>
|
||||||
<td style="text-align: center;">
|
<td style="text-align: center;">
|
||||||
<a href="{events.U_EDIT}">{ICON_EDIT}</a> <a href="{events.U_DELETE}">{ICON_DELETE}</a>
|
<a href="{events.U_EDIT}">{ICON_EDIT}</a> <a href="{events.U_DELETE}">{ICON_DELETE}</a>
|
||||||
@@ -38,45 +38,47 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<!-- END mods -->
|
<!-- END mods -->
|
||||||
<form id="acp_portal_config" method="post" action="{U_ACTION}">
|
<form id="acp_portal_config" method="post" action="{B3P_U_ACTION}">
|
||||||
<!-- IF SHOW_MODULE_OPTIONS -->
|
<!-- IF SHOW_MODULE_OPTIONS -->
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MODULE_OPTIONS}</legend>
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
<!-- IF MODULE_NAME -->
|
<!-- IF MODULE_NAME -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_name">{L_MODULE_NAME}:</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
<dt><label for="module_name">{L_MODULE_NAME}{L_COLON}</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||||
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- IF MODULE_SHOW_IMAGE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_image">{L_MODULE_IMAGE}:</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
<dt><label for="module_image">{L_MODULE_IMAGE}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||||
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||||
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF MODULE_IMAGE_SRC -->
|
<!-- IF MODULE_IMAGE_SRC -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}:</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
||||||
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}:</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
||||||
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_reset">{L_MODULE_RESET}:</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
<dt><label for="module_reset">{L_MODULE_RESET}{L_COLON}</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
||||||
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_status">{L_MODULE_STATUS}:</label></dt>
|
<dt><label for="module_status">{L_MODULE_STATUS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF permission_setting -->
|
<!-- IF .permission_setting -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}:</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}{L_COLON}</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
||||||
<!-- BEGIN permission_setting -->
|
<!-- BEGIN permission_setting -->
|
||||||
@@ -98,7 +100,7 @@
|
|||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
||||||
<dd>{options.CONTENT}</dd>
|
<dd>{options.CONTENT}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
231
adm/style/portal/acp_portal_custom.html
Normal file
@@ -0,0 +1,231 @@
|
|||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDEJS portal/acp_editor.js -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
/**
|
||||||
|
* bbCode control by subBlue design [ www.subBlue.com ]
|
||||||
|
* Includes unixsafe colour palette selector by SHS`
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Startup variables
|
||||||
|
var imageTag = false;
|
||||||
|
var theSelection = false;
|
||||||
|
|
||||||
|
var bbcodeEnabled = true;
|
||||||
|
// Check for Browser & Platform for PC & IE specific bits
|
||||||
|
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
|
||||||
|
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
|
||||||
|
var clientVer = parseInt(navigator.appVersion); // Get browser version
|
||||||
|
|
||||||
|
var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
|
||||||
|
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));
|
||||||
|
var baseHeight;
|
||||||
|
|
||||||
|
var form_name = 'acp_portal_welcome';
|
||||||
|
var text_name = 'custom_code';
|
||||||
|
var load_draft = false;
|
||||||
|
var upload = false;
|
||||||
|
|
||||||
|
// Define the bbCode tags
|
||||||
|
var bbcode = new Array();
|
||||||
|
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
|
||||||
|
var imageTag = false;
|
||||||
|
|
||||||
|
// Helpline messages
|
||||||
|
var help_line = {
|
||||||
|
b: '{LA_BBCODE_B_HELP}',
|
||||||
|
i: '{LA_BBCODE_I_HELP}',
|
||||||
|
u: '{LA_BBCODE_U_HELP}',
|
||||||
|
q: '{LA_BBCODE_Q_HELP}',
|
||||||
|
c: '{LA_BBCODE_C_HELP}',
|
||||||
|
l: '{LA_BBCODE_L_HELP}',
|
||||||
|
o: '{LA_BBCODE_O_HELP}',
|
||||||
|
p: '{LA_BBCODE_P_HELP}',
|
||||||
|
w: '{LA_BBCODE_W_HELP}',
|
||||||
|
a: '{LA_BBCODE_A_HELP}',
|
||||||
|
s: '{LA_BBCODE_S_HELP}',
|
||||||
|
f: '{LA_BBCODE_F_HELP}',
|
||||||
|
e: '{LA_BBCODE_E_HELP}',
|
||||||
|
d: '{LA_BBCODE_D_HELP}'
|
||||||
|
<!-- BEGIN custom_tags -->
|
||||||
|
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
||||||
|
<!-- END custom_tags -->
|
||||||
|
}
|
||||||
|
|
||||||
|
function change_palette()
|
||||||
|
{
|
||||||
|
phpbb.toggleDisplay('colour_palette');
|
||||||
|
e = document.getElementById('colour_palette');
|
||||||
|
|
||||||
|
if (e.style.display == 'block')
|
||||||
|
{
|
||||||
|
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<a name="maincontent"></a>
|
||||||
|
|
||||||
|
<h1>{L_TITLE}</h1>
|
||||||
|
|
||||||
|
<p>{L_TITLE_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_ERROR -->
|
||||||
|
<div class="errorbox">
|
||||||
|
<h3>{L_WARNING}</h3>
|
||||||
|
<p>{ERROR_MSG}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<form id="acp_portal_config" method="post" action="{B3P_U_ACTION}">
|
||||||
|
<!-- IF SHOW_MODULE_OPTIONS -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_name">{L_MODULE_NAME}{L_COLON}</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||||
|
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF MODULE_SHOW_IMAGE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_image">{L_MODULE_IMAGE}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||||
|
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||||
|
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- IF MODULE_IMAGE_SRC -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
||||||
|
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
||||||
|
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_reset">{L_MODULE_RESET}{L_COLON}</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
||||||
|
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_status">{L_MODULE_STATUS}{L_COLON}</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
|
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF .permission_setting -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="permission-setting">{L_ACP_PORTAL_CUSTOM_PERMISSION}{L_COLON}</label><br /><span>{L_ACP_PORTAL_CUSTOM_PERMISSION_EXP}</span></dt>
|
||||||
|
<dd>
|
||||||
|
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
||||||
|
<!-- BEGIN permission_setting -->
|
||||||
|
<option value="{permission_setting.GROUP_ID}"<!-- IF permission_setting.SELECTED -->selected="selected"<!-- ENDIF -->>{permission_setting.GROUP_NAME}</option>
|
||||||
|
<!-- END permission_setting -->
|
||||||
|
</select>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_PREVIEW -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{L_ACP_PORTAL_CUSTOM_PREVIEW}</legend>
|
||||||
|
<dl>
|
||||||
|
<dt style="border: none; width: 100%;">
|
||||||
|
{PREVIEW_TEXT}
|
||||||
|
</dt>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{L_PORTAL_CUSTOM}</legend>
|
||||||
|
<dl id="bbcode-buttons"<!-- IF not CUSTOM_USE_BBCODE --> style="display: none;"<!-- ENDIF -->>
|
||||||
|
<dt></dt>
|
||||||
|
<dd>
|
||||||
|
<div id="colour_palette" style="display: none;">
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt style="border: none;"><label>{L_FONT_COLOR}{L_COLON}</label></dt>
|
||||||
|
<dd></dd>
|
||||||
|
</dl>
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt id="color_palette_placeholder" style="border: none;"></dt>
|
||||||
|
<dd></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div id="format-buttons">
|
||||||
|
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
|
||||||
|
<!-- IF S_BBCODE_QUOTE -->
|
||||||
|
<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
|
||||||
|
<!-- IF S_BBCODE_IMG -->
|
||||||
|
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LINKS_ALLOWED -->
|
||||||
|
<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_BBCODE_FLASH -->
|
||||||
|
<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
|
||||||
|
<option value="50">{L_FONT_TINY}</option>
|
||||||
|
<option value="85">{L_FONT_SMALL}</option>
|
||||||
|
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
|
||||||
|
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
|
||||||
|
<option value="150">{L_FONT_LARGE}</option>
|
||||||
|
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
|
||||||
|
<option value="200">{L_FONT_HUGE}</option>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</select>
|
||||||
|
<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
|
||||||
|
<!-- BEGIN custom_tags -->
|
||||||
|
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
|
||||||
|
<!-- END custom_tags -->
|
||||||
|
</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<label for="custom_code">{L_ACP_PORTAL_CUSTOM_CODE}{L_COLON}</label><br />
|
||||||
|
<span>{L_ACP_PORTAL_CUSTOM_CODE_EXP}</span>
|
||||||
|
</dt>
|
||||||
|
<dd><textarea name="custom_code" id="custom_code" cols="6" rows="12">{CUSTOM_CODE}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<label for="custom_use_bbcode">{L_ACP_PORTAL_CUSTOM_BBCODE}</label><br />
|
||||||
|
<span>{L_ACP_PORTAL_CUSTOM_BBCODE_EXP}</span>
|
||||||
|
</dt>
|
||||||
|
<dd>
|
||||||
|
<label><input onchange="phpbb.toggleDisplay('bbcode-buttons', 1)" class="radio" type="radio" value="1" name="custom_use_bbcode" id="custom_use_bbcode"<!-- IF CUSTOM_USE_BBCODE --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
|
<label><input onchange="phpbb.toggleDisplay('bbcode-buttons', -1)" class="radio" type="radio" value="0" name="custom_use_bbcode"<!-- IF not CUSTOM_USE_BBCODE --> checked="checked"<!-- ENDIF --> />{L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_AUTH -->
|
||||||
|
<!-- BEGIN auth_tpl -->
|
||||||
|
{auth_tpl.TPL}
|
||||||
|
<!-- END auth_tpl -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input class="button2" type="submit" id="preview" name="preview" value="{L_PREVIEW}" />
|
||||||
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
|
</p>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
||||||
@@ -14,17 +14,17 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF S_EDIT -->
|
<!-- IF S_EDIT -->
|
||||||
<form id="acp_portal_links" method="post" action="{U_ACTION}">
|
<form id="acp_portal_links" method="post" action="{B3P_U_ACTION}">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_ACP_PORTAL_LINKS}</legend>
|
<legend>{L_ACP_PORTAL_LINKS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="link_title">{L_ACP_PORTAL_LINK_TITLE}:</label></dt>
|
<dt><label for="link_title">{L_ACP_PORTAL_LINK_TITLE}{L_COLON}</label></dt>
|
||||||
<dd><input name="link_title" type="text" id="link_title" value="{LINK_TITLE}" maxlength="255" /></dd>
|
<dd><input name="link_title" type="text" id="link_title" value="{LINK_TITLE}" maxlength="255" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="link_type">{L_ACP_PORTAL_LINK_TYPE}:</label><br />
|
<label for="link_type">{L_ACP_PORTAL_LINK_TYPE}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_LINK_TYPE_EXP}</span>
|
<span>{L_ACP_PORTAL_LINK_TYPE_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
@@ -34,14 +34,14 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="link_url">{L_ACP_PORTAL_LINK_URL}:</label><br />
|
<label for="link_url">{L_ACP_PORTAL_LINK_URL}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_LINK_URL_EXP}</span>
|
<span>{L_ACP_PORTAL_LINK_URL_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd><input name="link_url" type="text" id="link_url" value="{LINK_URL}" maxlength="255" /></dd>
|
<dd><input name="link_url" type="text" id="link_url" value="{LINK_URL}" maxlength="255" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="permission-setting-link">{L_ACP_PORTAL_LINK_PERMISSION}:</label><br />
|
<label for="permission-setting-link">{L_ACP_PORTAL_LINK_PERMISSION}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_LINK_PERMISSION_EXP}</span>
|
<span>{L_ACP_PORTAL_LINK_PERMISSION_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
@@ -54,6 +54,7 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<p class="submit-buttons">
|
<p class="submit-buttons">
|
||||||
<input type="hidden" name="action" value="save" />
|
<input type="hidden" name="action" value="save" />
|
||||||
|
<!-- IF LINK_ID !== '' --><input type="hidden" name="id" value="{LINK_ID}" /><!-- ENDIF -->
|
||||||
|
|
||||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
@@ -68,38 +69,40 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MODULE_OPTIONS}</legend>
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_name">{L_MODULE_NAME}:</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
<dt><label for="module_name">{L_MODULE_NAME}{L_COLON}</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||||
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- IF MODULE_SHOW_IMAGE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_image">{L_MODULE_IMAGE}:</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
<dt><label for="module_image">{L_MODULE_IMAGE}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||||
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||||
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF MODULE_IMAGE_SRC -->
|
<!-- IF MODULE_IMAGE_SRC -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}:</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
||||||
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}:</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
||||||
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_reset">{L_MODULE_RESET}:</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
<dt><label for="module_reset">{L_MODULE_RESET}{L_COLON}</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
||||||
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_status">{L_MODULE_STATUS}:</label></dt>
|
<dt><label for="module_status">{L_MODULE_STATUS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF permission_setting -->
|
<!-- IF .permission_setting -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}:</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}{L_COLON}</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
||||||
<!-- BEGIN permission_setting -->
|
<!-- BEGIN permission_setting -->
|
||||||
@@ -121,7 +124,7 @@
|
|||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
||||||
<dd>{options.CONTENT}</dd>
|
<dd>{options.CONTENT}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
@@ -14,23 +14,23 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF S_EDIT -->
|
<!-- IF S_EDIT -->
|
||||||
<form id="acp_portal_links" method="post" action="{U_ACTION}">
|
<form id="acp_portal_links" method="post" action="{B3P_U_ACTION}">
|
||||||
|
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_ACP_PORTAL_MENU_LINK_SETTINGS}</legend>
|
<legend>{L_ACP_PORTAL_MENU_LINK_SETTINGS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="link_title">{L_ACP_PORTAL_MENU_TITLE}:</label></dt>
|
<dt><label for="link_title">{L_ACP_PORTAL_MENU_TITLE}{L_COLON}</label></dt>
|
||||||
<dd><input name="link_title" type="text" id="link_title" value="{LINK_TITLE}" maxlength="255" /></dd>
|
<dd><input name="link_title" type="text" id="link_title" value="{LINK_TITLE}" maxlength="255" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="link_is_cat">{L_ACP_PORTAL_MENU_IS_CAT}:</label></dt>
|
<dt><label for="link_is_cat">{L_ACP_PORTAL_MENU_IS_CAT}{L_COLON}</label></dt>
|
||||||
<dd><label><input onchange="dE('url', -1)" type="radio" class="radio" name="link_is_cat" value="1" id="link_is_cat"<!-- IF S_LINK_IS_CAT --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
<dd><label><input onchange="phpbb.toggleDisplay('url', -1)" type="radio" class="radio" name="link_is_cat" value="1" id="link_is_cat"<!-- IF S_LINK_IS_CAT --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
<label><input onchange="dE('url', 1)" type="radio" class="radio" name="link_is_cat" value="0"<!-- IF not S_LINK_IS_CAT --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input onchange="phpbb.toggleDisplay('url', 1)" type="radio" class="radio" name="link_is_cat" value="0"<!-- IF not S_LINK_IS_CAT --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<div id="url"<!-- IF S_LINK_IS_CAT --> style="display: none;"<!-- ENDIF -->>
|
<div id="url"<!-- IF S_LINK_IS_CAT --> style="display: none;"<!-- ENDIF -->>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="link_type">{L_ACP_PORTAL_MENU_TYPE}:</label><br />
|
<label for="link_type">{L_ACP_PORTAL_MENU_TYPE}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_MENU_TYPE_EXP}</span>
|
<span>{L_ACP_PORTAL_MENU_TYPE_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
@@ -40,14 +40,14 @@
|
|||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="link_url">{L_ACP_PORTAL_MENU_URL}:</label><br />
|
<label for="link_url">{L_ACP_PORTAL_MENU_URL}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_MENU_URL_EXP}</span>
|
<span>{L_ACP_PORTAL_MENU_URL_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd><input name="link_url" type="text" id="link_url" value="{LINK_URL}" maxlength="255" /></dd>
|
<dd><input name="link_url" type="text" id="link_url" value="{LINK_URL}" maxlength="255" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<label for="permission-setting-menu">{L_ACP_PORTAL_MENU_PERMISSION}:</label><br />
|
<label for="permission-setting-menu">{L_ACP_PORTAL_MENU_PERMISSION}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_PORTAL_MENU_PERMISSION_EXP}</span>
|
<span>{L_ACP_PORTAL_MENU_PERMISSION_EXP}</span>
|
||||||
</dt>
|
</dt>
|
||||||
<dd>
|
<dd>
|
||||||
@@ -61,6 +61,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="submit-buttons">
|
<p class="submit-buttons">
|
||||||
<input type="hidden" name="action" value="save" />
|
<input type="hidden" name="action" value="save" />
|
||||||
|
<!-- IF LINK_ID !== '' --><input type="hidden" name="id" value="{LINK_ID}" /><!-- ENDIF -->
|
||||||
|
|
||||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
@@ -75,38 +76,40 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MODULE_OPTIONS}</legend>
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_name">{L_MODULE_NAME}:</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
<dt><label for="module_name">{L_MODULE_NAME}{L_COLON}</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||||
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<!-- IF MODULE_SHOW_IMAGE -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_image">{L_MODULE_IMAGE}:</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
<dt><label for="module_image">{L_MODULE_IMAGE}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||||
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||||
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF MODULE_IMAGE_SRC -->
|
<!-- IF MODULE_IMAGE_SRC -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}:</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
||||||
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}:</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
||||||
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_reset">{L_MODULE_RESET}:</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
<dt><label for="module_reset">{L_MODULE_RESET}{L_COLON}</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
||||||
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="module_status">{L_MODULE_STATUS}:</label></dt>
|
<dt><label for="module_status">{L_MODULE_STATUS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<!-- IF permission_setting -->
|
<!-- IF .permission_setting -->
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}:</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}{L_COLON}</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
||||||
<!-- BEGIN permission_setting -->
|
<!-- BEGIN permission_setting -->
|
||||||
@@ -128,7 +131,7 @@
|
|||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="{options.KEY}">{options.TITLE}:</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
<dt><label for="{options.KEY}">{options.TITLE}{L_COLON}</label><!-- IF options.S_EXPLAIN --><br /><span>{options.TITLE_EXPLAIN}</span><!-- ENDIF --></dt>
|
||||||
<dd>{options.CONTENT}</dd>
|
<dd>{options.CONTENT}</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
206
adm/style/portal/acp_portal_modules.html
Normal file
@@ -0,0 +1,206 @@
|
|||||||
|
<!-- IF S_AJAX_REQUEST -->
|
||||||
|
<form id="acp_portal_modules" method="post" action="{U_ACTION}">
|
||||||
|
<fieldset>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_classname" style="display: inline;">{L_CHOOSE_MODULE}{L_COLON}</label><br /><span>{L_CHOOSE_MODULE_EXP}</span></dt>
|
||||||
|
<dd><select name="module_classname" id="module_classname">{S_MODULE_NAMES}</select></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
|
{S_FORM_TOKEN}{S_HIDDEN_FIELDS}
|
||||||
|
</p>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- INCLUDECSS portal/b3p_admin.css -->
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<a name="maincontent"></a>
|
||||||
|
|
||||||
|
<!-- IF S_EDIT -->
|
||||||
|
|
||||||
|
<h1>{L_ACP_PORTAL_MODULES}</h1>
|
||||||
|
<p>{L_ACP_PORTAL_MODULES_EXP}</p>
|
||||||
|
|
||||||
|
<form id="acp_portal_modules" method="post" action="{B3P_U_ACTION}">
|
||||||
|
<fieldset>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_classname">{L_CHOOSE_MODULE}{L_COLON}</label><br /><span>{L_CHOOSE_MODULE_EXP}</span></dt>
|
||||||
|
<dd><select name="module_classname" id="module_classname">{S_MODULE_NAMES}</select></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
|
{S_FORM_TOKEN}{S_HIDDEN_FIELDS}
|
||||||
|
</p>
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<h1>{L_ACP_PORTAL_MODULES}</h1>
|
||||||
|
<p>{L_ACP_PORTAL_MODULES_EXP}</p>
|
||||||
|
|
||||||
|
<form id="acp_portal_modules" method="post" action="{U_ACTION}" data-ajax="true">
|
||||||
|
<fieldset class="tabulated">
|
||||||
|
<legend>{L_ACP_PORTAL_MODULES}</legend>
|
||||||
|
|
||||||
|
<table class="portal-modules-overview">
|
||||||
|
<tr>
|
||||||
|
<th style="text-align: center;">{L_MODULE_POS_TOP}</th>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGIN modules_top -->
|
||||||
|
<!-- IF not modules_top.MODULE_ENABLED --><tr class="row3"><!-- ELSEIF modules_top.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
<td>
|
||||||
|
{modules_top.MODULE_IMAGE} {modules_top.MODULE_NAME}<br />
|
||||||
|
<br />
|
||||||
|
<span<!-- IF not modules_top.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_UP_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_top.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_top.U_MOVE_UP}" data-ajax="b3p_move_module_up">{ICON_MOVE_UP}</a> </span>
|
||||||
|
<span<!-- IF not modules_top.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_DOWN_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_top.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_top.U_MOVE_DOWN}" data-ajax="b3p_move_module_down">{ICON_MOVE_DOWN}</a> </span>
|
||||||
|
<a href="{modules_top.U_EDIT}">{ICON_EDIT}</a> <a href="{modules_top.U_DELETE}" data-ajax="b3p_delete_module">{ICON_DELETE}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1" style="text-align: center;">{L_NO_MODULES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END modules_top -->
|
||||||
|
</table>
|
||||||
|
<p class="quick">
|
||||||
|
<input class="button2" name="add[top]" type="submit" value="{L_ADD_MODULE}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<table style="background-color: transparent; border: none; padding: 0px; margin: 0px;">
|
||||||
|
<tr style="vertical-align: top;">
|
||||||
|
<td style="width: 20%; font-size: 100%; line-height: 100%; padding: 0px; margin: 0px;">
|
||||||
|
<table class="portal-modules-overview">
|
||||||
|
<tr>
|
||||||
|
<th>{L_MODULE_POS_LEFT}</th>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGIN modules_left -->
|
||||||
|
<!-- IF not modules_left.MODULE_ENABLED --><tr class="row3"><!-- ELSEIF modules_left.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
<td>
|
||||||
|
{modules_left.MODULE_IMAGE} {modules_left.MODULE_NAME}<br />
|
||||||
|
<br />
|
||||||
|
<span<!-- IF not modules_left.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_UP_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_left.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_left.U_MOVE_UP}" data-ajax="b3p_move_module_up">{ICON_MOVE_UP}</a> </span>
|
||||||
|
<!-- IF modules_left.U_MOVE_RIGHT --><a href="{modules_left.U_MOVE_RIGHT}"><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{ICON_MOVE_LEFT}<!-- ELSE -->{ICON_MOVE_RIGHT}<!-- ENDIF --></a><!-- ELSE --><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{ICON_MOVE_LEFT_DISABLED}<!-- ELSE -->{ICON_MOVE_RIGHT_DISABLED}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
<a href="{modules_left.U_EDIT}">{ICON_EDIT}</a> <a href="{modules_left.U_DELETE}" data-ajax="b3p_delete_module">{ICON_DELETE}</a><br />
|
||||||
|
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{ICON_MOVE_RIGHT_DISABLED}<!-- ELSE -->{ICON_MOVE_LEFT_DISABLED}<!-- ENDIF -->
|
||||||
|
<span<!-- IF not modules_left.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_DOWN_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_left.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_left.U_MOVE_DOWN}" data-ajax="b3p_move_module_down">{ICON_MOVE_DOWN}</a></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1" style="text-align: center;">{L_NO_MODULES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END modules_left -->
|
||||||
|
</table>
|
||||||
|
<p class="quick">
|
||||||
|
<input class="button2" name="add[left]" type="submit" value="{L_ADD_MODULE}" />
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td style="font-size: 100%; line-height: 100%; padding: 0 12px;">
|
||||||
|
<table class="portal-modules-overview">
|
||||||
|
<tr>
|
||||||
|
<th style="text-align: center;">{L_MODULE_POS_CENTER}</th>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGIN modules_center -->
|
||||||
|
<!-- IF not modules_center.MODULE_ENABLED --><tr class="row3"><!-- ELSEIF modules_center.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
<td>
|
||||||
|
{modules_center.MODULE_IMAGE} {modules_center.MODULE_NAME}<br />
|
||||||
|
<br />
|
||||||
|
<span<!-- IF not modules_center.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_UP_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_center.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_center.U_MOVE_UP}" data-ajax="b3p_move_module_up">{ICON_MOVE_UP}</a> </span>
|
||||||
|
<!-- IF modules_center.U_MOVE_RIGHT --><a href="{modules_center.U_MOVE_RIGHT}">{ICON_MOVE_RIGHT}</a><!-- ELSE -->{ICON_MOVE_RIGHT_DISABLED}<!-- ENDIF -->
|
||||||
|
<a href="{modules_center.U_EDIT}">{ICON_EDIT}</a> <a href="{modules_center.U_DELETE}" data-ajax="b3p_delete_module">{ICON_DELETE}</a><br />
|
||||||
|
<!-- IF modules_center.U_MOVE_LEFT --><a href="{modules_center.U_MOVE_LEFT}">{ICON_MOVE_LEFT}</a><!-- ELSE -->{ICON_MOVE_LEFT_DISABLED}<!-- ENDIF -->
|
||||||
|
<span<!-- IF not modules_center.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_DOWN_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_center.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_center.U_MOVE_DOWN}" data-ajax="b3p_move_module_down">{ICON_MOVE_DOWN}</a></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1" style="text-align: center;">{L_NO_MODULES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END modules_center -->
|
||||||
|
</table>
|
||||||
|
<p class="quick">
|
||||||
|
<input class="button2" name="add[center]" type="submit" value="{L_ADD_MODULE}" />
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
<td style="width: 20%; font-size: 100%; line-height: 100%; padding: 0px;">
|
||||||
|
<table class="portal-modules-overview">
|
||||||
|
<tr>
|
||||||
|
<th>{L_MODULE_POS_RIGHT}</th>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGIN modules_right -->
|
||||||
|
<!-- IF not modules_right.MODULE_ENABLED --><tr class="row3"><!-- ELSEIF modules_right.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
<td>
|
||||||
|
{modules_right.MODULE_IMAGE} {modules_right.MODULE_NAME}<br />
|
||||||
|
<br />
|
||||||
|
<span<!-- IF not modules_right.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_UP_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_right.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_right.U_MOVE_UP}" data-ajax="b3p_move_module_up">{ICON_MOVE_UP}</a> </span>
|
||||||
|
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{ICON_MOVE_LEFT_DISABLED}<!-- ELSE -->{ICON_MOVE_RIGHT_DISABLED}<!-- ENDIF -->
|
||||||
|
<a href="{modules_right.U_EDIT}">{ICON_EDIT}</a> <a href="{modules_right.U_DELETE}" data-ajax="b3p_delete_module">{ICON_DELETE}</a><br />
|
||||||
|
<!-- IF modules_right.U_MOVE_LEFT --><a href="{modules_right.U_MOVE_LEFT}"><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{ICON_MOVE_RIGHT}<!-- ELSE -->{ICON_MOVE_LEFT}<!-- ENDIF --></a><!-- ELSE --><!-- IF S_CONTENT_DIRECTION eq 'rtl' -->{ICON_MOVE_RIGHT_DISABLED}<!-- ELSE -->{ICON_MOVE_LEFT_DISABLED}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
<span<!-- IF not modules_right.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_DOWN_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_right.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_right.U_MOVE_DOWN}" data-ajax="b3p_move_module_down">{ICON_MOVE_DOWN}</a></span>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1" style="text-align: center;">{L_NO_MODULES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END modules_right -->
|
||||||
|
</table>
|
||||||
|
<p class="quick">
|
||||||
|
<input class="button2" name="add[right]" type="submit" value="{L_ADD_MODULE}" />
|
||||||
|
</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<table class="portal-modules-overview">
|
||||||
|
<tr>
|
||||||
|
<th style="text-align: center;">{L_MODULE_POS_BOTTOM}</th>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGIN modules_bottom -->
|
||||||
|
<!-- IF not modules_bottom.MODULE_ENABLED --><tr class="row3"><!-- ELSEIF modules_bottom.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
|
||||||
|
<td>
|
||||||
|
{modules_bottom.MODULE_IMAGE} {modules_bottom.MODULE_NAME}<br />
|
||||||
|
<br />
|
||||||
|
<span<!-- IF not modules_bottom.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_UP_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_bottom.S_FIRST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_bottom.U_MOVE_UP}" data-ajax="b3p_move_module_up">{ICON_MOVE_UP}</a> </span>
|
||||||
|
<span<!-- IF not modules_bottom.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->>{ICON_MOVE_DOWN_DISABLED} </span>
|
||||||
|
<span<!-- IF modules_bottom.S_LAST_ROW --> style="display: none;"<!-- ENDIF -->><a href="{modules_bottom.U_MOVE_DOWN}" data-ajax="b3p_move_module_down">{ICON_MOVE_DOWN}</a> </span>
|
||||||
|
<a href="{modules_bottom.U_EDIT}">{ICON_EDIT}</a> <a href="{modules_bottom.U_DELETE}" data-ajax="b3p_delete_module">{ICON_DELETE}</a>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="row1" style="text-align: center;">{L_NO_MODULES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END modules_bottom -->
|
||||||
|
</table>
|
||||||
|
<p class="quick">
|
||||||
|
<input class="button2" name="add[bottom]" type="submit" value="{L_ADD_MODULE}" />
|
||||||
|
</p>
|
||||||
|
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDEJS portal/ajax.js -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
||||||
|
<!-- ENDIF -->
|
||||||
0
root/adm/style/portal/acp_portal_upload_module.html → adm/style/portal/acp_portal_upload_module.html
Executable file → Normal file
220
adm/style/portal/acp_portal_welcome.html
Normal file
@@ -0,0 +1,220 @@
|
|||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDEJS portal/acp_editor.js -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
/**
|
||||||
|
* bbCode control by subBlue design [ www.subBlue.com ]
|
||||||
|
* Includes unixsafe colour palette selector by SHS`
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Startup variables
|
||||||
|
var imageTag = false;
|
||||||
|
var theSelection = false;
|
||||||
|
|
||||||
|
var bbcodeEnabled = true;
|
||||||
|
// Check for Browser & Platform for PC & IE specific bits
|
||||||
|
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
|
||||||
|
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
|
||||||
|
var clientVer = parseInt(navigator.appVersion); // Get browser version
|
||||||
|
|
||||||
|
var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
|
||||||
|
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));
|
||||||
|
var baseHeight;
|
||||||
|
|
||||||
|
var form_name = 'acp_portal_welcome';
|
||||||
|
var text_name = 'welcome_message';
|
||||||
|
var load_draft = false;
|
||||||
|
var upload = false;
|
||||||
|
|
||||||
|
// Define the bbCode tags
|
||||||
|
var bbcode = new Array();
|
||||||
|
var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->);
|
||||||
|
var imageTag = false;
|
||||||
|
|
||||||
|
// Helpline messages
|
||||||
|
var help_line = {
|
||||||
|
b: '{LA_BBCODE_B_HELP}',
|
||||||
|
i: '{LA_BBCODE_I_HELP}',
|
||||||
|
u: '{LA_BBCODE_U_HELP}',
|
||||||
|
q: '{LA_BBCODE_Q_HELP}',
|
||||||
|
c: '{LA_BBCODE_C_HELP}',
|
||||||
|
l: '{LA_BBCODE_L_HELP}',
|
||||||
|
o: '{LA_BBCODE_O_HELP}',
|
||||||
|
p: '{LA_BBCODE_P_HELP}',
|
||||||
|
w: '{LA_BBCODE_W_HELP}',
|
||||||
|
a: '{LA_BBCODE_A_HELP}',
|
||||||
|
s: '{LA_BBCODE_S_HELP}',
|
||||||
|
f: '{LA_BBCODE_F_HELP}',
|
||||||
|
e: '{LA_BBCODE_E_HELP}',
|
||||||
|
d: '{LA_BBCODE_D_HELP}'
|
||||||
|
<!-- BEGIN custom_tags -->
|
||||||
|
,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}'
|
||||||
|
<!-- END custom_tags -->
|
||||||
|
}
|
||||||
|
|
||||||
|
function change_palette()
|
||||||
|
{
|
||||||
|
phpbb.toggleDisplay('colour_palette');
|
||||||
|
e = document.getElementById('colour_palette');
|
||||||
|
|
||||||
|
if (e.style.display == 'block')
|
||||||
|
{
|
||||||
|
document.getElementById('bbpalette').value = '{LA_FONT_COLOR_HIDE}';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
document.getElementById('bbpalette').value = '{LA_FONT_COLOR}';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<a name="maincontent"></a>
|
||||||
|
|
||||||
|
<h1>{L_TITLE}</h1>
|
||||||
|
|
||||||
|
<p>{L_TITLE_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_ERROR -->
|
||||||
|
<div class="errorbox">
|
||||||
|
<h3>{L_WARNING}</h3>
|
||||||
|
<p>{ERROR_MSG}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<form id="acp_portal_config" method="post" action="{B3P_U_ACTION}">
|
||||||
|
<!-- IF SHOW_MODULE_OPTIONS -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{L_MODULE_OPTIONS}</legend>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_name">{L_MODULE_NAME}{L_COLON}</label><br /><span>{L_MODULE_NAME_EXP}</span></dt>
|
||||||
|
<dd><input id="module_name" type="text" value="{MODULE_NAME}" name="module_name" maxlength="255" size="64" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF MODULE_SHOW_IMAGE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_image">{L_MODULE_IMAGE}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_EXP}</span></dt>
|
||||||
|
<dd><input id="module_image" type="text" value="{MODULE_IMAGE}" name="module_image" maxlength="255" size="64" /></dd>
|
||||||
|
<!-- IF MODULE_IMAGE_SRC --><dd><img src="{MODULE_IMAGE_SRC}" alt="{L_MODULE_IMAGE}" /></dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- IF MODULE_IMAGE_SRC -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_img_width">{L_MODULE_IMAGE_WIDTH}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_WIDTH_EXP}</span></dt>
|
||||||
|
<dd><input id="module_img_width" type="text" value="{MODULE_IMAGE_WIDTH}" name="module_img_width" maxlength="3" size="3" />px</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_img_height">{L_MODULE_IMAGE_HEIGHT}{L_COLON}</label><br /><span>{L_MODULE_IMAGE_HEIGHT_EXP}</span></dt>
|
||||||
|
<dd><input id="module_img_height" type="text" value="{MODULE_IMAGE_HEIGHT}" name="module_img_height" maxlength="3" size="3" />px</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_reset">{L_MODULE_RESET}{L_COLON}</label><br /><span style="color: #BC2A4D;">{L_MODULE_RESET_EXP}</span></dt>
|
||||||
|
<dd><input id="module_reset" type="checkbox" value="1" name="module_reset" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="module_status">{L_MODULE_STATUS}{L_COLON}</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label><input type="radio" class="radio" name="module_status" value="1" id="module_status"<!-- IF MODULE_ENABLED --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
|
||||||
|
<label><input type="radio" class="radio" name="module_status" value="0"<!-- IF not MODULE_ENABLED --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF .permission_setting -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="permission-setting">{L_MODULE_PERMISSIONS}{L_COLON}</label><br /><span>{L_MODULE_PERMISSIONS_EXP}</span></dt>
|
||||||
|
<dd>
|
||||||
|
<select id="permission-setting" size="10" multiple="multiple" name="permission-setting[]">
|
||||||
|
<!-- BEGIN permission_setting -->
|
||||||
|
<option value="{permission_setting.GROUP_ID}"<!-- IF permission_setting.SELECTED -->selected="selected"<!-- ENDIF -->>{permission_setting.GROUP_NAME}</option>
|
||||||
|
<!-- END permission_setting -->
|
||||||
|
</select>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_PREVIEW -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{L_ACP_PORTAL_WELCOME_PREVIEW}</legend>
|
||||||
|
<dl>
|
||||||
|
<dt style="border: none; width: 100%;">
|
||||||
|
{PREVIEW_TEXT}
|
||||||
|
</dt>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<fieldset>
|
||||||
|
<legend>{L_PORTAL_WELCOME}</legend>
|
||||||
|
<dl><dt style="display: none;"></dt>
|
||||||
|
<dd>
|
||||||
|
<div id="colour_palette" style="display: none;">
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt style="border: none;"><label>{L_FONT_COLOR}{L_COLON}</label></dt>
|
||||||
|
<dd></dd>
|
||||||
|
</dl>
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt id="color_palette_placeholder" style="border: none;"></dt>
|
||||||
|
<dd></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<div id="format-buttons">
|
||||||
|
<input type="button" class="button2" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" title="{L_BBCODE_B_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" title="{L_BBCODE_I_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" title="{L_BBCODE_U_HELP}" />
|
||||||
|
<!-- IF S_BBCODE_QUOTE -->
|
||||||
|
<input type="button" class="button2" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" title="{L_BBCODE_Q_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="button" class="button2" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" title="{L_BBCODE_C_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" title="{L_BBCODE_L_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" title="{L_BBCODE_O_HELP}" />
|
||||||
|
<input type="button" class="button2" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" title="{L_BBCODE_LISTITEM_HELP}" />
|
||||||
|
<!-- IF S_BBCODE_IMG -->
|
||||||
|
<input type="button" class="button2" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" title="{L_BBCODE_P_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LINKS_ALLOWED -->
|
||||||
|
<input type="button" class="button2" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" title="{L_BBCODE_W_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_BBCODE_FLASH -->
|
||||||
|
<input type="button" class="button2" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" title="{L_BBCODE_D_HELP}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" title="{L_BBCODE_F_HELP}">
|
||||||
|
<option value="50">{L_FONT_TINY}</option>
|
||||||
|
<option value="85">{L_FONT_SMALL}</option>
|
||||||
|
<option value="100" selected="selected">{L_FONT_NORMAL}</option>
|
||||||
|
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->
|
||||||
|
<option value="150">{L_FONT_LARGE}</option>
|
||||||
|
<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->
|
||||||
|
<option value="200">{L_FONT_HUGE}</option>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</select>
|
||||||
|
<input type="button" class="button2" name="bbpalette" id="bbpalette" value="{L_FONT_COLOR}" onclick="change_palette();" title="{L_BBCODE_S_HELP}" />
|
||||||
|
<!-- BEGIN custom_tags -->
|
||||||
|
<input type="button" class="button2" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})" title="{custom_tags.BBCODE_HELPLINE}" />
|
||||||
|
<!-- END custom_tags -->
|
||||||
|
</div>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<label for="welcome_message">{L_ACP_PORTAL_WELCOME_MESSAGE}{L_COLON}</label><br />
|
||||||
|
<span>{L_ACP_PORTAL_WELCOME_MESSAGE_EXP}</span>
|
||||||
|
</dt>
|
||||||
|
<dd><textarea name="welcome_message" id="welcome_message" cols="6" rows="12">{WELCOME_MESSAGE}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_AUTH -->
|
||||||
|
<!-- BEGIN auth_tpl -->
|
||||||
|
{auth_tpl.TPL}
|
||||||
|
<!-- END auth_tpl -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input class="button2" type="submit" id="preview" name="preview" value="{L_PREVIEW}" />
|
||||||
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
|
</p>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
||||||
99
adm/style/portal/ajax.js
Normal file
@@ -0,0 +1,99 @@
|
|||||||
|
(function($) { // Avoid conflicts with other libraries
|
||||||
|
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The following callbacks are for reording items. row_down
|
||||||
|
* is triggered when an item is moved down, and row_up is triggered when
|
||||||
|
* an item is moved up. It moves the row up or down, and deactivates /
|
||||||
|
* activates any up / down icons that require it (the ones at the top or bottom).
|
||||||
|
*/
|
||||||
|
phpbb.addAjaxCallback('b3p_move_module_up', function(res) {
|
||||||
|
if (typeof res.success === 'undefined' || !res.success) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var el = $(this).parents('tr:first'),
|
||||||
|
trSwap = el.prev(),
|
||||||
|
elClass = trSwap.attr('class'),
|
||||||
|
trSwapClass = el.attr('class');
|
||||||
|
|
||||||
|
el.insertBefore(trSwap);
|
||||||
|
el.attr('class', elClass);
|
||||||
|
trSwap.attr('class', trSwapClass);
|
||||||
|
|
||||||
|
// Swap images if swap element is first row
|
||||||
|
var swapIsFirstRow = trSwap.find('img[src*="icon_up_disabled"]').parents('span:first').is(':visible');
|
||||||
|
|
||||||
|
if (swapIsFirstRow) {
|
||||||
|
trSwap.find('img[src*="icon_up_disabled"]').parents('span:first').toggle();
|
||||||
|
trSwap.find('img[src*="icon_up."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_up."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_up_disabled"]').parents('span:first').toggle();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Swap images if move element is last row
|
||||||
|
var elIsLastRow = el.find('img[src*="icon_down_disabled"]').parents('span:first').is(':visible');
|
||||||
|
|
||||||
|
if (elIsLastRow) {
|
||||||
|
trSwap.find('img[src*="icon_down_disabled"]').parents('span:first').toggle();
|
||||||
|
trSwap.find('img[src*="icon_down."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_down."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_down_disabled"]').parents('span:first').toggle();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
phpbb.addAjaxCallback('b3p_move_module_down', function(res) {
|
||||||
|
if (typeof res.success === 'undefined' || !res.success) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var el = $(this).parents('tr:first'),
|
||||||
|
trSwap = el.next(),
|
||||||
|
elClass = trSwap.attr('class'),
|
||||||
|
trSwapClass = el.attr('class');
|
||||||
|
|
||||||
|
el.insertAfter(trSwap);
|
||||||
|
el.attr('class', elClass);
|
||||||
|
trSwap.attr('class', trSwapClass);
|
||||||
|
|
||||||
|
// Swap images if swap element is last row
|
||||||
|
var swapIsLastRow = trSwap.find('img[src*="icon_down_disabled"]').parents('span:first').is(':visible');
|
||||||
|
|
||||||
|
if (swapIsLastRow) {
|
||||||
|
trSwap.find('img[src*="icon_down_disabled"]').parents('span:first').toggle();
|
||||||
|
trSwap.find('img[src*="icon_down."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_down."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_down_disabled"]').parents('span:first').toggle();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Swap images if move element is first row
|
||||||
|
var elIsFirstRow = el.find('img[src*="icon_up_disabled"]').parents('span:first').is(':visible');
|
||||||
|
|
||||||
|
if (elIsFirstRow) {
|
||||||
|
trSwap.find('img[src*="icon_up_disabled"]').parents('span:first').toggle();
|
||||||
|
trSwap.find('img[src*="icon_up."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_up."]').parents('span:first').toggle();
|
||||||
|
el.find('img[src*="icon_up_disabled"]').parents('span:first').toggle();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
phpbb.addAjaxCallback('b3p_delete_module', function(res) {
|
||||||
|
if (typeof res.success === 'undefined' || !res.success) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var el = $(this).parents('tr:first'),
|
||||||
|
nextEl = el.next();
|
||||||
|
|
||||||
|
el.remove();
|
||||||
|
|
||||||
|
// Fix classes of next elements
|
||||||
|
while (nextEl !== undefined && nextEl.is('tr')) {
|
||||||
|
var nextElClass = (nextEl.attr('class') === 'row1') ? 'row2' : 'row1';
|
||||||
|
nextEl.attr('class', nextElClass);
|
||||||
|
nextEl = nextEl.next();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
})(jQuery); // Avoid conflicts with other libraries
|
||||||
10
adm/style/portal/b3p_admin.css
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* Board3 Portal 2.1 Admin Style Sheet
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
Copyright 2014 board3 Group ( http://www.board3.de/ )
|
||||||
|
------------------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
|
||||||
|
.portal-modules-overview {
|
||||||
|
border-collapse: separate;
|
||||||
|
border-spacing: 1px;
|
||||||
|
}
|
||||||
40
composer.json
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"name": "board3/portal",
|
||||||
|
"type": "phpbb-extension",
|
||||||
|
"description": "Adds a portal with several blocks to your forum. You can change the settings, move the blocks, add new blocks and more in the ACP.",
|
||||||
|
"homepage": "http://www.board3.de",
|
||||||
|
"version": "2.1.0-rc1",
|
||||||
|
"time": "2014-11-26 14:23:15",
|
||||||
|
"license": "GPL-2.0",
|
||||||
|
"authors": [{
|
||||||
|
"name": "Marc Alexander",
|
||||||
|
"email": "admin@m-a-styles.de",
|
||||||
|
"homepage": "http://www.m-a-styles.de",
|
||||||
|
"role": "Lead Developer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Joas Schilling",
|
||||||
|
"email": "nickvergessen@gmx.de",
|
||||||
|
"homepage": "http://mods.flying-bits.org",
|
||||||
|
"role": "Developer"
|
||||||
|
}],
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3",
|
||||||
|
"nickvergessen/phpbb-tool-trimmessage": "1.3.*"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"satooshi/php-coveralls": "dev-master",
|
||||||
|
"phpbb/epv": "dev-master"
|
||||||
|
},
|
||||||
|
"extra": {
|
||||||
|
"display-name": "Board3 Portal",
|
||||||
|
"soft-require": {
|
||||||
|
"phpbb/phpbb": ">=3.1.2,<3.2.*@dev"
|
||||||
|
},
|
||||||
|
"version-check": {
|
||||||
|
"host": "board3.de",
|
||||||
|
"directory": "/updatecheck",
|
||||||
|
"filename": "board3_portal.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
812
composer.lock
generated
Normal file
@@ -0,0 +1,812 @@
|
|||||||
|
{
|
||||||
|
"_readme": [
|
||||||
|
"This file locks the dependencies of your project to a known state",
|
||||||
|
"Read more about it at http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||||
|
"This file is @generated automatically"
|
||||||
|
],
|
||||||
|
"hash": "6322be845c2cb83f9f4e314d15157d45",
|
||||||
|
"packages": [
|
||||||
|
{
|
||||||
|
"name": "nickvergessen/phpbb-tool-trimmessage",
|
||||||
|
"version": "1.3.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/nickvergessen/phpbb-tool-trimmessage.git",
|
||||||
|
"reference": "2a3d8273dc1238dd06454688bcb6496f62f66c3b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/nickvergessen/phpbb-tool-trimmessage/zipball/2a3d8273dc1238dd06454688bcb6496f62f66c3b",
|
||||||
|
"reference": "2a3d8273dc1238dd06454688bcb6496f62f66c3b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "4.1.*"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"classmap": [
|
||||||
|
"src/"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"GPL-2.0"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Joas Schilling",
|
||||||
|
"email": "nickvergessen@gmx.de",
|
||||||
|
"homepage": "https://github.com/nickvergessen",
|
||||||
|
"role": "Developer"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "This tool contains a class, that is able to trim a message from the phpbb message_parser to a maximum length without breaking the bbcodes/smilies and links.",
|
||||||
|
"homepage": "https://github.com/nickvergessen/phpbb-tool-trimmessage",
|
||||||
|
"time": "2014-07-06 19:42:34"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"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": "guzzle/guzzle",
|
||||||
|
"version": "v3.9.2",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/guzzle/guzzle3.git",
|
||||||
|
"reference": "54991459675c1a2924122afbb0e5609ade581155"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/guzzle/guzzle3/zipball/54991459675c1a2924122afbb0e5609ade581155",
|
||||||
|
"reference": "54991459675c1a2924122afbb0e5609ade581155",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-curl": "*",
|
||||||
|
"php": ">=5.3.3",
|
||||||
|
"symfony/event-dispatcher": "~2.1"
|
||||||
|
},
|
||||||
|
"replace": {
|
||||||
|
"guzzle/batch": "self.version",
|
||||||
|
"guzzle/cache": "self.version",
|
||||||
|
"guzzle/common": "self.version",
|
||||||
|
"guzzle/http": "self.version",
|
||||||
|
"guzzle/inflection": "self.version",
|
||||||
|
"guzzle/iterator": "self.version",
|
||||||
|
"guzzle/log": "self.version",
|
||||||
|
"guzzle/parser": "self.version",
|
||||||
|
"guzzle/plugin": "self.version",
|
||||||
|
"guzzle/plugin-async": "self.version",
|
||||||
|
"guzzle/plugin-backoff": "self.version",
|
||||||
|
"guzzle/plugin-cache": "self.version",
|
||||||
|
"guzzle/plugin-cookie": "self.version",
|
||||||
|
"guzzle/plugin-curlauth": "self.version",
|
||||||
|
"guzzle/plugin-error-response": "self.version",
|
||||||
|
"guzzle/plugin-history": "self.version",
|
||||||
|
"guzzle/plugin-log": "self.version",
|
||||||
|
"guzzle/plugin-md5": "self.version",
|
||||||
|
"guzzle/plugin-mock": "self.version",
|
||||||
|
"guzzle/plugin-oauth": "self.version",
|
||||||
|
"guzzle/service": "self.version",
|
||||||
|
"guzzle/stream": "self.version"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"doctrine/cache": "~1.3",
|
||||||
|
"monolog/monolog": "~1.0",
|
||||||
|
"phpunit/phpunit": "3.7.*",
|
||||||
|
"psr/log": "~1.0",
|
||||||
|
"symfony/class-loader": "~2.1",
|
||||||
|
"zendframework/zend-cache": "2.*,<2.3",
|
||||||
|
"zendframework/zend-log": "2.*,<2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "3.9-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Guzzle": "src/",
|
||||||
|
"Guzzle\\Tests": "tests/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Michael Dowling",
|
||||||
|
"email": "mtdowling@gmail.com",
|
||||||
|
"homepage": "https://github.com/mtdowling"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Guzzle Community",
|
||||||
|
"homepage": "https://github.com/guzzle/guzzle/contributors"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Guzzle is a PHP HTTP client library and framework for building RESTful web service clients",
|
||||||
|
"homepage": "http://guzzlephp.org/",
|
||||||
|
"keywords": [
|
||||||
|
"client",
|
||||||
|
"curl",
|
||||||
|
"framework",
|
||||||
|
"http",
|
||||||
|
"http client",
|
||||||
|
"rest",
|
||||||
|
"web service"
|
||||||
|
],
|
||||||
|
"time": "2014-08-11 04:32:36"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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": "4122e7329b683ac253ad99a90d1415e2ec83eb3a"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/phpbb/epv/zipball/4122e7329b683ac253ad99a90d1415e2ec83eb3a",
|
||||||
|
"reference": "4122e7329b683ac253ad99a90d1415e2ec83eb3a",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"gitonomy/gitlib": "0.1.*@dev",
|
||||||
|
"nikic/php-parser": "0.9.*@dev",
|
||||||
|
"php": ">=5.3.3",
|
||||||
|
"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.0.*"
|
||||||
|
},
|
||||||
|
"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": "2014-08-16 16:29:34"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "psr/log",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/php-fig/log.git",
|
||||||
|
"reference": "fe0936ee26643249e916849d48e3a51d5f5e278b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/php-fig/log/zipball/fe0936ee26643249e916849d48e3a51d5f5e278b",
|
||||||
|
"reference": "fe0936ee26643249e916849d48e3a51d5f5e278b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Psr\\Log\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "PHP-FIG",
|
||||||
|
"homepage": "http://www.php-fig.org/"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "Common interface for logging libraries",
|
||||||
|
"keywords": [
|
||||||
|
"log",
|
||||||
|
"psr",
|
||||||
|
"psr-3"
|
||||||
|
],
|
||||||
|
"time": "2012-12-21 11:40:51"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "satooshi/php-coveralls",
|
||||||
|
"version": "dev-master",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/satooshi/php-coveralls.git",
|
||||||
|
"reference": "94389a0ebdb64857d6899b5e0254dffa99e5aa96"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/satooshi/php-coveralls/zipball/94389a0ebdb64857d6899b5e0254dffa99e5aa96",
|
||||||
|
"reference": "94389a0ebdb64857d6899b5e0254dffa99e5aa96",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"ext-json": "*",
|
||||||
|
"ext-simplexml": "*",
|
||||||
|
"guzzle/guzzle": ">=2.7",
|
||||||
|
"php": ">=5.3",
|
||||||
|
"psr/log": "1.0.0",
|
||||||
|
"symfony/config": ">=2.0",
|
||||||
|
"symfony/console": ">=2.0",
|
||||||
|
"symfony/stopwatch": ">=2.2",
|
||||||
|
"symfony/yaml": ">=2.0"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"apigen/apigen": "2.8.*@stable",
|
||||||
|
"pdepend/pdepend": "dev-master as 2.0.0",
|
||||||
|
"phpmd/phpmd": "dev-master",
|
||||||
|
"phpunit/php-invoker": ">=1.1.0,<1.2.0",
|
||||||
|
"phpunit/phpunit": "3.7.*@stable",
|
||||||
|
"sebastian/finder-facade": "dev-master",
|
||||||
|
"sebastian/phpcpd": "1.4.*@stable",
|
||||||
|
"squizlabs/php_codesniffer": "1.4.*@stable",
|
||||||
|
"theseer/fdomdocument": "dev-master"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"symfony/http-kernel": "Allows Symfony integration"
|
||||||
|
},
|
||||||
|
"bin": [
|
||||||
|
"composer/bin/coveralls"
|
||||||
|
],
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "0.7-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Satooshi\\Component": "src/",
|
||||||
|
"Satooshi\\Bundle": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"authors": [
|
||||||
|
{
|
||||||
|
"name": "Kitamura Satoshi",
|
||||||
|
"email": "with.no.parachute@gmail.com",
|
||||||
|
"homepage": "https://www.facebook.com/satooshi.jp"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"description": "PHP client library for Coveralls API",
|
||||||
|
"homepage": "https://github.com/satooshi/php-coveralls",
|
||||||
|
"keywords": [
|
||||||
|
"ci",
|
||||||
|
"coverage",
|
||||||
|
"github",
|
||||||
|
"test"
|
||||||
|
],
|
||||||
|
"time": "2014-07-09 10:45:38"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/config",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Config",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Config.git",
|
||||||
|
"reference": "8d044668c7ccb4ade684e368d910e3aadcff6f6c"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Config/zipball/8d044668c7ccb4ade684e368d910e3aadcff6f6c",
|
||||||
|
"reference": "8d044668c7ccb4ade684e368d910e3aadcff6f6c",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3",
|
||||||
|
"symfony/filesystem": "~2.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Symfony\\Component\\Config\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 Config Component",
|
||||||
|
"homepage": "http://symfony.com",
|
||||||
|
"time": "2014-08-05 09:00:40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/console",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Console",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Console.git",
|
||||||
|
"reference": "cd2d1e4bac2206b337326b0140ff475fe9ad5f63"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Console/zipball/cd2d1e4bac2206b337326b0140ff475fe9ad5f63",
|
||||||
|
"reference": "cd2d1e4bac2206b337326b0140ff475fe9ad5f63",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"psr/log": "~1.0",
|
||||||
|
"symfony/event-dispatcher": "~2.1"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"psr/log": "For using the console logger",
|
||||||
|
"symfony/event-dispatcher": ""
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-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": "2014-08-05 09:00:40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/event-dispatcher",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/EventDispatcher",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/EventDispatcher.git",
|
||||||
|
"reference": "8faf5cc7e80fde74a650a36e60d32ce3c3e0457b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/EventDispatcher/zipball/8faf5cc7e80fde74a650a36e60d32ce3c3e0457b",
|
||||||
|
"reference": "8faf5cc7e80fde74a650a36e60d32ce3c3e0457b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"psr/log": "~1.0",
|
||||||
|
"symfony/config": "~2.0",
|
||||||
|
"symfony/dependency-injection": "~2.0",
|
||||||
|
"symfony/stopwatch": "~2.2"
|
||||||
|
},
|
||||||
|
"suggest": {
|
||||||
|
"symfony/dependency-injection": "",
|
||||||
|
"symfony/http-kernel": ""
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Symfony\\Component\\EventDispatcher\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 EventDispatcher Component",
|
||||||
|
"homepage": "http://symfony.com",
|
||||||
|
"time": "2014-07-28 13:20:46"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/filesystem",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Filesystem",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Filesystem.git",
|
||||||
|
"reference": "c1309b0ee195ad264a4314435bdaecdfacb8ae9c"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Filesystem/zipball/c1309b0ee195ad264a4314435bdaecdfacb8ae9c",
|
||||||
|
"reference": "c1309b0ee195ad264a4314435bdaecdfacb8ae9c",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Symfony\\Component\\Filesystem\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 Filesystem Component",
|
||||||
|
"homepage": "http://symfony.com",
|
||||||
|
"time": "2014-07-09 09:05:48"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/finder",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Finder",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Finder.git",
|
||||||
|
"reference": "090fe4eaff414d8f2171c7a4748ea868d530775f"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Finder/zipball/090fe4eaff414d8f2171c7a4748ea868d530775f",
|
||||||
|
"reference": "090fe4eaff414d8f2171c7a4748ea868d530775f",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-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": "2014-07-28 13:20:46"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/process",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Process",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Process.git",
|
||||||
|
"reference": "e0997d2a9a1a763484b34b989900b61322a9b056"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Process/zipball/e0997d2a9a1a763484b34b989900b61322a9b056",
|
||||||
|
"reference": "e0997d2a9a1a763484b34b989900b61322a9b056",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-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": "2014-08-05 09:00:40"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/stopwatch",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Stopwatch",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Stopwatch.git",
|
||||||
|
"reference": "086c8c98c3016f59f5e6e7b15b751c2384b311e5"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Stopwatch/zipball/086c8c98c3016f59f5e6e7b15b751c2384b311e5",
|
||||||
|
"reference": "086c8c98c3016f59f5e6e7b15b751c2384b311e5",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-dev"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-0": {
|
||||||
|
"Symfony\\Component\\Stopwatch\\": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"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 Stopwatch Component",
|
||||||
|
"homepage": "http://symfony.com",
|
||||||
|
"time": "2014-08-06 06:44:37"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "symfony/yaml",
|
||||||
|
"version": "v2.5.3",
|
||||||
|
"target-dir": "Symfony/Component/Yaml",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/symfony/Yaml.git",
|
||||||
|
"reference": "5a75366ae9ca8b4792cd0083e4ca4dff9fe96f1f"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/symfony/Yaml/zipball/5a75366ae9ca8b4792cd0083e4ca4dff9fe96f1f",
|
||||||
|
"reference": "5a75366ae9ca8b4792cd0083e4ca4dff9fe96f1f",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"branch-alias": {
|
||||||
|
"dev-master": "2.5-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": "2014-08-05 09:00:40"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"aliases": [
|
||||||
|
|
||||||
|
],
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"stability-flags": {
|
||||||
|
"satooshi/php-coveralls": 20,
|
||||||
|
"phpbb/epv": 20
|
||||||
|
},
|
||||||
|
"platform": {
|
||||||
|
"php": ">=5.3.3"
|
||||||
|
},
|
||||||
|
"platform-dev": [
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
||||||
BIN
composer.phar
Executable file
319
config/modules.yml
Normal file
@@ -0,0 +1,319 @@
|
|||||||
|
services:
|
||||||
|
board3.portal.module.announcements:
|
||||||
|
class: board3\portal\modules\announcements
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @cache
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @dbal.conn
|
||||||
|
- @pagination
|
||||||
|
- @board3.portal.modules_helper
|
||||||
|
- @request
|
||||||
|
- %core.php_ext%
|
||||||
|
- %core.root_path%
|
||||||
|
- @user
|
||||||
|
- @board3.portal.fetch_posts
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.attachments:
|
||||||
|
class: board3\portal\modules\attachments
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @board3.portal.modules_helper
|
||||||
|
- @template
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- %core.php_ext%
|
||||||
|
- %core.root_path%
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.birthday_list:
|
||||||
|
class: board3\portal\modules\birthday_list
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @dbal.conn
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.calendar:
|
||||||
|
class: board3\portal\modules\calendar
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
- @path_helper
|
||||||
|
- @log
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.clock:
|
||||||
|
class: board3\portal\modules\clock
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.custom:
|
||||||
|
class: board3\portal\modules\custom
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
- @log
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.donation:
|
||||||
|
class: board3\portal\modules\donation
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.forumlist:
|
||||||
|
class: board3\portal\modules\forumlist
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.friends:
|
||||||
|
class: board3\portal\modules\friends
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.latest_bots:
|
||||||
|
class: board3\portal\modules\latest_bots
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.latest_members:
|
||||||
|
class: board3\portal\modules\latest_members
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.leaders:
|
||||||
|
class: board3\portal\modules\leaders
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.link_us:
|
||||||
|
class: board3\portal\modules\link_us
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.links:
|
||||||
|
class: board3\portal\modules\links
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
- @log
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.main_menu:
|
||||||
|
class: board3\portal\modules\main_menu
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
- @log
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.news:
|
||||||
|
class: board3\portal\modules\news
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @cache
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @pagination
|
||||||
|
- @board3.portal.modules_helper
|
||||||
|
- @request
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
- @board3.portal.fetch_posts
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.poll:
|
||||||
|
class: board3\portal\modules\poll
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.random_member:
|
||||||
|
class: board3\portal\modules\random_member
|
||||||
|
arguments:
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.recent:
|
||||||
|
class: board3\portal\modules\recent
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.search:
|
||||||
|
class: board3\portal\modules\search
|
||||||
|
arguments:
|
||||||
|
- @template
|
||||||
|
- %core.php_ext%
|
||||||
|
- %core.root_path%
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.statistics:
|
||||||
|
class: board3\portal\modules\statistics
|
||||||
|
arguments:
|
||||||
|
- @cache
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.stylechanger:
|
||||||
|
class: board3\portal\modules\stylechanger
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @dbal.conn
|
||||||
|
- @request
|
||||||
|
- %core.php_ext%
|
||||||
|
- %core.root_path%
|
||||||
|
- @user
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.topposters:
|
||||||
|
class: board3\portal\modules\topposters
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.user_menu:
|
||||||
|
class: board3\portal\modules\user_menu
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @controller.helper
|
||||||
|
- @dbal.conn
|
||||||
|
- @path_helper
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.welcome:
|
||||||
|
class: board3\portal\modules\welcome
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @request
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
|
|
||||||
|
board3.portal.module.whois_online:
|
||||||
|
class: board3\portal\modules\whois_online
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @dbal.conn
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- %core.root_path%
|
||||||
|
- %core.php_ext%
|
||||||
|
tags:
|
||||||
|
- { name: board3.portal.module }
|
||||||
13
config/routing.yml
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
board3_portal_controller:
|
||||||
|
pattern: /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
|
||||||
|
board3_portal_redirect_controller:
|
||||||
|
pattern: /
|
||||||
|
defaults: { _controller: board3.portal.main:handle }
|
||||||
92
config/services.yml
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
imports:
|
||||||
|
- { resource: modules.yml }
|
||||||
|
|
||||||
|
parameters:
|
||||||
|
board3.version_data:
|
||||||
|
author: Marc
|
||||||
|
title: Board3 Portal
|
||||||
|
version: board3_portal_version
|
||||||
|
file:
|
||||||
|
- board3.de
|
||||||
|
- /updatecheck
|
||||||
|
- board3_portal.json
|
||||||
|
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
|
||||||
|
arguments:
|
||||||
|
- @config
|
||||||
|
- @board3.portal.controller_helper
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- @path_helper
|
||||||
|
- %core.root_path%
|
||||||
|
- .%core.php_ext%
|
||||||
|
- %board3.portal.config.table%
|
||||||
|
- %board3.portal.modules.table%
|
||||||
|
|
||||||
|
board3.portal.controller_helper:
|
||||||
|
class: board3\portal\controller\helper
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- @path_helper
|
||||||
|
- @board3.portal.helper
|
||||||
|
- %core.root_path%
|
||||||
|
- .%core.php_ext%
|
||||||
|
|
||||||
|
board3.portal.version.check:
|
||||||
|
class: board3\portal\includes\version_check
|
||||||
|
scope: prototype
|
||||||
|
arguments:
|
||||||
|
- %board3.version_data%
|
||||||
|
- @config
|
||||||
|
- @version_helper
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
|
||||||
|
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:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @request
|
||||||
|
|
||||||
|
board3.portal.fetch_posts:
|
||||||
|
class: board3\portal\portal\fetch_posts
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @cache
|
||||||
|
- @config
|
||||||
|
- @dbal.conn
|
||||||
|
- @board3.portal.modules_helper
|
||||||
|
- @user
|
||||||
|
|
||||||
|
board3.portal.listener:
|
||||||
|
class: board3\portal\event\listener
|
||||||
|
arguments:
|
||||||
|
- @auth
|
||||||
|
- @config
|
||||||
|
- @controller.helper
|
||||||
|
- @path_helper
|
||||||
|
- @template
|
||||||
|
- @user
|
||||||
|
- %core.php_ext%
|
||||||
|
tags:
|
||||||
|
- { name: event.listener }
|
||||||
110
contrib/de.xml
@@ -1,110 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
|
||||||
<!-- $Id$ -->
|
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
|
||||||
|
|
||||||
<title lang="en">board3 Portal - German Language</title>
|
|
||||||
<title lang="de">board3 Portal - Deutsche Sprache</title>
|
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
|
||||||
|
|
||||||
Included language files:
|
|
||||||
» English (en)
|
|
||||||
» German (de)
|
|
||||||
|
|
||||||
More languages can be found in our International forum: http://www.board3.de/viewforum.php?f=13</description>
|
|
||||||
<description lang="de">Fügt ein Portal deinem Forum hinzu.
|
|
||||||
Es hat diverse Boxen, die über das ACP an- / abgeschaltet und eingestellt werden können.
|
|
||||||
|
|
||||||
Enthaltenen Sprachdateien:
|
|
||||||
» Englisch (en)
|
|
||||||
» Deutsch (de)
|
|
||||||
|
|
||||||
Weitere Sprachen kannst in unseren International Forum finden: http://www.board3.de/viewforum.php?f=13
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<author-notes lang="en">I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de
|
|
||||||
</author-notes>
|
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
|
||||||
</author-notes>
|
|
||||||
|
|
||||||
<author-group>
|
|
||||||
<author>
|
|
||||||
<realname>Marc Alexander</realname>
|
|
||||||
<username>marc1706</username>
|
|
||||||
<email>admin@m-a-styles.de</email>
|
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Main-Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Joas Schilling</realname>
|
|
||||||
<email>nickvergessen@gmx.de</email>
|
|
||||||
<username>nickvergessen</username>
|
|
||||||
<homepage>http://mods.flying-bits.org/</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Kevin</realname>
|
|
||||||
<username>saint_hh</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Ice</realname>
|
|
||||||
<username>avaren</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Christian</realname>
|
|
||||||
<username>Christian_N</username>
|
|
||||||
<homepage>http://www.phpbb-projekt.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Walter</realname>
|
|
||||||
<email>w.bobeth@digitalfotografie-foren.de</email>
|
|
||||||
<username>Redbull254</username>
|
|
||||||
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
</author-group>
|
|
||||||
|
|
||||||
<mod-version>2.0.0b1</mod-version>
|
|
||||||
|
|
||||||
<installation>
|
|
||||||
<level>easy</level>
|
|
||||||
<time>120</time>
|
|
||||||
<target-version>3.0.8</target-version>
|
|
||||||
</installation>
|
|
||||||
|
|
||||||
<link-group>
|
|
||||||
<link type="parent" lang="de" href="../install.xml">Installations-Anleitung</link>
|
|
||||||
<link type="parent" lang="en" href="../install.xml">Manual</link>
|
|
||||||
</link-group>
|
|
||||||
</header>
|
|
||||||
<action-group>
|
|
||||||
<copy>
|
|
||||||
<file from="root/language/de/mods/*.*" to="language/de/mods/*.*" />
|
|
||||||
</copy>
|
|
||||||
|
|
||||||
<diy-instructions lang="en">See general install.xml file</diy-instructions>
|
|
||||||
<diy-instructions lang="de">Siehe install.xml</diy-instructions>
|
|
||||||
</action-group>
|
|
||||||
</mod>
|
|
||||||
@@ -1,173 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
|
||||||
<!-- $Id: subsilver2.xml 658 2010-06-01 12:26:23Z marc1706 $ -->
|
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
|
||||||
|
|
||||||
<title lang="en">board3 Portal - subsilver2 style</title>
|
|
||||||
<title lang="de">board3 Portal - subsilver2 style</title>
|
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
|
||||||
|
|
||||||
Included language files:
|
|
||||||
» English (en)
|
|
||||||
» German (de)
|
|
||||||
|
|
||||||
More languages can be found in our International forum: http://www.board3.de/viewforum.php?f=13</description>
|
|
||||||
<description lang="de">Fügt ein Portal deinem Forum hinzu.
|
|
||||||
Es hat diverse Boxen, die über das ACP an- / abgeschaltet und eingestellt werden können.
|
|
||||||
|
|
||||||
Enthaltenen Sprachdateien:
|
|
||||||
» Englisch (en)
|
|
||||||
» Deutsch (de)
|
|
||||||
|
|
||||||
Weitere Sprachen kannst in unseren International Forum finden: http://www.board3.de/viewforum.php?f=13
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<author-notes lang="en">I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de
|
|
||||||
</author-notes>
|
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
|
||||||
</author-notes>
|
|
||||||
|
|
||||||
<author-group>
|
|
||||||
<author>
|
|
||||||
<realname>Marc Alexander</realname>
|
|
||||||
<username>marc1706</username>
|
|
||||||
<email>admin@m-a-styles.de</email>
|
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Main-Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Joas Schilling</realname>
|
|
||||||
<email>nickvergessen@gmx.de</email>
|
|
||||||
<username>nickvergessen</username>
|
|
||||||
<homepage>http://mods.flying-bits.org/</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Kevin</realname>
|
|
||||||
<username>saint_hh</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Ice</realname>
|
|
||||||
<username>avaren</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Christian</realname>
|
|
||||||
<username>Christian_N</username>
|
|
||||||
<homepage>http://www.phpbb-projekt.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Walter</realname>
|
|
||||||
<email>w.bobeth@digitalfotografie-foren.de</email>
|
|
||||||
<username>Redbull254</username>
|
|
||||||
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
</author-group>
|
|
||||||
|
|
||||||
<mod-version>2.0.0b1</mod-version>
|
|
||||||
|
|
||||||
<installation>
|
|
||||||
<level>easy</level>
|
|
||||||
<time>120</time>
|
|
||||||
<target-version>3.0.8</target-version>
|
|
||||||
</installation>
|
|
||||||
|
|
||||||
<link-group>
|
|
||||||
<link type="parent" lang="de" href="../install.xml">Installations-Anleitung</link>
|
|
||||||
<link type="parent" lang="en" href="../install.xml">Manual</link>
|
|
||||||
</link-group>
|
|
||||||
</header>
|
|
||||||
<action-group>
|
|
||||||
<copy>
|
|
||||||
<file from="root/styles/subsilver2/template/portal/*.*" to="styles/subsilver2/template/portal/*.*" />
|
|
||||||
<file from="root/styles/subsilver2/theme/images/portal/*.*" to="styles/subsilver2/theme/images/portal/*.*" />
|
|
||||||
</copy>
|
|
||||||
<open src="styles/subsilver2/template/breadcrumbs.html">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[<p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » ]]></find>
|
|
||||||
<inline-edit>
|
|
||||||
<inline-find><![CDATA[<a href="{U_INDEX}">{L_INDEX}</a>]]></inline-find>
|
|
||||||
<inline-action type="before-add"><![CDATA[<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->]]></inline-action>
|
|
||||||
</inline-edit>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="styles/subsilver2/template/overall_header.html">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ <div id="logodesc">
|
|
||||||
<table width="100%" cellspacing="0">
|
|
||||||
<tr>
|
|
||||||
<td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td>
|
|
||||||
<td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>]]></find>
|
|
||||||
<action type="after-add"><![CDATA[<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF -->]]></find>
|
|
||||||
<action type="before-add"><![CDATA[<!-- ENDIF -->]]></action>
|
|
||||||
<action type="after-add"><![CDATA[<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ <div id="datebar">
|
|
||||||
<table width="100%" cellspacing="0">
|
|
||||||
<tr>
|
|
||||||
<td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td>
|
|
||||||
<td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>]]></find>
|
|
||||||
<action type="after-add"><![CDATA[<!-- ENDIF -->]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[<div id="wrapcentre">]]></find>
|
|
||||||
<action type="after-add"><![CDATA[<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ <!-- INCLUDE breadcrumbs.html -->
|
|
||||||
|
|
||||||
<br />]]></find>
|
|
||||||
<action type="after-add"><![CDATA[<!-- ENDIF -->]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
|
|
||||||
<diy-instructions lang="de"><![CDATA[
|
|
||||||
Aktualisiere deine Styles:
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"
|
|
||||||
|
|
||||||
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
|
|
||||||
]]></diy-instructions>
|
|
||||||
<diy-instructions lang="en"><![CDATA[
|
|
||||||
Refresh your Styles:
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"
|
|
||||||
|
|
||||||
Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
|
|
||||||
]]></diy-instructions>
|
|
||||||
</action-group>
|
|
||||||
</mod>
|
|
||||||
@@ -1,117 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
|
||||||
<!-- $Id$ -->
|
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
|
||||||
|
|
||||||
<title lang="en">board3 Portal - German Language Update for 2.0.0b1</title>
|
|
||||||
<title lang="de">board3 Portal - Deutsche Sprache Aktualisiering für 2.0.0b1</title>
|
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
|
||||||
|
|
||||||
Included language files:
|
|
||||||
» English (en)
|
|
||||||
» German (de)
|
|
||||||
|
|
||||||
More languages can be found in our International forum: http://www.board3.de/viewforum.php?f=13</description>
|
|
||||||
<description lang="de">Fügt ein Portal deinem Forum hinzu.
|
|
||||||
Es hat diverse Boxen, die über das ACP an- / abgeschaltet und eingestellt werden können.
|
|
||||||
|
|
||||||
Enthaltenen Sprachdateien:
|
|
||||||
» Englisch (en)
|
|
||||||
» Deutsch (de)
|
|
||||||
|
|
||||||
Weitere Sprachen kannst in unseren International Forum finden: http://www.board3.de/viewforum.php?f=13
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<author-notes lang="en">I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de
|
|
||||||
</author-notes>
|
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
|
||||||
</author-notes>
|
|
||||||
|
|
||||||
<author-group>
|
|
||||||
<author>
|
|
||||||
<realname>Marc Alexander</realname>
|
|
||||||
<username>marc1706</username>
|
|
||||||
<email>admin@m-a-styles.de</email>
|
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Main-Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Joas Schilling</realname>
|
|
||||||
<email>nickvergessen@gmx.de</email>
|
|
||||||
<username>nickvergessen</username>
|
|
||||||
<homepage>http://mods.flying-bits.org/</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Kevin</realname>
|
|
||||||
<username>saint_hh</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Ice</realname>
|
|
||||||
<username>avaren</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Christian</realname>
|
|
||||||
<username>Christian_N</username>
|
|
||||||
<homepage>http://www.phpbb-projekt.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Walter</realname>
|
|
||||||
<email>w.bobeth@digitalfotografie-foren.de</email>
|
|
||||||
<username>Redbull254</username>
|
|
||||||
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
</author-group>
|
|
||||||
|
|
||||||
<mod-version>2.0.0b1</mod-version>
|
|
||||||
|
|
||||||
<installation>
|
|
||||||
<level>easy</level>
|
|
||||||
<time>120</time>
|
|
||||||
<target-version>3.0.8</target-version>
|
|
||||||
</installation>
|
|
||||||
|
|
||||||
<link-group>
|
|
||||||
<link type="parent" lang="de" href="../update.xml">Update-Anleitung</link>
|
|
||||||
<link type="parent" lang="en" href="../update.xml">Update instructions</link>
|
|
||||||
</link-group>
|
|
||||||
</header>
|
|
||||||
<action-group>
|
|
||||||
<copy>
|
|
||||||
<file from="root/language/de/mods/*.*" to="language/de/mods/*.*" />
|
|
||||||
</copy>
|
|
||||||
<delete>
|
|
||||||
<file name="language/de/mods/additional_blocks.php" />
|
|
||||||
<file name="language/de/mods/info_acp_additional_blocks.php" />
|
|
||||||
<file name="language/de/mods/install_portal.php" />
|
|
||||||
<file name="language/de/mods/lang_portal.php" />
|
|
||||||
<file name="language/de/mods/lang_portal_acp.php" />
|
|
||||||
</delete>
|
|
||||||
|
|
||||||
<diy-instructions lang="en">See general install.xml file</diy-instructions>
|
|
||||||
<diy-instructions lang="de">Siehe install.xml</diy-instructions>
|
|
||||||
</action-group>
|
|
||||||
</mod>
|
|
||||||
@@ -1,136 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
|
||||||
<!-- $Id: subsilver2.xml 658 2010-06-01 12:26:23Z marc1706 $ -->
|
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
|
||||||
|
|
||||||
<title lang="en">board3 Portal - Update subsilver2 style for 2.0.0b1</title>
|
|
||||||
<title lang="de">board3 Portal - Aktualisiere das subsilver2 style für 2.0.0b1</title>
|
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
|
||||||
|
|
||||||
Included language files:
|
|
||||||
» English (en)
|
|
||||||
» German (de)
|
|
||||||
|
|
||||||
More languages can be found in our International forum: http://www.board3.de/viewforum.php?f=13</description>
|
|
||||||
<description lang="de">Fügt ein Portal deinem Forum hinzu.
|
|
||||||
Es hat diverse Boxen, die über das ACP an- / abgeschaltet und eingestellt werden können.
|
|
||||||
|
|
||||||
Enthaltenen Sprachdateien:
|
|
||||||
» Englisch (en)
|
|
||||||
» Deutsch (de)
|
|
||||||
|
|
||||||
Weitere Sprachen kannst in unseren International Forum finden: http://www.board3.de/viewforum.php?f=13
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<author-notes lang="en">I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de
|
|
||||||
</author-notes>
|
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
|
||||||
</author-notes>
|
|
||||||
|
|
||||||
<author-group>
|
|
||||||
<author>
|
|
||||||
<realname>Marc Alexander</realname>
|
|
||||||
<username>marc1706</username>
|
|
||||||
<email>admin@m-a-styles.de</email>
|
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Main-Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Joas Schilling</realname>
|
|
||||||
<email>nickvergessen@gmx.de</email>
|
|
||||||
<username>nickvergessen</username>
|
|
||||||
<homepage>http://mods.flying-bits.org/</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Kevin</realname>
|
|
||||||
<username>saint_hh</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Ice</realname>
|
|
||||||
<username>avaren</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Christian</realname>
|
|
||||||
<username>Christian_N</username>
|
|
||||||
<homepage>http://www.phpbb-projekt.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Walter</realname>
|
|
||||||
<email>w.bobeth@digitalfotografie-foren.de</email>
|
|
||||||
<username>Redbull254</username>
|
|
||||||
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
</author-group>
|
|
||||||
|
|
||||||
<mod-version>2.0.0b1</mod-version>
|
|
||||||
|
|
||||||
<installation>
|
|
||||||
<level>easy</level>
|
|
||||||
<time>120</time>
|
|
||||||
<target-version>3.0.8</target-version>
|
|
||||||
</installation>
|
|
||||||
|
|
||||||
<link-group>
|
|
||||||
<link type="parent" lang="de" href="../update.xml">Update-Anleitung</link>
|
|
||||||
<link type="parent" lang="en" href="../update.xml">Update instructions</link>
|
|
||||||
</link-group>
|
|
||||||
</header>
|
|
||||||
<action-group>
|
|
||||||
<copy>
|
|
||||||
<file from="root/styles/subsilver2/template/portal/*.*" to="styles/subsilver2/template/portal/*.*" />
|
|
||||||
<file from="root/styles/subsilver2/theme/images/portal/*.*" to="styles/subsilver2/theme/images/portal/*.*" />
|
|
||||||
</copy>
|
|
||||||
<delete>
|
|
||||||
<file name="styles/subsilver2/template/portal/portal_center.html" />
|
|
||||||
<file name="styles/subsilver2/template/portal/portal_left.html" />
|
|
||||||
<file name="styles/subsilver2/template/portal/portal_right.html" />
|
|
||||||
<file name="styles/subsilver2/template/portal/block/*.*" />
|
|
||||||
<file name="styles/subsilver2/theme/images/portal/mini_cal_icon_left_arrow.png" />
|
|
||||||
<file name="styles/subsilver2/theme/images/portal/mini_cal_icon_right_arrow.png" />
|
|
||||||
<file name="styles/subsilver2/theme/images/portal/portal_login.png" />
|
|
||||||
<file name="styles/subsilver2/theme/images/portal/portal_minical.png" />
|
|
||||||
<file name="styles/subsilver2/theme/images/portal/portal_random.png" />
|
|
||||||
<file name="styles/subsilver2/theme/images/portal/portal_stats.png" />
|
|
||||||
</delete>
|
|
||||||
<diy-instructions lang="de"><![CDATA[
|
|
||||||
Aktualisiere deine Styles:
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"
|
|
||||||
|
|
||||||
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
|
|
||||||
]]></diy-instructions>
|
|
||||||
<diy-instructions lang="en"><![CDATA[
|
|
||||||
Refresh your Styles:
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"
|
|
||||||
|
|
||||||
Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
|
|
||||||
]]></diy-instructions>
|
|
||||||
</action-group>
|
|
||||||
</mod>
|
|
||||||
@@ -1,189 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
|
||||||
<!-- $Id: subsilver2.xml 658 2010-06-01 12:26:23Z marc1706 $ -->
|
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
|
||||||
|
|
||||||
<title lang="en">board3 Portal 2.0.0b1 - Convert from Board3 Portal 1.0.6</title>
|
|
||||||
<title lang="de">board3 Portal 2.0.0b1 - Konvertiere von Board3 Portal 1.0.6</title>
|
|
||||||
|
|
||||||
<description lang="en">Adds a portal to your forum.
|
|
||||||
It has several boxes wich can be turned on an off in the ACP and certain settings.
|
|
||||||
|
|
||||||
Included language files:
|
|
||||||
» English (en)
|
|
||||||
» German (de)
|
|
||||||
|
|
||||||
More languages can be found in our International forum: http://www.board3.de/viewforum.php?f=13</description>
|
|
||||||
<description lang="de">Fügt ein Portal deinem Forum hinzu.
|
|
||||||
Es hat diverse Boxen, die über das ACP an- / abgeschaltet und eingestellt werden können.
|
|
||||||
|
|
||||||
Enthaltenen Sprachdateien:
|
|
||||||
» Englisch (en)
|
|
||||||
» Deutsch (de)
|
|
||||||
|
|
||||||
Weitere Sprachen kannst in unseren International Forum finden: http://www.board3.de/viewforum.php?f=13
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<author-notes lang="en">I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de
|
|
||||||
</author-notes>
|
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
|
||||||
</author-notes>
|
|
||||||
|
|
||||||
<author-group>
|
|
||||||
<author>
|
|
||||||
<realname>Marc Alexander</realname>
|
|
||||||
<username>marc1706</username>
|
|
||||||
<email>admin@m-a-styles.de</email>
|
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Main-Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Joas Schilling</realname>
|
|
||||||
<email>nickvergessen@gmx.de</email>
|
|
||||||
<username>nickvergessen</username>
|
|
||||||
<homepage>http://mods.flying-bits.org/</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Kevin</realname>
|
|
||||||
<username>saint_hh</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Ice</realname>
|
|
||||||
<username>avaren</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Christian</realname>
|
|
||||||
<username>Christian_N</username>
|
|
||||||
<homepage>http://www.phpbb-projekt.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Walter</realname>
|
|
||||||
<email>w.bobeth@digitalfotografie-foren.de</email>
|
|
||||||
<username>Redbull254</username>
|
|
||||||
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
</author-group>
|
|
||||||
|
|
||||||
<mod-version>2.0.0b1</mod-version>
|
|
||||||
|
|
||||||
<installation>
|
|
||||||
<level>easy</level>
|
|
||||||
<time>120</time>
|
|
||||||
<target-version>3.0.8</target-version>
|
|
||||||
</installation>
|
|
||||||
|
|
||||||
<link-group>
|
|
||||||
<link type="parent" lang="de" href="../../install.xml">Installations-Anleitung</link>
|
|
||||||
<link type="parent" lang="en" href="../../install.xml">Manual</link>
|
|
||||||
<link type="template" lang="en" href="contrib/subsilver2.xml">Update subsilver2 to Board3 Portal 2.0.0a2</link>
|
|
||||||
<link type="template" lang="de" href="contrib/subsilver2.xml">Aktualisiere subsilver2 für Board3 Portal 2.0.0a2</link>
|
|
||||||
<link type="language" lang="en" href="contrib/de.xml">Update German language to Board3 Portal 2.0.0a2</link>
|
|
||||||
<link type="language" lang="de" href="contrib/de.xml">Aktualisiere deutsche Sprachdateien für Board3 Portal 2.0.0a2</link>
|
|
||||||
</link-group>
|
|
||||||
</header>
|
|
||||||
<action-group>
|
|
||||||
<copy>
|
|
||||||
<file from="root/portal.php" to="portal.php" />
|
|
||||||
<file from="root/adm/images/*.*" to="adm/images/*.*" />
|
|
||||||
<file from="root/adm/mods/board3_portal_check_version.php" to="adm/mods/board3_portal_check_version.php" />
|
|
||||||
<file from="root/adm/style/*.*" to="adm/style/*.*" />
|
|
||||||
<file from="root/includes/acp/*.*" to="includes/acp/*.*" />
|
|
||||||
<file from="root/install/index.php" to="install/index.php" />
|
|
||||||
<file from="root/language/en/mods/*.*" to="language/en/mods/*.*" />
|
|
||||||
<file from="root/portal/*.*" to="portal/*.*" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/*.*" to="styles/prosilver/template/portal/*.*" />
|
|
||||||
<file from="root/styles/prosilver/theme/portal.css" to="styles/prosilver/theme/portal.css" />
|
|
||||||
<file from="root/styles/prosilver/theme/images/portal/*.*" to="styles/prosilver/theme/images/portal/*.*" />
|
|
||||||
<file from="root/umil/*.*" to="umil/*.*" />
|
|
||||||
</copy>
|
|
||||||
<delete>
|
|
||||||
<file name="adm/style/acp_portal.html" />
|
|
||||||
<file name="language/en/mods/additional_blocks.php" />
|
|
||||||
<file name="language/en/mods/info_acp_additional_blocks.php" />
|
|
||||||
<file name="language/en/mods/install_portal.php" />
|
|
||||||
<file name="language/en/mods/lang_portal.php" />
|
|
||||||
<file name="language/en/mods/lang_portal_acp.php" />
|
|
||||||
<file name="portal/block/*.*" />
|
|
||||||
<file name="styles/prosilver/template/portal/portal_center.html" />
|
|
||||||
<file name="styles/prosilver/template/portal/portal_left.html" />
|
|
||||||
<file name="styles/prosilver/template/portal/portal_right.html" />
|
|
||||||
<file name="styles/prosilver/template/portal/block/*.*" />
|
|
||||||
<file name="styles/prosilver/theme/images/portal/mini_cal_icon_left_arrow.png" />
|
|
||||||
<file name="styles/prosilver/theme/images/portal/mini_cal_icon_right_arrow.png" />
|
|
||||||
<file name="styles/prosilver/theme/images/portal/portal_login.png" />
|
|
||||||
<file name="styles/prosilver/theme/images/portal/portal_minical.png" />
|
|
||||||
<file name="styles/prosilver/theme/images/portal/portal_random.png" />
|
|
||||||
<file name="styles/prosilver/theme/images/portal/portal_stats.png" />
|
|
||||||
</delete>
|
|
||||||
<open src="viewonline.php">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ $user->add_lang('mods/lang_portal');]]></find>
|
|
||||||
<action type="replace-with"><![CDATA[ $user->add_lang('mods/portal');]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="includes/constants.php">
|
|
||||||
<edit>
|
|
||||||
<remove><![CDATA[define('PORTAL_CONFIG_TABLE', $table_prefix . 'portal_config');]]></remove>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="includes/functions.php">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ $user->add_lang(array('mods/lang_portal', 'mods/additional_blocks'));
|
|
||||||
if (!function_exists('obtain_portal_config'))
|
|
||||||
{
|
|
||||||
include($phpbb_root_path . 'portal/includes/functions.' . $phpEx);
|
|
||||||
}
|
|
||||||
if(sql_table_exists(PORTAL_CONFIG_TABLE) == true)
|
|
||||||
{
|
|
||||||
$portal_config = obtain_portal_config();
|
|
||||||
}]]></find>
|
|
||||||
<action type="replace-with"><![CDATA[ $user->add_lang('mods/portal');]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ 'U_PORTAL' => (isset($portal_config['portal_enable']) && $portal_config['portal_enable'] == true) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',]]></find>
|
|
||||||
<action type="replace-with"><![CDATA[ 'U_PORTAL' => (isset($config['board3_enable']) && $config['board3_enable'] && $auth->acl_get('u_view_portal')) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<php-installer>install/index.php</php-installer>
|
|
||||||
<diy-instructions lang="de"><![CDATA[Rufe install/index.php auf und führe den Installer aus
|
|
||||||
|
|
||||||
Aktualisiere deine Styles:
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"
|
|
||||||
|
|
||||||
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
|
|
||||||
]]></diy-instructions>
|
|
||||||
<diy-instructions lang="en"><![CDATA[Browse to install/index.php and run the installer
|
|
||||||
|
|
||||||
Refresh your Styles:
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"
|
|
||||||
|
|
||||||
Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
|
|
||||||
]]></diy-instructions>
|
|
||||||
</action-group>
|
|
||||||
</mod>
|
|
||||||
257
controller/helper.php
Normal file
@@ -0,0 +1,257 @@
|
|||||||
|
<?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\controller;
|
||||||
|
|
||||||
|
class helper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Auth object
|
||||||
|
* @var \phpbb\auth\auth
|
||||||
|
*/
|
||||||
|
protected $auth;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB Config object
|
||||||
|
* @var \phpbb\config\config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template object
|
||||||
|
* @var \phpbb\template
|
||||||
|
*/
|
||||||
|
protected $template;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User object
|
||||||
|
* @var \phpbb\user
|
||||||
|
*/
|
||||||
|
protected $user;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB root path
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $phpbb_root_path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP file extension
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $php_ext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal root path
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $root_path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB path helper
|
||||||
|
* @var \phpbb\path_helper
|
||||||
|
*/
|
||||||
|
protected $path_helper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal Helper object
|
||||||
|
* @var \board3\portal\includes\helper
|
||||||
|
*/
|
||||||
|
protected $portal_helper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal modules array
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $portal_modules;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
* NOTE: The parameters of this method must match in order and type with
|
||||||
|
* the dependencies defined in the services.yml file for this service.
|
||||||
|
* @param \phpbb\auth\auth $auth Auth object
|
||||||
|
* @param \phpbb\config\config $config phpBB Config object
|
||||||
|
* @param \phpbb\template $template Template object
|
||||||
|
* @param \phpbb\user $user User object
|
||||||
|
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||||
|
* @param \board3\portal\includes\helper $portal_helper Portal helper class
|
||||||
|
* @param string $phpbb_root_path phpBB root path
|
||||||
|
* @param string $php_ext PHP file extension
|
||||||
|
*/
|
||||||
|
public function __construct($auth, $config, $template, $user, $path_helper, $portal_helper, $phpbb_root_path, $php_ext)
|
||||||
|
{
|
||||||
|
$this->auth = $auth;
|
||||||
|
$this->config = $config;
|
||||||
|
$this->template = $template;
|
||||||
|
$this->user = $user;
|
||||||
|
$this->path_helper = $path_helper;
|
||||||
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
|
$this->php_ext = $php_ext;
|
||||||
|
$this->portal_helper = $portal_helper;
|
||||||
|
|
||||||
|
$this->root_path = $phpbb_root_path . 'ext/board3/portal/';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if user should be able to access this page. Redirect to index
|
||||||
|
* if this does not apply.
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
protected function check_permission()
|
||||||
|
{
|
||||||
|
if (!isset($this->config['board3_enable']) || !$this->config['board3_enable'] || !$this->auth->acl_get('u_view_portal'))
|
||||||
|
{
|
||||||
|
redirect(append_sid($this->phpbb_root_path . 'index' . $this->php_ext));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return true if online list should be displayed
|
||||||
|
*
|
||||||
|
* @return mixed True if online list should be display, current value
|
||||||
|
* if unsure
|
||||||
|
*/
|
||||||
|
public function check_online_list($module_classname, $display_online)
|
||||||
|
{
|
||||||
|
return ($module_classname === '\board3\portal\modules\whois_online') ? true : $display_online;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get portal module and run module start checks
|
||||||
|
*
|
||||||
|
* @param array $row Module row
|
||||||
|
*
|
||||||
|
* @return mixed False if one of the module checks failed, the module
|
||||||
|
* object if checks were successful
|
||||||
|
*/
|
||||||
|
public function get_portal_module($row)
|
||||||
|
{
|
||||||
|
// Do not try to load non-existent or disabled modules
|
||||||
|
if ($row['module_status'] == B3_MODULE_DISABLED || !is_object($module = $this->portal_helper->get_module($row['module_classname'])))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check if module shouldn't be loaded
|
||||||
|
if ($this->check_column_disabled($row))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check for permissions before loading anything
|
||||||
|
* the default group of a user always defines his/her permission
|
||||||
|
*/
|
||||||
|
return ($this->check_group_access($row)) ? $module : false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if column is disabled
|
||||||
|
*
|
||||||
|
* @param array $row Module database row
|
||||||
|
*
|
||||||
|
* @return bool False if column is not disabled, true if it is
|
||||||
|
*/
|
||||||
|
protected function check_column_disabled($row)
|
||||||
|
{
|
||||||
|
return ($this->config['board3_left_column'] === false && column_num_string($row['module_column']) === 'left') || ($this->config['board3_right_column'] === false && column_num_string($row['module_column']) === 'right');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if user is in required groups
|
||||||
|
*
|
||||||
|
* @param array $row Module row
|
||||||
|
*/
|
||||||
|
protected function check_group_access($row)
|
||||||
|
{
|
||||||
|
$group_ary = (!empty($row['module_group_ids'])) ? explode(',', $row['module_group_ids']) : '';
|
||||||
|
if ((is_array($group_ary) && !in_array($this->user->data['group_id'], $group_ary)))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load language file of module
|
||||||
|
*
|
||||||
|
* @param object $module Module of which language file should be loaded
|
||||||
|
*/
|
||||||
|
public function load_module_language($module)
|
||||||
|
{
|
||||||
|
if ($language_file = $module->get_language())
|
||||||
|
{
|
||||||
|
// Load language file from vendor if specified
|
||||||
|
if (is_array($language_file))
|
||||||
|
{
|
||||||
|
$this->user->add_lang_ext($language_file['vendor'], $language_file['file']);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->user->add_lang_ext('board3/portal', 'modules/' . $language_file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Assign module's template vars
|
||||||
|
*
|
||||||
|
* @param array $row Database row of module
|
||||||
|
* @param mixed $template_module Template data as returned by module
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function assign_module_vars($row, $template_module)
|
||||||
|
{
|
||||||
|
if (is_array($template_module))
|
||||||
|
{
|
||||||
|
$this->template->assign_block_vars('modules_' . column_num_string($row['module_column']), array(
|
||||||
|
'TEMPLATE_FILE' => 'portal/modules/' . $template_module['template'],
|
||||||
|
'IMAGE_SRC' => $this->path_helper->get_web_root_path() . $this->root_path . 'styles/' . $this->user->style['style_path'] . '/theme/images/portal/' . $template_module['image_src'],
|
||||||
|
'TITLE' => $template_module['title'],
|
||||||
|
'CODE' => $template_module['code'],
|
||||||
|
'MODULE_ID' => $row['module_id'],
|
||||||
|
'IMAGE_WIDTH' => $row['module_image_width'],
|
||||||
|
'IMAGE_HEIGHT' => $row['module_image_height'],
|
||||||
|
));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$this->template->assign_block_vars('modules_' . column_num_string($row['module_column']), array(
|
||||||
|
'TEMPLATE_FILE' => 'portal/modules/' . $template_module,
|
||||||
|
'IMAGE_SRC' => $this->path_helper->get_web_root_path() . $this->root_path . 'styles/' . $this->user->style['style_path'] . '/theme/images/portal/' . $row['module_image_src'],
|
||||||
|
'IMAGE_WIDTH' => $row['module_image_width'],
|
||||||
|
'IMAGE_HEIGHT' => $row['module_image_height'],
|
||||||
|
'MODULE_ID' => $row['module_id'],
|
||||||
|
'TITLE' => (isset($this->user->lang[$row['module_name']])) ? $this->user->lang[$row['module_name']] : utf8_normalize_nfc($row['module_name']),
|
||||||
|
));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Run initial tasks that are required for a properly setup extension
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function run_initial_tasks()
|
||||||
|
{
|
||||||
|
// Check for permissions first
|
||||||
|
$this->check_permission();
|
||||||
|
|
||||||
|
// Load language file
|
||||||
|
$this->user->add_lang_ext('board3/portal', 'portal');
|
||||||
|
|
||||||
|
// Obtain portal config
|
||||||
|
obtain_portal_config();
|
||||||
|
}
|
||||||
|
}
|
||||||
282
controller/main.php
Normal file
@@ -0,0 +1,282 @@
|
|||||||
|
<?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\controller;
|
||||||
|
|
||||||
|
class main
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* phpBB Config object
|
||||||
|
* @var \phpbb\config\config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Board3 Portal controller helper
|
||||||
|
* @var \board3\portal\controller\helper
|
||||||
|
*/
|
||||||
|
protected $controller_helper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Template object
|
||||||
|
* @var \phpbb\template
|
||||||
|
*/
|
||||||
|
protected $template;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* User object
|
||||||
|
* @var \phpbb\user
|
||||||
|
*/
|
||||||
|
protected $user;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB root path
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $phpbb_root_path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PHP file extension
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $php_ext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal root path
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $root_path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal includes path
|
||||||
|
* @var string
|
||||||
|
*/
|
||||||
|
protected $includes_path;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB path helper
|
||||||
|
* @var \phpbb\path_helper
|
||||||
|
*/
|
||||||
|
protected $path_helper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal modules count
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $module_count;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Portal modules array
|
||||||
|
* @var array
|
||||||
|
*/
|
||||||
|
protected $portal_modules;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
* NOTE: The parameters of this method must match in order and type with
|
||||||
|
* the dependencies defined in the services.yml file for this service.
|
||||||
|
* @param \phpbb\config\config $config phpBB Config object
|
||||||
|
* @param \board3\portal\controller\helper $controller_helper Controller helper
|
||||||
|
* @param \phpbb\template $template Template object
|
||||||
|
* @param \phpbb\user $user User object
|
||||||
|
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||||
|
* @param string $phpbb_root_path phpBB root path
|
||||||
|
* @param string $php_ext PHP file extension
|
||||||
|
* @param string $config_table Board3 config table
|
||||||
|
* @param string $modules_table Board3 modules table
|
||||||
|
*/
|
||||||
|
public function __construct($config, $controller_helper, $template, $user, $path_helper, $phpbb_root_path, $php_ext, $config_table, $modules_table)
|
||||||
|
{
|
||||||
|
global $portal_root_path;
|
||||||
|
|
||||||
|
$this->config = $config;
|
||||||
|
$this->controller_helper = $controller_helper;
|
||||||
|
$this->template = $template;
|
||||||
|
$this->user = $user;
|
||||||
|
$this->path_helper = $path_helper;
|
||||||
|
$this->phpbb_root_path = $phpbb_root_path;
|
||||||
|
$this->php_ext = $php_ext;
|
||||||
|
|
||||||
|
$this->includes_path = $phpbb_root_path . 'ext/board3/portal/includes/';
|
||||||
|
$this->root_path = $phpbb_root_path . 'ext/board3/portal/';
|
||||||
|
$portal_root_path = $this->root_path;
|
||||||
|
define('PORTAL_MODULES_TABLE', $modules_table);
|
||||||
|
define('PORTAL_CONFIG_TABLE', $config_table);
|
||||||
|
|
||||||
|
if (!function_exists('obtain_portal_config'))
|
||||||
|
{
|
||||||
|
include($this->includes_path . 'constants' . $this->php_ext);
|
||||||
|
include($this->includes_path . 'functions_modules' . $this->php_ext);
|
||||||
|
include($this->includes_path . 'functions' . $this->php_ext);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extension front handler method. This is called automatically when your extension is accessed
|
||||||
|
* through index.php?ext=example/foobar
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function handle()
|
||||||
|
{
|
||||||
|
$this->controller_helper->run_initial_tasks();
|
||||||
|
|
||||||
|
// Set default data
|
||||||
|
$this->portal_modules = obtain_portal_modules();
|
||||||
|
$display_online = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* set up column_count array
|
||||||
|
* with this we can hide unneeded parts of the portal
|
||||||
|
*/
|
||||||
|
$this->module_count = array(
|
||||||
|
'total' => 0,
|
||||||
|
'top' => 0,
|
||||||
|
'left' => 0,
|
||||||
|
'center' => 0,
|
||||||
|
'right' => 0,
|
||||||
|
'bottom' => 0,
|
||||||
|
);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* start assigning block vars
|
||||||
|
*/
|
||||||
|
foreach ($this->portal_modules as $row)
|
||||||
|
{
|
||||||
|
if (!($module = $this->controller_helper->get_portal_module($row)))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Load module language file
|
||||||
|
$this->controller_helper->load_module_language($module);
|
||||||
|
|
||||||
|
$template_module = $this->get_module_template($row, $module);
|
||||||
|
|
||||||
|
if (empty($template_module))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Custom Blocks that have been defined in the ACP will return an array instead of just the name of the template file
|
||||||
|
$this->controller_helper->assign_module_vars($row, $template_module);
|
||||||
|
|
||||||
|
// Check if we need to show the online list
|
||||||
|
$display_online = $this->controller_helper->check_online_list($row['module_classname'], $display_online);
|
||||||
|
|
||||||
|
unset($template_module);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Redirect to index if there are currently no active modules
|
||||||
|
$this->check_redirect();
|
||||||
|
|
||||||
|
// Assign specific vars
|
||||||
|
$this->assign_template_vars();
|
||||||
|
|
||||||
|
// And now to output the page.
|
||||||
|
page_header($this->user->lang('PORTAL'), $display_online);
|
||||||
|
|
||||||
|
// foobar_body.html is in ./ext/foobar/example/styles/prosilver/template/foobar_body.html
|
||||||
|
$this->template->set_filenames(array(
|
||||||
|
'body' => 'portal/portal_body.html'
|
||||||
|
));
|
||||||
|
|
||||||
|
$this->make_jumpbox($this->config['board3_display_jumpbox']);
|
||||||
|
|
||||||
|
page_footer();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get module's template
|
||||||
|
*
|
||||||
|
* @param array $row Database row of module
|
||||||
|
* @param object $module Module object
|
||||||
|
*
|
||||||
|
* @return mixed False if module is not inside possible columns or if
|
||||||
|
* module shouldn't be shown, otherwise module's template
|
||||||
|
*/
|
||||||
|
public function get_module_template($row, $module)
|
||||||
|
{
|
||||||
|
$template_module = false;
|
||||||
|
$column = column_num_string($row['module_column']);
|
||||||
|
|
||||||
|
if (in_array($column, array('left', 'right')) && $this->config['board3_' . $column . '_column'])
|
||||||
|
{
|
||||||
|
++$this->module_count[$column];
|
||||||
|
$template_module = $module->get_template_side($row['module_id']);
|
||||||
|
}
|
||||||
|
else if (in_array($column, array('top', 'center', 'bottom')))
|
||||||
|
{
|
||||||
|
++$this->module_count[$column];
|
||||||
|
$template_module = $module->get_template_center($row['module_id']);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $template_module;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if portal needs to redirect to index page
|
||||||
|
*/
|
||||||
|
protected function check_redirect()
|
||||||
|
{
|
||||||
|
$this->module_count['total'] = sizeof($this->portal_modules);
|
||||||
|
|
||||||
|
if ($this->module_count['total'] < 1)
|
||||||
|
{
|
||||||
|
redirect(append_sid($this->phpbb_root_path . 'index' . $this->php_ext));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Assign template vars for portal
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
protected function assign_template_vars()
|
||||||
|
{
|
||||||
|
$this->template->assign_vars(array(
|
||||||
|
'S_PORTAL_LEFT_COLUMN' => $this->config['board3_left_column_width'],
|
||||||
|
'S_PORTAL_RIGHT_COLUMN' => $this->config['board3_right_column_width'],
|
||||||
|
'S_LEFT_COLUMN' => $this->check_module_count('left', $this->config['board3_left_column']),
|
||||||
|
'S_CENTER_COLUMN' => $this->check_module_count('center'),
|
||||||
|
'S_RIGHT_COLUMN' => $this->check_module_count('right', $this->config['board3_right_column']),
|
||||||
|
'S_TOP_COLUMN' => $this->check_module_count('top'),
|
||||||
|
'S_BOTTOM_COLUMN' => $this->check_module_count('bottom'),
|
||||||
|
'S_DISPLAY_PHPBB_MENU' => $this->config['board3_phpbb_menu'],
|
||||||
|
'B3P_DISPLAY_JUMPBOX' => $this->config['board3_display_jumpbox'],
|
||||||
|
'T_EXT_THEME_PATH' => $this->path_helper->get_web_root_path() . $this->root_path . 'styles/' . $this->user->style['style_path'] . '/theme/',
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check module count and related config setting
|
||||||
|
*
|
||||||
|
* @param string $column Column to check
|
||||||
|
* @param bool $config Config value to check
|
||||||
|
*
|
||||||
|
* @return bool True if module count is bigger than 0 and $config is true
|
||||||
|
*/
|
||||||
|
protected function check_module_count($column, $config = true)
|
||||||
|
{
|
||||||
|
return $this->module_count[$column] > 0 && $config;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wrapper method for running make_jumpbox
|
||||||
|
*
|
||||||
|
* @param bool $display Whether jumpbox should be displayed
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
protected function make_jumpbox($display = false)
|
||||||
|
{
|
||||||
|
if ($display)
|
||||||
|
{
|
||||||
|
make_jumpbox(append_sid("{$this->phpbb_root_path}viewforum{$this->php_ext}"));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
139
event/listener.php
Normal file
@@ -0,0 +1,139 @@
|
|||||||
|
<?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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace board3\portal\event;
|
||||||
|
|
||||||
|
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||||
|
|
||||||
|
class listener implements EventSubscriberInterface
|
||||||
|
{
|
||||||
|
/** @var \phpbb\auth\auth */
|
||||||
|
protected $auth;
|
||||||
|
|
||||||
|
/** @var \phpbb\config\config */
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/** @var \phpbb\controller\helper */
|
||||||
|
protected $controller_helper;
|
||||||
|
|
||||||
|
/** @var \phpbb\path_helper */
|
||||||
|
protected $path_helper;
|
||||||
|
|
||||||
|
/** @var \phpbb\template\template */
|
||||||
|
protected $template;
|
||||||
|
|
||||||
|
/** @var \phpbb\user */
|
||||||
|
protected $user;
|
||||||
|
|
||||||
|
/** @var string phpEx */
|
||||||
|
protected $php_ext;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor of Board3 Portal event listener
|
||||||
|
*
|
||||||
|
* @param \phpbb\auth\auth $auth phpBB auth object
|
||||||
|
* @param \phpbb\config\config $config phpBB config
|
||||||
|
* @param \phpbb\controller\helper $controller_helper Controller helper object
|
||||||
|
* @param \phpbb\path_helper $path_helper phpBB path helper
|
||||||
|
* @param \phpbb\template\template $template Template object
|
||||||
|
* @param \phpbb\user $user User object
|
||||||
|
* @param string $php_ext phpEx
|
||||||
|
*/
|
||||||
|
public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\controller\helper $controller_helper, \phpbb\path_helper $path_helper, \phpbb\template\template $template, \phpbb\user $user, $php_ext)
|
||||||
|
{
|
||||||
|
$this->auth = $auth;
|
||||||
|
$this->config = $config;
|
||||||
|
$this->controller_helper = $controller_helper;
|
||||||
|
$this->path_helper = $path_helper;
|
||||||
|
$this->template = $template;
|
||||||
|
$this->user = $user;
|
||||||
|
$this->php_ext = $php_ext;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Assign functions defined in this class to event listeners in the core
|
||||||
|
*
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
|
static public function getSubscribedEvents()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'core.user_setup' => 'load_portal_language',
|
||||||
|
'core.viewonline_overwrite_location' => 'viewonline_page',
|
||||||
|
'core.page_header' => 'add_portal_link',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Load portal language during user setup
|
||||||
|
*
|
||||||
|
* @param object $event The event object
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function load_portal_language($event)
|
||||||
|
{
|
||||||
|
$lang_set_ext = $event['lang_set_ext'];
|
||||||
|
$lang_set_ext[] = array(
|
||||||
|
'ext_name' => 'board3/portal',
|
||||||
|
'lang_set' => 'portal',
|
||||||
|
);
|
||||||
|
$event['lang_set_ext'] = $lang_set_ext;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show users as viewing the portals on Who Is Online page
|
||||||
|
*
|
||||||
|
* @param object $event The event object
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function viewonline_page($event)
|
||||||
|
{
|
||||||
|
if ($event['on_page'][1] == 'app' && strrpos($event['row']['session_page'], 'app.' . $this->php_ext . '/portal') === 0)
|
||||||
|
{
|
||||||
|
$event['location'] = $this->user->lang('VIEWING_PORTAL');
|
||||||
|
$event['location_url'] = $this->controller_helper->route('board3_portal_controller');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add portal link if user is authed to see it
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
public function add_portal_link()
|
||||||
|
{
|
||||||
|
if (!$this->has_portal_access())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (strpos($this->user->data['session_page'], '/portal') === false)
|
||||||
|
{
|
||||||
|
$portal_link = $this->controller_helper->route('board3_portal_controller');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$portal_link = $this->path_helper->remove_web_root_path($this->controller_helper->route('board3_portal_controller'));
|
||||||
|
}
|
||||||
|
|
||||||
|
$this->template->assign_vars(array(
|
||||||
|
'U_PORTAL' => $portal_link,
|
||||||
|
));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if user should be able to access portal
|
||||||
|
*
|
||||||
|
* @return bool True of user should be able to access it, false if not
|
||||||
|
*/
|
||||||
|
protected function has_portal_access()
|
||||||
|
{
|
||||||
|
return $this->auth->acl_get('u_view_portal') && $this->config['board3_enable'];
|
||||||
|
}
|
||||||
|
}
|
||||||
16
ext.php
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<?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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
// This file is needed for phpBB3 to properly register the extension
|
||||||
|
|
||||||
|
namespace board3\portal;
|
||||||
|
|
||||||
|
class ext extends \phpbb\extension\base
|
||||||
|
{
|
||||||
|
}
|
||||||
342
git-tools/hooks/commit-msg
Normal file
@@ -0,0 +1,342 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# A hook to check for correct syntax similar to phpBB3 commit messages per:
|
||||||
|
# * <http://wiki.phpbb.com/display/DEV/Git>
|
||||||
|
# * <http://area51.phpbb.com/phpBB/viewtopic.php?p=209919#p209919>
|
||||||
|
#
|
||||||
|
# This is a commit-msg hook.
|
||||||
|
#
|
||||||
|
# To install this you can either copy or symlink it to
|
||||||
|
# $GIT_DIR/hooks
|
||||||
|
|
||||||
|
config_ns="b3p.hooks.commit-msg";
|
||||||
|
|
||||||
|
if [ "$(git config --bool $config_ns.fatal)" = "true" ]
|
||||||
|
then
|
||||||
|
fatal=1;
|
||||||
|
severity=Error;
|
||||||
|
else
|
||||||
|
fatal=0;
|
||||||
|
severity=Warning;
|
||||||
|
fi
|
||||||
|
|
||||||
|
debug_level=$(git config --int $config_ns.debug || echo 0);
|
||||||
|
|
||||||
|
# Error codes
|
||||||
|
ERR_LENGTH=1;
|
||||||
|
ERR_HEADER=2;
|
||||||
|
ERR_EMPTY=3;
|
||||||
|
ERR_DESCRIPTION=4;
|
||||||
|
ERR_FOOTER=5;
|
||||||
|
ERR_EOF=6;
|
||||||
|
ERR_UNKNOWN=42;
|
||||||
|
|
||||||
|
debug()
|
||||||
|
{
|
||||||
|
local level;
|
||||||
|
|
||||||
|
level=$1;
|
||||||
|
shift;
|
||||||
|
|
||||||
|
if [ $debug_level -ge $level ]
|
||||||
|
then
|
||||||
|
echo $@;
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
quit()
|
||||||
|
{
|
||||||
|
if [ $1 -eq 0 ] || [ $1 -eq $ERR_UNKNOWN ]
|
||||||
|
then
|
||||||
|
# success
|
||||||
|
exit 0;
|
||||||
|
elif [ $fatal -eq 0 ]
|
||||||
|
then
|
||||||
|
# problems found but fatal is false
|
||||||
|
complain 'Please run `git commit --amend` and fix the problems mentioned.' 1>&2
|
||||||
|
exit 0;
|
||||||
|
else
|
||||||
|
complain "Aborting commit." 1>&2
|
||||||
|
exit $1;
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
use_color()
|
||||||
|
{
|
||||||
|
if [ -z "$use_color_cached" ]
|
||||||
|
then
|
||||||
|
case $(git config --bool $config_ns.color)
|
||||||
|
in
|
||||||
|
false)
|
||||||
|
use_color_cached=1
|
||||||
|
;;
|
||||||
|
true)
|
||||||
|
use_color_cached=0
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
# tty detection in shell:
|
||||||
|
# http://hwi.ath.cx/jsh/list/shext/isatty.sh.html
|
||||||
|
tty 0>/dev/stdout >/dev/null 2>&1
|
||||||
|
use_color_cached=$?
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
# return value is the flag inverted -
|
||||||
|
# if return value is 0, this means use color
|
||||||
|
return $use_color_cached
|
||||||
|
}
|
||||||
|
|
||||||
|
complain()
|
||||||
|
{
|
||||||
|
if use_color
|
||||||
|
then
|
||||||
|
# Careful: our argument may include arguments to echo like -n
|
||||||
|
# ANSI color codes:
|
||||||
|
# http://pueblo.sourceforge.net/doc/manual/ansi_color_codes.html
|
||||||
|
printf "\033[31m\033[1m"
|
||||||
|
if [ "$1" = "-n" ]
|
||||||
|
then
|
||||||
|
echo "$@"
|
||||||
|
printf "\033[0m"
|
||||||
|
else
|
||||||
|
# This will print one trailing space.
|
||||||
|
# Not sure how to avoid this at the moment.
|
||||||
|
echo "$@" $(printf "\033[0m")
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
echo "$@"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
# Check for empty commit message
|
||||||
|
if ! grep -qv '^#' "$1"
|
||||||
|
then
|
||||||
|
# Commit message is empty (or contains only comments).
|
||||||
|
# Let git handle this.
|
||||||
|
# It will abort with a message like so:
|
||||||
|
#
|
||||||
|
# Aborting commit due to empty commit message.
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
msg=$(grep -v '^#' "$1" |grep -nE '.{81,}')
|
||||||
|
|
||||||
|
if [ $? -eq 0 ]
|
||||||
|
then
|
||||||
|
complain "The following lines are greater than 80 characters long:" >&2;
|
||||||
|
complain >&2
|
||||||
|
complain "$msg" >&2;
|
||||||
|
|
||||||
|
quit $ERR_LENGTH;
|
||||||
|
fi
|
||||||
|
|
||||||
|
lines=$(wc -l "$1" | awk '{ print $1; }');
|
||||||
|
expecting=header;
|
||||||
|
in_description=0;
|
||||||
|
in_empty=0;
|
||||||
|
ticket=0;
|
||||||
|
branch_regex="[a-z]+[a-z0-9-]*[a-z0-9]+";
|
||||||
|
i=1;
|
||||||
|
tickets="";
|
||||||
|
|
||||||
|
while [ $i -le $lines ]
|
||||||
|
do
|
||||||
|
# Grab the line we are studying
|
||||||
|
line=$(head -n$i "$1" | tail -n1);
|
||||||
|
|
||||||
|
debug 1 "==> [$i] $line (description: $in_description, empty: $in_empty)";
|
||||||
|
|
||||||
|
err=$ERR_UNKNOWN;
|
||||||
|
|
||||||
|
if [ -z "$expecting" ]
|
||||||
|
then
|
||||||
|
quit $err;
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${expecting#comment}" = "$expecting" ]
|
||||||
|
then
|
||||||
|
# Prefix comments to the expected tokens list
|
||||||
|
expecting="comment $expecting";
|
||||||
|
fi
|
||||||
|
|
||||||
|
debug 2 "Expecting: $expecting";
|
||||||
|
|
||||||
|
# Loop over each of the expected line formats
|
||||||
|
for expect in $expecting
|
||||||
|
do
|
||||||
|
# Reset the error code each iteration
|
||||||
|
err=$ERR_UNKNOWN;
|
||||||
|
|
||||||
|
# Test for validity of each line format
|
||||||
|
# This is done first so $? contains the result
|
||||||
|
case $expect in
|
||||||
|
"header")
|
||||||
|
err=$ERR_HEADER;
|
||||||
|
echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] .+$"
|
||||||
|
result=$?
|
||||||
|
if ! echo "$line" | grep -Eq "^\[(ticket/[0-9]+|feature/$branch_regex|task/$branch_regex)\] [A-Z].+$"
|
||||||
|
then
|
||||||
|
# Don't be too strict.
|
||||||
|
# Commits may be temporary, intended to be squashed later.
|
||||||
|
# Just issue a warning here.
|
||||||
|
complain "$severity: heading should be a sentence beginning with a capital letter." 1>&2
|
||||||
|
complain "You entered:" 1>&2
|
||||||
|
complain "$line" 1>&2
|
||||||
|
fi
|
||||||
|
# restore exit code
|
||||||
|
(exit $result)
|
||||||
|
;;
|
||||||
|
"empty")
|
||||||
|
err=$ERR_EMPTY;
|
||||||
|
echo "$line" | grep -Eq "^$"
|
||||||
|
;;
|
||||||
|
"description")
|
||||||
|
err=$ERR_DESCRIPTION;
|
||||||
|
# Free flow text, the line length was constrained by the initial check
|
||||||
|
echo "$line" | grep -Eq "^.+$";
|
||||||
|
;;
|
||||||
|
"footer")
|
||||||
|
err=$ERR_FOOTER;
|
||||||
|
# Each ticket is on its own line
|
||||||
|
echo "$line" | grep -Eq "^B3P-[0-9]+$";
|
||||||
|
;;
|
||||||
|
"eof")
|
||||||
|
err=$ERR_EOF;
|
||||||
|
# Should not end up here
|
||||||
|
false
|
||||||
|
;;
|
||||||
|
"possibly-eof")
|
||||||
|
# Allow empty and/or comment lines at the end
|
||||||
|
! tail -n +"$i" "$1" |grep -qvE '^($|#)'
|
||||||
|
;;
|
||||||
|
"comment")
|
||||||
|
echo "$line" | grep -Eq "^#";
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
complain "Unrecognised token $expect" >&2;
|
||||||
|
quit $err;
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
# Preserve the result of the line check
|
||||||
|
result=$?;
|
||||||
|
|
||||||
|
debug 2 "$expect - '$line' - $result";
|
||||||
|
|
||||||
|
if [ $result -eq 0 ]
|
||||||
|
then
|
||||||
|
# Break out the loop on success
|
||||||
|
# otherwise roll on round and keep looking for a match
|
||||||
|
break;
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
if [ $result -eq 0 ]
|
||||||
|
then
|
||||||
|
# Have we switched out of description mode?
|
||||||
|
if [ $in_description -eq 1 ] && [ "$expect" != "description" ] && [ "$expect" != "empty" ] && [ "$expect" != "comment" ]
|
||||||
|
then
|
||||||
|
# Yes, okay we need to backtrace one line and reanalyse
|
||||||
|
in_description=0;
|
||||||
|
i=$(( $i - $in_empty ));
|
||||||
|
|
||||||
|
# Reset the empty counter
|
||||||
|
in_empty=0;
|
||||||
|
continue;
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Successful match, but on which line format
|
||||||
|
case $expect in
|
||||||
|
"header")
|
||||||
|
expecting="empty";
|
||||||
|
|
||||||
|
echo "$line" | grep -Eq "^\[ticket/[0-9]+\]$" && (
|
||||||
|
ticket=$(echo "$line" | sed 's,\[ticket/\([0-9]*\)\].*,\1,');
|
||||||
|
)
|
||||||
|
;;
|
||||||
|
"empty")
|
||||||
|
# Description might have empty lines as spacing
|
||||||
|
expecting="footer description";
|
||||||
|
in_empty=$(($in_empty + 1));
|
||||||
|
|
||||||
|
if [ $in_description -eq 1 ]
|
||||||
|
then
|
||||||
|
expecting="$expecting empty";
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"description")
|
||||||
|
expecting="description empty";
|
||||||
|
in_description=1;
|
||||||
|
;;
|
||||||
|
"footer")
|
||||||
|
expecting="footer possibly-eof";
|
||||||
|
if [ "$tickets" = "" ]
|
||||||
|
then
|
||||||
|
tickets="$line";
|
||||||
|
else
|
||||||
|
tickets="$tickets $line";
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
"comment")
|
||||||
|
# Comments should expect the same thing again
|
||||||
|
;;
|
||||||
|
"possibly-eof")
|
||||||
|
expecting="eof";
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
complain "Unrecognised token $expect" >&2;
|
||||||
|
quit 254;
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ "$expect" != "empty" ]
|
||||||
|
then
|
||||||
|
in_empty=0;
|
||||||
|
fi
|
||||||
|
|
||||||
|
debug 3 "Now expecting: $expecting";
|
||||||
|
else
|
||||||
|
# None of the expected line formats matched
|
||||||
|
# Guess we'll call it a day here then
|
||||||
|
complain "Syntax error on line $i:" >&2;
|
||||||
|
complain ">> $line" >&2;
|
||||||
|
complain -n "Expecting: " >&2;
|
||||||
|
complain "$expecting" | sed 's/ /, /g' >&2;
|
||||||
|
quit $err;
|
||||||
|
fi
|
||||||
|
|
||||||
|
i=$(( $i + 1 ));
|
||||||
|
done
|
||||||
|
|
||||||
|
# If EOF is expected exit cleanly
|
||||||
|
echo "$expecting" | grep -q "eof" || (
|
||||||
|
# Unexpected EOF, error
|
||||||
|
complain "Unexpected EOF encountered" >&2;
|
||||||
|
quit $ERR_EOF;
|
||||||
|
) && (
|
||||||
|
# Do post scan checks
|
||||||
|
if [ ! -z "$tickets" ]
|
||||||
|
then
|
||||||
|
# Check for duplicate tickets
|
||||||
|
dupes=$(echo "$tickets" | sed 's/ /\n/g' | sort | uniq -d);
|
||||||
|
|
||||||
|
if [ ! -z "$dupes" ]
|
||||||
|
then
|
||||||
|
complain "The following tickets are repeated:" >&2;
|
||||||
|
complain "$dupes" | sed 's/ /\n/g;s/^/* /g' >&2;
|
||||||
|
quit $ERR_FOOTER;
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
# Check the branch ticket is mentioned, doesn't make sense otherwise
|
||||||
|
if [ $ticket -gt 0 ]
|
||||||
|
then
|
||||||
|
echo "$tickets" | grep -Eq "\bB3P-$ticket\b" || (
|
||||||
|
complain "Ticket ID [$ticket] of branch missing from list of tickets:" >&2;
|
||||||
|
complain "$tickets" | sed 's/ /\n/g;s/^/* /g' >&2;
|
||||||
|
quit $ERR_FOOTER;
|
||||||
|
) || exit $?;
|
||||||
|
fi
|
||||||
|
# Got here okay exit to reality
|
||||||
|
exit 0;
|
||||||
|
);
|
||||||
|
exit $?;
|
||||||
88
git-tools/hooks/pre-commit
Normal file
@@ -0,0 +1,88 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# A hook to disallow php syntax errors to be committed
|
||||||
|
# by running php -l (lint) on them. It requires php-cli
|
||||||
|
# to be installed.
|
||||||
|
#
|
||||||
|
# This is a pre-commit hook.
|
||||||
|
#
|
||||||
|
# To install this you can either copy or symlink it to
|
||||||
|
# $GIT_DIR/hooks, example:
|
||||||
|
#
|
||||||
|
# ln -s ../../git-tools/hooks/pre-commit \\
|
||||||
|
# .git/hooks/pre-commit
|
||||||
|
|
||||||
|
if [ -z "$PHP_BIN" ]
|
||||||
|
then
|
||||||
|
PHP_BIN=php
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$(echo -e test)" = test ]
|
||||||
|
then
|
||||||
|
echo_e="echo -e"
|
||||||
|
else
|
||||||
|
echo_e="echo"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# necessary check for initial commit
|
||||||
|
if git rev-parse --verify HEAD >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
against=HEAD
|
||||||
|
else
|
||||||
|
# Initial commit: diff against an empty tree object
|
||||||
|
against=4b825dc642cb6eb9a060e54bf8d69288fbee4904
|
||||||
|
fi
|
||||||
|
|
||||||
|
errors=""
|
||||||
|
if ! which "$PHP_BIN" >/dev/null 2>&1
|
||||||
|
then
|
||||||
|
echo "PHP Syntax check failed:"
|
||||||
|
echo "PHP binary does not exist or is not in path: $PHP_BIN"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# dash does not support $'\n':
|
||||||
|
# http://forum.soft32.com/linux2/Bug-409179-DASH-Settings-IFS-work-properly-ftopict70039.html
|
||||||
|
IFS='
|
||||||
|
'
|
||||||
|
# get a list of staged files
|
||||||
|
for line in $(git diff-index --cached --full-index $against)
|
||||||
|
do
|
||||||
|
# split needed values
|
||||||
|
sha=$(echo $line | cut -d' ' -f4)
|
||||||
|
temp=$(echo $line | cut -d' ' -f5)
|
||||||
|
status=$(echo $temp | cut -d' ' -f1)
|
||||||
|
filename=$(echo $temp | cut -d' ' -f2)
|
||||||
|
|
||||||
|
# file extension
|
||||||
|
ext=$(echo $filename | sed 's/^.*\.//')
|
||||||
|
|
||||||
|
# only check files with php extension
|
||||||
|
if [ $ext != "php" ]
|
||||||
|
then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
# do not check deleted files
|
||||||
|
if [ $status = "D" ]
|
||||||
|
then
|
||||||
|
continue
|
||||||
|
fi
|
||||||
|
|
||||||
|
# check the staged file content for syntax errors
|
||||||
|
# using php -l (lint)
|
||||||
|
result=$(git cat-file -p $sha | "$PHP_BIN" -n -l -ddisplay_errors\=1 -derror_reporting\=E_ALL -dlog_errrors\=0 2>&1)
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
# Swap back in correct filenames
|
||||||
|
errors=$(echo "$errors"; echo "$result" | grep ':' | sed -e "s@in - on@in $filename on@g")
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
unset IFS
|
||||||
|
|
||||||
|
if [ -n "$errors" ]
|
||||||
|
then
|
||||||
|
echo "PHP Syntax check failed: "
|
||||||
|
$echo_e "$errors"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
42
git-tools/hooks/prepare-commit-msg
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# A hook to add [$branch] to the beginning of a commit message
|
||||||
|
# if certain conditions are met.
|
||||||
|
#
|
||||||
|
# This is a prepare-commit-msg hook.
|
||||||
|
#
|
||||||
|
# To install this you can either copy or symlink it to
|
||||||
|
# $GIT_DIR/hooks, example:
|
||||||
|
#
|
||||||
|
# ln -s ../../git-tools/hooks/prepare-commit-msg \\
|
||||||
|
# .git/hooks/prepare-commit-msg
|
||||||
|
|
||||||
|
# get branch name
|
||||||
|
branch="$(git symbolic-ref HEAD)"
|
||||||
|
|
||||||
|
# exit if no branch name is present
|
||||||
|
# (eg. detached HEAD)
|
||||||
|
if [ $? -ne 0 ]
|
||||||
|
then
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
# strip off refs/heads/
|
||||||
|
branch="$(echo "$branch" | sed "s/refs\/heads\///g")"
|
||||||
|
|
||||||
|
# add [branchname] to commit message
|
||||||
|
# * only run when normal commit is made (without -m or -F;
|
||||||
|
# not a merge, etc.)
|
||||||
|
# * also make sure the branch name begins with bug/ or feature/
|
||||||
|
if [ "$2" = "" ]
|
||||||
|
then
|
||||||
|
tail="";
|
||||||
|
|
||||||
|
# Branch is prefixed with 'ticket/', append ticket ID to message
|
||||||
|
if [ "$branch" != "${branch##ticket/}" ];
|
||||||
|
then
|
||||||
|
tail="$(printf "\n\nB3P-${branch##ticket/}")";
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "[$branch] $tail$(cat "$1")" > "$1"
|
||||||
|
fi
|
||||||
15
includes/constants.php
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Config constants
|
||||||
|
define('B3_MODULE_DISABLED', 0);
|
||||||
|
define('B3_MODULE_ENABLED', 1);
|
||||||
|
|
||||||
|
// Tables and paths
|
||||||
|
define('PORTAL_ROOT_PATH', 'portal/');
|
||||||
494
includes/functions.php
Normal file
@@ -0,0 +1,494 @@
|
|||||||
|
<?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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Get portal config
|
||||||
|
function obtain_portal_config()
|
||||||
|
{
|
||||||
|
global $db, $cache, $portal_config;
|
||||||
|
|
||||||
|
if (($portal_config = $cache->get('portal_config')) === false)
|
||||||
|
{
|
||||||
|
$portal_config = $portal_cached_config = array();
|
||||||
|
|
||||||
|
$sql = 'SELECT config_name, config_value
|
||||||
|
FROM ' . PORTAL_CONFIG_TABLE;
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
$portal_cached_config[$row['config_name']] = $row['config_value'];
|
||||||
|
|
||||||
|
$portal_config[$row['config_name']] = $row['config_value'];
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
$cache->put('portal_config', $portal_cached_config);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $portal_config;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set config value. Creates missing config entry.
|
||||||
|
* Only use this if your config value might exceed 255 characters, otherwise please use set_config
|
||||||
|
*/
|
||||||
|
function set_portal_config($config_name, $config_value)
|
||||||
|
{
|
||||||
|
global $db, $cache, $portal_config;
|
||||||
|
|
||||||
|
$sql = 'UPDATE ' . PORTAL_CONFIG_TABLE . "
|
||||||
|
SET config_value = '" . $db->sql_escape($config_value) . "'
|
||||||
|
WHERE config_name = '" . $db->sql_escape($config_name) . "'";
|
||||||
|
$db->sql_query($sql);
|
||||||
|
|
||||||
|
if (!$db->sql_affectedrows() && !isset($portal_config[$config_name]))
|
||||||
|
{
|
||||||
|
$sql = 'INSERT INTO ' . PORTAL_CONFIG_TABLE . ' ' . $db->sql_build_array('INSERT', array(
|
||||||
|
'config_name' => $config_name,
|
||||||
|
'config_value' => $config_value));
|
||||||
|
$db->sql_query($sql);
|
||||||
|
}
|
||||||
|
|
||||||
|
$portal_config[$config_name] = $config_value;
|
||||||
|
|
||||||
|
$cache->destroy('portal_config');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get portal modules
|
||||||
|
*/
|
||||||
|
function obtain_portal_modules()
|
||||||
|
{
|
||||||
|
global $db, $cache, $portal_modules;
|
||||||
|
|
||||||
|
if (($portal_modules = $cache->get('portal_modules')) === false || defined('DEBUG'))
|
||||||
|
{
|
||||||
|
$portal_modules = $portal_cached_modules = array();
|
||||||
|
|
||||||
|
$sql = 'SELECT *
|
||||||
|
FROM ' . PORTAL_MODULES_TABLE . '
|
||||||
|
ORDER BY module_order ASC';
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
$portal_cached_modules[] = $row;
|
||||||
|
|
||||||
|
$portal_modules[] = $row;
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
$cache->put('portal_modules', $portal_cached_modules);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $portal_modules;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fetch post for news & announce
|
||||||
|
*
|
||||||
|
* @deprecated 2.1.0-b1 (To be removed: 2.2.0)
|
||||||
|
*/
|
||||||
|
function phpbb_fetch_posts($module_id, $forum_from, $permissions, $number_of_posts, $text_length, $time, $type, $start = 0, $invert = false)
|
||||||
|
{
|
||||||
|
global $phpbb_container;
|
||||||
|
|
||||||
|
$fetch_posts = $phpbb_container->get('board3.portal.fetch_posts');
|
||||||
|
$fetch_posts->set_module_id($module_id);
|
||||||
|
|
||||||
|
return $fetch_posts->get_posts($forum_from, $permissions, $number_of_posts, $text_length, $time, $type, $start, $invert);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Censor title, return short title
|
||||||
|
*
|
||||||
|
* @param $title string title to censor
|
||||||
|
* @param $limit int short title character limit
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
function character_limit(&$title, $limit = 0)
|
||||||
|
{
|
||||||
|
$title = censor_text($title);
|
||||||
|
if ($limit > 0)
|
||||||
|
{
|
||||||
|
return (strlen(utf8_decode($title)) > $limit + 3) ? truncate_string($title, $limit) . '...' : $title;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return $title;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Cut post text to given length
|
||||||
|
*
|
||||||
|
* @param string $message post text
|
||||||
|
* @param string $bbcode_uid bbcode uid
|
||||||
|
* @param int $length The desired length
|
||||||
|
*
|
||||||
|
* @return string Shortened message
|
||||||
|
*/
|
||||||
|
function get_sub_taged_string($message, $bbcode_uid, $length)
|
||||||
|
{
|
||||||
|
if (class_exists('\Nickvergessen\TrimMessage\TrimMessage'))
|
||||||
|
{
|
||||||
|
$trim = new \Nickvergessen\TrimMessage\TrimMessage($message, $bbcode_uid, $length);
|
||||||
|
$message = $trim->message();
|
||||||
|
unset($trim);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $message;
|
||||||
|
}
|
||||||
|
|
||||||
|
function ap_validate($str)
|
||||||
|
{
|
||||||
|
$s = str_replace('<br />', '<br/>', $str);
|
||||||
|
return str_replace('</li><br/>', '</li>', $s);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pagination routine, generates archive number sequence
|
||||||
|
*/
|
||||||
|
function generate_portal_pagination($base_url, $num_items, $per_page, $start_item, $type, $add_prevnext_text = false, $tpl_prefix = '')
|
||||||
|
{
|
||||||
|
global $template, $user;
|
||||||
|
|
||||||
|
switch ($type)
|
||||||
|
{
|
||||||
|
case "announcements":
|
||||||
|
$pagination_type = 'ap';
|
||||||
|
$anker = '#a';
|
||||||
|
break;
|
||||||
|
case "news":
|
||||||
|
case "news_all":
|
||||||
|
$pagination_type = 'np';
|
||||||
|
$anker = '#n';
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
// this shouldn't happen but default to announcements
|
||||||
|
$pagination_type = 'ap';
|
||||||
|
$anker = '#a';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Make sure $per_page is a valid value
|
||||||
|
$per_page = ($per_page <= 0) ? 1 : $per_page;
|
||||||
|
|
||||||
|
$seperator = '<li> </li>';
|
||||||
|
$total_pages = ceil($num_items / $per_page);
|
||||||
|
|
||||||
|
if ($total_pages == 1 || !$num_items)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
$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 .'">1</a></li>';
|
||||||
|
|
||||||
|
if ($total_pages > 5)
|
||||||
|
{
|
||||||
|
$start_cnt = min(max(1, $on_page - 4), $total_pages - 5);
|
||||||
|
$end_cnt = max(min($total_pages, $on_page + 4), 6);
|
||||||
|
|
||||||
|
// Add ... separator to pagination
|
||||||
|
$page_string .= ($start_cnt > 1) ? '<li class="ellipsis" role="separator"><span>' . $user->lang['ELLIPSIS'] . '</span></li>' : $seperator;
|
||||||
|
|
||||||
|
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 . '">' . $i . '</a></li>';
|
||||||
|
if ($i < $end_cnt - 1)
|
||||||
|
{
|
||||||
|
$page_string .= $seperator;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add ... separator to pagination
|
||||||
|
$page_string .= ($end_cnt < $total_pages) ? '<li class="ellipsis" role="separator"><span>' . $user->lang['ELLIPSIS'] . '</span></li>' : $seperator;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$page_string .= $seperator;
|
||||||
|
|
||||||
|
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 . '">' . $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 . '">' . $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 . '">' . $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 . '">' . $user->lang['NEXT'] . '</a>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$template->assign_vars(array(
|
||||||
|
$tpl_prefix . 'BASE_URL' => $base_url,
|
||||||
|
'A_' . $tpl_prefix . 'BASE_URL' => is_string($base_url) ? $base_url : '',
|
||||||
|
$tpl_prefix . 'PER_PAGE' => $per_page,
|
||||||
|
|
||||||
|
$tpl_prefix . 'PREVIOUS_PAGE' => ($on_page == 1) ? '' : $base_url . "{$url_delim}" . $pagination_type . '=' . (($on_page - 2) * $per_page) . $anker,
|
||||||
|
$tpl_prefix . 'NEXT_PAGE' => ($on_page == $total_pages) ? '' : $base_url . "{$url_delim}" . $pagination_type . '=' . ($on_page * $per_page) . $anker,
|
||||||
|
$tpl_prefix . 'TOTAL_PAGES' => $total_pages,
|
||||||
|
));
|
||||||
|
|
||||||
|
return $page_string;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if table exists
|
||||||
|
* @copyright (c) 2007 phpBB Group
|
||||||
|
*
|
||||||
|
* @param string $table_name The table name to check for
|
||||||
|
* @return bool true if table exists, else false
|
||||||
|
*/
|
||||||
|
function sql_table_exists($table_name)
|
||||||
|
{
|
||||||
|
global $db;
|
||||||
|
$db->sql_return_on_error(true);
|
||||||
|
$result = $db->sql_query_limit('SELECT * FROM ' . $db->sql_escape($table_name), 1);
|
||||||
|
$db->sql_return_on_error(false);
|
||||||
|
|
||||||
|
if ($result)
|
||||||
|
{
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* get topic tracking info for news
|
||||||
|
* based on get_complete_tracking_info of phpBB3
|
||||||
|
* this should reduce the queries for the news and announcements block
|
||||||
|
*/
|
||||||
|
function get_portal_tracking_info($fetch_news)
|
||||||
|
{
|
||||||
|
global $config, $request, $user;
|
||||||
|
|
||||||
|
$last_read = $topic_ids = $forum_ids = $tracking_info = $rev_forum_ids = $user_lastmark = array();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* group everything by the forum IDs
|
||||||
|
*/
|
||||||
|
$count = $fetch_news['topic_count'];
|
||||||
|
for ($i = 0; $i < $count; ++$i)
|
||||||
|
{
|
||||||
|
$tracking_info[$fetch_news[$i]['forum_id']][] = $fetch_news[$i]['topic_id'];
|
||||||
|
$topic_ids[] = $fetch_news[$i]['topic_id'];
|
||||||
|
$forum_ids[] = $fetch_news[$i]['forum_id'];
|
||||||
|
$rev_forum_ids[$fetch_news[$i]['topic_id']] = $fetch_news[$i]['forum_id']; // the other way round also helps
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($tracking_info as $forum_id => $current_forum)
|
||||||
|
{
|
||||||
|
if ($config['load_db_lastread'] && $user->data['is_registered'])
|
||||||
|
{
|
||||||
|
global $db;
|
||||||
|
|
||||||
|
$mark_time = array();
|
||||||
|
|
||||||
|
$sql = 'SELECT topic_id, mark_time
|
||||||
|
FROM ' . TOPICS_TRACK_TABLE . "
|
||||||
|
WHERE user_id = {$user->data['user_id']}
|
||||||
|
AND " . $db->sql_in_set('topic_id', $current_forum);
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
$last_read[$row['topic_id']] = $row['mark_time'];
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
$current_forum = array_diff($current_forum, array_keys($last_read));
|
||||||
|
|
||||||
|
if (sizeof($topic_ids))
|
||||||
|
{
|
||||||
|
$sql = 'SELECT forum_id, mark_time
|
||||||
|
FROM ' . FORUMS_TRACK_TABLE . "
|
||||||
|
WHERE user_id = {$user->data['user_id']}
|
||||||
|
AND " . $db->sql_in_set('forum_id', $forum_ids);
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
$mark_time[$row['forum_id']] = $row['mark_time'];
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
// @todo: do not use $current_forum here as this is already used by the outside foreach
|
||||||
|
foreach($forum_ids as $current_forum)
|
||||||
|
{
|
||||||
|
$user_lastmark[$current_forum] = (isset($mark_time[$current_forum])) ? $mark_time[$current_forum] : $user->data['user_lastmark'];
|
||||||
|
}
|
||||||
|
|
||||||
|
// @todo: also check if $user_lastmark has been defined for this specific forum_id
|
||||||
|
foreach ($topic_ids as $topic_id)
|
||||||
|
{
|
||||||
|
if (!isset($last_read[$topic_id]) || (isset($user_lastmark[$rev_forum_ids[$topic_id]]) && $user_lastmark[$rev_forum_ids[$topic_id]] > $last_read[$topic_id]))
|
||||||
|
{
|
||||||
|
$last_read[$topic_id] = $user_lastmark[$rev_forum_ids[$topic_id]];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if ($config['load_anon_lastread'] || $user->data['is_registered'])
|
||||||
|
{
|
||||||
|
global $tracking_topics;
|
||||||
|
|
||||||
|
if (!isset($tracking_topics) || !sizeof($tracking_topics))
|
||||||
|
{
|
||||||
|
if ($request->is_set($config['cookie_name'] . '_track', \phpbb\request\request_interface::COOKIE))
|
||||||
|
{
|
||||||
|
$tracking_topics = $request->variable($config['cookie_name'] . '_track', '', true, \phpbb\request\request_interface::COOKIE);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$tracking_topics = '';
|
||||||
|
}
|
||||||
|
$tracking_topics = ($tracking_topics) ? tracking_unserialize($tracking_topics) : array();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!$user->data['is_registered'])
|
||||||
|
{
|
||||||
|
$user_lastmark = (isset($tracking_topics['l'])) ? base_convert($tracking_topics['l'], 36, 10) + $config['board_startdate'] : 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$user_lastmark = $user->data['user_lastmark'];
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach ($topic_ids as $topic_id)
|
||||||
|
{
|
||||||
|
$topic_id36 = base_convert($topic_id, 10, 36);
|
||||||
|
|
||||||
|
if (isset($tracking_topics['t'][$topic_id36]))
|
||||||
|
{
|
||||||
|
$last_read[$topic_id] = base_convert($tracking_topics['t'][$topic_id36], 36, 10) + $config['board_startdate'];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
$topic_ids = array_diff($topic_ids, array_keys($last_read));
|
||||||
|
|
||||||
|
if (sizeof($topic_ids))
|
||||||
|
{
|
||||||
|
$mark_time = array();
|
||||||
|
|
||||||
|
if (isset($tracking_topics['f'][$forum_id]))
|
||||||
|
{
|
||||||
|
$mark_time[$forum_id] = base_convert($tracking_topics['f'][$forum_id], 36, 10) + $config['board_startdate'];
|
||||||
|
}
|
||||||
|
|
||||||
|
$user_lastmark = (isset($mark_time[$forum_id])) ? $mark_time[$forum_id] : $user_lastmark;
|
||||||
|
|
||||||
|
foreach ($topic_ids as $topic_id)
|
||||||
|
{
|
||||||
|
$last_read[$topic_id] = $user_lastmark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $last_read;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the entered source file actually exists
|
||||||
|
*
|
||||||
|
* @param string $value Filename of file to check
|
||||||
|
* @param string $key Key of the acp setting (unused here)
|
||||||
|
* @param int $module_id Module ID of this module
|
||||||
|
* @param bool $force_error Whether an error message should be triggered on
|
||||||
|
* errors.
|
||||||
|
* @return bool|string False if file exists, an error string if file doesn't exist.
|
||||||
|
*/
|
||||||
|
function check_file_src($value, $key, $module_id, $force_error = true)
|
||||||
|
{
|
||||||
|
global $db, $phpbb_root_path, $phpEx, $user;
|
||||||
|
|
||||||
|
$error = '';
|
||||||
|
|
||||||
|
// We check if the chosen file is present in all active styles
|
||||||
|
$sql = 'SELECT style_path
|
||||||
|
FROM ' . STYLES_TABLE . '
|
||||||
|
WHERE style_active = 1';
|
||||||
|
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
while ($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
if (!file_exists($phpbb_root_path . 'styles/' . $row['style_path'] . '/theme/images/portal/' . $value) &&
|
||||||
|
!file_exists($phpbb_root_path . 'ext/board3/portal/styles/' . $row['style_path'] . '/theme/images/portal/' . $value))
|
||||||
|
{
|
||||||
|
$error .= $user->lang['B3P_FILE_NOT_FOUND'] . ': styles/' . $row['style_path'] . '/theme/images/portal/' . $value . '<br />';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
if (!empty($error))
|
||||||
|
{
|
||||||
|
if ($force_error)
|
||||||
|
{
|
||||||
|
trigger_error($error . adm_back_link(append_sid("{$phpbb_root_path}adm/index.$phpEx", 'i=\board3\portal\acp\portal_module&mode=config&module_id=' . $module_id)), E_USER_WARNING);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return $error;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the groups a user is in
|
||||||
|
*
|
||||||
|
* @return array Array containing the user's groups
|
||||||
|
*/
|
||||||
|
function get_user_groups()
|
||||||
|
{
|
||||||
|
global $cache, $db, $user;
|
||||||
|
|
||||||
|
$groups_ary = $cache->get('_user_groups_' . $user->data['user_id']);
|
||||||
|
|
||||||
|
if ($groups_ary === false)
|
||||||
|
{
|
||||||
|
// get user's groups
|
||||||
|
$sql = 'SELECT group_id
|
||||||
|
FROM ' . USER_GROUP_TABLE . '
|
||||||
|
WHERE user_id = ' . (int) $user->data['user_id'] . '
|
||||||
|
ORDER BY group_id ASC';
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
while($row = $db->sql_fetchrow($result))
|
||||||
|
{
|
||||||
|
$groups_ary[] = $row['group_id'];
|
||||||
|
}
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
// save data in cache for 60 seconds
|
||||||
|
$cache->put('_user_groups_' . $user->data['user_id'], $groups_ary, 60);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $groups_ary;
|
||||||
|
}
|
||||||
@@ -1,17 +1,12 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2
|
* @package Board3 Portal v2.1
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('IN_PHPBB'))
|
|
||||||
{
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
function column_num_string($column)
|
function column_num_string($column)
|
||||||
{
|
{
|
||||||
switch ($column)
|
switch ($column)
|
||||||
@@ -26,6 +21,8 @@ function column_num_string($column)
|
|||||||
return 'top';
|
return 'top';
|
||||||
case 5:
|
case 5:
|
||||||
return 'bottom';
|
return 'bottom';
|
||||||
|
default:
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1,16 +1,13 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2
|
* @package Board3 Portal v2.1
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (!defined('IN_PHPBB'))
|
namespace board3\portal\includes;
|
||||||
{
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @ignore
|
* @ignore
|
||||||
@@ -22,7 +19,7 @@ class portal_upload
|
|||||||
*/
|
*/
|
||||||
private $upload_path;
|
private $upload_path;
|
||||||
private $u_action;
|
private $u_action;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* constructor function
|
* constructor function
|
||||||
*/
|
*/
|
||||||
@@ -37,7 +34,7 @@ class portal_upload
|
|||||||
$this->upload_file();
|
$this->upload_file();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* upload module zip
|
* upload module zip
|
||||||
*/
|
*/
|
||||||
@@ -50,12 +47,13 @@ class portal_upload
|
|||||||
$upload = new fileupload();
|
$upload = new fileupload();
|
||||||
// Only allow ZIP files
|
// Only allow ZIP files
|
||||||
$upload->set_allowed_extensions(array('zip'));
|
$upload->set_allowed_extensions(array('zip'));
|
||||||
|
|
||||||
$file = $upload->form_upload('modupload');
|
$file = $upload->form_upload('modupload');
|
||||||
|
|
||||||
if (empty($file->filename))
|
// this is for module zips so don't allow anything else
|
||||||
|
if (empty($file->filename) || !preg_match('.zip.', $file->get('realname')))
|
||||||
{
|
{
|
||||||
trigger_error($user->lang['NO_UPLOAD_FILE'] . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error($user->lang['NO_FILE_B3P'] . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -63,7 +61,7 @@ class portal_upload
|
|||||||
{
|
{
|
||||||
$file->clean_filename('real');
|
$file->clean_filename('real');
|
||||||
$file->move_file(str_replace($phpbb_root_path, '', $this->upload_path), true, true);
|
$file->move_file(str_replace($phpbb_root_path, '', $this->upload_path), true, true);
|
||||||
|
|
||||||
if (!sizeof($file->error))
|
if (!sizeof($file->error))
|
||||||
{
|
{
|
||||||
include($phpbb_root_path . 'includes/functions_compress.' . $phpEx);
|
include($phpbb_root_path . 'includes/functions_compress.' . $phpEx);
|
||||||
@@ -85,7 +83,7 @@ class portal_upload
|
|||||||
// We need to move that directory then
|
// We need to move that directory then
|
||||||
$this->directory_move($mod_dir . '_tmp/' . $folder_contents[0], $this->upload_path . $folder_contents[0]);
|
$this->directory_move($mod_dir . '_tmp/' . $folder_contents[0], $this->upload_path . $folder_contents[0]);
|
||||||
$new_mod_dir = $this->upload_path . $folder_contents[0];
|
$new_mod_dir = $this->upload_path . $folder_contents[0];
|
||||||
|
|
||||||
}
|
}
|
||||||
else if (!is_dir($mod_dir))
|
else if (!is_dir($mod_dir))
|
||||||
{
|
{
|
||||||
@@ -95,25 +93,25 @@ class portal_upload
|
|||||||
}
|
}
|
||||||
|
|
||||||
$this->directory_delete($mod_dir . '_tmp/');
|
$this->directory_delete($mod_dir . '_tmp/');
|
||||||
|
|
||||||
// make sure we set $mod_dir to the correct folder after the above step
|
// make sure we set $mod_dir to the correct folder after the above step
|
||||||
$mod_dir = (isset($new_mod_dir)) ? $new_mod_dir : $mod_dir;
|
$mod_dir = (isset($new_mod_dir)) ? $new_mod_dir : $mod_dir;
|
||||||
|
|
||||||
// if we got until here set $actions['NEW_FILES']
|
// if we got until here set $actions['NEW_FILES']
|
||||||
$actions['NEW_FILES'] = array();
|
$actions['NEW_FILES'] = array();
|
||||||
|
|
||||||
// Now we need to get the files inside the folders
|
// Now we need to get the files inside the folders
|
||||||
//$folder_contents = $this->cut_folder(scandir($mod_dir));
|
//$folder_contents = $this->cut_folder(scandir($mod_dir));
|
||||||
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($mod_dir)); // requires PHP 5
|
$iterator = new RecursiveIteratorIterator(new RecursiveDirectoryIterator($mod_dir, FilesystemIterator::SKIP_DOTS)); // requires PHP 5
|
||||||
|
|
||||||
foreach($iterator as $cur_file)
|
foreach($iterator as $cur_file)
|
||||||
{
|
{
|
||||||
$cur_path = $cur_file->getPathname();
|
$cur_path = $cur_file->getPathname();
|
||||||
$cur_path = str_replace('\\', '/', $cur_path); // we want unix-like paths
|
$cur_path = str_replace('\\', '/', $cur_path); // we want unix-like paths
|
||||||
$cur_path = str_replace($mod_dir . '/', '', $cur_path);
|
$cur_path = str_replace($mod_dir . '/', '', $cur_path);
|
||||||
$cut_pos = strpos($cur_path, '/');
|
$cut_pos = strpos($cur_path, '/');
|
||||||
|
|
||||||
// Only allow files in adm, language, portal and styles folder
|
// Only allow files in adm, language, portal and styles folder and a license.txt
|
||||||
if(!in_array(substr($cur_path, 0, $cut_pos), array('adm', 'language', 'portal', 'styles')) && $cur_file->getFilename() != 'license.txt')
|
if(!in_array(substr($cur_path, 0, $cut_pos), array('adm', 'language', 'portal', 'styles')) && $cur_file->getFilename() != 'license.txt')
|
||||||
{
|
{
|
||||||
$file->remove();
|
$file->remove();
|
||||||
@@ -128,9 +126,17 @@ class portal_upload
|
|||||||
|
|
||||||
if (!sizeof($file->error))
|
if (!sizeof($file->error))
|
||||||
{
|
{
|
||||||
// Let's start moving our files where they belong
|
// Let's start moving our files where they belong
|
||||||
foreach ($actions['NEW_FILES'] as $source => $target)
|
foreach ($actions['NEW_FILES'] as $source => $target)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
* make sure we don't try to copy folders
|
||||||
|
* folders will be created if necessary in copy_content
|
||||||
|
*/
|
||||||
|
if(is_dir($source))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$status = $this->copy_content($source, $target);
|
$status = $this->copy_content($source, $target);
|
||||||
|
|
||||||
if ($status !== true && !is_null($status))
|
if ($status !== true && !is_null($status))
|
||||||
@@ -145,7 +151,7 @@ class portal_upload
|
|||||||
'TARGET' => $target,
|
'TARGET' => $target,
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'S_MOD_SUCCESSBOX' => true,
|
'S_MOD_SUCCESSBOX' => true,
|
||||||
'MESSAGE' => $user->lang['MODULE_UPLOADED'],
|
'MESSAGE' => $user->lang['MODULE_UPLOADED'],
|
||||||
@@ -161,10 +167,10 @@ class portal_upload
|
|||||||
{
|
{
|
||||||
trigger_error((sizeof($file->error) ? implode('<br />', $file->error) : $user->lang['MOD_UPLOAD_INIT_FAIL']) . adm_back_link($this->u_action), E_USER_WARNING);
|
trigger_error((sizeof($file->error) ? implode('<br />', $file->error) : $user->lang['MOD_UPLOAD_INIT_FAIL']) . adm_back_link($this->u_action), E_USER_WARNING);
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->tpl_name = 'portal/acp_portal_upload_module';
|
$this->tpl_name = 'portal/acp_portal_upload_module';
|
||||||
$this->page_title = $user->lang['ACP_PORTAL_UPLOAD'];
|
$this->page_title = $user->lang['ACP_PORTAL_UPLOAD'];
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'L_TITLE' => $user->lang['ACP_PORTAL_UPLOAD'],
|
'L_TITLE' => $user->lang['ACP_PORTAL_UPLOAD'],
|
||||||
'L_TITLE_EXPLAIN' => '',
|
'L_TITLE_EXPLAIN' => '',
|
||||||
@@ -176,7 +182,7 @@ class portal_upload
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cuts the unneeded '.' and '..' from the folder content info scandir returns
|
* Cuts the unneeded '.' and '..' from the folder content info scandir returns
|
||||||
*
|
*
|
||||||
@@ -186,19 +192,19 @@ class portal_upload
|
|||||||
{
|
{
|
||||||
$cut_array = array('.', '..');
|
$cut_array = array('.', '..');
|
||||||
$folder_content = array_diff($folder_content, $cut_array);
|
$folder_content = array_diff($folder_content, $cut_array);
|
||||||
|
|
||||||
return $folder_content;
|
return $folder_content;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function directory_move($src, $dest)
|
private function directory_move($src, $dest)
|
||||||
{
|
{
|
||||||
$src_contents = scandir($src);
|
$src_contents = scandir($src);
|
||||||
|
|
||||||
if (!is_dir($dest) && is_dir($src))
|
if (!is_dir($dest) && is_dir($src))
|
||||||
{
|
{
|
||||||
mkdir($dest . '/', 0755);
|
mkdir($dest . '/', 0755);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach ($src_contents as $src_entry)
|
foreach ($src_contents as $src_entry)
|
||||||
{
|
{
|
||||||
if ($src_entry != '.' && $src_entry != '..')
|
if ($src_entry != '.' && $src_entry != '..')
|
||||||
@@ -209,58 +215,58 @@ class portal_upload
|
|||||||
}
|
}
|
||||||
else if (is_file($src . '/' . $src_entry) && !is_file($dest . '/' . $src_entry))
|
else if (is_file($src . '/' . $src_entry) && !is_file($dest . '/' . $src_entry))
|
||||||
{
|
{
|
||||||
copy($src . '/' . $src_entry, $dest . '/' . $src_entry);
|
@copy($src . '/' . $src_entry, $dest . '/' . $src_entry);
|
||||||
chmod($dest . '/' . $src_entry, 0644);
|
@chmod($dest . '/' . $src_entry, 0644);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the following functions are from the AutoMOD package
|
* the following functions are from the AutoMOD package
|
||||||
* @copyright (c) 2008 phpBB Group
|
* @copyright (c) 2008 phpBB Group
|
||||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
private function directory_delete($dir)
|
private function directory_delete($dir)
|
||||||
{
|
{
|
||||||
if (!file_exists($dir))
|
if (!file_exists($dir))
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_dir($dir) && is_file($dir))
|
if (!is_dir($dir) && is_file($dir))
|
||||||
{
|
{
|
||||||
phpbb_chmod($dir, CHMOD_ALL);
|
@chmod($dir, 0644);
|
||||||
return unlink($dir);
|
return @unlink($dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
foreach (scandir($dir) as $item)
|
foreach (scandir($dir) as $item)
|
||||||
{
|
{
|
||||||
if ($item == '.' || $item == '..')
|
if ($item == '.' || $item == '..')
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!$this->directory_delete($dir . "/" . $item))
|
if (!$this->directory_delete($dir . "/" . $item))
|
||||||
{
|
{
|
||||||
phpbb_chmod($dir . "/" . $item, CHMOD_ALL);
|
@chmod($dir . "/" . $item, 0644);
|
||||||
if (!$this->directory_delete($dir . "/" . $item))
|
if (!$this->directory_delete($dir . "/" . $item))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return @rmdir($dir);
|
return @rmdir($dir);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Moves files or complete directories
|
* Moves files or complete directories
|
||||||
*
|
*
|
||||||
* @param $from string Can be a file or a directory. Will move either the file or all files within the directory
|
* @param $from string Can be a file or a directory. Will move either the file or all files within the directory
|
||||||
* @param $to string Where to move the file(s) to. If not specified then will get moved to the root folder
|
* @param $to string Where to move the file(s) to. If not specified then will get moved to the root folder
|
||||||
* @param $strip Used for FTP only
|
* @param $strip Used for FTP only
|
||||||
* @return mixed: Bool true on success, error string on failure, NULL if no action was taken
|
* @return mixed Bool true on success, error string on failure, NULL if no action was taken
|
||||||
*
|
*
|
||||||
* NOTE: function should preferably not return in case of failure on only one file.
|
* NOTE: function should preferably not return in case of failure on only one file.
|
||||||
* The current method makes error handling difficult
|
* The current method makes error handling difficult
|
||||||
@@ -288,32 +294,32 @@ class portal_upload
|
|||||||
return sprintf($user->lang['MODULE_UPLOAD_MKDIR_FAILURE'], $dirname_check);
|
return sprintf($user->lang['MODULE_UPLOAD_MKDIR_FAILURE'], $dirname_check);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// leave a backup file if it already exists
|
// leave a backup file if it already exists
|
||||||
if(file_exists($to))
|
if(file_exists($to))
|
||||||
{
|
{
|
||||||
// remove old backup file first
|
// remove old backup file first
|
||||||
if(file_exists($to . '.bak'))
|
if(file_exists($to . '.bak'))
|
||||||
{
|
{
|
||||||
phpbb_chmod($to . '.bak', CHMOD_ALL);
|
@chmod($to . '.bak', 0644);
|
||||||
unlink($to . '.bak');
|
unlink($to . '.bak');
|
||||||
}
|
}
|
||||||
rename($to, $to . '.bak');
|
@rename($to, $to . '.bak');
|
||||||
phpbb_chmod($to, CHMOD_ALL);
|
@chmod($to, 0644);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!@copy($from, $to))
|
if (!@copy($from, $to))
|
||||||
{
|
{
|
||||||
return sprintf($user->lang['MODULE_COPY_FAILURE'], $to);
|
return sprintf($user->lang['MODULE_COPY_FAILURE'], $to);
|
||||||
}
|
}
|
||||||
@chmod($to, octdec(0644));
|
@chmod($to, 0644);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Michal Nazarewicz (from the php manual)
|
* @author Michal Nazarewicz (from the php manual)
|
||||||
* Creates all non-existant directories in a path
|
* Creates all non-existent directories in a path
|
||||||
* @param $path - path to create
|
* @param $path - path to create
|
||||||
* @param $mode - CHMOD the new dir to these permissions
|
* @param $mode - CHMOD the new dir to these permissions
|
||||||
* @return bool
|
* @return bool
|
||||||
@@ -345,4 +351,4 @@ class portal_upload
|
|||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
79
includes/helper.php
Normal file
@@ -0,0 +1,79 @@
|
|||||||
|
<?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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace board3\portal\includes;
|
||||||
|
|
||||||
|
class helper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Board3 Modules service collection
|
||||||
|
* @var \phpbb\di\service_collection
|
||||||
|
*/
|
||||||
|
protected $modules;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
* NOTE: The parameters of this method must match in order and type with
|
||||||
|
* the dependencies defined in the services.yml file for this service.
|
||||||
|
* @param \phpbb\di\service_collection $modules Board3 Modules service
|
||||||
|
* collection
|
||||||
|
*/
|
||||||
|
public function __construct($modules)
|
||||||
|
{
|
||||||
|
$this->register_modules($modules);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Register list of Board3 Portal modules
|
||||||
|
*
|
||||||
|
* @param \phpbb\di\service_collection $modules Board3 Modules service
|
||||||
|
* collection
|
||||||
|
* @return null
|
||||||
|
*/
|
||||||
|
protected function register_modules($modules)
|
||||||
|
{
|
||||||
|
foreach ($modules as $current_module)
|
||||||
|
{
|
||||||
|
$class_name = '\\' . get_class($current_module);
|
||||||
|
if (!isset($this->modules[$class_name]))
|
||||||
|
{
|
||||||
|
$this->modules[$class_name] = $current_module;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get module specified by module class name
|
||||||
|
*
|
||||||
|
* @param string $module_name Module class name
|
||||||
|
*
|
||||||
|
* @return bool|object The module object if it exists, false if not
|
||||||
|
*/
|
||||||
|
public function get_module($module_name)
|
||||||
|
{
|
||||||
|
if (isset($this->modules[$module_name]))
|
||||||
|
{
|
||||||
|
return $this->modules[$module_name];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get all supported modules
|
||||||
|
*
|
||||||
|
* @return array An array containing all supported modules
|
||||||
|
*/
|
||||||
|
public function get_all_modules()
|
||||||
|
{
|
||||||
|
return $this->modules;
|
||||||
|
}
|
||||||
|
}
|
||||||
138
includes/modules_helper.php
Normal file
@@ -0,0 +1,138 @@
|
|||||||
|
<?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
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
namespace board3\portal\includes;
|
||||||
|
|
||||||
|
class modules_helper
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Auth object
|
||||||
|
* @var \phpbb\auth\auth
|
||||||
|
*/
|
||||||
|
protected $auth;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB config
|
||||||
|
* @var \phpbb\config\config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB request
|
||||||
|
* @var \phpbb\request\request
|
||||||
|
*/
|
||||||
|
protected $request;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor
|
||||||
|
* NOTE: The parameters of this method must match in order and type with
|
||||||
|
* the dependencies defined in the services.yml file for this service.
|
||||||
|
* @param \phpbb\auth\auth $auth Auth object
|
||||||
|
* @param \phpbb\config\config $config phpBB config
|
||||||
|
* @param \phpbb\request\request $request phpBB request
|
||||||
|
*/
|
||||||
|
public function __construct($auth, $config, $request)
|
||||||
|
{
|
||||||
|
$this->auth = $auth;
|
||||||
|
$this->config = $config;
|
||||||
|
$this->request = $request;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get an array of disallowed forums
|
||||||
|
*
|
||||||
|
* @param bool $disallow_access Whether the array for disallowing access
|
||||||
|
* should be filled
|
||||||
|
* @return array Array of forums the user is not allowed to access
|
||||||
|
*/
|
||||||
|
public function get_disallowed_forums($disallow_access)
|
||||||
|
{
|
||||||
|
if ($disallow_access == true)
|
||||||
|
{
|
||||||
|
$disallow_access = array_unique(array_keys($this->auth->acl_getf('!f_read', true)));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$disallow_access = array();
|
||||||
|
}
|
||||||
|
|
||||||
|
return $disallow_access;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generate select box
|
||||||
|
*
|
||||||
|
* @param string $key Key of select box
|
||||||
|
* @param array $select_ary Array of select box options
|
||||||
|
* @param array $selected_options Array of selected options
|
||||||
|
*
|
||||||
|
* @return string HTML code of select box
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
public function generate_select_box($key, $select_ary, $selected_options)
|
||||||
|
{
|
||||||
|
// Build options
|
||||||
|
$options = '<select id="' . $key . '" name="' . $key . '[]" multiple="multiple">';
|
||||||
|
foreach ($select_ary as $id => $option)
|
||||||
|
{
|
||||||
|
$options .= '<option value="' . $option['value'] . '"' . ((in_array($option['value'], $selected_options)) ? ' selected="selected"' : '') . (!empty($option['disabled']) ? ' disabled="disabled" class="disabled-option"' : '') . '>' . $option['title'] . '</option>';
|
||||||
|
}
|
||||||
|
$options .= '</select>';
|
||||||
|
|
||||||
|
return $options;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Generate forum select box
|
||||||
|
*
|
||||||
|
* @param string $value Value of select box
|
||||||
|
* @param string $key Key of select box
|
||||||
|
*
|
||||||
|
* @return string HTML code of select box
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
public function generate_forum_select($value, $key)
|
||||||
|
{
|
||||||
|
$forum_list = make_forum_select(false, false, true, true, true, false, true);
|
||||||
|
|
||||||
|
$selected_options = $select_ary = array();
|
||||||
|
if(isset($this->config[$key]) && strlen($this->config[$key]) > 0)
|
||||||
|
{
|
||||||
|
$selected_options = explode(',', $this->config[$key]);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Build forum options
|
||||||
|
foreach ($forum_list as $f_id => $f_row)
|
||||||
|
{
|
||||||
|
$select_ary[] = array(
|
||||||
|
'value' => $f_id,
|
||||||
|
'title' => $f_row['padding'] . $f_row['forum_name'],
|
||||||
|
'disabled' => $f_row['disabled'],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $this->generate_select_box($key, $select_ary, $selected_options);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Store selected forums
|
||||||
|
*
|
||||||
|
* @param string $key Key name
|
||||||
|
*
|
||||||
|
* @return null
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
public function store_selected_forums($key)
|
||||||
|
{
|
||||||
|
// Get selected extensions
|
||||||
|
$values = $this->request->variable($key, array(0 => ''));
|
||||||
|
$news = implode(',', $values);
|
||||||
|
$this->config->set($key, $news);
|
||||||
|
}
|
||||||
|
}
|
||||||
110
includes/version_check.php
Normal file
@@ -0,0 +1,110 @@
|
|||||||
|
<?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\includes;
|
||||||
|
|
||||||
|
class version_check
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* @var array version_data
|
||||||
|
*/
|
||||||
|
protected $version_data;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \phpbb\config\config
|
||||||
|
*/
|
||||||
|
protected $config;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \phpbb\version_helper $version_helper phpBB version helper
|
||||||
|
*/
|
||||||
|
protected $version_helper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \phpbb\template\twig\twig
|
||||||
|
*/
|
||||||
|
protected $template;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var \phpbb\user
|
||||||
|
*/
|
||||||
|
protected $user;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var string Current version
|
||||||
|
*/
|
||||||
|
protected $current_version;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Construct a version_check object
|
||||||
|
*
|
||||||
|
* @param array $version_data Version data
|
||||||
|
* @param \phpbb\config\config $config phpBB config
|
||||||
|
* @param \phpbb\version_helper $version_helper phpBB version helper
|
||||||
|
* @param \phpbb\template\twig\twig $template phpBB template object
|
||||||
|
* @param \phpbb\user $user phpBB user object
|
||||||
|
*/
|
||||||
|
public function __construct($version_data, $config, $version_helper, $template, $user)
|
||||||
|
{
|
||||||
|
$this->version_data = $version_data;
|
||||||
|
$this->config = $config;
|
||||||
|
$this->version_helper = $version_helper;
|
||||||
|
$this->template = $template;
|
||||||
|
$this->user = $user;
|
||||||
|
$this->current_version = $this->config[str_replace(' ', '', $this->version_data['version'])];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check MOD version and assign template variables for version info if not
|
||||||
|
* returning current version
|
||||||
|
*
|
||||||
|
* @param bool $return_version Yes if current version should be returned
|
||||||
|
* @return string Current version if $return_version is set to true
|
||||||
|
*/
|
||||||
|
public function check($return_version = false)
|
||||||
|
{
|
||||||
|
// Set file location
|
||||||
|
$this->version_helper->set_file_location($this->version_data['file'][0], $this->version_data['file'][1], $this->version_data['file'][2]);
|
||||||
|
// Set current version
|
||||||
|
$this->version_helper->set_current_version($this->current_version);
|
||||||
|
|
||||||
|
$this->version_helper->force_stability(($this->config['extension_force_unstable'] || !$this->version_helper->is_stable($this->current_version)) ? 'unstable' : null);
|
||||||
|
|
||||||
|
$updates = $this->version_helper->get_suggested_updates(true);
|
||||||
|
|
||||||
|
// Return version if $return_version is set to true
|
||||||
|
if ($return_version)
|
||||||
|
{
|
||||||
|
return $this->current_version;
|
||||||
|
}
|
||||||
|
|
||||||
|
$version_up_to_date = empty($updates);
|
||||||
|
|
||||||
|
$template_data = array(
|
||||||
|
'AUTHOR' => $this->version_data['author'],
|
||||||
|
'CURRENT_VERSION' => $this->current_version,
|
||||||
|
'UP_TO_DATE' => sprintf((!$version_up_to_date) ? $this->user->lang['NOT_UP_TO_DATE'] : $this->user->lang['UP_TO_DATE'], $this->version_data['title']),
|
||||||
|
'S_UP_TO_DATE' => $version_up_to_date,
|
||||||
|
'U_AUTHOR' => 'http://www.phpbb.com/community/memberlist.php?mode=viewprofile&un=' . $this->version_data['author'],
|
||||||
|
'TITLE' => (string) $this->version_data['title'],
|
||||||
|
'LATEST_VERSION' => $this->current_version,
|
||||||
|
);
|
||||||
|
|
||||||
|
if (!$version_up_to_date)
|
||||||
|
{
|
||||||
|
$updates = array_shift($updates);
|
||||||
|
$template_data = array_merge($template_data, array(
|
||||||
|
'ANNOUNCEMENT' => (string) $updates['announcement'],
|
||||||
|
'DOWNLOAD' => (string) $updates['download'],
|
||||||
|
'LATEST_VERSION' => $updates['current'],
|
||||||
|
));
|
||||||
|
}
|
||||||
|
$this->template->assign_block_vars('mods', $template_data);
|
||||||
|
}
|
||||||
|
}
|
||||||
291
install.xml
@@ -1,291 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
||||||
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
|
||||||
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
|
||||||
<!-- $Id$ -->
|
|
||||||
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
|
||||||
<header>
|
|
||||||
<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
|
|
||||||
|
|
||||||
<title lang="en">board3 Portal 2.0.0 - Beta 1</title>
|
|
||||||
<title lang="de">board3 Portal 2.0.0 - Beta 1</title>
|
|
||||||
|
|
||||||
<description lang="en">Adds a portal with several blocks to your forum.
|
|
||||||
You can change the settings, move the blocks, add new blocks and more in the ACP.
|
|
||||||
|
|
||||||
Included language files:
|
|
||||||
» English (en)
|
|
||||||
» German (de)
|
|
||||||
|
|
||||||
More languages can be found in our International forum: http://www.board3.de/viewforum.php?f=13</description>
|
|
||||||
<description lang="de">Fügt ein Portal mit diversen Boxen deinem Forum hinzu.
|
|
||||||
Im Admin-Bereich kann man unter Anderem die Einstellungen ändern, die Blöcke verschieben, neue Blöcke hinzufügen und vieles mehr.
|
|
||||||
|
|
||||||
Enthaltenen Sprachdateien:
|
|
||||||
» Englisch (en)
|
|
||||||
» Deutsch (de)
|
|
||||||
|
|
||||||
Weitere Sprachen kannst in unserem Internationalen Forum finden: http://www.board3.de/viewforum.php?f=13
|
|
||||||
</description>
|
|
||||||
|
|
||||||
<author-notes lang="en">I hope you get everything working. Further developement, new boxes for the portal or questions are welcome at www.board3.de
|
|
||||||
</author-notes>
|
|
||||||
<author-notes lang="de">Ich hoffe ihr habt Spaß am Portal. Neuen Code, bzw neue Boxen und Fragen könnt ihr auf www.board3.de posten.
|
|
||||||
</author-notes>
|
|
||||||
|
|
||||||
<author-group>
|
|
||||||
<author>
|
|
||||||
<realname>Marc Alexander</realname>
|
|
||||||
<username>marc1706</username>
|
|
||||||
<email>admin@m-a-styles.de</email>
|
|
||||||
<homepage>http://www.m-a-styles.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Main-Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Joas Schilling</realname>
|
|
||||||
<email>nickvergessen@gmx.de</email>
|
|
||||||
<username>nickvergessen</username>
|
|
||||||
<homepage>http://mods.flying-bits.org/</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Kevin</realname>
|
|
||||||
<username>saint_hh</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="current" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Ice</realname>
|
|
||||||
<username>avaren</username>
|
|
||||||
<homepage>http://www.board3.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Christian</realname>
|
|
||||||
<username>Christian_N</username>
|
|
||||||
<homepage>http://www.phpbb-projekt.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
<author>
|
|
||||||
<realname>Walter</realname>
|
|
||||||
<email>w.bobeth@digitalfotografie-foren.de</email>
|
|
||||||
<username>Redbull254</username>
|
|
||||||
<homepage>http://www.digitalfotografie-foren.de</homepage>
|
|
||||||
<contributions-group>
|
|
||||||
<contributions status="past" position="Developer"></contributions>
|
|
||||||
</contributions-group>
|
|
||||||
</author>
|
|
||||||
</author-group>
|
|
||||||
|
|
||||||
<mod-version>2.0.0b1</mod-version>
|
|
||||||
|
|
||||||
<installation>
|
|
||||||
<level>easy</level>
|
|
||||||
<time>600</time>
|
|
||||||
<target-version>3.0.8</target-version>
|
|
||||||
</installation>
|
|
||||||
|
|
||||||
<link-group>
|
|
||||||
<link type="dependency" lang="en" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal supports MOD Version Check. To use this feature, this mod has to be installed.</link>
|
|
||||||
<link type="dependency" lang="de" href="http://www.phpbb.com/community/viewtopic.php?f=69&t=691155">Board3 Portal unterstützt MOD Version Check. Um dieses Feature zu nutzen, muss dieser Mod installiert sein.</link>
|
|
||||||
<link type="language" lang="en" href="contrib/de.xml">Manual for German Language-set</link>
|
|
||||||
<link type="language" lang="de" href="contrib/de.xml">Anleitung für das deutsche Sprachpaket</link>
|
|
||||||
<link type="template" lang="en" href="contrib/subsilver2.xml">Manual for subsilver2</link>
|
|
||||||
<link type="template" lang="de" href="contrib/subsilver2.xml">Anleitung für subsilver2</link>
|
|
||||||
<link type="contrib" lang="en" href="contrib/update_106_to_200b1/update.xml">Manual for Updating B3P 1.0.6 to 2.0.0b1</link>
|
|
||||||
<link type="contrib" lang="de" href="contrib/update_106_to_200b1/update.xml">Anleitung für das Aktualisieren von B3P 1.0.6 zu 2.0.0b1</link>
|
|
||||||
</link-group>
|
|
||||||
<history>
|
|
||||||
<entry>
|
|
||||||
<date>2011-06-08</date>
|
|
||||||
<rev-version>2.0.0b1</rev-version>
|
|
||||||
<changelog lang="en">
|
|
||||||
<change>Added missing IF $S_BLOCK_ICON</change>
|
|
||||||
<change>Fixed select for displaying events </change>
|
|
||||||
<change>Add feature to disable modules without having to remove them</change>
|
|
||||||
<change>Fixed typo in title of Latest Bots block</change>
|
|
||||||
<change>Applied patch for folders with special characters (upload module)</change>
|
|
||||||
<change>Reworked parts of calendar block</change>
|
|
||||||
<change>Fixed missing CSS for li-tags of calendar</change>
|
|
||||||
<change>Added error handling to installation of modules</change>
|
|
||||||
<change>Fixed timezone handling of calendar</change>
|
|
||||||
<change>Fixed incorrect handling of links</change>
|
|
||||||
<change>Fixed mixup with td and tr in subsilver2 calendar block</change>
|
|
||||||
<change>Added missing HTML file for center block of attachments module</change>
|
|
||||||
<change>Fixed missing check for correct column when moving a module left or right</change>
|
|
||||||
<change>Added possibility to add forumlist to top and bottom column</change>
|
|
||||||
<change>Corrected language var for module image as suggested by archivar</change>
|
|
||||||
<change>Moved link constants into module files</change>
|
|
||||||
<change>Remove php closing tag</change>
|
|
||||||
<change>Rewrote basic uploader for module zips</change>
|
|
||||||
<change>Modified class files for PHP5 -- PHP5 is now a requirement</change>
|
|
||||||
<change>Added check to prevent adding a module more than once</change>
|
|
||||||
<change>Added feature to hide portal name on acp configuration page for all modules (was only for latest bots module)</change>
|
|
||||||
<change>Added adm folder to allowed upload folders</change>
|
|
||||||
<change>Replace chmod with phpbb_chmod in uploader where needed</change>
|
|
||||||
<change>Added feature to open external links in a new window</change>
|
|
||||||
<change>Merged nickvergessen's phpbb3-tools-trim-message replacing old get_sub_taged_string function</change>
|
|
||||||
<change>Random members block will not be installed by default</change>
|
|
||||||
</changelog>
|
|
||||||
<changelog lang="de">
|
|
||||||
<change>Fehlendes IF $S_BLOCK_ICON hinzugefügt</change>
|
|
||||||
<change>Auswahl für das Anzeigen von Events repariert</change>
|
|
||||||
<change>Fähigkeit hinzugefügt um Module zu deaktivieren ohne sie zu entfernen</change>
|
|
||||||
<change>Schreibfehler in "Letzte Bots" Block beseitigt</change>
|
|
||||||
<change>Patch für Ordner mit Spezialcharaktern hinzugefügt (Upload Modul)</change>
|
|
||||||
<change>Teile des Kalender Blocks überarbeitet</change>
|
|
||||||
<change>Fehlendes CSS für li-tags des Kalenders hinzugefügt</change>
|
|
||||||
<change>Fehlerbehandlung zu Installation von Modulen hinzugefügt</change>
|
|
||||||
<change>Zeitzonenbehandlung in Kalender korrigiert</change>
|
|
||||||
<change>Falsche Behandlung von Links korrigiert</change>
|
|
||||||
<change>Falsche Benutzung von td und tr im subsilver2 Kalender Block beseitigt</change>
|
|
||||||
<change>Fehlende HTML Datei des Dateianhänge Moduls für die mittlere Spalte hinzugefügt</change>
|
|
||||||
<change>Fehlende Überprüfung auf richtige Spalte beim Verschieben der Module</change>
|
|
||||||
<change>Möglichkeit hinzugefügt die Forenliste in die obere und untere Modulezeile hinzuzufügen</change>
|
|
||||||
<change>Sprachvariable für Modulbild, wie von archivar vorgeschlagen, abgeändert</change>
|
|
||||||
<change>Link Konstanten in Module verschoben</change>
|
|
||||||
<change>Schließenden Tag von PHP Dateien entfernt</change>
|
|
||||||
<change>Hochlade-Module für Modul Zips komplett neu geschrieben</change>
|
|
||||||
<change>Klassen Dateien für PHP5 modifiziert -- PHP5 ist jetzt eine Vorraussetzung</change>
|
|
||||||
<change>Überprüfung hinzugefügt, damit ein Modul nicht mehrmals hinzugefügt werden kann</change>
|
|
||||||
<change>Möglichkeits hinzugefügt den Modultitel auf der Konfigurationsseite im ACP zu verstecken</change>
|
|
||||||
<change>adm Ordner zu erlaubten upload Ordnern hinzugefügt</change>
|
|
||||||
<change>chmod mit phpbb_chmod ersetzt in Upload Modul</change>
|
|
||||||
<change>Möglichkeit externe Links in einem neuen Fenster zu öffnen hinzugefügt</change>
|
|
||||||
<change>nickvergessen's phpbb3-tools-trim-message hinzugefügt - ersetzt die alte Funktion get_sub_taged_string()</change>
|
|
||||||
<change>Zufällige Mitglieder Block wird standardmäßig nicht installiert</change>
|
|
||||||
</changelog>
|
|
||||||
</entry>
|
|
||||||
<entry>
|
|
||||||
<date>2011-03-08</date>
|
|
||||||
<rev-version>2.0.0a1</rev-version>
|
|
||||||
<changelog lang="en">
|
|
||||||
<change>First alpha release</change>
|
|
||||||
</changelog>
|
|
||||||
<changelog lang="de">
|
|
||||||
<change>Erste Alpha-Version</change>
|
|
||||||
</changelog>
|
|
||||||
</entry>
|
|
||||||
</history>
|
|
||||||
</header>
|
|
||||||
<action-group>
|
|
||||||
<copy>
|
|
||||||
<file from="root/portal.php" to="portal.php" />
|
|
||||||
<file from="root/adm/images/*.*" to="adm/images/*.*" />
|
|
||||||
<file from="root/adm/mods/board3_portal_check_version.php" to="adm/mods/board3_portal_check_version.php" />
|
|
||||||
<file from="root/adm/style/*.*" to="adm/style/*.*" />
|
|
||||||
<file from="root/includes/acp/*.*" to="includes/acp/*.*" />
|
|
||||||
<file from="root/install/index.php" to="install/index.php" />
|
|
||||||
<file from="root/language/en/mods/*.*" to="language/en/mods/*.*" />
|
|
||||||
<file from="root/portal/*.*" to="portal/*.*" />
|
|
||||||
<file from="root/styles/prosilver/template/portal/*.*" to="styles/prosilver/template/portal/*.*" />
|
|
||||||
<file from="root/styles/prosilver/theme/portal.css" to="styles/prosilver/theme/portal.css" />
|
|
||||||
<file from="root/styles/prosilver/theme/images/portal/*.*" to="styles/prosilver/theme/images/portal/*.*" />
|
|
||||||
<file from="root/umil/*.*" to="umil/*.*" />
|
|
||||||
</copy>
|
|
||||||
|
|
||||||
<open src=".htaccess">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[<Files "common.php">
|
|
||||||
Order Allow,Deny
|
|
||||||
Deny from All
|
|
||||||
</Files>]]></find>
|
|
||||||
<action type="after-add"><![CDATA[DirectoryIndex portal.php index.php index.html index.htm]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="viewonline.php">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ case 'report':
|
|
||||||
$location = $user->lang['REPORTING_POST'];
|
|
||||||
$location_url = append_sid("{$phpbb_root_path}index.$phpEx");
|
|
||||||
break;]]></find>
|
|
||||||
<action type="after-add"><![CDATA[ case 'portal':
|
|
||||||
$user->add_lang('mods/portal');
|
|
||||||
$location = $user->lang['VIEWING_PORTAL'];
|
|
||||||
$location_url = append_sid("{$phpbb_root_path}portal.$phpEx");
|
|
||||||
break;]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="includes/functions.php">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[// The following assigns all _common_ variables that may be used at any point in a template.]]></find>
|
|
||||||
<action type="before-add"><![CDATA[ $user->add_lang('mods/portal');]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA['U_PRIVATEMSGS' => append_sid("{$phpbb_root_path}ucp.$phpEx", 'i=pm&folder=inbox'),]]></find>
|
|
||||||
<action type="before-add"><![CDATA[ 'U_PORTAL' => (isset($config['board3_enable']) && $config['board3_enable'] && $auth->acl_get('u_view_portal')) ? append_sid("{$phpbb_root_path}portal.$phpEx") : '',]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="includes/session.php">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ if (!empty($_GET['style']) && $auth->acl_get('a_styles') && !defined('ADMIN_START'))]]></find>
|
|
||||||
<action type="replace-with"><![CDATA[ if (!empty($_GET['style']) && !defined('ADMIN_START'))]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="styles/prosilver/template/overall_header.html">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[<div class="navbar">]]></find>
|
|
||||||
<action type="before-add"><![CDATA[<!-- IF not $S_IN_PORTAL or S_DISPLAY_PHPBB_MENU -->]]></action>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a> <!-- BEGIN navlinks --> <strong>‹</strong>]]></find>
|
|
||||||
<inline-edit>
|
|
||||||
<inline-find><![CDATA[<li class="icon-home">]]></inline-find>
|
|
||||||
<inline-action type="after-add"><![CDATA[<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->]]></inline-action>
|
|
||||||
</inline-edit>
|
|
||||||
</edit>
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[ <li class="icon-logout"><a href="{U_LOGIN_LOGOUT}" title="{L_LOGIN_LOGOUT}" accesskey="x">{L_LOGIN_LOGOUT}</a></li>
|
|
||||||
<!-- ENDIF -->
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<span class="corners-bottom"><span></span></span></div>
|
|
||||||
</div>]]></find>
|
|
||||||
<action type="after-add"><![CDATA[<!-- ENDIF -->]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="styles/prosilver/template/overall_footer.html">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>]]></find>
|
|
||||||
<inline-edit>
|
|
||||||
<inline-find><![CDATA[<li class="icon-home">]]></inline-find>
|
|
||||||
<inline-action type="after-add"><![CDATA[<!-- IF U_PORTAL --><a href="{U_PORTAL}">{L_PORTAL}</a> » <!-- ENDIF -->]]></inline-action>
|
|
||||||
</inline-edit>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<open src="styles/prosilver/theme/stylesheet.css">
|
|
||||||
<edit>
|
|
||||||
<find><![CDATA[@import url("colours.css");]]></find>
|
|
||||||
<action type="after-add"><![CDATA[@import url("portal.css");]]></action>
|
|
||||||
</edit>
|
|
||||||
</open>
|
|
||||||
<php-installer>install/index.php</php-installer>
|
|
||||||
<diy-instructions lang="de"><![CDATA[Rufe install/index.php auf und führe den Installer aus
|
|
||||||
|
|
||||||
Aktualisiere deine Styles:
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Templates" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Themes" > jedes > "Aktualisieren"
|
|
||||||
"Administrations-Bereich" (ACP) > "Styles" > "Grafiksammlungen" > jedes > "Aktualisieren"
|
|
||||||
|
|
||||||
Leere den Cache im "Administrations-Bereich" (ACP) > "Allgemein" > "Den Cache leeren"
|
|
||||||
]]></diy-instructions>
|
|
||||||
<diy-instructions lang="en"><![CDATA[Browse to install/index.php and run the installer
|
|
||||||
|
|
||||||
Refresh your Styles:
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Templates" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Themes" > each > "refresh"
|
|
||||||
"Administration Control Panel" (ACP) > "Styles" > "Imagesets" > each > "refresh"
|
|
||||||
|
|
||||||
Clear your cache in the "Administration Control Panel" (ACP) > "General" > "Purge the cache"
|
|
||||||
]]></diy-instructions>
|
|
||||||
</action-group>
|
|
||||||
</mod>
|
|
||||||
54
language/de/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',
|
||||||
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Announcements
|
* @package Board3 Portal v2.1 - Announcements
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ $lang = array_merge($lang, array(
|
|||||||
'JUMP_NEWEST' => 'Zum letzten Beitrag springen',
|
'JUMP_NEWEST' => 'Zum letzten Beitrag springen',
|
||||||
'JUMP_FIRST' => 'Zum ersten Beitrag springen',
|
'JUMP_FIRST' => 'Zum ersten Beitrag springen',
|
||||||
'JUMP_TO_POST' => 'Rufe den Beitrag auf',
|
'JUMP_TO_POST' => 'Rufe den Beitrag auf',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Einstellungen für Bekanntmachungen',
|
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Einstellungen für Bekanntmachungen',
|
||||||
'ACP_PORTAL_ANNOUNCE_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die Bekanntmachungen ändern.',
|
'ACP_PORTAL_ANNOUNCE_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die Bekanntmachungen ändern.',
|
||||||
@@ -62,13 +62,13 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_ANNOUNCEMENTS_LENGTH' => 'Maximale Länge der Bekanntmachungen',
|
'PORTAL_ANNOUNCEMENTS_LENGTH' => 'Maximale Länge der Bekanntmachungen',
|
||||||
'PORTAL_ANNOUNCEMENTS_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
'PORTAL_ANNOUNCEMENTS_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
||||||
'PORTAL_GLOBAL_ANNOUNCEMENTS_FORUM' => 'Foren der Bekanntmachungen',
|
'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 aussschließen" auf "Ja" steht, wähle die Foren die du ausschließen willst.<br />Falls "Foren aussschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'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ähle die Foren die du ausschließen willst.<br />Falls "Foren ausschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE' => 'Foren aussschließen',
|
'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE' => 'Foren ausschließen',
|
||||||
'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE_EXP'=> 'Wähle "Ja" wenn du die ausgewählten Foren vom Bekanntmachungen-Block ausschließen willst, und "Nein" wenn du nur die Bekanntmachungen aus den ausgewählten Foren im Bekanntmachungen-Block sehen willst.',
|
'PORTAL_ANNOUNCEMENTS_FORUM_EXCLUDE_EXP'=> 'Wähle "Ja" wenn du die ausgewählten Foren vom Bekanntmachungen-Block ausschließen willst, und "Nein" wenn du nur die Bekanntmachungen aus den ausgewählten Foren im Bekanntmachungen-Block sehen willst.',
|
||||||
'PORTAL_ANNOUNCEMENTS_PERMISSIONS' => 'Berechtigungen prüfen anschalten?',
|
'PORTAL_ANNOUNCEMENTS_PERMISSIONS' => 'Berechtigungen prüfen anschalten?',
|
||||||
'PORTAL_ANNOUNCEMENTS_PERMISSIONS_EXP' => 'Berücksichtigt Berechtigungen beim Anzeigen der Bekanntmachungen',
|
'PORTAL_ANNOUNCEMENTS_PERMISSIONS_EXP' => 'Berücksichtigt Berechtigungen beim Anzeigen der Bekanntmachungen',
|
||||||
'PORTAL_ANNOUNCEMENTS_ARCHIVE' => 'Das Archivsystem für die Bekanntmachungen aktivieren',
|
'PORTAL_ANNOUNCEMENTS_ARCHIVE' => 'Das Archivsystem für die Bekanntmachungen aktivieren',
|
||||||
'PORTAL_ANNOUNCEMENTS_ARCHIVE_EXP' => 'Wenn aktiviert, wird das Archivsystem und ggf. Seitenzahlen angezeigt.',
|
'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' => '"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.',
|
'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.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Attachments
|
* @package Board3 Portal v2.1 - Attachments
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -35,20 +35,20 @@ $lang = array_merge($lang, array(
|
|||||||
'DOWNLOADS' => 'Downloads',
|
'DOWNLOADS' => 'Downloads',
|
||||||
'NO_ATTACHMENTS' => 'Keine Dateianhänge',
|
'NO_ATTACHMENTS' => 'Keine Dateianhänge',
|
||||||
'PORTAL_ATTACHMENTS' => 'Dateianhänge-Block',
|
'PORTAL_ATTACHMENTS' => 'Dateianhänge-Block',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS' => 'Einstellungen für Dateianhänge',
|
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS' => 'Einstellungen für Dateianhänge',
|
||||||
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für Dateianhänge ändern.',
|
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für Dateianhänge ändern.',
|
||||||
'PORTAL_ATTACHMENTS_NUMBER' => 'Anzahl der anzuzeigenden Dateianhänge',
|
'PORTAL_ATTACHMENTS_NUMBER' => 'Anzahl der anzuzeigenden Dateianhänge',
|
||||||
'PORTAL_ATTACHMENTS_NUMBER_EXP' => '0 bedeutet unbegrenzt',
|
'PORTAL_ATTACHMENTS_NUMBER_EXP' => '0 bedeutet unbegrenzt',
|
||||||
'PORTAL_ATTACHMENTS_FORUM_IDS' => 'Dateianhänge Foren',
|
'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 aussschließen" auf "Ja" steht, wähle die Foren die du ausschließen willst.<br />Falls "Foren aussschließen" auf "Nein" steht, wähle die Foren aus, aus denen du die Dateianhänge sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'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ähle die Foren die du ausschließen willst.<br />Falls "Foren ausschließen" auf "Nein" steht, wähle die Foren aus, aus denen du die Dateianhänge sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_ATTACHMENTS_FORUM_EXCLUDE' => 'Foren aussschließen',
|
'PORTAL_ATTACHMENTS_FORUM_EXCLUDE' => 'Foren ausschließen',
|
||||||
'PORTAL_ATTACHMENTS_FORUM_EXCLUDE_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Dateianhänge-Block ausschließen willst, und "Nein" wenn du nur die Dateianhänge der ausgewählten Foren im Dateianhänge-Block sehen willst.',
|
'PORTAL_ATTACHMENTS_FORUM_EXCLUDE_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Dateianhänge-Block ausschließen willst, und "Nein" wenn du nur die Dateianhänge der ausgewählten Foren im Dateianhänge-Block sehen willst.',
|
||||||
'PORTAL_ATTACHMENTS_MAX_LENGTH' => 'Maximal angezeigte Länge der Dateianhänge',
|
'PORTAL_ATTACHMENTS_MAX_LENGTH' => 'Maximal angezeigte Länge der Dateianhänge',
|
||||||
'PORTAL_ATTACHMENTS_MAX_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
'PORTAL_ATTACHMENTS_MAX_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
||||||
'PORTAL_ATTACHMENTS_FILETYPE' => 'Dateitypen',
|
'PORTAL_ATTACHMENTS_FILETYPE' => 'Dateitypen',
|
||||||
'PORTAL_ATTACHMENTS_FILETYPE_EXP' => 'Falls "Dateitypen ausschließen" auf "Ja" steht, wähle die Dateitypen die du ausschließen willst.<br />Falls "Dateitypen ausschließen" auf "Nein" steht, wähle die Dateitypen die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'PORTAL_ATTACHMENTS_FILETYPE_EXP' => 'Falls "Dateitypen ausschließen" auf "Ja" steht, wähle die Dateitypen die du ausschließen willst.<br />Falls "Dateitypen ausschließen" auf "Nein" steht, wähle die Dateitypen die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_ATTACHMENTS_EXCLUDE' => 'Dateitypen aussschließen',
|
'PORTAL_ATTACHMENTS_EXCLUDE' => 'Dateitypen ausschließen',
|
||||||
'PORTAL_ATTACHMENTS_EXCLUDE_EXP' => 'Wähle "Ja" wenn du die ausgewählten Dateitypen vom Dateianhänge-Block ausschließen willst, und "Nein" wenn du nur die ausgewählten Dateitypen im Dateianhänge-Block sehen willst.',
|
'PORTAL_ATTACHMENTS_EXCLUDE_EXP' => 'Wähle "Ja" wenn du die ausgewählten Dateitypen vom Dateianhänge-Block ausschließen willst, und "Nein" wenn du nur die ausgewählten Dateitypen im Dateianhänge-Block sehen willst.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Birthday List
|
* @package Board3 Portal v2.1 - Birthday List
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -34,12 +34,11 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'BIRTHDAYS_AHEAD' => 'In den nächsten %s Tagen',
|
'BIRTHDAYS_AHEAD' => 'In den nächsten %s Tagen',
|
||||||
'NO_BIRTHDAYS_AHEAD' => 'In diesem Zeitraum hat kein Mitglied Geburtstag',
|
'NO_BIRTHDAYS_AHEAD' => 'In diesem Zeitraum hat kein Mitglied Geburtstag',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_BIRTHDAYS_SETTINGS' => 'Einstellungen für den Geburtstage-Block',
|
'ACP_PORTAL_BIRTHDAYS_SETTINGS' => 'Einstellungen für den Geburtstage-Block',
|
||||||
'ACP_PORTAL_BIRTHDAYS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für den Geburtstage-Block ändern.',
|
'ACP_PORTAL_BIRTHDAYS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für den Geburtstage-Block ändern.',
|
||||||
'PORTAL_BIRTHDAYS' => 'Geburtstage',
|
'PORTAL_BIRTHDAYS' => 'Geburtstage',
|
||||||
'PORTAL_BIRTHDAYS_EXPLAIN' => 'Diesen Block auf dem Portal anzeigen.',
|
|
||||||
'PORTAL_BIRTHDAYS_AHEAD' => 'Anstehende Geburtstage',
|
'PORTAL_BIRTHDAYS_AHEAD' => 'Anstehende Geburtstage',
|
||||||
'PORTAL_BIRTHDAYS_AHEAD_EXP' => 'Zeitraum für die Geburtstagsvorschau (Tage).<br />"0" deaktiviert die Anzeige der bevorstehenden Geburtstage.',
|
'PORTAL_BIRTHDAYS_AHEAD_EXP' => 'Zeitraum für die Geburtstagsvorschau (Tage).<br />"0" deaktiviert die Anzeige der bevorstehenden Geburtstage.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Calendar
|
* @package Board3 Portal v2.1 - Calendar
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ $lang = array_merge($lang, array(
|
|||||||
'12'=> 'Dezember',
|
'12'=> 'Dezember',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_CALENDAR' => 'Kalender Einstellungen',
|
'ACP_PORTAL_CALENDAR' => 'Kalender Einstellungen',
|
||||||
'ACP_PORTAL_CALENDAR_EXP' => 'Hier kannst du die Einstellungen für den Kalender ändern.',
|
'ACP_PORTAL_CALENDAR_EXP' => 'Hier kannst du die Einstellungen für den Kalender ändern.',
|
||||||
@@ -115,19 +115,15 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_CALENDAR_START_INCORRECT' => 'Die eingegebene Start-Zeit ist nicht korrekt. Bitte folge genau den Anweisungen.',
|
'ACP_PORTAL_CALENDAR_START_INCORRECT' => 'Die eingegebene Start-Zeit ist nicht korrekt. Bitte folge genau den Anweisungen.',
|
||||||
'ACP_PORTAL_CALENDAR_END_INCORRECT' => 'Die eingegebene End-Zeit ist nicht korrekt. Bitte folge genau den Anweisungen.',
|
'ACP_PORTAL_CALENDAR_END_INCORRECT' => 'Die eingegebene End-Zeit ist nicht korrekt. Bitte folge genau den Anweisungen.',
|
||||||
'ACP_PORTAL_CALENDAR_EVENT_PAST' => 'Die Start-zeit der Veranstaltung muss in der Zukunft liegen.',
|
'ACP_PORTAL_CALENDAR_EVENT_PAST' => 'Die Start-zeit der Veranstaltung muss in der Zukunft liegen.',
|
||||||
'ACP_PORTAL_EVENT_START_DAY' => 'Start-Datum der Veranstaltung',
|
'ACP_PORTAL_EVENT_START_DATE' => 'Start-Datum der Veranstaltung',
|
||||||
'ACP_PORTAL_EVENT_START_DAY_EXP' => 'Gebe das Datum ein, an dem die Veranstaltung beginnt. Das Datum muss in folgendem Format sein: TT-MM-JJJJ',
|
'ACP_PORTAL_EVENT_START_DATE_EXP' => 'Gebe 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_START_TIME' => 'Start-Zeit der Veranstaltung',
|
'ACP_PORTAL_EVENT_END_DATE' => 'End-Datum der Veranstaltung',
|
||||||
'ACP_PORTAL_EVENT_START_TIME_EXP' => 'Gebe die Zeit ein, zu der die Veranstaltung beginnt. Die Zeit muss im 24 Stunden Format sein, z.B. 23:12',
|
'ACP_PORTAL_EVENT_END_DATE_EXP' => 'Gebe das Datum und Uhrzeit ein, zu der die Veranstaltung endet. Datum und Uhrzeit sollten in einem ähnlichen Format sein: TT.MM.JJJJ',
|
||||||
'ACP_PORTAL_EVENT_END_DAY' => 'End-Datum der Veranstaltung',
|
|
||||||
'ACP_PORTAL_EVENT_END_DAY_EXP' => 'Gebe das Datum ein, an dem die Veranstaltung endet. Das Datum muss in folgendem Format sein: TT-MM-JJJJ',
|
|
||||||
'ACP_PORTAL_EVENT_END_TIME' => 'End-Zeit der Veranstaltung',
|
|
||||||
'ACP_PORTAL_EVENT_END_TIME_EXP' => 'Gebe die Zeit ein, zu der die Veranstaltung endet. Die Zeit muss im 24 Stunden Forrmat sein, z.B. 23:12',
|
|
||||||
'ACP_PORTAL_CALENDAR_EVENT_START_FIRST' => 'Das Ende der Veranstaltung muss nach dem Beginn der Veranstaltung liegen.',
|
'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' => 'Berechtigungen für die Veranstaltung',
|
||||||
'ACP_PORTAL_CALENDAR_PERMISSION_EXP' => 'Wähle die Gruppen aus, denen es erlaubt sein soll die Veranstaltung zu sehen. Falls alle Benutzer die Veranstaltung sehen sollen, dann wähle nichts aus.<br />Wähle mehrere Gruppen aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'ACP_PORTAL_CALENDAR_PERMISSION_EXP' => 'Wähle die Gruppen aus, denen es erlaubt sein soll die Veranstaltung zu sehen. Falls alle Benutzer die Veranstaltung sehen sollen, dann wähle nichts aus.<br />Wähle mehrere Gruppen aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_EVENTS_URL_NEW_WINDOW' => 'Öffne externe Veranstaltungsverknüpfungen in einem neuen Fenster',
|
'PORTAL_EVENTS_URL_NEW_WINDOW' => 'Öffne externe Veranstaltungsverknüpfungen in einem neuen Fenster',
|
||||||
|
|
||||||
// Logs
|
// Logs
|
||||||
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Veranstaltung aktualisiert</strong><br />» %s',
|
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Veranstaltung aktualisiert</strong><br />» %s',
|
||||||
'LOG_PORTAL_EVENT_ADDED' => '<strong>Veranstaltung hinzugefügt</strong><br />» %s',
|
'LOG_PORTAL_EVENT_ADDED' => '<strong>Veranstaltung hinzugefügt</strong><br />» %s',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Clock
|
* @package Board3 Portal v2.1 - Clock
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'CLOCK' => 'Uhr',
|
'CLOCK' => 'Uhr',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_CLOCK_SETTINGS' => 'Uhr Einstellungen',
|
'ACP_PORTAL_CLOCK_SETTINGS' => 'Uhr Einstellungen',
|
||||||
'ACP_PORTAL_CLOCK_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die Uhr ändern',
|
'ACP_PORTAL_CLOCK_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die Uhr ändern',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Custom
|
* @package Board3 Portal v2.1 - Custom
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'PORTAL_CUSTOM' => 'Eigener Block',
|
'PORTAL_CUSTOM' => 'Eigener Block',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom Block Settings',
|
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom Block Settings',
|
||||||
'ACP_PORTAL_CUSTOM_SETTINGS_EXP' => 'Einstellungen für den eigenen Block',
|
'ACP_PORTAL_CUSTOM_SETTINGS_EXP' => 'Einstellungen für den eigenen Block',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Donation
|
* @package Board3 Portal v2.1 - Donation
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -55,14 +55,11 @@ $lang = array_merge($lang, array(
|
|||||||
'EUR' => 'Euro (EUR)',
|
'EUR' => 'Euro (EUR)',
|
||||||
'MXN' => 'Mexikanische Pesos (MXN)',
|
'MXN' => 'Mexikanische Pesos (MXN)',
|
||||||
'ILS' => 'Neue Israelische Schekel (ILS)',
|
'ILS' => 'Neue Israelische Schekel (ILS)',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_PAYPAL_SETTINGS' => 'Paypal Einstellungen',
|
'ACP_PORTAL_PAYPAL_SETTINGS' => 'Paypal Einstellungen',
|
||||||
'ACP_PORTAL_PAYPAL_SETTINGS_EXP' => 'Hier kannst du die Paypal Einstellungen ändern.',
|
'ACP_PORTAL_PAYPAL_SETTINGS_EXP' => 'Hier kannst du die Paypal Einstellungen ändern.',
|
||||||
'PORTAL_PAY_C_BLOCK' => 'Normalen Paypal-Block anzeigen',
|
|
||||||
'PORTAL_PAY_C_BLOCK_EXP' => 'Diesen Block auf dem Portal anzeigen.',
|
|
||||||
'PORTAL_PAY_S_BLOCK' => 'Paypal als kleinen Block anzeigen',
|
|
||||||
'PORTAL_PAY_S_BLOCK_EXP' => 'Diesen Block auf dem Portal anzeigen.',
|
|
||||||
'PORTAL_PAY_ACC' => 'Paypal Account',
|
'PORTAL_PAY_ACC' => 'Paypal Account',
|
||||||
'PORTAL_PAY_ACC_EXP' => 'Gib deine e-mail-Adresse an, die du bei Paypal benutzt, z.B. xxx@xxx.com',
|
'PORTAL_PAY_ACC_EXP' => 'Gib deine e-mail-Adresse an, die du bei Paypal benutzt, z.B. xxx@xxx.com',
|
||||||
|
'PORTAL_PAY_CUSTOM' => 'Benutzername an die Paypal Zahlung anhängen',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Forumlist
|
* @package Board3 Portal v2.1 - Forumlist
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Friends
|
* @package Board3 Portal v2.1 - Friends
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ $lang = array_merge($lang, array(
|
|||||||
'NO_FRIENDS' => 'Derzeit sind keine Freunde definiert',
|
'NO_FRIENDS' => 'Derzeit sind keine Freunde definiert',
|
||||||
'NO_FRIENDS_OFFLINE' => 'Keine Freunde offline',
|
'NO_FRIENDS_OFFLINE' => 'Keine Freunde offline',
|
||||||
'NO_FRIENDS_ONLINE' => 'Keine Freunde online',
|
'NO_FRIENDS_ONLINE' => 'Keine Freunde online',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_FRIENDS_SETTINGS' => 'Einstellungen für den Freunde-Block',
|
'ACP_PORTAL_FRIENDS_SETTINGS' => 'Einstellungen für den Freunde-Block',
|
||||||
'ACP_PORTAL_FRIENDS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für den Freunde-Block ändern.',
|
'ACP_PORTAL_FRIENDS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für den Freunde-Block ändern.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Latest Bots
|
* @package Board3 Portal v2.1 - Latest Bots
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -34,9 +34,7 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'LATEST_BOTS' => 'Letzte Bots',
|
'LATEST_BOTS' => 'Letzte Bots',
|
||||||
'LAST_VISITED_BOTS' => 'Die letzten Bots',
|
'LAST_VISITED_BOTS' => 'Die letzten Bots',
|
||||||
'LAST_VISITED_BOTS_CNT' => 'Die letzten %s Bots',
|
|
||||||
'LAST_VISITED_BOT' => 'Der letzte Bot',
|
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_BOTS_SETTINGS' => 'Einstellungen für Bot-Besuche',
|
'ACP_PORTAL_BOTS_SETTINGS' => 'Einstellungen für Bot-Besuche',
|
||||||
'ACP_PORTAL_BOTS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für Bot-Besuche ändern.',
|
'ACP_PORTAL_BOTS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für Bot-Besuche ändern.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Latest Members
|
* @package Board3 Portal v2.1 - Latest Members
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'LATEST_MEMBERS' => 'Neue Mitglieder',
|
'LATEST_MEMBERS' => 'Neue Mitglieder',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_MEMBERS_SETTINGS' => 'Einstellungen für neue Mitglieder',
|
'ACP_PORTAL_MEMBERS_SETTINGS' => 'Einstellungen für neue Mitglieder',
|
||||||
'ACP_PORTAL_MEMBERS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für neue Mitglieder ändern.',
|
'ACP_PORTAL_MEMBERS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für neue Mitglieder ändern.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Leaders
|
* @package Board3 Portal v2.1 - Leaders
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ $lang = array_merge($lang, array(
|
|||||||
'NO_MODERATORS_P' => 'Keine Moderatoren',
|
'NO_MODERATORS_P' => 'Keine Moderatoren',
|
||||||
'NO_GROUPS_P' => 'Keine Gruppen',
|
'NO_GROUPS_P' => 'Keine Gruppen',
|
||||||
'ACP_PORTAL_LEADERS' => 'Das Team',
|
'ACP_PORTAL_LEADERS' => 'Das Team',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_LEADERS' => 'Team Block Einstellungen',
|
'ACP_PORTAL_LEADERS' => 'Team Block Einstellungen',
|
||||||
'ACP_PORTAL_LEADERS_EXP' => 'Hier kannst Du den Team-Block anpassen',
|
'ACP_PORTAL_LEADERS_EXP' => 'Hier kannst Du den Team-Block anpassen',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Link Us
|
* @package Board3 Portal v2.1 - Link Us
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Links
|
* @package Board3 Portal v2.1 - Links
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -33,8 +33,8 @@ 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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'PORTAL_LINKS' => 'Links',
|
'PORTAL_LINKS' => 'Links',
|
||||||
'LINKS_NO_LINKS' => 'Keine Links vorhanden',
|
'LINKS_NO_LINKS' => 'Keine Links vorhanden',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_LINKS' => 'Links-Einstellungen',
|
'ACP_PORTAL_LINKS' => 'Links-Einstellungen',
|
||||||
'ACP_PORTAL_LINKS_EXP' => 'Einstellungen für die Links ändern.',
|
'ACP_PORTAL_LINKS_EXP' => 'Einstellungen für die Links ändern.',
|
||||||
@@ -49,4 +49,8 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_LINK_PERMISSION' => 'Link Berechtigungen',
|
'ACP_PORTAL_LINK_PERMISSION' => 'Link Berechtigungen',
|
||||||
'ACP_PORTAL_LINK_PERMISSION_EXP'=> 'Wähle die Gruppen aus die berechtigt sein sollen den Link zu sehen. Falls alle Benutzer den Link sehen sollen, dann wähle nichts aus.<br />Wähle mehrere Gruppen aus/ab indem du <samp>STRG</samp> gedrückt hältst und klickst.',
|
'ACP_PORTAL_LINK_PERMISSION_EXP'=> 'Wähle die Gruppen aus die berechtigt sein sollen den Link zu sehen. Falls alle Benutzer den Link sehen sollen, dann wähle nichts aus.<br />Wähle mehrere Gruppen aus/ab indem du <samp>STRG</samp> gedrückt hältst und klickst.',
|
||||||
'ACP_PORTAL_LINKS_NEW_WINDOW' => 'Öffne externe Verknüpfungen in einem neuen Fenster',
|
'ACP_PORTAL_LINKS_NEW_WINDOW' => 'Öffne externe Verknüpfungen in einem neuen Fenster',
|
||||||
|
|
||||||
|
// Errors
|
||||||
|
'NO_LINK_TITLE' => 'Du musst einen Titel für diesen Link angeben.',
|
||||||
|
'NO_LINK_URL' => 'Du musst eine Link URL eingeben.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Main Menu
|
* @package Board3 Portal v2.1 - Main Menu
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -41,7 +41,7 @@ $lang = array_merge($lang, array(
|
|||||||
'M_PRV' => 'Datenschutzrichtlinie',
|
'M_PRV' => 'Datenschutzrichtlinie',
|
||||||
'M_SEARCH' => 'Suche',
|
'M_SEARCH' => 'Suche',
|
||||||
'MENU_NO_LINKS' => 'Keine Links',
|
'MENU_NO_LINKS' => 'Keine Links',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_MENU' => 'Hauptmenü-Einstellungen',
|
'ACP_PORTAL_MENU' => 'Hauptmenü-Einstellungen',
|
||||||
'ACP_PORTAL_MENU_LINK_SETTINGS' => 'Link Einstellungen',
|
'ACP_PORTAL_MENU_LINK_SETTINGS' => 'Link Einstellungen',
|
||||||
@@ -62,4 +62,8 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_MENU_PERMISSION' => 'Link Berechtigungen',
|
'ACP_PORTAL_MENU_PERMISSION' => 'Link Berechtigungen',
|
||||||
'ACP_PORTAL_MENU_PERMISSION_EXP'=> 'Wähle die Gruppen aus die berechtigt sein sollen den Link zu sehen. Falls alle Benutzer den Link sehen sollen, dann wähle nichts aus.<br />Wähle mehrere Gruppen aus/ab indem du <samp>STRG</samp> gedrückt hältst und klickst.',
|
'ACP_PORTAL_MENU_PERMISSION_EXP'=> 'Wähle die Gruppen aus die berechtigt sein sollen den Link zu sehen. Falls alle Benutzer den Link sehen sollen, dann wähle nichts aus.<br />Wähle mehrere Gruppen aus/ab indem du <samp>STRG</samp> gedrückt hältst und klickst.',
|
||||||
'ACP_PORTAL_MENU_EXT_NEW_WINDOW'=> 'Öffne externe Verknüpfungen in einem neuen Fenster',
|
'ACP_PORTAL_MENU_EXT_NEW_WINDOW'=> 'Öffne externe Verknüpfungen in einem neuen Fenster',
|
||||||
|
|
||||||
|
// Errors
|
||||||
|
'NO_LINK_TITLE' => 'Du musst einen Titel für diesen Link angeben.',
|
||||||
|
'NO_LINK_URL' => 'Du musst eine Link URL eingeben.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - News
|
* @package Board3 Portal v2.1 - News
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ $lang = array_merge($lang, array(
|
|||||||
'JUMP_NEWEST' => 'Zum letzten Beitrag springen',
|
'JUMP_NEWEST' => 'Zum letzten Beitrag springen',
|
||||||
'JUMP_FIRST' => 'Zum ersten Beitrag springen',
|
'JUMP_FIRST' => 'Zum ersten Beitrag springen',
|
||||||
'JUMP_TO_POST' => 'Rufe den Beitrag auf',
|
'JUMP_TO_POST' => 'Rufe den Beitrag auf',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_NEWS_SETTINGS' => 'Aktuelle Beiträge Einstellungen',
|
'ACP_PORTAL_NEWS_SETTINGS' => 'Aktuelle Beiträge Einstellungen',
|
||||||
'ACP_PORTAL_NEWS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die aktuellen Beiträge ändern.',
|
'ACP_PORTAL_NEWS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die aktuellen Beiträge ändern.',
|
||||||
@@ -56,8 +56,8 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_NEWS_LENGTH' => 'Maximal angezeigte Länge der Beiträge',
|
'PORTAL_NEWS_LENGTH' => 'Maximal angezeigte Länge der Beiträge',
|
||||||
'PORTAL_NEWS_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
'PORTAL_NEWS_LENGTH_EXP' => '0 bedeutet unbegrenzt',
|
||||||
'PORTAL_NEWS_FORUM' => 'Beiträge Foren',
|
'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 aussschließen" auf "Ja" steht, wähle die Foren die du ausschließen willst.<br />Falls "Foren aussschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'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ähle die Foren die du ausschließen willst.<br />Falls "Foren ausschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_NEWS_EXCLUDE' => 'Foren aussschließen',
|
'PORTAL_NEWS_EXCLUDE' => 'Foren ausschließen',
|
||||||
'PORTAL_NEWS_EXCLUDE_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Aktuelle Beiträge-Block ausschließen willst, und "Nein" wenn du nur die Beiträge aus den ausgewählten Foren im Aktuelle Beiträge-Block sehen willst.',
|
'PORTAL_NEWS_EXCLUDE_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Aktuelle Beiträge-Block ausschließen willst, und "Nein" wenn du nur die Beiträge aus den ausgewählten Foren im Aktuelle Beiträge-Block sehen willst.',
|
||||||
'PORTAL_NEWS_PERMISSIONS' => 'Berechtigungen prüfen anschalten?',
|
'PORTAL_NEWS_PERMISSIONS' => 'Berechtigungen prüfen anschalten?',
|
||||||
'PORTAL_NEWS_PERMISSIONS_EXP' => 'Berücksichtigt Berechtigungen beim Anzeigen der aktuellen Beiträge',
|
'PORTAL_NEWS_PERMISSIONS_EXP' => 'Berücksichtigt Berechtigungen beim Anzeigen der aktuellen Beiträge',
|
||||||
@@ -66,5 +66,5 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_NEWS_ARCHIVE' => 'Das Archivsystem für die aktuellen Beiträge aktivieren',
|
'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_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' => '"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.',
|
'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.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Poll
|
* @package Board3 Portal v2.1 - Poll
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -37,12 +37,12 @@ $lang = array_merge($lang, array(
|
|||||||
'NO_OPTIONS' => 'Diese Umfrage verfügt über keine Optionen.',
|
'NO_OPTIONS' => 'Diese Umfrage verfügt über keine Optionen.',
|
||||||
'NO_POLL' => 'Derzeit gibt es keine aktuellen Umfragen',
|
'NO_POLL' => 'Derzeit gibt es keine aktuellen Umfragen',
|
||||||
'RETURN_PORTAL' => '%sZurück zum Portal%s',
|
'RETURN_PORTAL' => '%sZurück zum Portal%s',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_POLLS_SETTINGS' => 'Einstellungen für Umfragen',
|
'ACP_PORTAL_POLLS_SETTINGS' => 'Einstellungen für Umfragen',
|
||||||
'ACP_PORTAL_POLLS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für Umfragen ändern.',
|
'ACP_PORTAL_POLLS_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für Umfragen ändern.',
|
||||||
'PORTAL_POLL_TOPIC_ID' => 'Umfragen Foren',
|
'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 aussschließen" auf "Ja" steht, wähle die Foren die du ausschließen willst.<br />Falls "Foren aussschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'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ähle die Foren die du ausschließen willst.<br />Falls "Foren ausschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_POLL_EXCLUDE_ID' => 'Foren ausschließen',
|
'PORTAL_POLL_EXCLUDE_ID' => 'Foren ausschließen',
|
||||||
'PORTAL_POLL_EXCLUDE_ID_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Umfragen-Block ausschließen willst, und "Nein" wenn du nur die Themen aus den ausgewählten Foren im Umfragen-Block sehen willst.',
|
'PORTAL_POLL_EXCLUDE_ID_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Umfragen-Block ausschließen willst, und "Nein" wenn du nur die Themen aus den ausgewählten Foren im Umfragen-Block sehen willst.',
|
||||||
'PORTAL_POLL_LIMIT' => 'Maximale Anzahl der Umfragen',
|
'PORTAL_POLL_LIMIT' => 'Maximale Anzahl der Umfragen',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Random Member
|
* @package Board3 Portal v2.1 - Random Member
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Recent Module
|
* @package Board3 Portal v2.1 - Recent Module
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_RECENT_TOPIC' => 'Aktuelle Themen',
|
'PORTAL_RECENT_TOPIC' => 'Aktuelle Themen',
|
||||||
'PORTAL_RECENT_ANN' => 'Aktuelle Bekanntmachungen',
|
'PORTAL_RECENT_ANN' => 'Aktuelle Bekanntmachungen',
|
||||||
'PORTAL_RECENT_HOT_TOPIC' => 'Beliebte Themen',
|
'PORTAL_RECENT_HOT_TOPIC' => 'Beliebte Themen',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_RECENT_SETTINGS' => 'Einstellungen für neueste Themen',
|
'ACP_PORTAL_RECENT_SETTINGS' => 'Einstellungen für neueste Themen',
|
||||||
'ACP_PORTAL_RECENT_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die neuesten Themen ändern.',
|
'ACP_PORTAL_RECENT_SETTINGS_EXP' => 'Hier kannst du die Einstellungen für die neuesten Themen ändern.',
|
||||||
@@ -45,7 +45,7 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_RECENT_TITLE_LIMIT' => 'Maximal angezeigte Länge der neuesten Themen',
|
'PORTAL_RECENT_TITLE_LIMIT' => 'Maximal angezeigte Länge der neuesten Themen',
|
||||||
'PORTAL_RECENT_TITLE_LIMIT_EXP' => '0 bedeutet unbegrenzt',
|
'PORTAL_RECENT_TITLE_LIMIT_EXP' => '0 bedeutet unbegrenzt',
|
||||||
'PORTAL_RECENT_FORUM' => 'Themen Foren',
|
'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 aussschließen" auf "Ja" steht, wähle die Foren die du ausschließen willst.<br />Falls "Foren aussschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
'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ähle die Foren die du ausschließen willst.<br />Falls "Foren ausschließen" auf "Nein" steht, wähle die Foren die du sehen willst.<br />Wähle mehrere Foren aus/ab, indem du beim Klicken die <samp>Strg</samp>-Taste drückst.',
|
||||||
'PORTAL_EXCLUDE_FORUM' => 'Foren aussschließen',
|
'PORTAL_EXCLUDE_FORUM' => 'Foren ausschließen',
|
||||||
'PORTAL_EXCLUDE_FORUM_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Aktuelle Themen-Block ausschließen willst, und "Nein" wenn du nur die Themen aus den ausgewählten Foren im Aktuelle Themen-Block sehen willst.',
|
'PORTAL_EXCLUDE_FORUM_EXP' => 'Wähle "Ja" wenn du die ausgewählten Foren vom Aktuelle Themen-Block ausschließen willst, und "Nein" wenn du nur die Themen aus den ausgewählten Foren im Aktuelle Themen-Block sehen willst.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Search
|
* @package Board3 Portal v2.1 - Search
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Statistics
|
* @package Board3 Portal v2.1 - Statistics
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Stylechanger
|
* @package Board3 Portal v2.1 - Stylechanger
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Topposters
|
* @package Board3 Portal v2.1 - Topposters
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -34,5 +34,8 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'TOPPOSTERS' => 'Top Poster',
|
'TOPPOSTERS' => 'Top Poster',
|
||||||
'TOPPOSTERS_CONFIG' => 'Einstellungen zu Top Poster',
|
'TOPPOSTERS_CONFIG' => 'Einstellungen zu Top Poster',
|
||||||
|
|
||||||
|
// ACP
|
||||||
'NUM_TOPPOSTERS' => 'Anzahl der Top Poster',
|
'NUM_TOPPOSTERS' => 'Anzahl der Top Poster',
|
||||||
|
'NUM_TOPPOSTERS_EXP' => 'Gebe die Anzahl der Benutzer an, die im Top Poster Block angezeigt werden sollen.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - User Menu
|
* @package Board3 Portal v2.1 - User Menu
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Welcome
|
* @package Board3 Portal v2.1 - Welcome
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'PORTAL_WELCOME' => 'Willkommen',
|
'PORTAL_WELCOME' => 'Willkommen',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_WELCOME_SETTINGS' => 'Einstellungen für die Willkommens-Nachricht',
|
'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_MESSAGE_SHORT' => 'Die eingegebene Nachricht ist nicht lang genug.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Who is online
|
* @package Board3 Portal v2.1 - Who is online
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2
|
* @package Board3 Portal v2.1
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2
|
* @package Board3 Portal v2.1
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2014 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -35,9 +35,8 @@ if (empty($lang) || !is_array($lang))
|
|||||||
|
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
// Portal Module
|
// Portal Module
|
||||||
'ACP_PORTAL_MODULES' => 'Portal Module',
|
|
||||||
'ACP_PORTAL_MODULES_EXP' => 'Du kannst deine Portal Module hier verwalten. Falls du alle Module deaktivierst, dann deaktiviere bitte auch das Portal.',
|
'ACP_PORTAL_MODULES_EXP' => 'Du kannst deine Portal Module hier verwalten. Falls du alle Module deaktivierst, dann deaktiviere bitte auch das Portal.',
|
||||||
|
|
||||||
'MODULE_POS_TOP' => 'Oben',
|
'MODULE_POS_TOP' => 'Oben',
|
||||||
'MODULE_POS_LEFT' => 'Linke Spalte',
|
'MODULE_POS_LEFT' => 'Linke Spalte',
|
||||||
'MODULE_POS_RIGHT' => 'Rechte Spalte',
|
'MODULE_POS_RIGHT' => 'Rechte Spalte',
|
||||||
@@ -53,15 +52,17 @@ $lang = array_merge($lang, array(
|
|||||||
'MOVE_LEFT' => 'Nach links',
|
'MOVE_LEFT' => 'Nach links',
|
||||||
'B3P_FILE_NOT_FOUND' => 'Die angegebene Datei konnte nicht gefunden werden',
|
'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' => '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' => 'Bist du sicher, dass du das Modul "%1$s" löschen möchtest?',
|
'DELETE_MODULE_CONFIRM' => 'Bist du sicher, dass du das Modul "%1$s" löschen möchtest?',
|
||||||
'MODULE_RESET_SUCCESS' => 'Modul Einstellungen erfolgreich zurückgesetzt.',
|
'MODULE_RESET_SUCCESS' => 'Modul Einstellungen erfolgreich zurückgesetzt.',
|
||||||
'MODULE_RESET_CONFIRM' => 'Bist du sicher, dass du die Einstellungen des Moduls "%1$s" zurücksetzen willst?',
|
'MODULE_RESET_CONFIRM' => 'Bist du sicher, dass du die Einstellungen des Moduls "%1$s" zurücksetzen willst?',
|
||||||
|
'MODULE_NOT_EXISTS' => 'Das gewählte Modul existiert nicht.',
|
||||||
|
|
||||||
'MODULE_OPTIONS' => 'Modul Optionen',
|
'MODULE_OPTIONS' => 'Modul Optionen',
|
||||||
'MODULE_NAME' => 'Modul Name',
|
'MODULE_NAME' => 'Modul Name',
|
||||||
'MODULE_NAME_EXP' => 'Gebe den Namen ein der für das Modul in der Modul Konfiguration angezeigt werden soll.',
|
'MODULE_NAME_EXP' => 'Gebe den Namen ein der für das Modul in der Modul Konfiguration angezeigt werden soll.',
|
||||||
'MODULE_IMAGE' => 'Modul Bild',
|
'MODULE_IMAGE' => 'Modul Bild',
|
||||||
'MODULE_IMAGE_EXP' => 'Gebe den Dateinamen des Modul Bildes ein. Das Bild muss sich in allen styles/*yourstyle*/theme/images/portal/ Ordnern befinden.',
|
'MODULE_IMAGE_EXP' => 'Gebe 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' => 'Modul Berechtigungen',
|
||||||
'MODULE_PERMISSIONS_EXP' => 'Wähle die Gruppen aus, die berechtigt sein sollen, das Modul zu sehen. Sollen alle Benutzer das Modul sehen können, wähle nichts aus.<br />An- / abwählen mehrerer Gruppen indem man <samp>Strg</samp> gedrückt hält und klickt.',
|
'MODULE_PERMISSIONS_EXP' => 'Wähle die Gruppen aus, die berechtigt sein sollen, das Modul zu sehen. Sollen alle Benutzer das Modul sehen können, wähle 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' => 'Modul Bild Breite',
|
||||||
@@ -72,10 +73,10 @@ $lang = array_merge($lang, array(
|
|||||||
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!',
|
'MODULE_RESET_EXP' => 'Dies wird alle Einstellungen des Moduls auf die Standardeinstellungen zurücksetzen!',
|
||||||
'MODULE_STATUS' => 'Aktiviere Modul',
|
'MODULE_STATUS' => 'Aktiviere Modul',
|
||||||
'MODULE_ADD_ONCE' => 'Diese Modul kann nur ein Mal hinzugefügt werden.',
|
'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
|
// general
|
||||||
'ACP_PORTAL' => 'Portal',
|
|
||||||
'ACP_PORTAL_GENERAL_INFO' => 'Allgemeine Einstellungen',
|
|
||||||
'ACP_PORTAL_CONFIG_INFO' => 'Allgemeine Einstellungen',
|
'ACP_PORTAL_CONFIG_INFO' => 'Allgemeine Einstellungen',
|
||||||
'ACP_PORTAL_GENERAL_TITLE' => 'Portal Verwaltung',
|
'ACP_PORTAL_GENERAL_TITLE' => 'Portal Verwaltung',
|
||||||
'ACP_PORTAL_GENERAL_TITLE_EXP' => 'Danke, dass du dich für board3 Portal entschieden hast. Auf dieser Seite kannst du dein Portal verwalten. Diese Anzeige gibt dir einen schnellen Überblick über die verschiedenen Portal-Einstellungen.',
|
'ACP_PORTAL_GENERAL_TITLE_EXP' => 'Danke, dass du dich für board3 Portal entschieden hast. Auf dieser Seite kannst du dein Portal verwalten. Diese Anzeige gibt dir einen schnellen Überblick über die verschiedenen Portal-Einstellungen.',
|
||||||
@@ -86,31 +87,23 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_RIGHT_COLUMN' => 'Rechte Spalte aktivieren',
|
'PORTAL_RIGHT_COLUMN' => 'Rechte Spalte aktivieren',
|
||||||
'PORTAL_RIGHT_COLUMN_EXP' => 'Die Rechte Spalte auf dem Portal anzeigen',
|
'PORTAL_RIGHT_COLUMN_EXP' => 'Die Rechte Spalte auf dem Portal anzeigen',
|
||||||
'PORTAL_VERSION_CHECK' => 'Versioncheck auf Portal',
|
'PORTAL_VERSION_CHECK' => 'Versioncheck auf Portal',
|
||||||
'PORTAL_FORUM_INDEX' => 'Foren Index (Foren Liste)',
|
|
||||||
'PORTAL_FORUM_INDEX_EXP' => 'Diesen Block auf dem Portal anzeigen.',
|
|
||||||
'ACP_PORTAL_COLUMN_WIDTH_SETTINGS' => 'Breiteneinstellung der rechten und linken Spalte',
|
'ACP_PORTAL_COLUMN_WIDTH_SETTINGS' => 'Breiteneinstellung der rechten und linken Spalte',
|
||||||
'PORTAL_LEFT_COLUMN_WIDTH' => 'Breite der linken Spalte',
|
'PORTAL_LEFT_COLUMN_WIDTH' => 'Breite der linken Spalte',
|
||||||
'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Ändere hier die Breite der linken Spalte in Pixel, empfohlener Wert 180',
|
'PORTAL_LEFT_COLUMN_WIDTH_EXP' => 'Ändere hier die Breite der linken Spalte in Pixel, empfohlener Wert 180',
|
||||||
'PORTAL_RIGHT_COLUMN_WIDTH' => 'Breite der rechten Spalte',
|
'PORTAL_RIGHT_COLUMN_WIDTH' => 'Breite der rechten Spalte',
|
||||||
'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Ändere hier die Breite der rechten Spalte in Pixel, empfohlener Wert 180',
|
'PORTAL_RIGHT_COLUMN_WIDTH_EXP' => 'Ändere hier die Breite der rechten Spalte in Pixel, empfohlener Wert 180',
|
||||||
'PORTAL_PHPBB_MENU' => 'phpBB-Menü',
|
|
||||||
'PORTAL_PHPBB_MENU_EXP' => 'Den phpBB Header auf dem Portal anzeigen.',
|
|
||||||
'PORTAL_DISPLAY_JUMPBOX' => 'Zeige Jumpbox',
|
'PORTAL_DISPLAY_JUMPBOX' => 'Zeige Jumpbox',
|
||||||
'PORTAL_DISPLAY_JUMPBOX_EXP' => 'Die Jumpbox auf dem Portal anzeigen',
|
'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.',
|
||||||
|
|
||||||
'LINK_ADDED' => 'Der Link wurde erfolgreich eingetragen',
|
'LINK_ADDED' => 'Der Link wurde erfolgreich eingetragen',
|
||||||
'LINK_UPDATED' => 'Der Link wurde erfolgreich geändert',
|
'LINK_UPDATED' => 'Der Link wurde erfolgreich geändert',
|
||||||
'LOG_PORTAL_LINK_ADDED' => '<strong>Portal-Einstellungen geändert</strong><br />» Link hinzu gefügt: %s ',
|
|
||||||
'LOG_PORTAL_LINK_UPDATED' => '<strong>Portal-Einstellungen geändert</strong><br />» Link geändert: %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 ',
|
|
||||||
|
|
||||||
// Upload Module
|
// Upload Module
|
||||||
'ACP_PORTAL_UPLOAD' => 'Modul hochladen',
|
|
||||||
'MODULE_UPLOAD' => 'Lade ein Modul hoch',
|
'MODULE_UPLOAD' => 'Lade ein Modul hoch',
|
||||||
'MODULE_UPLOAD_EXP' => 'Wähle die ZIP-Datei des Moduls das du hochladen willst:',
|
'MODULE_UPLOAD_EXP' => 'Wähle die ZIP-Datei des Moduls das du hochladen willst:',
|
||||||
'MODULE_UPLOAD_GO' => 'Hochladen',
|
'MODULE_UPLOAD_GO' => 'Hochladen',
|
||||||
'NO_MODULE_UPLOAD' => 'Deine Server-Konfiguration erlaubt das Hochladen von Dateien nicht.',
|
'NO_MODULE_UPLOAD' => 'Deine Server-Konfiguration erlaubt das Hochladen von Dateien nicht.',
|
||||||
|
'NO_FILE_B3P' => 'Es wurde keine Zip-Datei ausgewählt.',
|
||||||
'MODULE_UPLOADED' => 'Modul erfolgreich hochgeladen.',
|
'MODULE_UPLOADED' => 'Modul erfolgreich hochgeladen.',
|
||||||
'MODULE_UPLOAD_MKDIR_FAILURE' => 'Es konnte kein Ordner erstellt werden.',
|
'MODULE_UPLOAD_MKDIR_FAILURE' => 'Es konnte kein Ordner erstellt werden.',
|
||||||
'MODULE_COPY_FAILURE' => 'Die folgende Datei konnte nicht kopiert werden: %1$s',
|
'MODULE_COPY_FAILURE' => 'Die folgende Datei konnte nicht kopiert werden: %1$s',
|
||||||
@@ -121,15 +114,11 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_MODULE_STATUS' => 'Status',
|
'PORTAL_MODULE_STATUS' => 'Status',
|
||||||
'PORTAL_MODULE_SUCCESS' => 'Erfolgreich kopiert.',
|
'PORTAL_MODULE_SUCCESS' => 'Erfolgreich kopiert.',
|
||||||
'PORTAL_MODULE_ERROR' => 'Datei exisitert schon oder konnte nicht kopiert werden.',
|
'PORTAL_MODULE_ERROR' => 'Datei exisitert schon oder konnte nicht kopiert werden.',
|
||||||
|
|
||||||
// Install
|
// Install
|
||||||
'PORTAL_BASIC_INSTALL' => 'Füge Basismodule hinzu',
|
'PORTAL_BASIC_INSTALL' => 'Füge Basismodule hinzu',
|
||||||
'PORTAL_BASIC_UNINSTALL' => 'Entferne Module von Datenbank',
|
'PORTAL_BASIC_UNINSTALL' => 'Entferne Module von Datenbank',
|
||||||
'PORTAL_CONVERT_SUCCESS' => 'Konvertiere von Board3 Portal 1.0.6 & füge Basismodule hinzu',
|
|
||||||
|
|
||||||
// Logs
|
|
||||||
'LOG_PORTAL_CONFIG' => '<strong>Portal-Einstellungen geändert</strong><br />» %s',
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A copy of Handyman` s MOD version check, to view it on the gallery overview
|
* A copy of Handyman` s MOD version check, to view it on the gallery overview
|
||||||
*/
|
*/
|
||||||
@@ -141,10 +130,5 @@ $lang = array_merge($lang, array(
|
|||||||
'NOT_UP_TO_DATE' => '%s ist nicht aktuell',
|
'NOT_UP_TO_DATE' => '%s ist nicht aktuell',
|
||||||
'RELEASE_ANNOUNCEMENT' => 'Ankündigungsthema',
|
'RELEASE_ANNOUNCEMENT' => 'Ankündigungsthema',
|
||||||
'UP_TO_DATE' => '%s ist aktuell',
|
'UP_TO_DATE' => '%s ist aktuell',
|
||||||
'VERSION_CHECK' => 'MOD Version Check',
|
'VERSION_CHECK' => 'Extension Version Check',
|
||||||
|
|
||||||
// Adding the permissions
|
|
||||||
'acl_a_manage_portal' => array('lang' => 'Kann Portal-Einstellungen ändern', 'cat' => 'misc'),
|
|
||||||
'acl_u_view_portal' => array('lang' => 'Kann das Portal sehen', 'cat' => 'misc'),
|
|
||||||
|
|
||||||
));
|
));
|
||||||
53
language/en/info_acp_portal.php
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
<?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 Modules',
|
||||||
|
'ACP_PORTAL' => 'Portal',
|
||||||
|
'ACP_PORTAL_GENERAL_INFO' => 'General settings',
|
||||||
|
'ACP_PORTAL_UPLOAD' => 'Upload module',
|
||||||
|
|
||||||
|
// Portal logs
|
||||||
|
'LOG_PORTAL_LINK_ADDED' => '<strong>Altered Portal settings</strong><br />» Link added: %s ',
|
||||||
|
'LOG_PORTAL_LINK_UPDATED' => '<strong>Altered Portal settings</strong><br />» Link updated: %s ',
|
||||||
|
'LOG_PORTAL_LINK_REMOVED' => '<strong>Altered Portal settings</strong><br />» Link removed: %s ',
|
||||||
|
'LOG_PORTAL_EVENT_ADDED' => '<strong>Altered Portal settings</strong><br />» Event added: %s ',
|
||||||
|
'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',
|
||||||
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Announcements
|
* @package Board3 Portal v2.1 - Announcements
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -47,7 +47,7 @@ $lang = array_merge($lang, array(
|
|||||||
'JUMP_NEWEST' => 'Jump to newest post',
|
'JUMP_NEWEST' => 'Jump to newest post',
|
||||||
'JUMP_FIRST' => 'Jump to first post',
|
'JUMP_FIRST' => 'Jump to first post',
|
||||||
'JUMP_TO_POST' => 'Jump to post',
|
'JUMP_TO_POST' => 'Jump to post',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Global announcements settings',
|
'ACP_PORTAL_ANNOUNCE_SETTINGS' => 'Global announcements settings',
|
||||||
'ACP_PORTAL_ANNOUNCE_SETTINGS_EXP' => 'This is where you customize the global announcements block.',
|
'ACP_PORTAL_ANNOUNCE_SETTINGS_EXP' => 'This is where you customize the global announcements block.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Attachments
|
* @package Board3 Portal v2.1 - Attachments
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -34,12 +34,11 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'DOWNLOADS' => 'Downloads',
|
'DOWNLOADS' => 'Downloads',
|
||||||
'NO_ATTACHMENTS' => 'No attachments',
|
'NO_ATTACHMENTS' => 'No attachments',
|
||||||
'PORTAL_ATTACHMENTS' => 'Attachments Block',
|
'PORTAL_ATTACHMENTS' => 'Attachments',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS' => 'Attachments settings',
|
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS' => 'Attachments settings',
|
||||||
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS_EXP' => 'This is where you customize the attachments block.',
|
'ACP_PORTAL_ATTACHMENTS_NUMBER_SETTINGS_EXP' => 'This is where you customize the attachments block.',
|
||||||
'PORTAL_ATTACHMENTS_EXP' => 'Display this block on the portal.',
|
|
||||||
'PORTAL_ATTACHMENTS_NUMBER' => 'Limit of displayed attachments',
|
'PORTAL_ATTACHMENTS_NUMBER' => 'Limit of displayed attachments',
|
||||||
'PORTAL_ATTACHMENTS_NUMBER_EXP' => '0 means infinite',
|
'PORTAL_ATTACHMENTS_NUMBER_EXP' => '0 means infinite',
|
||||||
'PORTAL_ATTACHMENTS_FORUM_IDS' => 'Attachments forums',
|
'PORTAL_ATTACHMENTS_FORUM_IDS' => 'Attachments forums',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Birthday List
|
* @package Board3 Portal v2.1 - Birthday List
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -34,12 +34,11 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'BIRTHDAYS_AHEAD' => 'In the next %s days',
|
'BIRTHDAYS_AHEAD' => 'In the next %s days',
|
||||||
'NO_BIRTHDAYS_AHEAD' => 'No members have a birthday within this period of time.',
|
'NO_BIRTHDAYS_AHEAD' => 'No members have a birthday within this period of time.',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_BIRTHDAYS_SETTINGS' => 'Birthdays Settings',
|
'ACP_PORTAL_BIRTHDAYS_SETTINGS' => 'Birthdays Settings',
|
||||||
'ACP_PORTAL_BIRTHDAYS_SETTINGS_EXP' => 'This is where you customize the birthday block.',
|
'ACP_PORTAL_BIRTHDAYS_SETTINGS_EXP' => 'This is where you customize the birthday block.',
|
||||||
'PORTAL_BIRTHDAYS' => 'Birthday block',
|
'PORTAL_BIRTHDAYS' => 'Birthday block',
|
||||||
'PORTAL_BIRTHDAYS_EXP' => 'Display this block on the portal.',
|
|
||||||
'PORTAL_BIRTHDAYS_AHEAD' => 'Birthdays ahead days',
|
'PORTAL_BIRTHDAYS_AHEAD' => 'Birthdays ahead days',
|
||||||
'PORTAL_BIRTHDAYS_AHEAD_EXP' => 'How many days to look ahead for future birthdays.<br />"0" will disable the ahead birthdays list.',
|
'PORTAL_BIRTHDAYS_AHEAD_EXP' => 'How many days to look ahead for future birthdays.<br />"0" will disable the ahead birthdays list.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Calendar
|
* @package Board3 Portal v2.1 - Calendar
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -85,7 +85,7 @@ $lang = array_merge($lang, array(
|
|||||||
'12'=> 'December',
|
'12'=> 'December',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_CALENDAR' => 'Calendar settings',
|
'ACP_PORTAL_CALENDAR' => 'Calendar settings',
|
||||||
'ACP_PORTAL_CALENDAR_EXP' => 'This is where you customize the calendar block.',
|
'ACP_PORTAL_CALENDAR_EXP' => 'This is where you customize the calendar block.',
|
||||||
@@ -115,20 +115,15 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_CALENDAR_START_INCORRECT' => 'The start time you entered was incorrect. Please follow the instructions carefully.',
|
'ACP_PORTAL_CALENDAR_START_INCORRECT' => 'The start time you entered was incorrect. Please follow the instructions carefully.',
|
||||||
'ACP_PORTAL_CALENDAR_END_INCORRECT' => 'The end time you entered was incorrect. Please follow the instructions carefully.',
|
'ACP_PORTAL_CALENDAR_END_INCORRECT' => 'The end time you entered was incorrect. Please follow the instructions carefully.',
|
||||||
'ACP_PORTAL_CALENDAR_EVENT_PAST' => 'The event start time needs to be in the future.',
|
'ACP_PORTAL_CALENDAR_EVENT_PAST' => 'The event start time needs to be in the future.',
|
||||||
'ACP_PORTAL_EVENT_START_DAY' => 'Event start date',
|
'ACP_PORTAL_EVENT_START_DATE' => 'Event start date',
|
||||||
'ACP_PORTAL_EVENT_START_DAY_EXP' => 'Enter the date when the event starts. The date has to be in this format: DD-MM-YYYY',
|
'ACP_PORTAL_EVENT_START_DATE_EXP' => 'Enter the date and time the event starts. The date has to be in a similar format: MM/DD/YYYY 3:00 PM',
|
||||||
'ACP_PORTAL_EVENT_START_TIME' => 'Event start time',
|
'ACP_PORTAL_EVENT_END_DATE' => 'Event end date',
|
||||||
'ACP_PORTAL_EVENT_START_TIME_EXP' => 'Enter the time when the event starts. The time has to be in a 24 hour format, i.e. 23:12',
|
'ACP_PORTAL_EVENT_END_DATE_EXP' => 'Enter the date and time the event ends. The date has to be in a similar format: MM/DD/YYYY 3:00 PM',
|
||||||
'ACP_PORTAL_EVENT_END_DAY' => 'Event end date',
|
|
||||||
'ACP_PORTAL_EVENT_END_DAY_EXP' => 'Enter the date when the event ends. The date has to be in this format: DD-MM-YYYY',
|
|
||||||
'ACP_PORTAL_EVENT_END_TIME' => 'Event end time',
|
|
||||||
'ACP_PORTAL_EVENT_END_TIME_EXP' => 'Enter the time when the event ends. The time has to be in a 24 hour format, i.e. 23:12',
|
|
||||||
'ACP_PORTAL_CALENDAR_EVENT_START_FIRST' => 'The end of the event has to be after the start of the event.',
|
'ACP_PORTAL_CALENDAR_EVENT_START_FIRST' => 'The end of the event has to be after the start of the event.',
|
||||||
'ACP_PORTAL_CALENDAR_PERMISSION' => 'Event permissions',
|
'ACP_PORTAL_CALENDAR_PERMISSION' => 'Event permissions',
|
||||||
'ACP_PORTAL_CALENDAR_PERMISSION_EXP' => 'Select the groups that should be authorized to view the event. If you want all users to be able to view the event, don’t select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
|
'ACP_PORTAL_CALENDAR_PERMISSION_EXP' => 'Select the groups that should be authorized to view the event. If you want all users to be able to view the event, don’t select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
|
||||||
'PORTAL_EVENTS_URL_NEW_WINDOW' => 'Open external event links in a new window',
|
'PORTAL_EVENTS_URL_NEW_WINDOW' => 'Open external event links in a new window',
|
||||||
|
|
||||||
|
|
||||||
// Logs
|
// Logs
|
||||||
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Updated Event</strong><br />» %s',
|
'LOG_PORTAL_EVENT_UPDATED' => '<strong>Updated Event</strong><br />» %s',
|
||||||
'LOG_PORTAL_EVENT_ADDED' => '<strong>Added Event</strong><br />» %s',
|
'LOG_PORTAL_EVENT_ADDED' => '<strong>Added Event</strong><br />» %s',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Clock
|
* @package Board3 Portal v2.1 - Clock
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'CLOCK' => 'Clock',
|
'CLOCK' => 'Clock',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_CLOCK_SETTINGS' => 'Clock Settings',
|
'ACP_PORTAL_CLOCK_SETTINGS' => 'Clock Settings',
|
||||||
'ACP_PORTAL_CLOCK_SETTINGS_EXP' => 'This is where you customize your clock',
|
'ACP_PORTAL_CLOCK_SETTINGS_EXP' => 'This is where you customize your clock',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Custom
|
* @package Board3 Portal v2.1 - Custom
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'PORTAL_CUSTOM' => 'Custom Block',
|
'PORTAL_CUSTOM' => 'Custom Block',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom Block Settings',
|
'ACP_PORTAL_CUSTOM_SETTINGS' => 'Custom Block Settings',
|
||||||
'ACP_PORTAL_CUSTOM_SETTINGS_EXP' => 'Here you can edit your custom block',
|
'ACP_PORTAL_CUSTOM_SETTINGS_EXP' => 'Here you can edit your custom block',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Donation
|
* @package Board3 Portal v2.1 - Donation
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -55,14 +55,11 @@ $lang = array_merge($lang, array(
|
|||||||
'EUR' => 'Euros (EUR)',
|
'EUR' => 'Euros (EUR)',
|
||||||
'MXN' => 'Mexican Pesos (MXN)',
|
'MXN' => 'Mexican Pesos (MXN)',
|
||||||
'ILS' => 'Israeli New Shekels (ILS)',
|
'ILS' => 'Israeli New Shekels (ILS)',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_PAYPAL_SETTINGS' => 'Paypal settings',
|
'ACP_PORTAL_PAYPAL_SETTINGS' => 'Paypal settings',
|
||||||
'ACP_PORTAL_PAYPAL_SETTINGS_EXPLAIN' => 'This is where you customize the Paypal block.',
|
'ACP_PORTAL_PAYPAL_SETTINGS_EXP' => 'This is where you customize the Paypal block.',
|
||||||
'PORTAL_PAY_C_BLOCK' => 'Display paypal center block',
|
|
||||||
'PORTAL_PAY_C_BLOCK_EXPLAIN' => 'Display this block on the portal.',
|
|
||||||
'PORTAL_PAY_S_BLOCK' => 'Display paypal small block',
|
|
||||||
'PORTAL_PAY_S_BLOCK_EXPLAIN' => 'Display this block on the portal.',
|
|
||||||
'PORTAL_PAY_ACC' => 'Paypal account to use',
|
'PORTAL_PAY_ACC' => 'Paypal account to use',
|
||||||
'PORTAL_PAY_ACC_EXPLAIN' => 'Enter your Paypal e-mail address eg. xxx@xxx.com',
|
'PORTAL_PAY_ACC_EXP' => 'Enter your Paypal e-mail address eg. xxx@xxx.com',
|
||||||
|
'PORTAL_PAY_CUSTOM' => 'Append username to Paypal donation',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Forumlist
|
* @package Board3 Portal v2.1 - Forumlist
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Friends
|
* @package Board3 Portal v2.1 - Friends
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ $lang = array_merge($lang, array(
|
|||||||
'NO_FRIENDS' => 'No friends currently defined',
|
'NO_FRIENDS' => 'No friends currently defined',
|
||||||
'NO_FRIENDS_OFFLINE' => 'No friends offline',
|
'NO_FRIENDS_OFFLINE' => 'No friends offline',
|
||||||
'NO_FRIENDS_ONLINE' => 'No friends online',
|
'NO_FRIENDS_ONLINE' => 'No friends online',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_FRIENDS_SETTINGS' => 'Friends Settings',
|
'ACP_PORTAL_FRIENDS_SETTINGS' => 'Friends Settings',
|
||||||
'ACP_PORTAL_FRIENDS_SETTINGS_EXP' => 'This is where you customize the friends block.',
|
'ACP_PORTAL_FRIENDS_SETTINGS_EXP' => 'This is where you customize the friends block.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Latest Bots
|
* @package Board3 Portal v2.1 - Latest Bots
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -34,9 +34,7 @@ if (empty($lang) || !is_array($lang))
|
|||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'LATEST_BOTS' => 'Latest Bots',
|
'LATEST_BOTS' => 'Latest Bots',
|
||||||
'LAST_VISITED_BOTS' => 'Last visited bots',
|
'LAST_VISITED_BOTS' => 'Last visited bots',
|
||||||
'LAST_VISITED_BOTS_CNT' => 'Last %s visited bots',
|
|
||||||
'LAST_VISITED_BOT' => 'Last visited bot',
|
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_BOTS_SETTINGS' => 'Visiting bots settings',
|
'ACP_PORTAL_BOTS_SETTINGS' => 'Visiting bots settings',
|
||||||
'ACP_PORTAL_BOTS_SETTINGS_EXP' => 'This is where you customize the visiting bots block.',
|
'ACP_PORTAL_BOTS_SETTINGS_EXP' => 'This is where you customize the visiting bots block.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Latest Members
|
* @package Board3 Portal v2.1 - Latest Members
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'LATEST_MEMBERS' => 'Newest members',
|
'LATEST_MEMBERS' => 'Newest members',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_MEMBERS_SETTINGS' => 'Newest members settings',
|
'ACP_PORTAL_MEMBERS_SETTINGS' => 'Newest members settings',
|
||||||
'ACP_PORTAL_MEMBERS_SETTINGS_EXP' => 'This is where you customize the newest members block.',
|
'ACP_PORTAL_MEMBERS_SETTINGS_EXP' => 'This is where you customize the newest members block.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Leaders
|
* @package Board3 Portal v2.1 - Leaders
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ $lang = array_merge($lang, array(
|
|||||||
'NO_MODERATORS_P' => 'No Moderators',
|
'NO_MODERATORS_P' => 'No Moderators',
|
||||||
'NO_GROUPS_P' => 'No Groups',
|
'NO_GROUPS_P' => 'No Groups',
|
||||||
'ACP_PORTAL_LEADERS' => 'The Team',
|
'ACP_PORTAL_LEADERS' => 'The Team',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_LEADERS' => 'Team Settings',
|
'ACP_PORTAL_LEADERS' => 'Team Settings',
|
||||||
'ACP_PORTAL_LEADERS_EXP' => 'This is where you customize the team block',
|
'ACP_PORTAL_LEADERS_EXP' => 'This is where you customize the team block',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Link Us
|
* @package Board3 Portal v2.1 - Link Us
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Links
|
* @package Board3 Portal v2.1 - Links
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -33,8 +33,8 @@ 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
|
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
'PORTAL_LINKS' => 'Links',
|
'PORTAL_LINKS' => 'Links',
|
||||||
'LINKS_NO_LINKS' => 'No links',
|
'LINKS_NO_LINKS' => 'No links',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_LINKS' => 'Link Settings',
|
'ACP_PORTAL_LINKS' => 'Link Settings',
|
||||||
'ACP_PORTAL_LINKS_EXP' => 'Customize the links listed in the links block',
|
'ACP_PORTAL_LINKS_EXP' => 'Customize the links listed in the links block',
|
||||||
@@ -49,4 +49,8 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_LINK_PERMISSION' => 'Link permissions',
|
'ACP_PORTAL_LINK_PERMISSION' => 'Link permissions',
|
||||||
'ACP_PORTAL_LINK_PERMISSION_EXP'=> 'Select the groups that should be authorized to view the link. If you want all users to be able to view the link, don’t select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
|
'ACP_PORTAL_LINK_PERMISSION_EXP'=> 'Select the groups that should be authorized to view the link. If you want all users to be able to view the link, don’t select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
|
||||||
'ACP_PORTAL_LINKS_NEW_WINDOW' => 'Open external links in a new window',
|
'ACP_PORTAL_LINKS_NEW_WINDOW' => 'Open external links in a new window',
|
||||||
|
|
||||||
|
// Errors
|
||||||
|
'NO_LINK_TITLE' => 'You must enter a title for this link.',
|
||||||
|
'NO_LINK_URL' => 'You must enter a link URL.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Main Menu
|
* @package Board3 Portal v2.1 - Main Menu
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -40,8 +40,8 @@ $lang = array_merge($lang, array(
|
|||||||
'M_TERMS' => 'Terms of use',
|
'M_TERMS' => 'Terms of use',
|
||||||
'M_PRV' => 'Privacy policy',
|
'M_PRV' => 'Privacy policy',
|
||||||
'M_SEARCH' => 'Search',
|
'M_SEARCH' => 'Search',
|
||||||
'MENU_NO_LINKS' => 'No links',
|
'MENU_NO_LINKS' => 'No links',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_MENU' => 'Menu settings',
|
'ACP_PORTAL_MENU' => 'Menu settings',
|
||||||
'ACP_PORTAL_MENU_LINK_SETTINGS' => 'Link Settings',
|
'ACP_PORTAL_MENU_LINK_SETTINGS' => 'Link Settings',
|
||||||
@@ -62,4 +62,8 @@ $lang = array_merge($lang, array(
|
|||||||
'ACP_PORTAL_MENU_PERMISSION' => 'Link permissions',
|
'ACP_PORTAL_MENU_PERMISSION' => 'Link permissions',
|
||||||
'ACP_PORTAL_MENU_PERMISSION_EXP'=> 'Select the groups that should be authorized to view the link. If you want all users to be able to view the link, don’t select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
|
'ACP_PORTAL_MENU_PERMISSION_EXP'=> 'Select the groups that should be authorized to view the link. If you want all users to be able to view the link, don’t select anything.<br />Select/Deselect multiple groups by holding <samp>CTRL</samp> and clicking.',
|
||||||
'ACP_PORTAL_MENU_EXT_NEW_WINDOW'=> 'Open external links in a new window',
|
'ACP_PORTAL_MENU_EXT_NEW_WINDOW'=> 'Open external links in a new window',
|
||||||
|
|
||||||
|
// Errors
|
||||||
|
'NO_LINK_TITLE' => 'You must enter a title for this link.',
|
||||||
|
'NO_LINK_URL' => 'You must enter a link URL.',
|
||||||
));
|
));
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - News
|
* @package Board3 Portal v2.1 - News
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -43,8 +43,7 @@ $lang = array_merge($lang, array(
|
|||||||
'JUMP_NEWEST' => 'Jump to newest post',
|
'JUMP_NEWEST' => 'Jump to newest post',
|
||||||
'JUMP_FIRST' => 'Jump to first post',
|
'JUMP_FIRST' => 'Jump to first post',
|
||||||
'JUMP_TO_POST' => 'Jump to post',
|
'JUMP_TO_POST' => 'Jump to post',
|
||||||
'BACK' => 'Back',
|
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_NEWS_SETTINGS' => 'News settings',
|
'ACP_PORTAL_NEWS_SETTINGS' => 'News settings',
|
||||||
'ACP_PORTAL_NEWS_SETTINGS_EXP' => 'This is where you customize the news block.',
|
'ACP_PORTAL_NEWS_SETTINGS_EXP' => 'This is where you customize the news block.',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Poll
|
* @package Board3 Portal v2.1 - Poll
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -37,12 +37,10 @@ $lang = array_merge($lang, array(
|
|||||||
'NO_OPTIONS' => 'This poll has no available options.',
|
'NO_OPTIONS' => 'This poll has no available options.',
|
||||||
'NO_POLL' => 'No polls available',
|
'NO_POLL' => 'No polls available',
|
||||||
'RETURN_PORTAL' => '%sReturn to the portal%s',
|
'RETURN_PORTAL' => '%sReturn to the portal%s',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_POLLS_SETTINGS' => 'Poll settings',
|
'ACP_PORTAL_POLLS_SETTINGS' => 'Poll settings',
|
||||||
'ACP_PORTAL_POLLS_SETTINGS_EXP' => 'This is where you customize the poll block.',
|
'ACP_PORTAL_POLLS_SETTINGS_EXP' => 'This is where you customize the poll block.',
|
||||||
'PORTAL_POLL_TOPIC' => 'Display poll blocks',
|
|
||||||
'PORTAL_POLL_TOPIC_EXP' => 'Display this block on the portal.',
|
|
||||||
'PORTAL_POLL_TOPIC_ID' => 'Poll forum(s)',
|
'PORTAL_POLL_TOPIC_ID' => 'Poll forum(s)',
|
||||||
'PORTAL_POLL_TOPIC_ID_EXP' => 'The forum(s) from which the polls should be displayed. If "Exclude forums" is set to "Yes", select the forums you want to exclude.<br />If "Exclude forums" is set to "No" select the forums you want to see.<br />Select/Deselect multiple forums by holding <samp>CTRL</samp> and clicking.',
|
'PORTAL_POLL_TOPIC_ID_EXP' => 'The forum(s) from which the polls should be displayed. If "Exclude forums" is set to "Yes", select the forums you want to exclude.<br />If "Exclude forums" is set to "No" select the forums you want to see.<br />Select/Deselect multiple forums by holding <samp>CTRL</samp> and clicking.',
|
||||||
'PORTAL_POLL_EXCLUDE_ID' => 'Exclude Forums',
|
'PORTAL_POLL_EXCLUDE_ID' => 'Exclude Forums',
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Random Member
|
* @package Board3 Portal v2.1 - Random Member
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
<?php
|
<?php
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @package Board3 Portal v2 - Recent
|
* @package Board3 Portal v2.1 - Recent
|
||||||
* @copyright (c) Board3 Group ( www.board3.de )
|
* @copyright (c) 2013 Board3 Group ( www.board3.de )
|
||||||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ $lang = array_merge($lang, array(
|
|||||||
'PORTAL_RECENT_TOPIC' => 'Recent topics',
|
'PORTAL_RECENT_TOPIC' => 'Recent topics',
|
||||||
'PORTAL_RECENT_ANN' => 'Recent announcements',
|
'PORTAL_RECENT_ANN' => 'Recent announcements',
|
||||||
'PORTAL_RECENT_HOT_TOPIC' => 'Recent popular topics',
|
'PORTAL_RECENT_HOT_TOPIC' => 'Recent popular topics',
|
||||||
|
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_PORTAL_RECENT_SETTINGS' => 'Recent topics settings',
|
'ACP_PORTAL_RECENT_SETTINGS' => 'Recent topics settings',
|
||||||
'ACP_PORTAL_RECENT_SETTINGS_EXP' => 'This is where you customize the recent topics block.',
|
'ACP_PORTAL_RECENT_SETTINGS_EXP' => 'This is where you customize the recent topics block.',
|
||||||