Plugin Directory

Changeset 1297618


Ignore:
Timestamp:
11/30/2015 06:55:06 PM (10 years ago)
Author:
imforza
Message:

1.3.5

  • New notice for site backups
Location:
imforza-news/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • imforza-news/trunk/admin/dashboard.php

    r1293661 r1297618  
    153153}
    154154
     155
     156
     157/* Prompt all users if backup file is available */
     158function imforza_site_backup_notice() {
     159
     160
     161    $client_details = get_option('imforza_client_details');
     162
     163
     164    if ( !empty($client_details['last_backup_url']) != '' ) {
     165    ?>
     166
     167 <div class="update-nag">
     168        <h3 style="margin:0;">Backup Request</h3>
     169        <p><?php _e( 'You have recently requested access to a backup of your site files. Here is a link to your download:', 'imforza-news' ); ?></p>
     170        <?php if ( !empty($client_details['last_backup_url']) != '' ) { echo '<a href="'.esc_url($client_details['last_backup_url']).'" />'.esc_url($client_details['last_backup_url']).'</a>'; } ?>
     171        <p><strong>NOTICE:</strong> Your download link may expire in 7 days. If you wish to remove this notice please contact imFORZA support.</p>
     172    </div>
     173
     174<?php
     175    }
     176}
     177
     178add_action('admin_notices', 'imforza_site_backup_notice');
  • imforza-news/trunk/admin/settings.php

    r1293661 r1297618  
    251251
    252252
     253        <tr>
     254         <th><label for="">Backup Request URL: <br /></label></th>
     255        <td>
     256        <input type="text" id='imforza_backup_file_url' name="imforza_client_details[last_backup_url]" style="width:500px;" value="<?php if ( !empty($client_details['last_backup_url']) != '' ) { echo esc_url($client_details['last_backup_url']); } ?>" placeholder="Last Backup URL" /></input>
     257        <p class="description">If the client has requested site files, please provide the url here to the zip. Make sure the zip includes the MySQL Database files. This will display a notice to all users providing the backup link, to remove the notice simply delete the link.</p>
     258        </td>
     259        </tr>
     260
     261
     262
    253263        <!--
    254264            Site Launch Date / Notes Sections
  • imforza-news/trunk/admin/users.php

    r1293612 r1297618  
    191191
    192192
     193
     194
  • imforza-news/trunk/imforza.php

    r1293661 r1297618  
    22/*
    33Plugin Name: imFORZA
    4 Version: 1.3.4
     4Version: 1.3.5
    55Plugin URI: //www.imforza.com#utm_source=wpadmin&utm_medium=plugin&utm_campaign=imforzanewsplugin
    66Description: imFORZA is a Web Design and Marketing company based out of El Segundo, CA. Get quick access to imFORZA Support and the latest marketing news.
     
    1515
    1616// Define Plugin Version
    17 define( 'IMFORZA_PLUGIN_VERSION', '1.3.4' );
     17define( 'IMFORZA_PLUGIN_VERSION', '1.3.5' );
    1818
    1919
     
    5151function imforza_activation() {
    5252
    53     update_option( 'imforza', array('version' => '1.3.4'));
     53    update_option( 'imforza', array('version' => '1.3.5'));
    5454
    5555    flush_rewrite_rules();
  • imforza-news/trunk/readme.txt

    r1293661 r1297618  
    2121
    2222== Changelog ==
     23
     24= 1.3.5 =
     25* New notice for site backups
    2326
    2427= 1.3.4 =
Note: See TracChangeset for help on using the changeset viewer.