fix url parse bug (#1279)
* fix url parse bug * Update site.jet.html * Update torrentlist.jet.html
Cette révision appartient à :
Parent
8ba8ceb46c
révision
6444636467
2 fichiers modifiés avec 5 ajouts et 5 suppressions
|
@ -80,7 +80,7 @@
|
|||
</div>
|
||||
{{end}} {{ block footer_js()}}
|
||||
<!-- JS Function for selecting multiple checkboxes -->
|
||||
<script type="text/javascript" src="{{URL.Parse(" /js/selectAll.js ") }}"></script>
|
||||
<script type="text/javascript" src="{{URL.Parse("/js/selectAll.js") }}"></script>
|
||||
<script type="text/javascript">
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
document.querySelector("select[name='action']").addEventListener("change", function(e) {
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
<div class="container">
|
||||
<div class="h-left">
|
||||
<div class="h-logo">
|
||||
<a href="{{URL.Parse(" / ")}}">
|
||||
<a href="{{URL.Parse("/")}}">
|
||||
<img class="hide-md" src="/img/{{if Sukebei()}}sukebei_logo.png{{else}}logo.png{{end}}" alt="Nyaa Pantsu"/>
|
||||
<img class="visible-md" src="/img/logo_s.png" alt="Nyaa Pantsu"/>
|
||||
</a>
|
||||
</div>
|
||||
<div class="h-nav">
|
||||
<a href="{{URL.Parse(" /upload ")}}" class="nav-btn">
|
||||
<a href="{{URL.Parse("/upload")}}" class="nav-btn">
|
||||
<div class="icon-upload visible-md"></div>
|
||||
<span class="hide-md">{{ T("upload") }}</span>
|
||||
</a>
|
||||
|
@ -16,7 +16,7 @@
|
|||
<div class="icon-rss-squared visible-md"></div>
|
||||
<span class="hide-md">RSS</span>
|
||||
</a>
|
||||
<a href="{{URL.Parse(" /faq ")}}" class="nav-btn">
|
||||
<a href="{{URL.Parse("/faq")}}" class="nav-btn">
|
||||
<div class="icon-help-circled visible-md"></div>
|
||||
<span class="hide-md">{{ T("faq") }}</span>
|
||||
</a>
|
||||
|
@ -36,7 +36,7 @@
|
|||
<div class="h-right">
|
||||
{{ include "layouts/partials/helpers/badgemenu" }}
|
||||
<div class="h-search">
|
||||
<form role="search" action="{{URL.Parse(" /search ")}}" id="header-form" method="get">
|
||||
<form role="search" action="{{URL.Parse("/search")}}" id="header-form" method="get">
|
||||
{{ yield search_common() }} {{ yield search_button() }}
|
||||
</form>
|
||||
</div>
|
||||
|
|
Référencer dans un nouveau ticket