public function get_pre_configuration_middlesection_template() {
global $updraftplus_admin;
$classes = $this->get_css_classes();
if (!function_exists('json_last_error')) {
$updraftplus_admin->show_double_warning('<strong>'.__('Warning', 'updraftplus').':</strong> '.sprintf(__('Your web server\'s PHP installation does not included a required module (%s). Please contact your web hosting provider\'s support.', 'updraftplus'), 'json').' '.sprintf(__("UpdraftPlus's %s module <strong>requires</strong> %s. Please do not file any support requests; there is no alternative.", 'updraftplus'), 'Cloud Files', 'json'), 'cloudfiles', false);
}
echo '<p>' . __('Get your API key <ahref="https://mycloud.rackspace.com/">from your Rackspace Cloud console</a> (read instructions <ahref="http://www.rackspace.com/knowledge_center/article/rackspace-cloud-essentials-1-generating-your-api-key">here</a>), then pick a container name to use for storage. This container will be created for you if it does not already exist.', 'updraftplus').' <ahref="'.apply_filters("updraftplus_com_link","https://updraftplus.com/faqs/there-appear-to-be-lots-of-extra-files-in-my-rackspace-cloud-files-container/").'">'.__('Also, you should read this important FAQ.', 'updraftplus').'</a></p>';
}
/**
* This gives the partial template string to the settings page for the CloudFiles settings.
*
* @return String - the partial template, ready for substitutions to be carried out
*/
public function get_configuration_middlesection_template() {
global $updraftplus_admin;
$classes = $this->get_css_classes();
$template_str = '
<trclass="'.$classes.'">
<thtitle="'.__('Accounts created at rackspacecloud.com are US accounts; accounts created at rackspace.co.uk are UK accounts.', 'updraftplus').'">'.__('US or UK-based Rackspace Account', 'updraftplus').':</th>
<selectdata-updraft_settings_test="authurl"'.$this->output_settings_field_name_and_id('authurl', true).' title="'.__('Accounts created at rackspacecloud.com are US-accounts; accounts created at rackspace.co.uk are UK-based', 'updraftplus').'">
'.apply_filters('updraft_cloudfiles_apikeysetting', '<ahref="'.apply_filters("updraftplus_com_link","https://updraftplus.com/shop/cloudfiles-enhanced/").'"><em>'.__('To create a new Rackspace API sub-user and API key that has access only to this Rackspace container, use this add-on.', 'updraftplus').'</em></a>').'