Merge remote-tracking branch 'origin/3.3' into develop
This commit is contained in:
commit
8cae374d2a
@ -54,7 +54,7 @@ function dol_json_encode($elements)
|
|||||||
$output = '[';
|
$output = '[';
|
||||||
for ($i = 0, $last = ($num - 1); isset($elements[$i]); ++$i)
|
for ($i = 0, $last = ($num - 1); isset($elements[$i]); ++$i)
|
||||||
{
|
{
|
||||||
if (is_array($elements[$i])) $output.= json_encode($elements[$i]);
|
if (is_array($elements[$i]) || is_object($elements[$i])) $output.= json_encode($elements[$i]);
|
||||||
else $output .= _val($elements[$i]);
|
else $output .= _val($elements[$i]);
|
||||||
if($i !== $last) $output.= ',';
|
if($i !== $last) $output.= ',';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -34,7 +34,7 @@ class Segment implements IteratorAggregate, Countable
|
|||||||
$this->xml = (string) $xml;
|
$this->xml = (string) $xml;
|
||||||
$this->odf = $odf;
|
$this->odf = $odf;
|
||||||
$zipHandler = $this->odf->getConfig('ZIP_PROXY');
|
$zipHandler = $this->odf->getConfig('ZIP_PROXY');
|
||||||
$this->file = new $zipHandler();
|
$this->file = new $zipHandler($this->odf->getConfig('PATH_TO_TMP'));
|
||||||
$this->_analyseChildren($this->xml);
|
$this->_analyseChildren($this->xml);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -885,7 +885,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
|||||||
else print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/css/'.$jquerytheme.'/jquery-ui-latest.custom.css" />'."\n"; // JQuery
|
else print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/css/'.$jquerytheme.'/jquery-ui-latest.custom.css" />'."\n"; // JQuery
|
||||||
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/plugins/tiptip/tipTip.css" />'."\n"; // Tooltip
|
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/plugins/tiptip/tipTip.css" />'."\n"; // Tooltip
|
||||||
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/plugins/jnotify/jquery.jnotify-alt.min.css" />'."\n"; // JNotify
|
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/plugins/jnotify/jquery.jnotify-alt.min.css" />'."\n"; // JNotify
|
||||||
if (! empty($conf->global->MAIN_USE_JQUERY_FILEUPLOAD)) // jQuery fileupload
|
if (! empty($conf->global->MAIN_USE_JQUERY_FILEUPLOAD) || (defined('REQUIRE_JQUERY_FILEUPLOAD') && constant('REQUIRE_JQUERY_FILEUPLOAD'))) // jQuery fileupload
|
||||||
{
|
{
|
||||||
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/plugins/fileupload/css/jquery.fileupload-ui.css" />'."\n";
|
print '<link rel="stylesheet" type="text/css" href="'.DOL_URL_ROOT.'/includes/jquery/plugins/fileupload/css/jquery.fileupload-ui.css" />'."\n";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user