Plugin Directory

Changeset 1699394


Ignore:
Timestamp:
07/20/2017 07:22:27 AM (8 years ago)
Author:
allan.empalmado
Message:

Applied changes as suggested by casiepa and xkon to make translation working

Location:
ae-admin-customizer/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ae-admin-customizer/trunk/ae-admin-customizer.php

    r1699372 r1699394  
    33* @package AE Admin Customizer
    44* @version 1.0.2
     5*
    56* Plugin Name: AE Admin Customizer
    67* Plugin URI: https://wordpress.org/plugins/ae-admin-customizer/
     
    2425// Plugin version
    2526if ( ! defined( 'AE_ADMIN_CUSTOMIZER_VERSION' ) ) {
    26   define( 'AE_ADMIN_CUSTOMIZER_VERSION', '1.0.1' );
     27  define( 'AE_ADMIN_CUSTOMIZER_VERSION', '1.0.2' );
    2728}
    2829
     
    5152
    5253
     54function ae_admin_customizer_load_textdomain()
     55{
     56    load_plugin_textdomain( 'ae-admin-customizer', false, basename( dirname( __FILE__ ) ) . '/lang' );
     57}
     58add_action('plugins_loaded', 'ae_admin_customizer_load_textdomain');
    5359
    54 
  • ae-admin-customizer/trunk/inc/ae-admin-customizer-settings-class.php

    r1699349 r1699394  
    7979                <form method="post" action="options.php">
    8080                <h2 class="nav-tab-wrapper">
    81                 <a href="<?php echo AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE; ?>" class="nav-tab<?php if ( ! isset( $_GET['tab'] ) || isset( $_GET['tab'] ) && 'admin-panel-styling' != $_GET['tab']  && 'login-registration-styling' != $_GET['tab']  && 'custom-css' != $_GET['tab'] )   echo ' nav-tab-active'; ?>"><?php esc_html_e( 'General' ); ?></a>
    82                 <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'admin-panel-styling' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $ae_color_options ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Admin Panel Styling' ); ?></a>
    83                 <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'login-registration-styling' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $ae_logreg_options ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Login & Registration Styling' ); ?></a>       
    84                 <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'custom-css' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $ae_custom_css_options ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Custom CSS' ); ?></a>   
    85                 <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'support' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $support_tab ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Support' ); ?></a>   
     81                <a href="<?php echo AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE; ?>" class="nav-tab<?php if ( ! isset( $_GET['tab'] ) || isset( $_GET['tab'] ) && 'admin-panel-styling' != $_GET['tab']  && 'login-registration-styling' != $_GET['tab']  && 'custom-css' != $_GET['tab'] )   echo ' nav-tab-active'; ?>"><?php esc_html_e( 'General', 'ae-admin-customizer' ); ?></a>
     82                <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'admin-panel-styling' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $ae_color_options ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Admin Panel Styling', 'ae-admin-customizer' ); ?></a>
     83                <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'login-registration-styling' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $ae_logreg_options ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Login & Registration Styling', 'ae-admin-customizer' ); ?></a>       
     84                <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'custom-css' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $ae_custom_css_options ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Custom CSS', 'ae-admin-customizer' ); ?></a>   
     85                <a href="<?php echo esc_url( add_query_arg( array( 'tab' => 'support' ), AE_ADMIN_CUSTOMIZER_PLUGIN_PAGE ) ); ?>" class="nav-tab<?php if ( $support_tab ) echo ' nav-tab-active'; ?>"><?php esc_html_e( 'Support', 'ae-admin-customizer' ); ?></a>   
    8686            </h2>
    8787                <?php
     
    111111                    <h1><?php echo __("Do you like AE Admin Customizer?", "ae-admin-customizer"); ?></h1>
    112112                </div>
    113                 <h3><?php echo __("Support us by rating our plugin.","ae-admin-customizer"); ?></h3>
    114                 <p><?php echo __("Rate AE Admin Customizer:","ae-admin-customizer"); ?>
     113                <h3><?php echo __("Support us by rating our plugin.", "ae-admin-customizer"); ?></h3>
     114                <p><?php echo __("Rate AE Admin Customizer:", "ae-admin-customizer"); ?>
    115115                    <a href="https://wordpress.org/support/plugin/ae-admin-customizer/reviews?rate=5#new-post" target="_blank">
    116116                        <span class="dashicons dashicons-star-filled"></span>
  • ae-admin-customizer/trunk/readme.txt

    r1699386 r1699394  
    1515Now you can customize the Login/Registration Page with Live Preview using wordpress Customizer feature.
    1616
    17 Get In touch with us and the rest of the team. 
     17Get In touch with us and the rest of the team.
    1818[Facebook Page](https://www.facebook.com/appdevph/)
    1919[FB Messenger](https://www.messenger.com/t/appdevph)
     
    27272. Search for 'AE Admin Customizer'
    28283. Activate 'AE Admin Customizer' from your Plugins page.
    29 4. Enjoy!
    3029
    3130MANUAL INSTALLATION
     
    33321. Upload `ae-admin-customizer` folder to the `/wp-content/plugins/` directory.
    34332. Activate the plugin through the 'Plugins' menu in WordPress.
    35 3. Enjoy!
    3634
    3735== Frequently Asked Questions ==
Note: See TracChangeset for help on using the changeset viewer.