Plugin Directory

Changeset 1700939


Ignore:
Timestamp:
07/23/2017 06:18:09 AM (9 years ago)
Author:
oldcwj
Message:

update version to 1.2.1

Location:
wpapper/trunk
Files:
5 added
7 edited

Legend:

Unmodified
Added
Removed
  • wpapper/trunk/admin/admin_model.class.php

    r1696662 r1700939  
    128128        $data['opt_url'] = admin_url( "admin.php?page=$wpapper_page_alias&action=style");       //返回链接
    129129
     130        $data['style_setting_url'] = wpapper_get_plugin_site_base()."/admin/img/style_setting.png";
     131        $data['list_url'] = wpapper_get_plugin_site_base()."/admin/img/list.png";
     132        $data['one_column_url'] = wpapper_get_plugin_site_base()."/admin/img/one_column_grid.png";
     133        $data['two_column_grid_url'] = wpapper_get_plugin_site_base()."/admin/img/two_column_grid.png";
     134        $data['two_staggered_url'] = wpapper_get_plugin_site_base()."/admin/img/two_staggered_column.png";
     135
    130136        return $data;
    131137    }
  • wpapper/trunk/admin/js/uz/mobile_style.js

    r1700300 r1700939  
    1919            set_value("title_bar_color",_wpapper_obj.title_bar_color);
    2020            set_value("sliding_menu_color",_wpapper_obj.sliding_menu_color);
     21
     22            $("#style_setting_img").attr('src',_wpapper_obj.style_setting_url);
     23            $("#list_img").attr('src',_wpapper_obj.list_url);
     24            $("#one_column_img").attr('src',_wpapper_obj.one_column_url);
     25            $("#two_column_img").attr('src',_wpapper_obj.two_column_grid_url);
     26            $("#two_staggered_img").attr('src',_wpapper_obj.two_staggered_url);
    2127        };
    2228
  • wpapper/trunk/admin/views/admin_main.tpl

    r1694899 r1700939  
    108108                <tbody>
    109109                <tr class="active" id="app_style">
    110                     <td class="plugin-title"><strong>App Style</strong>
     110                    <td class="plugin-title"><strong>App Theme Settings</strong>
    111111                        <div class="row-actions visible">
    112112                            <a class="tpl-link" href="javascript:;">Setting</a>
  • wpapper/trunk/admin/views/admin_style.tpl

    r1700300 r1700939  
    1010<div class="wrap control-section wp-admin wp-core-ui js  nav-menus-php auto-fold admin-bar branch-4-2 version-4-2-2 admin-color-fresh locale-zh-cn customize-support svg menu-max-depth-0" id="wpbody-content">
    1111    <div id="uz">
    12         <h2>Set the native app style</h2><h3>(You do not need to regenerate the app)</h3>
     12        <h2>Set the native app theme(You do not need to regenerate the app)</h2>
    1313    </div>
    1414    <div class="clear"></div>
    1515    <br/>
    1616    <br/>
     17    <div id="poststuff">
     18        <table class="tb tb2" border="1px solid #151515;" cellspacing="0">
     19            <tr>
     20                <td width='180'>Title bar color:</td>
     21                <td width='186'><input id='title_bar_color' value="#ffffff" class="jscolor {hash:true}" style="width:100%"/></td>
     22                <td rowspan="2">
     23                    <img id="style_setting_img" src='' style='width:180px;height:320px;'/>
     24                </td>
     25            </tr>
    1726
    18   <table class="tb tb2">
    19     <tr>
    20       <td width='180'>List style:</td>
    21       <td width='186'>
    22         <select id="list_style">
    23             <option value="1">1:List</option>
    24             <option value="2">2:One Column Grid</option>
    25             <option value="3">3:Two Column Grid</option>
    26             <option value="4">4:Two Staggered Column</option>
    27         </select>
    28       </td>
    29     </tr>
     27            <tr>
     28                <td width='180'>Sliding menu color:</td>
     29                <td width='186'><input id='sliding_menu_color' value="#000000" class="jscolor {hash:true}" style="width:100%"/></td>
     30            </tr>
    3031
    31       <tr>
    32           <td width='180'>Title bar color:</td>
    33           <td width='186'><input id='title_bar_color' value="#ffffff" class="jscolor {hash:true}" style="width:100%"/></td>
    34       </tr>
     32            <tr>
     33                <td width='180' >List style:</td>
     34                <td width='186' >
     35                    <select id="list_style">
     36                        <option value="1">1:List</option>
     37                        <option value="2">2:One Column Grid</option>
     38                        <option value="3">3:Two Column Grid</option>
     39                        <option value="4">4:Two Staggered Column</option>
     40                    </select>
     41                </td>
     42                <td >
     43                    <img id="list_img" src='' style='width:120px;height:210px;'/>
     44                    <img id="one_column_img" src='' style='width:120px;height:210px;'/>
     45                    <img id="two_column_img" src='' style='width:120px;height:210px;'/>
     46                    <img id="two_staggered_img" src='' style='width:120px;height:210px;'/>
     47                </td>
     48            </tr>
    3549
    36       <tr>
    37           <td width='180'>Sliding menu color:</td>
    38           <td width='186'><input id='sliding_menu_color' value="#000000" class="jscolor {hash:true}" style="width:100%"/></td>
    39       </tr>
    40     <tr>
    41       <td colspan="3">
    42         <input type="button" id='subbtn' class="button button-primary" style='padding:2px 8px;' value="Submit"/>
    43       </td>
    44     </tr>
    45   </table>
     50            <tr>
     51                <td colspan="3">
     52                    <input type="button" id='subbtn' class="button button-primary" style='padding:2px 8px;' value="Submit"/>
     53                </td>
     54            </tr>
     55        </table>
     56    </div>
    4657  </div>
    4758
  • wpapper/trunk/admin/wpapper-admin.class.php

    r1699395 r1700939  
    265265        add_submenu_page( $bigapp_page_alias, 'Send Push Msg', 'Send Push Msg', 'manage_options', 'display_wpapper_admin_send_notification_page',
    266266            array("WpApperAdmin", 'display_wpapper_admin_send_notification_page'));
    267         add_submenu_page( $bigapp_page_alias, 'Style', 'Style', 'manage_options', 'display_wpapper_admin_style_page',
     267        add_submenu_page( $bigapp_page_alias, 'App Theme Settings', 'App Theme Settings', 'manage_options', 'display_wpapper_admin_style_page',
    268268            array("WpApperAdmin", 'display_wpapper_admin_style_page'));
    269269    }
  • wpapper/trunk/readme.txt

    r1699395 r1700939  
    66Requires at least:3.4
    77Tested up to: 4.8
    8 Stable tag: 1.2.0
     8Stable tag: 1.2.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • wpapper/trunk/wpapper.php

    r1699395 r1700939  
    33 * Plugin Name: WpApper
    44 * Description: Create native app(Android & iOS). The wordpress plugin for Wpapper
    5  * Version: 1.2.0
     5 * Version: 1.2.1
    66 * Author: WpApper
    77 * Author URI: http://wpapper.com/
     
    2525
    2626*/
    27 define( 'WPAPPER_APP_VERSION', '1.2.0' );
    28 define( 'WPAPPER_INNER_VERSION', '8' );
    29 define( 'WPAPPER_LAST_MODIFICATION', ' 2017-07-20 11:30' );
     27define( 'WPAPPER_APP_VERSION', '1.2.1' );
     28define( 'WPAPPER_INNER_VERSION', '9' );
     29define( 'WPAPPER_LAST_MODIFICATION', ' 2017-07-23 11:30' );
    3030define( 'WPAPPER_API_VERSION', '1' );
    3131define( 'WPAPPER_MINIMUM_WP_VERSION','3.5' );
Note: See TracChangeset for help on using the changeset viewer.