Changeset 3568

Show
Ignore:
Timestamp:
10/23/09 15:26:33 (11 years ago)
Author:
marcio.galvao
Message:
 
Location:
trunk/tools/formDesign/php
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • trunk/tools/formDesign/php/FormFile.php

    r3557 r3568  
    11<?php 
    22 
    3 $data=$_REQUEST['data']; 
     3$data=$_POST['data']; 
    44class FormFile { 
    55        function FormFile(){ 
  • trunk/tools/formDesign/php/MainFormFile.php

    r3557 r3568  
    3838         
    3939         
    40         function loadFormManager(){ 
     40        function loadFormManager() { 
     41                 
    4142                $filename = $this->getFormFileName(); 
     43                 
    4244                if (file_exists($filename)) 
    4345                { 
  • trunk/tools/formDesign/php/RevisionForm.php

    r3557 r3568  
    11<?php 
     2 
     3$lang=$_POST['lang']; 
    24 
    35$Dir_name = dirname(__FILE__)."/"; 
     
    5052                        $this->mainForm->setJournalPath($journalPath); 
    5153                        $this->mainForm->setFormFileName(); 
     54                 
    5255                        $this->mainFileName  = $this->mainForm->getFormFileName(); 
    53                          
    5456                        $this->answersForm = new ReviewerFormFile(); 
    5557                        $this->currentForm = new CurrentFormFile(); 
  • trunk/tools/formDesign/php/config.php

    r3557 r3568  
    77var_dump($_REQUEST); 
    88echo '-->'."\n"; 
     9 
     10$lang=$_POST['lang']; 
    911 
    1012?> 
  • trunk/tools/formDesign/php/form.php

    r3557 r3568  
    11<? 
    22session_start(); 
     3 
     4$lang=$_POST['lang']; 
     5$translate=$_POST['translate']; 
     6 
    37$Dir_name = dirname(__FILE__)."/"; 
    48include_once($Dir_name."../../../classes/markup/XML_XSL/XML_XSL.inc.php"); 
     
    711 
    812include_once("translate.php"); 
     13 
    914$transformation = new XSL_XML; 
    1015 
    1116$content=$_POST['content']; 
     17 
    1218 
    1319$contentArray = explode("QUESTION_SEPARATOR",$content); 
  • trunk/tools/formDesign/php/loadForm.php

    r3046 r3568  
    11<?php 
     2 
    23session_start(); 
    34 
     5$translate=$_POST['translate']; 
     6 
    47require_once('RevisionForm.php'); 
    5  
    68$revisionForm = new RevisionForm(); 
    79$revisionForm->initData($_SESSION['formName']); 
     10 
    811$content = $revisionForm->loadFormManager(); 
    912 
     
    1215$content = str_replace('"','&quot;', $content); //FIXED_20070117 
    1316 
    14 //die($content); 
     17$lang=$_POST['lang']; 
     18 
    1519?> 
    1620<html> 
     
    2529<script language="JavaScript" src="../js/control.js"></script> 
    2630<body> 
     31 
    2732<form name="config" method="post"> 
    2833        <input type="hidden" name="content" value="<?=$content;?>"/>