Qual: Removed completey scriptaculous and prototype
This commit is contained in:
parent
b4b810179f
commit
b766ab6832
@ -28,7 +28,6 @@ OdtPHP 1.0.1 GPL 2.0 Yes Library
|
||||
Php-barcode 0.3pl1 GPL 2.0 Yes Bar code generation
|
||||
PHP_WriteExcel 0.3.0 LGPL 2.1 Yes Excel files generation
|
||||
PHP_ExcelReader 2.21 MIT License Yes Parse and retrieve information from XLS files
|
||||
Prototype 1.6.1 MIT License Yes Ajax library
|
||||
Smarty 2.6.26 LGPL 2.1 Yes Templates engine used by some pages
|
||||
SMTPs 1.15 GPL Yes SMTPS library
|
||||
TCPDF 5.8.023 LGPL 3.0 Yes
|
||||
|
||||
@ -58,6 +58,7 @@ For developers:
|
||||
- New: Add jquery by default.
|
||||
- New: Removed PWC libraries.
|
||||
- New: Removed Scriptaculous libraries.
|
||||
- New: Removed Prototype libraries.
|
||||
- New: Add first Selenium GUI tests.
|
||||
- New: Enhance a lot of internal function to build external modules
|
||||
more easily.
|
||||
|
||||
@ -27,9 +27,6 @@
|
||||
//if (! defined('NOREQUIREHTML')) define('NOREQUIREHTML','1'); // If we don't need to load the html.form.class.php
|
||||
//if (! defined('NOREQUIREAJAX')) define('NOREQUIREAJAX','1');
|
||||
//if (! defined("NOLOGIN")) define("NOLOGIN",'1'); // If this page is public (can be called outside logged session)
|
||||
if (! defined("DISABLE_PROTOTYPE")) define("DISABLE_PROTOTYPE",'1'); // If this page is public (can be called outside logged session)
|
||||
if (! defined("DISABLE_SCRIPTACULOUS")) define("DISABLE_SCRIPTACULOUS",'1'); // If this page is public (can be called outside logged session)
|
||||
if (! defined("DISABLE_PWC")) define("DISABLE_PWC",'1'); // If this page is public (can be called outside logged session)
|
||||
|
||||
require("../main.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/lib/product.lib.php");
|
||||
|
||||
4874
htdocs/includes/scriptaculous/lib/prototype.js
vendored
4874
htdocs/includes/scriptaculous/lib/prototype.js
vendored
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -857,7 +857,7 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
||||
$mini='';$ext='.js';
|
||||
if (isset($conf->global->MAIN_OPTIMIZE_SPEED) && ($conf->global->MAIN_OPTIMIZE_SPEED & 0x01)) { $mini='_mini'; $ext='.jgz'; } // mini='_mini', ext='.gz'
|
||||
|
||||
// JQuery. Must be before other includes (prototype/scriptaculous)
|
||||
// JQuery. Must be before other includes (prototype/scriptaculous/...)
|
||||
print '<!-- Includes for JQuery -->'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-1.4.3.min'.$ext.'"></script>'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/js/jquery-ui-1.8.5.custom.min'.$ext.'"></script>'."\n";
|
||||
@ -868,13 +868,6 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs
|
||||
{
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/jquery/plugins/layout/jquery.layout-latest'.$ext.'"></script>'."\n";
|
||||
}
|
||||
|
||||
// This one is required for some Ajax features
|
||||
if (! defined('DISABLE_PROTOTYPE') && $conf->global->MAIN_USE_PROTOTYPE)
|
||||
{
|
||||
print '<!-- Includes for Prototype -->'."\n";
|
||||
print '<script type="text/javascript" src="'.DOL_URL_ROOT.'/includes/scriptaculous/lib/prototype'.$mini.$ext.'"></script>'."\n";
|
||||
}
|
||||
}
|
||||
|
||||
// Output module javascript
|
||||
|
||||
@ -25,10 +25,6 @@
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
define('DISABLE_PROTOTYPE',1);
|
||||
define('DISABLE_SCRIPTACULOUS',1);
|
||||
define('DISABLE_PWC',1);
|
||||
|
||||
require ("../main.inc.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/projet/class/project.class.php");
|
||||
require_once(DOL_DOCUMENT_ROOT."/projet/class/task.class.php");
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
<directory>../../htdocs/includes/odtphp/</directory>
|
||||
<directory>../../htdocs/includes/php_excelreader/</directory>
|
||||
<directory>../../htdocs/includes/php_writeexcel/</directory>
|
||||
<directory>../../htdocs/includes/scriptaculous/</directory>
|
||||
<directory>../../htdocs/includes/smarty/</directory>
|
||||
<directory>../../htdocs/includes/smtps/</directory>
|
||||
<directory>../../htdocs/includes/tcpdf/</directory>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user