/**
  *
  * @TODO document
  *
  */
 function _get_background_image_control($oid, $o)
 {
     $bg = $this->_background_image_array();
     $oset = array('post_id' => $o['pid'], 'setting' => $this->settings_field);
     // set value, id, name
     foreach ($bg as $k => $i) {
         $bgid = $oid . $k;
         if ($this->settings_field == 'meta') {
             $bg[$k]['val'] = plmeta($bgid, $oset);
             $bg[$k]['input_name'] = $bgid;
             $bg[$k]['input_id'] = get_pagelines_option_id($bgid);
         } elseif ($this->settings_field == PAGELINES_SPECIAL) {
             $oset['subkey'] = $bgid;
             $bg[$k]['val'] = ploption($o['special'], $oset);
             $bg[$k]['input_name'] = plname($o['special'], $oset);
             $bg[$k]['input_id'] = plid($o['special'], $oset);
         } else {
             $bg[$k]['val'] = ploption($bgid, $oset);
             $bg[$k]['input_id'] = plid($bgid, $oset);
             $bg[$k]['input_name'] = plname($bgid, $oset);
         }
         $bg[$k] = wp_parse_args($bg[$k], $o);
     }
     $this->_get_image_upload_option($oid . '_url', $bg['_url']);
     $this->_get_select_option($oid . '_repeat', $bg['_repeat']);
     $this->_get_count_select_option($oid . '_pos_vert', $bg['_pos_vert']);
     $this->_get_count_select_option($oid . '_pos_hor', $bg['_pos_hor']);
     $this->_get_select_option($oid . '_attach', $bg['_attach']);
 }
    /**
     *
     * @TODO document
     *
     */
    function fullform_foot()
    {
        ?>
			<?php 
        if ($this->set['show_reset']) {
            ?>
			<div class="optionrestore fix">
				<?php 
            echo OptEngine::superlink(__('Restore To Default', 'pagelines'), 'grey', 'reset-options', 'submit', 'onClick="return ConfirmRestore();"', plname('reset', array('setting' => $this->set['settings'])));
            ?>
				<div class="ortext">Use this button to restore these settings to default. &mdash; <strong>Note</strong>: Restore template and layout information in their individual tabs.</p></div>
				<?php 
            pl_action_confirm('ConfirmRestore', __('Are you sure? This will restore these settings to default.', 'pagelines'));
            ?>
			</div>
			<?php 
        }
        ?>
			</form><!-- close entire form -->
		<?php 
    }