|
32 | 32 | <h4>@lang('PANOPTICON_EXTENSIONINSTALL_LBL_STEP_SELECT')</h4> |
33 | 33 |
|
34 | 34 | {{-- Site selection form --}} |
35 | | -<form action="@route('index.php?view=extensioninstall&task=review')" method="post" |
| 35 | +<form action="@route('index.php?view=extensioninstall')" method="post" |
36 | 36 | name="adminForm" id="adminForm"> |
37 | 37 |
|
38 | 38 | {{-- Filters --}} |
|
50 | 50 | </button> |
51 | 51 | </div> |
52 | 52 | </div> |
| 53 | + {{-- Site-level filters: CMS Version, PHP Version, Update Status --}} |
| 54 | + <div class="d-flex flex-column flex-lg-row justify-content-lg-center gap-2 mt-2"> |
| 55 | + <div> |
| 56 | + <label class="visually-hidden" for="cmsFamily">@lang('PANOPTICON_EXTENSIONINSTALL_LBL_CMS_VERSION')</label> |
| 57 | + {{ $this->container->html->select->genericList( |
| 58 | + array_merge(['' => $this->getLanguage()->text('PANOPTICON_EXTENSIONINSTALL_LBL_CMSVERSION_SELECT')], $this->knownCmsVersions), |
| 59 | + 'cmsFamily', |
| 60 | + ['class' => 'form-select akeebaGridViewAutoSubmitOnChange'], |
| 61 | + selected: $this->getModel('site')->getState('cmsFamily'), |
| 62 | + idTag: 'cmsFamily', |
| 63 | + translate: false |
| 64 | + ) }} |
| 65 | + </div> |
| 66 | + <div> |
| 67 | + <label class="visually-hidden" for="phpFamily">@lang('PANOPTICON_EXTENSIONINSTALL_LBL_PHP_VERSION')</label> |
| 68 | + {{ $this->container->html->select->genericList( |
| 69 | + array_merge(['' => $this->getLanguage()->text('PANOPTICON_EXTENSIONINSTALL_LBL_PHPVERSION_SELECT')], $this->knownPhpVersions), |
| 70 | + 'phpFamily', |
| 71 | + ['class' => 'form-select akeebaGridViewAutoSubmitOnChange'], |
| 72 | + selected: $this->getModel('site')->getState('phpFamily'), |
| 73 | + idTag: 'phpFamily', |
| 74 | + translate: false |
| 75 | + ) }} |
| 76 | + </div> |
| 77 | + <div> |
| 78 | + <label class="visually-hidden" for="extUpdates">@lang('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_UPDATES')</label> |
| 79 | + {{ $this->container->html->select->genericList( |
| 80 | + [ |
| 81 | + '' => $this->getLanguage()->text('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_UPDATES_SELECT'), |
| 82 | + '1' => $this->getLanguage()->text('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_UPDATES_YES'), |
| 83 | + '0' => $this->getLanguage()->text('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_UPDATES_NO'), |
| 84 | + ], |
| 85 | + 'extUpdates', |
| 86 | + ['class' => 'form-select akeebaGridViewAutoSubmitOnChange'], |
| 87 | + selected: $this->getModel('site')->getState('extUpdates'), |
| 88 | + idTag: 'extUpdates', |
| 89 | + translate: false |
| 90 | + ) }} |
| 91 | + </div> |
| 92 | + </div> |
| 93 | + {{-- Extension-level filters: Name, Author, Author URL --}} |
| 94 | + <div class="d-flex flex-column flex-lg-row justify-content-lg-center gap-2 mt-2"> |
| 95 | + <div> |
| 96 | + <label class="visually-hidden" for="ext_name">@lang('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_NAME')</label> |
| 97 | + {{ $this->container->html->select->genericList( |
| 98 | + $this->extensionNames, |
| 99 | + 'ext_name', |
| 100 | + ['class' => 'form-select akeebaGridViewAutoSubmitOnChange'], |
| 101 | + selected: $this->getModel('site')->getState('ext_name'), |
| 102 | + idTag: 'ext_name', |
| 103 | + translate: false |
| 104 | + ) }} |
| 105 | + </div> |
| 106 | + <div> |
| 107 | + <label class="visually-hidden" for="ext_author">@lang('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_AUTHOR')</label> |
| 108 | + {{ $this->container->html->select->genericList( |
| 109 | + $this->extensionAuthors, |
| 110 | + 'ext_author', |
| 111 | + ['class' => 'form-select akeebaGridViewAutoSubmitOnChange'], |
| 112 | + selected: $this->getModel('site')->getState('ext_author'), |
| 113 | + idTag: 'ext_author', |
| 114 | + translate: false |
| 115 | + ) }} |
| 116 | + </div> |
| 117 | + <div> |
| 118 | + <label class="visually-hidden" for="ext_author_url">@lang('PANOPTICON_EXTENSIONINSTALL_LBL_EXT_AUTHOR_URL')</label> |
| 119 | + {{ $this->container->html->select->genericList( |
| 120 | + $this->extensionAuthorUrls, |
| 121 | + 'ext_author_url', |
| 122 | + ['class' => 'form-select akeebaGridViewAutoSubmitOnChange'], |
| 123 | + selected: $this->getModel('site')->getState('ext_author_url'), |
| 124 | + idTag: 'ext_author_url', |
| 125 | + translate: false |
| 126 | + ) }} |
| 127 | + </div> |
| 128 | + </div> |
53 | 129 | </div> |
54 | 130 |
|
55 | 131 | <table class="table table-striped align-middle" id="adminList" role="table"> |
|
161 | 237 | </table> |
162 | 238 |
|
163 | 239 | <input type="hidden" name="site_ids" id="site_ids" value=""> |
164 | | - <input type="hidden" name="task" id="task" value="review"> |
| 240 | + <input type="hidden" name="task" id="task" value="main"> |
165 | 241 | <input type="hidden" name="token" value="@token()"> |
166 | 242 | </form> |
0 commit comments