4require_once(
'class.ilCloudPluginListGUI.php');
 
    5require_once(
'./Services/UIComponent/GroupedList/classes/class.ilGroupedListGUI.php');
 
    6require_once(
'./Services/FileUpload/classes/class.ilFileUploadGUI.php');
 
   35                return $gl->getHTML();
 
   51                $this->gl->setAsDropDown(
true);
 
   58                        $a_ttip = 
$lng->txt(
'cld_info_add_file_to_current_directory');
 
   59                        $this->gl->addEntry(
$img . 
' ' 
   60                                . 
$lng->txt(
'cld_add_file'), 
'javascript:il.CloudFileList.uploadFile();', 
'_top', 
'', 
'', 
'il_cld_add_file', $a_ttip, 
'bottom center', 
'top center', 
false);
 
   63                if ($show_create_folders) {
 
   67                        $a_ttip1 = 
$lng->txt(
'cld_info_add_folder_to_current_directory');
 
   68                        $this->gl->addEntry($img1 . 
' ' 
   69                                . 
$lng->txt(
'cld_add_folder'), 
'javascript:il.CloudFileList.createFolder();', 
'_top', 
'', 
'', 
'il_cld_add_file', $a_ttip1, 
'bottom center', 
'top center', 
false);
 
  113        public function addEntry($a_content, $a_href = 
'', $a_target = 
'', $a_onclick = 
'', $a_add_class = 
'', $a_id = 
'', $a_ttip = 
'', $a_tt_my = 
'right center', $a_tt_at = 
'left center', $a_tt_use_htmlspecialchars = 
true) {
 
  115                parent::addEntry($a_content, $a_href, $a_target, $a_onclick, $a_add_class, $a_id, $a_ttip, $a_tt_my, $a_tt_at, $a_tt_use_htmlspecialchars); 
 
  125                parent::addGroupHeader($a_content, $a_add_class); 
 
  131                parent::addSeparator(); 
 
Class ilCloudGroupedListGUI.
addEntry($a_content, $a_href='', $a_target='', $a_onclick='', $a_add_class='', $a_id='', $a_ttip='', $a_tt_my='right center', $a_tt_at='left center', $a_tt_use_htmlspecialchars=true)
addSeparator()
Add separator.
addGroupHeader($a_content, $a_add_class="")
Class ilCloudPluginItemCreationListGUI.
getGroupedListItemsHTML($showUpload=false, $showCreateFolders=false)
getGroupedListItems($show_upload=false, $show_create_folders=false)
Class ilCloudPluginListGUI.
static initFileUpload()
Initializes the file upload and loads the needed javascripts and styles.
static img($a_src, $a_alt="", $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)