diff options
| author | 2024-09-21 12:34:38 +0400 | |
|---|---|---|
| committer | 2024-09-21 10:34:38 +0200 | |
| commit | e9398f3f8cb703ec68422509ff50c97beae83c4d (patch) | |
| tree | b81d85729cd7f70081a2ef252e4d1ca8ba6aac6f /app/views/subscription/add.phtml | |
| parent | e165cf6b4394118613d2eff36fc0a06c2c661641 (diff) | |
Add HTTP Headers option (#6820)
* Add new strings to lang files
* Add HTTP headers field to feed forms
* A few improvements
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'app/views/subscription/add.phtml')
| -rw-r--r-- | app/views/subscription/add.phtml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/subscription/add.phtml b/app/views/subscription/add.phtml index 2aefd3c3e..943fdc52b 100644 --- a/app/views/subscription/add.phtml +++ b/app/views/subscription/add.phtml @@ -353,6 +353,14 @@ </select> </div> </div> + + <div class="form-group"> + <label class="group-name" for="http_headers"><?= _t('sub.feed.http_headers') ?></label> + <div class="group-controls"> + <textarea class="valid-json" id="http_headers" name="http_headers" rows="3" cols="64" spellcheck="false"></textarea> + <p class="help"><?= _i('help') ?> <?= _t('sub.feed.http_headers_help') ?></p> + </div> + </div> </details> <div class="form-group form-actions"> |
