Plugin Directory

Changeset 3338579


Ignore:
Timestamp:
08/03/2025 06:36:08 PM (8 months ago)
Author:
wppluginboxdev
Message:

update fixes 5.1

Location:
stylish-google-sheet-reader
Files:
2 added
9 edited

Legend:

Unmodified
Added
Removed
  • stylish-google-sheet-reader/tags/5.0/Pages/create_new_sheet.php

    r3338289 r3338579  
    309309if ( isset($_GET['edit_sgsr']) ) {
    310310    global $sgsr_table_info;
     311    $sheet_id = 'https://docs.google.com/spreadsheets/d/';
    311312    foreach ( $sgsr_table_info as $name => $val ) {
    312313        $name = trim($name);
    313314        $val = trim($val);
     315
     316        if($name == "sheet_id"){$sheet_id .= $val;}
    314317        ?>
    315318        sgsr_set_field_defaults(
     
    320323    }
    321324
     325    ?>
     326    sgsr_set_field_defaults("sgsr-sheet", "<?php echo esc_js($sheet_id); ?>");
     327    <?php
     328
     329    //
     330
     331
    322332    echo "enable_sgsr_update_btn();";
    323333}
    324334?>
    325 
    326335
    327336});
  • stylish-google-sheet-reader/tags/5.0/functions-admin.php

    r3338291 r3338579  
    4646function sgsr_subscription() {include 'Pages/subscription.php';}
    4747function sgsr_support() {include 'Pages/support.php';}
     48function sgsr_examples() {include 'Pages/examples.php';}
    4849
    4950
     
    6768  // add_submenu_page ( 'main_menu_sgsr', 'sgsr_templates', 'Templates', 'manage_options','sgsr_templates' ,'sgsr_templates', '');
    6869 
     70  add_submenu_page ( 'main_menu_sgsr', 'View Examples', "View Examples <i class=\"fas fa-stars\" style=\"color:red;\"></i>", 'manage_options','sgsr_examples' ,'sgsr_examples', '');
    6971
    7072    add_submenu_page ( 'main_menu_sgsr', 'Subscription', $sub_tab_title, 'manage_options','sgsr_subscription' ,'sgsr_subscription', '');
  • stylish-google-sheet-reader/tags/5.0/index.php

    r3338275 r3338579  
    1 <?php // wppluginbox.com ?>
     1<?php // powered by wppluginbox.com ?>
  • stylish-google-sheet-reader/tags/5.0/lib/table.php

    r3338275 r3338579  
    3131<div class="sgsr-render-error"></div>
    3232<div><p class="sgsr-refresh sgsr-flash"><i class="fas fa-sync-alt"></i> Refreshing</p></div>
     33<div class="sgsr-mob-msg"><p class="sgsr-swipe">Swipe sideways to see full table <i class="fas fa-arrows-alt-h"></i></p></div>
    3334<div class="searc-box"><input type="text" class="searchInput" placeholder="Search..."></div>
    3435<div class="sgsr-responsivess" sgsr-card="0" sgsr-tab-div="1">
  • stylish-google-sheet-reader/tags/5.0/production/client.css

    r3338446 r3338579  
    391391    display: revert;
    392392}
     393
     394
     395[sgsr-tab-section="1"] .sgsr-mob-msg p.sgsr-swipe{
     396    display: none;
     397}
     398
     399@media screen and (max-width: 600px) {
     400[sgsr-tab-section="1"] .sgsr-mob-msg p.sgsr-swipe{
     401    display: block;
     402    text-align: center;
     403    text-decoration: underline;
     404}
     405}
     406
    393407/* ======= End: options.css ======= */
  • stylish-google-sheet-reader/trunk/Pages/create_new_sheet.php

    r3338289 r3338579  
    309309if ( isset($_GET['edit_sgsr']) ) {
    310310    global $sgsr_table_info;
     311    $sheet_id = 'https://docs.google.com/spreadsheets/d/';
    311312    foreach ( $sgsr_table_info as $name => $val ) {
    312313        $name = trim($name);
    313314        $val = trim($val);
     315
     316        if($name == "sheet_id"){$sheet_id .= $val;}
    314317        ?>
    315318        sgsr_set_field_defaults(
     
    320323    }
    321324
     325    ?>
     326    sgsr_set_field_defaults("sgsr-sheet", "<?php echo esc_js($sheet_id); ?>");
     327    <?php
     328
     329    //
     330
     331
    322332    echo "enable_sgsr_update_btn();";
    323333}
    324334?>
    325 
    326335
    327336});
  • stylish-google-sheet-reader/trunk/functions-admin.php

    r3338291 r3338579  
    4646function sgsr_subscription() {include 'Pages/subscription.php';}
    4747function sgsr_support() {include 'Pages/support.php';}
     48function sgsr_examples() {include 'Pages/examples.php';}
    4849
    4950
     
    6768  // add_submenu_page ( 'main_menu_sgsr', 'sgsr_templates', 'Templates', 'manage_options','sgsr_templates' ,'sgsr_templates', '');
    6869 
     70  add_submenu_page ( 'main_menu_sgsr', 'View Examples', "View Examples <i class=\"fas fa-stars\" style=\"color:red;\"></i>", 'manage_options','sgsr_examples' ,'sgsr_examples', '');
    6971
    7072    add_submenu_page ( 'main_menu_sgsr', 'Subscription', $sub_tab_title, 'manage_options','sgsr_subscription' ,'sgsr_subscription', '');
  • stylish-google-sheet-reader/trunk/lib/table.php

    r3338436 r3338579  
    3131<div class="sgsr-render-error"></div>
    3232<div><p class="sgsr-refresh sgsr-flash"><i class="fas fa-sync-alt"></i> Refreshing</p></div>
     33<div class="sgsr-mob-msg"><p class="sgsr-swipe">Swipe sideways to see full table <i class="fas fa-arrows-alt-h"></i></p></div>
    3334<div class="searc-box"><input type="text" class="searchInput" placeholder="Search..."></div>
    3435<div class="sgsr-responsivess" sgsr-card="0" sgsr-tab-div="1">
  • stylish-google-sheet-reader/trunk/production/client.css

    r3338446 r3338579  
    391391    display: revert;
    392392}
     393
     394
     395[sgsr-tab-section="1"] .sgsr-mob-msg p.sgsr-swipe{
     396    display: none;
     397}
     398
     399@media screen and (max-width: 600px) {
     400[sgsr-tab-section="1"] .sgsr-mob-msg p.sgsr-swipe{
     401    display: block;
     402    text-align: center;
     403    text-decoration: underline;
     404}
     405}
     406
    393407/* ======= End: options.css ======= */
Note: See TracChangeset for help on using the changeset viewer.