wordpress/php-fpm/wordpress_files/plugins/backwpup/inc/class-page-about.php
2020-05-22 01:40:23 +00:00

684 lines
25 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Render plugin about Page.
*
*/
class BackWPup_Page_About {
/**
* Enqueue style.
*
* @return void
*/
public static function admin_print_styles() {
?>
<style type="text/css" media="screen">
#backwpup-page {
background: #fff;
margin-top: 22px;
padding: 0 20px;
}
#backwpup-page .inpsyde + h2 {
visibility: hidden;
}
.welcome {
/* max-width: 960px; */
}
.welcome .welcome_inner {
margin:0 auto;
max-width: 960px;
}
.welcome .welcome_inner h1{
font-size:42px;
}
.welcome .welcome_inner .welcometxt {
margin-bottom: 40px;
overflow: hidden;
border-bottom: 1px #ccc dotted;
text-align: center;
padding-bottom: 25px;
position: relative;
}
.welcome .welcome_inner .welcometxt p{
line-height:20px;
font-size:18px;
}
.welcome .welcome_inner .feature-box{
clear: both;
margin-bottom: 40px;
overflow: hidden;
}
.welcome .welcome_inner .feature-box .feature-image{
float: left;
width:18%;
height:auto;
}
.welcome .welcome_inner .feature-box .feature-image img{
width:100%;
height:auto;
max-width:350px;
}
.welcome .welcome_inner .feature-box .feature-text{
float: left;
width:72%;
padding: 0 0 20px 20px;
}
.welcome .welcome_inner .feature-box-right .feature-text {
padding: 0 20px 20px 0;
}
.welcome .welcome_inner .feature-box .feature-text h3{
color:rgb(0, 155, 204);
font-weight:normal;
font-size:24px;
margin:0 0 10px 0;
text-align:left;
}
.welcome .welcome_inner .feature-box .left {
float:left;
}
.welcome .welcome_inner .feature-box .right {
float:right;
}
.welcome .welcome_inner .featuretitle h3 {
font-size:28px;
font-weight:normal;
text-align:left;
margin-bottom:25px;
}
.welcome .button-primary-bwp {
float:left;
padding:15px;
font-size:18px;
text-decoration:none;
background-color:#38b0eb;
color:#fff;
border:none;
cursor:pointer;
margin: 35px 0;
}
.welcome .button-primary-bwp:hover {
background-color:#064565;
cursor:pointer;
}
@media only screen and (max-width: 1100px), only screen and (max-device-width: 1100px) {
.welcome .welcome_inner h1{
font-size:32px;
}
.welcome .welcome_inner .featuretitle h3 {
font-size:22px;
font-weight:normal;
text-align:left;
margin-bottom:25px;
}
.welcome .welcome_inner .welcometxt p{
line-height:20px;
font-size:14px;
}
.welcome .welcome_inner .feature-box .feature-text h3{
font-weight:normal;
font-size:20px;
margin:0 0 10px 0;
text-align:left;
}
.welcome .welcome_inner .feature-box .feature-text{
width:72%;
font-size:14px;
line-height:20px;
}
.welcome .button-primary-bwp {
float:left;
padding:10px;
font-size:16px;
text-decoration:none;
background-color:#38b0eb;
color:#fff;
border:none;
cursor:pointer;
margin: 35px 0;
}
}
@media only screen and (max-width: 780px), only screen and (max-device-width: 780px) {
.welcome .welcome_inner h1{
font-size:22px;
}
.welcome .welcome_inner .featuretitle h3 {
font-size:22px;
font-weight:normal;
text-align:left;
}
.welcome .welcome_inner .welcometxt p{
line-height:20px;
font-size:14px;
}
.welcome .welcome_inner .feature-box .feature-text h3{
font-weight:normal;
font-size:16px;
margin:0 0 10px 0;
}
.welcome .welcome_inner .feature-box .feature-text{
width:72%;
font-size:12px;
line-height:16px;
text-align:left;
}
.welcome .button-primary-bwp {
float:left;
padding:10px;
font-size:16px;
text-decoration:none;
background-color:#38b0eb;
color:#fff;
border:none;
cursor:pointer;
margin: 35px 0;
}
}
.backwpup_comp {
margin: 20px auto;
width: 100%;
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 16px;
}
.backwpup_comp table {
border: none;
}
.backwpup_comp table tbody tr.even td {
border: none;
background: none;
padding: 15px;
margin: 0;
}
.backwpup_comp table tbody tr.odd td {
border: none;
background: none;
padding: 15px;
margin: 0;
}
.backwpup_comp h3 {
font-family: "Arial", sans-serif;
font-size: 42px;
text-align: center;
font-weight: normal;
color: #333;
line-height: 44px;
margin: 20px 0;
}
.backwpup_comp table tbody tr.ub {
font-family: 'MisoRegular', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 26px;
}
.backwpup_comp table tbody tr.ubdown {
font-family: 'MisoRegular', "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 26px;
background: none !important;
}
.backwpup_comp table tbody tr.even {
background-image: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/even.png);
}
.backwpup_comp table tbody tr.odd {
background-image: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/odd.png);
}
.backwpup_comp table tbody tr.ub td.pro {
height: 50px;
text-align: center;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hgtopgreen.png) no-repeat bottom center;
color: #fff;
border-left: 1px solid #112a32;
}
.backwpup_comp table tbody tr.ub td.free {
height: 50px;
text-align: center;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hgtopgreen.png) no-repeat bottom center;
color: #fff;
}
.backwpup_comp table tbody tr.ubdown td.pro {
height: 50px;
text-align: center;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hgbtgreen.png) no-repeat top center;
color: #fff;
border-left: 1px solid #1c3e49;
background-color: #153540;
}
.backwpup_comp table tbody tr.ubdown td.pro a {
color: #fff;
text-decoration: none;
cursor: auto;
font-weight: 300;
line-height: 1.4em;
font-size: 18px;
}
.backwpup_comp table tbody tr.ubdown td.free {
height: 50px;
text-align: center;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hgbtred.png) no-repeat top center;
color: #fff;
}
.backwpup_comp table tbody tr.ubdown td.free a {
color: #fff;
}
.backwpup_comp table tbody tr.even td.tick {
width: 100px;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/tickeven.png) no-repeat center;
border-bottom: 1px solid #799e14;
border-top: 1px solid #a2d123;
border-left: 1px solid #799e14;
}
.backwpup_comp table tbody tr.odd td.tick {
width: 100px;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/tickodd.png) no-repeat center;
border-left: 1px solid #799e14;
}
.backwpup_comp table tbody tr.even td.error {
width: 100px;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/erroreven.png) no-repeat center;
border-bottom: 1px solid #b13020;
border-top: 1px solid #e84936;
}
.backwpup_comp table tbody tr.odd td.error {
width: 100px;
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/errorodd.png) no-repeat center;
}
.backwpup_comp table tbody tr.even:hover {
background-image: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hover.png);
}
.backwpup_comp table tbody tr.odd:hover {
background-image: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hover.png);
}
.backwpup_comp table tbody tr.even:hover td.tick {
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/tickhover.png) center;
}
.backwpup_comp table tbody tr.odd:hover td.tick {
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/tickhover.png) center;
}
.backwpup_comp table tbody tr.even:hover td.error {
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/errorhover.png) center;
}
.backwpup_comp table tbody tr.odd:hover td.error {
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/errorhover.png) center;
}
.backwpup_comp table tbody tr.ubdown:hover td.pro:hover {
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hgbtgreenhover.png) no-repeat top center;
background-color: #255667;
}
.backwpup_comp table tbody tr.ubdown:hover td.free:hover {
background: url(<?php echo BackWPup::get_plugin_data( 'URL' );?>/assets/images/hgbtredhover.png) no-repeat top center;
}
</style>
<?php
}
/**
* Enqueue script.
*
* @return void
*/
public static function admin_print_scripts() {
wp_enqueue_script( 'backwpupgeneral' );
}
/**
* Print the markup.
*
* @return void
*/
public static function page() {
?>
<div class="wrap" id="backwpup-page">
<?php BackWPup_Admin::display_messages(); ?>
<div class="welcome">
<div class="welcome_inner">
<?php if ( class_exists( 'BackWPup_Pro', FALSE ) ) { ?>
<div class="welcometxt">
<div class="backwpup-welcome">
<a href="<?php esc_html_e( 'http://backwpup.com', 'backwpup' ); ?>"><img class="backwpup-banner-img" src="https://images.inpsyde.com/backwpup/banner.jpg" alt="<?php esc_html_e( 'BackWPup banner', 'backwpup' ); ?>" /></a>
<h1><?php esc_html_e( 'Welcome to BackWPup Pro', 'backwpup' ); ?></h1>
<p><?php esc_html_e( 'BackWPups job wizards make planning and scheduling your backup jobs a breeze.', 'backwpup' ); echo ' ';
_e( 'Use your backup archives to save your entire WordPress installation including <code>/wp-content/</code>. Push them to an external storage service if you dont want to save the backups on the same server. With a single backup archive you are able to restore an installation. Use the integrated restore feature to restore your site directly from your WordPress backend or the Restore Standalone App in case your site is destroyed completely.', 'backwpup' ); ?></p>
<p><?php echo str_replace( '\"','"', sprintf( __( 'Ready to <a href="%1$s">set up a backup job</a>? You can <a href="%2$s">use the wizards</a> or plan your backup in expert mode.', 'backwpup' ), network_admin_url( 'admin.php').'?page=backwpupeditjob' , network_admin_url( 'admin.php').'?page=backwpupwizard' ) ); ?></p>
</div>
</div>
<?php } else {?>
<div class="welcometxt">
<div class="backwpup-welcome">
<a href="<?php esc_html_e( 'http://backwpup.com', 'backwpup' ); ?>"><img class="backwpup-banner-img" src="https://images.inpsyde.com/backwpup/banner.jpg" alt="<?php esc_html_e( 'BackWPup banner', 'backwpup' ); ?>" /></a>
<h1><?php esc_html_e( 'Welcome to BackWPup', 'backwpup' ); ?></h1>
<p><?php
_e( 'Use your backup archives to save your entire WordPress installation including <code>/wp-content/</code>. Push them to an external storage service if you dont want to save the backups on the same server. With a single backup archive you are able to restore an installation. Use the integrated restore feature to restore your site directly from your WordPress backend or the Restore Standalone App in case your site is destroyed completely.', 'backwpup' ); ?></p>
<p><?php esc_html_e( 'Ready to set up a backup job? Use one of the wizards to plan what you want to save.', 'backwpup' ); ?></p>
</div>
</div>
<?php } ?>
<div>
</div>
<div class="features">
<div class="feature-box <?php self::feature_class(); ?>">
<div class="feature-image">
<img title="<?php esc_html_e( 'Save your database', 'backwpup' ); ?>" src="<?php echo esc_attr(BackWPup::get_plugin_data( 'URL' )); ?>/assets/images/imagesave.png" />
</div>
<div class="feature-text">
<h3><?php esc_html_e( 'Save your database regularly', 'backwpup' ); ?></h3>
<p><?php echo str_replace( '\"','"', sprintf( __( 'With BackWPup you can schedule the database backup to run automatically. With a single backup file you can restore your database. You should <a href="%s">set up a backup job</a>, so you will never forget it. There is also an option to repair and optimize the database after each backup.', 'backwpup' ), network_admin_url( 'admin.php').'?page=backwpupeditjob' ) ); ?></p>
</div>
</div>
<div class="feature-box <?php self::feature_class(); ?>">
<div class="feature-text">
<h3><?php esc_html_e('WordPress XML Export', 'backwpup' ); ?></h3>
<p><?php esc_html_e('You can choose the built-in WordPress export format in addition or exclusive to save your data. This works in automated backups too of course. The advantage is: you can import these files into a blog with the regular WordPress importer.', 'backwpup'); ?></p>
</div>
<div class="feature-image">
<img title="<?php esc_html_e( 'WordPress XML Export', 'backwpup' ); ?>" src="<?php echo BackWPup::get_plugin_data( 'URL' ); ?>/assets/images/imagexml.png" />
</div>
</div>
<div class="feature-box <?php self::feature_class(); ?>">
<div class="feature-image">
<img title="<?php esc_html_e( 'Save all data from the webserver', 'backwpup' ); ?>" src="<?php echo BackWPup::get_plugin_data( 'URL' ); ?>/assets/images/imagedata.png" />
</div>
<div class="feature-text">
<h3><?php esc_html_e('Save all files', 'backwpup'); ?></h3>
<p><?php echo str_replace( '\"','"', sprintf( __('You can backup all your attachments, also all system files, plugins and themes in a single file. You can <a href="%s">create a job</a> to update a backup copy of your file system only when files are changed.', 'backwpup'), network_admin_url( 'admin.php' ) . '?page=backwpupeditjob' ) ); ?></p>
</div>
</div>
<div class="feature-box <?php self::feature_class(); ?>">
<div class="feature-text">
<h3><?php esc_html_e( 'Security!', 'backwpup' ); ?></h3>
<p><?php esc_html_e('By default everything is encrypted: connections to external services, local files and access to directories.', 'backwpup'); ?></p>
</div>
<div class="feature-image">
<img title="<?php esc_html_e( 'Security!', 'backwpup' ); ?>" src="<?php echo esc_attr(BackWPup::get_plugin_data( 'URL' )); ?>/assets/images/imagesec.png" />
</div>
</div>
<div class="feature-box <?php self::feature_class(); ?>">
<div class="feature-image">
<img title="<?php esc_html_e( 'Cloud Support', 'backwpup' ); ?>" src="<?php echo BackWPup::get_plugin_data( 'URL' ); ?>/assets/images/imagecloud.png" />
</div>
<div class="feature-text">
<h3><?php esc_html_e( 'Cloud Support', 'backwpup' ); ?></h3>
<p><?php esc_html_e( 'BackWPup supports multiple cloud services in parallel. This ensures backups are redundant.', 'backwpup' ); ?></p>
</div>
</div>
</div>
</div>
<div class="backwpup_comp">
<h3><?php esc_html_e( 'Features / differences between Free and Pro', 'backwpup' ); ?></h3>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr class="even ub">
<td><?php esc_html_e( 'Features', 'backwpup' ); ?></td>
<td class="free"><?php esc_html_e( 'FREE', 'backwpup' ); ?></td>
<td class="pro"><?php esc_html_e( 'PRO', 'backwpup' ); ?></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Complete database backup', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Complete file backup', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Database check', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Data compression', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'WordPress XML export', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'List of installed plugins', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Backup archives management', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Log file management', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Start jobs per WP-Cron, URL, system, backend or WP-CLI', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Log report via email', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Backup to Microsoft Azure', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Backup as email', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Backup to S3 services (Amazon, Google Storage, Hosteurope and more)', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Backup to Dropbox', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Backup to Rackspace Cloud Files', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Backup to FTP server', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Backup to your web space', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Backup to SugarSync', 'backwpup' ); ?></td>
<td class="tick"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Restore manually uploaded Backup Archives', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Standalone Restore App', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Encrypt Backup Archives', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Restore Encrypted Backups', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Backup to Google Drive', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Backup to Amazon Glacier', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Custom API keys for DropBox and SugarSync', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'XML database backup as PHPMyAdmin schema', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Database backup as mysqldump per command line', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Database backup for additional MySQL databases', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Import and export job settings as XML', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Wizard for system tests', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Wizard for scheduled backup jobs', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Wizard to import settings and backup jobs', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Differential backup of changed directories to Dropbox', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Differential backup of changed directories to Rackspace Cloud Files', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Differential backup of changed directories to S3', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Differential backup of changed directories to MS Azure', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Restore from Folder', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Restore from Google Drive', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Restore from Amazon S3', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php esc_html_e( 'Restore from Dropbox', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php esc_html_e( 'Restore from FTP', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="even">
<td><?php _e( '<strong>Premium support</strong>', 'backwpup' ); ?></td>
<td class="error"></td>
<td class="tick"></td>
</tr>
<tr class="odd">
<td><?php _e( '<strong>Automatic updates</strong>', 'backwpup' ); ?></td>
<td class="error" style="border-bottom:none;"></td>
<td class="tick" style="border-bottom:none;"></td>
</tr>
<tr class="even ubdown">
<td></td>
<td></td>
<td class="pro buylink"><a href="<?php esc_html_e( 'http://backwpup.com', 'backwpup' ); ?>"><?php _e( 'GET PRO', 'backwpup' ); ?></a></td>
</tr>
</table>
</div>
</div>
</div>
<?php
}
/**
* Alternate between 'left' and 'right' CSS class.
*
* @since 2013.02.19
* @return void
*/
protected static function feature_class() {
static $class = 'feature-box-left';
print $class;
$class = 'feature-box-left' === $class ? 'feature-box-right' : 'feature-box-left';
}
}