From f31e8f1fa6128e599bfdb5ddf216ffee5d8a93b4 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Fri, 23 Dec 2016 09:29:25 +0100 Subject: [PATCH] Remove links to predb from themes --- www/themes/Charisma/templates/basepage.tpl | 2 - www/themes/Charisma/templates/predb.tpl | 384 ----------------- www/themes/Gamma/templates/predb.tpl | 384 ----------------- www/themes/Gentele/templates/basepage.tpl | 2 - www/themes/Omicron/templates/basepage.tpl | 1 - www/themes/Omicron/templates/predb.tpl | 386 ------------------ .../templates/admin}/predb.tpl | 0 7 files changed, 1159 deletions(-) delete mode 100755 www/themes/Charisma/templates/predb.tpl delete mode 100755 www/themes/Gamma/templates/predb.tpl delete mode 100755 www/themes/Omicron/templates/predb.tpl rename www/themes/{Gentele/templates => shared/templates/admin}/predb.tpl (100%) diff --git a/www/themes/Charisma/templates/basepage.tpl b/www/themes/Charisma/templates/basepage.tpl index f22a79f40..eb8682664 100755 --- a/www/themes/Charisma/templates/basepage.tpl +++ b/www/themes/Charisma/templates/basepage.tpl @@ -106,8 +106,6 @@
  • Browse Groups
  • -
  • PreDb
  • {/if} diff --git a/www/themes/Charisma/templates/predb.tpl b/www/themes/Charisma/templates/predb.tpl deleted file mode 100755 index 3527a832d..000000000 --- a/www/themes/Charisma/templates/predb.tpl +++ /dev/null @@ -1,384 +0,0 @@ -{if $site->adbrowse != ''} - {$site->adbrowse} -{/if} -

    {$page->title}

    -
    - -
    -{$pager} -
    -
    -
    -
    -
    -
    -
    - - - - - - - - - - - - - {foreach $results as $result} - - - - - - - - - - - - {/foreach} -
    Date Title Category Source Reqid Size Files
    - {$result.predate|date_format:"%Y-%m-%d %H:%M:%S"} - - {if isset($result.guid)} - - 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"} - - {else} - 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"} - {/if} - - {* Console *} - {* Xbox 360 *} - {if $result.category == 'XBOX360'} - Console - Xbox - 360 - {/if} - {* Movies *} - {if in_array($result.category, array('Movies'))} - Movies - {/if} - {* SD *} - {if in_array($result.category, array('movies-sd', 'Movies: STD', 'XVid'))} - Movies - SD - {/if} - {* HD *} - {if in_array($result.category, array('Movies: HD', 'X264'))} - Movies - HD - {/if} - {* BluRay *} - {if in_array($result.category, array('BLURAY'))} - Movies - BluRay - {/if} - {* DVD *} - {if in_array($result.category, array('DVDR', 'Movies: DVD'))} - DVD - {/if} - {* Audio *} - {if in_array($result.category, array('music-audio'))} - Audio - {/if} - {* MP3 *} - {if in_array($result.category, array('MP3', 'Music: MP3'))} - MP3 - {/if} - {* Video *} - {if in_array($result.category, array('MVid', 'Music: MVid'))} - Music - Videos - {/if} - {* Audiobook *} - {if in_array($result.category, array('audiobook', 'Audiobook'))} - Audiobook - {/if} - {* Lossless *} - {if in_array($result.category, array('FLAC', 'Music: FLAC'))} - Lossless - Music - {/if} - {* PC *} - {* 0day *} - {if in_array($result.category, array('0DAY', 'APPS', 'Apps: PC', 'Apps: Linux', 'DOX'))} - PC - 0DAY - {/if} - {* Mac *} - {if in_array($result.category, array('Apps: MAC', 'Games: MAC'))} - PC - Mac - {/if} - {* Phone-Other *} - {if in_array($result.category, array('Apps: Phone', 'PDA'))} - Phone - Other - {/if} - {* Games *} - {if in_array($result.category, array('GAMES', 'Games: PC', 'Games: Other'))} - PC - Games - {/if} - {* TV *} - {if in_array($result.category, array('TV'))} - TV - {/if} - {* SD *} - {if in_array($result.category, array('TV-DVDRIP', 'tv-sd', 'TV: STD', 'TV-XVid'))} - SDTV - {/if} - {* HD *} - {if in_array($result.category, array('tv-hd', 'TV: HD', 'TV-x264', 'TV-X264'))} - HDTV - {/if} - {* XXX *} - {if in_array($result.category, array('XXX'))} - XXX - {/if} - {* DVD *} - {if in_array($result.category, array('XXX: DVD'))} - XXX - DVD - {/if} - {* XviD *} - {if in_array($result.category, array('XXX: SD-CLIPS', 'XXX: MOVIES-SD'))} - XXX - SD - {/if} - {* x264 *} - {if in_array($result.category, array('XXX: HD-CLIPS', 'XXX: MOVIES-HD'))} - XXX - HD - {/if} - {* Other *} - {if in_array($result.category, array('xxx-videos'))} - XXX - Other - {/if} - {* Imageset *} - {if in_array($result.category, array('XXX-IMGSET'))} - XXX - Imagesets - {/if} - {* Books *} - {if in_array($result.category, array('EBOOK'))} - Ebooks - {/if} - {* Other *} - {if in_array($result.category, array('Other: E-Books'))} - Ebooks - Other - {/if} - {if in_array($result.category, array('', 'PRE'))} - N/A - {else} - {$result.category} - {/if} - - {if $result.source == abgx} - - abgx.net - - {/if} - {if in_array($result.source, array('abErotica', 'abMooVee', 'abTeeVee', 'abForeign'))} - - $result.source - - {/if} - {if $result.source|strpos:'#a.b.' != false} - - $result.source - - {/if} - {if $result.source == omgwtfnzbs} - - omgwtfnzbs - - {/if} - {if $result.source == orlydb} - - ORLYDB - - {/if} - {if $result.source == predbme} - - PreDB - - {/if} - {if $result.source == prelist} - - Prelist - - {/if} - {if $result.source == "#Pre@zenet"} - - Zenet IRC - - {/if} - {if $result.source == "#pre@corrupt"} - - Corrupt-Net - - {/if} - {if $result.source == srrdb} - - srrDB - - {/if} - {if $result.source == "#scnzb"} - - srrDB - - {/if} - {if $result.source == "#tvnzb"} - - srrDB - - {/if} - {if $result.source == "usenet-crawler"} - - Usenet-Crawler - - {/if} - {if $result.source == womble} - - Womble - - {/if} - {if $result.source == zenet} - - ZEnet - - {else} - {$result.source} - {/if} - - {if is_numeric($result.requestid) && $result.requestid != 0} - - {$result.requestid} - - {else} - N/A - {/if} - - {if not in_array($result.size, array('NULL', '', '0MB'))} - {if strpos($result.size, 'MB') != false && ($result.size|regex_replace:"/(\.\d|,|MB)+/":''|count_characters) > 3} - {math equation=($result.size|regex_replace:'/(\.\d|,|MB)+/':'' / 1024)|round}GB - {else} - {$result.size|regex_replace:"/(\.\d|,)+/":''} - {/if} - {else} - N/A - {/if} - - {if isset($result.files)} - {$result.files} - {else} - N/A - {/if} - - - -   - - - - -   - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - {$pager} -
    diff --git a/www/themes/Gamma/templates/predb.tpl b/www/themes/Gamma/templates/predb.tpl deleted file mode 100755 index 83143cb80..000000000 --- a/www/themes/Gamma/templates/predb.tpl +++ /dev/null @@ -1,384 +0,0 @@ -{if $site->adbrowse != ''} - {$site->adbrowse} -{/if} -

    {$page->title}

    -
    - -
    -{$pager} -
    -
    -
    -
    -
    -
    -
    - - - - - - - - - - - - - {foreach $results as $result} - - - - - - - - - - - - {/foreach} -
    Date Title Category Source Reqid Size Files
    - {$result.predate|date_format:"%Y-%m-%d %H:%M:%S"} - - {if isset($result.guid)} - - 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"} - - {else} - 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"} - {/if} - - {* Console *} - {* Xbox 360 *} - {if $result.category == 'XBOX360'} - Console - Xbox - 360 - {/if} - {* Movies *} - {if in_array($result.category, array('Movies'))} - Movies - {/if} - {* SD *} - {if in_array($result.category, array('movies-sd', 'Movies: STD', 'XVid'))} - Movies - SD - {/if} - {* HD *} - {if in_array($result.category, array('Movies: HD', 'X264'))} - Movies - HD - {/if} - {* BluRay *} - {if in_array($result.category, array('BLURAY'))} - Movies - BluRay - {/if} - {* DVD *} - {if in_array($result.category, array('DVDR', 'Movies: DVD'))} - DVD - {/if} - {* Audio *} - {if in_array($result.category, array('music-audio'))} - Audio - {/if} - {* MP3 *} - {if in_array($result.category, array('MP3', 'Music: MP3'))} - MP3 - {/if} - {* Video *} - {if in_array($result.category, array('MVid', 'Music: MVid'))} - Music - Videos - {/if} - {* Audiobook *} - {if in_array($result.category, array('audiobook', 'Audiobook'))} - Audiobook - {/if} - {* Lossless *} - {if in_array($result.category, array('FLAC', 'Music: FLAC'))} - Lossless - Music - {/if} - {* PC *} - {* 0day *} - {if in_array($result.category, array('0DAY', 'APPS', 'Apps: PC', 'Apps: Linux', 'DOX'))} - PC - 0DAY - {/if} - {* Mac *} - {if in_array($result.category, array('Apps: MAC', 'Games: MAC'))} - PC - Mac - {/if} - {* Phone-Other *} - {if in_array($result.category, array('Apps: Phone', 'PDA'))} - Phone - Other - {/if} - {* Games *} - {if in_array($result.category, array('GAMES', 'Games: PC', 'Games: Other'))} - PC - Games - {/if} - {* TV *} - {if in_array($result.category, array('TV'))} - TV - {/if} - {* SD *} - {if in_array($result.category, array('TV-DVDRIP', 'tv-sd', 'TV: STD', 'TV-XVid'))} - SDTV - {/if} - {* HD *} - {if in_array($result.category, array('tv-hd', 'TV: HD', 'TV-x264', 'TV-X264'))} - HDTV - {/if} - {* XXX *} - {if in_array($result.category, array('XXX'))} - XXX - {/if} - {* DVD *} - {if in_array($result.category, array('XXX: DVD'))} - XXX - DVD - {/if} - {* XviD *} - {if in_array($result.category, array('XXX: SD-CLIPS', 'XXX: MOVIES-SD'))} - XXX - SD - {/if} - {* x264 *} - {if in_array($result.category, array('XXX: HD-CLIPS', 'XXX: MOVIES-HD'))} - XXX - HD - {/if} - {* Other *} - {if in_array($result.category, array('xxx-videos'))} - XXX - Other - {/if} - {* Imageset *} - {if in_array($result.category, array('XXX-IMGSET'))} - XXX - Imagesets - {/if} - {* Books *} - {if in_array($result.category, array('EBOOK'))} - Ebooks - {/if} - {* Other *} - {if in_array($result.category, array('Other: E-Books'))} - Ebooks - Other - {/if} - {if in_array($result.category, array('', 'PRE'))} - N/A - {else} - {$result.category} - {/if} - - {if $result.source == abgx} - - abgx.net - - {/if} - {if in_array($result.source, array('abErotica', 'abMooVee', 'abTeeVee', 'abForeign'))} - - $result.source - - {/if} - {if $result.source|strpos:'#a.b.' != false} - - $result.source - - {/if} - {if $result.source == omgwtfnzbs} - - omgwtfnzbs - - {/if} - {if $result.source == orlydb} - - ORLYDB - - {/if} - {if $result.source == predbme} - - PreDB - - {/if} - {if $result.source == prelist} - - Prelist - - {/if} - {if $result.source == "#Pre@zenet"} - - Zenet IRC - - {/if} - {if $result.source == "#pre@corrupt"} - - Corrupt-Net - - {/if} - {if $result.source == srrdb} - - srrDB - - {/if} - {if $result.source == "#scnzb"} - - srrDB - - {/if} - {if $result.source == "#tvnzb"} - - srrDB - - {/if} - {if $result.source == "usenet-crawler"} - - Usenet-Crawler - - {/if} - {if $result.source == womble} - - Womble - - {/if} - {if $result.source == zenet} - - ZEnet - - {else} - {$result.source} - {/if} - - {if is_numeric($result.requestid) && $result.requestid != 0} - - {$result.requestid} - - {else} - N/A - {/if} - - {if not in_array($result.size, array('NULL', '', '0MB'))} - {if strpos($result.size, 'MB') != false && ($result.size|regex_replace:"/(\.\d|,|MB)+/":''|count_characters) > 3} - {math equation=($result.size|regex_replace:'/(\.\d|,|MB)+/':'' / 1024)|round}GB - {else} - {$result.size|regex_replace:"/(\.\d|,)+/":''} - {/if} - {else} - N/A - {/if} - - {if isset($result.files)} - {$result.files} - {else} - N/A - {/if} - - - -   - - - - -   - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - {$pager} -
    diff --git a/www/themes/Gentele/templates/basepage.tpl b/www/themes/Gentele/templates/basepage.tpl index f0706b5a3..cce0c4298 100755 --- a/www/themes/Gentele/templates/basepage.tpl +++ b/www/themes/Gentele/templates/basepage.tpl @@ -103,8 +103,6 @@
  • Browse Groups
  • -
  • PreDb -
  • {/if} diff --git a/www/themes/Omicron/templates/basepage.tpl b/www/themes/Omicron/templates/basepage.tpl index 693f978e4..de27a4952 100755 --- a/www/themes/Omicron/templates/basepage.tpl +++ b/www/themes/Omicron/templates/basepage.tpl @@ -219,7 +219,6 @@
  • Browse All Releases
  • Browse Groups
  • -
  • PreDb
  • diff --git a/www/themes/Omicron/templates/predb.tpl b/www/themes/Omicron/templates/predb.tpl deleted file mode 100755 index dd3e54f35..000000000 --- a/www/themes/Omicron/templates/predb.tpl +++ /dev/null @@ -1,386 +0,0 @@ -{if $site->adbrowse != ''} - {$site->adbrowse} -{/if} -

    {$page->title}

    -
    - -
    -{$pager} -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - - - - - - - - {foreach $results as $result} - - - - - - - - - - - - {/foreach} -
    Date Title Category Source Reqid Size Files
    - {$result.predate|date_format:"%Y-%m-%d %H:%M:%S"} - - {if isset($result.guid)} - - 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"} - - {else} - 1}NUKED: {$result.nukereason|escape:"htmlall"}{else}{$result.title|escape:"htmlall"}{/if}">{$result.title|escape:"htmlall"} - {/if} - - {* Console *} - {* Xbox 360 *} - {if $result.category == 'XBOX360'} - Console - Xbox - 360 - {/if} - {* Movies *} - {if in_array($result.category, array('Movies'))} - Movies - {/if} - {* SD *} - {if in_array($result.category, array('movies-sd', 'Movies: STD', 'XVid'))} - Movies - SD - {/if} - {* HD *} - {if in_array($result.category, array('Movies: HD', 'X264'))} - Movies - HD - {/if} - {* BluRay *} - {if in_array($result.category, array('BLURAY'))} - Movies - BluRay - {/if} - {* DVD *} - {if in_array($result.category, array('DVDR', 'Movies: DVD'))} - DVD - {/if} - {* Audio *} - {if in_array($result.category, array('music-audio'))} - Audio - {/if} - {* MP3 *} - {if in_array($result.category, array('MP3', 'Music: MP3'))} - MP3 - {/if} - {* Video *} - {if in_array($result.category, array('MVid', 'Music: MVid'))} - Music - Videos - {/if} - {* Audiobook *} - {if in_array($result.category, array('audiobook', 'Audiobook'))} - Audiobook - {/if} - {* Lossless *} - {if in_array($result.category, array('FLAC', 'Music: FLAC'))} - Lossless - Music - {/if} - {* PC *} - {* 0day *} - {if in_array($result.category, array('0DAY', 'APPS', 'Apps: PC', 'Apps: Linux', 'DOX'))} - PC - 0DAY - {/if} - {* Mac *} - {if in_array($result.category, array('Apps: MAC', 'Games: MAC'))} - PC - Mac - {/if} - {* Phone-Other *} - {if in_array($result.category, array('Apps: Phone', 'PDA'))} - Phone - Other - {/if} - {* Games *} - {if in_array($result.category, array('GAMES', 'Games: PC', 'Games: Other'))} - PC - Games - {/if} - {* TV *} - {if in_array($result.category, array('TV'))} - TV - {/if} - {* SD *} - {if in_array($result.category, array('TV-DVDRIP', 'tv-sd', 'TV: STD', 'TV-XVid'))} - SDTV - {/if} - {* HD *} - {if in_array($result.category, array('tv-hd', 'TV: HD', 'TV-x264', 'TV-X264'))} - HDTV - {/if} - {* XXX *} - {if in_array($result.category, array('XXX'))} - XXX - {/if} - {* DVD *} - {if in_array($result.category, array('XXX: DVD'))} - XXX - DVD - {/if} - {* XviD *} - {if in_array($result.category, array('XXX: SD-CLIPS', 'XXX: MOVIES-SD'))} - XXX - SD - {/if} - {* x264 *} - {if in_array($result.category, array('XXX: HD-CLIPS', 'XXX: MOVIES-HD'))} - XXX - HD - {/if} - {* Other *} - {if in_array($result.category, array('xxx-videos'))} - XXX - Other - {/if} - {* Imageset *} - {if in_array($result.category, array('XXX-IMGSET'))} - XXX - Imagesets - {/if} - {* Books *} - {if in_array($result.category, array('EBOOK'))} - Ebooks - {/if} - {* Other *} - {if in_array($result.category, array('Other: E-Books'))} - Ebooks - Other - {/if} - {if in_array($result.category, array('', 'PRE'))} - N/A - {else} - {$result.category} - {/if} - - {if $result.source == abgx} - - abgx.net - - {/if} - {if in_array($result.source, array('abErotica', 'abMooVee', 'abTeeVee', 'abForeign'))} - - $result.source - - {/if} - {if $result.source|strpos:'#a.b.' != false} - - $result.source - - {/if} - {if $result.source == omgwtfnzbs} - - omgwtfnzbs - - {/if} - {if $result.source == orlydb} - - ORLYDB - - {/if} - {if $result.source == predbme} - - PreDB - - {/if} - {if $result.source == prelist} - - Prelist - - {/if} - {if $result.source == "#Pre@zenet"} - - Zenet IRC - - {/if} - {if $result.source == "#pre@corrupt"} - - Corrupt-Net - - {/if} - {if $result.source == srrdb} - - srrDB - - {/if} - {if $result.source == "#scnzb"} - - srrDB - - {/if} - {if $result.source == "#tvnzb"} - - srrDB - - {/if} - {if $result.source == "usenet-crawler"} - - Usenet-Crawler - - {/if} - {if $result.source == womble} - - Womble - - {/if} - {if $result.source == zenet} - - ZEnet - - {else} - {$result.source} - {/if} - - {if is_numeric($result.requestid) && $result.requestid != 0} - - {$result.requestid} - - {else} - N/A - {/if} - - {if not in_array($result.size, array('NULL', '', '0MB'))} - {if strpos($result.size, 'MB') != false && ($result.size|regex_replace:"/(\.\d|,|MB)+/":''|count_characters) > 3} - {math equation=($result.size|regex_replace:'/(\.\d|,|MB)+/':'' / 1024)|round}GB - {else} - {$result.size|regex_replace:"/(\.\d|,)+/":''} - {/if} - {else} - N/A - {/if} - - {if isset($result.files)} - {$result.files} - {else} - N/A - {/if} - - - -   - - - - -   - -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - {$pager} -
    diff --git a/www/themes/Gentele/templates/predb.tpl b/www/themes/shared/templates/admin/predb.tpl similarity index 100% rename from www/themes/Gentele/templates/predb.tpl rename to www/themes/shared/templates/admin/predb.tpl