Skip to content

Commit

Permalink
Merge pull request #3114 from aspangaro/develop-patch46
Browse files Browse the repository at this point in the history
Forms are using the tab look, even in creation mode
  • Loading branch information
eldy committed Jul 4, 2015
2 parents bddee5d + ea703be commit 47f9184
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
4 changes: 3 additions & 1 deletion htdocs/compta/paiement_charge.php
Expand Up @@ -176,6 +176,8 @@
print '<input type="hidden" name="chid" value="'.$chid.'">';
print '<input type="hidden" name="action" value="add_payment">';

dol_fiche_head('', '');

print '<table cellspacing="0" class="border" width="100%" cellpadding="2">';

print "<tr class=\"liste_titre\"><td colspan=\"3\">".$langs->trans("SocialContribution")."</td>";
Expand Down Expand Up @@ -235,7 +237,7 @@

print '</table>';

print '<br>';
dol_fiche_end();

/*
* Autres charges impayees
Expand Down
6 changes: 5 additions & 1 deletion htdocs/core/tpl/admin_extrafields_add.tpl.php
Expand Up @@ -75,6 +75,8 @@ function init_typeoffields(type)
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="action" value="add">

<?php dol_fiche_head(); ?>

<table summary="listofattributes" class="border centpercent">
<!-- Label -->
<tr><td class="fieldrequired"><?php echo $langs->trans("Label"); ?></td><td class="valeur"><input type="text" name="label" size="40" value="<?php echo GETPOST('label'); ?>"></td></tr>
Expand Down Expand Up @@ -121,7 +123,9 @@ function init_typeoffields(type)
<?php } ?>
</table>

<div align="center"><br><input type="submit" name="button" class="button" value="<?php echo $langs->trans("Save"); ?>"> &nbsp;
<?php dol_fiche_end(); ?>

<div align="center"><input type="submit" name="button" class="button" value="<?php echo $langs->trans("Save"); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="button" class="button" value="<?php echo $langs->trans("Cancel"); ?>"></div>

</form>
Expand Down
6 changes: 5 additions & 1 deletion htdocs/core/tpl/admin_extrafields_edit.tpl.php
Expand Up @@ -46,6 +46,8 @@ function init_typeoffields(type)
<input type="hidden" name="action" value="update">
<input type="hidden" name="rowid" value="<?php echo $rowid ?>">

<?php dol_fiche_head(); ?>

<table summary="listofattributes" class="border centpercent">

<?php
Expand Down Expand Up @@ -123,7 +125,9 @@ function init_typeoffields(type)
<?php } ?>
</table>

<div align="center"><br><input type="submit" name="button" class="button" value="<?php echo $langs->trans("Save"); ?>"> &nbsp;
<?php dol_fiche_end(); ?>

<div align="center"><input type="submit" name="button" class="button" value="<?php echo $langs->trans("Save"); ?>">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="submit" name="button" class="button" value="<?php echo $langs->trans("Cancel"); ?>"></div>

</form>
Expand Down
1 change: 1 addition & 0 deletions htdocs/langs/en_US/categories.lang
Expand Up @@ -108,3 +108,4 @@ CategorieRecursiv=Link with parent tag/category automatically
CategorieRecursivHelp=If activated, product will also linked to parent category when adding into a subcategory
AddProductServiceIntoCategory=Add the following product/service
ShowCategory=Show tag/category
ByDefaultInList=By default in list

0 comments on commit 47f9184

Please sign in to comment.