Plugin Directory

Changeset 3478633


Ignore:
Timestamp:
03/10/2026 12:06:23 AM (3 weeks ago)
Author:
phppoet
Message:

Update codebase of 3.8.7

Location:
customize-my-account-for-woocommerce
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • customize-my-account-for-woocommerce/tags/3.8.7/assets/css/admin.css

    r3478598 r3478633  
    169169input#wcmamtx_reset_tabs_button {
    170170  float: right;
    171   margin-right: 40px;
     171  margin-right: 20px;
    172172}
    173173
     
    645645    display: none;
    646646}
     647input#wcmamtx_bulk_actions_button {
     648    float: right;
     649    margin-right: 20px;
     650}
     651
     652button.btn.btn-secondary.bulk.apply {
     653    float: right;
     654    background: #468446;
     655}
     656select.wcmamtx_bulk_action_select{
     657    /* float: right; */
     658    width: 100%;
     659    min-width: 100%;
     660}
  • customize-my-account-for-woocommerce/tags/3.8.7/assets/js/admin.js

    r3455183 r3478633  
    132132          this.checked = !this.checked;
    133133      }.bind(this), 100);
     134    });
     135
     136    $var(".wcmamtx_bulk_action_select_apply").on('click',function() {
     137
     138        var action_chosen = $var(".wcmamtx_bulk_action_select").val();
     139
     140        if (action_chosen == null) {
     141            alert(wcmamtxadmin.chosebulkaction);
     142        } else {
     143            switch(action_chosen) {
     144
     145                case "01":
     146
     147                    $var('.wcmamtx_color_input').wpColorPicker('color', '#e9e9ef');
     148                    alert(wcmamtxadmin.firstsucess);
     149                       
     150                    $var("#wcmamtx_bulk_modal").modal('hide');
     151
     152                break;
     153
     154                case "02":
     155
     156                    $var('.wcmamtx_color_input_font').wpColorPicker('color', '#334155');
     157                    alert(wcmamtxadmin.firstsucess);
     158                       
     159                    $var("#wcmamtx_bulk_modal").modal('hide');
     160
     161                break;
     162
     163            }
     164
     165
     166        }
     167
     168        return false;
    134169    });
    135170
  • customize-my-account-for-woocommerce/tags/3.8.7/customize-my-account-for-woocommerce.php

    r3478598 r3478633  
    44    Plugin URI: https://sysbasics.com
    55    Description: Customize My account page. Add/Edit/Remove Endpoints.
    6     Version: 3.8.6
     6    Version: 3.8.7
    77    Author: SysBasics
    88    Author URI: https://sysbasics.com
  • customize-my-account-for-woocommerce/tags/3.8.7/include/admin/admin_settings.php

    r3466143 r3478633  
    560560                'uploadimage'           => esc_html__( 'Choose an image' ,'customize-my-account-for-woocommerce'),
    561561                'useimage'              => esc_html__( 'Use Image' ,'customize-my-account-for-woocommerce'),
    562                 'placeholder'           => wcmamtx_placeholder_img_src()
     562                'placeholder'           => wcmamtx_placeholder_img_src(),
     563                'chosebulkaction'       => esc_html__( 'No Action Selected' ,'customize-my-account-for-woocommerce'),
     564                'firstsucess'       => esc_html__( 'Bulk Action Applied to all sucessfully.Make sure to save changes.' ,'customize-my-account-for-woocommerce'),
    563565               
    564566            );
     
    881883                        <?php if (isset($current_tab) && ($current_tab == "wcmamtx_advanced_settings") && ($current_tab != "wcmamtx_wizard_settings")) { ?>
    882884
     885                            <input type="button" href="#" data-toggle="modal" data-target="#wcmamtx_bulk_modal" name="submit" id="wcmamtx_bulk_actions_button" class="btn-sm btn btn-dark wcmamtx_bulk_actions_button" value="<?php echo esc_html__( 'Bulk Actions' ,'customize-my-account-for-woocommerce'); ?>">
     886
    883887                            <input type="button" href="#" name="submit" id="wcmamtx_reset_tabs_button" class="btn-sm btn btn-danger wcmamtx_reset_tabs_button" value="<?php echo esc_html__( 'Restore Default' ,'customize-my-account-for-woocommerce'); ?>">
    884888                           
     
    934938               
    935939            </form>
     940
     941            <div class="modal fade" id="wcmamtx_bulk_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
     942                <div class="modal-dialog" role="document">
     943                    <div class="modal-content">
     944
     945                        <div class="modal-body">
     946                           
     947                            <select class="wcmamtx_bulk_action_select">
     948                                <option disabled selected value><?php echo esc_html__( 'Choose Action' ,'customize-my-account-for-woocommerce'); ?></option>
     949                                <option value="01"><?php echo esc_html__( 'Restore Default Background Color to all Dashboard Links' ,'customize-my-account-for-woocommerce'); ?></option>
     950                                <option value="02"><?php echo esc_html__( 'Restore Default Font Color to all Dashboard Links' ,'customize-my-account-for-woocommerce'); ?></option>
     951                            </select>
     952
     953                           
     954                        </div>
     955                        <div class="modal-footer">
     956
     957                            <button type="button" class="btn btn-secondary bulk apply wcmamtx_bulk_action_select_apply"><?php echo esc_html__( 'Apply' ,'customize-my-account-for-woocommerce'); ?></button>
     958
     959                            <button type="button" class="btn btn-secondary bulk" data-dismiss="modal"><?php echo esc_html__( 'Close' ,'customize-my-account-for-woocommerce'); ?></button>
     960
     961                        </div>
     962                    </div>
     963                </div>
     964            </div>
    936965
    937966            <div class="modal fade" id="wcmamtx_example_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  • customize-my-account-for-woocommerce/tags/3.8.7/readme.txt

    r3478598 r3478633  
    77WC Requires at least: 4.0
    88Requires PHP: 5.2
    9 Stable tag: 3.8.6
     9Stable tag: 3.8.7
    1010Requires Plugins: woocommerce
    1111License: GPLv2 or later
  • customize-my-account-for-woocommerce/trunk/assets/css/admin.css

    r3478598 r3478633  
    169169input#wcmamtx_reset_tabs_button {
    170170  float: right;
    171   margin-right: 40px;
     171  margin-right: 20px;
    172172}
    173173
     
    645645    display: none;
    646646}
     647input#wcmamtx_bulk_actions_button {
     648    float: right;
     649    margin-right: 20px;
     650}
     651
     652button.btn.btn-secondary.bulk.apply {
     653    float: right;
     654    background: #468446;
     655}
     656select.wcmamtx_bulk_action_select{
     657    /* float: right; */
     658    width: 100%;
     659    min-width: 100%;
     660}
  • customize-my-account-for-woocommerce/trunk/assets/js/admin.js

    r3455183 r3478633  
    132132          this.checked = !this.checked;
    133133      }.bind(this), 100);
     134    });
     135
     136    $var(".wcmamtx_bulk_action_select_apply").on('click',function() {
     137
     138        var action_chosen = $var(".wcmamtx_bulk_action_select").val();
     139
     140        if (action_chosen == null) {
     141            alert(wcmamtxadmin.chosebulkaction);
     142        } else {
     143            switch(action_chosen) {
     144
     145                case "01":
     146
     147                    $var('.wcmamtx_color_input').wpColorPicker('color', '#e9e9ef');
     148                    alert(wcmamtxadmin.firstsucess);
     149                       
     150                    $var("#wcmamtx_bulk_modal").modal('hide');
     151
     152                break;
     153
     154                case "02":
     155
     156                    $var('.wcmamtx_color_input_font').wpColorPicker('color', '#334155');
     157                    alert(wcmamtxadmin.firstsucess);
     158                       
     159                    $var("#wcmamtx_bulk_modal").modal('hide');
     160
     161                break;
     162
     163            }
     164
     165
     166        }
     167
     168        return false;
    134169    });
    135170
  • customize-my-account-for-woocommerce/trunk/customize-my-account-for-woocommerce.php

    r3478598 r3478633  
    44    Plugin URI: https://sysbasics.com
    55    Description: Customize My account page. Add/Edit/Remove Endpoints.
    6     Version: 3.8.6
     6    Version: 3.8.7
    77    Author: SysBasics
    88    Author URI: https://sysbasics.com
  • customize-my-account-for-woocommerce/trunk/include/admin/admin_settings.php

    r3466143 r3478633  
    560560                'uploadimage'           => esc_html__( 'Choose an image' ,'customize-my-account-for-woocommerce'),
    561561                'useimage'              => esc_html__( 'Use Image' ,'customize-my-account-for-woocommerce'),
    562                 'placeholder'           => wcmamtx_placeholder_img_src()
     562                'placeholder'           => wcmamtx_placeholder_img_src(),
     563                'chosebulkaction'       => esc_html__( 'No Action Selected' ,'customize-my-account-for-woocommerce'),
     564                'firstsucess'       => esc_html__( 'Bulk Action Applied to all sucessfully.Make sure to save changes.' ,'customize-my-account-for-woocommerce'),
    563565               
    564566            );
     
    881883                        <?php if (isset($current_tab) && ($current_tab == "wcmamtx_advanced_settings") && ($current_tab != "wcmamtx_wizard_settings")) { ?>
    882884
     885                            <input type="button" href="#" data-toggle="modal" data-target="#wcmamtx_bulk_modal" name="submit" id="wcmamtx_bulk_actions_button" class="btn-sm btn btn-dark wcmamtx_bulk_actions_button" value="<?php echo esc_html__( 'Bulk Actions' ,'customize-my-account-for-woocommerce'); ?>">
     886
    883887                            <input type="button" href="#" name="submit" id="wcmamtx_reset_tabs_button" class="btn-sm btn btn-danger wcmamtx_reset_tabs_button" value="<?php echo esc_html__( 'Restore Default' ,'customize-my-account-for-woocommerce'); ?>">
    884888                           
     
    934938               
    935939            </form>
     940
     941            <div class="modal fade" id="wcmamtx_bulk_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
     942                <div class="modal-dialog" role="document">
     943                    <div class="modal-content">
     944
     945                        <div class="modal-body">
     946                           
     947                            <select class="wcmamtx_bulk_action_select">
     948                                <option disabled selected value><?php echo esc_html__( 'Choose Action' ,'customize-my-account-for-woocommerce'); ?></option>
     949                                <option value="01"><?php echo esc_html__( 'Restore Default Background Color to all Dashboard Links' ,'customize-my-account-for-woocommerce'); ?></option>
     950                                <option value="02"><?php echo esc_html__( 'Restore Default Font Color to all Dashboard Links' ,'customize-my-account-for-woocommerce'); ?></option>
     951                            </select>
     952
     953                           
     954                        </div>
     955                        <div class="modal-footer">
     956
     957                            <button type="button" class="btn btn-secondary bulk apply wcmamtx_bulk_action_select_apply"><?php echo esc_html__( 'Apply' ,'customize-my-account-for-woocommerce'); ?></button>
     958
     959                            <button type="button" class="btn btn-secondary bulk" data-dismiss="modal"><?php echo esc_html__( 'Close' ,'customize-my-account-for-woocommerce'); ?></button>
     960
     961                        </div>
     962                    </div>
     963                </div>
     964            </div>
    936965
    937966            <div class="modal fade" id="wcmamtx_example_modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  • customize-my-account-for-woocommerce/trunk/readme.txt

    r3478598 r3478633  
    77WC Requires at least: 4.0
    88Requires PHP: 5.2
    9 Stable tag: 3.8.6
     9Stable tag: 3.8.7
    1010Requires Plugins: woocommerce
    1111License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.