Look: Utilisation du style class="button" sur les boutons.

This commit is contained in:
Laurent Destailleur 2005-09-06 22:37:37 +00:00
parent f0c88f5f5d
commit ebda8416a7
4 changed files with 13 additions and 11 deletions

View File

@ -307,7 +307,7 @@ if ($_GET["action"] == 'create')
print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';
print '<textarea cols="60" rows="6" name="note"></textarea></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>';
}
@ -368,7 +368,7 @@ if ($_GET["action"] == 'create')
{
$societe = new Societe($db);
$societe->fetch($_GET["socid"]);
print $societe->nom_url;
print img_object($langs->trans("ShowCompany"),'company').' '.$societe->nom_url;
print '<input type="hidden" name="socid" value="'.$_GET["socid"].'">';
}
else
@ -432,8 +432,10 @@ if ($_GET["action"] == 'create')
print '<tr><td valign="top">'.$langs->trans("Note").'</td><td>';
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 '</table>';
print '<p align="center"><input type="submit" value="'.$langs->trans("Add").'"></p>';
}
print "</form>";
@ -513,7 +515,7 @@ if ($_GET["id"])
print '<tr><td valign="top">'.$langs->trans("Note").'</td><td colspan="3">';
print '<textarea cols="60" rows="6" name="note">'.nl2br($act->note).'</textarea></td></tr>';
print '<tr><td align="center" colspan="4"><input type="submit" value="'.$langs->trans("Save").'"</td></tr>';
print '<tr><td align="center" colspan="4"><input type="submit" class="button" value="'.$langs->trans("Save").'"</td></tr>';
print '</table></form>';
}
else

View File

@ -233,7 +233,7 @@ if ($_GET["action"] == 'create')
if ($numdest > 0)
{
$langs->load("bills");
print '<input type="submit" value="'.$langs->trans("CreateDraft").'">';
print '<input type="submit" class="button" value="'.$langs->trans("CreateDraft").'">';
}
print "</form>";
}

View File

@ -137,7 +137,7 @@ if ($result)
print '<td class="liste_titre" valign="right">';
print '<input type="text" class="flat" name="search_nom" value="'.$_GET["search_nom"].'">';
print '</td><td class="liste_titre">';
print '<input type="text" class="flat" name="search_ville" value="'.$_GET["search_ville"].'">';
print '<input type="text" class="flat" name="search_ville" size="12" value="'.$_GET["search_ville"].'">';
print '</td>';
print '<td class="liste_titre" colspan="7" align="right">';
print '<input type="image" class="liste_titre" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/search.png" alt="'.$langs->trans("Search").'">';
@ -169,7 +169,7 @@ if ($result)
print "</td>";
$sts = array(-1,0,1,2,3);
print '<td align="right">';
print '<td align="right" nowrap>';
foreach ($sts as $key => $value)
{
if ($value <> $obj->fk_stcomm)

View File

@ -205,7 +205,7 @@ if ($_GET["action"] == 'create')
print '</td></tr>';
print '<tr><td colspan="2" align="center">';
print "<input type=\"submit\" value=\"".$langs->trans("Add")."\">";
print '<input type="submit" class="button" value="'.$langs->trans("Add").'">';
print '</td></tr>';
print '</table>';
print '</form>';
@ -273,11 +273,11 @@ if ($_GET["action"] == 'edit')
print '</td></tr>';
print '<tr><td colspan="2" align="center">';
print "<input type=\"submit\" value=\"".$langs->trans("Save")."\">";
print '<input type="submit" class="button" value="'.$langs->trans("Save").'">';
print '</td></tr>';
print "</table>";
print '</table>';
print "</form>";
print '</form>';
}