mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
MDL-71532 tool_brickfield: Removing tabs and unneeded files.
This commit is contained in:
parent
4e01410b9f
commit
96fc86a7a3
8 changed files with 61 additions and 407 deletions
|
@ -1,11 +1,11 @@
|
||||||
PLEASE NOTE:
|
PLEASE NOTE:
|
||||||
|
|
||||||
There are included libraries in the directory quail/common/services which might have different (but compatible) licenses than the one covered in this file. Current licenses include:
|
There are included libraries in the directory quail/common/services which might have different (but compatible) licenses than the one covered in this file. Current licenses include:
|
||||||
*The current BSD:
|
*The current BSD:
|
||||||
*services/readability/php-text-statistics
|
*services/readability/php-text-statistics
|
||||||
*The MIT License:
|
*The MIT License:
|
||||||
*common/css.php The function parseSelector is from the PHPQuery project:
|
*common/css.php The function parseSelector is from the PHPQuery project:
|
||||||
*http://code.google.com/p/phpquery
|
*http://code.google.com/p/phpquery
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
|
||||||
|
|
|
@ -1,137 +0,0 @@
|
||||||
:)
|
|
||||||
:-)
|
|
||||||
:^)
|
|
||||||
=)
|
|
||||||
B)
|
|
||||||
8)
|
|
||||||
c8
|
|
||||||
cB
|
|
||||||
=]
|
|
||||||
:]
|
|
||||||
x]
|
|
||||||
:o)
|
|
||||||
:-D
|
|
||||||
:D
|
|
||||||
=D
|
|
||||||
:-(
|
|
||||||
:(
|
|
||||||
=(
|
|
||||||
D:
|
|
||||||
D=
|
|
||||||
38*
|
|
||||||
]:8)
|
|
||||||
:(]
|
|
||||||
:@
|
|
||||||
=@
|
|
||||||
;-)
|
|
||||||
;)
|
|
||||||
*)
|
|
||||||
X(
|
|
||||||
(|)
|
|
||||||
(_|_)
|
|
||||||
(_:_)
|
|
||||||
8c
|
|
||||||
Bc
|
|
||||||
B(
|
|
||||||
|8c
|
|
||||||
|8C
|
|
||||||
:[
|
|
||||||
=[
|
|
||||||
=C
|
|
||||||
:P
|
|
||||||
:p
|
|
||||||
:Þ
|
|
||||||
:b
|
|
||||||
|D
|
|
||||||
:O
|
|
||||||
=O
|
|
||||||
:/
|
|
||||||
:-/
|
|
||||||
:-\
|
|
||||||
:\
|
|
||||||
8/
|
|
||||||
8\
|
|
||||||
>/
|
|
||||||
>\
|
|
||||||
=/
|
|
||||||
:|
|
|
||||||
:l
|
|
||||||
=|
|
|
||||||
xP
|
|
||||||
XP
|
|
||||||
xD
|
|
||||||
XD
|
|
||||||
:S
|
|
||||||
:s
|
|
||||||
^o)
|
|
||||||
=S
|
|
||||||
:3
|
|
||||||
>:3
|
|
||||||
>=3or=3
|
|
||||||
:E
|
|
||||||
=E
|
|
||||||
:F
|
|
||||||
=F
|
|
||||||
:X
|
|
||||||
:#
|
|
||||||
:-{)
|
|
||||||
:-*
|
|
||||||
>:O
|
|
||||||
XO
|
|
||||||
:-(o)
|
|
||||||
>:@
|
|
||||||
>=O
|
|
||||||
D=<
|
|
||||||
>:(
|
|
||||||
>[
|
|
||||||
D<
|
|
||||||
>:)
|
|
||||||
}:)
|
|
||||||
0:)
|
|
||||||
O=)
|
|
||||||
O=]
|
|
||||||
<3
|
|
||||||
x3♥
|
|
||||||
</3
|
|
||||||
<//3
|
|
||||||
:'(
|
|
||||||
:,(
|
|
||||||
:_(
|
|
||||||
:*(
|
|
||||||
:…(
|
|
||||||
='[
|
|
||||||
@}->--
|
|
||||||
X3
|
|
||||||
%-)
|
|
||||||
%-(
|
|
||||||
8-)
|
|
||||||
8-0
|
|
||||||
80
|
|
||||||
X-(
|
|
||||||
X[
|
|
||||||
:-&
|
|
||||||
=&
|
|
||||||
;^)
|
|
||||||
:-}
|
|
||||||
=}
|
|
||||||
=\
|
|
||||||
o____0
|
|
||||||
<:}
|
|
||||||
>:L
|
|
||||||
>=L
|
|
||||||
:9
|
|
||||||
=9
|
|
||||||
>:D
|
|
||||||
>=D
|
|
||||||
:0->-<|:
|
|
||||||
o->-<}:
|
|
||||||
})i({
|
|
||||||
(=C
|
|
||||||
V.v.V
|
|
||||||
_/\___\o/__
|
|
||||||
_/\_*\o/*__
|
|
||||||
@=:-)
|
|
||||||
<:D-|<
|
|
||||||
^_^
|
|
||||||
=^_^=
|
|
||||||
\m/(>_<)\m/
|
|
|
@ -1,200 +0,0 @@
|
||||||
bh
|
|
||||||
bi
|
|
||||||
nb
|
|
||||||
bs
|
|
||||||
br
|
|
||||||
bg
|
|
||||||
my
|
|
||||||
es
|
|
||||||
ca
|
|
||||||
km
|
|
||||||
ch
|
|
||||||
ce
|
|
||||||
ny
|
|
||||||
ny
|
|
||||||
zh
|
|
||||||
za
|
|
||||||
cu
|
|
||||||
cu
|
|
||||||
cv
|
|
||||||
kw
|
|
||||||
co
|
|
||||||
cr
|
|
||||||
hr
|
|
||||||
cs
|
|
||||||
da
|
|
||||||
dv
|
|
||||||
dv
|
|
||||||
nl
|
|
||||||
dz
|
|
||||||
en
|
|
||||||
eo
|
|
||||||
et
|
|
||||||
ee
|
|
||||||
fo
|
|
||||||
fj
|
|
||||||
fi
|
|
||||||
nl
|
|
||||||
fr
|
|
||||||
ff
|
|
||||||
gd
|
|
||||||
gl
|
|
||||||
lg
|
|
||||||
ka
|
|
||||||
de
|
|
||||||
ki
|
|
||||||
el
|
|
||||||
kl
|
|
||||||
gn
|
|
||||||
gu
|
|
||||||
ht
|
|
||||||
ht
|
|
||||||
ha
|
|
||||||
he
|
|
||||||
hz
|
|
||||||
hi
|
|
||||||
ho
|
|
||||||
hu
|
|
||||||
is
|
|
||||||
io
|
|
||||||
ig
|
|
||||||
id
|
|
||||||
ia
|
|
||||||
ie
|
|
||||||
iu
|
|
||||||
ik
|
|
||||||
ga
|
|
||||||
it
|
|
||||||
ja
|
|
||||||
jv
|
|
||||||
kl
|
|
||||||
kn
|
|
||||||
kr
|
|
||||||
ks
|
|
||||||
kk
|
|
||||||
ki
|
|
||||||
rw
|
|
||||||
ky
|
|
||||||
kv
|
|
||||||
kg
|
|
||||||
ko
|
|
||||||
kj
|
|
||||||
ku
|
|
||||||
kj
|
|
||||||
ky
|
|
||||||
lo
|
|
||||||
la
|
|
||||||
lv
|
|
||||||
lb
|
|
||||||
li
|
|
||||||
li
|
|
||||||
li
|
|
||||||
ln
|
|
||||||
lt
|
|
||||||
lu
|
|
||||||
lb
|
|
||||||
mk
|
|
||||||
mg
|
|
||||||
ms
|
|
||||||
ml
|
|
||||||
dv
|
|
||||||
mt
|
|
||||||
gv
|
|
||||||
mi
|
|
||||||
mr
|
|
||||||
mh
|
|
||||||
ro
|
|
||||||
ro
|
|
||||||
mn
|
|
||||||
na
|
|
||||||
nv
|
|
||||||
nv
|
|
||||||
nd
|
|
||||||
nr
|
|
||||||
ng
|
|
||||||
ne
|
|
||||||
nd
|
|
||||||
se
|
|
||||||
no
|
|
||||||
nb
|
|
||||||
nn
|
|
||||||
ii
|
|
||||||
ny
|
|
||||||
nn
|
|
||||||
ie
|
|
||||||
oc
|
|
||||||
oj
|
|
||||||
cu
|
|
||||||
cu
|
|
||||||
cu
|
|
||||||
or
|
|
||||||
om
|
|
||||||
os
|
|
||||||
os
|
|
||||||
pi
|
|
||||||
pa
|
|
||||||
ps
|
|
||||||
fa
|
|
||||||
pl
|
|
||||||
pt
|
|
||||||
pa
|
|
||||||
ps
|
|
||||||
qu
|
|
||||||
ro
|
|
||||||
rm
|
|
||||||
rn
|
|
||||||
ru
|
|
||||||
sm
|
|
||||||
sg
|
|
||||||
sa
|
|
||||||
sc
|
|
||||||
gd
|
|
||||||
sr
|
|
||||||
sn
|
|
||||||
ii
|
|
||||||
sd
|
|
||||||
si
|
|
||||||
si
|
|
||||||
sk
|
|
||||||
sl
|
|
||||||
so
|
|
||||||
st
|
|
||||||
nr
|
|
||||||
es
|
|
||||||
su
|
|
||||||
sw
|
|
||||||
ss
|
|
||||||
sv
|
|
||||||
tl
|
|
||||||
ty
|
|
||||||
tg
|
|
||||||
ta
|
|
||||||
tt
|
|
||||||
te
|
|
||||||
th
|
|
||||||
bo
|
|
||||||
ti
|
|
||||||
to
|
|
||||||
ts
|
|
||||||
tn
|
|
||||||
tr
|
|
||||||
tk
|
|
||||||
tw
|
|
||||||
ug
|
|
||||||
uk
|
|
||||||
ur
|
|
||||||
ug
|
|
||||||
uz
|
|
||||||
ca
|
|
||||||
ve
|
|
||||||
vi
|
|
||||||
vo
|
|
||||||
wa
|
|
||||||
cy
|
|
||||||
fy
|
|
||||||
wo
|
|
||||||
xh
|
|
||||||
yi
|
|
||||||
yo
|
|
||||||
za
|
|
||||||
zu
|
|
|
@ -1,9 +0,0 @@
|
||||||
title
|
|
||||||
untitled
|
|
||||||
untitled document
|
|
||||||
this is the title
|
|
||||||
the title
|
|
||||||
|
|
||||||
|
|
||||||
new page
|
|
||||||
new
|
|
|
@ -39,12 +39,12 @@ class img_alt_is_different_test extends all_checks {
|
||||||
private $htmlfail = <<<EOD
|
private $htmlfail = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes need to be specified - fail</title>
|
<title>Image alt attributes need to be specified - fail</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg" alt="rex.jpg">
|
<img src="rex.jpg" alt="rex.jpg">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
||||||
|
@ -52,12 +52,12 @@ EOD;
|
||||||
private $htmlpass = <<<EOD
|
private $htmlpass = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes need to be specified - fail</title>
|
<title>Image alt attributes need to be specified - fail</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg" alt="this is an image of rex">
|
<img src="rex.jpg" alt="this is an image of rex">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
||||||
|
|
|
@ -39,17 +39,17 @@ class img_alt_is_too_long_test extends all_checks {
|
||||||
private $htmlfail = <<<EOD
|
private $htmlfail = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes must not be too long</title>
|
<title>Image alt attributes must not be too long</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg" alt="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent accumsan, ante varius viverra aliquam,
|
<img src="rex.jpg" alt="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent accumsan, ante varius viverra aliquam,
|
||||||
dolor risus scelerisque massa, ut lacinia ipsum felis id est. Nullam convallis odio ante, in commodo elit fermentum sed.
|
dolor risus scelerisque massa, ut lacinia ipsum felis id est. Nullam convallis odio ante, in commodo elit fermentum sed.
|
||||||
Vivamus ullamcorper tincidunt sagittis. Sed et semper sapien. Quisque malesuada lacus nec libero cursus, aliquam malesuada
|
Vivamus ullamcorper tincidunt sagittis. Sed et semper sapien. Quisque malesuada lacus nec libero cursus, aliquam malesuada
|
||||||
neque ultricies. Cras sit amet enim vel orci tristique porttitor a vitae urna. Suspendisse mi leo, hendrerit et eleifend a,
|
neque ultricies. Cras sit amet enim vel orci tristique porttitor a vitae urna. Suspendisse mi leo, hendrerit et eleifend a,
|
||||||
mollis at ex. Maecenas eget magna nec sem dignissim pharetra vel nec ex. Donec in porta lectus. Aenean porttitor euismod
|
mollis at ex. Maecenas eget magna nec sem dignissim pharetra vel nec ex. Donec in porta lectus. Aenean porttitor euismod
|
||||||
lectus, sodales eleifend ex egestas in. Donec sed metus sodales, lobortis velit quis, dictum arcu.">
|
lectus, sodales eleifend ex egestas in. Donec sed metus sodales, lobortis velit quis, dictum arcu.">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
||||||
|
@ -57,12 +57,12 @@ EOD;
|
||||||
private $htmlpass = <<<EOD
|
private $htmlpass = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes must not be too long</title>
|
<title>Image alt attributes must not be too long</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg" alt="this is an image of rex">
|
<img src="rex.jpg" alt="this is an image of rex">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -39,12 +39,12 @@ class img_alt_not_empty_in_anchor_test extends all_checks {
|
||||||
private $htmlfail = <<<EOD
|
private $htmlfail = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Anchor tags containing a nested img tag, must not have an empty alt attribute</title>
|
<title>Anchor tags containing a nested img tag, must not have an empty alt attribute</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="http://google.com"><img src="rex.jpg" alt=""></a>
|
<a href="http://google.com"><img src="rex.jpg" alt=""></a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
||||||
|
@ -52,12 +52,12 @@ EOD;
|
||||||
private $htmlpass = <<<EOD
|
private $htmlpass = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Anchor tags containing a nested img tag, must not have an empty alt attribute</title>
|
<title>Anchor tags containing a nested img tag, must not have an empty alt attribute</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="http://google.com"><img src="rex.jpg" alt="Picture of Rex"></a>
|
<a href="http://google.com"><img src="rex.jpg" alt="Picture of Rex"></a>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -39,12 +39,12 @@ class img_has_alt_test extends all_checks {
|
||||||
private $htmlfail1 = <<<EOD
|
private $htmlfail1 = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes need to be specified - fail</title>
|
<title>Image alt attributes need to be specified - fail</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg" alt="">
|
<img src="rex.jpg" alt="">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
||||||
|
@ -52,12 +52,12 @@ EOD;
|
||||||
private $htmlfail2 = <<<EOD
|
private $htmlfail2 = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes need to be specified - fail</title>
|
<title>Image alt attributes need to be specified - fail</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg">
|
<img src="rex.jpg">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
|
|
||||||
|
@ -65,12 +65,12 @@ EOD;
|
||||||
private $htmlpass = <<<EOD
|
private $htmlpass = <<<EOD
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Image alt attributes need to be specified - fail</title>
|
<title>Image alt attributes need to be specified - fail</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<img src="rex.jpg" alt="this is an image of rex">
|
<img src="rex.jpg" alt="this is an image of rex">
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
EOD;
|
EOD;
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue