Plugin Directory

Changeset 1225681


Ignore:
Timestamp:
08/19/2015 11:18:44 PM (11 years ago)
Author:
fdoromo
Message:

tags/2.8

Location:
wp-mobile-edition
Files:
156 added
2 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • wp-mobile-edition/trunk/admin/class-public.php

    r1221790 r1225681  
    11<?php
    22class WP_Mobile_Edition {
    3     const VERSION               = '2.7';  //
     3    const VERSION               = '2.8';  //
    44    const PHP_MIN               = '5.0';  //
    55    const WP_MIN                = '3.0';  //
     
    9696//carrega configurações padrao
    9797self::fdx_switcher_activate();
    98 
    99 //---------------
    100 self::fdx_insert_post();
    10198
    10299//grava mensagem de inicio
     
    671668}
    672669
    673 /*
    674 |--------------------------------------------------------------------------
    675 | SETUP - Insert page
    676 |--------------------------------------------------------------------------
    677 */
    678 Public static function fdx_insert_post() {
    679 // Create post object
    680 $my_post1 = array(
    681   'post_title'    => '*WP Mobile Edition (Contact)',
    682   'post_name'     => 'fdx-contact',
    683   'post_content'  => __('This page is required for plugin WP Mobile Edition.', 'wp-mobile-edition'),
    684   'post_status'   => 'publish',
    685   'post_type'     => 'page'
    686 );
    687 
    688 $my_post2 = array(
    689   'post_title'    => '*WP Mobile Edition (Blog Index)',
    690   'post_name'     => 'fdx-index',
    691   'post_content'  => __('This page is required for plugin WP Mobile Edition.', 'wp-mobile-edition'),
    692   'post_status'   => 'publish',
    693   'post_type'     => 'page'
    694 );
    695 
    696 $page_exists1 = get_page_by_title( $my_post1['post_title'] );
    697 $page_exists2 = get_page_by_title( $my_post2['post_title'] );
    698 
    699 if( $page_exists1 == null ) {
    700 // Insert the post into the database
    701 wp_insert_post( $my_post1 );
    702 }
    703 
    704 if( $page_exists2 == null ) {
    705 wp_insert_post( $my_post2 );
    706 }
    707 }
    708670
    709671/*
  • wp-mobile-edition/trunk/admin/includes/mobile_themes/mTheme-Unus/header.php

    r1178683 r1225681  
    7575<li class="fdx_searchlink"><a href="#"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/search.png" border="0" alt="" width="26" height="26"/></a></li>
    7676<?php } if ( fdx_option('p3_check_t5') ){ ?>
    77 <li class="fdx_home2"><a href="<?php echo home_url('/fdx-index/'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/blog.png" border="0" alt="" width="26" height="26"/></a></li>
     77<li class="fdx_home2"><a href="<?php echo home_url('?fdxvar1=index'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/blog.png" border="0" alt="" width="26" height="26"/></a></li>
    7878<?php }  if ( fdx_option('p3_check_t4') ){ ?>
    79 <li style="padding-top: 6px;"><a href="<?php echo home_url('/fdx-contact/'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/mail.png" border="0" alt="" width="26" height="26"/></a></li>
     79<li style="padding-top: 6px;"><a href="<?php echo home_url('?fdxvar1=contact'); ?>"><img src="<?php bloginfo('stylesheet_directory'); ?>/images/icons/mail.png" border="0" alt="" width="26" height="26"/></a></li>
    8080<?php } ?>
    8181
  • wp-mobile-edition/trunk/admin/includes/mobile_themes/mTheme-Unus/index.php

    r911953 r1225681  
    1 <?php get_header(); ?>
     1<?php
     2// ?fdxvar1=contact
     3$queryURL = parse_url( html_entity_decode( esc_url( add_query_arg( $arr_params ) ) ) );
     4parse_str( $queryURL['query'], $getVar );
     5$variableNum1 = $getVar['fdxvar1'];
     6
     7//---------------------------------------
     8if ($variableNum1 == 'contact') {
     9
     10get_template_part('inc/p-contact');
     11
     12//---------------------------------------
     13} else if ($variableNum1 == 'index') {
     14
     15get_template_part('inc/p-index');
     16
     17} else {
     18
     19get_header();
     20?>
    221<div class="fdx_topheading">&nbsp;</div>
    322<?php
     
    726get_template_part('inc/index-blog');
    827}
     28
    929get_footer();
     30
     31 }//end
     32
    1033?>
    1134
  • wp-mobile-edition/trunk/readme.txt

    r1221797 r1225681  
    66Requires at least: 3.0
    77Tested up to: 4.2
    8 Stable tag: 2.7
     8Stable tag: 2.8
    99License: GPLv2 or later
    1010
     
    108108
    109109== Changelog ==
     110* 2.8
     111   * IMPROVED - Contact and Index Page
     112
     113
    110114* 2.7
    111115   * IMPROVED - Chinese (China) **(zh_CN)** Language pack added (thanks to jjtang)
     
    213217== Upgrade Notice ==
    214218
    215 = 2.7 =
     219= 2.8 =
    216220IMPORTANT: After upgrade, Deactivate and Activate the plugin to update the files of mobile theme.
    217221
  • wp-mobile-edition/trunk/wp-mobile-edition.php

    r1221790 r1225681  
    44 * Plugin URI: http://wordpress.org/extend/plugins/wp-mobile-edition
    55 * Description: Is a complete toolkit to mobilize your WordPress site. It has a mobile switcher and Mobile themes.
    6  * Version: 2.7
     6 * Version: 2.8
    77 * Author: Fabrix DoRoMo
    88 * Author URI: http://fabrix.net
Note: See TracChangeset for help on using the changeset viewer.