Files
luos/workflow/engine/methods/scheduler/index.php
Henry Jordan 848ff9a887 update rakefile
Update rakefile to translations

update Rakefile for translations

update intervals in Task Schedule

update insert.sql error in instalation

add Translations in index.php task scheduler

fix timezone in execution on task scheduler

fix timezone

add translation to TASKSCHEDULER

control for intervals in task scheduler is last_update property

PMCORE-1549

PMCORE-1542

Revert "PMCORE-1542 (pull request #7355)"

This reverts pull request #7355.

> PMCORE-1542

fix schedule Run command
2020-06-09 13:16:23 +00:00

34 lines
1.2 KiB
PHP
Executable File

<?php
try {
$category = (isset($_GET["category"]))? $_GET["category"] : null;
/* Render page */
$oHeadPublisher = headPublisher::getSingleton();
$pmDynaform = new PmDynaform(array());
$G_MAIN_MENU = "processmaker";
$G_ID_MENU_SELECTED = "ID_SCHEDULER_MNU_01";
$dateTime = new \ProcessMaker\Util\DateTime();
if (!empty($_SESSION['USER_LOGGED'])) {
$arrayTimeZoneId = \DateTimeZone::listIdentifiers();
$js = "" .
"<script type='text/javascript'>\n" .
"var timezoneArray = " . G::json_encode($arrayTimeZoneId) . ";\n" .
"</script>\n";
echo($js);
}
$js = "" .
"<script type=\"text/javascript\" src=/js/ext/translation.".SYS_LANG.".".G::browserCacheFilesGetUid() ."js></script>\n".
"<script type='text/javascript'>\n" .
"var server = '" . System::getHttpServerHostnameRequestsFrontEnd() . "';\n" .
"var credentials = " . G::json_encode($pmDynaform->getCredentials()) . ";\n" .
"var category = '" . $category . "';\n" .
"var lang = '" . SYS_LANG . "';\n" .
"</script>\n";
echo($js);
$file = file_get_contents(PATH_HOME . 'public_html/lib/taskscheduler/index.html');
echo $file;
} catch (Exception $e) {
}
?>