Plugin Directory

Changeset 2095290


Ignore:
Timestamp:
05/26/2019 01:35:17 PM (7 years ago)
Author:
chartspms
Message:

Logo url added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chartsbeds/trunk/chartsbeds_admin.php

    r2095244 r2095290  
    7070    $snPrice = $_POST['cbsnippet_price'];
    7171    update_option('cbsnippet_price', $snPrice);
     72    $snLogo = $_POST['cbsnippet_logo'];
     73    update_option('cbsnippet_logo', $snLogo);
    7274?>
    7375
     
    9193    $snPhone = get_option('cbsnippet_phone');
    9294    $snPrice = get_option('cbsnippet_price');
     95    $snLogo = get_option('cbsnippet_logo');
    9396}
    9497
     
    155158            <p><input type="text" name="cbsnippet_city" id="cbsnippet_city" value="<?php echo $snCity ?>" size="110"></p>
    156159        </div>
    157         <div style="width:50%; float: left;">
     160        <div style="width:50%; float: right;">
    158161            <?php _e("Street address:" ); ?>
    159162            <p><input type="text" name="cbsnippet_street" id="cbsnippet_street" value="<?php echo $snStreet ?>" size="110"></p>
     
    168171            <p><input type="text" name="cbsnippet_price" id="cbsnippet_price" value="<?php echo $snPrice ?>" size="110"></p>
    169172        </div>
    170         <p class="submit"><input type="submit" name="Save" value="<?php _e('Update Options', 'charts_updates' ); ?>" /></p>
     173        <?php _e("Logo url:" ); ?>
     174        <p><input type="text" name="cbsnippet_logo" id="cbsnippet_logo" value="<?php echo $snLogo ?>" size="110"></p>
     175
     176        <p class="submit" width="100%"><input type="submit" name="Save" value="<?php _e('Update Options', 'charts_updates' ); ?>" /></p>
    171177        <?php echo wp_nonce_field('cbeds-update'); ?>
    172178    </form>
Note: See TracChangeset for help on using the changeset viewer.