File tree Expand file tree Collapse file tree 1 file changed +19
-13
lines changed
wcfsetup/install/files/acp/templates Expand file tree Collapse file tree 1 file changed +19
-13
lines changed Original file line number Diff line number Diff line change 9595 </section >
9696</form >
9797
98- { hascontent}
98+ { assign var= ' linkParameters' value= ' ' }
99+ { if $username } { capture append= linkParameters} &username={ unsafe:$username |rawurlencode} { /capture } { /if }
100+ { if $q } { capture append= linkParameters} &q={ unsafe:$q |rawurlencode} { /capture } { /if }
101+ { if $categoryID } { capture append= linkParameters} &categoryID={ $categoryID } { /capture } { /if }
102+
103+ { if $pages > 1}
99104 <div class =" paginationTop" >
100- { content}
101- { assign var= ' linkParameters' value= ' ' }
102- { if $username } { capture append= linkParameters} &username={ @$username |rawurlencode} { /capture } { /if }
103- { if $q } { capture append= linkParameters} &q={ @$q |rawurlencode} { /capture } { /if }
104- { if $categoryID } { capture append= linkParameters} &categoryID={ @$categoryID } { /capture } { /if }
105-
106- { pages print= true assign= pagesLinks controller= " MediaList" link= " pageNo=%d&sortField=$sortField&sortOrder=$sortOrder$linkParameters" }
107- { /content}
105+ <woltlab-core-pagination
106+ page =" { $pageNo } "
107+ count =" { $pages } "
108+ url =" { link controller= ' MediaList' sortField= $sortField sortOrder= $sortOrder } { unsafe:$linkParameters } { /link} "
109+ ></woltlab-core-pagination >
108110 </div >
109- { /hascontent }
111+ { /if }
110112
111113<div class =" section tabularBox" { if ! $objects |count} style =" display : none ;{/if }" >
112114 <table class =" table jsClipboardContainer jsObjectActionContainer" data-object-action-class-name =" wcf\data\media\MediaAction" data-type =" com.woltlab.wcf.media" >
193195
194196{ if $objects |count}
195197 <footer class =" contentFooter" >
196- { hascontent }
198+ { if $ pages > 1 }
197199 <div class =" paginationBottom" >
198- { content} { @$pagesLinks } { /content}
200+ <woltlab-core-pagination
201+ page =" { $pageNo } "
202+ count =" { $pages } "
203+ url =" { link controller= ' MediaList' sortField= $sortField sortOrder= $sortOrder } { unsafe:$linkParameters } { /link} "
204+ ></woltlab-core-pagination >
199205 </div >
200- { /hascontent }
206+ { /if }
201207
202208 <nav class =" contentFooterNavigation" >
203209 <ul >
You can’t perform that action at this time.
0 commit comments