Esempio n. 1
0
<table class="fpcm-ui-table fpcm-ui-backups">
    <tr>
        <th class="fpcm-ui-editbutton-col"></th>
        <th><?php 
$FPCM_LANG->write('FILE_LIST_FILENAME');
?>
</th>
        <th><?php 
$FPCM_LANG->write('FILE_LIST_FILESIZE');
?>
</th>
        <th class="fpcm-th-select-row"></th>
    </tr>
    <?php 
fpcm\model\view\helper::notFoundContainer($templateFiles, 4);
?>

    <tr class="fpcm-td-spacer"><td></td></tr>
    <?php 
foreach ($templateFiles as $templateFile) {
    ?>
    <tr>
        <td class="fpcm-ui-editbutton-col fpcm-ui-center"><?php 
    \fpcm\model\view\helper::linkButton($templateFile->getFileUrl(), 'GLOBAL_DOWNLOAD', '', 'fpcm-ui-button-blank fpcm-download-btn', '_blank');
    ?>
</td>
        <td><?php 
    print $templateFile->getFilename();
    ?>
</td>
        <td><?php 
Esempio n. 2
0
            </ul>
            <div id="tabs-backups-database">
                <table class="fpcm-ui-table fpcm-ui-backups">
                    <tr>
                        <th class="fpcm-ui-editbutton-col"></th>
                        <th><?php 
$FPCM_LANG->write('FILE_LIST_FILENAME');
?>
</th>
                        <th><?php 
$FPCM_LANG->write('FILE_LIST_FILESIZE');
?>
</th>
                    </tr>
                    <?php 
fpcm\model\view\helper::notFoundContainer($folderList, 2);
?>
                    
                    <tr class="fpcm-td-spacer"><td></td></tr>
                    <?php 
foreach ($folderList as $value) {
    ?>
                    <tr>
                        <td class="fpcm-ui-editbutton-col fpcm-ui-center"><?php 
    \fpcm\model\view\helper::linkButton(fpcm\classes\baseconfig::$rootPath . 'index.php?module=system/backups&save=' . str_rot13(base64_encode($value)), 'GLOBAL_DOWNLOAD', '', 'fpcm-ui-button-blank fpcm-download-btn', '_blank');
    ?>
</td>
                        <td><?php 
    print basename($value);
    ?>
</td>