{if $pluginsCount > 1}
WCF.Icon.addObject({
- 'wcf.icon.arrow.down': 'icon/dropDown1.svg',
- 'wcf.icon.next': 'icon/next1.svg',
- 'wcf.icon.next.disabled': 'icon/next1D.svg',
- 'wcf.icon.previous': 'icon/previous1.svg',
- 'wcf.icon.previous.disabled': 'icon/previous1D.svg'
+ 'wcf.icon.arrow.down': '{@RELATIVE_WCF_DIR}icon/dropDown1.svg',
+ 'wcf.icon.next': '{@RELATIVE_WCF_DIR}icon/next1.svg',
+ 'wcf.icon.next.disabled': '{@RELATIVE_WCF_DIR}icon/next1D.svg',
+ 'wcf.icon.previous': '{@RELATIVE_WCF_DIR}icon/previous1.svg',
+ 'wcf.icon.previous.disabled': '{@RELATIVE_WCF_DIR}icon/previous1D.svg'
});
new WCF.ACP.Package.List({@($pluginsCount / 1)|ceil});
{/if}
maxPage: 1,
// icons
- previousIcon: WCF.Icon.get('wcf.icon.previous'),
- previousDisabledIcon: WCF.Icon.get('wcf.icon.previous.disabled'),
- arrowDownIcon: WCF.Icon.get('wcf.icon.arrow.down'),
- nextIcon: WCF.Icon.get('wcf.icon.next'),
- nextDisabledIcon: WCF.Icon.get('wcf.icon.next.disabled'),
+ previousIcon: null,
+ previousDisabledIcon: null,
+ arrowDownIcon: null,
+ nextIcon: null,
+ nextDisabledIcon: null,
// language
// we use options here instead of language variables, because the paginator is not only usable with pages
_create: function() {
if (this.options.nextPage === null) this.options.nextPage = WCF.Language.get('wcf.global.page.next');
if (this.options.previousPage === null) this.options.previousPage = WCF.Language.get('wcf.global.page.previous');
+ if (this.options.previousIcon === null) this.options.previousIcon = WCF.Icon.get('wcf.icon.previous');
+ if (this.options.previousDisabledIcon === null) this.options.previousDisabledIcon = WCF.Icon.get('wcf.icon.previous.disabled');
+ if (this.options.nextIcon === null) this.options.nextIcon = WCF.Icon.get('wcf.icon.next');
+ if (this.options.nextDisabledIcon === null) this.options.nextDisabledIcon = WCF.Icon.get('wcf.icon.next.disabled');
+ if (this.options.arrowDownIcon === null) this.options.arrowDownIcon = WCF.Icon.get('wcf.icon.arrow.down');
this.element.addClass('pageNavigation');