link-templates
5 months ago
lock-options
6 months ago
page-templates
4 months ago
all-packages-shortcode.php
1 week ago
category-shortcode-toolbar.php
1 year ago
file-list.php
5 years ago
lock-options-iframe.php
5 months ago
packages-shortcode-toolbar.php
1 year ago
packages-shortcode.php
2 years ago
search-result.php
5 years ago
shortcode-iframe.php
5 months ago
file-list.php
44 lines
| 1 | |
| 2 | <ul class="list-group package-file-list"> |
| 3 | <?php |
| 4 | |
| 5 | foreach($files as $ind => $file){ |
| 6 | $relative_path = str_replace(array($package_dir, ABSPATH), '', $file); |
| 7 | $individual_file_actions = ''; |
| 8 | ?> |
| 9 | <li class="list-group-item" title="<?php echo $file; ?>"> |
| 10 | <div class="pull-right"><nobr> |
| 11 | <?php if($password_lock) { ?> |
| 12 | |
| 13 | <input type="password" placeholder="File Password" class="form-control input-xs"> <button type="btn" class="btn btn-primary btn-xs"><i class="fa fa-download"></i></button> |
| 14 | |
| 15 | <?php } else { ?> |
| 16 | <button class="btn btn-primary btn-xs"><i class="fa fa-download"></i></button> |
| 17 | <?php } ?> |
| 18 | <?php echo apply_filters("individual_file_action", $individual_file_actions, $package_id, $file, $ind); ?> |
| 19 | </nobr> |
| 20 | </div> |
| 21 | <?php echo isset($fileinfo[$file]['title']) && $fileinfo[$file]['title'] != '' ? $fileinfo[$file]['title'] : $relative_path; ?> |
| 22 | </li> |
| 23 | <?php } ?> |
| 24 | </ul> |
| 25 | |
| 26 | <style> |
| 27 | .package-file-list{ |
| 28 | padding-left: 0; |
| 29 | } |
| 30 | .package-file-list, |
| 31 | .package-file-list .list-group-item{ |
| 32 | margin-left: 0; |
| 33 | } |
| 34 | .package-file-list .list-group-item{ |
| 35 | font-size: 9pt; |
| 36 | line-height: 30px; |
| 37 | } |
| 38 | .package-file-list .list-group-item .form-control.input-xs{ |
| 39 | height: 25px; |
| 40 | width: 100px; |
| 41 | border-radius: 2px !important; |
| 42 | display: inline; |
| 43 | } |
| 44 | </style> |