[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dolibarr-bugtrack] [bug #15825] Le titre des "autres boites d'informati
From: |
LO Vieng Nong |
Subject: |
[Dolibarr-bugtrack] [bug #15825] Le titre des "autres boites d'informations" ne sont pas limités en taille |
Date: |
Mon, 20 Feb 2006 23:52:38 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1 |
URL:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15825>
Summary: Le titre des "autres boites d'informations" ne sont
pas limités en taille
Project: Dolibarr
Submitted by: bugblaster
Submitted on: lun 20.02.2006 à 23:52
Severity: 3 - Normal
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Release: None
Platform Version: GNU/Linux
_______________________________________________________
Details:
Le titre des "autres boites d'informations" n'est pas limité en taille. Cela
peut poser un problème quand on met un titre rss trop long par exemple.
Pour corriger ce problème j'ai modifier
Dans le script /includes/boxes/modules_boxes.php
ligne 70
// Affiche titre de la boite
print '<tr class="box_titre"><td';
if ($nbcol > 0) { print ' colspan="'.$nbcol.'"'; }
print '>';
$maxlength=$this->MAXLENGTHBOX;
$texte=$head['text'];
if (isset($head['maxlength'])) $maxlength=$head['maxlength'];
if ($maxlength && strlen($texte) > $maxlength)
{
$texte=substr($texte,0,$maxlength)."...";
}
print $texte;
-------------
Version: 2.1-alpha
Server: Apache/2.0.51 (Fedora)
Url: /index.php?mainmenu=home&leftmenu=
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=15825>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dolibarr-bugtrack] [bug #15825] Le titre des "autres boites d'informations" ne sont pas limités en taille,
LO Vieng Nong <=