Stud.IP  5.4
flat.php File Reference

Variables

 $show_downloads = in_array(Config::get()->DISPLAY_DOWNLOAD_COUNTER, ['always', 'flat'])
 
 $vue_files = []
 
 $topFolder = new StandardFolder()
 
 $vue_topFolder
 
if(is_a($vue_topFolder['description'], "Flexi_Template")) $vue_topFolder ['buttons'] = '<span class="multibuttons">'
 
 $vue_topFolder ['buttons']
 
if($topFolder->isWritable($GLOBALS['user']->id)) $vue_topFolder ['buttons']
 
if($topFolder->isWritable($GLOBALS['user']->id)) $vue_topFolder ['buttons'] = '</span>'
 

Variable Documentation

◆ $show_downloads

$show_downloads = in_array(Config::get()->DISPLAY_DOWNLOAD_COUNTER, ['always', 'flat'])

◆ $topFolder

$topFolder = new StandardFolder()

◆ $vue_files

foreach ( $files as $file) $vue_files = []

◆ $vue_topFolder [1/5]

$vue_topFolder
Initial value:
= [
'description' => $topFolder->getDescriptionTemplate()
$topFolder
Definition: flat.php:11

◆ $vue_topFolder [2/5]

if (is_a( $vue_topFolder[ 'description'], "Flexi_Template")) $vue_topFolder[ 'buttons'] = '<span class="multibuttons">'

◆ $vue_topFolder [3/5]

$vue_topFolder[ 'buttons']
Initial value:
= Studip\Button::create(_('Herunterladen'), 'download', [
'data-activates-condition' => 'table.documents tr[data-permissions*=d] :checkbox:checked'
])
title _
Definition: likert_evaluation.php:102
static create($label=NULL, $trait=NULL, $attributes=[])
Definition: Interactable.class.php:111

◆ $vue_topFolder [4/5]

if ( $topFolder->isWritable( $GLOBALS[ 'user']->id)) $vue_topFolder[ 'buttons']
Initial value:
= Studip\Button::create(_('Kopieren'), 'copy', [
'formaction' => $controller->url_for('file/choose_destination/copy/bulk'),
'data-dialog' => 'size=auto',
'data-activates-condition' => 'table.documents tr[data-permissions*=r] :checkbox:checked'
])
title _
Definition: likert_evaluation.php:102
static create($label=NULL, $trait=NULL, $attributes=[])
Definition: Interactable.class.php:111

◆ $vue_topFolder [5/5]

if ( $topFolder->isWritable( $GLOBALS[ 'user']->id)) $vue_topFolder[ 'buttons'] = '</span>'