Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
3213bf08
Commit
3213bf08
authored
Jun 11, 2012
by
Anatoly Mihalchenko
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'Sankore-1.40' of github.com:Sankore/Sankore-3.1 into Sankore-1.40
parents
f5ab0d8d
6da9b414
Changes
33
Hide whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
775 additions
and
110 deletions
+775
-110
sankore_nb.ts
resources/i18n/sankore_nb.ts
+46
-36
basic.css
...rces/library/interactivities/Ass images.wgt/css/basic.css
+1
-0
script.js
...urces/library/interactivities/Ass images.wgt/js/script.js
+6
-2
script.js
...ry/interactivities/Ass images.wgt/locales/fr/js/script.js
+2
-1
script.js
...ry/interactivities/Ass images.wgt/locales/ru/js/script.js
+2
-1
script.js
...urces/library/interactivities/Cat images.wgt/js/script.js
+2
-1
script.js
...ry/interactivities/Cat images.wgt/locales/fr/js/script.js
+2
-1
script.js
...ry/interactivities/Cat images.wgt/locales/ru/js/script.js
+2
-1
script.js
resources/library/interactivities/Cat text.wgt/js/script.js
+8
-1
script.js
...rary/interactivities/Cat text.wgt/locales/fr/js/script.js
+8
-1
script.js
...rary/interactivities/Cat text.wgt/locales/ru/js/script.js
+8
-1
blackYellow.js
...ctivities/Contraste.wgt/locales/fr/scripts/blackYellow.js
+9
-2
blackYellow.js
...ctivities/Contraste.wgt/locales/ru/scripts/blackYellow.js
+9
-2
blackYellow.js
...rary/interactivities/Contraste.wgt/scripts/blackYellow.js
+9
-2
script.js
...ces/library/interactivities/Ordre images.wgt/js/script.js
+2
-1
script.js
.../interactivities/Ordre images.wgt/locales/fr/js/script.js
+2
-1
script.js
.../interactivities/Ordre images.wgt/locales/ru/js/script.js
+2
-1
template2.js
...activities/Ordre mots.wgt/locales/fr/scripts/template2.js
+6
-2
template2.js
...activities/Ordre mots.wgt/locales/ru/scripts/template2.js
+6
-2
template2.js
...brary/interactivities/Ordre mots.wgt/scripts/template2.js
+7
-2
template2.js
...ctivities/Ordre phrase.wgt/locales/fr/script/template2.js
+8
-4
template2.js
...ctivities/Ordre phrase.wgt/locales/ru/script/template2.js
+8
-4
template2.js
...ary/interactivities/Ordre phrase.wgt/scripts/template2.js
+8
-4
app.js
.../library/interactivities/Separe phrase.wgt/scripts/app.js
+8
-9
app2.js
.../library/interactivities/Separe texte.wgt/scripts/app2.js
+8
-10
spl-word.js
.../library/interactivities/Syllabes.wgt/scripts/spl-word.js
+8
-10
basic.css
resources/library/search/Audio Planete.wgs/css/basic.css
+48
-1
basic.css
resources/library/search/Flash Planete.wgs/css/basic.css
+48
-1
basic.css
resources/library/search/Google images.wgs/css/basic.css
+392
-0
basic.css
resources/library/search/Image Planete.wgs/css/basic.css
+48
-1
basic.css
resources/library/search/Video Planete.wgs/css/basic.css
+48
-1
UBPlatformUtils_linux.cpp
src/frameworks/UBPlatformUtils_linux.cpp
+2
-2
UBPlatformUtils_win.cpp
src/frameworks/UBPlatformUtils_win.cpp
+2
-2
No files found.
resources/i18n/sankore_nb.ts
View file @
3213bf08
<
?
xml
version
=
"1.0"
encoding
=
"utf-8"
?
>
<
?
xml
version
=
"1.0"
encoding
=
"utf-8"
?
>
<!
DOCTYPE
TS
>
<!
DOCTYPE
TS
>
<
TS
version
=
"2.0"
>
<
TS
version
=
"2.0"
language
=
"nb_NO"
>
<
context
>
<
context
>
<
name
>
BlackoutWidget
<
/name
>
<
name
>
BlackoutWidget
<
/name
>
<
message
>
<
message
>
...
@@ -769,35 +769,37 @@
...
@@ -769,35 +769,37 @@
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Open
-
Sankor
é
<
/source
>
<
source
>
Open
-
Sankor
é
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Å
pne
-
Sankor
é
<
/translation
>
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Quit
Open
-
Sankor
é
<
/source
>
<
source
>
Quit
Open
-
Sankor
é
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Avslutt
Å
pne
-
Sankor
é
<
/translation
>
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Open
-
Sankor
é
Editor
<
/source
>
<
source
>
Open
-
Sankor
é
Editor
<
/source
>
<
translation
type
=
"unfinished"
><
/translation
>
<
translatorcomment
>
I
have
kept
Editor
,
as
it
seems
like
a
name
...
<
/translatorcomment
>
<
translation
>
Å
pne
-
Sankor
é
Editor
<
/translation
>
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Show
Open
-
Sankor
é
Widgets
Editor
<
/source
>
<
source
>
Show
Open
-
Sankor
é
Widgets
Editor
<
/source
>
<
translation
type
=
"unfinished"
><
/translation
>
<
translatorcomment
>
I
have
kept
Sankor
é
Widgets
Editor
as
it
seems
like
a
name
...
<
/translatorcomment
>
<
translation
>
Vis
Å
pne
-
Sankor
é
Widgets
Editor
<
/translation
>
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Hide
Open
-
Sankor
é
<
/source
>
<
source
>
Hide
Open
-
Sankor
é
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Skjul
Å
pne
-
Sankor
é
<
/translation
>
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Hide
Open
-
Sankor
é
Application
<
/source
>
<
source
>
Hide
Open
-
Sankor
é
Application
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Skjul
Å
pne
-
Sankor
é
-
applikasjon
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Import
Uniboard
Documents
<
/source
>
<
source
>
Import
Uniboard
Documents
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Importer
Uniboard
-
dokumenter
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Import
old
Sankore
or
Uniboard
documents
<
/source
>
<
source
>
Import
old
Sankore
or
Uniboard
documents
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Importer
gamle
Sankore
eller
Uniboard
-
dokumenter
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -853,6 +855,10 @@
...
@@ -853,6 +855,10 @@
<
/context
>
<
/context
>
<
context
>
<
context
>
<
name
>
UBAbstractWidget
<
/name
>
<
name
>
UBAbstractWidget
<
/name
>
<
message
>
<
source
>
Cannot
load
content
<
/source
>
<
translation
>
Kan
ikke
laste
innhold
<
/translation
>
<
/message
>
<
message
>
<
message
>
<
source
>
Loading
...
<
/source
>
<
source
>
Loading
...
<
/source
>
<
translation
>
Laster
...
<
/translation
>
<
translation
>
Laster
...
<
/translation
>
...
@@ -1101,7 +1107,8 @@
...
@@ -1101,7 +1107,8 @@
<
/message
>
<
/message
>
<
message
numerus
=
"yes"
>
<
message
numerus
=
"yes"
>
<
source
>
Are
you
sure
you
want
to
remove
%
n
page
(
s
)
from
the
selected
document
&
apos
;
%
1
&
apos
;?
<
/source
>
<
source
>
Are
you
sure
you
want
to
remove
%
n
page
(
s
)
from
the
selected
document
&
apos
;
%
1
&
apos
;?
<
/source
>
<
translation
type
=
"unfinished"
>
<
translation
>
<
numerusform
>
Er
du
sikker
p
å
at
du
vil
fjerne
%
n
siden
(
e
)
fra
det
valgte
dokumentet
&
apos
;
%
1
&
apos
;?
<
/numerusform
>
<
numerusform
><
/numerusform
>
<
numerusform
><
/numerusform
>
<
/translation
>
<
/translation
>
<
/message
>
<
/message
>
...
@@ -1191,7 +1198,8 @@
...
@@ -1191,7 +1198,8 @@
<
/message
>
<
/message
>
<
message
numerus
=
"yes"
>
<
message
numerus
=
"yes"
>
<
source
>%
1
pages
copied
<
/source
>
<
source
>%
1
pages
copied
<
/source
>
<
translation
type
=
"unfinished"
>
<
translation
>
<
numerusform
>%
1
sider
kopiert
<
/numerusform
>
<
numerusform
><
/numerusform
>
<
numerusform
><
/numerusform
>
<
/translation
>
<
/translation
>
<
/message
>
<
/message
>
...
@@ -1200,11 +1208,11 @@
...
@@ -1200,11 +1208,11 @@
<
name
>
UBDownloadWidget
<
/name
>
<
name
>
UBDownloadWidget
<
/name
>
<
message
>
<
message
>
<
source
>
Downloading
files
<
/source
>
<
source
>
Downloading
files
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Nedlasting
av
filer
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Cancel
<
/source
>
<
source
>
Cancel
<
/source
>
<
translation
type
=
"unfinished"
>
Kanseller
<
/translation
>
<
translation
>
Avbryt
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -1333,7 +1341,7 @@
...
@@ -1333,7 +1341,7 @@
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Editable
<
/source
>
<
source
>
Editable
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Redigerbar
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -1386,7 +1394,7 @@
...
@@ -1386,7 +1394,7 @@
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Open
-
Sankore
(
*
.
ubz
)
<
/source
>
<
source
>
Open
-
Sankore
(
*
.
ubz
)
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Å
pne
-
Sankore
(
*
.
ubz
)
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -1445,7 +1453,8 @@
...
@@ -1445,7 +1453,8 @@
<
name
>
UBKeyboardPalette
<
/name
>
<
name
>
UBKeyboardPalette
<
/name
>
<
message
>
<
message
>
<
source
>
Enter
<
/source
>
<
source
>
Enter
<
/source
>
<
translation
type
=
"unfinished"
><
/translation
>
<
translatorcomment
>
Translation
of
the
key
on
the
keyboard
-
if
it
is
&
quot
;
Enter
the
numer
X
&
quot
;
-
It
should
be
&
quot
;
Tast
inn
nummeret
X
&
quot
;
<
/translatorcomment
>
<
translation
>
Enter
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -1559,7 +1568,7 @@
...
@@ -1559,7 +1568,7 @@
<
message
>
<
message
>
<
source
>
Web
Search
<
/source
>
<
source
>
Web
Search
<
/source
>
<
comment
>
Web
search
category
element
<
/comment
>
<
comment
>
Web
search
category
element
<
/comment
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Netts
ø
k
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -1581,11 +1590,11 @@
...
@@ -1581,11 +1590,11 @@
<
name
>
UBMediaPlayer
<
/name
>
<
name
>
UBMediaPlayer
<
/name
>
<
message
>
<
message
>
<
source
>
Open
Location
<
/source
>
<
source
>
Open
Location
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Å
pne
sted
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Please
enter
a
valid
address
here
:
<
/source
>
<
source
>
Please
enter
a
valid
address
here
:
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Tast
inn
en
gyldig
adresse
her
:
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -1883,7 +1892,7 @@ Please reboot the application to access the updated documents.</source>
...
@@ -1883,7 +1892,7 @@ Please reboot the application to access the updated documents.</source>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Remind
me
later
<
/source
>
<
source
>
Remind
me
later
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Minn
meg
p
å
det
senere
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -2003,11 +2012,11 @@ Please reboot the application to access the updated documents.</source>
...
@@ -2003,11 +2012,11 @@ Please reboot the application to access the updated documents.</source>
<
name
>
UniboardSankoreTransition
<
/name
>
<
name
>
UniboardSankoreTransition
<
/name
>
<
message
>
<
message
>
<
source
>
Import
old
Uniboard
/
Sankore
documents
<
/source
>
<
source
>
Import
old
Uniboard
/
Sankore
documents
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Importer
gamle
Uniboard
/
Sankore
-
dokumenter
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
There
are
no
documents
that
should
be
imported
<
/source
>
<
source
>
There
are
no
documents
that
should
be
imported
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Det
er
ingen
dokumenter
som
skal
importeres
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
@@ -2468,55 +2477,56 @@ p, li { white-space: pre-wrap; }
...
@@ -2468,55 +2477,56 @@ p, li { white-space: pre-wrap; }
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Open
-
Sankor
é
<
/source
>
<
source
>
Open
-
Sankor
é
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Å
pne
-
Sankor
é
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Show
internal
web
page
content
on
secondary
screen
or
projector
<
/source
>
<
source
>
Show
internal
web
page
content
on
secondary
screen
or
projector
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Vis
innhold
fra
internt
nettsted
p
å
annen
skjerm
eller
projektor
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Multi
display
<
/source
>
<
source
>
Multi
display
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Multidisplay
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Swap
control
display
and
view
display
<
/source
>
<
source
>
Swap
control
display
and
view
display
<
/source
>
<
translation
type
=
"unfinished"
><
/translation
>
<
translatorcomment
>
I
have
translated
this
as
swap
between
cd
and
vd
<
/translatorcomment
>
<
translation
>
Bytt
mellom
kontrolldisplay
og
se
display
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Mode
<
/source
>
<
source
>
Mode
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Modus
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Mode
to
start
in
:
<
/source
>
<
source
>
Mode
to
start
in
:
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Modus
å
starte
i
:
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Board
<
/source
>
<
source
>
Board
<
/source
>
<
translation
type
=
"unfinished"
>
Tavle
<
/translation
>
<
translation
>
Tavle
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Desktop
<
/source
>
<
source
>
Desktop
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Skrivebord
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Proxy
User
:
<
/source
>
<
source
>
Proxy
User
:
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Proxy
-
bruker
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Pass
:
<
/source
>
<
source
>
Pass
:
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Pass
:
<
/translation
>
<
/message
>
<
/message
>
<
message
utf8
=
"true"
>
<
message
utf8
=
"true"
>
<
source
>
Plan
è
te
Sankor
é
ID
<
/source
>
<
source
>
Plan
è
te
Sankor
é
ID
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Planet
Sankor
é
-
ID
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
User
:
<
/source
>
<
source
>
User
:
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Bruker
:
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>
Pass
:
<
/source
>
<
source
>
Pass
:
<
/source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Pass
:
<
/translation
>
<
/message
>
<
/message
>
<
message
>
<
message
>
<
source
>&
lt
;
!
DOCTYPE
HTML
PUBLIC
&
quot
;
-
//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<
source
>&
lt
;
!
DOCTYPE
HTML
PUBLIC
&
quot
;
-
//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
...
@@ -2524,7 +2534,7 @@ p, li { white-space: pre-wrap; }
...
@@ -2524,7 +2534,7 @@ p, li { white-space: pre-wrap; }
p
,
li
{
white
-
space
:
pre
-
wrap
;
}
p
,
li
{
white
-
space
:
pre
-
wrap
;
}
&
lt
;
/style></
head
&
gt
;
&
lt
;
body
style
=&
quot
;
font
-
family
:
&
apos
;
Ubuntu
&
apos
;;
font
-
size
:
11
pt
;
font
-
weight
:
400
;
font
-
style
:
normal
;
&
quot
;
&
gt
;
&
lt
;
/style></
head
&
gt
;
&
lt
;
body
style
=&
quot
;
font
-
family
:
&
apos
;
Ubuntu
&
apos
;;
font
-
size
:
11
pt
;
font
-
weight
:
400
;
font
-
style
:
normal
;
&
quot
;
&
gt
;
&
lt
;
p
style
=&
quot
;
margin
-
top
:
0
px
;
margin
-
bottom
:
0
px
;
margin
-
left
:
0
px
;
margin
-
right
:
0
px
;
-
qt
-
block
-
indent
:
0
;
text
-
indent
:
0
px
;
&
quot
;
&
gt
;
The
licences
are
in
English
to
respect
the
official
and
legal
approved
translation
.
&
lt
;
/p></
body
&
gt
;
&
lt
;
/html></
source
>
&
lt
;
p
style
=&
quot
;
margin
-
top
:
0
px
;
margin
-
bottom
:
0
px
;
margin
-
left
:
0
px
;
margin
-
right
:
0
px
;
-
qt
-
block
-
indent
:
0
;
text
-
indent
:
0
px
;
&
quot
;
&
gt
;
The
licences
are
in
English
to
respect
the
official
and
legal
approved
translation
.
&
lt
;
/p></
body
&
gt
;
&
lt
;
/html></
source
>
<
translation
type
=
"unfinished"
>
<
/translation
>
<
translation
>
Lisensene
er
p
å
engelsk
for
å
respektere
den
offisielle
og
juridisk
godkjente
oversettelsen
.
<
/translation
>
<
/message
>
<
/message
>
<
/context
>
<
/context
>
<
context
>
<
context
>
...
...
resources/library/interactivities/Ass images.wgt/css/basic.css
View file @
3213bf08
...
@@ -143,6 +143,7 @@ body{
...
@@ -143,6 +143,7 @@ body{
cursor
:
pointer
;
cursor
:
pointer
;
display
:
inline-block
;
display
:
inline-block
;
position
:
relative
;
position
:
relative
;
text-align
:
center
;
}
}
.img_gray
{
.img_gray
{
...
...
resources/library/interactivities/Ass images.wgt/js/script.js
View file @
3213bf08
...
@@ -33,7 +33,7 @@ function start(){
...
@@ -33,7 +33,7 @@ function start(){
//events
//events
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -303,7 +303,6 @@ function exportData(){
...
@@ -303,7 +303,6 @@ function exportData(){
//import
//import
function
importData
(
data
){
function
importData
(
data
){
var
tmp
=
0
;
var
tmp
=
0
;
for
(
var
i
in
data
){
for
(
var
i
in
data
){
if
(
data
[
i
].
tmp
){
if
(
data
[
i
].
tmp
){
...
@@ -330,9 +329,12 @@ function importData(data){
...
@@ -330,9 +329,12 @@ function importData(data){
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
).
width
(
data
[
i
].
imgs
[
j
].
wd
);
img
.
height
(
data
[
i
].
imgs
[
j
].
ht
).
width
(
data
[
i
].
imgs
[
j
].
wd
);
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
if
((
120
-
data
[
i
].
imgs
[
j
].
ht
)
>
0
)
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
img
.
css
(
"margin"
,(
120
-
data
[
i
].
imgs
[
j
].
ht
)
/
2
+
"px 0"
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
var
hidden_input
=
$
(
"<input type='hidden'>"
).
val
(
data
[
i
].
imgs
[
j
].
value
);
img_block
.
append
(
hidden_input
).
append
(
img
);
img_block
.
append
(
hidden_input
).
append
(
img
);
tmp_array
.
push
(
img_block
);
tmp_array
.
push
(
img_block
);
}
}
tmp_array
=
shuffle
(
tmp_array
);
tmp_array
=
shuffle
(
tmp_array
);
for
(
j
in
tmp_array
){
for
(
j
in
tmp_array
){
...
@@ -714,7 +716,9 @@ function onDropTarget(obj, event) {
...
@@ -714,7 +716,9 @@ function onDropTarget(obj, event) {
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
}
}
exportData
();
},
6
)
},
6
)
}
}
else
{
else
{
alert
(
"Your browser does not support the dataTransfer object."
);
alert
(
"Your browser does not support the dataTransfer object."
);
...
...
resources/library/interactivities/Ass images.wgt/locales/fr/js/script.js
View file @
3213bf08
...
@@ -33,7 +33,7 @@ function start(){
...
@@ -33,7 +33,7 @@ function start(){
//events
//events
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -714,6 +714,7 @@ function onDropTarget(obj, event) {
...
@@ -714,6 +714,7 @@ function onDropTarget(obj, event) {
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
}
}
exportData
();
},
6
)
},
6
)
}
}
else
{
else
{
...
...
resources/library/interactivities/Ass images.wgt/locales/ru/js/script.js
View file @
3213bf08
...
@@ -33,7 +33,7 @@ function start(){
...
@@ -33,7 +33,7 @@ function start(){
//events
//events
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -714,6 +714,7 @@ function onDropTarget(obj, event) {
...
@@ -714,6 +714,7 @@ function onDropTarget(obj, event) {
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
}
}
exportData
();
},
6
)
},
6
)
}
}
else
{
else
{
...
...
resources/library/interactivities/Cat images.wgt/js/script.js
View file @
3213bf08
...
@@ -34,7 +34,7 @@ function start(){
...
@@ -34,7 +34,7 @@ function start(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -730,6 +730,7 @@ function onDropTarget(obj, event) {
...
@@ -730,6 +730,7 @@ function onDropTarget(obj, event) {
}
}
}
}
}
}
exportData
();
}
}
else
{
else
{
alert
(
"Your browser does not support the dataTransfer object."
);
alert
(
"Your browser does not support the dataTransfer object."
);
...
...
resources/library/interactivities/Cat images.wgt/locales/fr/js/script.js
View file @
3213bf08
...
@@ -34,7 +34,7 @@ function start(){
...
@@ -34,7 +34,7 @@ function start(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -734,6 +734,7 @@ function onDropTarget(obj, event) {
...
@@ -734,6 +734,7 @@ function onDropTarget(obj, event) {
}
}
}
}
}
}
exportData
();
}
}
else
{
else
{
alert
(
"Your browser does not support the dataTransfer object."
);
alert
(
"Your browser does not support the dataTransfer object."
);
...
...
resources/library/interactivities/Cat images.wgt/locales/ru/js/script.js
View file @
3213bf08
...
@@ -34,7 +34,7 @@ function start(){
...
@@ -34,7 +34,7 @@ function start(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -734,6 +734,7 @@ function onDropTarget(obj, event) {
...
@@ -734,6 +734,7 @@ function onDropTarget(obj, event) {
}
}
}
}
}
}
exportData
();
}
}
else
{
else
{
alert
(
"Your browser does not support the dataTransfer object."
);
alert
(
"Your browser does not support the dataTransfer object."
);
...
...
resources/library/interactivities/Cat text.wgt/js/script.js
View file @
3213bf08
...
@@ -40,7 +40,7 @@ function start(){
...
@@ -40,7 +40,7 @@ function start(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -202,6 +202,13 @@ function start(){
...
@@ -202,6 +202,13 @@ function start(){
$
(
this
).
parent
().
remove
();
$
(
this
).
parent
().
remove
();
}
}
});
});
$
(
".text_cont"
).
live
(
"blur"
,
function
(){
exportData
();
}).
live
(
"keyup"
,
function
(
e
){
if
(
e
.
keyCode
==
13
)
exportData
();
});
}
}
//export
//export
...
...
resources/library/interactivities/Cat text.wgt/locales/fr/js/script.js
View file @
3213bf08
...
@@ -40,7 +40,7 @@ function start(){
...
@@ -40,7 +40,7 @@ function start(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -202,6 +202,13 @@ function start(){
...
@@ -202,6 +202,13 @@ function start(){
$
(
this
).
parent
().
remove
();
$
(
this
).
parent
().
remove
();
}
}
});
});
$
(
".text_cont"
).
live
(
"blur"
,
function
(){
exportData
();
}).
live
(
"keyup"
,
function
(
e
){
if
(
e
.
keyCode
==
13
)
exportData
();
});
}
}
//export
//export
...
...
resources/library/interactivities/Cat text.wgt/locales/ru/js/script.js
View file @
3213bf08
...
@@ -40,7 +40,7 @@ function start(){
...
@@ -40,7 +40,7 @@ function start(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -202,6 +202,13 @@ function start(){
...
@@ -202,6 +202,13 @@ function start(){
$
(
this
).
parent
().
remove
();
$
(
this
).
parent
().
remove
();
}
}
});
});
$
(
".text_cont"
).
live
(
"blur"
,
function
(){
exportData
();
}).
live
(
"keyup"
,
function
(
e
){
if
(
e
.
keyCode
==
13
)
exportData
();
});
}
}
//export
//export
...
...
resources/library/interactivities/Contraste.wgt/locales/fr/scripts/blackYellow.js
View file @
3213bf08
...
@@ -222,6 +222,7 @@ function init(){
...
@@ -222,6 +222,7 @@ function init(){
shadowDiv
.
hide
(
"fast"
);
shadowDiv
.
hide
(
"fast"
);
shadowOver
=
false
;
shadowOver
=
false
;
addTask
(
expresionText
.
val
(),
resultText
.
val
());
addTask
(
expresionText
.
val
(),
resultText
.
val
());
exportToSankore
();
$
(
"#resultText, #expresionText"
).
val
(
""
)
$
(
"#resultText, #expresionText"
).
val
(
""
)
.
css
(
"background-color"
,
"#ffc"
);
.
css
(
"background-color"
,
"#ffc"
);
})
})
...
@@ -263,6 +264,9 @@ function init(){
...
@@ -263,6 +264,9 @@ function init(){
$
(
"body"
).
mouseup
(
function
(
event
){
$
(
"body"
).
mouseup
(
function
(
event
){
if
(
!
shadowOver
){
if
(
!
shadowOver
){
if
(
dragElement
)
{
exportToSankore
();
}
dragElement
=
null
;
dragElement
=
null
;
resizeObj
.
x
=
false
;
resizeObj
.
x
=
false
;
resizeObj
.
y
=
false
;
resizeObj
.
y
=
false
;
...
@@ -299,7 +303,7 @@ function init(){
...
@@ -299,7 +303,7 @@ function init(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportToSankore
();
//
exportToSankore();
sankore
.
setPreference
(
"by_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"by_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
}
}
}
}
...
@@ -366,7 +370,10 @@ function checkEmptyFields(field){
...
@@ -366,7 +370,10 @@ function checkEmptyFields(field){
//adding a new task to the page
//adding a new task to the page
function
addTask
(
expression
,
result
){
function
addTask
(
expression
,
result
){
var
editContent
=
$
(
"<div class='editContainer'>"
).
width
(
240
).
height
(
70
).
appendTo
(
"#data"
);
var
lastItem
=
$
(
".editContainer:last"
),
lastItemPos
=
lastItem
.
length
?
lastItem
.
position
().
top
:
45
,
lastItemHeight
=
lastItem
.
length
?
lastItem
.
height
()
:
0
;
var
editContent
=
$
(
"<div class='editContainer'>"
).
width
(
240
).
height
(
70
).
css
(
"top"
,
lastItemPos
+
lastItemHeight
+
15
+
"px"
).
appendTo
(
"#data"
);
var
closeItem
=
$
(
"<div class='closeItem'>"
).
appendTo
(
editContent
);
var
closeItem
=
$
(
"<div class='closeItem'>"
).
appendTo
(
editContent
);
var
rightResize
=
$
(
"<div class='rightResize'>"
).
appendTo
(
editContent
);
var
rightResize
=
$
(
"<div class='rightResize'>"
).
appendTo
(
editContent
);
var
bottomResize
=
$
(
"<div class='bottomResize'>"
).
appendTo
(
editContent
);
var
bottomResize
=
$
(
"<div class='bottomResize'>"
).
appendTo
(
editContent
);
...
...
resources/library/interactivities/Contraste.wgt/locales/ru/scripts/blackYellow.js
View file @
3213bf08
...
@@ -222,6 +222,7 @@ function init(){
...
@@ -222,6 +222,7 @@ function init(){
shadowDiv
.
hide
(
"fast"
);
shadowDiv
.
hide
(
"fast"
);
shadowOver
=
false
;
shadowOver
=
false
;
addTask
(
expresionText
.
val
(),
resultText
.
val
());
addTask
(
expresionText
.
val
(),
resultText
.
val
());
exportToSankore
();
$
(
"#resultText, #expresionText"
).
val
(
""
)
$
(
"#resultText, #expresionText"
).
val
(
""
)
.
css
(
"background-color"
,
"#ffc"
);
.
css
(
"background-color"
,
"#ffc"
);
})
})
...
@@ -263,6 +264,9 @@ function init(){
...
@@ -263,6 +264,9 @@ function init(){
$
(
"body"
).
mouseup
(
function
(
event
){
$
(
"body"
).
mouseup
(
function
(
event
){
if
(
!
shadowOver
){
if
(
!
shadowOver
){
if
(
dragElement
)
{
exportToSankore
();
}
dragElement
=
null
;
dragElement
=
null
;
resizeObj
.
x
=
false
;
resizeObj
.
x
=
false
;
resizeObj
.
y
=
false
;
resizeObj
.
y
=
false
;
...
@@ -299,7 +303,7 @@ function init(){
...
@@ -299,7 +303,7 @@ function init(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportToSankore
();
//
exportToSankore();
sankore
.
setPreference
(
"by_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"by_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
}
}
}
}
...
@@ -366,7 +370,10 @@ function checkEmptyFields(field){
...
@@ -366,7 +370,10 @@ function checkEmptyFields(field){
//adding a new task to the page
//adding a new task to the page
function
addTask
(
expression
,
result
){
function
addTask
(
expression
,
result
){
var
editContent
=
$
(
"<div class='editContainer'>"
).
width
(
240
).
height
(
70
).
appendTo
(
"#data"
);
var
lastItem
=
$
(
".editContainer:last"
),
lastItemPos
=
lastItem
.
length
?
lastItem
.
position
().
top
:
45
,
lastItemHeight
=
lastItem
.
length
?
lastItem
.
height
()
:
0
;
var
editContent
=
$
(
"<div class='editContainer'>"
).
width
(
240
).
height
(
70
).
css
(
"top"
,
lastItemPos
+
lastItemHeight
+
15
+
"px"
).
appendTo
(
"#data"
);
var
closeItem
=
$
(
"<div class='closeItem'>"
).
appendTo
(
editContent
);
var
closeItem
=
$
(
"<div class='closeItem'>"
).
appendTo
(
editContent
);
var
rightResize
=
$
(
"<div class='rightResize'>"
).
appendTo
(
editContent
);
var
rightResize
=
$
(
"<div class='rightResize'>"
).
appendTo
(
editContent
);
var
bottomResize
=
$
(
"<div class='bottomResize'>"
).
appendTo
(
editContent
);
var
bottomResize
=
$
(
"<div class='bottomResize'>"
).
appendTo
(
editContent
);
...
...
resources/library/interactivities/Contraste.wgt/scripts/blackYellow.js
View file @
3213bf08
...
@@ -223,6 +223,7 @@ function init(){
...
@@ -223,6 +223,7 @@ function init(){
shadowDiv
.
hide
(
"fast"
);
shadowDiv
.
hide
(
"fast"
);
shadowOver
=
false
;
shadowOver
=
false
;
addTask
(
expresionText
.
val
(),
resultText
.
val
());
addTask
(
expresionText
.
val
(),
resultText
.
val
());
exportToSankore
();
$
(
"#resultText, #expresionText"
).
val
(
""
)
$
(
"#resultText, #expresionText"
).
val
(
""
)
.
css
(
"background-color"
,
"#ffc"
);
.
css
(
"background-color"
,
"#ffc"
);
})
})
...
@@ -264,6 +265,9 @@ function init(){
...
@@ -264,6 +265,9 @@ function init(){
$
(
"body"
).
mouseup
(
function
(
event
){
$
(
"body"
).
mouseup
(
function
(
event
){
if
(
!
shadowOver
){
if
(
!
shadowOver
){
if
(
dragElement
)
{
exportToSankore
();
}
dragElement
=
null
;
dragElement
=
null
;
resizeObj
.
x
=
false
;
resizeObj
.
x
=
false
;
resizeObj
.
y
=
false
;
resizeObj
.
y
=
false
;
...
@@ -300,7 +304,7 @@ function init(){
...
@@ -300,7 +304,7 @@ function init(){
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportToSankore
();
//
exportToSankore();
sankore
.
setPreference
(
"by_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"by_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
}
}
}
}
...
@@ -367,7 +371,10 @@ function checkEmptyFields(field){
...
@@ -367,7 +371,10 @@ function checkEmptyFields(field){
//adding a new task to the page
//adding a new task to the page
function
addTask
(
expression
,
result
){
function
addTask
(
expression
,
result
){
var
editContent
=
$
(
"<div class='editContainer'>"
).
width
(
240
).
height
(
70
).
appendTo
(
"#data"
);
var
lastItem
=
$
(
".editContainer:last"
),
lastItemPos
=
lastItem
.
length
?
lastItem
.
position
().
top
:
45
,
lastItemHeight
=
lastItem
.
length
?
lastItem
.
height
()
:
0
;
var
editContent
=
$
(
"<div class='editContainer'>"
).
width
(
240
).
height
(
70
).
css
(
"top"
,
lastItemPos
+
lastItemHeight
+
15
+
"px"
).
appendTo
(
"#data"
);
var
closeItem
=
$
(
"<div class='closeItem'>"
).
appendTo
(
editContent
);
var
closeItem
=
$
(
"<div class='closeItem'>"
).
appendTo
(
editContent
);
var
rightResize
=
$
(
"<div class='rightResize'>"
).
appendTo
(
editContent
);
var
rightResize
=
$
(
"<div class='rightResize'>"
).
appendTo
(
editContent
);
var
bottomResize
=
$
(
"<div class='bottomResize'>"
).
appendTo
(
editContent
);
var
bottomResize
=
$
(
"<div class='bottomResize'>"
).
appendTo
(
editContent
);
...
...
resources/library/interactivities/Ordre images.wgt/js/script.js
View file @
3213bf08
...
@@ -34,7 +34,7 @@ function start(){
...
@@ -34,7 +34,7 @@ function start(){
//events
//events
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -453,6 +453,7 @@ function onDropTarget(obj, event) {
...
@@ -453,6 +453,7 @@ function onDropTarget(obj, event) {
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
}
}
exportData
();
},
6
)
},
6
)
}
}
else
{
else
{
...
...
resources/library/interactivities/Ordre images.wgt/locales/fr/js/script.js
View file @
3213bf08
...
@@ -35,7 +35,7 @@ function start(){
...
@@ -35,7 +35,7 @@ function start(){
//events
//events
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -452,6 +452,7 @@ function onDropTarget(obj, event) {
...
@@ -452,6 +452,7 @@ function onDropTarget(obj, event) {
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
}
}
exportData
();
},
6
)
},
6
)
}
}
else
{
else
{
...
...
resources/library/interactivities/Ordre images.wgt/locales/ru/js/script.js
View file @
3213bf08
...
@@ -35,7 +35,7 @@ function start(){
...
@@ -35,7 +35,7 @@ function start(){
//events
//events
if
(
window
.
widget
)
{
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
window
.
widget
.
onleave
=
function
(){
exportData
();
//
exportData();
}
}
}
}
...
@@ -452,6 +452,7 @@ function onDropTarget(obj, event) {
...
@@ -452,6 +452,7 @@ function onDropTarget(obj, event) {
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
attr
(
"width"
,
"120"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
tmp_img
.
css
(
"margin"
,(
120
-
tmp_img
.
height
())
/
2
+
"px 0"
);
}
}
exportData
();
},
6
)
},
6
)
}
}
else
{
else
{
...
...
resources/library/interactivities/Ordre mots.wgt/locales/fr/scripts/template2.js
View file @
3213bf08
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
$
(
".style_select"
).
change
(
function
(
event
){
$
(
".style_select"
).
change
(
function
(
event
){
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
})
})
$
(
"#mp_word input:text"
).
live
(
"change"
,
function
(){
saveData
();
});
})
})
/*
/*
...
@@ -292,8 +296,8 @@ function modeEdit()
...
@@ -292,8 +296,8 @@ function modeEdit()
}
}
if
(
window
.
widget
)
{
function
saveData
(
)
{
window
.
widget
.
onleave
=
function
()
{
if
(
window
.
widget
)
{
sankore
.
setPreference
(
"ord_words_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"ord_words_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
$
(
"#mp_word input:text"
).
attr
(
"value"
))
if
(
$
(
"#mp_word input:text"
).
attr
(
"value"
))
{
{
...
...
resources/library/interactivities/Ordre mots.wgt/locales/ru/scripts/template2.js
View file @
3213bf08
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
$
(
".style_select"
).
change
(
function
(
event
){
$
(
".style_select"
).
change
(
function
(
event
){
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
})
})
$
(
"#mp_word input:text"
).
live
(
"change"
,
function
(){
saveData
();
});
})
})
/*
/*
...
@@ -292,8 +296,8 @@ function modeEdit()
...
@@ -292,8 +296,8 @@ function modeEdit()
}
}
if
(
window
.
widget
)
{
function
saveData
(
)
{
window
.
widget
.
onleave
=
function
()
{
if
(
window
.
widget
)
{
sankore
.
setPreference
(
"ord_words_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"ord_words_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
$
(
"#mp_word input:text"
).
attr
(
"value"
))
if
(
$
(
"#mp_word input:text"
).
attr
(
"value"
))
{
{
...
...
resources/library/interactivities/Ordre mots.wgt/scripts/template2.js
View file @
3213bf08
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
$
(
".style_select"
).
change
(
function
(
event
){
$
(
".style_select"
).
change
(
function
(
event
){
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
})
})
$
(
"#mp_word input:text"
).
live
(
"change"
,
function
(){
saveData
();
});
})
})
/*
/*
...
@@ -292,8 +296,9 @@ function modeEdit()
...
@@ -292,8 +296,9 @@ function modeEdit()
}
}
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
function
saveData
()
{
if
(
window
.
widget
)
{
sankore
.
setPreference
(
"ord_words_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"ord_words_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
$
(
"#mp_word input:text"
).
attr
(
"value"
))
if
(
$
(
"#mp_word input:text"
).
attr
(
"value"
))
{
{
...
...
resources/library/interactivities/Ordre phrase.wgt/locales/fr/script/template2.js
View file @
3213bf08
...
@@ -101,6 +101,10 @@ $(document).ready(function(){
...
@@ -101,6 +101,10 @@ $(document).ready(function(){
$
(
".style_select"
).
change
(
function
(
event
){
$
(
".style_select"
).
change
(
function
(
event
){
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
})
})
$
(
"#mp_word textarea"
).
live
(
"change"
,
function
(){
saveData
();
})
})
})
function
str_replace
(
w
,
b
,
s
){
function
str_replace
(
w
,
b
,
s
){
...
@@ -261,8 +265,8 @@ function modeEdit()
...
@@ -261,8 +265,8 @@ function modeEdit()
.
append
(
'<textarea cols="50" rows="5">'
+
sentence
+
'</textarea>'
);
.
append
(
'<textarea cols="50" rows="5">'
+
sentence
+
'</textarea>'
);
}
}
if
(
window
.
widget
)
{
function
saveData
(
)
{
window
.
widget
.
onleave
=
function
()
{
if
(
window
.
widget
)
{
sankore
.
setPreference
(
"ord_phrases_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"ord_phrases_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
$
(
"#mp_word textarea"
).
val
())
if
(
$
(
"#mp_word textarea"
).
val
())
{
{
...
@@ -271,7 +275,7 @@ if (window.widget) {
...
@@ -271,7 +275,7 @@ if (window.widget) {
$
(
"#mp_word .phrase"
).
each
(
function
()
$
(
"#mp_word .phrase"
).
each
(
function
()
{
{
ph
.
push
(
$
(
this
).
text
()
);
ph
.
push
(
$
(
this
).
text
()
);
});
});
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
modeEdit
();
modeEdit
();
}
}
...
@@ -280,7 +284,7 @@ if (window.widget) {
...
@@ -280,7 +284,7 @@ if (window.widget) {
$
(
"#mp_word .phrase"
).
each
(
function
()
$
(
"#mp_word .phrase"
).
each
(
function
()
{
{
ph
.
push
(
$
(
this
).
text
()
);
ph
.
push
(
$
(
this
).
text
()
);
});
});
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
}
}
sankore
.
setPreference
(
"rightOrdPhrases"
,
sentence
);
sankore
.
setPreference
(
"rightOrdPhrases"
,
sentence
);
...
...
resources/library/interactivities/Ordre phrase.wgt/locales/ru/script/template2.js
View file @
3213bf08
...
@@ -101,6 +101,10 @@ $(document).ready(function(){
...
@@ -101,6 +101,10 @@ $(document).ready(function(){
$
(
".style_select"
).
change
(
function
(
event
){
$
(
".style_select"
).
change
(
function
(
event
){
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
})
})
$
(
"#mp_word textarea"
).
live
(
"change"
,
function
(){
saveData
();
})
})
})
function
str_replace
(
w
,
b
,
s
){
function
str_replace
(
w
,
b
,
s
){
...
@@ -261,8 +265,8 @@ function modeEdit()
...
@@ -261,8 +265,8 @@ function modeEdit()
.
append
(
'<textarea cols="50" rows="5">'
+
sentence
+
'</textarea>'
);
.
append
(
'<textarea cols="50" rows="5">'
+
sentence
+
'</textarea>'
);
}
}
if
(
window
.
widget
)
{
function
saveData
(
)
{
window
.
widget
.
onleave
=
function
()
{
if
(
window
.
widget
)
{
sankore
.
setPreference
(
"ord_phrases_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"ord_phrases_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
$
(
"#mp_word textarea"
).
val
())
if
(
$
(
"#mp_word textarea"
).
val
())
{
{
...
@@ -271,7 +275,7 @@ if (window.widget) {
...
@@ -271,7 +275,7 @@ if (window.widget) {
$
(
"#mp_word .phrase"
).
each
(
function
()
$
(
"#mp_word .phrase"
).
each
(
function
()
{
{
ph
.
push
(
$
(
this
).
text
()
);
ph
.
push
(
$
(
this
).
text
()
);
});
});
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
modeEdit
();
modeEdit
();
}
}
...
@@ -280,7 +284,7 @@ if (window.widget) {
...
@@ -280,7 +284,7 @@ if (window.widget) {
$
(
"#mp_word .phrase"
).
each
(
function
()
$
(
"#mp_word .phrase"
).
each
(
function
()
{
{
ph
.
push
(
$
(
this
).
text
()
);
ph
.
push
(
$
(
this
).
text
()
);
});
});
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
}
}
sankore
.
setPreference
(
"rightOrdPhrases"
,
sentence
);
sankore
.
setPreference
(
"rightOrdPhrases"
,
sentence
);
...
...
resources/library/interactivities/Ordre phrase.wgt/scripts/template2.js
View file @
3213bf08
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
...
@@ -102,6 +102,10 @@ $(document).ready(function(){
$
(
".style_select"
).
change
(
function
(
event
){
$
(
".style_select"
).
change
(
function
(
event
){
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
changeStyle
(
$
(
this
).
find
(
"option:selected"
).
val
());
})
})
$
(
"#mp_word textarea"
).
live
(
"change"
,
function
(){
saveData
();
})
})
})
function
str_replace
(
w
,
b
,
s
){
function
str_replace
(
w
,
b
,
s
){
...
@@ -262,8 +266,8 @@ function modeEdit()
...
@@ -262,8 +266,8 @@ function modeEdit()
.
append
(
'<textarea cols="50" rows="5">'
+
sentence
+
'</textarea>'
);
.
append
(
'<textarea cols="50" rows="5">'
+
sentence
+
'</textarea>'
);
}
}
if
(
window
.
widget
)
{
function
saveData
(
)
{
window
.
widget
.
onleave
=
function
()
{
if
(
window
.
widget
)
{
sankore
.
setPreference
(
"ord_phrases_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
sankore
.
setPreference
(
"ord_phrases_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
$
(
"#mp_word textarea"
).
val
())
if
(
$
(
"#mp_word textarea"
).
val
())
{
{
...
@@ -272,7 +276,7 @@ if (window.widget) {
...
@@ -272,7 +276,7 @@ if (window.widget) {
$
(
"#mp_word .phrase"
).
each
(
function
()
$
(
"#mp_word .phrase"
).
each
(
function
()
{
{
ph
.
push
(
$
(
this
).
text
()
);
ph
.
push
(
$
(
this
).
text
()
);
});
});
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
modeEdit
();
modeEdit
();
}
}
...
@@ -281,7 +285,7 @@ if (window.widget) {
...
@@ -281,7 +285,7 @@ if (window.widget) {
$
(
"#mp_word .phrase"
).
each
(
function
()
$
(
"#mp_word .phrase"
).
each
(
function
()
{
{
ph
.
push
(
$
(
this
).
text
()
);
ph
.
push
(
$
(
this
).
text
()
);
});
});
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
sankore
.
setPreference
(
"currentOrdPhrases"
,
ph
.
join
(
"
\n
"
));
}
}
sankore
.
setPreference
(
"rightOrdPhrases"
,
sentence
);
sankore
.
setPreference
(
"rightOrdPhrases"
,
sentence
);
...
...
resources/library/interactivities/Separe phrase.wgt/scripts/app.js
View file @
3213bf08
...
@@ -17,15 +17,6 @@ function createElements( phrase )
...
@@ -17,15 +17,6 @@ function createElements( phrase )
return
s
;
return
s
;
}
}
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
sankore
.
setPreference
(
"spl_phrase_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
w
.
editMode
)
sankore
.
setPreference
(
"ordSplPhrases"
,
w
.
elements
.
container
.
find
(
"textarea"
).
val
());
else
sankore
.
setPreference
(
"ordSplPhrases"
,
w
.
getData
(
"phrase"
));
}
}
$
(
document
).
ready
(
function
()
$
(
document
).
ready
(
function
()
{
{
...
@@ -75,6 +66,14 @@ $(document).ready(function()
...
@@ -75,6 +66,14 @@ $(document).ready(function()
sentence
=
(
sankore
.
preference
(
"ordSplPhrases"
,
""
))?
sankore
.
preference
(
"ordSplPhrases"
,
""
):
sankoreLang
.
example
;
sentence
=
(
sankore
.
preference
(
"ordSplPhrases"
,
""
))?
sankore
.
preference
(
"ordSplPhrases"
,
""
):
sankoreLang
.
example
;
else
else
sentence
=
sankoreLang
.
example
;
sentence
=
sankoreLang
.
example
;
w
.
elements
.
container
.
find
(
"textarea"
).
live
(
"change"
,
function
(){
sankore
.
setPreference
(
"spl_phrase_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
w
.
editMode
)
sankore
.
setPreference
(
"ordSplPhrases"
,
w
.
elements
.
container
.
find
(
"textarea"
).
val
());
else
sankore
.
setPreference
(
"ordSplPhrases"
,
w
.
getData
(
"phrase"
));
})
w
.
maxWidth
=
600
;
w
.
maxWidth
=
600
;
...
...
resources/library/interactivities/Separe texte.wgt/scripts/app2.js
View file @
3213bf08
...
@@ -19,16 +19,6 @@ function createElements( text )
...
@@ -19,16 +19,6 @@ function createElements( text )
return
s
;
return
s
;
}
}
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
sankore
.
setPreference
(
"spl_text_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
w
.
editMode
)
sankore
.
setPreference
(
"ordSplText"
,
w
.
elements
.
container
.
find
(
"textarea"
).
val
());
else
sankore
.
setPreference
(
"ordSplText"
,
w
.
getData
(
"text"
));
}
}
$
(
document
).
ready
(
function
()
$
(
document
).
ready
(
function
()
{
{
if
(
sankore
.
preference
(
"spl_text_style"
,
""
)){
if
(
sankore
.
preference
(
"spl_text_style"
,
""
)){
...
@@ -79,6 +69,14 @@ $(document).ready(function()
...
@@ -79,6 +69,14 @@ $(document).ready(function()
sentences
=
(
sankore
.
preference
(
"ordSplText"
,
""
))?
sankore
.
preference
(
"ordSplText"
,
""
):
sankoreLang
.
example
;
sentences
=
(
sankore
.
preference
(
"ordSplText"
,
""
))?
sankore
.
preference
(
"ordSplText"
,
""
):
sankoreLang
.
example
;
else
else
sentences
=
sankoreLang
.
example
;
sentences
=
sankoreLang
.
example
;
w
.
elements
.
container
.
find
(
"textarea"
).
live
(
"change"
,
function
(){
sankore
.
setPreference
(
"spl_text_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
w
.
editMode
)
sankore
.
setPreference
(
"ordSplText"
,
w
.
elements
.
container
.
find
(
"textarea"
).
val
());
else
sankore
.
setPreference
(
"ordSplText"
,
w
.
getData
(
"text"
));
})
w
.
maxWidth
=
600
;
w
.
maxWidth
=
600
;
...
...
resources/library/interactivities/Syllabes.wgt/scripts/spl-word.js
View file @
3213bf08
...
@@ -17,16 +17,6 @@ function createWord( word )
...
@@ -17,16 +17,6 @@ function createWord( word )
var
w
;
var
w
;
if
(
window
.
widget
)
{
window
.
widget
.
onleave
=
function
(){
sankore
.
setPreference
(
"spl_word_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
w
.
editMode
)
sankore
.
setPreference
(
"ordSplWords"
,
w
.
elements
.
container
.
find
(
"input"
).
val
().
trim
(
[
'*'
]
));
else
sankore
.
setPreference
(
"ordSplWords"
,
w
.
getData
(
"word"
));
}
}
$
(
document
).
ready
(
function
()
$
(
document
).
ready
(
function
()
{
{
if
(
sankore
.
preference
(
"spl_word_style"
,
""
)){
if
(
sankore
.
preference
(
"spl_word_style"
,
""
)){
...
@@ -80,6 +70,14 @@ $(document).ready(function()
...
@@ -80,6 +70,14 @@ $(document).ready(function()
w
.
setViewContent
(
'<span class="upper"><span class="dash fixed">—</span></span>'
);
w
.
setViewContent
(
'<span class="upper"><span class="dash fixed">—</span></span>'
);
w
.
setData
(
"dashWidth"
,
w
.
elements
.
container
.
find
(
"span.dash"
).
outerWidth
()
);
w
.
setData
(
"dashWidth"
,
w
.
elements
.
container
.
find
(
"span.dash"
).
outerWidth
()
);
w
.
setViewContent
(
""
);
w
.
setViewContent
(
""
);
w
.
elements
.
container
.
find
(
"input"
).
live
(
"change"
,
function
(){
sankore
.
setPreference
(
"spl_word_style"
,
$
(
".style_select"
).
find
(
"option:selected"
).
val
());
if
(
w
.
editMode
)
sankore
.
setPreference
(
"ordSplWords"
,
w
.
elements
.
container
.
find
(
"input"
).
val
().
trim
(
[
'*'
]
));
else
sankore
.
setPreference
(
"ordSplWords"
,
w
.
getData
(
"word"
));
})
// onViewMode
// onViewMode
w
.
onViewMode
=
function
()
w
.
onViewMode
=
function
()
...
...
resources/library/search/Audio Planete.wgs/css/basic.css
View file @
3213bf08
...
@@ -10,6 +10,38 @@ a {
...
@@ -10,6 +10,38 @@ a {
text-decoration
:
none
;
text-decoration
:
none
;
}
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
.disclaimer
{
.disclaimer
{
height
:
auto
;
height
:
auto
;
position
:
fixed
;
position
:
fixed
;
...
@@ -27,8 +59,8 @@ a {
...
@@ -27,8 +59,8 @@ a {
border-top-right-radius
:
15px
;
border-top-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border
:
solid
4px
#EEEEEE
;
border-bottom
:
none
;
border-bottom
:
none
;
z-index
:
10
;
font-size
:
12px
;
font-size
:
12px
;
z-index
:
10
;
}
}
#searchResult
{
#searchResult
{
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
background-color
:
gray
;
background-color
:
gray
;
color
:
white
;
color
:
white
;
}
}
/*
Planete Sankore Changes
*/
.searchButton
{
right
:
10px
;
}
#subSearchInput
{
padding-right
:
5px
;
}
.imgContainer
img
{
width
:
100px
;
}
resources/library/search/Flash Planete.wgs/css/basic.css
View file @
3213bf08
...
@@ -10,6 +10,38 @@ a {
...
@@ -10,6 +10,38 @@ a {
text-decoration
:
none
;
text-decoration
:
none
;
}
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
.disclaimer
{
.disclaimer
{
height
:
auto
;
height
:
auto
;
position
:
fixed
;
position
:
fixed
;
...
@@ -27,8 +59,8 @@ a {
...
@@ -27,8 +59,8 @@ a {
border-top-right-radius
:
15px
;
border-top-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border
:
solid
4px
#EEEEEE
;
border-bottom
:
none
;
border-bottom
:
none
;
z-index
:
10
;
font-size
:
12px
;
font-size
:
12px
;
z-index
:
10
;
}
}
#searchResult
{
#searchResult
{
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
background-color
:
gray
;
background-color
:
gray
;
color
:
white
;
color
:
white
;
}
}
/*
Planete Sankore Changes
*/
.searchButton
{
right
:
10px
;
}
#subSearchInput
{
padding-right
:
5px
;
}
.imgContainer
img
{
width
:
100px
;
}
resources/library/search/Google images.wgs/css/basic.css
View file @
3213bf08
...
@@ -6,6 +6,47 @@ html, body{
...
@@ -6,6 +6,47 @@ html, body{
margin
:
0
;
margin
:
0
;
}
}
a
{
html,
body{
width
:
100%
;
padding
:
0
;
height
:
auto
;
background-color
:
white
;
margin
:
0
;
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
a
{
a
{
text-decoration
:
none
;
text-decoration
:
none
;
}
}
...
@@ -318,6 +359,357 @@ input[type="radio"]:checked + .filter_button.button.color {
...
@@ -318,6 +359,357 @@ input[type="radio"]:checked + .filter_button.button.color {
display
:
inline-block
;
display
:
inline-block
;
}
}
.pager_button.active
{
border-radius
:
3px
;
-webkit-border-radius
:
3px
;
background-color
:
gray
;
color
:
white
;
}
text-decoration
:
none
;
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
.disclaimer
{
height
:
auto
;
position
:
fixed
;
left
:
0
;
bottom
:
0
;
margin-left
:
1px
;
margin-right
:
1px
;
margin-bottom
:
0px
;
padding
:
5px
;
text-align
:
center
;
background-color
:
#BBBBBB
;
-webkit-border-top-left-radius
:
15px
;
-webkit-border-top-right-radius
:
15px
;
border-top-left-radius
:
15px
;
border-top-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border-bottom
:
none
;
z-index
:
10
;
font-size
:
12px
;
}
#searchResult
{
overflow
:
hidden
;
text-align
:
center
;
}
.search
{
width
:
90%
;
position
:
fixed
;
top
:
0
;
left
:
0
;
padding
:
5px
;
background-color
:
#BBBBBB
;
-webkit-border-bottom-left-radius
:
15px
;
-webkit-border-bottom-right-radius
:
15px
;
border-bottom-left-radius
:
15px
;
border-bottom-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border-top
:
none
;
z-index
:
101
;
}
.search
,
.disclaimer
{
width
:
100%
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
}
.togglePages
{
padding
:
0
;
position
:
absolute
;
bottom
:
-19px
;
left
:
40%
;
width
:
22%
;
height
:
15px
;
background-color
:
#666
;
-webkit-border-bottom-left-radius
:
20px
;
-webkit-border-bottom-right-radius
:
20px
;
border-bottom-left-radius
:
20px
;
border-bottom-right-radius
:
20px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
box-shadow
:
#dadada
-1px
0
4px
;
cursor
:
pointer
;
z-index
:
100
;
text-align
:
center
;
}
.toggleIcon
{
display
:
inline-block
;
width
:
14px
;
height
:
14px
;
background
:
url(../images/trgUp.png)
50%
no-repeat
;
}
.searchInput
{
padding
:
3px
;
float
:
left
;
width
:
100%
;
border-radius
:
3px
;
border-style
:
none
;
height
:
22px
;
line-height
:
18px
;
vertical-align
:
middle
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
}
.searchButton
{
background
:
url("../images/search_app.png")
-38px
-38px
no-repeat
;
width
:
24px
;
height
:
24px
;
overflow
:
hidden
;
position
:
absolute
;
right
:
30px
;
top
:
9px
;
margin-left
:
-2px
;
cursor
:
pointer
;
}
.subSearch
{
margin
:
0
;
float
:
left
;
}
#subSearchInput
{
width
:
100%
;
float
:
left
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
padding
:
5px
;
padding-right
:
26px
;
}
#subSearchFilter
{
width
:
100%
;
float
:
left
;
display
:
none
;
}
.searchResult
{
width
:
98%
;
padding
:
3px
;
background-color
:
#123456
;
}
.imgContainer
{
display
:
inline-block
;
padding
:
3px
;
margin
:
3px
;
text-align
:
center
;
overflow
:
hidden
;
font-size
:
small
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
border
:
1px
solid
#666
;
border-radius
:
5px
;
-webkit-box-shadow
:
#dadada
-1px
0
4px
;
-webkit-border-radius
:
5px
;
box-shadow
:
#666
-1px
0
4px
;
vertical-align
:
top
;
}
.resultFooter
{
float
:
left
;
margin
:
5px
;
padding
:
3px
;
width
:
100%
;
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
font-weight
:
bold
;
font-size
:
x-large
;
text-align
:
center
;
}
#branding
{
position
:
absolute
;
top
:
0
;
left
:
0
;
z-index
:
2
;
}
.filterContainer
{
float
:
left
;
margin
:
2px
;
padding
:
2px
;
font-size
:
14px
;
}
.filterSelect
{
border-style
:
none
;
-webkit-border-top-right-radius
:
15px
;
-webkit-border-bottom-right-radius
:
15px
;
-moz-border-radius-topright
:
15px
;
-moz-border-radius-bottomright
:
15px
;
border-top-right-radius
:
15px
;
margin-top
:
2px
;
width
:
100%
;
}
span
{
font-family
:
Verdana
,
Arial
,
Helvetica
,
sans-serif
;
color
:
#666
;
}
[
draggable
]
{
-webkit-user-select
:
none
;
user-select
:
none
;
}
.toggleFilters
{
margin
:
0
;
padding
:
0
;
background-position
:
center
;
background-image
:
url(../images/down.png)
;
position
:
absolute
;
top
:
11px
;
right
:
6px
;
width
:
20px
;
height
:
20px
;
cursor
:
pointer
;
}
.colors_line
{
float
:
left
;
margin
:
4px
;
margin-right
:
0
;
clear
:
left
;
}
.custom
{
opacity
:
0
;
position
:
absolute
;
left
:
-10000px
;
}
.filter_button.button.color
{
display
:
inline-block
;
width
:
15px
;
height
:
15px
;
border
:
1px
solid
#EBEBEB
;
padding
:
0
;
margin
:
0
;
box-sizing
:
border-box
;
-webkit-box-sizing
:
border-box
;
}
.filter_button.button.color
:hover
{
border
:
1px
solid
rgb
(
128
,
128
,
128
);
cursor
:
pointer
;
}
input
[
type
=
"radio"
]
:checked
+
.filter_button.button.color
{
border
:
1px
solid
rgb
(
255
,
255
,
255
);
box-shadow
:
0
0
0px
1px
#000
;
-webkit-box-shadow
:
0
0
0px
1px
#000
;
}
#allcolor
{
background
:
white
url('../images/search_app.png')
-43px
-144px
no-repeat
;
}
#colored
{
background
:
white
url('../images/search_app.png')
-43px
-244px
no-repeat
;
}
#grayed
{
background
:
white
url('../images/search_app.png')
-45px
-343px
no-repeat
;
}
#black
{
background-color
:
#ffffff
;
}
#blue
{
background-color
:
#0000FF
;
}
#brown
{
background-color
:
rgba
(
139
,
82
,
16
,
1
);
}
#gray
{
background-color
:
#999999
;
}
#green
{
background-color
:
#00CC00
;
}
#orange
{
background-color
:
#FB940B
;
}
#pink
{
background-color
:
#FF98BF
;
}
#purple
{
background-color
:
#762CA7
;
}
#red
{
background-color
:
#CC0000
;
}
#teal
{
background-color
:
#03C0C6
;
}
#white
{
background-color
:
#000000
;
}
#yellow
{
background-color
:
#FFFF00
;
}
.selectBox-dropdown
,
.selectBox-options
li
a
{
line-height
:
1.3
!important
;
font-size
:
13px
;
}
.pager_button
{
padding
:
3px
5px
;
font-size
:
16px
;
color
:
black
;
display
:
inline-block
;
}
.pager_button.active
{
.pager_button.active
{
border-radius
:
3px
;
border-radius
:
3px
;
-webkit-border-radius
:
3px
;
-webkit-border-radius
:
3px
;
...
...
resources/library/search/Image Planete.wgs/css/basic.css
View file @
3213bf08
...
@@ -10,6 +10,38 @@ a {
...
@@ -10,6 +10,38 @@ a {
text-decoration
:
none
;
text-decoration
:
none
;
}
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
.disclaimer
{
.disclaimer
{
height
:
auto
;
height
:
auto
;
position
:
fixed
;
position
:
fixed
;
...
@@ -27,8 +59,8 @@ a {
...
@@ -27,8 +59,8 @@ a {
border-top-right-radius
:
15px
;
border-top-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border
:
solid
4px
#EEEEEE
;
border-bottom
:
none
;
border-bottom
:
none
;
z-index
:
10
;
font-size
:
12px
;
font-size
:
12px
;
z-index
:
10
;
}
}
#searchResult
{
#searchResult
{
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
background-color
:
gray
;
background-color
:
gray
;
color
:
white
;
color
:
white
;
}
}
/*
Planete Sankore Changes
*/
.searchButton
{
right
:
10px
;
}
#subSearchInput
{
padding-right
:
5px
;
}
.imgContainer
img
{
width
:
100px
;
}
resources/library/search/Video Planete.wgs/css/basic.css
View file @
3213bf08
...
@@ -10,6 +10,38 @@ a {
...
@@ -10,6 +10,38 @@ a {
text-decoration
:
none
;
text-decoration
:
none
;
}
}
::-webkit-scrollbar
{
width
:
14px
;
background-color
:
white
;
}
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
background-color
:
lightgray
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:start
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgUp.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
::-webkit-scrollbar-button:vertical:end
{
border-radius
:
10px
;
background-color
:
lightgray
;
background-image
:
url(../images/trgDown.png)
;
background-size
:
8px
auto
;
background-position
:
center
;
background-repeat
:
no-repeat
;
border
:
2px
solid
gray
;
}
.disclaimer
{
.disclaimer
{
height
:
auto
;
height
:
auto
;
position
:
fixed
;
position
:
fixed
;
...
@@ -27,8 +59,8 @@ a {
...
@@ -27,8 +59,8 @@ a {
border-top-right-radius
:
15px
;
border-top-right-radius
:
15px
;
border
:
solid
4px
#EEEEEE
;
border
:
solid
4px
#EEEEEE
;
border-bottom
:
none
;
border-bottom
:
none
;
z-index
:
10
;
font-size
:
12px
;
font-size
:
12px
;
z-index
:
10
;
}
}
#searchResult
{
#searchResult
{
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
...
@@ -324,3 +356,18 @@ input[type="radio"]:checked + .filter_button.button.color {
background-color
:
gray
;
background-color
:
gray
;
color
:
white
;
color
:
white
;
}
}
/*
Planete Sankore Changes
*/
.searchButton
{
right
:
10px
;
}
#subSearchInput
{
padding-right
:
5px
;
}
.imgContainer
img
{
width
:
100px
;
}
src/frameworks/UBPlatformUtils_linux.cpp
View file @
3213bf08
...
@@ -282,7 +282,7 @@ KEYBT FRENCH_LOCALE[] = {
...
@@ -282,7 +282,7 @@ KEYBT FRENCH_LOCALE[] = {
/* ? 7 */
KEYBTDECL
(
0xe8
,
0x37
,
true
,
8
),
/* ? 7 */
KEYBTDECL
(
0xe8
,
0x37
,
true
,
8
),
/* _ 8 */
KEYBTDECL
(
0x5f
,
0x38
,
true
,
9
),
/* _ 8 */
KEYBTDECL
(
0x5f
,
0x38
,
true
,
9
),
/* ? 9 */
KEYBTDECL
(
0xe7
,
0x39
,
true
,
10
),
/* ? 9 */
KEYBTDECL
(
0xe7
,
0x39
,
true
,
10
),
/* ? 0 */
KEYBTDECL
(
0xe0
,
0x
29
,
true
,
11
),
/* ? 0 */
KEYBTDECL
(
0xe0
,
0x
30
,
true
,
11
),
/* ) ? */
KEYBTDECL
(
0x29
,
0xb0
,
true
,
12
),
/* ) ? */
KEYBTDECL
(
0x29
,
0xb0
,
true
,
12
),
/* = + */
KEYBTDECL
(
0x3d
,
0x2b
,
true
,
13
),
/* = + */
KEYBTDECL
(
0x3d
,
0x2b
,
true
,
13
),
...
@@ -386,7 +386,7 @@ void UBPlatformUtils::initializeKeyboardLayouts()
...
@@ -386,7 +386,7 @@ void UBPlatformUtils::initializeKeyboardLayouts()
keyboardLayouts
[
1
]
=
new
UBKeyboardLocale
(
"Russian"
,
"ru"
,
""
,
new
QIcon
(
":/images/flags/ru.png"
),
RUSSIAN_LOCALE
);
keyboardLayouts
[
1
]
=
new
UBKeyboardLocale
(
"Russian"
,
"ru"
,
""
,
new
QIcon
(
":/images/flags/ru.png"
),
RUSSIAN_LOCALE
);
keyboardLayouts
[
2
]
=
new
UBKeyboardLocale
(
"German"
,
"de"
,
""
,
new
QIcon
(
":/images/flags/de.png"
),
GERMAN_LOCALE
);
keyboardLayouts
[
2
]
=
new
UBKeyboardLocale
(
"German"
,
"de"
,
""
,
new
QIcon
(
":/images/flags/de.png"
),
GERMAN_LOCALE
);
keyboardLayouts
[
3
]
=
new
UBKeyboardLocale
(
"French"
,
"fr"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
FRENCH_LOCALE
);
keyboardLayouts
[
3
]
=
new
UBKeyboardLocale
(
"French"
,
"fr"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
FRENCH_LOCALE
);
keyboardLayouts
[
4
]
=
new
UBKeyboardLocale
(
"Swiss French"
,
"fr"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
SWISS_FRENCH_LOCALE
);
keyboardLayouts
[
4
]
=
new
UBKeyboardLocale
(
"Swiss French"
,
"fr
-CH
"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
SWISS_FRENCH_LOCALE
);
}
}
void
UBPlatformUtils
::
destroyKeyboardLayouts
()
void
UBPlatformUtils
::
destroyKeyboardLayouts
()
...
...
src/frameworks/UBPlatformUtils_win.cpp
View file @
3213bf08
...
@@ -247,7 +247,7 @@ KEYBT FRENCH_LOCALE[] = {
...
@@ -247,7 +247,7 @@ KEYBT FRENCH_LOCALE[] = {
/* ? 7 */
KEYBTDECL
(
0xe8
,
0x37
,
true
),
/* ? 7 */
KEYBTDECL
(
0xe8
,
0x37
,
true
),
/* _ 8 */
KEYBTDECL
(
0x5f
,
0x38
,
true
),
/* _ 8 */
KEYBTDECL
(
0x5f
,
0x38
,
true
),
/* ? 9 */
KEYBTDECL
(
0xe7
,
0x39
,
true
),
/* ? 9 */
KEYBTDECL
(
0xe7
,
0x39
,
true
),
/* ? 0 */
KEYBTDECL
(
0xe0
,
0x
29
,
true
),
/* ? 0 */
KEYBTDECL
(
0xe0
,
0x
30
,
true
),
/* ) ? */
KEYBTDECL
(
0x29
,
0xb0
,
true
),
/* ) ? */
KEYBTDECL
(
0x29
,
0xb0
,
true
),
/* = + */
KEYBTDECL
(
0x3d
,
0x2b
,
true
),
/* = + */
KEYBTDECL
(
0x3d
,
0x2b
,
true
),
...
@@ -401,7 +401,7 @@ void UBPlatformUtils::initializeKeyboardLayouts()
...
@@ -401,7 +401,7 @@ void UBPlatformUtils::initializeKeyboardLayouts()
keyboardLayouts
[
0
]
=
new
UBKeyboardLocale
(
"English"
,
"en"
,
""
,
new
QIcon
(
":/images/flags/en.png"
),
ENGLISH_LOCALE
);
keyboardLayouts
[
0
]
=
new
UBKeyboardLocale
(
"English"
,
"en"
,
""
,
new
QIcon
(
":/images/flags/en.png"
),
ENGLISH_LOCALE
);
keyboardLayouts
[
1
]
=
new
UBKeyboardLocale
(
"Russian"
,
"ru"
,
""
,
new
QIcon
(
":/images/flags/ru.png"
),
RUSSIAN_LOCALE
);
keyboardLayouts
[
1
]
=
new
UBKeyboardLocale
(
"Russian"
,
"ru"
,
""
,
new
QIcon
(
":/images/flags/ru.png"
),
RUSSIAN_LOCALE
);
keyboardLayouts
[
2
]
=
new
UBKeyboardLocale
(
"French"
,
"fr"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
FRENCH_LOCALE
);
keyboardLayouts
[
2
]
=
new
UBKeyboardLocale
(
"French"
,
"fr"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
FRENCH_LOCALE
);
keyboardLayouts
[
3
]
=
new
UBKeyboardLocale
(
"Swiss French"
,
"fr"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
SWISS_FRENCH_LOCALE
);
keyboardLayouts
[
3
]
=
new
UBKeyboardLocale
(
"Swiss French"
,
"fr
-CH
"
,
""
,
new
QIcon
(
":/images/flags/fr.png"
),
SWISS_FRENCH_LOCALE
);
keyboardLayouts
[
4
]
=
new
UBKeyboardLocale
(
"German"
,
"de"
,
""
,
new
QIcon
(
":/images/flags/de.png"
),
GERMAN_LOCALE
);
keyboardLayouts
[
4
]
=
new
UBKeyboardLocale
(
"German"
,
"de"
,
""
,
new
QIcon
(
":/images/flags/de.png"
),
GERMAN_LOCALE
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment