예제 #1
0
 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();
 }
예제 #2
0
파일: UI.php 프로젝트: crunnells/shopp
 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();
 }
예제 #3
0
파일: Discounts.php 프로젝트: msigley/shopp
 public function box()
 {
     $this->references['types_menu'] = menuoptions(ShoppScreenDiscountEditor::types(), $this->references['Promotion']->type, true);
     parent::box();
 }
예제 #4
0
 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();
 }