From 351c11de891427d7df23942245f96d3588bd3647 Mon Sep 17 00:00:00 2001 From: Alib Date: Sun, 28 Mar 2010 17:26:45 +0200 Subject: fix date --- js/functions.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/js/functions.js b/js/functions.js index 9621612..f628142 100644 --- a/js/functions.js +++ b/js/functions.js @@ -120,18 +120,3 @@ function str_pad (input, pad_length, pad_string, pad_type) { return input; } - -function addslashes(str) { -str=str.replace(/\\/g,'\\\\'); -str=str.replace(/\'/g,'\\\''); -str=str.replace(/\"/g,'\\"'); -str=str.replace(/\0/g,'\\0'); -return str; -} -function stripslashes(str) { -str=str.replace(/\\'/g,'\''); -str=str.replace(/\\"/g,'"'); -str=str.replace(/\\0/g,'\0'); -str=str.replace(/\\\\/g,'\\'); -return str; -} -- cgit v1.2.3