<nav class="manage-page-navigation"> <?php echo ae_SiteBuilder::pagination($numPages, $pageOffset, $linkBase); ?> </nav> <?php while ($entry = $list->next()) { ?> <?php $status = $entry->getStatus(); $basePath = '../media/' . $entry->getDatetime('Y/m/'); $path = $basePath . $entry->getName(); $meta = $entry->getMetaInfo(); $filesize = isset($meta['file_size']) ? ae_Forms::formatSize($meta['file_size']) : '? KB'; $icon = ae_Forms::getIcon($entry->getType()); $type = htmlspecialchars($entry->getType()); $linkEdit = 'admin.php?area=edit&media=' . $entry->getId(); $linkStatus = 'scripts/manage.php?media=' . $entry->getId(); $linkAvailable = $linkStatus . '&status=' . ae_MediaModel::STATUS_AVAILABLE; $linkTrash = $linkStatus . '&status=' . ae_MediaModel::STATUS_TRASH; $linkDelete = $linkStatus . '&status=delete'; ?> <div class="manage-entry category-entry status-<?php echo $entry->getStatus(); ?> "> <input type="checkbox" name="entry[]" value="<?php echo $entry->getId(); ?>
<input type="text" name="category-permalink" class="permalink" placeholder="Permalink" value="<?php echo $model->getPermalink(); ?> " /> </div> </div> <?php } elseif ($editArea == 'Media') { ?> <?php $type = htmlspecialchars($model->getType()); $icon = ae_Forms::getIcon($type); $meta = $model->getMetaInfo(); $fsize = ae_Forms::formatSize($meta['file_size']); ?> <aside> <div class="input-group"> <h3>Type</h3> <span class="icon-add-before <?php echo $icon; ?> "><?php echo $type; ?> </span> </div> <div class="input-group"> <h3>File size</h3>