first commit

This commit is contained in:
salam committed 2026-10-19 08:18:39 +02:00
commit 1218dd1517
12716 files changed
+989233

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 861 B

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><path fill="#FF5E49" d="M0 0h64v64H0V0z"/><circle fill="#FFF" cx="32" cy="32" r="13.3"/><path fill="#FF5E49" d="M39 32l-11-6.4v12.8z"/><path opacity=".5" fill="#FFF" d="M23.2 12.7l1.5 2.6c1.7-.7 3.5-1.2 5.3-1.4v-3c-2.4.2-4.7.8-6.8 1.8zM17.3 21.2c1.1-1.5 2.4-2.8 3.9-3.9l-1.5-2.6c-1.9 1.4-3.6 3.1-5 5l2.6 1.5zM13.9 30c.2-1.9.7-3.7 1.4-5.3l-2.6-1.5c-1 2.1-1.6 4.4-1.8 6.8h3zM17.3 42.8l-2.6 1.5c1.4 1.9 3.1 3.6 5 5l1.5-2.6c-1.5-1.1-2.8-2.4-3.9-3.9z"/><path fill="#FFF" d="M34 10.9v3c9.1 1 16.3 8.7 16.3 18.1S43.1 49.1 34 50.1v3C44.8 52.1 53.3 43 53.3 32S44.8 11.9 34 10.9z"/><path opacity=".5" fill="#FFF" d="M15.3 39.3c-.7-1.7-1.2-3.5-1.4-5.3h-3c.2 2.4.9 4.7 1.8 6.8l2.6-1.5zM30 50.1c-1.9-.2-3.7-.7-5.3-1.4l-1.5 2.6c2.1 1 4.4 1.6 6.8 1.8v-3z"/></svg>

After

Width:  |  Height:  |  Size: 808 B

@@ -0,0 +1,30 @@
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
/**
* Module: TYPO3/CMS/Scheduler/PageBrowser
* Javascript for adding links for calling the page browser pop up
*/
define(['jquery'], function($) {
'use strict';
$(document).on('click', '.t3js-pageBrowser', function() {
var $this = $(this),
browserWin = "",
pageUrl = $this.data('url');
browserWin = window.open(pageUrl, "Typo3WinBrowser", "height=650,width=800,status=0,menubar=0,resizable=1,scrollbars=1");
browserWin.focus();
});
});
@@ -0,0 +1,192 @@
/*
* This file is part of the TYPO3 CMS project.
*
* It is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License, either version 2
* of the License, or any later version.
*
* For the full copyright and license information, please read the
* LICENSE.txt file that was distributed with this source code.
*
* The TYPO3 project - inspiring people to share!
*/
/**
* Module: TYPO3/CMS/Scheduler/Scheduler
*/
define(['jquery',
'TYPO3/CMS/Backend/SplitButtons',
'datatables'
], function($, SplitButtons) {
/**
*
* @type {{}}
* @exports TYPO3/CMS/Scheduler/Scheduler
*/
var Scheduler = {};
var allCheckedStatus = false;
/**
* This method reacts on changes to the task class
* It switches on or off the relevant extra fields
*
* @param {Object} theSelector
*/
Scheduler.actOnChangedTaskClass = function(theSelector) {
var taskClass = theSelector.val();
taskClass = taskClass.toLowerCase().replace(/\\/g, '-');
// Hide all extra fields
$('.extraFields').hide();
// Show only relevant extra fields
$('.extra_fields_' + taskClass).show();
};
/**
* This method reacts on changes to the type of a task, i.e. single or recurring
*/
Scheduler.actOnChangedTaskType = function() {
Scheduler.toggleFieldsByTaskType($(this).val());
};
/**
* This method reacts on field changes of all table field for table garbage collection task
*
* @param {Object} theCheckbox
*/
Scheduler.actOnChangeSchedulerTableGarbageCollectionAllTables = function(theCheckbox) {
var $numberOfDays = $('#task_tableGarbageCollection_numberOfDays');
var $taskTableGarbageCollectionTable = $('#task_tableGarbageCollection_table');
if (theCheckbox.prop('checked')) {
$taskTableGarbageCollectionTable.prop('disabled', true);
$numberOfDays.prop('disabled', true);
} else {
// Get number of days for selected table
var numberOfDays = parseInt($numberOfDays.val());
if (numberOfDays < 1) {
var selectedTable = $taskTableGarbageCollectionTable.val();
if (typeof(defaultNumberOfDays[selectedTable]) !== 'undefined') {
numberOfDays = defaultNumberOfDays[selectedTable];
}
}
$taskTableGarbageCollectionTable.prop('disabled', false);
if (numberOfDays > 0) {
$numberOfDays.prop('disabled', false);
}
}
};
/**
* This methods set the 'number of days' field to the default expire period
* of the selected table
*
* @param {Object} theSelector
*/
Scheduler.actOnChangeSchedulerTableGarbageCollectionTable = function(theSelector) {
var $numberOfDays = $('#task_tableGarbageCollection_numberOfDays');
if (defaultNumberOfDays[theSelector.val()] > 0) {
$numberOfDays.prop('disabled', false);
$numberOfDays.val(defaultNumberOfDays[theSelector.val()]);
} else {
$numberOfDays.prop('disabled', true);
$numberOfDays.val(0);
}
};
/**
* Check or uncheck all checkboxes
*
* @param {Object} theSelector
* @returns {Boolean}
*/
Scheduler.checkOrUncheckAllCheckboxes = function(theSelector) {
theSelector.parents('.tx_scheduler_mod1_table').find(':checkbox').prop('checked', !allCheckedStatus);
allCheckedStatus = !allCheckedStatus;
return false;
};
/**
* Toggle the relevant form fields by task type
*
* @param {Integer} taskType
*/
Scheduler.toggleFieldsByTaskType = function(taskType) {
// Single task option = 1, Recurring task option = 2
taskType = parseInt(taskType);
$('#task_end_col').toggle(taskType === 2);
$('#task_frequency_row').toggle(taskType === 2);
};
/**
* Toggle the visibility of task groups by clicking anywhere on the
* task group header
*
* @param {Object} theSelector
*/
Scheduler.toggleTaskGroups = function(theSelector) {
var taskGroup = theSelector.data('task-group-id');
$('#recordlist-task-group-' + taskGroup).collapse('toggle');
};
/**
* Registers listeners
*/
Scheduler.initializeEvents = function() {
$('.checkall').on('click', function() {
Scheduler.checkOrUncheckAllCheckboxes($(this));
});
$('#task_class').change(function() {
Scheduler.actOnChangedTaskClass($(this));
});
$('#task_type').change(Scheduler.actOnChangedTaskType);
$('#task_tableGarbageCollection_allTables').change(function() {
Scheduler.actOnChangeSchedulerTableGarbageCollectionAllTables($(this));
});
$('#task_tableGarbageCollection_table').change(function() {
Scheduler.actOnChangeSchedulerTableGarbageCollectionTable($(this));
});
$('.taskGroup').on('click', function() {
Scheduler.toggleTaskGroups($(this));
});
$('table.taskGroup-table').DataTable({
"paging": false,
"searching": false
});
};
/**
* Initialize default states
*/
Scheduler.initializeDefaultStates = function() {
var $taskType = $('#task_type');
if ($taskType.length) {
Scheduler.toggleFieldsByTaskType($taskType.val());
}
var $taskClass = $('#task_class');
if ($taskClass.length) {
Scheduler.actOnChangedTaskClass($taskClass);
}
};
$(Scheduler.initializeEvents);
$(Scheduler.initializeDefaultStates);
SplitButtons.addPreSubmitCallback(function() {
var taskClass = $('#task_class').val();
taskClass = taskClass.toLowerCase().replace(/\\/g, '-');
$('.extraFields').appendTo($('#extraFieldsHidden'));
$('.extra_fields_' + taskClass).appendTo($('#extraFieldsSection'));
});
return Scheduler;
});