Changeset 3258149
- Timestamp:
- 03/19/2025 03:31:21 AM (11 months ago)
- Location:
- gift-voucher
- Files:
-
- 8 edited
-
tags/4.5.1/include/new_voucher_template.php (modified) (2 diffs)
-
tags/4.5.1/include/view_voucher_details.php (modified) (2 diffs)
-
tags/4.5.1/include/voucher-shortcodes.php (modified) (1 diff)
-
tags/4.5.1/include/voucher_list.php (modified) (1 diff)
-
trunk/include/new_voucher_template.php (modified) (2 diffs)
-
trunk/include/view_voucher_details.php (modified) (2 diffs)
-
trunk/include/voucher-shortcodes.php (modified) (1 diff)
-
trunk/include/voucher_list.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
gift-voucher/tags/4.5.1/include/new_voucher_template.php
r3258145 r3258149 140 140 <img class="image_src<?php echo esc_html($i); ?>" src="" width="100" style="display: none;" /><br> 141 141 <input class="image_url<?php echo esc_html($i); ?>" type="hidden" name="image<?php echo esc_html($i); ?>" size="60" value="<?php echo esc_attr($value); ?>"> 142 <button type="button" class="upload_image<?php echo esc_html($i); ?> button"><?php echo esc_html ('Upload Image', 'gift-voucher') ?></button>143 <button type="button" class="button button-primary remove_image<?php echo esc_attr($i); ?>" style="display: none;"><?php echo esc_html ('Remove Image', 'gift-voucher') ?></button>142 <button type="button" class="upload_image<?php echo esc_html($i); ?> button"><?php echo esc_html_('Upload Image', 'gift-voucher') ?></button> 143 <button type="button" class="button button-primary remove_image<?php echo esc_attr($i); ?>" style="display: none;"><?php echo esc_html_('Remove Image', 'gift-voucher') ?></button> 144 144 </td> 145 145 </tr> … … 151 151 <td> 152 152 <select name="active" id="active"> 153 <option value="<?php echo esc_html("1"); ?>" <?php echo ($options->active == 1) ? esc_html('selected') : ''; ?>><?php echo esc_html ('Active', 'gift-voucher') ?></option>154 <option class="0" <?php echo ($options->active == 0) ? esc_html('selected') : ''; ?>><?php echo esc_html ('Inactive', 'gift-voucher') ?></option>153 <option value="<?php echo esc_html("1"); ?>" <?php echo ($options->active == 1) ? esc_html('selected') : ''; ?>><?php echo esc_html_('Active', 'gift-voucher') ?></option> 154 <option class="0" <?php echo ($options->active == 0) ? esc_html('selected') : ''; ?>><?php echo esc_html_('Inactive', 'gift-voucher') ?></option> 155 155 </select> 156 156 </td> -
gift-voucher/tags/4.5.1/include/view_voucher_details.php
r3258145 r3258149 85 85 <tbody> 86 86 <tr> 87 <td><?php echo ($voucher_options->buying_for == 'yourself') ? esc_html('Yourself') : esc_html('Someone Else'); ?></td> 87 <td><?php echo ($voucher_options->buying_for == 'yourself') ? esc_html__('Yourself', 'gift-voucher') : esc_html__('Someone Else', 'gift-voucher'); ?></td> 88 88 89 <td><?php echo esc_html($voucher_options->from_name); ?></td> 89 90 <?php if ($voucher_options->buying_for != 'yourself') { ?> … … 119 120 <tbody> 120 121 <tr> 121 <td><?php echo ($voucher_options->shipping_type == 'shipping_as_email') ? esc_html ('Shipping as Email') : esc_html('Shipping as Post'); ?></td>122 <td><?php echo ($voucher_options->shipping_type == 'shipping_as_email') ? esc_html__('Shipping as Email', 'gift-voucher') : esc_html__('Shipping as Post', 'gift-voucher'); ?></td> 122 123 <?php if ($voucher_options->shipping_type == 'shipping_as_email') { ?> 123 124 <td><?php echo esc_html($voucher_options->shipping_email); ?></td> -
gift-voucher/tags/4.5.1/include/voucher-shortcodes.php
r3258145 r3258149 396 396 <table class="wpgv-balance-activity-table"> 397 397 <tr> 398 <th><?php echo esc_html ('Date', 'gift-voucher'); ?></th>399 <th><?php echo esc_html ('Action', 'gift-voucher'); ?></th>400 <th><?php echo esc_html ('Note', 'gift-voucher'); ?></th>401 <th><?php echo esc_html ('Amount', 'gift-voucher'); ?></th>402 <th><?php echo esc_html ('Balance', 'gift-voucher'); ?></th>398 <th><?php echo esc_html_('Date', 'gift-voucher'); ?></th> 399 <th><?php echo esc_html_('Action', 'gift-voucher'); ?></th> 400 <th><?php echo esc_html_('Note', 'gift-voucher'); ?></th> 401 <th><?php echo esc_html_('Amount', 'gift-voucher'); ?></th> 402 <th><?php echo esc_html_('Balance', 'gift-voucher'); ?></th> 403 403 </tr> 404 404 <?php -
gift-voucher/tags/4.5.1/include/voucher_list.php
r3258145 r3258149 46 46 <?php if ($items): ?><input type="hidden" name="items" value="<?php echo esc_html("1"); ?>"><?php endif; ?> 47 47 <input type="hidden" name="search" value="<?php echo esc_html("1"); ?>"> 48 <input type="text" name="voucher_code" autocomplete="off" placeholder=" Search by Gift voucher code or email" value="<?php echo esc_html($voucher_code); ?>" style="width: 400px;">48 <input type="text" name="voucher_code" autocomplete="off" placeholder="<?php echo esc_attr__('Search by Gift voucher code or email', 'gift-voucher'); ?>" value="<?php echo esc_html($voucher_code); ?>" style="width: 400px;"> 49 49 <input type="submit" class="button button-primary" value="<?php echo esc_html("Search"); ?>"> 50 50 </form> -
gift-voucher/trunk/include/new_voucher_template.php
r3179739 r3258149 140 140 <img class="image_src<?php echo esc_html($i); ?>" src="" width="100" style="display: none;" /><br> 141 141 <input class="image_url<?php echo esc_html($i); ?>" type="hidden" name="image<?php echo esc_html($i); ?>" size="60" value="<?php echo esc_attr($value); ?>"> 142 <button type="button" class="upload_image<?php echo esc_html($i); ?> button"><?php echo esc_html ('Upload Image', 'gift-voucher') ?></button>143 <button type="button" class="button button-primary remove_image<?php echo esc_attr($i); ?>" style="display: none;"><?php echo esc_html ('Remove Image', 'gift-voucher') ?></button>142 <button type="button" class="upload_image<?php echo esc_html($i); ?> button"><?php echo esc_html_('Upload Image', 'gift-voucher') ?></button> 143 <button type="button" class="button button-primary remove_image<?php echo esc_attr($i); ?>" style="display: none;"><?php echo esc_html_('Remove Image', 'gift-voucher') ?></button> 144 144 </td> 145 145 </tr> … … 151 151 <td> 152 152 <select name="active" id="active"> 153 <option value="<?php echo esc_html("1"); ?>" <?php echo ($options->active == 1) ? esc_html('selected') : ''; ?>><?php echo esc_html ('Active', 'gift-voucher') ?></option>154 <option class="0" <?php echo ($options->active == 0) ? esc_html('selected') : ''; ?>><?php echo esc_html ('Inactive', 'gift-voucher') ?></option>153 <option value="<?php echo esc_html("1"); ?>" <?php echo ($options->active == 1) ? esc_html('selected') : ''; ?>><?php echo esc_html_('Active', 'gift-voucher') ?></option> 154 <option class="0" <?php echo ($options->active == 0) ? esc_html('selected') : ''; ?>><?php echo esc_html_('Inactive', 'gift-voucher') ?></option> 155 155 </select> 156 156 </td> -
gift-voucher/trunk/include/view_voucher_details.php
r3246800 r3258149 85 85 <tbody> 86 86 <tr> 87 <td><?php echo ($voucher_options->buying_for == 'yourself') ? esc_html('Yourself') : esc_html('Someone Else'); ?></td> 87 <td><?php echo ($voucher_options->buying_for == 'yourself') ? esc_html__('Yourself', 'gift-voucher') : esc_html__('Someone Else', 'gift-voucher'); ?></td> 88 88 89 <td><?php echo esc_html($voucher_options->from_name); ?></td> 89 90 <?php if ($voucher_options->buying_for != 'yourself') { ?> … … 119 120 <tbody> 120 121 <tr> 121 <td><?php echo ($voucher_options->shipping_type == 'shipping_as_email') ? esc_html ('Shipping as Email') : esc_html('Shipping as Post'); ?></td>122 <td><?php echo ($voucher_options->shipping_type == 'shipping_as_email') ? esc_html__('Shipping as Email', 'gift-voucher') : esc_html__('Shipping as Post', 'gift-voucher'); ?></td> 122 123 <?php if ($voucher_options->shipping_type == 'shipping_as_email') { ?> 123 124 <td><?php echo esc_html($voucher_options->shipping_email); ?></td> -
gift-voucher/trunk/include/voucher-shortcodes.php
r3186322 r3258149 396 396 <table class="wpgv-balance-activity-table"> 397 397 <tr> 398 <th><?php echo esc_html ('Date', 'gift-voucher'); ?></th>399 <th><?php echo esc_html ('Action', 'gift-voucher'); ?></th>400 <th><?php echo esc_html ('Note', 'gift-voucher'); ?></th>401 <th><?php echo esc_html ('Amount', 'gift-voucher'); ?></th>402 <th><?php echo esc_html ('Balance', 'gift-voucher'); ?></th>398 <th><?php echo esc_html_('Date', 'gift-voucher'); ?></th> 399 <th><?php echo esc_html_('Action', 'gift-voucher'); ?></th> 400 <th><?php echo esc_html_('Note', 'gift-voucher'); ?></th> 401 <th><?php echo esc_html_('Amount', 'gift-voucher'); ?></th> 402 <th><?php echo esc_html_('Balance', 'gift-voucher'); ?></th> 403 403 </tr> 404 404 <?php -
gift-voucher/trunk/include/voucher_list.php
r3179739 r3258149 46 46 <?php if ($items): ?><input type="hidden" name="items" value="<?php echo esc_html("1"); ?>"><?php endif; ?> 47 47 <input type="hidden" name="search" value="<?php echo esc_html("1"); ?>"> 48 <input type="text" name="voucher_code" autocomplete="off" placeholder=" Search by Gift voucher code or email" value="<?php echo esc_html($voucher_code); ?>" style="width: 400px;">48 <input type="text" name="voucher_code" autocomplete="off" placeholder="<?php echo esc_attr__('Search by Gift voucher code or email', 'gift-voucher'); ?>" value="<?php echo esc_html($voucher_code); ?>" style="width: 400px;"> 49 49 <input type="submit" class="button button-primary" value="<?php echo esc_html("Search"); ?>"> 50 50 </form>
Note: See TracChangeset
for help on using the changeset viewer.