Qual: Uniformisation code
This commit is contained in:
parent
4d4e0aafb4
commit
2386dcb694
@ -30,6 +30,7 @@ htdocs/includes/treemenu/imagesAlt
|
|||||||
htdocs/includes/treemenu/imagesAlt2
|
htdocs/includes/treemenu/imagesAlt2
|
||||||
htdocs/includes/modules/modEditeur.class.php
|
htdocs/includes/modules/modEditeur.class.php
|
||||||
htdocs/includes/modules/modDocument.class.php
|
htdocs/includes/modules/modDocument.class.php
|
||||||
|
htdocs/includes/modules/modDomain.class.php
|
||||||
htdocs/includes/modules/modDroitPret.class.php
|
htdocs/includes/modules/modDroitPret.class.php
|
||||||
htdocs/includes/modules/modPostnuke.class.php
|
htdocs/includes/modules/modPostnuke.class.php
|
||||||
htdocs/includes/modules/modClickToDial.class.php
|
htdocs/includes/modules/modClickToDial.class.php
|
||||||
|
|||||||
@ -80,5 +80,5 @@ if ($result) {
|
|||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -107,9 +107,9 @@ if ($_GET["action"] == 'create')
|
|||||||
print $html->select_array("energie", $compteur->energies);
|
print $html->select_array("energie", $compteur->energies);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Add").'" class="button"></td></tr>';
|
||||||
|
|
||||||
print "</table></form><br>";
|
print "</table></form>";
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -167,14 +167,14 @@ else
|
|||||||
print '</td><td>Valeur relevée</td>';
|
print '</td><td>Valeur relevée</td>';
|
||||||
|
|
||||||
print '<td align="center"><input type="text" size="11" maxlength="10" name="releve"></td>';
|
print '<td align="center"><input type="text" size="11" maxlength="10" name="releve"></td>';
|
||||||
print '<td align="center"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
print '<td align="center"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';
|
||||||
print "</table></form><br>";
|
print "</table></form><br>";
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr><td><a href="compteur_graph.php?id='.$compteur->id.'">';
|
print '<tr><td><a href="compteur_graph.php?id='.$compteur->id.'">';
|
||||||
$file = "all.".$compteur->id.".png";
|
$file = "all.".$compteur->id.".png";
|
||||||
print '<img border="0" src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
print '<img border="0" src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
||||||
print '</a></td></tr></table><br>';
|
print '</a></td></tr></table>';
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
|||||||
@ -79,9 +79,9 @@ if ($_GET["action"] == 'create')
|
|||||||
|
|
||||||
print '<td><input type="text" size="40" maxlength="255" name="libelle"></td></tr>';
|
print '<td><input type="text" size="40" maxlength="255" name="libelle"></td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Add").'"></td></tr>';
|
print '<tr><td colspan="2" align="center"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';
|
||||||
|
|
||||||
print "</table></form><br>";
|
print "</table></form>";
|
||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
|||||||
@ -31,11 +31,11 @@ require("./pre.inc.php");
|
|||||||
|
|
||||||
llxHeader($langs,"",$langs->trans("Energy"),$langs->trans("Energy"));
|
llxHeader($langs,"",$langs->trans("Energy"),$langs->trans("Energy"));
|
||||||
|
|
||||||
print_titre($langs->trans("Energy"));
|
print_fiche_titre($langs->trans("Energy"));
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="notopnoleftnoright" width="100%">';
|
||||||
|
|
||||||
print '<tr><td valign="top" width="30%">';
|
print '<tr><td valign="top" width="30%" class="notopnoleft">';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Groupe
|
* Groupe
|
||||||
@ -95,7 +95,7 @@ if ( $resql)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</td><td valign="top" width="70%">';
|
print '</td><td valign="top" width="70%" class="notopnoleftnoright">';
|
||||||
|
|
||||||
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file=month.png" alt="" title=""><br /><br />'."\n";
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file=month.png" alt="" title=""><br /><br />'."\n";
|
||||||
|
|
||||||
@ -103,5 +103,5 @@ print '</td></tr></table>';
|
|||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooter("<em>Dernière modification $Date$ révision $Revision$</em>");
|
llxFooter('$Date$ - $Revision$');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -58,7 +58,7 @@ class modBarcode extends DolibarrModules
|
|||||||
|
|
||||||
//$this->revision = explode(' ','$Revision$');
|
//$this->revision = explode(' ','$Revision$');
|
||||||
//$this->version = $this->revision[1];
|
//$this->version = $this->revision[1];
|
||||||
$this->version = 'experimental'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'development'; // 'development' or 'experimental' or 'dolibarr' or version
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_BARCODE';
|
$this->const_name = 'MAIN_MODULE_BARCODE';
|
||||||
$this->special = 0;
|
$this->special = 0;
|
||||||
|
|||||||
@ -53,7 +53,7 @@ class modDroitPret extends DolibarrModules
|
|||||||
$this->family = "other";
|
$this->family = "other";
|
||||||
$this->name = "Droit Prêt";
|
$this->name = "Droit Prêt";
|
||||||
$this->description = "Gestion du droit de prêts";
|
$this->description = "Gestion du droit de prêts";
|
||||||
$this->version = '1.1-beta'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'experimental'; // 'development' or 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_DROITPRET';
|
$this->const_name = 'MAIN_MODULE_DROITPRET';
|
||||||
$this->special = 2;
|
$this->special = 2;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user