Version 1.0.30

This commit is contained in:
ultimatemember
2015-01-29 15:52:13 +02:00
parent 78833fa2e3
commit df37a3164f
17 changed files with 465 additions and 364 deletions
+11 -37
View File
@@ -2,43 +2,8 @@
<div class="">
<?php
/*
<p>
<label class="um-admin-half"><?php _e('Use Infinite Scroll instead of pagination','ultimatemember'); ?></label>
<span class="um-admin-half">
<?php $this->ui_on_off('_um_infinitescroll', 0, true, 1, 'infinite-settings', 'pagination-settings'); ?>
</span>
</p><div class="um-admin-clear"></div>
<p class="infinite-settings um-admin-hide">
<label class="um-admin-half"><?php _e('Number of profiles to show on first load','ultimatemember'); ?> <?php $this->tooltip('Number of member profiles to appear on the first load only'); ?></label>
<span class="um-admin-half">
<input type="text" name="_um_profiles_on_load" id="_um_profiles_on_load" value="<?php echo $ultimatemember->query->get_meta_value('_um_max_users', null, 12 ); ?>" class="small" />
</span>
</p><div class="um-admin-clear"></div>
<p class="infinite-settings um-admin-hide">
<label class="um-admin-half"><?php _e('Number of profiles to show on load more','ultimatemember'); ?> <?php $this->tooltip('Number of member profiles to appear when user loads more profiles'); ?></label>
<span class="um-admin-half">
<input type="text" name="_um_profiles_load_more" id="_um_profiles_load_more" value="<?php echo $ultimatemember->query->get_meta_value('_um_max_users', null, 12 ); ?>" class="small" />
</span>
</p><div class="um-admin-clear"></div>
*/
?>
<p class="pagination-settings">
<label class="um-admin-half"><?php _e('Number of profiles per page','ultimatemember'); ?> <?php $this->tooltip('Number of member profiles to appear on every page'); ?></label>
<label class="um-admin-half"><?php _e('Number of profiles per page','ultimatemember'); ?> <?php $this->tooltip( __('Number of profiles to appear on page for standard users') ); ?></label>
<span class="um-admin-half">
<input type="text" name="_um_profiles_per_page" id="_um_profiles_per_page" value="<?php echo $ultimatemember->query->get_meta_value('_um_profiles_per_page', null, 12); ?>" class="small" />
@@ -47,7 +12,16 @@
</p><div class="um-admin-clear"></div>
<p>
<label class="um-admin-half"><?php _e('Maximum number of profiles','ultimatemember'); ?> <?php $this->tooltip('Use this setting to control the maximum number of profiles to appear in this directory. Leave blank to disable this limit'); ?></label>
<label class="um-admin-half"><?php _e('Number of profiles per page (for Mobiles & Tablets)','ultimatemember'); ?> <?php $this->tooltip( __('Number of profiles to appear on page for mobile users') ); ?></label>
<span class="um-admin-half">
<input type="text" name="_um_profiles_per_page_mobile" id="_um_profiles_per_page_mobile" value="<?php echo $ultimatemember->query->get_meta_value('_um_profiles_per_page_mobile', null, 8); ?>" class="small" />
</span>
</p><div class="um-admin-clear"></div>
<p>
<label class="um-admin-half"><?php _e('Maximum number of profiles','ultimatemember'); ?> <?php $this->tooltip( __('Use this setting to control the maximum number of profiles to appear in this directory. Leave blank to disable this limit','ultimatemember') ); ?></label>
<span class="um-admin-half">
<input type="text" name="_um_max_users" id="_um_max_users" value="<?php echo $ultimatemember->query->get_meta_value('_um_max_users', null, 'na' ); ?>" class="small" />