adding icon for shared folder of users

skala
Juan Carlos Raña 15 years ago
parent a2ff0738ff
commit 37fdd2c77d
  1. 8
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/_ajax_get_details_listing.php
  2. 8
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/_ajax_get_thumbnail_listing.php
  3. 7
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/theme/default/css/fckeditor.css
  4. BIN
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/theme/default/images/big_icon/biguserUnknown.png
  5. BIN
      main/inc/lib/fckeditor/editor/plugins/ajaxfilemanager/theme/default/images/small_icon/smallunknownUser.png

@ -82,7 +82,13 @@
?>
<td lign="center" class="fileColumns" id="tdst<?php echo $count; ?>">&nbsp;<a id="a<?php echo $count; ?>" href="<?php echo $file['path']; ?>" <?php echo $file['cssClass'] == 'filePicture'?'rel="ajaxPhotos"':''; ?> ><span class="<?php echo ($file['type'] == 'folder '?$file['cssClass']:"folderShared"); ?>">&nbsp;</span></a></td>
<?php
}
}
elseif(preg_match('/sf_user_/', basename($file['path'])))
{
?>
<td lign="center" class="fileColumns" id="tdst<?php echo $count; ?>">&nbsp;<a id="a<?php echo $count; ?>" href="<?php echo $file['path']; ?>" <?php echo $file['cssClass'] == 'filePicture'?'rel="ajaxPhotos"':''; ?> ><span class="<?php echo ($file['type'] == 'folder '?$file['cssClass']:"unknownUser"); ?>">&nbsp;</span></a></td>
<?php
}
else
{
?>

@ -44,10 +44,16 @@
<dl class="thumbnailListing" id="dl<?php echo $count; ?>">
<?php
if(preg_match('/shared_folder/', basename($file['path'])))
{ //add icon into ajaxfilemanager if sharedfolder is in Chamilo
{ //add icon into ajaxfilemanager if sharedfolder is in Chamilo
?>
<dt id="dt<?php echo $count; ?>" class="<?php echo ($file['type'] == 'folder' || empty($file['file']) || empty($file['subdir'])?'folderShared':$file['cssClass']); ?>" class="<?php echo $file['cssClass']; ?>">
<?php
}
elseif(preg_match('/sf_user_/', basename($file['path'])))
{
?>
<dt id="dt<?php echo $count; ?>" class="<?php echo ($file['type'] == 'folder' || empty($file['file']) || empty($file['subdir'])?'unknownUser':$file['cssClass']); ?>" class="<?php echo $file['cssClass']; ?>">
<?php
}
else

@ -274,7 +274,7 @@ span.filePPT, span.fileExcel, span.filePhp,
span.fileMusic, span.fileExe, span.fileAcrobat,
span.fileRTF, span.fileXml, span.fileCode,
span.fileZip, span.addMore, span.deleteFile,
span.cancel,span.uploadProcessing, span.folderShared{
span.cancel,span.uploadProcessing, span.folderShared, span.unknownUser{
padding:2px 0 2px 16px;
background-repeat:no-repeat;
background-position:0 50%;
@ -303,6 +303,7 @@ span.fileCode{background-image:url(../images/small_icon/fileCode.png);}
span.fileZip{background-image:url(../images/small_icon/fileZip.png);}
span.folderShared{background-image:url(../images/small_icon/folderShared.png);}
span.unknownUser{background-image:url(../images/small_icon/smallunknownUser.png);}
/* big icon */
dt.folderEmpty, dt.folder, dt.folderParent,
@ -311,7 +312,7 @@ dt.fileFlash, dt.fileVideo,
dt.filePPT, dt.fileExcel, dt.filePhp,
dt.fileMusic, dt.fileExe, dt.fileAcrobat,
dt.fileRTF, dt.fileXml, dt.fileCode,
dt.fileZip,dt.folderShared{
dt.fileZip,dt.folderShared, dt.unknownUser{
margin: 0px;
padding:0px;
border:solid #ccc 1px;
@ -345,6 +346,8 @@ dt.fileCode{background-image:url(../images/big_icon/fileCode.png);}
dt.fileZip{background-image:url(../images/big_icon/fileZip.png);}
dt.folderShared{background-image:url(../images/big_icon/bigfolderShared.png);}
dt.unknownUser{background-image:url(../images/big_icon/biguserUnknown.png);}
table.tableSummary{
border-collapse:collapse;

Loading…
Cancel
Save