Exemplo n.º 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>
Exemplo n.º 2
0
 public static function ajax_save_s3_backup_settings()
 {
     $errors = Synthesis_S3_Settings::save_s3_backup_settings($_POST);
     Synthesis_S3_Settings::s3_settings_markup($errors);
     die;
 }