Created
July 25, 2018 13:40
-
-
Save radscheit/061b737123b851a777b99ad3bde35f53 to your computer and use it in GitHub Desktop.
Snippet Für TG CH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
switch($toolbox_type): | |
case "all": | |
$toolbox_icon = 'file-archive-o'; | |
$toolbox_type_info = t('Gesamte Materialien'); | |
$toolbox_detail = t('Stand: ') . date("d. m. Y",$toolbox_zip[0]['timestamp']) . ', ' . t('Gewicht: ') . number_format($toolbox_zip[0]['filesize'] / 1048576,2,'.',' ') . ' ' .t('MegaBytes'); | |
break; | |
case "txt": | |
$toolbox_icon = 'file-text-o'; | |
$toolbox_type_info = t('Texte'); | |
$toolbox_detail = t('Dateien: ') . count($toolbox_file); | |
$toolbox_zip_string = t('Alle Texte'); | |
break; | |
case "img": | |
$toolbox_icon = 'file-image-o'; | |
$toolbox_type_info = t('Bilder'); | |
$toolbox_detail = t('Dateien: ') . count($toolbox_file); | |
$toolbox_zip_string = t('Alle Bilder'); | |
break; | |
case "vid": | |
$toolbox_icon = 'file-video-o'; | |
$toolbox_type_info = t('Videos'); | |
$toolbox_detail = t('Dateien: ') . count($toolbox_file); | |
$toolbox_zip_string = t('Alle Videos'); | |
break; | |
case "misc": | |
$toolbox_icon = 'file-o'; | |
$toolbox_type_info = t('Sonstige'); | |
$toolbox_detail = t('Dateien: ') . count($toolbox_file); | |
$toolbox_zip_string = t('Alle sonstigen Dateien'); | |
break; | |
endswitch; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment