mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
- get rid of function sanitizeString()
This commit is contained in:
parent
c89d082e75
commit
9fdcd9ab1f
|
@ -23,8 +23,8 @@ include("../inc/inc.DBInit.php");
|
||||||
include("../inc/inc.Language.php");
|
include("../inc/inc.Language.php");
|
||||||
include("../inc/inc.Authentication.php");
|
include("../inc/inc.Authentication.php");
|
||||||
|
|
||||||
$form = sanitizeString($_GET["form"]);
|
$form = preg_replace('/[^A-Za-z0-9_]+/', '', $_GET["form"]);
|
||||||
$selcats = sanitizeString($_GET["cats"]);
|
$selcats = preg_replace('/[^0-9,]+/', '', $_GET["cats"]);
|
||||||
|
|
||||||
UI::htmlStartPage(getMLText("choose_target_category"));
|
UI::htmlStartPage(getMLText("choose_target_category"));
|
||||||
UI::globalBanner();
|
UI::globalBanner();
|
||||||
|
|
|
@ -25,7 +25,7 @@ include("../inc/inc.Language.php");
|
||||||
include("../inc/inc.Authentication.php");
|
include("../inc/inc.Authentication.php");
|
||||||
|
|
||||||
$folderid = intval($_GET["folderid"]);
|
$folderid = intval($_GET["folderid"]);
|
||||||
$form = sanitizeString($_GET["form"]);
|
$form = preg_replace('/[^A-Za-z0-9_]+/', '', $_GET["form"]);
|
||||||
|
|
||||||
function getImgPath($img) {
|
function getImgPath($img) {
|
||||||
global $theme;
|
global $theme;
|
||||||
|
|
|
@ -23,7 +23,7 @@ include("../inc/inc.DBInit.php");
|
||||||
include("../inc/inc.Language.php");
|
include("../inc/inc.Language.php");
|
||||||
include("../inc/inc.Authentication.php");
|
include("../inc/inc.Authentication.php");
|
||||||
|
|
||||||
$form = sanitizeString($_GET["form"]);
|
$form = preg_replace('/[^A-Za-z0-9_]+/', '', $_GET["form"]);
|
||||||
$mode = intval($_GET["mode"]);
|
$mode = intval($_GET["mode"]);
|
||||||
$exclude = intval($_GET["exclude"]);
|
$exclude = intval($_GET["exclude"]);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user