forked from Wavyzz/dolibarr
Merge branch '20.0' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
@@ -465,7 +465,10 @@ function getEntity($element, $shared = 1, $currentobject = null)
|
|||||||
$out = $mc->getEntity($element, $shared, $currentobject);
|
$out = $mc->getEntity($element, $shared, $currentobject);
|
||||||
} else {
|
} else {
|
||||||
$out = '';
|
$out = '';
|
||||||
$addzero = array('user', 'usergroup', 'cronjob', 'c_email_templates', 'c_holiday_types', 'email_template', 'default_values', 'overwrite_trans');
|
$addzero = array('user', 'usergroup', 'cronjob', 'c_email_templates', 'email_template', 'default_values', 'overwrite_trans');
|
||||||
|
if (getDolGlobalString('HOLIDAY_ALLOW_ZERO_IN_DIC')) {
|
||||||
|
$addzero[] = 'c_holiday_types';
|
||||||
|
}
|
||||||
if (in_array($element, $addzero)) {
|
if (in_array($element, $addzero)) {
|
||||||
$out .= '0,';
|
$out .= '0,';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,50 +0,0 @@
|
|||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Jcrop: the jQuery Image Cropping Plugin</title>
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
|
|
||||||
<div style="margin:0;padding:1em 5em;width:40em;">
|
|
||||||
<h1>Jcrop Image Cropping Plugin</h1>
|
|
||||||
|
|
||||||
<big>
|
|
||||||
<a href="http://deepliquid.com/content/Jcrop.html"><b>Jcrop</b></a>
|
|
||||||
is the image cropping plugin for
|
|
||||||
<a href="http://jquery.com/">jQuery</a>.<br>
|
|
||||||
You've successfully unpacked Jcrop.
|
|
||||||
</big>
|
|
||||||
|
|
||||||
<h3>Static Demos</h3>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="demos/tutorial1.html">Hello World</a> — default behavior</a></li>
|
|
||||||
<li><a href="demos/tutorial2.html">Basic Handler</a> — basic form integration</a></li>
|
|
||||||
<li><a href="demos/tutorial3.html">Aspect Ratio w/ Preview Pane</a> — nice visual example</a></li>
|
|
||||||
<li><a href="demos/tutorial4.html">Setting/Animating Selection</a> — animation demo</a></li>
|
|
||||||
<li><a href="demos/tutorial5.html">API Interface</a> — real-time API example</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h3>Live Demo</h3>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="demos/crop.php">PHP Cropping Demo</a> — requires PHP/gd support</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<h3>Jcrop Links</h3>
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li><a href="http://deepliquid.com/content/Jcrop.html">Jcrop Home</a></li>
|
|
||||||
<li><a href="http://deepliquid.com/content/Jcrop_Manual.html">Jcrop Manual</a></li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<hr noshade="noshade" size="1" style="margin-top:2em;" />
|
|
||||||
<small>
|
|
||||||
<b>© 2008 Kelly Hallman and DeepLiquid.com</b><br>
|
|
||||||
Free software released under
|
|
||||||
<a href="http://deepliquid.com/content/Jcrop_License.html">MIT License</a>
|
|
||||||
</small>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
Reference in New Issue
Block a user