Merge branch '3.3' of git://github.com/Dolibarr/dolibarr into 3.3

This commit is contained in:
Marcos García
2012-12-30 12:37:48 +01:00
9 changed files with 42 additions and 21 deletions

View File

@@ -426,7 +426,7 @@ class Commande extends CommonOrder
// Appel des triggers
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('BILL_REOPEN',$this,$user,$langs,$conf);
$result=$interface->run_triggers('ORDER_REOPEN',$this,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
// Fin appel triggers
}

View File

@@ -1112,7 +1112,7 @@ class Contrat extends CommonObject
// Appel des triggers
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('CONTRACTLINE_DELETE',$this,$user,$langs,$conf);
$result=$interface->run_triggers('CONTRACT_LINE_DELETE',$this,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
// Fin appel triggers
@@ -1940,7 +1940,7 @@ class ContratLigne
// Appel des triggers
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('MYOBJECT_MODIFY',$this,$user,$langs,$conf);
$result=$interface->run_triggers('CONTRACT_LINE_MODIFY',$this,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
// Fin appel triggers
}

View File

@@ -412,7 +412,7 @@ else $classviewhide='visible';
// Start container of all panels
?>
<div id="containerlayout"> <!-- begin div id="containerlayout" -->
<div id="ecm-layout-north" class="toolbar">
<div id="ecm-layout-north" class="toolbar largebutton">
<?php
// Start top panel, toolbar

View File

@@ -508,6 +508,25 @@ div.vmenu {
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
.largebutton {
background-image: -o-linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background-image: -moz-linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background-image: -webkit-linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background-image: -ms-linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background-image: linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
border: 1px solid #CCC !important;
-moz-border-radius: 5px 5px 5px 5px !important;
-webkit-border-radius: 5px 5px 5px 5px !important;
border-radius: 5px 5px 5px 5px !important;
-moz-box-shadow: 4px 4px 4px #EEE;
-webkit-box-shadow: 4px 4px 4px #EEE;
box-shadow: 4px 4px 4px #EEE;
padding: 0 4px 0 4px !important;
}
.toolbar {}
.toolbarbutton {}

View File

@@ -755,6 +755,7 @@ a.toolbarbutton {
background: #FFFFFF;*/
}
img.toolbarbutton {
margin-top: 2px;
height: 28px;
}
@@ -919,7 +920,6 @@ img.toolbarbutton {
}
.ecm-layout-resizer { /* all 'resizer-bars' */
background: #EEE;
border: 1px solid #BBB;
border-width: 0;
}

View File

@@ -835,6 +835,7 @@ a.toolbarbutton {
background: #FFFFFF;*/
}
img.toolbarbutton {
margin-top: 2px;
height: 28px;
}
@@ -994,7 +995,6 @@ img.toolbarbutton {
}
.ecm-layout-resizer { /* all 'resizer-bars' */
background: #EEE;
border: 1px solid #BBB;
border-width: 0;
}

View File

@@ -870,6 +870,7 @@ a.toolbarbutton {
background: #FFFFFF;*/
}
img.toolbarbutton {
margin-top: 2px;
height: 28px;
}
@@ -1029,7 +1030,6 @@ img.toolbarbutton {
}
.ecm-layout-resizer { /* all 'resizer-bars' */
background: #EEE;
border: 1px solid #BBB;
border-width: 0;
}

View File

@@ -988,7 +988,7 @@ td.photo {
/* Toolbar for ECM or Filemanager */
/* ============================================================================== */
.toolbar {
.largebutton {
<?php if ($usecss3) { ?>
background-image: -o-linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
background-image: -moz-linear-gradient(bottom, rgb(<?php echo '240,240,240'; ?>) 15%, rgb(<?php echo '255,255,255'; ?>) 100%) !important;
@@ -1009,7 +1009,9 @@ td.photo {
box-shadow: 4px 4px 4px #EEE;
padding: 0 4px 0 4px !important;
}
.toolbar {
height: 34px !important;
}

View File

@@ -532,7 +532,7 @@ class UserGroup extends CommonObject
// Appel des triggers
include_once DOL_DOCUMENT_ROOT . '/core/class/interfaces.class.php';
$interface=new Interfaces($this->db);
$result=$interface->run_triggers('USER_DELETE',$this,$user,$langs,$conf);
$result=$interface->run_triggers('GROUP_DELETE',$this,$user,$langs,$conf);
if ($result < 0) { $error++; $this->errors=$interface->errors; }
// Fin appel triggers