/[scire]/trunk/scire/script.php
Gentoo

Diff of /trunk/scire/script.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 346 Revision 347
23 $script['location'] = "Embedded"; 23 $script['location'] = "Embedded";
24 if ($_POST['script_data_type'] == "load") { 24 if ($_POST['script_data_type'] == "load") {
25 $script['script_data'] = $_POST['script_data_upload']; #FIXME how is this done? 25 $script['script_data'] = $_POST['script_data_upload']; #FIXME how is this done?
26 } elseif ($_POST['script_data_type'] == "manual") { 26 } elseif ($_POST['script_data_type'] == "manual") {
27 $script['script_data'] = $_POST['script_data_manual']; 27 $script['script_data'] = $_POST['script_data_manual'];
28 $script['script_data'] = preg_replace('/\r\n/',"\n",$script['script_data']);
28 } 29 }
29 } else { 30 } else {
30 $status .= "Error: You must select a script type (Load from file or manual input!"; 31 $status .= "Error: You must select a script type (Load from file or manual input!";
31 } 32 }
32 if ($_POST['runas_radio']) { 33 if ($_POST['runas_radio']) {

Legend:
Removed from v.346  
changed lines
  Added in v.347

  ViewVC Help
Powered by ViewVC 1.1.20