Skip to content

Commit

Permalink
3.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
osmangandon committed Sep 14, 2020
1 parent ee52771 commit e9f57a7
Show file tree
Hide file tree
Showing 52 changed files with 1,649 additions and 6 deletions.
23 changes: 18 additions & 5 deletions egr/gr/papan_tulis.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,25 @@



//nek enter, ke simpan
$x_enter = 'onKeyDown="var keyCode = event.keyCode;
if (keyCode == 13)


//nilai folder //////////////////////////////////////////////////////////////
$path1 = "../../filebox/materi/$gmkd";
$path2x = "../../filebox/materi";



//cek, sudah ada belum folder-nya...
if (!file_exists($path1))
{
document.formx.btnSMP.focus();
}"';
chmod("$path2x",0777);
mkdir("$path1", 0777, true);
chmod("$path2x",0755);
chmod("$path1",0755);
}






Expand Down
1 change: 1 addition & 0 deletions inc/class/ckeditor/build-config.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ var CKBUILDER_CONFIG = {
'uploadimage' : 1,
'wsc' : 1,
'wysiwygarea' : 1
'youtube' : 1
},
languages : {
'en' : 1,
Expand Down
15 changes: 15 additions & 0 deletions inc/class/ckeditor/config.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,22 @@ CKEDITOR.editorConfig = function( config ) {




config.extraPlugins = 'youtube';
config.youtube_height = '480';
config.youtube_responsive = true;
config.youtube_older = false;
config.youtube_autoplay = true;
config.youtube_controls = true;


config.extraPlugins = 'FMathEditor';
config.extraPlugins = 'html5audio';




config.extraPlugins = 'FMathEditor,html5audio,youtube';



Expand Down
152 changes: 152 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/dialogs/html5audio.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,152 @@
CKEDITOR.dialog.add( 'html5audio', function( editor ) {
return {
title: editor.lang.html5audio.title,
minWidth: 500,
minHeight: 100,
contents: [ {
id: 'info',
label: editor.lang.html5audio.infoLabel,
elements: [ {
type: 'vbox',
padding: 0,
children: [ {
type: 'hbox',
widths: [ '365px', '110px' ],
align: 'right',
children: [ {
type: 'text',
id: 'url',
label: editor.lang.common.url,
required: true,
validate: CKEDITOR.dialog.validate.notEmpty( editor.lang.html5audio.urlMissing ),
setup: function( widget ) {
this.setValue( widget.data.src );
},
commit: function( widget ) {
widget.setData( 'src', this.getValue() );
}
},
{
type: 'button',
id: 'browse',
// v-align with the 'txtUrl' field.
// TODO: We need something better than a fixed size here.
style: 'display:inline-block;margin-top:14px;',
align: 'center',
label: editor.lang.common.browseServer,
hidden: true,
filebrowser: 'info:url'
} ]
} ]
},
{
type: 'hbox',
id: 'alignment',
children: [ {
type: 'radio',
id: 'align',
label: editor.lang.common.align,
items: [
[editor.lang.common.alignCenter, 'center'],
[editor.lang.common.alignLeft, 'left'],
[editor.lang.common.alignRight, 'right'],
[editor.lang.common.alignNone, 'none']
],
'default': 'center',
setup: function( widget ) {
if ( widget.data.align ) {
this.setValue( widget.data.align );
}
},
commit: function( widget ) {
widget.setData( 'align', this.getValue() );
}
} ]
} ]
},
{
id: 'Upload',
hidden: true,
filebrowser: 'uploadButton',
label: editor.lang.html5audio.upload,
elements: [ {
type: 'file',
id: 'upload',
label: editor.lang.html5audio.btnUpload,
style: 'height:40px',
size: 38
},
{
type: 'fileButton',
id: 'uploadButton',
filebrowser: 'info:url',
label: editor.lang.html5audio.btnUpload,
'for': [ 'Upload', 'upload' ]
} ]
},
{
id: 'advanced',
label: editor.lang.html5audio.advanced,
elements: [ {
type: 'vbox',
padding: 10,
children: [ {
type: 'hbox',
children: [ {
type: 'radio',
id: 'autoplay',
label: editor.lang.html5audio.autoplay,
items: [
[editor.lang.html5audio.yes, 'yes'],
[editor.lang.html5audio.no, 'no']
],
'default': 'no',
setup: function( widget ) {
if ( widget.data.autoplay ) {
this.setValue( widget.data.autoplay );
}
},
commit: function( widget ) {
widget.setData( 'autoplay', this.getValue() );
}
},
{
type: 'radio',
id: 'allowdownload',
label: editor.lang.html5audio.allowdownload,
items: [
[editor.lang.html5audio.yes, 'yes'],
[editor.lang.html5audio.no, 'no']
],
'default': 'no',
setup: function( widget ) {
if ( widget.data.allowdownload ) {
this.setValue(widget.data.allowdownload);
}
},
commit: function( widget ) {
widget.setData( 'allowdownload', this.getValue() );
}
} ]
},
{
type: 'hbox',
children: [ {
type: "text",
id: 'advisorytitle',
label: editor.lang.html5audio.advisorytitle,
'default': '',
setup: function( widget ) {
if ( widget.data.advisorytitle ) {
this.setValue(widget.data.advisorytitle);
}
},
commit: function( widget ) {
widget.setData( 'advisorytitle', this.getValue() );
}
} ]
} ]
} ]
} ]
};
} );
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/bg.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'bg', {
button: 'Вмъква HTML5 аудио',
title: 'HTML5 аудио',
infoLabel: 'Аудио',
urlMissing: 'URL адресът на източника на аудио липсва.',
audioProperties: 'Свойства на аудио',
upload: 'Качване',
btnUpload: 'Изпрати на сървъра',
advanced: 'Разширено',
autoplay: 'Автоматично изпълнение',
allowdownload: 'Позволено изтегляне?',
advisorytitle: 'Заглавие',
yes: 'Да',
no: 'Не'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/ca.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'ca', {
button: "Insereix un àudio HTML5",
title: "Àudio HTML5",
infoLabel: "Informació de l'àudio",
urlMissing: "Falta l'URL d'origen d'àudio.",
audioProperties: "Propietats de l'àudio",
upload: "Pujar",
btnUpload: "Envia-lo al servidor",
advanced: "Avançat",
autoplay: "Reproducció automàtica?",
allowdownload: "Permet la descàrrega?",
advisorytitle: 'Advisory title',
yes: "Sí",
no: "No"
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/de.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'de', {
button: 'HTML5 Audio einfügen',
title: 'HTML5 Audio',
infoLabel: 'Audio Infos',
urlMissing: 'Sie haben keine URL zur Audio-Datei angegeben.',
audioProperties: 'Audio-Einstellungen',
upload: 'Hochladen',
btnUpload: 'Zum Server senden',
advanced: 'Erweitert',
autoplay: 'Autoplay?',
allowdownload: 'Download zulassen?',
advisorytitle: 'Titel Beschreibung',
yes: 'Ja',
no: 'Nein'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/el.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'el', {
button: 'Προσθέστε HTML5 ήχο',
title: 'HTML5 ήχος',
infoLabel: 'Πληροφορίες ήχου',
urlMissing: 'Η πηγή URL ήχου απουσιάζει.',
audioProperties: 'Ιδιότητες ήχου',
upload: 'Upload',
btnUpload: 'Αποστολή στον διακομιστή',
advanced: 'Προχωρημένα',
autoplay: 'Αυτόματη αναπαραγωγή;',
allowdownload: 'Επιτρέψτε τη λήψη;',
advisorytitle: 'Advisory title',
yes: 'Ναι',
no: 'Όχι'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/en.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'en', {
button: 'Insert HTML5 audio',
title: 'HTML5 audio',
infoLabel: 'Audio info',
urlMissing: 'Audio source URL is missing.',
audioProperties: 'Audio properties',
upload: 'Upload',
btnUpload: 'Send it to the server',
advanced: 'Advanced',
autoplay: 'Autoplay?',
allowdownload: 'Allow download?',
advisorytitle: 'Advisory title',
yes: 'Yes',
no: 'No'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/es.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'es', {
button: 'Insertar audio HTML5',
title: 'Audio HTML5',
infoLabel: 'Información del audio',
urlMissing: 'La URL del audio no puede estar vacia.',
audioProperties: 'Propiedades del audio',
upload: 'Cargar',
btnUpload: 'Enviar al servidor',
advanced: 'Avanzado',
autoplay: '¿Reproducir automáticamente?',
allowdownload: '¿Permitir la descarga?',
advisorytitle: 'Advisory title',
yes: 'Si',
no: 'No'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/eu.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'eu', {
button: 'Txertatu HTML5 audioa',
title: 'HTML5 audioa',
infoLabel: 'Audioaren informazioa',
urlMissing: 'Audioaren URLak ezin du hutsik egon.',
audioProperties: 'Audioaren propietateak',
upload: 'Kargatu',
btnUpload: 'Bidali zerbitzarira',
advanced: 'Aurreratua',
autoplay: 'Automatikoki erreproduzitu?',
allowdownload: 'Baimendu deskargatzea?',
advisorytitle: 'Argibidea',
yes: 'Bai',
no: 'Ez'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/fa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'fa', {
button: 'اضافه کردن فایل صوتی',
title: 'اضافه کردن فایل صوتی به شکل HTML5',
infoLabel: 'اطلاعات فایل صوتی',
urlMissing: 'آدرس منبع فایل صوتی یافت نشد.',
audioProperties: 'ویژگی‌های فایل صوتی',
upload: 'بارگذاری',
btnUpload: 'ارسال به سرور',
advanced: 'تنظیمات پیشرفته',
autoplay: 'پخش خودکار؟',
allowdownload: 'دانلود؟',
advisorytitle: 'Advisory title',
yes: 'بله',
no: 'خیر'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/fr.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'fr', {
button: 'Insérer un lecteur audio HTML5',
title: 'HTML5 audio',
infoLabel: 'Informations audio',
urlMissing: 'URL de la source audio manquante. Veuillez la renseigner.',
audioProperties: 'Propriétés Audio',
upload: 'Télécharger',
btnUpload: 'Envoyer vers le serveur',
advanced: 'Avancé',
autoplay: 'Jouer automatiquement ?',
allowdownload: 'Autoriser le téléchargement ?',
advisorytitle: 'Infobulle',
yes: 'Oui',
no: 'Non'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/ru.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'ru', {
button: 'Вставить HTML5 аудио',
title: 'HTML5 аудио',
infoLabel: 'Аудио',
urlMissing: 'Не выбран источник аудио',
audioProperties: 'Свойства аудио',
upload: 'Загрузить',
btnUpload: 'Загрузить на сервер',
advanced: 'Дополнительно',
autoplay: 'Автовоспроизведение',
allowdownload: 'Разрешить загрузку',
advisorytitle: 'Заголовок',
yes: 'Да',
no: 'Нет'
} );
15 changes: 15 additions & 0 deletions inc/class/ckeditor/plugins/html5audio/lang/uk.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
CKEDITOR.plugins.setLang( 'html5audio', 'uk', {
button: 'Вставити HTML5 аудіо',
title: 'HTML5 аудіо',
infoLabel: 'Інформація',
urlMissing: 'Не обрано джерела аудіо',
audioProperties: 'Властивості аудіо',
upload: 'Відвантажити',
btnUpload: 'Відвантажити на сервер',
advanced: 'Додатково',
autoplay: 'Автовідтворення?',
allowdownload: 'Дозволити завантаження?',
advisorytitle: 'Заголовок',
yes: 'Так',
no: 'Ні'
} );

0 comments on commit e9f57a7

Please sign in to comment.