public function box() { extract($this->references); $this->references['wp_user'] = get_userdata($Customer->wpuser); $this->references['avatar'] = get_avatar($Customer->wpuser, 48); $this->references['userlink'] = add_query_arg('user_id', $Customer->wpuser, admin_url('user-edit.php')); parent::box(); }
public function box() { global $_nav_menu_placeholder, $nav_menu_selected_id; $this->references['navmenu_placeholder'] =& $_nav_menu_placeholder; $this->references['navmenu_selected'] =& $nav_menu_selected_id; parent::box(); }
public function box() { $this->references['types_menu'] = menuoptions(ShoppScreenDiscountEditor::types(), $this->references['Promotion']->type, true); parent::box(); }
public function box() { $options = array('disabled' => Shopp::__('Price ranges disabled'), 'auto' => Shopp::__('Build price ranges automatically'), 'custom' => Shopp::__('Use custom price ranges')); $this->references['pricemenu'] = menuoptions($options, $Category->pricerange, true); parent::box(); }