diff --git a/htdocs/admin/system/index.php b/htdocs/admin/system/index.php index de5427c60afa1312427e9b565a86dc90c9f52bc3..29059e671b2e611ba6117cbded9c6fda0f63b706 100644 --- a/htdocs/admin/system/index.php +++ b/htdocs/admin/system/index.php @@ -1,6 +1,6 @@ <?php /* Copyright (C) 2001-2007 Rodolphe Quiedeville <rodolphe@quiedeville.org> - * Copyright (C) 2004-2009 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2004-2010 Laurent Destailleur <eldy@users.sourceforge.net> * Copyright (C) 2005-2010 Regis Houssin <regis@dolibarr.fr> * * This program is free software; you can redistribute it and/or modify @@ -91,5 +91,14 @@ print "<tr $bc[0]><td width=\"280\">".$langs->trans("Version")."</td><td>" .$dbl print '</table>'; print '<br>'; +// Database +print '<table class="noborder" width="100%">'; +print "<tr class=\"liste_titre\"><td colspan=\"2\">".$langs->trans("Browser")."</td></tr>\n"; +print "<tr $bc[0]><td width=\"280\">".$langs->trans("UserAgent")."</td><td>" .$_SERVER["HTTP_USER_AGENT"]."</td></tr>\n"; +print "<tr $bc[1]><td width=\"280\">".$langs->trans("Smartphone")."</td><td>".(empty($conf->browser->phone)?$langs->trans("No"):$conf->browser->phone)."</td></tr>\n"; +print '</table>'; +print '<br>'; + + llxFooter('$Date$ - $Revision$'); ?> diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index 201e7ca6471cf495a3648ba8b77760ac83e06fc7..69acdb8d5ef500d27d1de437c6da5371c962e81f 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -50,8 +50,8 @@ if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If languag $langs->load("main",0,1); $right=($langs->direction=='rtl'?'left':'right'); $left=($langs->direction=='rtl'?'right':'left'); -$fontsize=empty($conf->browser->phone)?'12':'10'; -$fontsizesmaller=empty($conf->browser->phone)?'11':'10'; +$fontsize=empty($conf->browser->phone)?'12':'12'; +$fontsizesmaller=empty($conf->browser->phone)?'11':'11'; ?> @@ -169,10 +169,16 @@ div.fiche { /* ============================================================================== */ <?php -$minwidthtmenu=0; -$heightmenu=19; -$minwidthtmenu=70; -$heightmenu=47; +if (! empty($conf->browser->phone)) +{ + $minwidthtmenu=0; + $heightmenu=19; +} +else +{ + $minwidthtmenu=70; + $heightmenu=47; +} ?> div.tmenu { @@ -276,17 +282,18 @@ li.tmenu { font-weight: normal; } -<?php $i=2; ?> div.mainmenu { position : relative; color: white; background-repeat:no-repeat; background-position:center top; - height:28px; + height: <?php echo ($heightmenu-19); ?>px; margin-left: 0px; } +<?php if (empty($conf->browser->phone)) { ?> + div.mainmenu.home{ background-image: url(<?php echo DOL_URL_ROOT.'/theme/eldy/img/menus/home.png' ?>); } @@ -393,6 +400,9 @@ foreach($mainmenuusedarray as $key => $val) // End of part to add more div class css ?> +<?php +} // End test if not phone +?> /* Login */