Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
4cf3ad2f02
@ -73,7 +73,7 @@ print $langs->trans("RestoreDesc3",DOL_DATA_ROOT).'<br><br>';
|
|||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<div class="formelementrow">
|
<div class="formelementrow">
|
||||||
<input type="radio" name="what" value="mysql" id="radio_dump_mysql" <?php echo ($_GET["radio_dump"]=='mysql_options'?' checked':''); ?> />
|
<input type="radio" name="what" value="mysql" id="radio_dump_mysql"<?php echo ($_GET["radio_dump"]=='mysql_options'?' checked':''); ?> />
|
||||||
<label for="radio_dump_mysql">MySQL (mysql)</label>
|
<label for="radio_dump_mysql">MySQL (mysql)</label>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
@ -82,7 +82,7 @@ print $langs->trans("RestoreDesc3",DOL_DATA_ROOT).'<br><br>';
|
|||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<div class="formelementrow">
|
<div class="formelementrow">
|
||||||
<input type="radio" name="what" value="mysql" id="radio_dump_postgresql" <?php echo ($_GET["radio_dump"]=='postgresql_options'?' checked':''); ?> />
|
<input type="radio" name="what" value="mysql" id="radio_dump_postgresql"<?php echo ($_GET["radio_dump"]=='postgresql_options'?' checked':''); ?> />
|
||||||
<label for="radio_dump_postgresql">PostgreSQL Restore (pg_restore)</label>
|
<label for="radio_dump_postgresql">PostgreSQL Restore (pg_restore)</label>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|||||||
@ -143,11 +143,11 @@ function displayBox($selectedDate,$month,$year){
|
|||||||
$xyz=0;
|
$xyz=0;
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<table class="dp" cellspacing="0" cellpadding="0" border="0">
|
<table class="dp">
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="6" class="dpHead"><?php
|
<td colspan="6" class="dpHead"><?php
|
||||||
$selectMonth = dol_date("F", $thedate);
|
$selectMonth = dol_print_date($thedate, '%m');
|
||||||
$selectYear = dol_date("Y", $thedate);
|
$selectYear = dol_print_date($thedate, '%Y');
|
||||||
echo $langs->trans($selectMonth).", ".$selectYear;
|
echo $langs->trans($selectMonth).", ".$selectYear;
|
||||||
?></td>
|
?></td>
|
||||||
<td class="dpHead">
|
<td class="dpHead">
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2006-2010 Laurent Destailleur <eldy@users.sourceforge.net>
|
/* Copyright (C) 2006-2011 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
* Copyright (C) 2006 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
* Copyright (C) 2007 Patrick Raguin <patrick.raguin@gmail.com>
|
||||||
* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
* Copyright (C) 2010-2011 Regis Houssin <regis@dolibarr.fr>
|
||||||
@ -67,10 +67,10 @@ function pdf_getFormat()
|
|||||||
/**
|
/**
|
||||||
* Return a PDF instance object. We create a FPDI instance that instanciate TCPDF.
|
* Return a PDF instance object. We create a FPDI instance that instanciate TCPDF.
|
||||||
*
|
*
|
||||||
* @param format Array(width,height). Keep empty to use default setup.
|
* @param string $format Array(width,height). Keep empty to use default setup.
|
||||||
* @param metric Unit of format ('mm')
|
* @param string $metric Unit of format ('mm')
|
||||||
* @param pagetype 'P' or 'l'
|
* @param string $pagetype 'P' or 'l'
|
||||||
* @return PDF object
|
* @return TPDF PDF object
|
||||||
*/
|
*/
|
||||||
function pdf_getInstance($format='',$metric='mm',$pagetype='P')
|
function pdf_getInstance($format='',$metric='mm',$pagetype='P')
|
||||||
{
|
{
|
||||||
@ -127,7 +127,7 @@ function pdf_getInstance($format='',$metric='mm',$pagetype='P')
|
|||||||
/**
|
/**
|
||||||
* Return font name to use for PDF generation
|
* Return font name to use for PDF generation
|
||||||
*
|
*
|
||||||
* @param outputlangs Output langs object
|
* @param Translate $outputlangs Output langs object
|
||||||
* @return string Name of font to use
|
* @return string Name of font to use
|
||||||
*/
|
*/
|
||||||
function pdf_getPDFFont($outputlangs)
|
function pdf_getPDFFont($outputlangs)
|
||||||
@ -146,7 +146,7 @@ function pdf_getPDFFont($outputlangs)
|
|||||||
/**
|
/**
|
||||||
* Return font size to use for PDF generation
|
* Return font size to use for PDF generation
|
||||||
*
|
*
|
||||||
* @param outputlangs Output langs object
|
* @param Translate $outputlangs Output langs object
|
||||||
* @return int Size of font to use
|
* @return int Size of font to use
|
||||||
*/
|
*/
|
||||||
function pdf_getPDFFontSize($outputlangs)
|
function pdf_getPDFFontSize($outputlangs)
|
||||||
@ -166,13 +166,13 @@ function pdf_getPDFFontSize($outputlangs)
|
|||||||
/**
|
/**
|
||||||
* Return a string with full address formated
|
* Return a string with full address formated
|
||||||
*
|
*
|
||||||
* @param outputlangs Output langs object
|
* @param Translate $outputlangs Output langs object
|
||||||
* @param sourcecompany Source company object
|
* @param Societe $sourcecompany Source company object
|
||||||
* @param targetcompany Target company object
|
* @param Societe $targetcompany Target company object
|
||||||
* @param targetcontact Target contact object
|
* @param Contact $targetcontact Target contact object
|
||||||
* @param usecontact Use contact instead of company
|
* @param int $usecontact Use contact instead of company
|
||||||
* @param mode Address type
|
* @param int $mode Address type
|
||||||
* @param deliverycompany Delivery company object
|
* @param Societe $deliverycompany Delivery company object
|
||||||
* @return string String with full address
|
* @return string String with full address
|
||||||
*/
|
*/
|
||||||
function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$targetcontact='',$usecontact=0,$mode='source',$deliverycompany='')
|
function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$targetcontact='',$usecontact=0,$mode='source',$deliverycompany='')
|
||||||
@ -265,9 +265,10 @@ function pdf_build_address($outputlangs,$sourcecompany,$targetcompany='',$target
|
|||||||
/**
|
/**
|
||||||
* Show header of page for PDF generation
|
* Show header of page for PDF generation
|
||||||
*
|
*
|
||||||
* @param PDF $pdf Object PDF
|
* @param PDF &$pdf Object PDF
|
||||||
* @param Translate $outputlangs Object lang for output
|
* @param Translate $outputlangs Object lang for output
|
||||||
* @param int $page_height Height of page
|
* @param int $page_height Height of page
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
function pdf_pagehead(&$pdf,$outputlangs,$page_height)
|
function pdf_pagehead(&$pdf,$outputlangs,$page_height)
|
||||||
{
|
{
|
||||||
@ -284,12 +285,13 @@ function pdf_pagehead(&$pdf,$outputlangs,$page_height)
|
|||||||
/**
|
/**
|
||||||
* Add a draft watermark on PDF files
|
* Add a draft watermark on PDF files
|
||||||
*
|
*
|
||||||
* @param pdf Object PDF
|
* @param PDF &$pdf Object PDF
|
||||||
* @param outputlangs Object lang
|
* @param Translate $outputlangs Object lang
|
||||||
* @param h Height of PDF
|
* @param int $h Height of PDF
|
||||||
* @param w Width of PDF
|
* @param int $w Width of PDF
|
||||||
* @param unit Unit of height (mmn, pt, ...)
|
* @param string $unit Unit of height (mmn, pt, ...)
|
||||||
* @param text Text to show
|
* @param string $text Text to show
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
function pdf_watermark(&$pdf, $outputlangs, $h, $w, $unit, $text)
|
function pdf_watermark(&$pdf, $outputlangs, $h, $w, $unit, $text)
|
||||||
{
|
{
|
||||||
@ -324,6 +326,7 @@ function pdf_watermark(&$pdf, $outputlangs, $h, $w, $unit, $text)
|
|||||||
* @param cury Y
|
* @param cury Y
|
||||||
* @param account Bank account object
|
* @param account Bank account object
|
||||||
* @param onlynumber Output only number
|
* @param onlynumber Output only number
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0)
|
function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0)
|
||||||
{
|
{
|
||||||
@ -464,15 +467,15 @@ function pdf_bank(&$pdf,$outputlangs,$curx,$cury,$account,$onlynumber=0)
|
|||||||
/**
|
/**
|
||||||
* Show footer of page for PDF generation
|
* Show footer of page for PDF generation
|
||||||
*
|
*
|
||||||
* @param pdf The PDF factory
|
* @param PDF &$pdf The PDF factory
|
||||||
* @param outputlangs Object lang for output
|
* @param Translate $outputlangs Object lang for output
|
||||||
* @param paramfreetext Constant name of free text
|
* @param string $paramfreetext Constant name of free text
|
||||||
* @param fromcompany Object company
|
* @param Societe $fromcompany Object company
|
||||||
* @param marge_basse Margin bottom
|
* @param int $marge_basse Margin bottom
|
||||||
* @param marge_gauche Margin left
|
* @param int $marge_gauche Margin left
|
||||||
* @param page_hauteur Page height
|
* @param int $page_hauteur Page height
|
||||||
* @param object Object shown in PDF
|
* @param Object $object Object shown in PDF
|
||||||
* @param showdetails Show company details
|
* @param int $showdetails Show company details
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function pdf_pagefoot(&$pdf,$outputlangs,$paramfreetext,$fromcompany,$marge_basse,$marge_gauche,$page_hauteur,$object,$showdetails=0)
|
function pdf_pagefoot(&$pdf,$outputlangs,$paramfreetext,$fromcompany,$marge_basse,$marge_gauche,$page_hauteur,$object,$showdetails=0)
|
||||||
@ -973,13 +976,12 @@ function pdf_getlineupexcltax($object,$i,$outputlangs,$hidedetails=0,$hookmanage
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return line unit price including tax
|
* Return line unit price including tax
|
||||||
* @param object Object
|
*
|
||||||
* @param i Current line number
|
* @param Object $object Object
|
||||||
* @param outputlangs Object langs for output
|
* @param int $i Current line number
|
||||||
* @param hidedetails Hide value
|
* @param Tranlate $outputlangs Object langs for output
|
||||||
* 0 = no
|
* @param int $hidedetails Hide value (0 = no, 1 = yes, 2 = just special lines)
|
||||||
* 1 = yes
|
* @return void
|
||||||
* 2 = just special lines
|
|
||||||
*/
|
*/
|
||||||
function pdf_getlineupwithtax($object,$i,$outputlangs,$hidedetails=0)
|
function pdf_getlineupwithtax($object,$i,$outputlangs,$hidedetails=0)
|
||||||
{
|
{
|
||||||
@ -1006,6 +1008,7 @@ function pdf_getlineupwithtax($object,$i,$outputlangs,$hidedetails=0)
|
|||||||
* @param Translate $outputlangs Object langs for output
|
* @param Translate $outputlangs Object langs for output
|
||||||
* @param int $hidedetails Hide details (0=no, 1=yes, 2=just special lines)
|
* @param int $hidedetails Hide details (0=no, 1=yes, 2=just special lines)
|
||||||
* @param HookManager $hookmanager Hook manager instance
|
* @param HookManager $hookmanager Hook manager instance
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
function pdf_getlineqty($object,$i,$outputlangs,$hidedetails=0,$hookmanager=false)
|
function pdf_getlineqty($object,$i,$outputlangs,$hidedetails=0,$hookmanager=false)
|
||||||
{
|
{
|
||||||
@ -1184,13 +1187,12 @@ function pdf_getlinetotalexcltax($object,$i,$outputlangs,$hidedetails=0,$hookman
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Return line total including tax
|
* Return line total including tax
|
||||||
* @param object Object
|
*
|
||||||
* @param i Current line number
|
* @param Object $object Object
|
||||||
* @param outputlangs Object langs for output
|
* @param int $i Current line number
|
||||||
* @param hidedetails Hide value
|
* @param Translate $outputlangs Object langs for output
|
||||||
* 0 = no
|
* @param int $hidedetails Hide value (0 = no, 1 = yes, 2 = just special lines)
|
||||||
* 1 = yes
|
* @return void
|
||||||
* 2 = just special lines
|
|
||||||
*/
|
*/
|
||||||
function pdf_getlinetotalwithtax($object,$i,$outputlangs,$hidedetails=0)
|
function pdf_getlinetotalwithtax($object,$i,$outputlangs,$hidedetails=0)
|
||||||
{
|
{
|
||||||
@ -1617,5 +1619,4 @@ function pdf_getCurrencySymbol(&$pdf, $currency_code)
|
|||||||
return $currency_sign;
|
return $currency_sign;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -361,7 +361,7 @@ llxHeader();
|
|||||||
if ($conf->use_javascript_ajax)
|
if ($conf->use_javascript_ajax)
|
||||||
{
|
{
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript">
|
||||||
jQuery(document).ready(function() {
|
jQuery(document).ready(function() {
|
||||||
jQuery("#delconst").hide();
|
jQuery("#delconst").hide();
|
||||||
jQuery(".checkboxfordelete").click(function() {
|
jQuery(".checkboxfordelete").click(function() {
|
||||||
|
|||||||
@ -26,7 +26,7 @@
|
|||||||
<div id="principal_content" style="margin-left: 0px;">
|
<div id="principal_content" style="margin-left: 0px;">
|
||||||
<div style="margin-left: 0; position: relative;" class="gantt" id="GanttChartDIV"></div>
|
<div style="margin-left: 0; position: relative;" class="gantt" id="GanttChartDIV"></div>
|
||||||
|
|
||||||
<script language="javascript" type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
||||||
function DisplayHideRessources(boxName) {
|
function DisplayHideRessources(boxName) {
|
||||||
graphFormat = g.getFormat();
|
graphFormat = g.getFormat();
|
||||||
|
|||||||
@ -187,7 +187,7 @@ if (GETPOST("action") == 'gotodemo')
|
|||||||
llxHeaderVierge($langs->trans("DolibarrDemo"));
|
llxHeaderVierge($langs->trans("DolibarrDemo"));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<script type="text/javascript" language="javascript">
|
<script type="text/javascript">
|
||||||
var openedId='';
|
var openedId='';
|
||||||
jQuery(document).ready(function () {
|
jQuery(document).ready(function () {
|
||||||
jQuery('tr.moduleline').hide();
|
jQuery('tr.moduleline').hide();
|
||||||
|
|||||||
@ -1495,6 +1495,9 @@ table.dp {
|
|||||||
border-<?php print $left; ?>: solid 2px #DDDDDD;
|
border-<?php print $left; ?>: solid 2px #DDDDDD;
|
||||||
border-<?php print $right; ?>: solid 1px #222222;
|
border-<?php print $right; ?>: solid 1px #222222;
|
||||||
border-bottom: solid 1px #222222;
|
border-bottom: solid 1px #222222;
|
||||||
|
padding: 0px;
|
||||||
|
border-spacing: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
|
.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
|
||||||
/* Barre titre */
|
/* Barre titre */
|
||||||
|
|||||||
@ -1559,6 +1559,9 @@ table.dp {
|
|||||||
border-<?php print $left; ?>: solid 2px #DDDDDD;
|
border-<?php print $left; ?>: solid 2px #DDDDDD;
|
||||||
border-<?php print $right; ?>: solid 1px #222222;
|
border-<?php print $right; ?>: solid 1px #222222;
|
||||||
border-bottom: solid 1px #222222;
|
border-bottom: solid 1px #222222;
|
||||||
|
padding: 0px;
|
||||||
|
border-spacing: 0px;
|
||||||
|
border-collapse: collapse;
|
||||||
}
|
}
|
||||||
.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
|
.dp td, .tpHour td, .tpMinute td{padding:2px; font-size:10px;}
|
||||||
/* Barre titre */
|
/* Barre titre */
|
||||||
@ -1575,7 +1578,6 @@ table.dp {
|
|||||||
background-color:#617389;
|
background-color:#617389;
|
||||||
color:#FFFFFF;
|
color:#FFFFFF;
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
border: 1px outset black;
|
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
||||||
.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
|
.dpButtons:Active,.tpButtons:Active{border: 1px outset black;}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user