#1356 - Перенести доступ к модулям/виджетам типа filemanager

parent 5bf8a59d
...@@ -23,7 +23,7 @@ $params = require(__DIR__ . '/../../../config/params-local.php'); ...@@ -23,7 +23,7 @@ $params = require(__DIR__ . '/../../../config/params-local.php');
| |
*/ */
define('USE_ACCESS_KEYS', false); // TRUE or FALSE define('USE_ACCESS_KEYS', true); // TRUE or FALSE
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------
...@@ -117,7 +117,7 @@ $config = array( ...@@ -117,7 +117,7 @@ $config = array(
| |
*/ */
'access_keys' => array(), 'access_keys' => array('cSahxMGM9cePZyTcGlG0nG9R2eWHVlWNHCjtcr1X'),
//-------------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------------
// YOU CAN COPY AND CHANGE THESE VARIABLES INTO FOLDERS config.php FILES TO CUSTOMIZE EACH FOLDER OPTIONS // YOU CAN COPY AND CHANGE THESE VARIABLES INTO FOLDERS config.php FILES TO CUSTOMIZE EACH FOLDER OPTIONS
......
...@@ -37,6 +37,7 @@ $(function() { ...@@ -37,6 +37,7 @@ $(function() {
force_br_newlines : false, force_br_newlines : false,
force_p_newlines : true, force_p_newlines : true,
external_filemanager_path:"/filemanager/", external_filemanager_path:"/filemanager/",
filemanager_access_key:"cSahxMGM9cePZyTcGlG0nG9R2eWHVlWNHCjtcr1X",
filemanager_title:"Responsive Filemanager" , filemanager_title:"Responsive Filemanager" ,
external_plugins: { "filemanager" : "/filemanager/plugin.min.js"} external_plugins: { "filemanager" : "/filemanager/plugin.min.js"}
}); });
......
...@@ -8,6 +8,7 @@ $(document).ready(function() { ...@@ -8,6 +8,7 @@ $(document).ready(function() {
url: "/bids/bid/upload-files", url: "/bids/bid/upload-files",
maxFiles: 4, maxFiles: 4,
addRemoveLinks: true, addRemoveLinks: true,
acceptedFiles: '.xls,.doc,.docx,.xlsx,.png,.jpeg,.gif,.bmp,jpg,.zip,.rar,.tar',
dictRemoveFile: 'Удалить', dictRemoveFile: 'Удалить',
success: function(first, response) success: function(first, response)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment