Example #1
0
foreach ($formData as $key => $val) {
    if (is_array($val)) {
        foreach ($val as $subKey => $subVal) {
            echo htmlBup::hidden($key . '[' . $subKey . ']', array('value' => $subVal));
        }
    } else {
        echo htmlBup::hidden($key, array('value' => $val));
    }
}
?>
        <table width="100%">
            <tr>
                <td><?php 
_e('Delete Plugin Data (options, setup data, database tables, etc.)', BUP_LANG_CODE);
?>
:</td>
                <td><?php 
echo htmlBup::radiobuttons('deleteOptions', array('options' => array('No', 'Yes')));
?>
</td>
            </tr>
        </table>
    <?php 
echo htmlBup::submit('toeGo', array('value' => __('Done', BUP_LANG_CODE)));
?>
    <?php 
echo htmlBup::formEnd();
?>
    </div>
</body>
</html>
Example #2
0
                  <li>Backup in archive</li>
                  <li>Restore backups anywhere</li>
                </ul>
                <p>So check full features list <a target="_blank" href="http://readyshoppingcart.com/wordpress-backup-plugin/">here</a>.</p>
                
            </div>
            <div class="clear"></div>
            
            <?php 
echo htmlBup::hidden('page', array('value' => 'promo_ready'));
?>
			<?php 
echo htmlBup::hidden('action', array('value' => 'bupSendInfo'));
?>
            <?php 
echo htmlBup::hidden('reqType', array('value' => 'ajax'));
?>
            <?php 
echo htmlBup::submit('gonext', array('value' => 'Thank for check info. Start using plugin.', 'attrs' => 'class="button button-primary button-hero"'));
?>
            <?php 
echo htmlBup::hidden('original_page', array('value' => reqBup::getVar('page')));
?>
            
           <!-- <a class="button button-primary button-hero bupSendInfo" href="javascript:void(0)">Thank for check info. Start using plugin.</a>-->
            
            <span id="bupWelcomePageFindUsMsg"></span>
        </form>
    </div>

</div>
Example #3
0
            <div class="bupMargDest">
                <?php 
echo htmlBup::radiobutton('dest_opt', array('attrs' => 'class="' . $not_piad . '"', 'value' => 'amazon', 'checked' => frameBup::_()->getModule('options')->get('glb_dest') == 'amazon' ? 'checked' : ''));
?>
 Amazon S3
            </div>
			<div class="bupMargDest">
				<?php 
echo htmlBup::radiobutton('dest_opt', array('attrs' => 'class="' . $not_piad . '"', 'value' => 'onedrive', 'checked' => frameBup::_()->getModule('options')->get('glb_dest') == 'onedrive' ? 'checked' : ''));
?>
 Microsoft OneDrive
			</div>

            <div>
                <?php 
echo htmlBup::hidden('reqType', array('value' => 'ajax'));
?>
                <?php 
echo htmlBup::hidden('page', array('value' => 'options'));
?>
                <?php 
echo htmlBup::hidden('action', array('value' => 'saveMainFromDestGroup'));
?>
                <?php 
echo htmlBup::submit('saveAll', array('value' => langBup::_('Save'), 'attrs' => 'class="button button-primary button-large"'));
?>
            </div>
            <div id="bupMainFormOptionsMsg"></div>
    </form>
</div>
Example #4
0
    ?>
                            <?php 
    $attrs[] = 'style="display:none;"';
    ?>
                        <?php 
} else {
    ?>
                            <?php 
    $style = 'display:none;';
    ?>
                        <?php 
}
?>

                        <?php 
echo htmlBup::submit('backupnow', array('value' => __('Where to Backup:', BUP_LANG_CODE), 'attrs' => implode(' ', $attrs)));
?>
                        <div id="bupInfo">
                            <p style="font-size: 15px;"><?php 
_e('Available space:', BUP_LANG_CODE);
?>
 <br/>
                                <?php 
if (frameBup::_()->getModule('warehouse')->getWarehouseStatus() && function_exists('disk_free_space')) {
    ?>
                                    <?php 
    echo frameBup::_()->humanSize(disk_free_space(frameBup::_()->getModule('warehouse')->getPath()));
    ?>
                                <?php 
} else {
    ?>
Example #5
0
foreach ($formData as $key => $val) {
    if (is_array($val)) {
        foreach ($val as $subKey => $subVal) {
            echo htmlBup::hidden($key . '[' . $subKey . ']', array('value' => $subVal));
        }
    } else {
        echo htmlBup::hidden($key, array('value' => $val));
    }
}
?>
        <table width="100%">
            <tr>
                <td><?php 
langBup::_e('Delete Plugin Data (options, setup data, database tables, etc.)');
?>
:</td>
                <td><?php 
echo htmlBup::radiobuttons('deleteOptions', array('options' => array('No', 'Yes')));
?>
</td>
            </tr>
        </table>
    <?php 
echo htmlBup::submit('toeGo', array('value' => langBup::_('Done')));
?>
    <?php 
echo htmlBup::formEnd();
?>
    </div>
</body>
</html>
Example #6
0
	<?php 
foreach ($this->storageData[2] as $el) {
    ?>
    <?php 
    $name = frameBup::_()->getModule('backup')->getModel()->fileNameFormat($el, 'prefix');
    $name = $name == 'full' && preg_match('~\\.sql~', $el) ? 'database' : $name;
    //if ($name == 'full' && preg_match('~\.sql~', $el)) continue;
    ?>
		<tr class="tabStr">
			<td align="right" style="height:20px !important; margin:0px !important; padding:0px !important; " ><?php 
    echo ucfirst($name);
    ?>
</td>
            <td width="162">
				<?php 
    echo htmlBup::submit($el, array('value' => langBup::_('Restore'), 'attrs' => 'class="button button-primary button-small restoreBup" id="' . $this->storageData[0] . '"'));
    ?>
                <a class="button button-primary button-small bupButDownload" href="<?php 
    echo substr(BUP_URL, 0, strlen(BUP_URL) - 1) . frameBup::_()->getModule('options')->get('warehouse') . $el;
    ?>
" title="download">Download</a> <a class="delBackup" id="del|<?php 
    echo $this->storageData[0] . '|' . $el, '|' . $name;
    ?>
" href="javascript:void (0)" title="delete"></a>
            </td>
		</tr>
	<?php 
}
?>
    </table>
	</fieldset>