Merge branch 'develop' into patch-4
This commit is contained in:
commit
85b09de61f
@ -11,6 +11,7 @@ class DolConfigCollector extends ConfigCollector
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
@ -29,6 +30,7 @@ class DolConfigCollector extends ConfigCollector
|
|||||||
/**
|
/**
|
||||||
* Return collected data
|
* Return collected data
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
public function collect()
|
public function collect()
|
||||||
{
|
{
|
||||||
@ -40,6 +42,7 @@ class DolConfigCollector extends ConfigCollector
|
|||||||
/**
|
/**
|
||||||
* Returns an array with config data
|
* Returns an array with config data
|
||||||
*
|
*
|
||||||
|
* @return array Array of config
|
||||||
*/
|
*/
|
||||||
protected function getConfig()
|
protected function getConfig()
|
||||||
{
|
{
|
||||||
@ -67,6 +70,7 @@ class DolConfigCollector extends ConfigCollector
|
|||||||
/**
|
/**
|
||||||
* Convert an object to array
|
* Convert an object to array
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
protected function object_to_array($obj)
|
protected function object_to_array($obj)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -38,6 +38,7 @@ class DolLogsCollector extends MessagesCollector
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
@ -63,6 +64,7 @@ class DolLogsCollector extends MessagesCollector
|
|||||||
/**
|
/**
|
||||||
* Return collected data
|
* Return collected data
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
public function collect()
|
public function collect()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -11,6 +11,7 @@ class DolMemoryCollector extends MemoryCollector
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -11,6 +11,7 @@ class DolMessagesCollector extends MessagesCollector
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -20,7 +20,6 @@ class DolQueryCollector extends DataCollector implements Renderable, AssetProvid
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
@ -73,6 +72,7 @@ class DolQueryCollector extends DataCollector implements Renderable, AssetProvid
|
|||||||
/**
|
/**
|
||||||
* Return collector name
|
* Return collector name
|
||||||
*
|
*
|
||||||
|
* @param string Name
|
||||||
*/
|
*/
|
||||||
public function getName()
|
public function getName()
|
||||||
{
|
{
|
||||||
@ -82,6 +82,7 @@ class DolQueryCollector extends DataCollector implements Renderable, AssetProvid
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @param array Array
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
@ -106,6 +107,7 @@ class DolQueryCollector extends DataCollector implements Renderable, AssetProvid
|
|||||||
/**
|
/**
|
||||||
* Return assets
|
* Return assets
|
||||||
*
|
*
|
||||||
|
* @param array Array
|
||||||
*/
|
*/
|
||||||
public function getAssets()
|
public function getAssets()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -11,6 +11,7 @@ class DolRequestDataCollector extends RequestDataCollector
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
@ -25,4 +26,4 @@ class DolRequestDataCollector extends RequestDataCollector
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,6 +11,7 @@ class DolTimeDataCollector extends TimeDataCollector
|
|||||||
/**
|
/**
|
||||||
* Return widget settings
|
* Return widget settings
|
||||||
*
|
*
|
||||||
|
* @return array Array
|
||||||
*/
|
*/
|
||||||
public function getWidgets()
|
public function getWidgets()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -32,6 +32,7 @@ class DolibarrCollector extends DataCollector implements Renderable, AssetProvid
|
|||||||
/**
|
/**
|
||||||
* Return database info as an HTML string
|
* Return database info as an HTML string
|
||||||
*
|
*
|
||||||
|
* @return string HTML string
|
||||||
*/
|
*/
|
||||||
protected function getDatabaseInfo()
|
protected function getDatabaseInfo()
|
||||||
{
|
{
|
||||||
|
|||||||
@ -15,4 +15,4 @@ spl_autoload_register(function ($class) {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
@ -1039,7 +1039,7 @@ else
|
|||||||
// Nature
|
// Nature
|
||||||
print '<tr><td>'.$langs->trans("Nature").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("Nature").'</td><td colspan="3">';
|
||||||
$statutarray=array('1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
|
$statutarray=array('1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
|
||||||
print $form->selectarray('finished', $statutarray, GETPOST('finished','alpha'), 1);
|
print $form->selectarray('finished', $statutarray, GETPOST('finished', 'alpha'), 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Weight
|
// Weight
|
||||||
@ -1424,7 +1424,7 @@ else
|
|||||||
// Nature
|
// Nature
|
||||||
print '<tr><td>'.$langs->trans("Nature").'</td><td colspan="3">';
|
print '<tr><td>'.$langs->trans("Nature").'</td><td colspan="3">';
|
||||||
$statutarray=array('-1'=>' ', '1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
|
$statutarray=array('-1'=>' ', '1' => $langs->trans("Finished"), '0' => $langs->trans("RowMaterial"));
|
||||||
print $form->selectarray('finished' ,$statutarray, $object->finished);
|
print $form->selectarray('finished', $statutarray, $object->finished);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
// Weight
|
// Weight
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user