<h5> <?php echo sprintf(__('by %s', 'wptouch-pro'), wptouch_get_addon_author()); ?> </h5> <p class="desc"><?php wptouch_the_addon_description(); ?> </p> <p class="info"> <?php if (!wptouch_is_addon_in_cloud()) { ?> <?php echo sprintf(__('Extension location: %s', 'wptouch-pro'), wptouch_get_addon_location()); ?> <i class="wptouch-tooltip icon-question-sign" title="<?php _e('Relative to your WordPress wp-content directory.', 'wptouch-pro'); ?> "></i> <?php } ?> <br /> </p> <ul class="item-actions"> <?php if (wptouch_is_addon_in_cloud()) { ?>
function wptouch_get_addon_preview_images() { require_once WPTOUCH_DIR . '/core/file-operations.php'; return wptouch_get_files_in_directory(WP_CONTENT_DIR . wptouch_get_addon_location() . '/preview', '.jpg', false); }