From 1e8e7474d8e27c75cb2988f95227a6da3d78029b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 7 Dec 2014 21:22:43 +0100 Subject: [PATCH 1/4] Fixed: specimen init did not include new vars of 3.7 --- htdocs/comm/action/class/actioncomm.class.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/class/actioncomm.class.php b/htdocs/comm/action/class/actioncomm.class.php index 56fb713ae0c..15394c81a3a 100644 --- a/htdocs/comm/action/class/actioncomm.class.php +++ b/htdocs/comm/action/class/actioncomm.class.php @@ -1142,7 +1142,7 @@ class ActionComm extends CommonObject */ function initAsSpecimen() { - global $user,$langs,$conf; + global $user,$langs,$conf,$user; $now=dol_now(); @@ -1166,6 +1166,9 @@ class ActionComm extends CommonObject $this->transparency=1; // 1 means opaque $this->priority=1; $this->note = 'Note'; + + $this->userownerid=$user->id; + $this->userassigned[$user->id]=array('id'=>$user->id, 'transparency'=> 1); } } From d9e5a597e43029e43de751e6c2108da0a8b3395e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 8 Dec 2014 00:29:33 +0100 Subject: [PATCH 2/4] Fixed: Avoid wrapping of help text --- htdocs/societe/soc.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index 3a3bba15653..1a936db37fb 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -789,10 +789,11 @@ else print ''; print '     '; print ''; print ''; print "
\n"; From 1616f05068b1ed4618759baaf4b0cabd693740da Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 8 Dec 2014 02:51:26 +0100 Subject: [PATCH 3/4] Fixed: missing css --- htdocs/support/default.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/htdocs/support/default.css b/htdocs/support/default.css index 14454a19245..ea62df52ef0 100644 --- a/htdocs/support/default.css +++ b/htdocs/support/default.css @@ -148,3 +148,11 @@ background: #DDDFDD; table { font-size: 12px; } table.login { border: 1px solid #C0C0C0; background: #F0F0F0; font-size: 12px; } + +.inline-block +{ + display:inline-block; + vertical-align: top; + margin: 12px; + min-width: 400px; +} From bd91603cd86dfef94a2927bbaafccef3115aade4 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 8 Dec 2014 17:28:26 +0100 Subject: [PATCH 4/4] Fixed: form outside table --- htdocs/user/agenda_extsites.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/user/agenda_extsites.php b/htdocs/user/agenda_extsites.php index 1993f12bd5c..47a1f160b5a 100644 --- a/htdocs/user/agenda_extsites.php +++ b/htdocs/user/agenda_extsites.php @@ -122,6 +122,10 @@ $arrayofcss=array(); llxHeader('',$langs->trans("UserSetup"),'','',0,0,$arrayofjs,$arrayofcss); + +print '
'; +print ''; + $head=user_prepare_head($fuser); dol_fiche_head($head, 'extsites', $langs->trans("User"), 0, 'user'); @@ -129,9 +133,6 @@ dol_fiche_head($head, 'extsites', $langs->trans("User"), 0, 'user'); print $langs->trans("AgendaExtSitesDesc")."
\n"; print "
\n"; -print ''; -print ''; - $selectedvalue=$conf->global->AGENDA_DISABLE_EXT; if ($selectedvalue==1) $selectedvalue=0; else $selectedvalue=1; @@ -172,15 +173,15 @@ while ($i <= $MAXAGENDA) } print ''; -print '
'; -print '
'; +dol_fiche_end(); + +print '
'; print "trans("Save")."\">"; -print "
"; +print ""; print "
\n"; -dol_fiche_end(); llxFooter();