Update 1.0.64

This commit is contained in:
ultimatemember
2015-02-23 01:43:11 +02:00
parent 6bc9419c06
commit e341d4e965
13 changed files with 84 additions and 64 deletions
+20
View File
@@ -71,6 +71,26 @@
font-size: 18px;
}
.um-metabox-holder .norm i {
display: inline-block;
width: 30px;
text-align: center;
}
.um-metabox-holder .norm p {
margin: 5px 0;
}
.um-metabox-holder .norm .count {
font-size: 16px;
font-family: Gerogia;
color: #999;
width: 40px;
display: inline-block;
text-align: right;
margin-right: 10px;
}
/* Share bar */
.um-admin-dash-share {
-25
View File
@@ -1,28 +1,3 @@
jQuery(document).ready(function() {
/**
var active_tab = jQuery('.um-admin-dash-nav a.active').attr('data-rel');
jQuery('.um-admin-dash-content').hide();
jQuery('.um-admin-dash-content#'+active_tab).show();
draw_linechart();
chart_ready = 0;
jQuery(document).on('click', '.um-admin-dash-nav a', function(e){
e.preventDefault();
active_tab = jQuery(this).attr('data-rel');
jQuery('.um-admin-dash-nav a').removeClass('active');
jQuery(this).addClass('active');
jQuery('.um-admin-dash-content').hide();
jQuery('.um-admin-dash-content#'+active_tab).show();
if ( chart_ready == 0 ) {
draw_linechart();
chart_ready = 1;
}
return false;
});
**/
});
+2 -2
View File
@@ -60,7 +60,7 @@ class UM_Admin_Dashboard {
add_meta_box('um-metaboxes-contentbox-1', __('Users Overview','ultimatemember'), array(&$this, 'users_overview'), $this->pagehook, 'core', 'core');
add_meta_box('um-metaboxes-mainbox-1', __('Purge Temp Files','ultimatemember'), array(&$this, 'purge_temp'), $this->pagehook, 'normal', 'core');
add_meta_box('um-metaboxes-sidebox-1', __('Purge Temp Files','ultimatemember'), array(&$this, 'purge_temp'), $this->pagehook, 'side', 'core');
if ( $this->language_avaialable_not_installed() ) {
add_meta_box('um-metaboxes-sidebox-2', __('Language','ultimatemember'), array(&$this, 'dl_language'), $this->pagehook, 'side', 'core');
@@ -105,7 +105,7 @@ class UM_Admin_Dashboard {
***/
function language_not_available() {
$locale = get_option('WPLANG');
if ( $locale && !isset( $ultimatemember->available_languages[$locale] ) && !file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) )
if ( $locale && !strstr($locale, 'en_') && !isset( $ultimatemember->available_languages[$locale] ) && !file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) )
return true;
return false;
}
+1
View File
@@ -74,6 +74,7 @@ class UM_Admin_Notices {
$locale = get_option('WPLANG');
if ( !$locale ) return;
if ( strstr( $locale, 'en_' ) ) return; // really, english!
if ( file_exists( WP_LANG_DIR . '/plugins/ultimatemember-' . $locale . '.mo' ) ) return;
if ( isset( $ultimatemember->available_languages[$locale] ) ) {