$_REQUEST['id'])) ) ) { $view = 'error'; return; } } else { $newStorage = new Storage(); $newStorage->Name(translate('NewStorage')); } $type_options = array( 'local' => translate('Local'), 's3fs' => translate('s3fs') ); $scheme_options = array( 'Deep' => translate('Deep'), 'Medium' => translate('Medium'), 'Shallow' => translate('Shallow'), ); $servers = ZM\Server::find( null, array('order'=>'lower(Name)') ); $ServersById = array(); foreach ( $servers as $S ) { $ServersById[$S->Id()] = $S; } $focusWindow = true; xhtmlHeaders(__FILE__, translate('Storage').' - '.$newStorage->Name()); ?>
'Remote / No Specific Server') + $ServersById, $newStorage->ServerId()); ?>
Type()); ?>
Scheme()); ?>
DoDelete() ? 'checked="checked"' : '' ?>/>Yes DoDelete() ? '' : 'checked="checked"' ?>/>No
Enabled() ? 'checked="checked"' : '' ?>/>Yes Enabled() ? '' : 'checked="checked"' ?>/>No