public function no_items() { Shopp::_e('No payment methods, yet.'); }
public function no_items() { Shopp::_e('No Shopp pages available! The sky is falling! Contact the Help Desk, stat!'); }
public function no_items() { Shopp::_e('No predefined image settings available, yet.'); }
function order_address_editor() { ob_start(); ?> <div class="editor"> <p class="inline-fields"> <span> <input type="text" name="${type}[firstname]" id="${type}-firstname" value="${firstname}" /><br /> <label for="address-city"><?php _e('First Name', 'Shopp'); ?> </label> </span> <span> <input type="text" name="${type}[lastname]" id="${type}-lastname" value="${lastname}" /><br /> <label for="address-city"><?php _e('Last Name', 'Shopp'); ?> </label> </span> </p> <p> <input type="text" name="${type}[address]" id="${type}-address" value="${address}" /><br /> <input type="text" name="${type}[xaddress]" id="${type}-xaddress" value="${xaddress}" /><br /> <label for="address-address"><?php _e('Street Address', 'Shopp'); ?> </label> </p> <p class="inline-fields"> <span> <input type="text" name="${type}[city]" id="${type}-city" value="${city}" size="14" /><br /> <label for="address-city"><?php _e('City', 'Shopp'); ?> </label> </span> <span id="${type}-state-inputs"> <select name="${type}[state]" id="${type}-state-menu">${statemenu}</select> <input type="text" name="${type}[state]" id="${type}-state" value="${state}" size="12" disabled="disabled" class="hidden" /> <label for="address-state"><?php _e('State / Province', 'Shopp'); ?> </label> </span> <span> <input type="text" name="${type}[postcode]" id="${type}-postcode" value="${postcode}" size="10" /><br /> <label for="address-postcode"><?php _e('Postal Code', 'Shopp'); ?> </label> </span> <span> <select name="${type}[country]" id="${type}-country">${countrymenu}</select> <label for="address-country"><?php _e('Country', 'Shopp'); ?> </label> </span> </p> <input type="submit" id="cancel-edit-address" name="cancel-edit-address" value="<?php Shopp::_e('Cancel'); ?> " class="button-secondary" /> <div class="alignright"> <input type="submit" name="submit-address" value="<?php Shopp::_e('Update'); ?> " class="button-primary" /> </div> </div> <?php return ob_get_clean(); }
public function no_items() { Shopp::_e('No tax rates, yet.'); }
<?php $even = !$even; } } ?> </ul> </div> <?php } else { ?> <button type="submit" id="shopp-services-helper" name="shopp_services_helper" value="install" class="button-secondary"><?php Shopp::_e('Install Services Helper'); ?> </button> <p><?php Shopp::_e('Install the services helper to improve performance and reliability'); ?> <?php } ?> </td> </tr> <tr> <th scope="row" valign="top"><label for="rebuild-index"><?php _e('Search Index', 'Shopp'); ?> </label></th> <td><button type="button" id="rebuild-index" name="rebuild" class="button-secondary"><?php _e('Rebuild Product Search Index', 'Shopp'); ?>
<?php wp_nonce_field('shopp-system-log'); ?> <?php if (count(ShoppErrorLogging()->tail(2)) > 1) { ?> <iframe id="logviewer" src="<?php echo esc_url($logurl); ?> "> <p>Loading log file...</p> </iframe> <p class="alignright"><a href="<?php echo esc_url($logurl); ?> " class="button" target="_blank"><?php Shopp::_e('Open in New Window'); ?> </a> <button name="resetlog" id="resetlog" value="resetlog" class="button"><?php Shopp::_e('Clear Log'); ?> </button></p> <?php } ?> </form> </div>
shopp_debug('A Shopp upgrade notification was sent.'); } Shopp::_em('### Upgrade Notice Sent An upgrade notice has been sent to the site administrator.'); ?> <?php } else { ?> <div class="error"><?php Shopp::_em('### Contact Your Site Administrator You will need to notify a site administrator to perform the upgrade.'); ?> </div> <div class="alignright"> <a href="<?php echo wp_nonce_url(add_query_arg('_shopp_upgrade_notice', true), 'shopp_upgrade_notice'); ?> " class="button-primary"><span class="shoppui-envelope-alt"> </span> <?php Shopp::_e('Send Upgrade Notice'); ?> </a> </div> <?php } } ?> </div>
<div class="wrap about-wrap"> <?php $this->heading(); ?> <p class="about-description"><?php Shopp::_e('Shopp is crafted by a talented team of professionals practicing the art and engineering of e-commerce.'); ?> </p> <?php $contributors = $this->contributors(); ?> <?php if (!empty($contributors)) { ?> <ul class="wp-people-group"> <?php foreach ($contributors as $contributor) { ?> <li class="wp-person"> <a href="<?php echo esc_url($contributor->link); ?> "><img src="<?php echo esc_url($contributor->avatar_url); ?> " width="64" height="64" class="gravatar" alt="<?php echo esc_html($contributor->login);
</form> <?php return; } ?> <form action="<?php echo $this->url(); ?> " method="post" id="shipping-address-editor"></form> <div class="display"> <form action="<?php echo $this->url(); ?> " method="post"> <input type="submit" id="edit-shipping-address" name="edit-shipping-address" value="<?php Shopp::_e('Edit'); ?> " class="button-secondary button-edit" /> </form> <address><big><?php echo esc_html($Purchase->shipname); ?> </big><br /> <?php echo esc_html($Purchase->shipaddress); ?> <br /> <?php if (!empty($Purchase->shipxaddress)) { echo esc_html($Purchase->shipxaddress) . "<br />";
?> :</strong></td><td>state:"new york"<br />province:ontario</td></tr> <tr><td><strong><?php Shopp::_e('Zip/Postal Codes', 'Shopp'); ?> :</strong></td><td>zip:95131<br />postcode:M1P1C0</td></tr> <tr><td><strong><?php Shopp::_e('Country', 'Shopp'); ?> :</strong></td><td>country:US</td></tr> <tr><td><strong><?php Shopp::_e('Product', 'Shopp'); ?> :</strong></td><td>product:"acme widget"<br />product:widget<br />product:SKU123</td></tr> <tr><td><strong><?php Shopp::_e('Discounts', 'Shopp'); ?> :</strong></td><td>discount:"25% off"<br />discount:code123</td></tr> </table> <?php $table = ob_get_clean(); $Search = Shopp::_mx('### Search Using the search field, you can find orders by entering a specific order number, the customer’s email address or any part of the customer’s name. Click the **Search Orders** button to run the search. ### Advanced Search Advanced search operations can be performed by using specially formatted search terms. The format for searching specific order information follows a pattern that includes a keyword identifying what order information to search followed by a colon (:) and a search term: All of these advanced searches can be used:
public function no_items() { Shopp::_e('No orders, yet.'); }
function notes_meta_box($Purchase) { global $Notes; add_filter('shopp_order_note', 'esc_html'); add_filter('shopp_order_note', 'wptexturize'); add_filter('shopp_order_note', 'convert_chars'); add_filter('shopp_order_note', 'make_clickable'); add_filter('shopp_order_note', 'force_balance_tags'); add_filter('shopp_order_note', 'convert_smilies'); add_filter('shopp_order_note', 'wpautop'); ?> <form action="<?php echo ShoppAdminController::url(array('id' => $Purchase->id)); ?> " method="post"> <?php if (!empty($Notes->meta)) { ?> <table> <?php foreach ($Notes->meta as $Note) { $User = get_userdata($Note->value->author); ?> <tr> <th class="column-author column-username"><?php echo get_avatar($User->ID, 32); ?> <?php echo esc_html($User->display_name); ?> <br /> <span><?php echo _d(get_option('date_format'), $Note->created); ?> </span> <span><?php echo _d(get_option('time_format'), $Note->created); ?> </span></th> <td> <div id="note-<?php echo $Note->id; ?> "> <?php if ($Note->value->sent == 1) { ?> <p class="notesent"><?php _e('Sent to the Customer:', 'Shopp'); ?> </p> <?php } ?> <?php echo apply_filters('shopp_order_note', $Note->value->message); ?> </div> <p class="notemeta"> <span class="notectrls"> <button type="submit" name="delete-note[<?php echo $Note->id; ?> ]" value="delete" class="button-secondary deletenote"><small><?php Shopp::_e('Delete'); ?> </small></button> <button type="button" name="edit-note[<?php echo $Note->id; ?> ]" value="edit" class="button-secondary editnote"><small><?php Shopp::_e('Edit'); ?> </small></button> <?php do_action('shopp_order_note_controls'); ?> </span> </p> </td> </tr> <?php } ?> </table> <?php } ?> <div id="notation"> <p><label for="notes"><?php _e('New Note', 'Shopp'); ?> :</label><br /> <textarea name="note" id="note" cols="50" rows="10"></textarea></p> <?php do_action('shopp_order_new_note_ui'); ?> <p class="alignright"> <button type="button" name="cancel-note" value="cancel" id="cancel-note-button" class="button-secondary"><?php _e('Cancel', 'Shopp'); ?> </button> <button type="submit" name="save-note" value="save" class="button-primary"><?php _e('Save Note', 'Shopp'); ?> </button> </p> <div class="alignright options"> <input type="checkbox" name="send-note" id="send-note" value="1"> <label for="send-note"><?php _e('Send to customer', 'Shopp'); ?> </label> </div> </div> <p class="alignright" id="add-note"> <button type="button" name="add-note" value="add" id="add-note-button" class="button-secondary"><?php _e('Add Note', 'Shopp'); ?> </button></p> <br class="clear" /> </form> <?php }
?> </td> <td><span class="fn"><?php echo esc_html("{$Purchase->firstname} {$Purchase->lastname}"); ?> </span> <?php if (!empty($Purchase->company)) { echo '<br /> <div class="org">' . esc_html($Purchase->company) . '</div>'; } ?> <div class="actions"><a href="<?php echo $customer_url; ?> "><?php Shopp::_e('View'); ?> </a><?php if ('wordpress' == $accounts && !empty($WPUser->user_login)) { ?> | <a href="<?php echo esc_attr($edituser_url); ?> "><span class="dashicons dashicons-admin-users"></span> <?php echo esc_html($WPUser->user_login); ?> </a><?php } ?> </div> </td>
?> <br /><?php _e('Enable to restrict downloads to the IP address the product is purchased from.', 'Shopp'); ?> </label></td> </tr> <tr> <th scope="row" valign="top"><label for="download-quantity"><?php Shopp::_e('Download Quantity'); ?> </label></th> <td><input type="hidden" name="settings[download_quantity]" value="off" /> <label for="download-quantity"><input type="checkbox" name="settings[download_quantity]" id="download-quantity" value="on" <?php echo shopp_setting_enabled('download_quantity') ? 'checked="checked" ' : ''; ?> /> <?php Shopp::_e('Enabled'); ?> </label><br /> <?php Shopp::_e('Allow shoppers to change the item quantity for downloads.'); ?> </td> </tr> </table> <p class="submit"><input type="submit" class="button-primary" name="save" value="<?php _e('Save Changes', 'Shopp'); ?> " /></p>
</td> </tr> <tr class="total"> <td scope="row" colspan="<?php echo $colspan; ?> " class="label"><?php _e('Total', 'Shopp'); ?> </td> <td class="money"><input type="text" id="order-total" name="totals[total]" value="<?php echo money($Purchase->total); ?> " size="7" class="money selectall"> <input type="submit" id="save-totals" name="save-totals" value="<?php Shopp::_e('Save'); ?> " class="button-primary"></td> </tr> </tfoot> <tbody id="order-items" class="list items"> <?php if (count($Purchase->purchased) > 0) { ?> <?php $columns = get_column_headers($this->id); $hidden = get_hidden_columns($this->id); $even = false; foreach ($Purchase->purchased as $id => $Item) {
<table class="widefat history"> <tfoot> <tr class="balance"> <td colspan="3"><?php Shopp::_e('Order Balance'); ?> </td> <td><?php echo money($Purchase->balance); ?> </td> </tr> </tfoot> <tbody> <?php foreach ($Purchase->events as $id => $Event) { echo apply_filters('shopp_order_manager_event', $Event); } ?> </tbody> </table>
</script> <?php $Table->display(); return; ?> <?php shopp_admin_screen_tabs(); ?> <div class="wrap shopp"> <div class="icon32"></div> <h2><?php Shopp::_e('Pages'); ?> <?php do_action('shopp_admin_notices'); ?> <form action="<?php echo esc_url($this->url); ?> " id="pages" method="post"> <div> <?php wp_nonce_field('shopp-settings-pages'); ?> </div>
<input type="text" name="company" id="company" value="<?php echo esc_attr($Customer->company); ?> " /> </p> <p class="inline-fields"> <span> <label for="email"><?php Shopp::_e('Email'); ?> <em><?php Shopp::_e('(required)'); ?> </em></label> <input type="text" name="email" id="email" value="<?php echo esc_attr($Customer->email); ?> " /> </span> <span> <label for="phone"><?php Shopp::_e('Phone'); ?> </label> <input type="text" name="phone" id="phone" value="<?php echo esc_attr($Customer->phone); ?> " /> </span> </p> </div>
?> </label></th> <td><select name="settings[country]" id="base_operations"> <option value=""> </option> <?php echo $countrymenu; ?> </select> <select name="settings[state]" id="base_operations_zone"<?php if (empty($statesmenu)) { ?> disabled="disabled" class="hide-if-no-js"<?php } else { ?> placeholder="<?php Shopp::_e('Select your %s…', strtolower(ShoppBaseLocale()->division())); ?> "<?php } ?> > <?php echo $statesmenu; ?> </select> <br /> <?php _e('Select your primary business location.', 'Shopp'); ?> <br /> <?php
</table> </form> <div class="tablenav"><?php $ListTable->pagination('bottom'); ?> </div> </div> <script type="text/javascript"> jQuery(document).ready(function($) { columns.init(pagenow); $('#selectall').change( function() { $('#categories-table th input').each( function () { if ( this.checked ) this.checked = false; else this.checked = true; }); }); $('#categories-table a.submitdelete').click(function () { if (confirm("<?php Shopp::_e('You are about to delete this category!\\n \'Cancel\' to stop, \'OK\' to delete.'); ?> ")) window.location = $(this).attr('href'); return false; }); }); </script>
" /> <?php } ?> <?php ShoppScreenOrders::navigation(); ?> <p id="post-search" class="search-box"> <input type="text" id="orders-search-input" class="search-input" name="s" value="<?php echo esc_attr($_GET['s']); ?> " /> <input type="submit" value="<?php Shopp::_e('Search Orders'); ?> " class="button" /> </p> <?php $Table->display(); ?> </div> <script type="text/javascript"> var lastexport = new Date(<?php echo date("Y,(n-1),j", shopp_setting('purchaselog_lastexport')); ?>
public function no_items() { Shopp::_e('No shipping methods, yet.'); }
</option> <option value="delete"><?php Shopp::esc_html_e('Delete'); ?> </option> </select> <input type="submit" value="<?php Shopp::esc_attr_e('Apply', 'Shopp'); ?> " name="apply" id="apply" class="button-secondary action" /> </div> <div class="alignleft actions"> <select name="status"> <option value=""><?php esc_html(Shopp::_e('View All Discounts')); ?> </option> <?php echo Shopp::menuoptions($states, $status, true); ?> </select> <select name="type"> <option value=""><?php Shopp::esc_html_e('View All Types'); ?> </option> <?php echo Shopp::menuoptions($types, $type, true); ?> </select>
?> :</strong></td><td>address:"1 main st"</td></tr> <tr><td><strong><?php Shopp::_e('City'); ?> :</strong></td><td>city:"san jose"<br />city:columbus</td></tr> <tr><td><strong><?php Shopp::_e('State/Province'); ?> :</strong></td><td>state:"new york"<br />province:ontario</td></tr> <tr><td><strong><?php Shopp::_e('Zip/Postal Codes'); ?> :</strong></td><td>zip:95131<br />postcode:M1P1C0</td></tr> <tr><td><strong><?php Shopp::_e('Country'); ?> :</strong></td><td>country:US</td></tr> </table> <?php $table = ob_get_clean(); $Search = Shopp::_mx('### Search Using the search field, you can find orders by entering the customer's email address or any part of the customer's name. Click the **Search Customers** button to run the search. ### Advanced Search Also like the order manager, advanced search operations can be performed by using specially formatted search terms. The format for searching specific order information follows a pattern that includes a keyword, identifying what order information to search, followed by a colon (:) and the search term. All of these advanced searches can be used:
} ?> </td> <?php break; case 'featured': ?> <td class="<?php echo esc_attr(join(' ', $classes)); ?> "> <span class="feature<?php echo Shopp::str_true($Product->featured) ? ' featured ' : ' '; ?> shoppui-star"><span class="hidden"><?php Shopp::_e('Featured'); ?> </span></span> </td> <?php break; } // end switch ($column) } // end foreach ($columns) ?> <!-- <th scope="row" class='move-column'><button type="button" name="top" alt="<?php $title = Shopp::__('Move to the top…'); echo $title; ?>
?> </label></th> <td><input type="hidden" name="settings[inventory]" value="off" /><input type="checkbox" name="settings[inventory]" value="on" id="inventory-toggle"<?php if (shopp_setting_enabled('inventory')) { echo ' checked="checked"'; } ?> /><label for="inventory-toggle"> <?php Shopp::_e('Enable inventory tracking', 'Shopp'); ?> </label><br /> <?php Shopp::_e('Enables inventory tracking. Disable if you are exclusively selling intangible products or not keeping track of product stock.'); ?> </td> </tr> </table> <p class="submit"><input type="submit" class="button-primary" name="save" value="<?php Shopp::_e('Save Changes'); ?> " /></p> <script type="text/javascript"> /* <![CDATA[ */ var zones_url = '<?php echo $zones_ajaxurl; ?> '; /* ]]> */ </script>
_e('Postal Code', 'Shopp'); ?> </label> <input type="text" name="${type}[postcode]" id="${type}-postcode" value="${postcode}" size="10" /><br /> </span> <span> <label for="address-country"><?php _e('Country', 'Shopp'); ?> </label> <select name="${type}[country]" id="${type}-country"> <?php echo Shopp::menuoptions($Purchase->_countries, 'billing' == $type ? $Purchase->country : $Purchase->shipcountry, true); ?> </select> </span> </p> <div class="editing-controls"> <input type="submit" id="cancel-edit-address" name="cancel-edit-address" value="<?php Shopp::_e('Cancel'); ?> " class="button-secondary" /> <div class="alignright"> <input type="submit" name="submit-address" value="<?php Shopp::_e('Update'); ?> " class="button-primary" /> </div> </div> </div>
?> <h2><?php Shopp::_e('Order #%d', (int) $Purchase->id); ?> <a href="<?php echo esc_url(add_query_arg(array('page' => $this->page(), 'id' => 'new'), admin_url('admin.php'))); ?> " class="add-new-h2"><?php Shopp::_e('Add New'); ?> </a> </h2> <?php } else { ?> <h2><?php Shopp::_e('New Order'); ?> </h2> <?php } ?> <?php $this->notices(); ?> <?php $totalsedit = isset($_GET['edit']) && 'totals' == $_GET['edit']; $columns = get_column_headers($this->screen); $hidden = get_hidden_columns($this->screen);
public function no_items() { Shopp::_e('No shipment boxes defined, yet.'); }