Merge branch 'develop' of git+ssh://git@github.com/Dolibarr/dolibarr.git into develop

This commit is contained in:
Regis Houssin 2012-04-18 18:54:10 +02:00
commit 41b29b03b5
15 changed files with 267 additions and 137 deletions

View File

@ -22,7 +22,8 @@ AppVerName=DoliWamp-3.3.0-alpha
OutputBaseFilename=DoliWamp-3.3.0-alpha OutputBaseFilename=DoliWamp-3.3.0-alpha
; Define full path from wich all relative path are defined ; Define full path from wich all relative path are defined
; You must modify this to put here your dolibarr root directory ; You must modify this to put here your dolibarr root directory
SourceDir=c:\Documents and Settings\ldestail\git\dolibarr ;SourceDir=C:\Documents and Settings\ldestail\git\dolibarrold
SourceDir=Z:\home\ldestail\git\dolibarrold
; ----- End of change ; ----- End of change
;OutputManifestFile=build\doliwampbuild.log ;OutputManifestFile=build\doliwampbuild.log
AppId=doliwamp AppId=doliwamp

View File

@ -38,7 +38,7 @@ $FILENAMEZIP="$PROJECT-$MAJOR.$MINOR.$BUILD";
$FILENAMERPM="$PROJECT-$MAJOR.$MINOR.$BUILD-$RPMSUBVERSION"; $FILENAMERPM="$PROJECT-$MAJOR.$MINOR.$BUILD-$RPMSUBVERSION";
$FILENAMEDEB="${PROJECT}_${MAJOR}.${MINOR}.${BUILD}"; $FILENAMEDEB="${PROJECT}_${MAJOR}.${MINOR}.${BUILD}";
$FILENAMEAPS="$PROJECT-$MAJOR.$MINOR.$BUILD.app"; $FILENAMEAPS="$PROJECT-$MAJOR.$MINOR.$BUILD.app";
$FILENAMEEXEDOLIWAMP="$PROJECT-$MAJOR.$MINOR.$BUILD"; $FILENAMEEXEDOLIWAMP="DoliWamp-$MAJOR.$MINOR.$BUILD";
if (-d "/usr/src/redhat") { $RPMDIR="/usr/src/redhat"; } # redhat if (-d "/usr/src/redhat") { $RPMDIR="/usr/src/redhat"; } # redhat
if (-d "/usr/src/RPM") { $RPMDIR="/usr/src/RPM"; } # mandrake if (-d "/usr/src/RPM") { $RPMDIR="/usr/src/RPM"; } # mandrake
@ -763,8 +763,10 @@ if ($nboftargetok) {
print "Remove target $FILENAMEEXEDOLIWAMP.exe...\n"; print "Remove target $FILENAMEEXEDOLIWAMP.exe...\n";
unlink "$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe"; unlink "$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe";
print "Compil exe $FILENAMEEXEDOLIWAMP.exe file from iss file \"$SOURCE\\build\\exe\\doliwamp\\doliwamp.iss\"\n"; $SOURCEBACK=$SOURCE;
$cmd= "iscc.exe \"$SOURCE\\build\\exe\\doliwamp\\doliwamp.iss\""; $SOURCEBACK =~ s/\//\\/g;
print "Compil exe $FILENAMEEXEDOLIWAMP.exe file from iss file \"$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.iss\"\n";
$cmd= "ISCC.exe \"$SOURCEBACK\\build\\exe\\doliwamp\\doliwamp.iss\"";
print "$cmd\n"; print "$cmd\n";
$ret= `$cmd`; $ret= `$cmd`;
#print "$ret\n"; #print "$ret\n";
@ -772,6 +774,8 @@ if ($nboftargetok) {
# Move to final dir # Move to final dir
print "Move \"$SOURCE\\build\\$FILENAMEEXEDOLIWAMP.exe\" to $NEWDESTI/$FILENAMEEXEDOLIWAMP.exe\n"; print "Move \"$SOURCE\\build\\$FILENAMEEXEDOLIWAMP.exe\" to $NEWDESTI/$FILENAMEEXEDOLIWAMP.exe\n";
rename("$SOURCE/build/$FILENAMEEXEDOLIWAMP.exe","$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe"); rename("$SOURCE/build/$FILENAMEEXEDOLIWAMP.exe","$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe");
print "Move $SOURCE/build/$FILENAMEEXEDOLIWAMP.exe to $NEWDESTI/$FILENAMEEXEDOLIWAMP.exe\n";
$ret=`mv "$SOURCE/build/$FILENAMEEXEDOLIWAMP.exe" "$NEWDESTI/$FILENAMEEXEDOLIWAMP.exe"`;
next; next;
} }
} }

View File

@ -1,5 +1,5 @@
<?php <?php
/* Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2009-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -24,8 +24,7 @@ require("../../main.inc.php");
$langs->load("admin"); $langs->load("admin");
if (!$user->admin) if (!$user->admin) accessforbidden();
accessforbidden();
$action=GETPOST('action'); $action=GETPOST('action');
@ -49,8 +48,17 @@ if (!function_exists('xcache_info'))
} }
print 'Opcode cache XCache is on<br>'."\n"; print 'Opcode cache XCache is on<br><br>'."\n\n";
print $langs->trans("Split").': '.ini_get('xcache.count').' &nbsp; &nbsp; &nbsp; '.$langs->trans("Recommanded").': (cat /proc/cpuinfo | grep -c processor) + 1<br>'."\n";
print $langs->trans("Size").': '.ini_get('xcache.size').' &nbsp; &nbsp; &nbsp; '.$langs->trans("Recommanded").': 16*Split<br>'."\n";
print $langs->trans("xcache.cacher").': '.yn(ini_get('xcache.cacher')).'<br>'."\n";
print $langs->trans("xcache.optimizer").': '.yn(ini_get('xcache.optimizer')).' (will be usefull only with xcache v2)<br>'."\n";
print $langs->trans("xcache.stat").': '.yn(ini_get('xcache.stat')).'<br>'."\n";
print $langs->trans("xcache.coverager").': '.yn(ini_get('xcache.coverager')).'<br>'."\n";
//print xcache_get();
/* /*
$cacheinfos = array(); $cacheinfos = array();
for ($i = 0; $i < 10; $i ++) for ($i = 0; $i < 10; $i ++)
@ -69,4 +77,6 @@ if ($action == 'clear')
*/ */
llxFooter(); llxFooter();
$db->close();
?> ?>

View File

@ -1,19 +1,19 @@
<?php <?php
/* Copyright (C) 2009 Laurent Destailleur <eldy@users.sourceforge.net> /* Copyright (C) 2009-2012 Laurent Destailleur <eldy@users.sourceforge.net>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* You should have received a copy of the GNU General Public License * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
/** /**
* \file htdocs/admin/system/xdebug.php * \file htdocs/admin/system/xdebug.php
@ -25,11 +25,11 @@ require("../../main.inc.php");
$langs->load("admin"); $langs->load("admin");
if (!$user->admin) if (!$user->admin)
accessforbidden(); accessforbidden();
/* /*
* View * View
*/ */
llxHeader(); llxHeader();
@ -42,8 +42,8 @@ print "<br>\n";
if (!function_exists('xdebug_is_enabled')) if (!function_exists('xdebug_is_enabled'))
{ {
print 'XDebug seems to be not installed. Function xdebug_is_enabled not found.'; print 'XDebug seems to be not installed. Function xdebug_is_enabled not found.';
llxFooter(); llxFooter();
exit; exit;
} }
@ -56,48 +56,55 @@ if (function_exists('socket_create'))
print 'XDEBUG_PORT: '.$port."<br>\n"; print 'XDEBUG_PORT: '.$port."<br>\n";
print "<br>\n"; print "<br>\n";
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);
if (empty($socket)) die('Unable to preapre a socket'); if (empty($socket)) die('Unable to preapre a socket');
//socket_bind($sock, $address, $port) or die('Unable to bind on address='.$address.' port='.$port); //socket_bind($sock, $address, $port) or die('Unable to bind on address='.$address.' port='.$port);
//socket_listen($sock); //socket_listen($sock);
//$client = socket_accept($sock); //$client = socket_accept($sock);
$client=socket_connect($socket, $address, $port); $client=socket_connect($socket, $address, $port);
if ($client) if ($client)
{ {
echo "Connection established: ".$client." - address=".$address." port=".$port."<br>\n"; echo "Connection established: ".$client." - address=".$address." port=".$port."<br>\n";
echo "There is a Remote debug server at this address.<br>\n"; echo "There is a Remote debug server at this address.<br>\n";
echo "<br>\n"; echo "<br>\n";
echo "To be sure this debugger accepts input from your PHP server, be sure to have\n"; echo "To be sure this debugger accepts input from your PHP server, be sure to have\n";
echo "your php.ini file with this :<br>\n"; echo "your php.ini file with this :<br>\n";
echo 'xdebug.remote_enable=on<br> echo 'xdebug.remote_enable=on<br>
xdebug.remote_handle=dbgp<br> xdebug.remote_handle=dbgp<br>
xdebug.remote_host=localhost<br> xdebug.remote_host=localhost<br>
xdebug.remote_port=9000<br> xdebug.remote_port=9000<br>
xdebug.profiler_enable=1<br> xdebug.profiler_enable=0<br>
xdebug.show_local_vars=off<br> xdebug.profiler_enable_trigger=1<br>
xdebug.profiler_output_dir=/tmp/xdebug<br> xdebug.show_local_vars=off<br>
xdebug.profiler_append=0<br> xdebug.profiler_output_dir=/tmp/xdebug<br>
'."\n"; xdebug.profiler_append=0<br>
print "<br>\n"; <br>
echo 'Then check in your debug server (Eclipse), you have setup:<br> xdebug.trace_enable_trigger=1<br>
xdebug.show_mem_delta=1<br>
xdebug.trace_output_dir=/tmp/trace<br>
xdebug.auto_trace=0<br>
'."\n";
print "<br>\n";
echo 'Then check in your debug server (Eclipse), you have setup:<br>
XDebug with same port than in php.ini<br> XDebug with same port than in php.ini<br>
Allow Remote debug=yes or prompt<br>'."\n"; Allow Remote debug=yes or prompt<br>'."\n";
print "<br>\n"; print "<br>\n";
echo "Then, to run a debug session, add parameter XDEBUG_SESSION_START=aname on your URL. To stop, remove cookie XDEBUG_SESSION_START.\n"; echo "Then, to run a debug session, add parameter XDEBUG_SESSION_START=aname on your URL. To stop, remove cookie XDEBUG_SESSION_START.\n";
} }
else else
{ {
print socket_strerror(socket_last_error()); print socket_strerror(socket_last_error());
echo "Failed to connect to address=".$address." port=".$port."<br>\n"; echo "Failed to connect to address=".$address." port=".$port."<br>\n";
echo "There is no Remote debug server at this address.\n"; echo "There is no Remote debug server at this address.\n";
} }
socket_close($client); socket_close($socket);
socket_close($socket);
} }
else else
{ {
print "Can't test if PHPDebug is OK as PHP socket functions are not enabled."; print "Can't test if PHPDebug is OK as PHP socket functions are not enabled.";
} }
llxFooter(); llxFooter();
$db->close();
?> ?>

View File

@ -74,7 +74,7 @@ print '<tr class="liste_titre"><td colspan="2">'.$langs->trans("Statistics").'</
$var=!$var; $var=!$var;
print '<tr '.$bc[$var].'><td>'.$langs->trans("NbOfInvoiceToWithdraw").'</td>'; print '<tr '.$bc[$var].'><td>'.$langs->trans("NbOfInvoiceToWithdraw").'</td>';
print '<td align="right">'; print '<td align="right">';
print '<a href="'.DOL_URL_ROOT.'/compta/prelevement/demandes.php?status=0&mainmenu=bank">'; print '<a href="'.DOL_URL_ROOT.'/compta/prelevement/demandes.php?status=0">';
print $bprev->NbFactureAPrelever(); print $bprev->NbFactureAPrelever();
print '</a>'; print '</a>';
print '</td></tr>'; print '</td></tr>';

View File

@ -163,7 +163,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
{ {
global $dolibarr_main_demo,$db; global $dolibarr_main_demo,$db;
global $smartphone,$hookmanager; global $smartphone,$hookmanager;
// Instantiate hooks of thirdparty module only if not already define // Instantiate hooks of thirdparty module only if not already define
if (! is_object($hookmanager)) if (! is_object($hookmanager))
{ {
@ -209,7 +209,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
} }
} }
$conf->css = "/theme/".$conf->theme."/style.css.php?lang=".$langs->defaultlang; $conf->css = "/theme/".(GETPOST('theme')?GETPOST('theme','alpha'):$conf->theme)."/style.css.php?lang=".$langs->defaultlang;
$conf_css = DOL_URL_ROOT.$conf->css; $conf_css = DOL_URL_ROOT.$conf->css;
// Set cookie for timeout management // Set cookie for timeout management
@ -237,7 +237,7 @@ function dol_loginfunction($langs,$conf,$mysoc)
$demologin=$tab[0]; $demologin=$tab[0];
$demopassword=$tab[1]; $demopassword=$tab[1];
} }
// Execute hook getLoginPageOptions // Execute hook getLoginPageOptions
// Should be an array with differents options in $hookmanager->resArray // Should be an array with differents options in $hookmanager->resArray
$parameters=array('entity' => $_POST['entity']); $parameters=array('entity' => $_POST['entity']);

View File

@ -41,20 +41,7 @@ print '<!-- Includes JS for JQuery -->'."\n";
if (constant('JS_JQUERY')) print '<script type="text/javascript" src="'.JS_JQUERY.'jquery.min.js"></script>'."\n"; if (constant('JS_JQUERY')) print '<script type="text/javascript" src="'.JS_JQUERY.'jquery.min.js"></script>'."\n";
else print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min'.$ext.'"></script>'."\n"; else print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min'.$ext.'"></script>'."\n";
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/js/dst.js"></script>'."\n"; print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/core/js/dst.js"></script>'."\n";
print '<link rel="stylesheet" type="text/css" href="'.$conf_css.'" /> print '<link rel="stylesheet" type="text/css" href="'.dol_escape_htmltag($conf_css).'" />'."\n";
<style type="text/css">
<!--
#login {
margin-top: 70px;
margin-bottom: 30px;
}
.login_table {
width: 512px;
border: 1px solid #C0C0C0;
background: #F0F0F0 url('.$login_background.') repeat-x;
}
-->
</style>'."\n";
if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER; if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER;
print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' --> print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' -->
</head>'; </head>';
@ -82,7 +69,7 @@ $(document).ready(function () {
<input type="hidden" name="screenwidth" id="screenwidth" value="" /> <input type="hidden" name="screenwidth" id="screenwidth" value="" />
<input type="hidden" name="screenheight" id="screenheight" value="" /> <input type="hidden" name="screenheight" id="screenheight" value="" />
<table class="login_table" summary="<?php echo $title; ?>" cellpadding="0" cellspacing="0" border="0" align="center"> <table class="login_table_title" summary="<?php echo $title; ?>" cellpadding="0" cellspacing="0" border="0" align="center">
<tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr> <tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr>
</table> </table>
<br> <br>
@ -134,7 +121,7 @@ if (! empty($hookmanager->resArray['options'])) {
</td> </td>
<td align="center" valign="top"> <td align="center" valign="top">
<img alt="Logo" title="" src="<?php echo $urllogo; ?>" /> <img alt="Logo" title="" src="<?php echo $urllogo; ?>" id="img_logo" />
</td> </td>
</tr> </tr>

View File

@ -38,20 +38,7 @@ else print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includ
print '<!-- Includes JS for JQuery -->'."\n"; print '<!-- Includes JS for JQuery -->'."\n";
if (constant('JS_JQUERY')) print '<script type="text/javascript" src="'.JS_JQUERY.'jquery.min.js"></script>'."\n"; if (constant('JS_JQUERY')) print '<script type="text/javascript" src="'.JS_JQUERY.'jquery.min.js"></script>'."\n";
else print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min'.$ext.'"></script>'."\n"; else print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min'.$ext.'"></script>'."\n";
print '<link rel="stylesheet" type="text/css" href="'.$conf_css.'" /> print '<link rel="stylesheet" type="text/css" href="'.$conf_css.'" />'."\n";
<style type="text/css">
<!--
#login {
margin-top: 70px;
margin-bottom: 30px;
}
.login_table {
width: 512px;
border: 1px solid #C0C0C0;
background: #F0F0F0 url('.$login_background.') repeat-x;
}
-->
</style>'."\n";
if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER; if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER;
print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' --> print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' -->
</head>'; </head>';
@ -64,7 +51,7 @@ print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' -->
<input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>"> <input type="hidden" name="token" value="<?php echo $_SESSION['newtoken']; ?>">
<input type="hidden" name="action" value="buildnewpassword"> <input type="hidden" name="action" value="buildnewpassword">
<table class="login_table" summary="<?php echo $title; ?>" cellpadding="0" cellspacing="0" border="0" align="center"> <table class="login_table_title" summary="<?php echo $title; ?>" cellpadding="0" cellspacing="0" border="0" align="center">
<tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr> <tr class="vmenu"><td align="center"><?php echo $title; ?></td></tr>
</table> </table>
<br> <br>
@ -92,9 +79,9 @@ print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' -->
<tr><td valign="middle" nowrap="nowrap"> &nbsp; <b><?php echo $langs->trans('SecurityCode'); ?></b></td> <tr><td valign="middle" nowrap="nowrap"> &nbsp; <b><?php echo $langs->trans('SecurityCode'); ?></b></td>
<td valign="middle" nowrap="nowrap" align="left" class="none"> <td valign="middle" nowrap="nowrap" align="left" class="none">
<table class="login_table" style="width: 100px;"><tr> <table class="login_table_securitycode" style="width: 100px;"><tr>
<td><input id="securitycode" class="flat" type="text" size="6" maxlength="5" name="code" tabindex="3"></td> <td><input id="securitycode" class="flat" type="text" size="6" maxlength="5" name="code" tabindex="3"></td>
<td><img src="<?php echo $dol_url_root.'/core/antispamimage.php'; ?>" border="0" width="80" height="32"></td> <td><img src="<?php echo $dol_url_root.'/core/antispamimage.php'; ?>" border="0" width="80" height="32" id="img_securitycode"></td>
<td><a href="<?php echo $php_self; ?>"><?php echo $captcha_refresh; ?></a></td> <td><a href="<?php echo $php_self; ?>"><?php echo $captcha_refresh; ?></a></td>
</tr></table> </tr></table>
@ -105,7 +92,7 @@ print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' -->
</td> </td>
<td align="center" valign="top"> <td align="center" valign="top">
<img alt="Logo" title="" src="<?php echo $urllogo; ?>" /> <img alt="Logo" title="" src="<?php echo $urllogo; ?>" id="img_logo" />
</td> </td>
</tr> </tr>

View File

@ -55,9 +55,6 @@ require_once(DOL_DOCUMENT_ROOT.'/comm/action/class/actioncomm.class.php');
// Security check // Security check
if (! $conf->agenda->enabled) accessforbidden('',1,1,1); if (! $conf->agenda->enabled) accessforbidden('',1,1,1);
$mainmenu=isset($_GET["mainmenu"])?$_GET["mainmenu"]:"";
$leftmenu=isset($_GET["leftmenu"])?$_GET["leftmenu"]:"";
// Define format, type and filter // Define format, type and filter
$format='ical'; $format='ical';
$type='event'; $type='event';

View File

@ -69,12 +69,12 @@ body {
font-family: <?php print $fontlist ?>; font-family: <?php print $fontlist ?>;
<?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?> <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
} }
a { a {
text-decoration: none; text-decoration: none;
color:#333; color:#333;
} }
a:hover, a:sel{ a:hover, a:sel{
color:black; color:black;
} }
@ -109,7 +109,7 @@ border-left: solid 1px rgba(0,0,0,.3);
border-top:solid 1px rgba(0,0,0,.1); border-top:solid 1px rgba(0,0,0,.1);
*/ */
border-radius:.6em; border-radius:.6em;
background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
@ -123,7 +123,7 @@ border-left: solid 1px rgba(0,0,0,.3);
color-stop(1, rgba(0,0,0,.3)) color-stop(1, rgba(0,0,0,.3))
); );
} }
.button, a.butAction{color:white;} .button, a.butAction{color:white;}
.butActionDelete{color:white;} .butActionDelete{color:white;}
@ -150,6 +150,8 @@ td.formdocbutton {padding-top:6px;}
/* LOGIN : */ /* LOGIN : */
form#login { form#login {
margin-top: 70px;
margin-bottom: 30px;
display:block; display:block;
border:solid 1px rgba(0,0,0,.4); border:solid 1px rgba(0,0,0,.4);
border-top:solid 1px white; border-top:solid 1px white;
@ -187,19 +189,19 @@ form#login img {
border-bottom:solid 1px rgba(0,0,0,.3); border-bottom:solid 1px rgba(0,0,0,.3);
box-shadow: 1px 1px 6px rgba(0,0,0,.3) inset , 0 0 1px rgba(255,255,255,.6); box-shadow: 1px 1px 6px rgba(0,0,0,.3) inset , 0 0 1px rgba(255,255,255,.6);
} }
form#login input{ form#login input{
padding:8px; padding:8px;
font-size:120%; font-size:120%;
} }
form#login label { form#login label {
vertical-align:middle; vertical-align:middle;
line-height:46px; line-height:46px;
color:rgba(0,0,0,.4); color:rgba(0,0,0,.4);
text-shadow: 1px 1px 1px rgba(255,255,255,.6); text-shadow: 1px 1px 1px rgba(255,255,255,.6);
} }
form#login table.login{margin:0;border:none;background:none !important;} form#login table.login{margin:0;border:none;background:none !important;}
table.login tr td a {color:#333 !important;} table.login tr td a {color:#333 !important;}
table.login tr td a:hover {color:#000 !important;} table.login tr td a:hover {color:#000 !important;}
@ -213,7 +215,7 @@ table.login .button {
border:solid 1px #2e7992; border:solid 1px #2e7992;
box-shadow: 1px 1px 3px rgba(0,0,0,.4); box-shadow: 1px 1px 3px rgba(0,0,0,.4);
} }
table.login .vmenu{ table.login .vmenu{
color:rgba(0,0,0,.3); color:rgba(0,0,0,.3);
text-shadow: 1px 1px 1px rgba(255,255,255,.6); text-shadow: 1px 1px 1px rgba(255,255,255,.6);
@ -235,12 +237,12 @@ div.tmenu {
white-space: nowrap; white-space: nowrap;
height:36px; height:36px;
line-height:36px; line-height:36px;
background: #168ac2; /* bleu */ background: #168ac2; /* bleu */
background: #b7e0e7; /* bleu_clair */ background: #b7e0e7; /* bleu_clair */
background: #6d6887; /* violet */ background: #6d6887; /* violet */
background: #333; /* obsidienne */ background: #333; /* obsidienne */
background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); background-image: linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); background-image: -o-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); background-image: -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%);
@ -253,7 +255,7 @@ div.tmenu {
color-stop(0, rgba(255,255,255,.3)), color-stop(0, rgba(255,255,255,.3)),
color-stop(1, rgba(0,0,0,.3)) color-stop(1, rgba(0,0,0,.3))
); );
border-bottom:solid 1px rgba(0,0,0,.8); border-bottom:solid 1px rgba(0,0,0,.8);
box-shadow: 0 0 6px rgba(0,0,0,.4) !important; box-shadow: 0 0 6px rgba(0,0,0,.4) !important;
z-index:100; z-index:100;
@ -319,7 +321,7 @@ div.vmenu {
padding-left:3px; padding-left:3px;
border-top: solid 1px rgba(255,255,255,.5); border-top: solid 1px rgba(255,255,255,.5);
border-bottom: solid 1px rgba(0,0,0,.5); border-bottom: solid 1px rgba(0,0,0,.5);
} }
.menu_contenu { .menu_contenu {
@ -339,7 +341,7 @@ div.vmenu {
.blockvmenusearch .menu_titre { .blockvmenusearch .menu_titre {
margin-top:6px; margin-top:6px;
} }
/* AIDE EN LIGNE : */ /* AIDE EN LIGNE : */
#blockvmenuhelp { #blockvmenuhelp {
@ -355,13 +357,13 @@ div.vmenu {
margin-bottom:-2px; margin-bottom:-2px;
padding-bottom:0; padding-bottom:0;
} }
.tabTitle { .tabTitle {
color:rgba(0,0,0,.5); color:rgba(0,0,0,.5);
margin-right:12px; margin-right:12px;
text-shadow: 1px 1px 1px white; text-shadow: 1px 1px 1px white;
} }
.tab { .tab {
margin-left:2px; margin-left:2px;
margin-right:2px; margin-right:2px;
@ -395,7 +397,7 @@ table {
} }
table.liste{border:solid 0px #aaa; padding:.6em;} table.liste{border:solid 0px #aaa; padding:.6em;}
table.liste tbody tr.liste_titre>td, table.liste .liste_total, table.liste .liste_titre { table.liste tbody tr.liste_titre>td, table.liste .liste_total, table.liste .liste_titre {
padding:4px; padding:4px;
background-color:white; background-color:white;
@ -417,7 +419,7 @@ tr.liste_titre td.liste_titre_sel {
background-color: rgba(0,0,0,.2); background-color: rgba(0,0,0,.2);
color:black; color:black;
} }
table.liste a img{padding: 1px;} table.liste a img{padding: 1px;}
table#undertopmenu { /* tableau contenant tous les autres : */ table#undertopmenu { /* tableau contenant tous les autres : */
@ -439,7 +441,7 @@ tr.liste_titre td {
border-top:solid 1px rgba(0,0,0,.08); border-top:solid 1px rgba(0,0,0,.08);
color:rgba(0,0,0,.6); color:rgba(0,0,0,.6);
} }
table.noborder, table.border, div.tabBar, table.liste { table.noborder, table.border, div.tabBar, table.liste {
background-color:white; background-color:white;
border:solid 1px #aaa; border:solid 1px #aaa;
@ -447,7 +449,7 @@ table.noborder, table.border, div.tabBar, table.liste {
width:99% !important; width:99% !important;
border-bottom:solid 2px #aaa; border-bottom:solid 2px #aaa;
} }
table.liste tr td img {padding-right:2px;} table.liste tr td img {padding-right:2px;}
table.noborder tr td{padding-right:2px;} table.noborder tr td{padding-right:2px;}
table.noborder tr.liste_total td{ /* total en bas d'un tableau */ table.noborder tr.liste_total td{ /* total en bas d'un tableau */
@ -474,7 +476,7 @@ table.noborder tbody tr.liste_titre td { /* titre des tableaux : */
); );
border-bottom:solid 1px rgba(0,0,0,.2); border-bottom:solid 1px rgba(0,0,0,.2);
} }
table.noborder tbody{ table.noborder tbody{
border:solid 1px rgba(0,0,0,.3); border:solid 1px rgba(0,0,0,.3);
border-bottom:solid 1px rgba(0,0,0,.08); border-bottom:solid 1px rgba(0,0,0,.08);

View File

@ -449,10 +449,44 @@ foreach($mainmenuusedarray as $key => $val)
/* Login */ /* Login */
table.login { form#login {
margin-top: 70px;
margin-bottom: 30px;
font-size: 13px;
}
.login_table_title {
width: 540px;
color: #888888;
text-shadow: 1px 1px 1px #FFF;
}
.login_table label {
text-shadow: 1px 1px 1px #FFF;
}
.login_table {
padding:12px;
width: 540px;
border: 1px solid #C0C0C0;
background-color: #E0E0E0;
-moz-box-shadow: 4px 4px 4px #CCC; -moz-box-shadow: 4px 4px 4px #CCC;
-webkit-box-shadow: 4px 4px 4px #CCC; -webkit-box-shadow: 4px 4px 4px #CCC;
box-shadow: 4px 4px 4px #CCC; box-shadow: 4px 4px 4px #CCC;
border-radius: 12px;
border:solid 1px rgba(168,168,168,.4);
border-top:solid 1px f8f8f8;
background-color: #f8f8f8;
background-image: -o-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -webkit-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -ms-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
}
#img_securitycode {
border: 1px solid #DDDDDD;
}
#img_logo {
max-width: 200px;
} }
div.login_block { div.login_block {

View File

@ -524,6 +524,46 @@ li.tmenu a.tmenudisabled {
/* Login */ /* Login */
form#login {
margin-top: 70px;
margin-bottom: 30px;
font-size: 13px;
}
.login_table_title {
width: 540px;
color: #888888;
text-shadow: 1px 1px 1px #FFF;
}
.login_table label {
text-shadow: 1px 1px 1px #FFF;
}
.login_table {
padding:12px;
width: 540px;
border: 1px solid #C0C0C0;
background-color: #E0E0E0;
-moz-box-shadow: 4px 4px 4px #CCC;
-webkit-box-shadow: 4px 4px 4px #CCC;
box-shadow: 4px 4px 4px #CCC;
border-radius: 12px;
border:solid 1px rgba(168,168,168,.4);
border-top:solid 1px f8f8f8;
background-color: #f8f8f8;
background-image: -o-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -webkit-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -ms-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
}
#img_securitycode {
border: 1px solid #DDDDDD;
}
#img_logo {
max-width: 200px;
}
div.login_block { div.login_block {
position: absolute; position: absolute;
<?php print $right; ?>: 5px; <?php print $right; ?>: 5px;

View File

@ -38,20 +38,7 @@ else print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includ
print '<!-- Includes JS for JQuery -->'."\n"; print '<!-- Includes JS for JQuery -->'."\n";
if (constant('JS_JQUERY')) print '<script type="text/javascript" src="'.JS_JQUERY.'jquery.min.js"></script>'."\n"; if (constant('JS_JQUERY')) print '<script type="text/javascript" src="'.JS_JQUERY.'jquery.min.js"></script>'."\n";
else print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min'.$ext.'"></script>'."\n"; else print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-latest.min'.$ext.'"></script>'."\n";
print '<link rel="stylesheet" type="text/css" href="'.$conf_css.'" /> print '<link rel="stylesheet" type="text/css" href="'.$conf_css.'" />'."\n";
<style type="text/css">
<!--
#login {
margin-top: 70px;
margin-bottom: 30px;
}
.login_table {
width: 512px;
border: 1px solid #C0C0C0;
background: #F0F0F0 url('.$login_background.') repeat-x;
}
-->
</style>'."\n";
if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER; if (! empty($conf->global->MAIN_HTML_HEADER)) print $conf->global->MAIN_HTML_HEADER;
print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' --> print '<!-- HTTP_USER_AGENT = '.$_SERVER['HTTP_USER_AGENT'].' -->
</head>'; </head>';

View File

@ -522,6 +522,46 @@ foreach($mainmenuusedarray as $key => $val)
/* Login */ /* Login */
form#login {
margin-top: 70px;
margin-bottom: 30px;
font-size: 13px;
}
.login_table_title {
width: 540px;
color: #888888;
text-shadow: 1px 1px 1px #FFF;
}
.login_table label {
text-shadow: 1px 1px 1px #FFF;
}
.login_table {
padding:12px;
width: 540px;
border: 1px solid #C0C0C0;
background-color: #E0E0E0;
-moz-box-shadow: 4px 4px 4px #CCC;
-webkit-box-shadow: 4px 4px 4px #CCC;
box-shadow: 4px 4px 4px #CCC;
border-radius: 12px;
border:solid 1px rgba(168,168,168,.4);
border-top:solid 1px f8f8f8;
background-color: #f8f8f8;
background-image: -o-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -webkit-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -ms-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
}
#img_securitycode {
border: 1px solid #DDDDDD;
}
#img_logo {
max-width: 200px;
}
div.login_block { div.login_block {
position: absolute; position: absolute;
<?php print $right; ?>: 5px; <?php print $right; ?>: 5px;

View File

@ -628,10 +628,44 @@ foreach($mainmenuusedarray as $key => $val)
/* Login */ /* Login */
form#login {
margin-top: 70px;
margin-bottom: 30px;
font-size: 13px;
}
.login_table_title {
width: 540px;
color: #888888;
text-shadow: 1px 1px 1px #FFF;
}
.login_table label {
text-shadow: 1px 1px 1px #FFF;
}
.login_table { .login_table {
padding:12px;
width: 540px;
border: 1px solid #C0C0C0;
background-color: #E0E0E0;
-moz-box-shadow: 4px 4px 4px #CCC; -moz-box-shadow: 4px 4px 4px #CCC;
-webkit-box-shadow: 4px 4px 4px #CCC; -webkit-box-shadow: 4px 4px 4px #CCC;
box-shadow: 4px 4px 4px #CCC; box-shadow: 4px 4px 4px #CCC;
border-radius: 12px;
border:solid 1px rgba(168,168,168,.4);
border-top:solid 1px f8f8f8;
background-color: #f8f8f8;
background-image: -o-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -moz-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -webkit-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: -ms-linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
background-image: linear-gradient(top, rgba(240,240,240,.3) 0%, rgba(192,192,192,.3) 100%);
}
#img_securitycode {
border: 1px solid #DDDDDD;
}
#img_logo {
max-width: 200px;
} }
div.login_block { div.login_block {
@ -749,7 +783,7 @@ div.blockvmenusearch
padding-right: 1px; padding-right: 1px;
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
margin: 6px 0px 8px 2px; margin: 12px 0px 8px 2px;
background: #E3E6E8; background: #E3E6E8;
<?php if ($usecss3) { ?> <?php if ($usecss3) { ?>