diff --git a/op/op.AddDocument.php b/op/op.AddDocument.php index 3ade3559a..803725d91 100644 --- a/op/op.AddDocument.php +++ b/op/op.AddDocument.php @@ -27,7 +27,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('adddocument')) { UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.AddSubFolder.php b/op/op.AddSubFolder.php index ba6c929fb..b9f1ae322 100644 --- a/op/op.AddSubFolder.php +++ b/op/op.AddSubFolder.php @@ -27,7 +27,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('addsubfolder')) { UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.AddTransitionToWorkflow.php b/op/op.AddTransitionToWorkflow.php index 1a76b1af1..b11ed93cb 100644 --- a/op/op.AddTransitionToWorkflow.php +++ b/op/op.AddTransitionToWorkflow.php @@ -30,7 +30,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('addtransitiontoworkflow')) { UI::exitError(getMLText("workflow_title"),getMLText("invalid_request_token")); } diff --git a/op/op.ApproveDocument.php b/op/op.ApproveDocument.php index 5fcca5958..5557e76b2 100644 --- a/op/op.ApproveDocument.php +++ b/op/op.ApproveDocument.php @@ -27,7 +27,7 @@ include("../inc/inc.ClassUI.php"); include("../inc/inc.ClassAccessOperation.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('approvedocument')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.AttributeMgr.php b/op/op.AttributeMgr.php index 20ba49377..a932f0937 100644 --- a/op/op.AttributeMgr.php +++ b/op/op.AttributeMgr.php @@ -34,7 +34,7 @@ else $action=NULL; // add new attribute definition --------------------------------------------- if ($action == "addattrdef") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addattrdef')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -81,7 +81,7 @@ if ($action == "addattrdef") { // delete attribute definition ----------------------------------------------- else if ($action == "removeattrdef") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removeattrdef')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -108,7 +108,7 @@ else if ($action == "removeattrdef") { // edit attribute definition ----------------------------------------------- else if ($action == "editattrdef") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editattrdef')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.Categories.php b/op/op.Categories.php index 651a9d193..050eacd1f 100644 --- a/op/op.Categories.php +++ b/op/op.Categories.php @@ -34,7 +34,7 @@ else $action=NULL; //Neue Kategorie anlegen ----------------------------------------------------------------------------- if ($action == "addcategory") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addcategory')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -56,7 +56,7 @@ if ($action == "addcategory") { //Kategorie löschen ---------------------------------------------------------------------------------- else if ($action == "removecategory") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removecategory')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -79,7 +79,7 @@ else if ($action == "removecategory") { //Kategorie bearbeiten: Neuer Name -------------------------------------------------------------------- else if ($action == "editcategory") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editcategory')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.ClearCache.php b/op/op.ClearCache.php index 9f62e75e8..7f4101a6f 100644 --- a/op/op.ClearCache.php +++ b/op/op.ClearCache.php @@ -23,7 +23,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('clearcache')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.DefaultKeywords.php b/op/op.DefaultKeywords.php index 382c9ddac..1566806fd 100644 --- a/op/op.DefaultKeywords.php +++ b/op/op.DefaultKeywords.php @@ -34,7 +34,7 @@ else $action=NULL; // Create new keyword category ------------------------------------------ if ($action == "addcategory") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addcategory')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -56,7 +56,7 @@ if ($action == "addcategory") { // Delete keyword categorie --------------------------------------------- else if ($action == "removecategory") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removecategory')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -83,7 +83,7 @@ else if ($action == "removecategory") { // Modify keyword categorie: new name ----------------------------------- else if ($action == "editcategory") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editcategory')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -111,7 +111,7 @@ else if ($action == "editcategory") { // Modify keyword categorie: new list of keywords ----------------------- else if ($action == "newkeywords") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('newkeywords')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -134,7 +134,7 @@ else if ($action == "newkeywords") { // Modify keyword categorie: modify list of keywords ------------------- else if ($action == "editkeywords") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editkeywords')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -168,7 +168,7 @@ else if ($action == "editkeywords") // Modify keyword categorie: delete list of keywords -------------------- else if ($action == "removekeywords") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removekeywords')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.DocumentAccess.php b/op/op.DocumentAccess.php index 67d2893ef..4a04a8bfb 100644 --- a/op/op.DocumentAccess.php +++ b/op/op.DocumentAccess.php @@ -43,7 +43,7 @@ if ($document->getAccessMode($user) < M_ALL) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ /* FIXME: Currently GET request are allowed. */ if(!checkFormKey('documentaccess', 'GET')) { UI::exitError(getMLText("document_title", array("documentname" => $document->getName())),getMLText("invalid_request_token")); diff --git a/op/op.EditAttributes.php b/op/op.EditAttributes.php index bce564653..cd6377999 100644 --- a/op/op.EditAttributes.php +++ b/op/op.EditAttributes.php @@ -27,7 +27,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('editattributes')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.EditComment.php b/op/op.EditComment.php index 70f8b60de..db836ccf6 100644 --- a/op/op.EditComment.php +++ b/op/op.EditComment.php @@ -27,7 +27,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('editcomment')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.EditEvent.php b/op/op.EditEvent.php index 45d6b636a..8b9ebdcf2 100644 --- a/op/op.EditEvent.php +++ b/op/op.EditEvent.php @@ -32,7 +32,7 @@ if ($user->isGuest()) { UI::exitError(getMLText("edit_event"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('editevent')) { UI::exitError(getMLText("edit_event"),getMLText("invalid_request_token")); } diff --git a/op/op.FolderAccess.php b/op/op.FolderAccess.php index 77d9fef48..e3aad918f 100644 --- a/op/op.FolderAccess.php +++ b/op/op.FolderAccess.php @@ -43,7 +43,7 @@ if ($folder->getAccessMode($user) < M_ALL) { UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ /* FIXME: Currently GET request are allowed. */ if(!checkFormKey('folderaccess', 'GET')) { UI::exitError(getMLText("folder_title", array("foldername" => $folder->getName())),getMLText("invalid_request_token")); diff --git a/op/op.GroupMgr.php b/op/op.GroupMgr.php index 3eea7a4bb..3a04c101e 100644 --- a/op/op.GroupMgr.php +++ b/op/op.GroupMgr.php @@ -36,7 +36,7 @@ else $action = null; // Create new group -------------------------------------------------------- if ($action == "addgroup") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addgroup')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -63,7 +63,7 @@ if ($action == "addgroup") { // Delete group ------------------------------------------------------------- else if ($action == "removegroup") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removegroup')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -91,7 +91,7 @@ else if ($action == "removegroup") { // Modifiy group ------------------------------------------------------------ else if ($action == "editgroup") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editgroup')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -123,7 +123,7 @@ else if ($action == "editgroup") { // Add user to group -------------------------------------------------------- else if ($action == "addmember") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addmember')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -161,7 +161,7 @@ else if ($action == "addmember") { // Remove user from group -------------------------------------------------- else if ($action == "rmmember") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('rmmember')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -196,7 +196,7 @@ else if ($action == "rmmember") { // toggle manager flag else if ($action == "tmanager") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('tmanager')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveArchive.php b/op/op.RemoveArchive.php index 9e69bd803..289e505f5 100644 --- a/op/op.RemoveArchive.php +++ b/op/op.RemoveArchive.php @@ -28,7 +28,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removearchive')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveDocument.php b/op/op.RemoveDocument.php index 3beb6dce2..b8fd9d6e6 100644 --- a/op/op.RemoveDocument.php +++ b/op/op.RemoveDocument.php @@ -25,7 +25,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removedocument')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveDocumentFile.php b/op/op.RemoveDocumentFile.php index e27d2d05c..dd6c5feb7 100644 --- a/op/op.RemoveDocumentFile.php +++ b/op/op.RemoveDocumentFile.php @@ -24,7 +24,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removedocumentfile')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveDocumentLink.php b/op/op.RemoveDocumentLink.php index 3562386ed..9ec56686e 100644 --- a/op/op.RemoveDocumentLink.php +++ b/op/op.RemoveDocumentLink.php @@ -24,7 +24,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removedocumentlink')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveDump.php b/op/op.RemoveDump.php index e27e62ad9..0ba68adb6 100644 --- a/op/op.RemoveDump.php +++ b/op/op.RemoveDump.php @@ -28,7 +28,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removedump')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveEvent.php b/op/op.RemoveEvent.php index 81ce0a384..ba29fee9c 100644 --- a/op/op.RemoveEvent.php +++ b/op/op.RemoveEvent.php @@ -28,7 +28,7 @@ include("../inc/inc.ClassUI.php"); include("../inc/inc.Calendar.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removeevent')) { UI::exitError(getMLText("edit_event"),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveFolder.php b/op/op.RemoveFolder.php index 3cc78c046..11a40bd85 100644 --- a/op/op.RemoveFolder.php +++ b/op/op.RemoveFolder.php @@ -25,7 +25,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removefolder')) { UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveFolderFiles.php b/op/op.RemoveFolderFiles.php index f514a8187..0b70c8f6d 100644 --- a/op/op.RemoveFolderFiles.php +++ b/op/op.RemoveFolderFiles.php @@ -28,7 +28,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removefolderfiles')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveLog.php b/op/op.RemoveLog.php index c98d686b4..98226c54a 100644 --- a/op/op.RemoveLog.php +++ b/op/op.RemoveLog.php @@ -24,7 +24,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removelog')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveTransitionFromWorkflow.php b/op/op.RemoveTransitionFromWorkflow.php index 906e27cc5..4116b0275 100644 --- a/op/op.RemoveTransitionFromWorkflow.php +++ b/op/op.RemoveTransitionFromWorkflow.php @@ -29,7 +29,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removetransitionfromworkflow')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveVersion.php b/op/op.RemoveVersion.php index e901b81ef..4e3c8646d 100644 --- a/op/op.RemoveVersion.php +++ b/op/op.RemoveVersion.php @@ -25,7 +25,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removeversion')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RemoveWorkflow.php b/op/op.RemoveWorkflow.php index 58496121c..5602a6633 100644 --- a/op/op.RemoveWorkflow.php +++ b/op/op.RemoveWorkflow.php @@ -29,7 +29,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflow')) { UI::exitError(getMLText("workflow_editor"), getMLText("invalid_request_token")); } diff --git a/op/op.RemoveWorkflowAction.php b/op/op.RemoveWorkflowAction.php index 6b80bba5d..0d04c46f5 100644 --- a/op/op.RemoveWorkflowAction.php +++ b/op/op.RemoveWorkflowAction.php @@ -29,7 +29,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflowaction')) { UI::exitError(getMLText("workflow_editor"), getMLText("invalid_request_token")); } diff --git a/op/op.RemoveWorkflowFromDocument.php b/op/op.RemoveWorkflowFromDocument.php index 98a382509..89d572295 100644 --- a/op/op.RemoveWorkflowFromDocument.php +++ b/op/op.RemoveWorkflowFromDocument.php @@ -29,7 +29,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflowfromdocument')) { UI::exitError(getMLText("workflow_editor"), getMLText("invalid_request_token")); } diff --git a/op/op.RemoveWorkflowState.php b/op/op.RemoveWorkflowState.php index 2b4fa20bc..74fa2d507 100644 --- a/op/op.RemoveWorkflowState.php +++ b/op/op.RemoveWorkflowState.php @@ -29,7 +29,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflowstate')) { UI::exitError(getMLText("workflow_editor"), getMLText("invalid_request_token")); } diff --git a/op/op.ReturnFromSubWorkflow.php b/op/op.ReturnFromSubWorkflow.php index f57626559..fc9ed328d 100644 --- a/op/op.ReturnFromSubWorkflow.php +++ b/op/op.ReturnFromSubWorkflow.php @@ -25,7 +25,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('returnfromsubworkflow')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.ReviewDocument.php b/op/op.ReviewDocument.php index cc6fa0bf3..593e3c809 100644 --- a/op/op.ReviewDocument.php +++ b/op/op.ReviewDocument.php @@ -27,7 +27,7 @@ include("../inc/inc.ClassUI.php"); include("../inc/inc.ClassAccessOperation.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('reviewdocument')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RewindWorkflow.php b/op/op.RewindWorkflow.php index 90f8fc92e..c54281a22 100644 --- a/op/op.RewindWorkflow.php +++ b/op/op.RewindWorkflow.php @@ -29,7 +29,7 @@ if (!$user->isAdmin()) { UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); } -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('rewindworkflow')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.RunSubWorkflow.php b/op/op.RunSubWorkflow.php index 6ca991719..a4830ec9b 100644 --- a/op/op.RunSubWorkflow.php +++ b/op/op.RunSubWorkflow.php @@ -25,7 +25,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('runsubworkflow')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.SetWorkflow.php b/op/op.SetWorkflow.php index 19c16b098..f043fcb12 100644 --- a/op/op.SetWorkflow.php +++ b/op/op.SetWorkflow.php @@ -26,7 +26,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('setworkflow')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.TriggerWorkflow.php b/op/op.TriggerWorkflow.php index 6167a8cf2..679a517aa 100644 --- a/op/op.TriggerWorkflow.php +++ b/op/op.TriggerWorkflow.php @@ -25,7 +25,7 @@ include("../inc/inc.Language.php"); include("../inc/inc.ClassUI.php"); include("../inc/inc.Authentication.php"); -/* Check if the form data comes for a trusted request */ +/* Check if the form data comes from a trusted request */ if(!checkFormKey('triggerworkflow')) { UI::exitError(getMLText("document_title", array("documentname" => getMLText("invalid_request_token"))),getMLText("invalid_request_token")); } diff --git a/op/op.UsrMgr.php b/op/op.UsrMgr.php index c01b988f1..fac14da08 100644 --- a/op/op.UsrMgr.php +++ b/op/op.UsrMgr.php @@ -38,7 +38,7 @@ else $action=NULL; // add new user --------------------------------------------------------- if ($action == "adduser") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('adduser')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -133,7 +133,7 @@ if ($action == "adduser") { // delete user ------------------------------------------------------------ else if ($action == "removeuser") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removeuser')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -176,7 +176,7 @@ else if ($action == "removeuser") { // modify user ------------------------------------------------------------ else if ($action == "edituser") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('edituser')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.WorkflowActionsMgr.php b/op/op.WorkflowActionsMgr.php index 54f61bf3c..47093c380 100644 --- a/op/op.WorkflowActionsMgr.php +++ b/op/op.WorkflowActionsMgr.php @@ -38,7 +38,7 @@ else $action=NULL; // add new workflow --------------------------------------------------------- if ($action == "addworkflowaction") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addworkflowaction')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -61,7 +61,7 @@ if ($action == "addworkflowaction") { // delete user ------------------------------------------------------------ else if ($action == "removeworkflowaction") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflowaction')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -91,7 +91,7 @@ else if ($action == "removeworkflowaction") { // modify workflow --------------------------------------------------------- else if ($action == "editworkflowaction") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editworkflowaction')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.WorkflowMgr.php b/op/op.WorkflowMgr.php index e7bfc671e..80483c9a5 100644 --- a/op/op.WorkflowMgr.php +++ b/op/op.WorkflowMgr.php @@ -38,7 +38,7 @@ else $action=NULL; // add new workflow --------------------------------------------------------- if ($action == "addworkflow") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addworkflow')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -71,7 +71,7 @@ if ($action == "addworkflow") { // delete workflow -------------------------------------------------------- else if ($action == "removeworkflow") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflow')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -101,7 +101,7 @@ else if ($action == "removeworkflow") { // modify workflow --------------------------------------------------------- else if ($action == "editworkflow") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editworkflow')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } diff --git a/op/op.WorkflowStatesMgr.php b/op/op.WorkflowStatesMgr.php index 5412af441..726666e2d 100644 --- a/op/op.WorkflowStatesMgr.php +++ b/op/op.WorkflowStatesMgr.php @@ -38,7 +38,7 @@ else $action=NULL; // add new workflow --------------------------------------------------------- if ($action == "addworkflowstate") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('addworkflowstate')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -62,7 +62,7 @@ if ($action == "addworkflowstate") { // delete user ------------------------------------------------------------ else if ($action == "removeworkflowstate") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('removeworkflowstate')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); } @@ -92,7 +92,7 @@ else if ($action == "removeworkflowstate") { // modify workflow --------------------------------------------------------- else if ($action == "editworkflowstate") { - /* Check if the form data comes for a trusted request */ + /* Check if the form data comes from a trusted request */ if(!checkFormKey('editworkflowstate')) { UI::exitError(getMLText("admin_tools"),getMLText("invalid_request_token")); }