예제 #1
0
?>
</a><br />
                <a target="_blank" href="http://readyshoppingcart.com/"><?php 
echo BUP_S_VERSION;
?>
</a><br />
            </div>
            <div class="clear"></div>
            <div class="spacer"></div>
    
            <h2>Where did you find us?</h2>
            <?php 
foreach ($this->askOptions as $askId => $askOpt) {
    ?>
                <label><?php 
    echo htmlBup::radiobutton('where_find_us', array('value' => $askId));
    ?>
&nbsp;<?php 
    echo $askOpt['label'];
    ?>
</label>
                <?php 
    if ($askId == 4) {
        ?>
                    <label id="bupFindUsUrlShell" style="display: none;">Please, post url: <?php 
        echo htmlBup::text('find_on_web_url');
        ?>
</label>
                <?php 
    } elseif ($askId == 5) {
        ?>
예제 #2
0
			</div>
			<div class="bupMargDest">
				<?php 
echo htmlBup::radiobutton('dest_opt', array('attrs' => 'class="' . $not_piad . '"', 'value' => 'googledrive', 'checked' => frameBup::_()->getModule('options')->get('glb_dest') == 'googledrive' ? 'checked' : ''));
?>
 Google Drive
			</div>
            <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 
예제 #3
0
                                        <td width="120">
                                            <?php 
echo htmlBup::radiobutton('sch_dest', array('value' => 'ftp', 'checked' => 'ftp' === frameBup::_()->getModule('options')->get('sch_dest') ? 'checked' : ''));
langBup::_e('FTP');
?>
                                        </td>

                                        <?php 
$backup = frameBup::_()->getModule('backup')->getController()->getModel('backup');
?>
                                        <?php 
foreach ($backup->getDestinationHandlers() as $handler => $callback) {
    ?>
                                            <td width="120">
                                                <?php 
    echo htmlBup::radiobutton('sch_dest', array('value' => $handler, 'checked' => $handler === frameBup::_()->getModule('options')->get('sch_dest') ? 'checked' : ''));
    echo ucfirst($handler);
    ?>
                                            </td>
                                        <?php 
}
?>
                                    </tr>
                                    </table>
                                  </div>
                                </fieldset>
                                 
                                </div>
                                
                              </div>
                          </div>
예제 #4
0
                    <?php 
echo htmlBup::radiobutton('opt_values[bg_img_show_type]', array('value' => 'stretch', 'attrs' => 'id="cspBgImgShowType-stretch"', 'checked' => $this->optModel->get('bg_img_show_type') == 'stretch'));
?>
                    <label for="cspBgImgShowType-stretch" class="button button-large"><?php 
langBup::_e('Stretch');
?>
</label>
                    <?php 
echo htmlBup::radiobutton('opt_values[bg_img_show_type]', array('value' => 'center', 'attrs' => 'id="cspBgImgShowType-center"', 'checked' => $this->optModel->get('bg_img_show_type') == 'center'));
?>
                    <label for="cspBgImgShowType-center" class="button button-large"><?php 
langBup::_e('Center');
?>
</label>
                    <?php 
echo htmlBup::radiobutton('opt_values[bg_img_show_type]', array('value' => 'tile', 'attrs' => 'id="cspBgImgShowType-tile"', 'checked' => $this->optModel->get('bg_img_show_type') == 'tile'));
?>
                    <label for="cspBgImgShowType-tile" class="button button-large"><?php 
langBup::_e('Tile');
?>
</label>
                </div>
                <div class="cspTip cspTipArrowUp">
                    <?php 
langBup::_e('Choose a one of way how to display the site background.');
?>
                </div>
                <?php 
echo htmlBup::button(array('value' => langBup::_('Remove image'), 'attrs' => 'id="cspImgBgRemove" class="button button-large" style="width:100%;"'));
?>
				<?php 
예제 #5
0
                <hr/>

                <table class="form-table" style="width: 100% !important;">
                    <?php 
foreach ($this->backupPlaces as $bupPlace) {
    ?>

                        <tr class="bupMargDest" id="bupPlace<?php 
    echo $bupPlace['key'];
    ?>
">
                            <td style="padding-right: 0 !important;">
                                <label>
                                    <?php 
    echo htmlBup::radiobutton('dest_opt', array('value' => $bupPlace['key'], 'attrs' => 'data-is-authenticated="' . $bupPlace['isAuthenticated'] . '"
                                                    data-msg-for-not-authenticated="' . $bupPlace['msgForNotAuthenticated'] . '"
                                                    data-authenticate-block-id="bupPlace' . $bupPlace['key'] . '"'));
    ?>
                                    <?php 
    echo $bupPlace['title'];
    ?>
                                </label>

                                <?php 
    if (!empty($bupPlace['content'])) {
        ?>
                                    <div class="bupOptions bup-<?php 
        echo $bupPlace['key'];
        ?>
">
                                        <br/>