From: vincent@cubedesigners.com Date: Tue, 18 Jan 2011 13:17:23 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c157deb28bf608c4cdca066907f5672ea7ee5ce6;p=cubeextranet.git --- diff --git a/inc/commons/class.common.url.php b/inc/commons/class.common.url.php index 0a4c98dd5..625df3bcd 100644 --- a/inc/commons/class.common.url.php +++ b/inc/commons/class.common.url.php @@ -290,7 +290,7 @@ class commonUrl { { global $core; - commonDroits::min(array('extranet'=>0,'ws'=>1)); + commonDroits::min(array('extranet' => 0, 'ws' => 1)); $settings = $core->user->getSettings('fichiers'); @@ -365,7 +365,7 @@ class commonUrl { public static function listeFichiers($settings = null) { - commonDroits::min(array('extranet'=>0,'ws'=>1)); + commonDroits::min(array('extranet' => 0, 'ws' => 1)); global $core; if ($core->user->grade <= 0) { @@ -423,7 +423,7 @@ class commonUrl { public static function telecharger($args) { - commonDroits::min(array('extranet'=>0,'ws'=>1)); + commonDroits::min(array('extranet' => 0, 'ws' => 1)); array_shift($args); $path = implode('/', $args); @@ -441,7 +441,7 @@ class commonUrl { { global $core; - commonDroits::min(array('extranet'=>0,'ws'=>1)); + commonDroits::min(array('extranet' => 0, 'ws' => 1)); if (isset($args[1]) && $args[1] != '') { $for = $args[1]; @@ -485,7 +485,7 @@ class commonUrl { if (!$for) { $mail->to = TEAM_EMAIL; $mail->subject = '[' . EMAIL_SUBJECT . '] Nouveaux fichiers uploadés par ' . $core->user->prenom . ' ' . $core->user->nom; - $body = 'Tous les fichiers de ' . $core->user->prenom . ' ' . $core->user->nom . ' : http://'.$_SERVER['HTTP_HOST'].'/fichiers/' . $core->user->utilisateur_id . "\n\n"; + $body = 'Tous les fichiers de ' . $core->user->prenom . ' ' . $core->user->nom . ' : http://' . $_SERVER['HTTP_HOST'] . '/fichiers/' . $core->user->utilisateur_id . "\n\n"; $body .= 'Fichiers chargés : ' . "\n"; foreach($_SESSION['files_uploaded'] as $f) { $body .= ' - http://' . $_SERVER['HTTP_HOST'] . '/telecharger/' . $f . "\n"; @@ -497,7 +497,7 @@ class commonUrl { $mail->to = $core->user->email; $mail->subject = '[' . EMAIL_SUBJECT . '] Nouveaux fichiers uploadés pour ' . $client->prenom . ' ' . $client->nom; - $body = 'Tous les fichiers de ' . $client->prenom . ' ' . $client->nom . ' : http://'.$_SERVER['HTTP_HOST'].'/fichiers/' . $client->utilisateur_id . "\n\n"; + $body = 'Tous les fichiers de ' . $client->prenom . ' ' . $client->nom . ' : http://' . $_SERVER['HTTP_HOST'] . '/fichiers/' . $client->utilisateur_id . "\n\n"; $body .= 'Fichiers chargés : ' . "\n"; foreach($_SESSION['files_uploaded'] as $f) { $body .= ' - http://' . $_SERVER['HTTP_HOST'] . '/telecharger/' . $f . "\n"; @@ -558,7 +558,6 @@ class commonUrl { if ($adresse == '') { $adresse = array(); - fb($client->adresse_facturation); if ($client->adresse_facturation != '') { $adresse[] = $client->adresse_facturation; } else {