Fix: bug #15945 : mise en page fiche action
This commit is contained in:
parent
39854b8918
commit
60a95d3e26
@ -344,38 +344,35 @@ if ($_GET["action"] == 'create')
|
|||||||
print '<tr><td>'.$langs->trans("Status").' / '.$langs->trans("Percentage").'</td><td><input type="text" name="percentage" value="0%"></td></tr>';
|
print '<tr><td>'.$langs->trans("Status").' / '.$langs->trans("Percentage").'</td><td><input type="text" name="percentage" value="0%"></td></tr>';
|
||||||
}
|
}
|
||||||
|
|
||||||
// Date
|
// Date
|
||||||
print '<tr><td>'.$langs->trans("Date").'</td><td>';
|
print '<tr><td>'.$langs->trans("Date").'</td><td>';
|
||||||
if ($_GET["afaire"] == 1)
|
if ($_GET["afaire"] == 1)
|
||||||
{
|
{
|
||||||
$html->select_date('','ac','','','',"action");
|
$html->select_date('','ac','','','',"action");
|
||||||
print '<tr><td>'.$langs->trans("Hour").'</td><td>';
|
print '</tr><tr><td>'.$langs->trans("Hour").'</td><td>';
|
||||||
print_heure_select("heure",8,20);
|
print_heure_select("heure",8,20);
|
||||||
print '</td></tr>';
|
}
|
||||||
}
|
else if ($_GET["afaire"] == 2)
|
||||||
else if ($_GET["afaire"] == 2)
|
{
|
||||||
{
|
$html->select_date('','ac','','','',"action");
|
||||||
$html->select_date('','ac','','','',"action");
|
print '</tr><tr><td>'.$langs->trans("Hour").'</td><td>';
|
||||||
print '<tr><td>'.$langs->trans("Hour").'</td><td>';
|
print_heure_select("heure",8,20);
|
||||||
print_heure_select("heure",8,20);
|
}
|
||||||
print '</td></tr>';
|
else
|
||||||
}
|
{
|
||||||
else
|
$html->select_date('','ac','','','',"action");
|
||||||
{
|
print '</tr><tr><td>'.$langs->trans("Hour").'</td><td>';
|
||||||
$html->select_date('','ac','','','',"action");
|
print_heure_select("heure",8,20);
|
||||||
print '<tr><td>'.$langs->trans("Hour").'</td><td>';
|
}
|
||||||
print_heure_select("heure",8,20);
|
print '</td></tr>';
|
||||||
print '</td></tr>';
|
|
||||||
}
|
|
||||||
print '</td></tr>';
|
|
||||||
|
|
||||||
add_row_for_webcal_link();
|
add_row_for_webcal_link();
|
||||||
|
|
||||||
// Note
|
// Note
|
||||||
print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';
|
print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';
|
||||||
print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';
|
print '<textarea cols="60" rows="6" name="note"></textarea></td></tr>';
|
||||||
|
|
||||||
print '<tr><td align="center" colspan="2"><input type="submit" class="button" value="'.$langs->trans("Add").'"</td></tr>';
|
print '<tr><td align="center" colspan="2"><input type="submit" class="button" value="'.$langs->trans("Add").'"></td></tr>';
|
||||||
|
|
||||||
print '</table>';
|
print '</table>';
|
||||||
|
|
||||||
@ -479,7 +476,7 @@ if ($_GET["id"])
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Affichage fiche action en mode visu
|
// Affichage fiche action en mode visu
|
||||||
print '<table class="border" width="100%"';
|
print '<table class="border" width="100%">';
|
||||||
print '<tr><td width="30%">'.$langs->trans("Ref").'</td><td colspan="3">'.$act->id.'</td></tr>';
|
print '<tr><td width="30%">'.$langs->trans("Ref").'</td><td colspan="3">'.$act->id.'</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Type").'</td><td colspan="3">'.$act->type.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Type").'</td><td colspan="3">'.$act->type.'</td></tr>';
|
||||||
print '<tr><td>'.$langs->trans("Title").'</td><td colspan="3">'.$act->label.'</td></tr>';
|
print '<tr><td>'.$langs->trans("Title").'</td><td colspan="3">'.$act->label.'</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user