diff --git a/htdocs/admin/fckeditor.php b/htdocs/admin/fckeditor.php
index ae87a35ea28..051e0ec8f8c 100644
--- a/htdocs/admin/fckeditor.php
+++ b/htdocs/admin/fckeditor.php
@@ -17,7 +17,6 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
- * $Source$
*/
/**
@@ -43,7 +42,6 @@ $modules = array(
'MEMBER' => 'FCKeditorForMembers',
'MAILING' => 'FCKeditorForMailing',
'DETAILS' => 'FCKeditorForProductDetails',
-'DETAILS_PERSO' => 'FCKeditorForProductDetailsPerso'
);
// Conditions pour que l'option soit proposée
$conditions = array(
@@ -53,7 +51,6 @@ $conditions = array(
'MEMBER' => $conf->adherent->enabled,
'MAILING' => $conf->mailing->enabled,
'DETAILS' => ($conf->facture->enabled||$conf->propal->enabled||$conf->commande->enabled),
-'DETAILS_PERSO' => ($conf->facture->enabled||$conf->propal->enabled||$conf->commande->enabled)
);
// Picto
$picto = array(
@@ -63,7 +60,6 @@ $picto = array(
'MEMBER' => 'user',
'MAILING' => 'email',
'DETAILS' => 'generic',
-'DETAILS_PERSO' => 'generic'
);
@@ -83,13 +79,6 @@ foreach($modules as $const => $desc)
if ($_GET["action"] == 'disable_'.strtolower($const))
{
dolibarr_del_const($db, "FCKEDITOR_ENABLE_".$const);
- // Si fckeditor est desactivé dans les formulaires,
- // on le désactive dans la description produit/service et dans la description personnalisée
- if ($const == 'DETAILS')
- {
- dolibarr_del_const($db, "FCKEDITOR_ENABLE_PRODUCTDESC");
- dolibarr_del_const($db, "FCKEDITOR_ENABLE_DETAILS_PERSO");
- }
Header("Location: fckeditor.php");
exit;
}
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index 6df00e4386e..8bfa60cdf12 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -66,10 +66,10 @@ else if (isset($_GET["propalid"]) && $_GET["propalid"] > 0)
$dbtable='propal';
}
-// Sécurité d'accès client et commerciaux
+// S�curit� d'acc�s client et commerciaux
$socid = restrictedArea($user, $module, $objectid, $dbtable);
-// Nombre de ligne pour choix de produit/service prédéfinis
+// Nombre de ligne pour choix de produit/service pr�d�finis
$NBLINES=4;
$form=new Form($db);
@@ -179,7 +179,7 @@ if ($_POST['action'] == 'add' && $user->rights->propale->creer)
$db->begin();
- // Si on a selectionné une propal à copier, on réalise la copie
+ // Si on a selectionn� une propal � copier, on r�alise la copie
if($_POST['createmode']=='copy' && $_POST['copie_propal'])
{
if ($propal->fetch($_POST['copie_propal']) > 0)
@@ -243,7 +243,7 @@ if ($_POST['action'] == 'add' && $user->rights->propale->creer)
{
$error=0;
- // Insertion contact par defaut si défini
+ // Insertion contact par defaut si d�fini
if ($_POST["contactidp"])
{
$result=$propal->add_contact($_POST["contactidp"],'CUSTOMER','external');
@@ -322,13 +322,13 @@ if ($_POST['action'] == 'send')
if ($_POST['sendto'])
{
- // Le destinataire a été fourni via le champ libre
+ // Le destinataire a �t� fourni via le champ libre
$sendto = $_POST['sendto'];
$sendtoid = 0;
}
elseif ($_POST['receiver'])
{
- // Le destinataire a été fourni via la liste déroulante
+ // Le destinataire a �t� fourni via la liste d�roulante
if ($_POST['receiver'] < 0) // Id du tiers
{
$sendto = $propal->client->email;
@@ -359,11 +359,11 @@ if ($_POST['action'] == 'send')
}
$actiontypeid=3;
- $actionmsg ='Mail envoyé par '.$from.' à '.$sendto.'.
';
+ $actionmsg ='Mail envoy� par '.$from.' � '.$sendto.'.
';
if ($message)
{
- $actionmsg.='Texte utilisé dans le corps du message:
';
+ $actionmsg.='Texte utilis� dans le corps du message:
';
$actionmsg.=$message;
}
@@ -455,7 +455,7 @@ if ($_POST['action'] == 'send')
{
$langs->load("other");
$mesg='
| '; print $langs->trans('PaymentConditionsShort'); @@ -1198,7 +1198,7 @@ if ($_GET['propalid'] > 0) print ' | '; if (($objp->info_bits & 2) == 2) { - // Ligne remise prédéfinie, on ne permet pas modif + // Ligne remise pr�d�finie, on ne permet pas modif } else { @@ -1255,7 +1255,7 @@ if ($_GET['propalid'] > 0) print ' | '; if (($objp->info_bits & 2) == 2) { - // Ligne remise prédéfinie, on permet pas modif + // Ligne remise pr�d�finie, on permet pas modif } else { @@ -1330,7 +1330,7 @@ if ($_GET['propalid'] > 0) } if ($_GET["action"] == 'editline') { - // éditeur wysiwyg + // �diteur wysiwyg if ($conf->fckeditor->enabled && $conf->global->FCKEDITOR_ENABLE_DETAILS) { require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); @@ -1379,7 +1379,7 @@ if ($_GET['propalid'] > 0) if ($conf->service->enabled) { print " | |||||||||||
| Si produit de type service à durée limitée: Du '; + print ' | Si produit de type service � dur�e limit�e: Du '; print $html->select_date($objp->date_start,"date_start",0,0,$objp->date_start?0:1); print ' au '; print $html->select_date($objp->date_end,"date_end",0,0,$objp->date_end?0:1); @@ -1417,7 +1417,7 @@ if ($_GET['propalid'] > 0) print ' | '; print " | |||||||||||