]> _ Git - cubeextranet.git/commitdiff
(no commit message)
authorvincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 18 Jan 2011 13:17:23 +0000 (13:17 +0000)
committervincent@cubedesigners.com <vincent@cubedesigners.com@f5622870-0f3c-0410-866d-9cb505b7a8ef>
Tue, 18 Jan 2011 13:17:23 +0000 (13:17 +0000)
inc/commons/class.common.url.php

index 0a4c98dd570a72ee4eaadff88f8cfa27b59648ca..625df3bcdd0e0c3cf210121799d3a5142f5bd04a 100644 (file)
@@ -290,7 +290,7 @@ class commonUrl {
        {\r
                global $core;\r
 \r
-               commonDroits::min(array('extranet'=>0,'ws'=>1));\r
+               commonDroits::min(array('extranet' => 0, 'ws' => 1));\r
 \r
                $settings = $core->user->getSettings('fichiers');\r
 \r
@@ -365,7 +365,7 @@ class commonUrl {
 \r
        public static function listeFichiers($settings = null)\r
        {\r
-               commonDroits::min(array('extranet'=>0,'ws'=>1));\r
+               commonDroits::min(array('extranet' => 0, 'ws' => 1));\r
 \r
                global $core;\r
                if ($core->user->grade <= 0) {\r
@@ -423,7 +423,7 @@ class commonUrl {
 \r
        public static function telecharger($args)\r
        {\r
-               commonDroits::min(array('extranet'=>0,'ws'=>1));\r
+               commonDroits::min(array('extranet' => 0, 'ws' => 1));\r
 \r
                array_shift($args);\r
                $path = implode('/', $args);\r
@@ -441,7 +441,7 @@ class commonUrl {
        {\r
                global $core;\r
 \r
-               commonDroits::min(array('extranet'=>0,'ws'=>1));\r
+               commonDroits::min(array('extranet' => 0, 'ws' => 1));\r
 \r
                if (isset($args[1]) && $args[1] != '') {\r
                        $for = $args[1];\r
@@ -485,7 +485,7 @@ class commonUrl {
                                if (!$for) {\r
                                        $mail->to = TEAM_EMAIL;\r
                                        $mail->subject = '[' . EMAIL_SUBJECT . '] Nouveaux fichiers uploadés par ' . $core->user->prenom . ' ' . $core->user->nom;\r
-                                       $body = 'Tous les fichiers de ' . $core->user->prenom . ' ' . $core->user->nom . ' : http://'.$_SERVER['HTTP_HOST'].'/fichiers/' . $core->user->utilisateur_id . "\n\n";\r
+                                       $body = 'Tous les fichiers de ' . $core->user->prenom . ' ' . $core->user->nom . ' : http://' . $_SERVER['HTTP_HOST'] . '/fichiers/' . $core->user->utilisateur_id . "\n\n";\r
                                        $body .= 'Fichiers chargés : ' . "\n";\r
                                        foreach($_SESSION['files_uploaded'] as $f) {\r
                                                $body .= ' - http://' . $_SERVER['HTTP_HOST'] . '/telecharger/' . $f . "\n";\r
@@ -497,7 +497,7 @@ class commonUrl {
                                        $mail->to = $core->user->email;\r
                                        $mail->subject = '[' . EMAIL_SUBJECT . '] Nouveaux fichiers uploadés pour ' . $client->prenom . ' ' . $client->nom;\r
 \r
-                                       $body = 'Tous les fichiers de ' . $client->prenom . ' ' . $client->nom . ' : http://'.$_SERVER['HTTP_HOST'].'/fichiers/' . $client->utilisateur_id . "\n\n";\r
+                                       $body = 'Tous les fichiers de ' . $client->prenom . ' ' . $client->nom . ' : http://' . $_SERVER['HTTP_HOST'] . '/fichiers/' . $client->utilisateur_id . "\n\n";\r
                                        $body .= 'Fichiers chargés : ' . "\n";\r
                                        foreach($_SESSION['files_uploaded'] as $f) {\r
                                                $body .= ' - http://' . $_SERVER['HTTP_HOST'] . '/telecharger/' . $f . "\n";\r
@@ -558,7 +558,6 @@ class commonUrl {
 \r
                if ($adresse == '') {\r
                        $adresse = array();\r
-                       fb($client->adresse_facturation);\r
                        if ($client->adresse_facturation != '') {\r
                                $adresse[] = $client->adresse_facturation;\r
                        } else {\r