comparison develop/models/_extractapp_func.php @ 10:54a235d43694

add topic choosing in the TaggingText page
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 10 Feb 2015 16:20:29 +0100
parents da10158c6d0a
children e82ca7375e93
comparison
equal deleted inserted replaced
9:584b1623e9ef 10:54a235d43694
8 SmartRegexLoad(); 8 SmartRegexLoad();
9 break; 9 break;
10 case 'SmartRegexSave': 10 case 'SmartRegexSave':
11 SmartRegexSave(); 11 SmartRegexSave();
12 break; 12 break;
13 13
14 default: 14 default:
15 SmartRegexLoad(); 15 SmartRegexLoad();
16 break; 16 break;
17 } 17 }
18 18
43 if (get_magic_quotes_gpc()) { 43 if (get_magic_quotes_gpc()) {
44 $require = stripslashes($_POST['text']); 44 $require = stripslashes($_POST['text']);
45 } else { 45 } else {
46 $require = $_POST['text']; 46 $require = $_POST['text'];
47 } 47 }
48 48
49 file_put_contents( $data_path."regex_files/".$_POST['filename'].".txt", $require); 49 file_put_contents( $data_path."regex_files/".$_POST['filename'].".txt", $require);
50 } 50 }
51 } 51 }
52 52
53 53