/**
  * TODO Document!
  */
 function pagelines_theme_update_nag()
 {
     $pagelines_update = $this->pagelines_theme_update_check();
     if (!is_super_admin() || !$pagelines_update || !current_user_can('edit_themes')) {
         return false;
     }
     if ($this->email == '' || $this->key == '' || $pagelines_update['package'] == 'bad') {
         //	add_filter('pagelines_admin_notifications', array(&$this,'bad_creds') );
     }
     echo '<div class="updated">';
     printf('<p>%s v%s is available.', $this->theme, esc_html($pagelines_update['new_version']));
     printf(' %s', $pagelines_update['package'] != 'bad' ? sprintf('You should <a href="%s">update now</a>.', admin_url('update-core.php')) : sprintf('<a href="%s">Click here</a> to setup your PageLines account.', PLAdminPaths::editor_account()));
     echo $pagelines_update['extra'] ? sprintf('<br />%s', $pagelines_update['extra']) : '';
     echo '</div></p>';
 }