diff --git a/main/admin/settings.php b/main/admin/settings.php index 9ca8b291e2..d8ea29e497 100644 --- a/main/admin/settings.php +++ b/main/admin/settings.php @@ -374,7 +374,7 @@ $action_images['plugins'] = 'plugin.gif'; $action_images['stylesheets'] = 'theme.gif'; $action_images['templates'] = 'template.gif'; $action_images['search'] = 'search.gif'; - +$action_images['editor'] = 'html.png'; // grabbing the categories //$selectcategories = "SELECT DISTINCT category FROM ".$table_settings_current." WHERE category NOT IN ('stylesheets','Plugins')"; diff --git a/main/inc/lib/fckeditor/myconfig.php b/main/inc/lib/fckeditor/myconfig.php index 057f8835b7..eaf1824682 100644 --- a/main/inc/lib/fckeditor/myconfig.php +++ b/main/inc/lib/fckeditor/myconfig.php @@ -66,9 +66,20 @@ // Then, you may modify the newly copied toolbar definitions at your will, just keep correct php-syntax. // It is not mandatory you to create custom files for all the toolbars. In case of missing file in the directory with the // custom toobar definitions the system would read the correspondent "factory" toolbar definition (form 'default' directory). -$config['ToolbarSets']['Directory'] = 'default'; -// You may try this provided example of custom toolbars: -//$config['ToolbarSets']['Directory'] = 'extended'; + + +// This is the visible toolbar set when the editor is maximized. +// If it has not been defined, then the toolbar set for the "normal" size is used. +// if do you prefer configure for each toolbar edit main/inc/lib/fckeditor/toolbars/ + +if ((api_get_setting('more_buttons_maximized_mode') == 'true')) +{ + $config['ToolbarSets']['Directory'] = 'extended'; +} +else +{ + $config['ToolbarSets']['Directory'] = 'default'; +} /* @@ -119,8 +130,15 @@ $config['LoadPlugin'][] = 'fckEmbedMovies'; $config['LoadPlugin'][] = 'flvPlayer'; // youtube : Adds a dilog for inserting YouTube video-streams. -if (api_is_allowed_to_edit() || api_is_platform_admin()) { // (not for students) +if ((api_get_setting('youtube_for_students') == 'true')) { + $config['LoadPlugin'][] = 'youtube'; + +} +else{ + if (api_is_allowed_to_edit() || api_is_platform_admin()) { // (not for students) + $config['LoadPlugin'][] = 'youtube'; + } } // googlemaps : Adds a dilog for inserting Google maps. @@ -136,8 +154,11 @@ $config['LoadPlugin'][] = 'googlemaps'; // mimetex : Adds a dilog for inserting mathematical formulas. In order this plugin to work prpoperly, preliminary changes // in your server configuration have to be done. The MimeTex executable file has to be installed, see the installation guide. // -// Uncomment the line below (remove the double slash at the beginning) to enable the 'mimetex' plugin: -//$config['LoadPlugin'][] = 'mimetex'; +if ((api_get_setting('math_mimetex') == 'true')) { + + $config['LoadPlugin'][] = 'mimetex'; +} + // // Some additional settings become active only when the 'mimetex' plugin has been enabled: // @@ -166,7 +187,11 @@ $config['MimetexExecutableDetectionTimeout'] = 0.05; // After enabling it, this plugin is configured to work with full-page html documents out-of-the box. // You may try it in the "Documents" and "Wiki" tools. // Browser compatibility: Internet Explorer 6.0+ with MathPlayer plugin, Mozilla Firefox 2.0+, Opera 9.5+ -//$config['LoadPlugin'][] = 'asciimath'; + +if ((api_get_setting('math_asciimathML') == 'true')) { + + $config['LoadPlugin'][] = 'asciimath'; +} // wikilink : Adds a dialog for inserting wiki-formatted links. $config['LoadPlugin'][] = 'wikilink'; @@ -279,6 +304,15 @@ $config['FontFormats'] = 'p;h1;h2;h3;h4;h5'; // A reduced format list. // for all browsers. You may disable or change it if you wish. $config['EditorAreaStyles'] = 'body { background-color: #ffffff; }'; +// A setting for blocking copy/paste functions of the editor. +// This setting activates on leaners only. For users with other statuses there is no blocking copy/paste. +// if do you prefer configure for each toolbar edit main/inc/lib/fckeditor/toolbars/ +if ((api_get_setting('block_copy_paste_for_students') == 'true')) +{ + + $config['BlockCopyPaste'] = true; +} + /* * Additional note: * For debugging purposes the editor may run using original source versions of its javascripts, not the "compressed" versions. diff --git a/main/install/dokeos_main.sql b/main/install/dokeos_main.sql index 5fb7184499..bad4dd71d7 100644 --- a/main/install/dokeos_main.sql +++ b/main/install/dokeos_main.sql @@ -644,7 +644,7 @@ VALUES ('service_ppt2lp', 'ftp_password', 'textfield', NULL, NULL, 'FtpPassword', NULL, NULL, NULL, 0), ('service_ppt2lp', 'path_to_lzx', 'textfield', NULL, NULL, '', NULL, NULL, NULL, 0), ('service_ppt2lp', 'size', 'radio', NULL, '720x540', '', NULL, NULL, NULL, 0), -('wcag_anysurfer_public_pages', NULL, 'radio','Platform','false','PublicPagesComplyToWAITitle','PublicPagesComplyToWAIComment', NULL, NULL, 0), +('wcag_anysurfer_public_pages', NULL, 'radio','Editor','false','PublicPagesComplyToWAITitle','PublicPagesComplyToWAIComment', NULL, NULL, 0), ('stylesheets', NULL, 'textfield','stylesheets','dokeos_blue','',NULL, NULL, NULL, 1), ('upload_extensions_list_type', NULL, 'radio', 'Security', 'blacklist', 'UploadExtensionsListType', 'UploadExtensionsListTypeComment', NULL, NULL, 0), ('upload_extensions_blacklist', NULL, 'textfield', 'Security', '', 'UploadExtensionsBlacklist', 'UploadExtensionsBlacklistComment', NULL, NULL, 0), @@ -716,7 +716,7 @@ VALUES ('course_create_active_tools','survey','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Survey', 0), ('course_create_active_tools','glossary','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Glossary', 0), ('course_create_active_tools','notebook','checkbox','Tools','true','CourseCreateActiveToolsTitle','CourseCreateActiveToolsComment',NULL,'Notebook', 0), -('advanced_filemanager',NULL,'radio','Platform','false','AdvancedFileManagerTitle','AdvancedFileManagerComment',NULL,NULL, 0), +('advanced_filemanager',NULL,'radio','Editor','false','AdvancedFileManagerTitle','AdvancedFileManagerComment',NULL,NULL, 0), ('allow_reservation', NULL, 'radio', 'Tools', 'false', 'AllowReservationTitle', 'AllowReservationComment', NULL, NULL, 0), ('profile','apikeys','checkbox','User','false','ProfileChangesTitle','ProfileChangesComment',NULL,'ApiKeys', 0), ('allow_message_tool', NULL, 'radio', 'Tools', 'false', 'AllowMessageToolTitle', 'AllowMessageToolComment', NULL, NULL,0), @@ -735,7 +735,13 @@ VALUES ('show_glossary_in_extra_tools', NULL, 'radio', 'Course', 'false', 'ShowGlossaryInExtraToolsTitle', 'ShowGlossaryInExtraToolsComment', NULL, NULL,1), ('dokeos_database_version', NULL, 'textfield', NULL,'1.8.6.2.9070','DokeosDatabaseVersion','',NULL,NULL,0), ('send_email_to_admin_when_create_course',NULL,'radio','Platform','false','SendEmailToAdminTitle','SendEmailToAdminComment',NULL,NULL, 1), -('go_to_course_after_login',NULL,'radio','Course','false','GoToCourseAfterLoginTitle','GoToCourseAfterLoginComment',NULL,NULL, 0); +('go_to_course_after_login',NULL,'radio','Course','false','GoToCourseAfterLoginTitle','GoToCourseAfterLoginComment',NULL,NULL, 0), +('math_mimetex',NULL,'radio','Editor','false','MathMimetexTitle','MathMimetexComment',NULL,NULL, 0), +('math_asciimathML',NULL,'radio','Editor','false','MathASCIImathMLTitle','MathASCIImathMLComment',NULL,NULL, 0), +('youtube_for_students',NULL,'radio','Editor','true','YoutubeForStudentsTitle','YoutubeForStudentsComment',NULL,NULL, 0), +('block_copy_paste_for_students',NULL,'radio','Editor','false','BlockCopyPasteForStudentsTitle','BlockCopyPasteForStudentsComment',NULL,NULL, 0), +('more_buttons_maximized_mode',NULL,'radio','Editor','false','MoreButtonsForMaximizedModeTitle','MoreButtonsForMaximizedModeComment',NULL,NULL, 0); + UNLOCK TABLES; /*!40000 ALTER TABLE settings_current ENABLE KEYS */; @@ -924,7 +930,17 @@ VALUES ('send_email_to_admin_when_create_course','true','Yes'), ('send_email_to_admin_when_create_course','false','No'), ('go_to_course_after_login','true','Yes'), -('go_to_course_after_login','false','No'); +('go_to_course_after_login','false','No'), +('math_mimetex','true','Yes'), +('math_mimetex','false','No'), +('math_asciimathML','true','Yes'), +('math_asciimathML','false','No'), +('youtube_for_students','true','Yes'), +('youtube_for_students','false','No'), +('block_copy_paste_for_students','true','Yes'), +('block_copy_paste_for_students','false','No'), +('more_buttons_maximized_mode','true','Yes'), +('more_buttons_maximized_mode','false','No'); UNLOCK TABLES; diff --git a/main/lang/asturian/admin.inc.php b/main/lang/asturian/admin.inc.php index 18320a20fc..5cd3cebc93 100644 --- a/main/lang/asturian/admin.inc.php +++ b/main/lang/asturian/admin.inc.php @@ -979,6 +979,7 @@ $SoberBrown = "Marr $SteelGrey = "Gris aceru"; $TastyOlive = "Sabor oliva"; $AddNews = "Criar anunciu"; +$ExportCourses = "Esportar cursos"; $SearchDatabaseOpeningError = "Nun pudo abrise la base de datos del motor d\'indexαu, preba a amestar un recursu nuevu (exerciciu, enllaz, lleiciσn, etc) el cual serα indexαu al guetador"; $SearchDatabaseVersionError = "La base de datos ta nun formatu nun sofitαu"; $SearchDatabaseModifiedError = "La base de datos foi camudada"; @@ -1096,4 +1097,8 @@ $ShowGlossaryInExtraToolsComment = "Dende equ $FieldTypeTag = "Etiqueta d\'usuariu"; $SendEmailToAdminTitle = "Avisu por corrιu electrσnicu, de la criaciσn d\'un cursu nuevu"; $SendEmailToAdminComment = "Unviar un corrιu electrσnicu al alministrador de la plataforma, cada vegada qu\'un mayestru crie un cursu nuevu"; +$UserTag = "Etiqueta d\'usuariu"; +$SelectSession = "Seleicionar sesiσn"; +$GroupPermissions = "Permisos del grupu"; +$SpecialCourse = "Cursu especial"; ?> \ No newline at end of file diff --git a/main/lang/asturian/course_home.inc.php b/main/lang/asturian/course_home.inc.php index 1d1e854fe2..a7bca0308f 100644 --- a/main/lang/asturian/course_home.inc.php +++ b/main/lang/asturian/course_home.inc.php @@ -27,4 +27,5 @@ $IntroductionTextDeleted = "Testu d\'entamu esborr $SessionIdentifier = "Identificador de la sesiσn"; $SessionName = "Nome de la sesiσn"; $SessionCategory = "Categorνa de la sesiσn"; +$SessionData = "Datos de la sesiσn"; ?> \ No newline at end of file diff --git a/main/lang/asturian/slideshow.inc.php b/main/lang/asturian/slideshow.inc.php old mode 100755 new mode 100644 index 3ebfa57e35..a843623c76 --- a/main/lang/asturian/slideshow.inc.php +++ b/main/lang/asturian/slideshow.inc.php @@ -18,4 +18,6 @@ $lang_next_slide = "Diapositiva siguiente"; $lang_image = "Imaxe"; $lang_of = "de"; $lang_view_slideshow = "Ver presentaciσn"; +$FirstSlide = "Primer diapositiva"; +$LastSlide = "Cabera diapositiva"; ?> \ No newline at end of file diff --git a/main/lang/asturian/userInfo.inc.php b/main/lang/asturian/userInfo.inc.php index feb6de9dab..3542d3ceed 100644 --- a/main/lang/asturian/userInfo.inc.php +++ b/main/lang/asturian/userInfo.inc.php @@ -92,4 +92,6 @@ $SendInvitation = "Unviar invitaci $SocialInvitationToFriends = "Invitar a xunise a la mio rede de collacios"; $MyCertificates = "Los mios certificaos"; $ToChangeYourEmailMustTypeYourPassword = "Pa camudar el to corrιu electrσnicu tienes qu\'escribir la to contraseρa"; +$Invitations = "Invitaciones"; +$MyGroups = "Los mios grupos"; ?> \ No newline at end of file diff --git a/main/lang/english/admin.inc.php b/main/lang/english/admin.inc.php index 741ea35a30..a8f00e2d9a 100644 --- a/main/lang/english/admin.inc.php +++ b/main/lang/english/admin.inc.php @@ -1100,4 +1100,19 @@ $SendEmailToAdminComment = "Send an email to administardor of the platform, each $UserTag = "User tag"; $SelectSession = "Select session"; $GroupPermissions = "Group Permissions"; +$SpecialCourse = "Special course"; +$MathMimetexTitle = "mimeTEX mathematical editor"; +$MathMimetexComment = "Enable mimeTeX mathematical editor"; +$MathASCIImathMLTitle = "SCIImathML mathematical editor"; +$MathASCIImathMLComment = "Enable SCIImathML mathematical editor"; +$YoutubeForStudentsTitle = "Allow students to insert videos from YouTube"; +$YoutubeForStudentsComment = "Enable the possibility that students can insert Youtube videos"; +$BlockCopyPasteForStudentsTitle = "Block students copy and paste"; +$BlockCopyPasteForStudentsComment = "Block students the ability to copy and paste into the WYSIWYG editor"; +$MoreButtonsForMaximizedModeTitle = "Buttons bar extended"; +$MoreButtonsForMaximizedModeComment = "Enable button bars extended when the WYSIWYG editor is maximized"; +$Editor = "WYSIWYG Editor"; +$GoToCourseAfterLoginTitle = "Go directly to the course after login"; +$GoToCourseAfterLoginComment = "When a user is registered in one course, go directly to the course after login"; +$GroupList = "Group List"; ?> \ No newline at end of file diff --git a/main/lang/greek/accessibility.inc.php b/main/lang/greek/accessibility.inc.php old mode 100755 new mode 100644 index 410d713f7a..680110da69 --- a/main/lang/greek/accessibility.inc.php +++ b/main/lang/greek/accessibility.inc.php @@ -2,12 +2,13 @@ for more information: see languages.txt in the lang folder. */ $langClarContent = "Εδώ, καθηγητές και βοηθοί δημιουργούν και διαχειρίζονται τους δικτυακούς τόπους των μαθημάτων τους. Οι φοιτητές μπορούν να διαβάσουν τα έγγραφα, τα προγράμματα, την ατζέντα, κλπ., να κάνουν ασκήσεις, να δημοσιεύσουν εργασίες, να συμμετάσχουν σε συζητήσεις, κ.α.
Εγγραφή
Αν είστε φοιτητής, θα πρέπει να εγγραφείτε επιλέγοντας «Παρακολούθηση μαθημάτων», και μετά να επιλέξετε τα μαθήματα που επιθυμείτε να παρακολουθήσετε.
Αν είστε καθηγητής ή βοηθός, θα πρέπει και πάλι να εγγραφείτε, επιλέγοντας όμως «Δημιουργία μαθημάτων». Στη συνέχεια, θα συμπληρώσετε μια φόρμα με τα στοιχεία του μαθήματός σας: τίτλο και κωδικό μαθήματος και σχολή/τμήμα που ανήκει. Μόλις επικυρώσετε τα στοιχεία αυτά, θα μεταφερθείτε στη σελίδα που μόλις θα έχει δημιουργηθεί για το μάθημα, και θα μπορείτε να αλλάξετε τα περιεχόμενά και την οργάνωσή της ανάλογα με τις ανάγκες σας.
Αν η σελίδα αυτή δεν ανταποκρίνεται στις ανάγκες σας, παρακαλούμε ενημερώστε μας μέσω της λίστας «Να γίνουν», που εμφανίζεται στην αρχική σελίδα της τάξης "; -$test = "test"; +$test = "τεστ"; $WCAGImage = "Εικόνα"; $WCAGLabel = "Τίτλος εικόνας"; $WCAGLink = "Σύνδεσμος"; $WCAGLinkLabel = "Τίτλος Συνδέσμου"; $errorNoLabel = "Κανένας τίτλος για αυτή την εικόνα."; +$AllLanguages = "όλες οι γλώσσες"; $WCAGEditor = "WCAG Editor"; $WCAGGoMenu = "Μενού μετάβασης"; $WCAGGoContent = "Περιεχόμενο μετάβασης"; diff --git a/main/lang/italian/admin.inc.php b/main/lang/italian/admin.inc.php index 2f13ea5c0a..df36582705 100644 --- a/main/lang/italian/admin.inc.php +++ b/main/lang/italian/admin.inc.php @@ -979,6 +979,7 @@ $SoberBrown = "Sober brown"; $SteelGrey = "Steel grey"; $TastyOlive = "Tasty olive"; $AddNews = "Aggiungi avvisi"; +$ExportCourses = "Esporta corsi"; $SearchDatabaseOpeningError = "Non θ possibile accedere al database di indicizzazione dei contenuti"; $SearchDatabaseVersionError = "Il formato del database non θ supportato"; $SearchDatabaseModifiedError = "Database di indicizzazione modificato"; @@ -1097,4 +1098,7 @@ $FieldTypeTag = "Tag utente"; $SendEmailToAdminTitle = "Avviso della creazione di un nuovo corso tramite e-mail"; $SendEmailToAdminComment = "Ogni volta che un docente crea un nuovo corso, verrΰ inviata un\'e-mail all\'amministratore"; $UserTag = "Etichetta utente"; +$SelectSession = "Seleziona la sessione"; +$GroupPermissions = "Permessi del gruppo"; +$SpecialCourse = "Corso speciale"; ?> \ No newline at end of file diff --git a/main/lang/italian/course_home.inc.php b/main/lang/italian/course_home.inc.php index b0cf7cc619..51c1c3a680 100644 --- a/main/lang/italian/course_home.inc.php +++ b/main/lang/italian/course_home.inc.php @@ -27,4 +27,5 @@ $IntroductionTextDeleted = "Testo introduttivo eliminato"; $SessionIdentifier = "Identificatore della sessione"; $SessionName = "Nome della sessione"; $SessionCategory = "Categoria della sessione"; +$SessionData = "Dati della sessione"; ?> \ No newline at end of file diff --git a/main/lang/italian/slideshow.inc.php b/main/lang/italian/slideshow.inc.php old mode 100755 new mode 100644 index 88b6b9bd02..475412de44 --- a/main/lang/italian/slideshow.inc.php +++ b/main/lang/italian/slideshow.inc.php @@ -18,4 +18,6 @@ $lang_next_slide = "Prossima Diapositiva"; $lang_image = "Immagine"; $lang_of = "di"; $lang_view_slideshow = "Mostra presentazione"; +$FirstSlide = "Prima diapositiva"; +$LastSlide = "Ultima diapositiva"; ?> \ No newline at end of file diff --git a/main/lang/italian/userInfo.inc.php b/main/lang/italian/userInfo.inc.php index a840882207..e00beb6c35 100644 --- a/main/lang/italian/userInfo.inc.php +++ b/main/lang/italian/userInfo.inc.php @@ -92,4 +92,6 @@ $SendInvitation = "Manda un invito"; $SocialInvitationToFriends = "Invita ad unirsi al mio gruppo di amici"; $MyCertificates = "Il mio certificato"; $ToChangeYourEmailMustTypeYourPassword = "Per cambiare l\'indirizzo e-mail devi riscrivere la password"; +$Invitations = "Inviti"; +$MyGroups = "I miei gruppi"; ?> \ No newline at end of file diff --git a/main/lang/spanish/admin.inc.php b/main/lang/spanish/admin.inc.php index 66eefba7f5..5bbd2d82e8 100644 --- a/main/lang/spanish/admin.inc.php +++ b/main/lang/spanish/admin.inc.php @@ -1100,4 +1100,19 @@ $SendEmailToAdminComment = "Enviar un correo electr $UserTag = "Etiqueta de usuario"; $SelectSession = "Seleccionar sesiσn"; $GroupPermissions = "Permisos del grupo"; +$SpecialCourse = "Curso especial"; +$MathMimetexTitle = "Editor matemαtico mimeTEX"; +$MathMimetexComment = "Habilitar el editor matemαtico mimeTEX"; +$MathASCIImathMLTitle = "Editor matemαtico SCIImathML"; +$MathASCIImathMLComment = "Habilitar el editor matemαtico SCIImathML"; +$YoutubeForStudentsTitle = "Permitir a los estudiantes insertar videos de YouTube"; +$YoutubeForStudentsComment = "Habilitar la posibilidad de que los estudiantes puedan insertar videos de Youtube"; +$BlockCopyPasteForStudentsTitle = "Bloquear a los estudiantes copiar y pegar"; +$BlockCopyPasteForStudentsComment = "Bloquear a los estudiantes la posibilidad de copiar y pegar en el editor WYSIWYG"; +$MoreButtonsForMaximizedModeTitle = "Barras de botones extendidas"; +$MoreButtonsForMaximizedModeComment = "Habilitar las barras de botones extendidas cuando el editor WYSIWYG estα maximizado"; +$Editor = "Editor WYSIWYG"; +$GoToCourseAfterLoginTitle = "Ir directamente al curso tras identificarse"; +$GoToCourseAfterLoginComment = "Cuando un usuario estα inscrito sσlamente en un curso, ir directamente al curso despϊes de identificarse"; +$GroupList = "Lista de grupos"; ?> \ No newline at end of file diff --git a/main/lang/spanish/trad4all.inc.php b/main/lang/spanish/trad4all.inc.php index fa0da7dfc1..7c7f2f9078 100644 --- a/main/lang/spanish/trad4all.inc.php +++ b/main/lang/spanish/trad4all.inc.php @@ -291,7 +291,7 @@ $Documents = "Documentos"; $DocumentAdded = "Documento aρadido"; $DocumentUpdated = "Documento actualizado"; $DocumentInFolderUpdated = "Documento actualizado en la carpeta"; -$Course_description = "Descripciσn"; +$Course_description = "Descripciσn del curso"; $Calendar_event = "Agenda"; $Document = "Documentos"; $Learnpath = "Lecciones"; diff --git a/main/lang/spanish/wiki.inc.php b/main/lang/spanish/wiki.inc.php index 74b9687167..3ab7c132e2 100644 --- a/main/lang/spanish/wiki.inc.php +++ b/main/lang/spanish/wiki.inc.php @@ -122,7 +122,7 @@ $AssignmentDescExtra = "Esta p $AssignmentWorkExtra = "Esta pαgina es el trabajo de un alumno"; $NoAreSeeingTheLastVersion = "Atenciσn no esta viendo la ϊltima versiσn de la pαgina"; $AssignmentFirstComToStudent = "Modifica esta pαgina para realizar tu tarea sobre la tarea propuesta"; -$AssignmentLinkstoStudentsPage = "Acceso a las tareas realizadas por los alumnos sobre la tarea propuesta en esta pαgina"; +$AssignmentLinkstoStudentsPage = "Acceso a las pαginas de los alumnos"; $AllowLaterSends = "Permitir envνos retrasados"; $WikiStandBy = "El Wiki estα a la espera de que un profesor lo inicialice"; $NotifyDiscussByEmail = "La notificacion por correo electrσnico de nuevos comentarios sobre la pαgina estα habilitada";