master
Jean-Christian Paul Denis 2023-11-04 11:46:53 +01:00
parent e2b7c63504
commit 2bbf822463
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 6 additions and 6 deletions

View File

@ -139,19 +139,19 @@ class Manage extends Process
// destination // destination
(new Para())->items([ (new Para())->items([
(new Label(__('Destination:')))->for('filesalias_destination')->class('required'), (new Label(__('Destination:')))->for('filesalias_destination')->class('required'),
(new Input('filesalias_destination'))->size(70)->maxlenght(255), (new Input('filesalias_destination'))->size(70)->maxlength(255),
]), ]),
(new Note())->text(__('Destination file must be in media manager.'))->class('form-note'), (new Note())->text(__('Destination file must be in media manager.'))->class('form-note'),
// url // url
(new Para())->items([ (new Para())->items([
(new Label(__('URL (alias):')))->for('filesalias_url')->class('required'), (new Label(__('URL (alias):')))->for('filesalias_url')->class('required'),
(new Input('filesalias_url'))->size(70)->maxlenght(255), (new Input('filesalias_url'))->size(70)->maxlength(255),
]), ]),
(new Note())->text(__('Leave empty to get a randomize alias.'))->class('form-note'), (new Note())->text(__('Leave empty to get a randomize alias.'))->class('form-note'),
// password // password
(new Para())->items([ (new Para())->items([
(new Label(__('Password:')))->for('filesalias_password')->class('required'), (new Label(__('Password:')))->for('filesalias_password')->class('required'),
(new Input('filesalias_password'))->size(70)->maxlenght(255), (new Input('filesalias_password'))->size(70)->maxlength(255),
]), ]),
// disposable // disposable
(new Para())->items([ (new Para())->items([
@ -198,13 +198,13 @@ class Manage extends Process
$lines .= '<tr class="line" id="l_' . $i . '">' . $lines .= '<tr class="line" id="l_' . $i . '">' .
'<td>' . '<td>' .
(new Input(['a[' . $i . '][filesalias_destination]']))->size(50)->maxlenght(255)->value(Html::escapeHTML($destination))->render() . (new Input(['a[' . $i . '][filesalias_destination]']))->size(50)->maxlength(255)->value(Html::escapeHTML($destination))->render() .
'</td>' . '</td>' .
'<td>' . '<td>' .
(new Input(['a[' . $i . '][filesalias_url]']))->size(50)->maxlenght(255)->value(Html::escapeHTML($url))->render() . (new Input(['a[' . $i . '][filesalias_url]']))->size(50)->maxlength(255)->value(Html::escapeHTML($url))->render() .
'<a href="' . $full . '">' . __('link') . '</a></td>' . '<a href="' . $full . '">' . __('link') . '</a></td>' .
'<td>' . '<td>' .
(new Input(['a[' . $i . '][filesalias_password]']))->size(50)->maxlenght(255)->value(Html::escapeHTML($password))->render() . (new Input(['a[' . $i . '][filesalias_password]']))->size(50)->maxlength(255)->value(Html::escapeHTML($password))->render() .
'</td>' . '</td>' .
'<td class="maximal">' . '<td class="maximal">' .
(new Checkbox(['a[' . $i . '][filesalias_disposable]'], $disposable))->value(1)->render() . (new Checkbox(['a[' . $i . '][filesalias_disposable]'], $disposable))->value(1)->render() .