%PDF-
%PDF-
Mini Shell
Mini Shell
<?php
if ( ! class_exists( 'GFForms' ) ) {
die();
}
/**
* Class GF_Update
*
* Handles the Updates subview on the System Status page.
*/
class GF_Update {
/**
* Display updates page.
*
* @since 2.2
* @access public
*
* @uses GFSystemReport::get_system_report()
* @uses GFSystemReport::maybe_process_action()
* @uses GFSystemReport::prepare_item_value()
* @uses GFSystemStatus::page_footer()
* @uses GFSystemStatus::page_header()
*/
public static function updates() {
// If user does not have access to this page, die.
if ( ! GFCommon::current_user_can_any( 'gravityforms_view_updates' ) ) {
wp_die( esc_html__( "You don't have permissions to view this page", 'gravityforms' ) );
}
// Get available updates.
$updates = self::available_updates();
// Display page header.
GF_System_Status::page_header();
wp_print_styles( array( 'thickbox' ) );
?>
<div class="gform-settings__content">
<table cellspacing="0" cellpadding="0" class="wp-list-table plugins">
<thead>
<tr id="updates">
<th scope="col"
class="manage-column column-name column-primary"><?php esc_html_e( 'Updates', 'gravityforms' ) ?></th>
</tr>
<tr>
<th scope="col" id="name"
class="manage-column column-name column-primary"><?php esc_html_e( 'Plugin', 'gravityforms' ); ?></th>
<th scope="col" id="description"
class="manage-column column-description"><?php esc_html_e( 'Description', 'gravityforms' ); ?></th>
</tr>
</thead>
<tbody id="the-list">
<?php
// All installed plugins
$plugins = get_plugins();
// Loop through updates.
foreach ( $updates as $update ) {
$update_available = ! empty( $update['latest_version'] ) && version_compare( $update['installed_version'], $update['latest_version'], '<' );
$update_class = $update_available ? ' update' : '';
$settings_link = $update['slug'] == 'gravityforms' ? admin_url( 'admin.php?page=gf_settings' ) : admin_url( 'admin.php?page=gf_settings&subview=' . $update['slug'] );
$plugin = $plugins[ $update['path'] ];
?>
<tr class="inactive<?php echo $update_class ?>" data-slug="admin-bar-form-search"
data-plugin="gw-admin-bar-form-manager.php">
<td class="plugin-title column-primary"><strong><?php echo $update['name'] ?></strong>
<div class="row-actions visible">
<span class="deactivate"><a
href="<?php echo $settings_link ?>"><?php esc_html_e( 'Settings', 'gravityforms' ) ?></a></span>
</div>
</td>
<td class="column-description desc">
<div class="plugin-description">
<p><?php echo $plugin['Description'] ?></p>
</div>
<div class="active second plugin-version-author-uri">
Version <?php echo $update['installed_version'] ?> |
<a href="<?php echo $plugin['PluginURI'] ?>"><?php esc_html_e( 'Visit plugin page', 'gravityforms' ) ?></a>
</div>
<?php if ( $update_available ) { ?>
<div class="update-message notice inline notice-warning notice-alt">
<p>
<?php
printf( esc_html__( 'There is a new version of %s available. ', 'gravityforms' ), $update['name'] );
if ( $update['is_valid_key'] ) {
// Changelog URL is different in a multisite network.
$changelog_url = wp_nonce_url( self_admin_url( 'admin-ajax.php?action=gf_get_changelog&plugin=' . urlencode( $update['slug'] ) . '&TB_iframe=true&width=640&height=808' ) );
if ( ! current_user_can( 'update_plugins' ) ) {
printf( esc_html__( '%1$sView version %2$s details %3$s. ', 'gravityforms' ),
'<a href="' . $changelog_url . '" class="thickbox open-plugin-details-modal">',
$update['latest_version'],
'</a>'
);
} else {
printf( esc_html__( '%1$sView version %2$s details %3$s or %4$supdate now%5$s.', 'gravityforms' ),
'<a href="' . $changelog_url . '" class="thickbox open-plugin-details-modal">',
$update['latest_version'],
'</a>',
'<a href="' . $update['upgrade_url'] . '" class="update-link">',
'</a>'
);
}
} else {
printf(
esc_html__( '%sRegister%s your copy of Gravity Forms to receive access to automatic updates and support. Need a license key? %sPurchase one now%s.', 'gravityforms' ),
'<a href="admin.php?page=gf_settings">',
'</a>',
'<a href="https://www.gravityforms.com">',
'</a>'
);
}
?>
</p>
</div>
</td>
</tr>
<?php
}
}
?>
</tbody>
</table>
</div>
<?php
// Display page footer.
GF_System_Status::page_footer();
}
/**
* Get available Gravity Forms updates.
*
* @since 2.2
* @access public
*
* @uses GFCommon::get_version_info()
*
* @return array
*/
public static function available_updates() {
// Initialize updates array.
$updates = array();
// Get Gravity Forms version info.
$version_info = GFCommon::get_version_info( false );
// Define Gravity Forms plugin path.
$plugin_path = plugin_basename( GFCommon::get_base_path() . '/gravityforms.php' );
// Get upgrade URL.
$upgrade_url = wp_nonce_url( 'update.php?action=upgrade-plugin&plugin=' . urlencode( $plugin_path ), 'upgrade-plugin_' . $plugin_path );
// Prepare version message and icon.
if ( empty( $version_info['version'] ) || version_compare( GFForms::$version, $version_info['version'], '>=' ) ) {
$version_icon = 'dashicons-yes';
$version_message = esc_html__( 'Your version of Gravity Forms is up to date.', 'gravityforms' );
} else {
if ( rgar( $version_info, 'is_valid_key' ) ) {
$version_icon = 'dashicons-no';
$version_message = sprintf(
'%s<p>%s</p>',
esc_html__( 'There is a new version of Gravity Forms available.', 'gravityforms' ),
esc_html__( 'You can update to the latest version automatically or download the update and install it manually.', 'gravityforms' )
);
} else {
$version_icon = 'dashicons-no';
$version_message = sprintf(
'%s<p>%s</p>',
esc_html__( 'There is a new version of Gravity Forms available.', 'gravityforms' ),
sprintf(
esc_html__( '%sRegister%s your copy of Gravity Forms to receive access to automatic updates and support. Need a license key? %sPurchase one now%s.', 'gravityforms' ),
'<a href="admin.php?page=gf_settings">',
'</a>',
'<a href="https://www.gravityforms.com">',
'</a>'
)
);
}
}
// Add Gravity Forms core to updates array.
$updates[] = array(
'is_valid_key' => rgar( $version_info, 'is_valid_key' ),
'name' => esc_html__( 'Gravity Forms', 'gravityforms' ),
'path' => $plugin_path,
'slug' => 'gravityforms',
'latest_version' => rgar( $version_info, 'version' ),
'installed_version' => GFCommon::$version,
'upgrade_url' => $upgrade_url,
'download_url' => rgar( $version_info, 'url' ),
'version_icon' => $version_icon,
'version_message' => $version_message,
);
/**
* Modify plugins displayed on the Updates page.
*
* @since 2.2
*
* @param array $updates An array of plugins displayed on the Updates page.
*/
$updates = apply_filters( 'gform_updates_list', $updates );
return $updates;
}
}
Zerion Mini Shell 1.0
Custom Staffing Solutions | Beyond A Resume
Skip to content
Distinguish Your Business From The Rest With The People That Make Up Your Team
We go Beyond a Resume to find high value, committed people
ready, willing, and able to add true value toward your organization's mission.
The right people make or break your business
We focus on resolving two types of challenges surrounding staffing and recruiting at Beyond a Resume: The first challenge comes when a business continues to grow, but does not have the full-time, internal, talent acquisition resources to hire the right people or talent necessary to keep up with their rate of progression as a company.
The second is a business that has a dedicated internal Human Resources Team, but requires outsourced assistance when the volume of people and talent needed exceeds short term internal capacity, OR the position(s) they seek to fill demand a specific skill set that is difficult to find, requiring added bandwidth.
In nearly any line of business, growth is a challenge in and of itself. Yet, the real problems arise in managing growth to ensure your progress remains profitable, sustainable, and repeatable. The biggest factor in this equation is usually found in your people. When you have the right people, success is unlimited. On the other hand, when you don’t have the right people in place or are having trouble finding enough of the right people, failure or stagnation is imminent.
The frustration that comes with the process of “hiring” can bring you to new levels of stress as the time cost involved eats away at your production elsewhere. If you have experienced this in the past, or are currently struggling with this issue, you’re certainly not alone. You may simply need the right partner to take the worst parts of this process off your plate so you can concentrate on your responsibilities, while we work diligently to reduce the noise and deliver only the ideal candidates worth your time and attention.
People can make or break your business and we go Beyond a Resume to find high value, committed people ready, willing, and able to add true value.
Primary Industry Experience
Healthcare and Home Healthcare
Talent Acquisition Solutions
Statement of Work Projects
Scroll To Top