Пример #1
0
_e('Personal Backups for S3');
?>
</h3>

    <p><?php 
_e('If you have a an Amazon S3 account, you can configure your Personal Backups for S3.');
?>
	   <?php 
printf(__('Download the User Guide <a href="%s">here</a>'), Synthesis_S3_Settings::BACKUP_GUIDE_URL);
?>
</p>

    <form action="" method="post" >
        <div id="s3-backup-settings">
            <?php 
Synthesis_S3_Settings::s3_settings_markup();
?>
        </div>
        <p>
            <button class="button" id="save-s3-settings"><?php 
_e('Save S3 Settings');
?>
</button>
            <span class="spinner" id="s3-settings-spinner" style="float: none; display: none"></span>
        </p>
    </form>

	<h3 class="title"><?php 
_e('Theme Monitor');
?>
</h3>
Пример #2
0
 /**
  * Outputs the admin page for Software Monitor
  */
 public static function software_monitor_page()
 {
     // View inputs
     $nondefault_themes = self::get_nondefault_inactive_themes();
     $s3_backup = Synthesis_S3_Settings::get_s3_backup_settings();
     include "views/software-monitor-admin.php";
 }