diff --git a/Sankore_3.1.pro b/Sankore_3.1.pro
index bb587913..21dda686 100644
--- a/Sankore_3.1.pro
+++ b/Sankore_3.1.pro
@@ -7,7 +7,7 @@ CONFIG += debug_and_release \
no_include_pwd
VERSION_MAJ = 1
-VERSION_MIN = 06
+VERSION_MIN = 07
VERSION_TYPE = b # a = alpha, b = beta, r = release, other => error
VERSION_PATCH = 00
diff --git a/resources/forms/preferences.ui b/resources/forms/preferences.ui
index d7c53bf1..d55a6287 100644
--- a/resources/forms/preferences.ui
+++ b/resources/forms/preferences.ui
@@ -564,7 +564,7 @@
-
- 0
+ 4
@@ -846,7 +846,24 @@ p, li { white-space: pre-wrap; }
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#1a1a1a;">Sankoré 3.1 version , Copyright (C) year name of author Sankoré 3.1 comes with ABSOLUTELY NO WARRANTY; for details type `show w'.</span><span style=" font-size:9pt;"><br /></span><span style=" font-size:9pt; color:#1a1a1a;">This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.</span><span style=" font-size:9pt;"> </span></p></body></html>
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#1a1a1a;">Sankoré 3.1 version , Copyright (C) 2010 Sankoré 3.1 comes with ABSOLUTELY NO WARRANTY.</span><span style=" font-size:9pt;"><br /></span><span style=" font-size:9pt; color:#35382a;"> </span></p>
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#35382a;">This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.</span></p>
+<p align="justify" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt; color:#35382a;"></p>
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#35382a;">This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</span></p>
+<p align="justify" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:9pt; color:#35382a;"></p>
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#35382a;">You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.</span></p></body></html>
+
+
+
+ -
+
+
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
+<html><head><meta name="qrichtext" content="1" /><style type="text/css">
+p, li { white-space: pre-wrap; }
+</style></head><body style=" font-family:'Ubuntu'; font-size:10pt; font-weight:400; font-style:normal;">
+<p align="justify" style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"></p>
+<p align="justify" style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:9pt; color:#3c3c3c;">GIPENA</span><span style=" font-size:9pt;"><br /></span><span style=" font-size:9pt; color:#3c3c3c;">Délégation Interministérielle à l'Education Numérique en Afrique</span><span style=" font-size:9pt;"><br /></span><span style=" font-size:9pt; color:#3c3c3c;">20 Avenue Ségur Paris 75007</span><span style=" font-size:9pt;"><br /><br /></span><span style=" font-size:9pt; color:#3c3c3c;">Téléphone : 01 43 17 68 08</span><span style=" font-size:9pt;"><br /><br /></span><span style=" font-size:9pt; color:#3c3c3c;">email: </span><a href="mailto:contact@sankore.org"><span style=" font-size:9pt; text-decoration: underline; color:#0000ff;">contact@sankore.org</span></a><span style=" font-size:9pt;"> </span></p></body></html>
diff --git a/resources/library/interactive/ord-phrases.wgt/config.xml b/resources/library/sankoreInteractivities/ord-phrases.wgt/config.xml
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/config.xml
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/config.xml
diff --git a/resources/library/interactive/ord-phrases.wgt/icon.png b/resources/library/sankoreInteractivities/ord-phrases.wgt/icon.png
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/icon.png
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/icon.png
diff --git a/resources/library/interactive/ord-phrases.wgt/index.html b/resources/library/sankoreInteractivities/ord-phrases.wgt/index.html
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/index.html
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/index.html
diff --git a/resources/library/interactive/ord-phrases.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js b/resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js
diff --git a/resources/library/interactive/ord-phrases.wgt/template/scripts/jquery144.js b/resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/jquery144.js
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/template/scripts/jquery144.js
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/jquery144.js
diff --git a/resources/library/interactive/ord-phrases.wgt/template/scripts/template2.js b/resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/template2.js
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/template/scripts/template2.js
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/template/scripts/template2.js
diff --git a/resources/library/interactive/ord-phrases.wgt/template/styles/master.css b/resources/library/sankoreInteractivities/ord-phrases.wgt/template/styles/master.css
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/template/styles/master.css
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/template/styles/master.css
diff --git a/resources/library/interactive/ord-phrases.wgt/template/styles/of_puppets.css b/resources/library/sankoreInteractivities/ord-phrases.wgt/template/styles/of_puppets.css
similarity index 100%
rename from resources/library/interactive/ord-phrases.wgt/template/styles/of_puppets.css
rename to resources/library/sankoreInteractivities/ord-phrases.wgt/template/styles/of_puppets.css
diff --git a/resources/library/interactive/ord-words.wgt/config.xml b/resources/library/sankoreInteractivities/ord-words.wgt/config.xml
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/config.xml
rename to resources/library/sankoreInteractivities/ord-words.wgt/config.xml
diff --git a/resources/library/interactive/ord-words.wgt/icon.png b/resources/library/sankoreInteractivities/ord-words.wgt/icon.png
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/icon.png
rename to resources/library/sankoreInteractivities/ord-words.wgt/icon.png
diff --git a/resources/library/interactive/ord-words.wgt/index.html b/resources/library/sankoreInteractivities/ord-words.wgt/index.html
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/index.html
rename to resources/library/sankoreInteractivities/ord-words.wgt/index.html
diff --git a/resources/library/interactive/ord-words.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js b/resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js
rename to resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/jquery-ui-1.8.9.custom.min.js
diff --git a/resources/library/interactive/ord-words.wgt/template/scripts/jquery144.js b/resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/jquery144.js
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/template/scripts/jquery144.js
rename to resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/jquery144.js
diff --git a/resources/library/interactive/ord-words.wgt/template/scripts/template2.js b/resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/template2.js
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/template/scripts/template2.js
rename to resources/library/sankoreInteractivities/ord-words.wgt/template/scripts/template2.js
diff --git a/resources/library/interactive/ord-words.wgt/template/styles/master.css b/resources/library/sankoreInteractivities/ord-words.wgt/template/styles/master.css
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/template/styles/master.css
rename to resources/library/sankoreInteractivities/ord-words.wgt/template/styles/master.css
diff --git a/resources/library/interactive/ord-words.wgt/template/styles/of_puppets.css b/resources/library/sankoreInteractivities/ord-words.wgt/template/styles/of_puppets.css
similarity index 100%
rename from resources/library/interactive/ord-words.wgt/template/styles/of_puppets.css
rename to resources/library/sankoreInteractivities/ord-words.wgt/template/styles/of_puppets.css
diff --git a/resources/library/interactive/spl-phrase.wgt/config.xml b/resources/library/sankoreInteractivities/spl-phrase.wgt/config.xml
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/config.xml
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/config.xml
diff --git a/resources/library/interactive/spl-phrase.wgt/icon.png b/resources/library/sankoreInteractivities/spl-phrase.wgt/icon.png
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/icon.png
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/icon.png
diff --git a/resources/library/interactive/spl-phrase.wgt/index.html b/resources/library/sankoreInteractivities/spl-phrase.wgt/index.html
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/index.html
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/index.html
diff --git a/resources/library/interactive/spl-phrase.wgt/scripts/app.js b/resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/app.js
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/scripts/app.js
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/app.js
diff --git a/resources/library/interactive/spl-phrase.wgt/scripts/ext.js b/resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/ext.js
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/scripts/ext.js
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/ext.js
diff --git a/resources/library/interactive/spl-phrase.wgt/scripts/jquery144.js b/resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/jquery144.js
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/scripts/jquery144.js
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/jquery144.js
diff --git a/resources/library/interactive/spl-phrase.wgt/scripts/wcontainer.js b/resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/wcontainer.js
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/scripts/wcontainer.js
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/scripts/wcontainer.js
diff --git a/resources/library/interactive/spl-phrase.wgt/styles/app.css b/resources/library/sankoreInteractivities/spl-phrase.wgt/styles/app.css
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/styles/app.css
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/styles/app.css
diff --git a/resources/library/interactive/spl-phrase.wgt/styles/master.css b/resources/library/sankoreInteractivities/spl-phrase.wgt/styles/master.css
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/styles/master.css
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/styles/master.css
diff --git a/resources/library/interactive/spl-phrase.wgt/styles/separator-activated.png b/resources/library/sankoreInteractivities/spl-phrase.wgt/styles/separator-activated.png
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/styles/separator-activated.png
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/styles/separator-activated.png
diff --git a/resources/library/interactive/spl-phrase.wgt/styles/separator-hover.png b/resources/library/sankoreInteractivities/spl-phrase.wgt/styles/separator-hover.png
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/styles/separator-hover.png
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/styles/separator-hover.png
diff --git a/resources/library/interactive/spl-phrase.wgt/styles/wcontainer.css b/resources/library/sankoreInteractivities/spl-phrase.wgt/styles/wcontainer.css
similarity index 100%
rename from resources/library/interactive/spl-phrase.wgt/styles/wcontainer.css
rename to resources/library/sankoreInteractivities/spl-phrase.wgt/styles/wcontainer.css
diff --git a/resources/library/interactive/spl-text.wgt/config.xml b/resources/library/sankoreInteractivities/spl-text.wgt/config.xml
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/config.xml
rename to resources/library/sankoreInteractivities/spl-text.wgt/config.xml
diff --git a/resources/library/interactive/spl-text.wgt/icon.png b/resources/library/sankoreInteractivities/spl-text.wgt/icon.png
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/icon.png
rename to resources/library/sankoreInteractivities/spl-text.wgt/icon.png
diff --git a/resources/library/interactive/spl-text.wgt/index.html b/resources/library/sankoreInteractivities/spl-text.wgt/index.html
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/index.html
rename to resources/library/sankoreInteractivities/spl-text.wgt/index.html
diff --git a/resources/library/interactive/spl-text.wgt/scripts/app2.js b/resources/library/sankoreInteractivities/spl-text.wgt/scripts/app2.js
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/scripts/app2.js
rename to resources/library/sankoreInteractivities/spl-text.wgt/scripts/app2.js
diff --git a/resources/library/interactive/spl-text.wgt/scripts/ext.js b/resources/library/sankoreInteractivities/spl-text.wgt/scripts/ext.js
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/scripts/ext.js
rename to resources/library/sankoreInteractivities/spl-text.wgt/scripts/ext.js
diff --git a/resources/library/interactive/spl-text.wgt/scripts/jquery144.js b/resources/library/sankoreInteractivities/spl-text.wgt/scripts/jquery144.js
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/scripts/jquery144.js
rename to resources/library/sankoreInteractivities/spl-text.wgt/scripts/jquery144.js
diff --git a/resources/library/interactive/spl-text.wgt/scripts/wcontainer.js b/resources/library/sankoreInteractivities/spl-text.wgt/scripts/wcontainer.js
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/scripts/wcontainer.js
rename to resources/library/sankoreInteractivities/spl-text.wgt/scripts/wcontainer.js
diff --git a/resources/library/interactive/spl-text.wgt/styles/app.css b/resources/library/sankoreInteractivities/spl-text.wgt/styles/app.css
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/styles/app.css
rename to resources/library/sankoreInteractivities/spl-text.wgt/styles/app.css
diff --git a/resources/library/interactive/spl-text.wgt/styles/master.css b/resources/library/sankoreInteractivities/spl-text.wgt/styles/master.css
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/styles/master.css
rename to resources/library/sankoreInteractivities/spl-text.wgt/styles/master.css
diff --git a/resources/library/interactive/spl-text.wgt/styles/separator-activated.png b/resources/library/sankoreInteractivities/spl-text.wgt/styles/separator-activated.png
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/styles/separator-activated.png
rename to resources/library/sankoreInteractivities/spl-text.wgt/styles/separator-activated.png
diff --git a/resources/library/interactive/spl-text.wgt/styles/separator-hover.png b/resources/library/sankoreInteractivities/spl-text.wgt/styles/separator-hover.png
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/styles/separator-hover.png
rename to resources/library/sankoreInteractivities/spl-text.wgt/styles/separator-hover.png
diff --git a/resources/library/interactive/spl-text.wgt/styles/wcontainer.css b/resources/library/sankoreInteractivities/spl-text.wgt/styles/wcontainer.css
similarity index 100%
rename from resources/library/interactive/spl-text.wgt/styles/wcontainer.css
rename to resources/library/sankoreInteractivities/spl-text.wgt/styles/wcontainer.css
diff --git a/resources/library/interactive/spl-word.wgt/config.xml b/resources/library/sankoreInteractivities/spl-word.wgt/config.xml
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/config.xml
rename to resources/library/sankoreInteractivities/spl-word.wgt/config.xml
diff --git a/resources/library/interactive/spl-word.wgt/icon.png b/resources/library/sankoreInteractivities/spl-word.wgt/icon.png
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/icon.png
rename to resources/library/sankoreInteractivities/spl-word.wgt/icon.png
diff --git a/resources/library/interactive/spl-word.wgt/index.html b/resources/library/sankoreInteractivities/spl-word.wgt/index.html
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/index.html
rename to resources/library/sankoreInteractivities/spl-word.wgt/index.html
diff --git a/resources/library/interactive/spl-word.wgt/scripts/ext.js b/resources/library/sankoreInteractivities/spl-word.wgt/scripts/ext.js
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/scripts/ext.js
rename to resources/library/sankoreInteractivities/spl-word.wgt/scripts/ext.js
diff --git a/resources/library/interactive/spl-word.wgt/scripts/jquery-ui-1.8.9.custom.min.js b/resources/library/sankoreInteractivities/spl-word.wgt/scripts/jquery-ui-1.8.9.custom.min.js
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/scripts/jquery-ui-1.8.9.custom.min.js
rename to resources/library/sankoreInteractivities/spl-word.wgt/scripts/jquery-ui-1.8.9.custom.min.js
diff --git a/resources/library/interactive/spl-word.wgt/scripts/jquery144.js b/resources/library/sankoreInteractivities/spl-word.wgt/scripts/jquery144.js
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/scripts/jquery144.js
rename to resources/library/sankoreInteractivities/spl-word.wgt/scripts/jquery144.js
diff --git a/resources/library/interactive/spl-word.wgt/scripts/spl-word.js b/resources/library/sankoreInteractivities/spl-word.wgt/scripts/spl-word.js
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/scripts/spl-word.js
rename to resources/library/sankoreInteractivities/spl-word.wgt/scripts/spl-word.js
diff --git a/resources/library/interactive/spl-word.wgt/scripts/wcontainer.js b/resources/library/sankoreInteractivities/spl-word.wgt/scripts/wcontainer.js
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/scripts/wcontainer.js
rename to resources/library/sankoreInteractivities/spl-word.wgt/scripts/wcontainer.js
diff --git a/resources/library/interactive/spl-word.wgt/styles/master.css b/resources/library/sankoreInteractivities/spl-word.wgt/styles/master.css
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/styles/master.css
rename to resources/library/sankoreInteractivities/spl-word.wgt/styles/master.css
diff --git a/resources/library/interactive/spl-word.wgt/styles/separator-activated.png b/resources/library/sankoreInteractivities/spl-word.wgt/styles/separator-activated.png
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/styles/separator-activated.png
rename to resources/library/sankoreInteractivities/spl-word.wgt/styles/separator-activated.png
diff --git a/resources/library/interactive/spl-word.wgt/styles/separator-hover.png b/resources/library/sankoreInteractivities/spl-word.wgt/styles/separator-hover.png
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/styles/separator-hover.png
rename to resources/library/sankoreInteractivities/spl-word.wgt/styles/separator-hover.png
diff --git a/resources/library/interactive/spl-word.wgt/styles/spl-word.css b/resources/library/sankoreInteractivities/spl-word.wgt/styles/spl-word.css
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/styles/spl-word.css
rename to resources/library/sankoreInteractivities/spl-word.wgt/styles/spl-word.css
diff --git a/resources/library/interactive/spl-word.wgt/styles/wcontainer.css b/resources/library/sankoreInteractivities/spl-word.wgt/styles/wcontainer.css
similarity index 100%
rename from resources/library/interactive/spl-word.wgt/styles/wcontainer.css
rename to resources/library/sankoreInteractivities/spl-word.wgt/styles/wcontainer.css
diff --git a/src/board/UBLibraryController.cpp b/src/board/UBLibraryController.cpp
index 162c25ae..feea7f55 100644
--- a/src/board/UBLibraryController.cpp
+++ b/src/board/UBLibraryController.cpp
@@ -47,7 +47,7 @@ UBLibraryController::UBLibraryController(QWidget *pParentWidget, UBBoardControll
userPath(mPicturesStandardDirectoryPath);
mInteractiveUserDirectoryPath = QUrl::fromLocalFile(UBSettings::settings()->uniboardInteractiveUserDirectory());
-
+
createInternalWidgetItems();
}
@@ -292,6 +292,9 @@ QList UBLibraryController::addVirtualElementsForItemPath(const QS
content << listElementsInPath(path.toLocalFile());
content << listElementsInPath(UBSettings::settings()->uniboardDefaultUserImageLibraryDirectory());
}
+ else if (pPath == mInteractiveCategoryPath.toLocalFile()){
+ content << listElementsInPath(UBSettings::settings()->sankoreDistributedInteractiveDirectory());
+ }
return content;
}
diff --git a/src/core/UBSettings.cpp b/src/core/UBSettings.cpp
index 277b87bc..776e5e19 100644
--- a/src/core/UBSettings.cpp
+++ b/src/core/UBSettings.cpp
@@ -1109,6 +1109,22 @@ QString UBSettings::uniboardInteractiveUserDirectory()
}
+QString UBSettings::sankoreDistributedInteractiveDirectory()
+{
+ QString defaultRelativePath = QString("./library/sankoreInteractivities");
+
+ QString configPath = value("Library/DefaultUserImageDirectory", QVariant(defaultRelativePath)).toString();
+
+ if (configPath.startsWith("."))
+ {
+ return UBPlatformUtils::applicationResourcesDirectory() + configPath.right(configPath.size() - 1);
+ }
+ else
+ {
+ return configPath;
+ }
+}
+
QString UBSettings::uniboardInteractiveLibraryDirectory()
{
QString defaultRelativePath = QString("./library/interactive");
diff --git a/src/core/UBSettings.h b/src/core/UBSettings.h
index 3f240b53..d4720e66 100644
--- a/src/core/UBSettings.h
+++ b/src/core/UBSettings.h
@@ -109,6 +109,7 @@ class UBSettings : public QObject
QString uniboardInteractiveUserDirectory();
QString uniboardInteractiveLibraryDirectory();
QString uniboardInteractiveFavoritesDirectory();
+ QString sankoreDistributedInteractiveDirectory();
QString podcastRecordingDirectory();