-
- _($data['firstName']); ?>
-
+
_($data['firstName']); ?>
-
- _($data['lastName']); ?>
-
+
_($data['lastName']); ?>
diff --git a/modules/candidates/Merge.tpl b/modules/candidates/Merge.tpl
index bebb5bd44..37d3ec413 100644
--- a/modules/candidates/Merge.tpl
+++ b/modules/candidates/Merge.tpl
@@ -16,8 +16,9 @@
-
+
+
+
+
+
diff --git a/modules/import/ImportUI.php b/modules/import/ImportUI.php
index 97c2e6149..6d6a5e7b7 100755
--- a/modules/import/ImportUI.php
+++ b/modules/import/ImportUI.php
@@ -67,7 +67,14 @@ public function handleRequest()
switch ($action)
{
case 'revert':
- $this->revert();
+ if ($this->isPostBack())
+ {
+ $this->revert();
+ }
+ else
+ {
+ CommonErrors::fatal(COMMONERROR_BADFIELDS, $this, 'Invalid request.');
+ }
break;
case 'viewerrors':
@@ -107,11 +114,25 @@ public function handleRequest()
break;
case 'importBulkResumes':
- $this->importBulkResumes();
+ if ($this->isPostBack())
+ {
+ $this->importBulkResumes();
+ }
+ else
+ {
+ CommonErrors::fatal(COMMONERROR_BADFIELDS, $this, 'Invalid request.');
+ }
break;
case 'deleteBulkResumes':
- $this->deleteBulkResumes();
+ if ($this->isPostBack())
+ {
+ $this->deleteBulkResumes();
+ }
+ else
+ {
+ CommonErrors::fatal(COMMONERROR_BADFIELDS, $this, 'Invalid request.');
+ }
break;
case 'import':
@@ -133,13 +154,13 @@ public function handleRequest()
*/
private function revert()
{
- if (!$this->isRequiredIDValid('importID', $_GET))
+ if (!$this->isRequiredIDValid('importID', $_POST))
{
$this->import();
return;
}
- $importID = $_GET['importID'];
+ $importID = $_POST['importID'];
$import = new Import($this->_siteID);
$tableName = $import->get($importID);
diff --git a/modules/import/ajax/processMassImportItem.php b/modules/import/ajax/processMassImportItem.php
index 7d2fb6f79..fe5a67193 100755
--- a/modules/import/ajax/processMassImportItem.php
+++ b/modules/import/ajax/processMassImportItem.php
@@ -32,6 +32,11 @@
$interface = new SecureAJAXInterface();
+if ($_SERVER['REQUEST_METHOD'] !== 'POST')
+{
+ die('Invalid request.');
+}
+
if (!isset($_SESSION['CATS']->massImportFiles) ||
!isset($_SESSION['CATS']->massImportDirectory))
{
diff --git a/modules/install/Schema.php b/modules/install/Schema.php
index dcd0915ce..d8910815c 100755
--- a/modules/install/Schema.php
+++ b/modules/install/Schema.php
@@ -1334,6 +1334,9 @@ public static function get()
COLLATE utf8_unicode_ci NOT NULL DEFAULT \'+1\'
AFTER `date_format_ddmmyy`;
',
+ '366' => '
+ DELETE FROM module_schema WHERE name = \'toolbar\';
+ ',
);
}
diff --git a/modules/install/ajax/attachmentsReindex.php b/modules/install/ajax/attachmentsReindex.php
index e25e2bd58..a23c97412 100755
--- a/modules/install/ajax/attachmentsReindex.php
+++ b/modules/install/ajax/attachmentsReindex.php
@@ -25,6 +25,24 @@
*
*/
+if ($_SERVER['REQUEST_METHOD'] !== 'POST')
+{
+ header('Content-Type: text/html; charset=UTF-8');
+
+ $actionURL = htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8');
+
+ echo '',
+ 'OpenCATS Attachment Reindex ',
+ 'This maintenance action must be triggered via POST.
',
+ 'This starts the attachment reindex process.
',
+ '',
+ ' ',
+ 'Run maintenance now ',
+ ' ',
+ '';
+ die();
+}
+
include_once('./config.php');
include_once(LEGACY_ROOT . '/lib/DatabaseConnection.php');
include_once(LEGACY_ROOT . '/lib/ModuleUtility.php');
diff --git a/modules/install/ajax/attachmentsToThreeDirectory.php b/modules/install/ajax/attachmentsToThreeDirectory.php
index b56902158..11329abb6 100755
--- a/modules/install/ajax/attachmentsToThreeDirectory.php
+++ b/modules/install/ajax/attachmentsToThreeDirectory.php
@@ -27,6 +27,24 @@
* $Id: attachmentsToThreeDirectory.php 2336 2007-04-14 22:01:51Z will $
*/
+if ($_SERVER['REQUEST_METHOD'] !== 'POST')
+{
+ header('Content-Type: text/html; charset=UTF-8');
+
+ $actionURL = htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8');
+
+ echo '',
+ 'OpenCATS Attachment Migration ',
+ 'This maintenance action must be triggered via POST.
',
+ 'This starts the attachment migration to the three-directory layout.
',
+ '',
+ ' ',
+ 'Run maintenance now ',
+ ' ',
+ '';
+ die();
+}
+
include_once('./config.php');
include_once(LEGACY_ROOT . '/lib/DatabaseConnection.php');
diff --git a/modules/install/ajax/maint.php b/modules/install/ajax/maint.php
index 020d99e6b..3a3fba924 100755
--- a/modules/install/ajax/maint.php
+++ b/modules/install/ajax/maint.php
@@ -27,6 +27,24 @@
* $Id: maint.php 3346 2007-10-29 22:40:53Z brian $
*/
+if ($_SERVER['REQUEST_METHOD'] !== 'POST')
+{
+ header('Content-Type: text/html; charset=UTF-8');
+
+ $actionURL = htmlspecialchars($_SERVER['PHP_SELF'], ENT_QUOTES, 'UTF-8');
+
+ echo '',
+ 'OpenCATS Maintenance ',
+ 'This maintenance action must be triggered via POST.
',
+ 'This page starts maintenance mode and related installer tasks.
',
+ '',
+ ' ',
+ 'Run maintenance now ',
+ ' ',
+ '';
+ die();
+}
+
if (file_exists('./modules.cache'))
{
@unlink('./modules.cache');
diff --git a/modules/install/ajax/ui.php b/modules/install/ajax/ui.php
index d9443f96c..301d00067 100755
--- a/modules/install/ajax/ui.php
+++ b/modules/install/ajax/ui.php
@@ -42,6 +42,13 @@
}
@ini_set('memory_limit', '192M');
+if ($_SERVER['REQUEST_METHOD'] !== 'POST')
+{
+ die('Invalid request.');
+}
+
+$_REQUEST = $_POST;
+
if (file_exists('modules.cache')) @unlink('modules.cache');
if (!isset($_REQUEST['a']) || empty($_REQUEST['a']))
diff --git a/modules/joborders/ConsiderSearchModal.tpl b/modules/joborders/ConsiderSearchModal.tpl
index 160bb7329..c5cad4193 100755
--- a/modules/joborders/ConsiderSearchModal.tpl
+++ b/modules/joborders/ConsiderSearchModal.tpl
@@ -70,15 +70,25 @@
-
- _($data['firstName']); ?>
-
+
+
+
+
+
+ _($data['firstName']); ?>
+
+
-
- _($data['lastName']); ?>
-
+
+
+
+
+
+ _($data['lastName']); ?>
+
+
@@ -109,4 +119,3 @@