Changeset 86


Ignore:
Timestamp:
03/21/08 14:12:26 (4 years ago)
Author:
stp
Message:

mise a jour docflow version plutot stable, pret a la distribtion

Location:
trunk/server/docflow/www
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/docflow/www/conf.inc.php

    r66 r86  
    77$MYSQL_BASE='city'; 
    88$MYSQL_USER='city'; 
    9 $MYSQL_PASSWD='spul'; 
     9$MYSQL_PASSWD=''; 
    1010 
    1111// city docflow specifics 
    12 $CONFIG_BASELOCATION='http://decisions/docflow'; 
    13 $CONFIG_ROOTID='ROOT'; // must match the name of the scenari "root" user 
     12$CONFIG_BASELOCATION='http://172.21.151.0/docflow'; 
     13$CONFIG_ROOTID='SCG'; // must match the name of the scenari "root" user 
    1414$CONFIG_TIMEZONE='Europe/Paris'; 
    1515$CONFIG_SERVERCODE='gtoqpakcdcd'; 
  • trunk/server/docflow/www/docflow.php

    r79 r86  
    256256                                        } else { 
    257257                                                $datecreation=date('d/m/y',strtotime($datecreation)); 
    258                                                 $datedepot=date('d/m/y',strtotime($datedepot)); 
    259                                                 $dateretour=date('d/m/y',strtotime($dateretour)); 
    260258                                                $datefait=date('d/m/y',strtotime($datefait)); 
     259                                                if ($datedepot) 
     260                                                        $datedepot=date('d/m/y',strtotime($datedepot)); 
     261                                                if ($dateretour) 
     262                                                        $dateretour=date('d/m/y',strtotime($dateretour)); 
    261263                                                if ($datepublic) 
    262264                                                        $datepublic=date('d/m/y',strtotime($datepublic)); 
  • trunk/server/docflow/www/input.php

    r79 r86  
    1111$file_xml="/source.xml"; 
    1212//$file_odt="/../normalGenerator/document.odt"; 
    13 $file_pdf="/document.pdf"; 
     13$file_pdf="/../paperPreview/document.pdf"; 
    1414 
    1515function docflow_result($status,$message) { 
     
    5757        docflow_result(false, "Erreur: chemin du fichier sur le serveur n'est pas un répertoire accessible $path"); 
    5858if (!(is_file($path.$file_xml) && is_readable($path.$file_xml))) 
    59         docflow_result(false, "Erreur: le fichier source (xml) n'est pas accessible"); 
     59        docflow_result(false, "Erreur: le fichier source (xml) n'est pas accessible (".$path.$file_xml.")"); 
    6060//if (!(is_file($path.$file_odt) && is_readable($path.$file_odt))) 
    6161//      docflow_result(false, "Erreur: le fichier OpenDocument (odt) n'est pas accessible"); 
    6262if (!(is_file($path.$file_pdf) && is_readable($path.$file_pdf))) 
    63         docflow_result(false, "Erreur: le fichier PDF n'est pas accessible"); 
     63        docflow_result(false, "Erreur: le fichier PDF n'est pas accessible (".$path.$file_pdf.")"); 
    6464 
    6565// extract "objet" data from the xml document 
  • trunk/server/docflow/www/misc.inc.php

    r75 r86  
    112112        // return the "Objet" document field content 
    113113        public function getObjet() { 
    114                 $query = '/sc:item/ct:arrete/sp:objet/ct:text'; 
     114                $query = '/sc:item/ct:arrete/sp:objet/ct:sTxt'; 
    115115                $entries = $this->xpath->query($query, $this->doc); 
    116116                return $entries->item(0)->nodeValue."\n"; 
Note: See TracChangeset for help on using the changeset viewer.