From 0436fca8763d08e9bcd88be523e11679f9932273 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Mon, 28 Oct 2024 12:36:07 +0100 Subject: [PATCH] Update site-edit template --- .../Controllers/Admin/AdminSiteController.php | 2 +- resources/views/themes/admin/site-edit.tpl | 298 ------------------ 2 files changed, 1 insertion(+), 299 deletions(-) diff --git a/app/Http/Controllers/Admin/AdminSiteController.php b/app/Http/Controllers/Admin/AdminSiteController.php index 78074b824..8ed860247 100644 --- a/app/Http/Controllers/Admin/AdminSiteController.php +++ b/app/Http/Controllers/Admin/AdminSiteController.php @@ -135,7 +135,7 @@ class AdminSiteController extends BasePageController $this->smarty->assign('lookup_reqids_ids', [0, 1, 2]); $this->smarty->assign('lookup_reqids_names', ['Disabled', 'Lookup Request IDs', 'Lookup Request IDs Threaded']); - $this->smarty->assign('coversPath', storage_path('covers/')); + $this->smarty->assign('coversPath', config('nntmux_settings.covers_path')); // return a list of audiobooks, mags, ebooks, technical and foreign books $result = Category::query()->whereIn('id', [Category::MUSIC_AUDIOBOOK, Category::BOOKS_MAGAZINES, Category::BOOKS_TECHNICAL, Category::BOOKS_FOREIGN])->get(['id', 'title']); diff --git a/resources/views/themes/admin/site-edit.tpl b/resources/views/themes/admin/site-edit.tpl index 7e8975789..76fa1b0f9 100644 --- a/resources/views/themes/admin/site-edit.tpl +++ b/resources/views/themes/admin/site-edit.tpl @@ -61,32 +61,6 @@ - - - - -
The absolute path to the place covers will be stored.
- - - - - : - - {html_options class="siteeditstyle" id="style" name='style' values=$themelist output=$themelist selected=$site->style} -
The theme folder which will be loaded for css and images and overriden - templates. -
- - - - - : - - {html_radios id="userselstyle" name='userselstyle' values=$yesno_ids output=$yesno_names selected=$site->userselstyle separator='
'} -
Should users be allowed to change their site theme or not..
- - - : @@ -95,17 +69,6 @@
Optional URL to prepend to external links
- - - : - - -
The number of recent forum posts to show in the 'recent forum posts' widget. - Set to 0 to disable. -
- - : @@ -115,173 +78,10 @@ -
- 3rd Party API Keys (will be removed, all values should be in .env) - - - - - - - - - - - - - - - - - - - - - - - -
- -
The Trakt.tv API v2 Client ID (SHA256 hash - 64 characters long string). Used - for movie and tv lookups. -
-
- - -
The Fanart.tv api key. Used for Fanart.tv lookups. Fanart.tv would appreciate - it if - you use this service to help them out by adding high quality images not already available on - TMDB. -
-
- - -
OmdbAPI key obtained from Omdb.Used for OmdbAPI lookups. This key is private - and needs - monthly pledge. You can check the info on OmdbAPI site http://www.omdbapi.com/. You need an - pledge - with poster api access (currently 5$/month). -
-
- - -
The giantbomb key. Used for game lookups.
-
- - -
The Anidb api key. Used for Anime lookups.
-
-
- -
- 3rd Party Application Paths - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
: - -
The path to an unrar binary, used in deep password detection and media info - grabbing. -
Use forward slashes in windows c:/path/to/unrar.exe
-
: - -
The path to the mediainfo - binary. Used for deep file media analysis. Use empty path to disable mediainfo checks -
Use forward slashes in windows c:/path/to/mediainfo.exe -
-
- -
The path to the ffmpeg or avconv binary. Used for making thumbnails and - video/audio - previews. -
Use forward slashes in windows c:/path/to/ffmpeg.exe -
-
: - -
The path to the lame - binary. Used for audio manipulation. -
Use forward slashes in windows c:/path/to/lame.exe
-
- - -
The path to the 7za/p7zip in Ubuntu 13.10 (7zip command line in windows) - binary, used - for grabbing nfos from compressed zip files. -
Use forward slashes in windows c:/path/to/7z.exe -
-
- -
The path to the timeout - binary. - This is used to limit the amount of time unrar/7zip/mediainfo/ffmpeg/avconv can run. - You can the time limit in the process additional section. - You can leave this empty to disable this. -
Use forward slashes in windows c:/path/to/timeout.exe -
-
- -
Path to magic number database. Windows' users should set this if they - have installed GNUWin file. *nix users can optionally set this to a file of their choice. -
-
-
Usenet Settings - - - - - - - - - - - - - - @@ -1109,17 +848,6 @@ - - - - - - - - - - - - - - - - - -
: - -
The directory where nzb files will be stored.
-
@@ -409,16 +209,6 @@
: - {html_radios id="compressedheaders" name='compressedheaders' values=$yesno_ids output=$yesno_names selected=$site->compressedheaders separator='
'} -
Some servers allow headers to be sent over in a compressed format. If enabled - this will use much less bandwidth, but processing times may increase. -
-
: @@ -590,14 +380,6 @@
Password Settings - - - - @@ -608,16 +390,6 @@ - - - - - - - - - - - - - - - -
: - {html_radios id="checkpasswordedrar" name='checkpasswordedrar' values=$passwd_ids output=$passwd_names selected=$site->checkpasswordedrar separator='
'} -
Whether to attempt to peek into every release, to see if rar files are - password protected.
-
: - {html_radios id="deletepasswordedrelease" name='deletepasswordedrelease' values=$yesno_ids output=$yesno_names selected=$site->deletepasswordedrelease separator='
'} -
Whether to delete releases which are passworded or potentially - passworded.
-
: @@ -659,26 +431,6 @@
- {html_radios id="lookuppar2" name='lookuppar2' values=$yesno_ids output=$yesno_names selected=$site->lookuppar2 separator='
'} -
Whether to attempt to find a better name for releases in misc->other using the - PAR2 - file.
NOTE: this can be slow depending on the group!
-
- {html_radios id="addpar2" name='addpar2' values=$yesno_ids output=$yesno_names selected=$site->addpar2 separator='
'} -
When going through PAR2 files, add them to the RAR file content list of the - NZB. -
-
@@ -792,19 +544,6 @@
- - {html_radios id="extractusingrarinfo" name='extractusingrarinfo' values=$yesno_ids output=$yesno_names selected=$site->extractusingrarinfo separator='
'} -
Whether to use rarinfo or 7zip/unrar directly to decompress zip/rar files. -
Using rarinfo is faster, but the extracted files are not as large which leads - to smaller video samples/ potentially black preview screenshots. -
-
- {html_radios id="alternate_nntp" name='alternate_nntp' values=$yesno_ids output=$yesno_names selected=$site->alternate_nntp separator='
'} -
This sets Postproccessing Additional/Nfo to use the alternate NNTP provider as - set in - config. -
-
@@ -1227,16 +955,6 @@
- -
The number of threads for local Request id processing. -
-
@@ -1277,24 +995,8 @@
: - {html_radios id="storeuserips" name='storeuserips' values=$yesno_ids output=$yesno_names selected=$site->storeuserips separator='
'} -
Whether to store the users ip address when they signup or login.
-
- {html_radios id="privateprofiles" name='privateprofiles' values=$yesno_ids output=$yesno_names selected=$site->privateprofiles separator='
'} -
Should we disallow users from accessing profiles other than - their own? (regardless of this setting admin/mod can access). -
-
: