Add Url to storage for S3 support
This commit is contained in:
parent
3056dd240d
commit
a2452db3de
|
@ -34,6 +34,7 @@ if ( $_REQUEST['id'] ) {
|
||||||
$newStorage['Name'] = translate('NewStorage');
|
$newStorage['Name'] = translate('NewStorage');
|
||||||
$newStorage['Path'] = '';
|
$newStorage['Path'] = '';
|
||||||
$newStorage['Type'] = 'local';
|
$newStorage['Type'] = 'local';
|
||||||
|
$newStorage['Url'] = '';
|
||||||
$newStorage['Scheme'] = 'Medium';
|
$newStorage['Scheme'] = 'Medium';
|
||||||
$newStorage['StorageId'] = '';
|
$newStorage['StorageId'] = '';
|
||||||
$newStorage['ServerId'] = '';
|
$newStorage['ServerId'] = '';
|
||||||
|
@ -75,6 +76,10 @@ xhtmlHeaders(__FILE__, translate('Storage')." - ".$newStorage['Name'] );
|
||||||
<th scope="row"><?php echo translate('Path') ?></th>
|
<th scope="row"><?php echo translate('Path') ?></th>
|
||||||
<td><input type="text" name="newStorage[Path]" value="<?php echo $newStorage['Path'] ?>"/></td>
|
<td><input type="text" name="newStorage[Path]" value="<?php echo $newStorage['Path'] ?>"/></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th scope="row"><?php echo translate('Url') ?></th>
|
||||||
|
<td><input type="text" name="newStorage[Url]" value="<?php echo $newStorage['Url'] ?>"/></td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="row"><?php echo translate('Server') ?></th>
|
<th scope="row"><?php echo translate('Server') ?></th>
|
||||||
<td><?php echo htmlSelect( 'newStorage[ServerId]', array(''=>'Remote / No Specific Server') + $ServersById, $newStorage['ServerId'] ); ?></td>
|
<td><?php echo htmlSelect( 'newStorage[ServerId]', array(''=>'Remote / No Specific Server') + $ServersById, $newStorage['ServerId'] ); ?></td>
|
||||||
|
|
Loading…
Reference in New Issue