Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Facilitates the admin UI.
- *
- * @param $context
- */
- public function settings( $context ) {
- $this->ui[$context]->text( 0, array(
- 'name' => 'username',
- 'value' => $this->settings['username'][$context],
- 'size' => 32,
- 'label' => __('Enter your Rackspace Cloud Files username','Shopp')
- ) );
- $this->ui[$context]->text( 1, array(
- 'name' => 'apikey',
- 'value' => $this->settings['apikey'][$context],
- 'size' => 32,
- 'label' => __( 'Enter your Rackspace Cloud Files API key', 'Shopp' )
- ) );
- $this->ui[$context]->text( 0, array(
- 'name' => 'container',
- 'value' => $this->settings['apikey'][$context],
- 'size' => 32,
- 'label' => __( 'Container to use for storage', 'Shopp' )
- ) );
- $this->ui[$context]->menu( 1, array(
- 'name' => 'geopoint',
- 'value' => $this->settings['geopoint'][$context],
- 'label' => __( 'Preferred region', 'Shopp' )
- ), $this->geopoints );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement