Skip to:
Content

BuddyPress.org

Ticket #6886: 6886.patch

File 6886.patch, 13.2 KB (added by mercime, 9 years ago)
  • src/bp-core/classes/class-bp-admin.php

     
    562562
    563563                        <?php self::tab_navigation( __METHOD__ ); ?>
    564564
    565                         <?php if ( self::is_new_install() ) : ?>
     565                        <div class="headline-feature">
     566                                <h3 class="headline-title"><?php esc_html_e( 'Customizable BuddyPress Emails', 'buddypress' ); ?></h3>
    566567
    567                                 <div id="welcome-panel" class="welcome-panel">
    568                                         <div class="welcome-panel-content">
    569                                                 <h3 style="margin:0"><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3>
    570                                                 <div class="welcome-panel-column-container">
    571                                                         <div class="welcome-panel-column">
    572                                                                 <h4><?php _e( 'Configure BuddyPress', 'buddypress' ); ?></h4>
    573                                                                 <ul>
    574                                                                         <li><?php printf(
    575                                                                         '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Set Up Components', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) )
    576                                                                         ); ?></li>
    577                                                                         <li><?php printf(
    578                                                                         '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Assign Components to Pages', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), $this->settings_page ) ) )
    579                                                                         ); ?></li>
    580                                                                         <li><?php printf(
    581                                                                         '<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Customize Settings', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-settings' ), $this->settings_page ) ) )
    582                                                                         ); ?></li>
    583                                                                 </ul>
    584                                                                 <a class="button button-primary button-hero" style="margin-bottom:20px;margin-top:0;" href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) ); ?>"><?php _e( 'Get Started', 'buddypress' ); ?></a>
    585                                                         </div>
    586                                                         <div class="welcome-panel-column">
    587                                                                 <h4><?php _e( 'Administration Tools', 'buddypress' ); ?></h4>
    588                                                                 <ul>
    589                                                                         <?php if ( bp_is_active( 'members' ) ) : ?>
    590                                                                                 <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Add User Profile Fields', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-profile-setup' ), 'users.php' ) ) ) ); ?></li>
    591                                                                         <?php endif; ?>
    592                                                                         <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Manage User Signups', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-signups' ), 'users.php' ) ) ) ); ?></li>
    593                                                                         <?php if ( bp_is_active( 'activity' ) ) : ?>
    594                                                                                 <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Moderate Activity Streams', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-activity' ), 'admin.php' ) ) ) ); ?></li>
    595                                                                         <?php endif; ?>
    596                                                                         <?php if ( bp_is_active( 'groups' ) ) : ?>
    597                                                                                 <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Manage Groups', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-groups' ), 'admin.php' ) ) ) ); ?></li>
    598                                                                         <?php endif; ?>
    599                                                                         <li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Repair Data', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-tools' ), 'tools.php' ) ) ) ); ?>
    600                                                                         </li>
    601                                                                 </ul>
    602                                                         </div>
    603                                                         <div class="welcome-panel-column welcome-panel-last">
    604                                                                 <h4><?php _e( 'Community and Support', 'buddypress'  ); ?></h4>
    605                                                                 <p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Looking for help? The <a href="https://codex.buddypress.org/">BuddyPress Codex</a> has you covered.', 'buddypress' ) ?></p>
    606                                                                 <p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Can&#8217;t find what you need? Stop by <a href="https://buddypress.org/support/">our support forums</a>, where active BuddyPress users and developers are waiting to share tips and more.', 'buddypress' ) ?></p>
    607                                                         </div>
    608                                                 </div>
    609                                         </div>
     568                                <div class="featured-image">
     569                                        <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/bp-email.png' ); ?>" alt="<?php esc_html_e( 'Change colors of the email template using the Customizer.', 'buddypress' ); ?>">
    610570                                </div>
    611571
    612                         <?php endif; ?>
     572                                <p class="introduction"><?php _e( 'Brought to you by the new Email API, an innovative and extensible notification system.', 'buddypress' ); ?>  </p>
     573                                <p><?php _e( 'Edit the content of your emails, create new email templates, or change the colors of the template in the Customizer. These are just a few of the customizations you can make to engage your users and increase their participation in your community using the new Email API.', 'buddypress' ); ?> <a href="https://codex.buddypress.org/emails/"><?php esc_html_e( 'Learn more &rarr;', 'buddypress' ); ?></a></p>
    613574
    614                         <div class="headline-feature">
    615                                 <h3><?php esc_html_e( 'Cover Images For Members And Groups', 'buddypress' ); ?></h3>
    616 
    617                                 <div class="featured-image">
    618                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-cover-image.png' ); ?>" alt="<?php esc_attr_e( 'Cover Images for Members and Groups', 'buddypress' ); ?>" width="843" height="377">
    619                                 </div>
    620                                 <div>
    621                                          <p><?php printf( __( 'Your community can now upload cover photos for their user profiles and groups. <a href="%s">Learn more &rarr;</a>', 'buddypress' ), esc_url( 'https://codex.buddypress.org/themes/buddypress-cover-images/' ) ); ?></p>
    622                                 </div>
    623575                                <div class="clear"></div>
    624 
    625576                        </div>
    626577
    627                         <hr>
     578                        <hr />
    628579
    629                         <div class="feature-section two-col">
    630                                 <div>
    631                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/member-type-field.png' ); ?>" alt="<?php esc_attr_e( 'Profile Field for Member Type', 'buddypress' ); ?>">
    632                                         <h3><?php esc_html_e( 'Profile Fields For Specific Member Types', 'buddypress' ); ?></h3>
    633                                         <p><?php printf( __( 'You can create profile fields which are available to one or more <a href="%s">custom member types</a>.', 'buddypress' ), esc_url( 'https://codex.buddypress.org/developer/member-types/' ) ); ?></p>
     580                        <div class="bp-features-section">
     581
     582                                <div class="feature-section two-col">
     583                                        <div>
     584                                                <h3 class="feature-title"><?php esc_html_e( 'Post Type Comments Tracking', 'buddypress' ); ?></h3>
     585                                                <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/post-type.png' ); ?>" alt="<?php esc_attr_e( 'Registered post types', 'buddypress' ); ?>">
     586                                                <p><?php esc_html_e( 'New Activity functions help you track post type comments in sync with the Blogs component when activated.', 'buddypress' ); ?></p>
     587                                        </div>
     588                                        <div class="last-feature">
     589                                                <h3 class="feature-title"><?php esc_html_e( 'Twenty Twelve Companion Stylesheet', 'buddypress' ); ?></h3>
     590                                                <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/twentytwelve.png' ); ?>" alt="<?php esc_attr_e( 'BuddyPress styles Twenty Twelve', 'buddypress' ); ?>">
     591                                                <p><?php esc_html_e( 'BuddyPress components never looked so fine as they do now in the Twenty Twelve theme.', 'buddypress' ); ?></p>
     592                                        </div>
    634593                                </div>
    635                                 <div class="last-feature">
    636                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/theme-stylesheets.png' ); ?>" alt="<?php esc_attr_e( 'BuddyPress Companion Stylesheets', 'buddypress' ); ?>">
    637                                         <h3><?php esc_html_e( 'More Companion Stylesheets For Themes', 'buddypress' ); ?></h3>
    638                                         <p><?php esc_html_e( 'BuddyPress looks and works better than ever with WordPress theme Twenty Thirteen, and the upcoming Twenty Sixteen.', 'buddypress' ); ?></p>
    639                                 </div>
    640                         </div>
    641594
    642                         <div class="feature-section two-col">
    643                                 <div>
    644                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/group-home-page.png' ); ?>" alt="<?php esc_attr_e( 'Customize your group home page', 'buddypress' ); ?>">
    645                                         <h3><?php esc_html_e( 'Customizable Group Home Page', 'buddypress' ); ?></h3>
    646                                         <p><?php esc_html_e( 'You can customize each and every Group\'s home page by using the new front page template hierarchy.', 'buddypress' ); ?> <a href="https://bpdevel.wordpress.com/2015/10/03/get-ready-2-4-0-will-introduce-important-changes-in-groups-homes/"><?php esc_html_e( 'Learn how &rarr;', 'buddypress' ); ?></a></p>
     595                                <div class="feature-section two-col">
     596                                        <div>
     597                                                <h3 class="feature-title"><?php esc_html_e( 'Support for Emojis', 'buddypress' ); ?></h3>
     598                                                <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/emoji.png' ); ?>" alt="<?php esc_attr_e( 'Fun with Emojies', 'buddypress' ); ?>">
     599                                                <p><?php esc_html_e( 'Have fun and be merry! You can now use Emojis in activity updates, messages, and group descriptions.', 'buddypress' ); ?></p>
     600
     601                                        </div>
     602                                        <div class="last-feature">
     603                                                <h3 class="feature-title"><?php esc_html_e( 'Autolink Settings for Profile Fields', 'buddypress' ); ?></h3>
     604                                                <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/autolink.png' ); ?>" alt="<?php esc_attr_e( 'Autolink settings in the profile fields panel', 'buddypress' ); ?>">
     605                                                <p><?php _e( 'Administrators can enable or disable autolink settings for each new profile field type.', 'buddypress' ); ?></p>
     606                                        </div>
    647607                                </div>
    648                                 <div class="last-feature">
    649                                         <img src="<?php echo esc_url( buddypress()->plugin_url . 'bp-core/admin/images/accessibility.gif' ); ?>" alt="<?php esc_attr_e( 'Accessibility Upgrades', 'buddypress' ); ?>">
    650                                         <h3><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h3>
    651                                         <p><?php _e( 'We\'re making BuddyPress more usable and accessible for everyone, from the frontend templates to the backend admin screens.', 'buddypress' ); ?></p>
    652                                 </div>
    653608
    654609                        </div>
    655610
    656611                        <div class="changelog">
    657                                 <h3><?php esc_html_e( 'Under The Hood', 'buddypress' ); ?></h3>
     612                                <h3 class="changelog-title"><?php esc_html_e( 'Under The Hood', 'buddypress' ); ?></h3>
    658613
    659614                                <div class="feature-section col two-col">
    660615                                        <div>
    661                                                 <h4><?php esc_html_e( 'User Experience', 'buddypress' ); ?></h4>
    662                                                 <p><?php esc_html_e( "Enhancements to the What's New form bring better user experience for your community, and make it easier for developers to add new features.", 'buddypress' ); ?></p>
     616                                                <h4 class="title"><?php esc_html_e( 'Performance Improvements', 'buddypress' ); ?></h4>
     617                                                <p><?php esc_html_e( 'Initial steps taken to switch to autoload decreases memory requirements and improves BuddyPress performance.', 'buddypress' ); ?></p>
     618                                                <h4 class="title"><?php esc_html_e( 'Accessibility Upgrades', 'buddypress' ); ?></h4>
     619                                                <p><?php esc_html_e( 'Continued improvements in the frontend and backend to make BuddyPress usable for everyone.', 'buddypress' ); ?></p>
     620                                        </div>
    663621
    664                                                 <h4><?php esc_html_e( 'Cache Improvements', 'buddypress' ); ?></h4>
    665                                                 <p><?php esc_html_e( 'Continued object and query cache enhancements have been implemented across different components to improve performance.', 'buddypress' ); ?></p>
    666                                         </div>
    667622                                        <div class="last-feature">
    668                                                 <h4><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>
     623                                                <h4 class="title"><?php esc_html_e( 'Activity Stream Enhancements', 'buddypress' ); ?></h4>
     624                                                <p><?php esc_html_e( 'Improved synchronization of the Activity stream with WordPress comments by checking the post\'s comment status.', 'buddypress' ); ?></p>
     625                                                <h4 class="title"><?php esc_html_e( 'Developer Reference', 'buddypress' ); ?></h4>
    669626                                                <p><?php esc_html_e( 'Regular updates to inline code documentation make it easier for developers to understand how BuddyPress works.', 'buddypress' ); ?></p>
    670 
    671                                                 <h4><?php esc_html_e( 'Constant Refinements', 'buddypress' ); ?></h4>
    672                                                 <p><?php esc_html_e( 'The BuddyPress codebase is continuously tested and updated with the latest WordPress enhancements and features.', 'buddypress' ); ?></p>
    673627                                        </div>
    674628                                </div>
     629
    675630                        </div>
    676631
    677632                        <p><?php _ex( 'Learn more:', 'About screen, website links', 'buddypress' ); ?> <a href="https://buddypress.org/blog/"><?php _ex( 'News', 'About screen, link to project blog', 'buddypress' ); ?></a> &bullet; <a href="https://buddypress.org/support/"><?php _ex( 'Support', 'About screen, link to support site', 'buddypress' ); ?></a> &bullet; <a href="https://codex.buddypress.org/"><?php _ex( 'Documentation', 'About screen, link to documentation', 'buddypress' ); ?></a> &bullet; <a href="https://bpdevel.wordpress.com/"><?php _ex( 'Development Blog', 'About screen, link to development blog', 'buddypress' ); ?></a></p>
     633
    678634                        <p><?php _ex( 'Twitter:', 'official Twitter accounts:', 'buddypress' ); ?> <a href="https://twitter.com/buddypress/"><?php _ex( 'BuddyPress', '@buddypress twitter account name', 'buddypress' ); ?></a> &bullet; <a href="https://twitter.com/bptrac/"><?php _ex( 'Trac', '@bptrac twitter account name', 'buddypress' ); ?></a> &bullet; <a href="https://twitter.com/buddypressdev/"><?php _ex( 'Development', '@buddypressdev twitter account name', 'buddypress' ); ?></a></p>
    679635
    680636                </div>