SHARE
TWEET

Untitled

BakerMan Jan 31st, 2014 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         /**
  2.          * Facilitates the admin UI.
  3.          *
  4.          * @param $context
  5.          */
  6.         public function settings( $context ) {
  7.                 $this->ui[$context]->text( 0, array(
  8.                         'name' => 'username',
  9.                         'value' => $this->settings['username'][$context],
  10.                         'size' => 32,
  11.                         'label' => __('Enter your Rackspace Cloud Files username','Shopp')
  12.                 ) );
  13.  
  14.                 $this->ui[$context]->text( 1, array(
  15.                         'name' => 'apikey',
  16.                         'value' => $this->settings['apikey'][$context],
  17.                         'size' => 32,
  18.                         'label' => __( 'Enter your Rackspace Cloud Files API key', 'Shopp' )
  19.                 ) );
  20.  
  21.                 $this->ui[$context]->text( 0, array(
  22.                         'name' => 'container',
  23.                         'value' => $this->settings['apikey'][$context],
  24.                         'size' => 32,
  25.                         'label' => __( 'Container to use for storage', 'Shopp' )
  26.                 ) );
  27.  
  28.                 $this->ui[$context]->menu( 1, array(
  29.                         'name' => 'geopoint',
  30.                         'value' => $this->settings['geopoint'][$context],
  31.                         'label' => __( 'Preferred region', 'Shopp' )
  32.                 ), $this->geopoints );
  33.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top