Skip to content

Commit

Permalink
Look: Alignement and trans
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Aug 26, 2011
1 parent 2aefb6a commit f9ccecd
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions htdocs/admin/societe.php
Expand Up @@ -23,7 +23,7 @@
* \file htdocs/admin/societe.php
* \ingroup company
* \brief Third party module setup page
* \version $Id: societe.php,v 1.63 2011/08/17 07:50:29 simnandez Exp $
* \version $Id: societe.php,v 1.64 2011/08/26 11:48:36 eldy Exp $
*/

require("../main.inc.php");
Expand Down Expand Up @@ -357,7 +357,7 @@
print '<td width="140">'.$langs->trans("Name").'</td>';
print '<td>'.$langs->trans("Description").'</td>';
print '<td align="center">'.$langs->trans("Status").'</td>';
print '<td align="center" width="60" colspan="2">'.$langs->trans("Infos").'</td>';
print '<td align="center" width="60">'.$langs->trans("Infos").'</td>';
print "</tr>\n";

clearstatcache();
Expand Down Expand Up @@ -440,20 +440,16 @@
$htmltooltip.='<br>'.$langs->trans("WatermarkOnDraft").': '.yn($module->option_draft_watermark,1,1);


print '<td align="center">';
print $form->textwithpicto('',$htmltooltip,1,0);
print '</td>';

// Preview
print '<td align="center">';
print '<td align="center" nowrap="nowrap">';
if ($modele->type == 'pdf')
{
print '<a href="'.$_SERVER["PHP_SELF"].'?action=specimen&module='.$name.'">'.img_object($langs->trans("Preview"),'bill').'</a>';
$linkspec='<a href="'.$_SERVER["PHP_SELF"].'?action=specimen&module='.$name.'">'.img_object($langs->trans("Preview"),'bill').'</a>';
}
else
{
print img_object($langs->trans("PreviewNotAvailable"),'generic');
$linkspec=img_object($langs->trans("PreviewNotAvailable"),'generic');
}
print $form->textwithpicto(' &nbsp; '.$linkspec,$htmltooltip,1,0);
print '</td>';

print "</tr>\n";
Expand All @@ -475,7 +471,7 @@
print '<tr class="liste_titre">';
print '<td>'.$langs->trans("Name").'</td>';
print '<td>'.$langs->trans("Description").'</td>';
print '<td align="center">'.$langs->trans("Value").'</td>';
print '<td align="center">'.$langs->trans("MustBeUnique").'</td>';
print "</tr>\n";

$profid[0][0]=$langs->trans("ProfId1");
Expand Down Expand Up @@ -531,7 +527,7 @@
$i++;
}

print "</table>\n";
print "</table><br>\n";


print_titre($langs->trans("Other"));
Expand Down Expand Up @@ -581,5 +577,5 @@

$db->close();

llxFooter('$Date: 2011/08/17 07:50:29 $ - $Revision: 1.63 $');
llxFooter('$Date: 2011/08/26 11:48:36 $ - $Revision: 1.64 $');
?>

0 comments on commit f9ccecd

Please sign in to comment.