Make area on home page using div instead of tables
This commit is contained in:
parent
41fb7beb2a
commit
6d18c79300
@ -22,7 +22,7 @@
|
||||
* \brief File of class to manage widget boxes
|
||||
* \author Rodolphe Qiedeville
|
||||
* \author Laurent Destailleur
|
||||
* \version $Id: boxes.php,v 1.58 2011/08/15 18:37:07 eldy Exp $
|
||||
* \version $Id: boxes.php,v 1.59 2011/08/17 22:20:29 eldy Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -48,13 +48,7 @@ function printBoxesArea($user,$areacode)
|
||||
print '<tr><td class="notopnoleftnoright">'."\n";
|
||||
|
||||
|
||||
if (! empty($conf->global->MAIN_TRY_DIV)) print '<div class="fichehalfleft">';
|
||||
else {
|
||||
print '<table width="100%" style="border-collapse: collapse; border: 0px; margin: 0px; padding: 0px;"><tr>';
|
||||
|
||||
// Affichage colonne gauche
|
||||
print '<td class="notopnoleft" width="50%" valign="top" style="padding-right: 8px;">'."\n";
|
||||
}
|
||||
print '<div class="fichehalfleft">';
|
||||
|
||||
|
||||
print "\n<!-- Box left container -->\n";
|
||||
@ -83,12 +77,7 @@ function printBoxesArea($user,$areacode)
|
||||
print "</div>\n";
|
||||
print "<!-- End box container -->\n";
|
||||
|
||||
if (! empty($conf->global->MAIN_TRY_DIV)) print '</div><div class="fichehalfright"><div class="ficheaddleft">';
|
||||
else {
|
||||
print "</td>\n";
|
||||
// Affichage colonne droite
|
||||
print '<td class="notopnoleft" width="50%" valign="top">';
|
||||
}
|
||||
print '</div><div class="fichehalfright"><div class="ficheaddleft">';
|
||||
|
||||
print "\n<!-- Box right container -->\n";
|
||||
print '<div id="right" class="connectedSortable">'."\n";
|
||||
@ -116,11 +105,7 @@ function printBoxesArea($user,$areacode)
|
||||
print "</div>\n";
|
||||
print "<!-- End box container -->\n";
|
||||
|
||||
if (! empty($conf->global->MAIN_TRY_DIV)) print '</div></div>';
|
||||
else {
|
||||
print "</td>";
|
||||
print "</tr></table>\n";
|
||||
}
|
||||
print '</div></div>';
|
||||
print "\n";
|
||||
|
||||
print "</td></tr>";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user