mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-13 04:51:25 +01:00
Qual: meilleur respect xhtml
This commit is contained in:
@@ -259,7 +259,7 @@ if ($db->query($sql))
|
|||||||
|
|
||||||
if ($facture_rib_number_var == $row[0])
|
if ($facture_rib_number_var == $row[0])
|
||||||
{
|
{
|
||||||
print '<option value="'.$row[0].'" selected>'.$row[1].'</option>';
|
print '<option value="'.$row[0].'" selected="true">'.$row[1].'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -297,7 +297,7 @@ if ($db->query($sql))
|
|||||||
|
|
||||||
if ($facture_chq_number_var == $row[0])
|
if ($facture_chq_number_var == $row[0])
|
||||||
{
|
{
|
||||||
print '<option value="'.$row[0].'" selected>'.$row[1].'</option>';
|
print '<option value="'.$row[0].'" selected="true">'.$row[1].'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
$filelib=eregi_replace('\.php$','',$file);
|
$filelib=eregi_replace('\.php$','',$file);
|
||||||
if ($file == $conf->global->MAIN_MENU_BARRETOP)
|
if ($file == $conf->global->MAIN_MENU_BARRETOP)
|
||||||
{
|
{
|
||||||
print '<option value="'.$file.'" selected>'.$filelib.'</option>';
|
print '<option value="'.$file.'" selected="true">'.$filelib.'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -130,7 +130,7 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit')
|
|||||||
$filelib=eregi_replace('\.php$','',$file);
|
$filelib=eregi_replace('\.php$','',$file);
|
||||||
if ($file == $conf->global->MAIN_MENU_BARRELEFT)
|
if ($file == $conf->global->MAIN_MENU_BARRELEFT)
|
||||||
{
|
{
|
||||||
print '<option value="'.$file.'" selected>'.$filelib.'</option>';
|
print '<option value="'.$file.'" selected="true">'.$filelib.'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -301,11 +301,11 @@ print '</td></tr>';
|
|||||||
print '<tr><td>'.$langs->trans("DNContactActive").'</td><td><select name="activecontact">';
|
print '<tr><td>'.$langs->trans("DNContactActive").'</td><td><select name="activecontact">';
|
||||||
if (defined("LDAP_CONTACT_ACTIVE") && LDAP_CONTACT_ACTIVE == 1)
|
if (defined("LDAP_CONTACT_ACTIVE") && LDAP_CONTACT_ACTIVE == 1)
|
||||||
{
|
{
|
||||||
print '<option value="1" selected>'.$langs->trans("Yes");
|
print '<option value="1" selected="true">'.$langs->trans("Yes");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<option value="0" selected>'.$langs->trans("No");
|
print '<option value="0" selected="true">'.$langs->trans("No");
|
||||||
}
|
}
|
||||||
print '<option value="LDAP_CONTACT_ACTIVE">--------';
|
print '<option value="LDAP_CONTACT_ACTIVE">--------';
|
||||||
print '<option value="0">'.$langs->trans("No");
|
print '<option value="0">'.$langs->trans("No");
|
||||||
@@ -319,17 +319,17 @@ print '</td></tr>';
|
|||||||
print '<tr><td>'.$langs->trans("Type").'</td><td><select name="type">';
|
print '<tr><td>'.$langs->trans("Type").'</td><td><select name="type">';
|
||||||
if (defined("LDAP_SERVER_TYPE") && LDAP_SERVER_TYPE == activedirectory)
|
if (defined("LDAP_SERVER_TYPE") && LDAP_SERVER_TYPE == activedirectory)
|
||||||
{
|
{
|
||||||
print '<option value="activedirectory" selected>Active Directory';
|
print '<option value="activedirectory" selected="true">Active Directory';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (defined("LDAP_SERVER_TYPE") && LDAP_SERVER_TYPE == egroupware)
|
if (defined("LDAP_SERVER_TYPE") && LDAP_SERVER_TYPE == egroupware)
|
||||||
{
|
{
|
||||||
print '<option value="egroupware" selected>Egroupware';
|
print '<option value="egroupware" selected="true">Egroupware';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<option value="openldap" selected>OpenLdap';
|
print '<option value="openldap" selected="true">OpenLdap';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '<option value="LDAP_SERVER_TYPE">------------------------';
|
print '<option value="LDAP_SERVER_TYPE">------------------------';
|
||||||
@@ -343,11 +343,11 @@ print '<tr><td>'.$langs->trans("Version").'</td><td><select name="version">';
|
|||||||
|
|
||||||
if (defined("LDAP_SERVER_PROTOCOLVERSION") && LDAP_SERVER_PROTOCOLVERSION == 3)
|
if (defined("LDAP_SERVER_PROTOCOLVERSION") && LDAP_SERVER_PROTOCOLVERSION == 3)
|
||||||
{
|
{
|
||||||
print '<option value="3" selected>Version 3';
|
print '<option value="3" selected="true">Version 3';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<option value="2" selected>Version 2';
|
print '<option value="2" selected="true">Version 2';
|
||||||
}
|
}
|
||||||
print '<option value="LDAP_SERVER_PROTOCOLVERSION">------------------------';
|
print '<option value="LDAP_SERVER_PROTOCOLVERSION">------------------------';
|
||||||
print '<option value="3">Version 3';
|
print '<option value="3">Version 3';
|
||||||
|
|||||||
@@ -174,7 +174,7 @@ if ($action == 'create')
|
|||||||
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value=""></td></tr>';
|
print '<tr><td>'.$langs->trans("Price").'</td><TD><input name="price" size="10" value=""></td></tr>';
|
||||||
|
|
||||||
print '<tr><td>Frais de port</td><td><select name="fdp">';
|
print '<tr><td>Frais de port</td><td><select name="fdp">';
|
||||||
print '<option value="1" SELECTED>oui</option>';
|
print '<option value="1" selected="true">oui</option>';
|
||||||
print '<option value="0">non</option></td></tr>';
|
print '<option value="0">non</option></td></tr>';
|
||||||
|
|
||||||
$htmls = new Form($db);
|
$htmls = new Form($db);
|
||||||
@@ -261,13 +261,13 @@ else
|
|||||||
print '<tr><td>Frais de port</td><td><select name="fdp">';
|
print '<tr><td>Frais de port</td><td><select name="fdp">';
|
||||||
if ($livre->frais_de_port)
|
if ($livre->frais_de_port)
|
||||||
{
|
{
|
||||||
print '<option value="1" SELECTED>oui</option>';
|
print '<option value="1" selected="true">oui</option>';
|
||||||
print '<option value="0">non</option>';
|
print '<option value="0">non</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<option value="1">oui</option>';
|
print '<option value="1">oui</option>';
|
||||||
print '<option value="0" SELECTED>non</option>';
|
print '<option value="0" selected="true">non</option>';
|
||||||
}
|
}
|
||||||
print '</select></td></tr>';
|
print '</select></td></tr>';
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ if ($account > 0)
|
|||||||
$var=True;
|
$var=True;
|
||||||
$num = $db->num_rows($result);
|
$num = $db->num_rows($result);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$options = "<option value=\"0\" selected></option>";
|
$options = "<option value=\"0\" selected=\"true\"> </option>";
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
|
|||||||
@@ -136,7 +136,7 @@ if ($result)
|
|||||||
$var=True;
|
$var=True;
|
||||||
$num = $db->num_rows($result);
|
$num = $db->num_rows($result);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$options = "<option value=\"0\" selected></option>";
|
$options = "<option value=\"0\" selected=\"true\"> </option>";
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ if ($resql) {
|
|||||||
$num = $db->num_rows($resql);
|
$num = $db->num_rows($resql);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
if ($options == "") { $options = "<option value=\"0\" selected> </option>"; }
|
if ($options == "") { $options = "<option value=\"0\" selected=\"true\"> </option>"; }
|
||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ if ($result) {
|
|||||||
$var=True;
|
$var=True;
|
||||||
$num = $db->num_rows($result);
|
$num = $db->num_rows($result);
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$options = "<option value=\"0\" selected></option>";
|
$options = "<option value=\"0\" selected=\"true\"> </option>";
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
||||||
|
|||||||
@@ -792,7 +792,7 @@ if ($_GET['action'] == 'create')
|
|||||||
if ($num > 0)
|
if ($num > 0)
|
||||||
{
|
{
|
||||||
print '<tr><td colspan="3">Factures r<>currentes : <select class="flat" name="fac_rec">';
|
print '<tr><td colspan="3">Factures r<>currentes : <select class="flat" name="fac_rec">';
|
||||||
print '<option value="0" selected></option>';
|
print '<option value="0" selected="true"></option>';
|
||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$objp = $db->fetch_object();
|
$objp = $db->fetch_object();
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ $sql = "SELECT rowid, number, label FROM ".MAIN_DB_PREFIX."compta_account ORDER
|
|||||||
if ( $db->query($sql) ) {
|
if ( $db->query($sql) ) {
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$options = "<option value=\"0\" SELECTED></option>";
|
$options = "<option value=\"0\" selected=\"true\"> </option>";
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
$obj = $db->fetch_object();
|
$obj = $db->fetch_object();
|
||||||
$options .= "<option value=\"$obj->rowid\">$obj->number</option>\n"; $i++;
|
$options .= "<option value=\"$obj->rowid\">$obj->number</option>\n"; $i++;
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ for ($month = 1 ; $month < 13 ; $month++)
|
|||||||
{
|
{
|
||||||
if ($month == $cmonth)
|
if ($month == $cmonth)
|
||||||
{
|
{
|
||||||
print "<option value=\"$month\" selected>" . $strmonth[$month];
|
print "<option value=\"$month\" selected=\"true\">" . $strmonth[$month];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -105,7 +105,7 @@ for ($formyear = $syear - 2; $formyear < $syear +1 ; $formyear++)
|
|||||||
{
|
{
|
||||||
if ($formyear == $syear)
|
if ($formyear == $syear)
|
||||||
{
|
{
|
||||||
print "<option value=\"$formyear\" selected>$formyear";
|
print "<option value=\"$formyear\" selected=\"true\">$formyear";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ $cmonth = date("n", time());
|
|||||||
print "<select name=\"pmonth\">";
|
print "<select name=\"pmonth\">";
|
||||||
for ($month = 1 ; $month <= 12 ; $month++) {
|
for ($month = 1 ; $month <= 12 ; $month++) {
|
||||||
if ($month == $cmonth) {
|
if ($month == $cmonth) {
|
||||||
print "<option value=\"$month\" SELECTED>" . $strmonth[$month];
|
print "<option value=\"$month\" selected=\"true\">" . $strmonth[$month];
|
||||||
} else {
|
} else {
|
||||||
print "<option value=\"$month\">" . $strmonth[$month];
|
print "<option value=\"$month\">" . $strmonth[$month];
|
||||||
}
|
}
|
||||||
@@ -116,7 +116,7 @@ print "</select>";
|
|||||||
print "<select name=\"pyear\">";
|
print "<select name=\"pyear\">";
|
||||||
$syear = date("Y", time() ) ;
|
$syear = date("Y", time() ) ;
|
||||||
print "<option value=\"".($syear-1)."\">".($syear-1);
|
print "<option value=\"".($syear-1)."\">".($syear-1);
|
||||||
print "<option value=\"$syear\" SELECTED>$syear";
|
print "<option value=\"$syear\" selected=\"true\">$syear";
|
||||||
|
|
||||||
for ($year = $syear +1 ; $year < $syear + 5 ; $year++) {
|
for ($year = $syear +1 ; $year < $syear + 5 ; $year++) {
|
||||||
print "<option value=\"$year\">$year";
|
print "<option value=\"$year\">$year";
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ if ($_GET["id"])
|
|||||||
print '<td colspan="2" class="valid">';
|
print '<td colspan="2" class="valid">';
|
||||||
print '<select name="confirm">';
|
print '<select name="confirm">';
|
||||||
print '<option value="yes">oui</option>';
|
print '<option value="yes">oui</option>';
|
||||||
print '<option value="no" selected>non</option>';
|
print '<option value="no" selected="true">non</option>';
|
||||||
print '</select>';
|
print '</select>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ if ($result) {
|
|||||||
$var=True;
|
$var=True;
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$options = "<option value=\"0\" SELECTED></option>";
|
$options = "<option value=\"0\" selected=\"true\"></option>";
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ if ($result) {
|
|||||||
$var=True;
|
$var=True;
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$options = "<option value=\"0\" SELECTED></option>";
|
$options = "<option value=\"0\" selected=\"true\"></option>";
|
||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
$obj = $db->fetch_object($result);
|
$obj = $db->fetch_object($result);
|
||||||
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
$options .= "<option value=\"$obj->rowid\">$obj->label</option>\n"; $i++;
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ if ($_GET["action"] == 'create')
|
|||||||
$sql .= " ORDER BY p.nbvente DESC LIMIT 20";
|
$sql .= " ORDER BY p.nbvente DESC LIMIT 20";
|
||||||
if ( $db->query($sql) )
|
if ( $db->query($sql) )
|
||||||
{
|
{
|
||||||
$opt = "<option value=\"0\" selected></option>";
|
$opt = "<option value=\"0\" selected=\"true\"></option>";
|
||||||
if ($result)
|
if ($result)
|
||||||
{
|
{
|
||||||
$num = $db->num_rows(); $i = 0;
|
$num = $db->num_rows(); $i = 0;
|
||||||
|
|||||||
@@ -259,7 +259,7 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
|
|||||||
|
|
||||||
if ($_GET["socid"] == $obj->idp)
|
if ($_GET["socid"] == $obj->idp)
|
||||||
{
|
{
|
||||||
print '" selected>'.$obj->nom.'</option>';
|
print '" selected=\"true\">'.$obj->nom.'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -403,6 +403,7 @@ class Form
|
|||||||
* \param socid Id soci<63>t<EFBFBD>
|
* \param socid Id soci<63>t<EFBFBD>
|
||||||
* \param selected Id projet pr<70>s<EFBFBD>lectionn<6E>
|
* \param selected Id projet pr<70>s<EFBFBD>lectionn<6E>
|
||||||
* \param htmlname Nom de la zone html
|
* \param htmlname Nom de la zone html
|
||||||
|
* \return int Nbre de projet si ok, <0 si ko
|
||||||
*/
|
*/
|
||||||
function select_projects($socid='', $selected='', $htmlname='projectid')
|
function select_projects($socid='', $selected='', $htmlname='projectid')
|
||||||
{
|
{
|
||||||
@@ -436,10 +437,12 @@ class Form
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '</select>';
|
print '</select>';
|
||||||
|
return $num;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
dolibarr_print_error($this->db);
|
dolibarr_print_error($this->db);
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ while ($i < $num)
|
|||||||
{
|
{
|
||||||
if ($selected == $langs_available[$i])
|
if ($selected == $langs_available[$i])
|
||||||
{
|
{
|
||||||
print '<option value="'.$langs_available[$i].'" selected>'.$langs_available[$i].'</option>';
|
print '<option value="'.$langs_available[$i].'" selected="true">'.$langs_available[$i].'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1477,18 +1477,18 @@ function print_heure_select($prefix,$begin=1,$end=23) {
|
|||||||
function print_duree_select($prefix)
|
function print_duree_select($prefix)
|
||||||
{
|
{
|
||||||
print '<select name="'.$prefix.'hour">';
|
print '<select name="'.$prefix.'hour">';
|
||||||
print "<option value=\"0\">0";
|
print "<option value=\"0\">0</option>";
|
||||||
print "<option value=\"1\" selected>1";
|
print "<option value=\"1\" selected=\"true\">1</option>";
|
||||||
|
|
||||||
for ($hour = 2 ; $hour < 13 ; $hour++)
|
for ($hour = 2 ; $hour < 13 ; $hour++)
|
||||||
{
|
{
|
||||||
print "<option value=\"$hour\">$hour";
|
print "<option value=\"$hour\">$hour</option>";
|
||||||
}
|
}
|
||||||
print "</select> H ";
|
print "</select> H ";
|
||||||
print '<select name="'.$prefix.'min">';
|
print '<select name="'.$prefix.'min">';
|
||||||
for ($min = 0 ; $min < 55 ; $min=$min+5)
|
for ($min = 0 ; $min < 55 ; $min=$min+5)
|
||||||
{
|
{
|
||||||
print "<option value=\"$min\">$min";
|
print "<option value=\"$min\">$min</option>";
|
||||||
}
|
}
|
||||||
print "</select>\n";
|
print "</select>\n";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -243,7 +243,7 @@ if ($_GET["action"] == 'create' && $user->rights->produit->creer)
|
|||||||
print '<tr><td>'.$langs->trans("Status").'</td><td>';
|
print '<tr><td>'.$langs->trans("Status").'</td><td>';
|
||||||
print '<select name="statut">';
|
print '<select name="statut">';
|
||||||
print '<option value="1">'.$langs->trans("OnSell").'</option>';
|
print '<option value="1">'.$langs->trans("OnSell").'</option>';
|
||||||
print '<option value="0" selected>'.$langs->trans("NotOnSell").'</option>';
|
print '<option value="0" selected="true">'.$langs->trans("NotOnSell").'</option>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
if ($_GET["type"] == 0 && $conf->stick->enabled)
|
if ($_GET["type"] == 0 && $conf->stick->enabled)
|
||||||
@@ -487,13 +487,13 @@ if ($_GET["id"])
|
|||||||
print '<select name="statut">';
|
print '<select name="statut">';
|
||||||
if ($product->envente)
|
if ($product->envente)
|
||||||
{
|
{
|
||||||
print '<option value="1" selected>'.$langs->trans("OnSell").'</option>';
|
print '<option value="1" selected="true">'.$langs->trans("OnSell").'</option>';
|
||||||
print '<option value="0">'.$langs->trans("NotOnSell").'</option>';
|
print '<option value="0">'.$langs->trans("NotOnSell").'</option>';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<option value="1">'.$langs->trans("OnSell").'</option>';
|
print '<option value="1">'.$langs->trans("OnSell").'</option>';
|
||||||
print '<option value="0" selected>'.$langs->trans("NotOnSell").'</option>';
|
print '<option value="0" selected="true">'.$langs->trans("NotOnSell").'</option>';
|
||||||
}
|
}
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
if ($product->type == 0 && $conf->stock->enabled)
|
if ($product->type == 0 && $conf->stock->enabled)
|
||||||
|
|||||||
@@ -154,7 +154,7 @@ if ($_GET["action"] == 'create')
|
|||||||
|
|
||||||
print '<tr><td width="20%">'.$langs->trans("Status").'</td><td colspan="3">';
|
print '<tr><td width="20%">'.$langs->trans("Status").'</td><td colspan="3">';
|
||||||
print '<select name="statut">';
|
print '<select name="statut">';
|
||||||
print '<option value="0" selected>'.$langs->trans("WarehouseClosed").'</option><option value="1">'.$langs->trans("WarehouseOpened").'</option>';
|
print '<option value="0" selected="true">'.$langs->trans("WarehouseClosed").'</option><option value="1">'.$langs->trans("WarehouseOpened").'</option>';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
print '<tr><td colspan="4" align="center"><input type="submit" class="button" value="'.$langs->trans("Create").'"></td></tr>';
|
print '<tr><td colspan="4" align="center"><input type="submit" class="button" value="'.$langs->trans("Create").'"></td></tr>';
|
||||||
|
|||||||
@@ -299,7 +299,7 @@ if ($_GET["action"] == 'create' && $user->rights->projet->creer)
|
|||||||
print '<tr><td>'.$langs->trans("NewTask").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("NewTask").'</td><td colspan="3">';
|
||||||
print '<input type="text" size="25" name="task_name" class="flat"> ';
|
print '<input type="text" size="25" name="task_name" class="flat"> ';
|
||||||
print '<select class="flat" name="task_parent">';
|
print '<select class="flat" name="task_parent">';
|
||||||
print '<option value="0" SELECTED></option>';
|
print '<option value="0" selected="true"> </option>';
|
||||||
PLineSelect($j, 0, $tasks, $level);
|
PLineSelect($j, 0, $tasks, $level);
|
||||||
print '</select> ';
|
print '</select> ';
|
||||||
print '<input type="submit" class="flat">';
|
print '<input type="submit" class="flat">';
|
||||||
|
|||||||
Reference in New Issue
Block a user