jQuery(document).ready( function($) { var m = { none:<?php Shopp::_jse('Select some discounts!', 'Shopp'); ?> , enable:<?php Shopp::_jse('Are you sure you want to enable the selected discounts?', 'Shopp'); ?> , disable:<?php Shopp::_jse('Are you sure you want to disable the selected discounts?', 'Shopp'); ?> , delete:<?php Shopp::_jse('Are you sure you want to delete the selected discounts?', 'Shopp'); ?> },form = $('#discounts'); columns.init(pagenow); $('#selectall').change(function() { form.find('th input').each( function () { var $this = $(this),checked = $(this).attr('checked'); $this.attr('checked',!checked); }); }); $('#actions').change(function () { var $this = $(this),action = $this.val(); if (form.find('input.selected:checked').size() == 0) { alert(m.none); return $this.val(''); }
?> " size="30" tabindex="1" autocomplete="off" /> </div> <div class="inside"> <?php if ('' != get_option('permalink_structure') && !empty($Product->id)) { ?> <div id="edit-slug-box"><strong><?php _e('Permalink', 'Shopp'); ?> :</strong> <span id="sample-permalink"><?php echo $permalink; ?> <span id="editable-slug" title=<?php Shopp::_jse('Click to edit this part of the permalink', 'Shopp'); ?> ><?php echo esc_attr($Product->slug); ?> </span><span id="editable-slug-full"><?php echo esc_attr($Product->slug); ?> </span><?php echo user_trailingslashit(""); ?> </span> <span id="edit-slug-buttons"> <button type="button" class="edit button"><?php _e('Edit', 'Shopp'); ?>
/** * @deprecated Use Shopp::_jse() **/ function _jse($text, $domain = 'default') { Shopp::_jse($text, $domain); }