Allow create folder and rename folder/file in "my files" see #7971

1.10.x
Julio Montoya 10 years ago
parent 6e9a619fdc
commit e88e29ccec
  1. 22
      app/Resources/public/css/base.css
  2. 16
      src/Chamilo/CoreBundle/Component/Editor/Driver/PersonalDriver.php

@ -142,7 +142,7 @@ a.thumbnail:hover{
}
#carousel-announcement .right{
right: 0px;
}
}
#carousel-announcement .carousel-indicators li{
width: 20px;
height: 20px;
@ -160,7 +160,7 @@ a.thumbnail:hover{
#panelSliders {
width: 75%;
margin: 25px auto;
margin: 25px auto;
text-align: center;
}
@ -4201,9 +4201,9 @@ i.size-32.icon-new-work{
background: #ffffff;
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed));
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
background: linear-gradient(to bottom, #ffffff 0%,#f6f6f6 47%,#ededed 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 );
}
@ -5659,7 +5659,7 @@ a.sessionView {
width: 800px;
height: 350px;
overflow: hidden;
}
}
#issues li {
width: 800px;
height: 350px;
@ -5677,13 +5677,13 @@ a.sessionView {
float: left;
margin: 10px 30px 10px 50px;
background: transparent;
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF)"; /* IE 8 */
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF);/* IE 6 & 7 */
zoom: 1;
-webkit-transition: all 2s ease-in-out;
-moz-transition: all 2s ease-in-out;
-o-transition: all 2s ease-in-out;
-ms-transition: all 2s ease-in-out;
-ms-transition: all 2s ease-in-out;
transition: all 2s ease-in-out;
-webkit-transform: scale(0.7,0.7);
-moz-transform: scale(0.7,0.7);
@ -5925,3 +5925,7 @@ a.sessionView {
text-align: center;
}
}
.elfinder-cwd-filename {
color: black !important;
}

@ -52,7 +52,21 @@ class PersonalDriver extends Driver implements DriverInterface
'alias' => get_lang('MyFiles'),
'path' => $dir.'my_files',
'URL' => $dirWeb.'my_files',
'accessControl' => array($this, 'access')
'accessControl' => array($this, 'access'),
'disabled' => array(
'duplicate',
//'rename',
//'mkdir',
'mkfile',
'copy',
'cut',
'paste',
'edit',
'extract',
'archive',
'help',
'resize'
),
);
return $driver;

Loading…
Cancel
Save