/* paging.js

	Purpose:
		
	Description:
		
	History:
		Fri Jan 23 15:00:45     2009, Created by jumperchen

Copyright (C) 2008 Potix Corporation. All Rights Reserved.

This program is distributed under LGPL Version 2.1 in the hope that
it will be useful, but WITHOUT ANY WARRANTY.
*/
function paging$mold$(out) {
  var uuid = this.uuid;
  out.push('<nav name="', uuid, '"', this.domAttrs_(), '>');
  if (this.getMold() === 'os') {
    out.push(DOMPurify.sanitize(this._innerTags()), '</nav>');
    return;
  }
  var btnHTML = this.$s('button'),
    showFirstLast = this._showFirstLast ? '' : 'display: none;';
  out.push('<ul role="none">', '<li style="', showFirstLast, '" role="none"><button name="', uuid, '-first" class="', btnHTML, ' ', this.$s('first'), '" aria-label="', msgzul.FIRST, '"><i class="z-paging-icon z-icon-angle-double-left" aria-hidden="true"></i></button></li>', '<li role="none"><button name="', uuid, '-prev" class="', btnHTML, ' ', this.$s('previous'), '" aria-label="', msgzul.PREV, '"><i class="z-paging-icon z-icon-angle-left" aria-hidden="true"></i></button></li>', '<li role="none"><input name="', uuid, '-real" class="', this.$s('input'), '" type="text" value="', /*safe*/this.getActivePage() + 1, '" size="3" aria-label="', msgzul.CURRENT, '"></input><span class="', this.$s('text'), '" aria-hidden="true"> / ', /*safe*/this.getPageCount(), '</span></li>', '<li role="none"><button name="', uuid, '-next" class="', btnHTML, ' ', this.$s('next'), '" aria-label="', msgzul.NEXT, '"><i class="z-paging-icon z-icon-angle-right" aria-hidden="true"></i></button></li>', '<li role="none" style="', showFirstLast, '"><button name="', uuid, '-last" class="', btnHTML, ' ', this.$s('last'), '" aria-label="', msgzul.LAST, '"><i class="z-paging-icon z-icon-angle-double-right" aria-hidden="true"></i></button></li></ul>');
  if (this.isDetailed()) this._infoTags(out);
  out.push('</nav>');
}