/** * Konfiguration * Globale Seitenparameter/ -definitionen * * @author Heiko Pfefferkorn (i-fabrik GmbH) * @copyright 2012 i-fabrik GmbH * @version $Id: pg-cfg.js,v 1.4 2012-04-05 10:17:26 heiko Exp $ * */ /** * Page namespace and Settings. */ var PG_ROOT_PATH = '/'; var PG_CFG = { rootPathJS : PG_ROOT_PATH + 'resources/js/', pathPlugins : 'plugins/', // relative to rootPathJS pathJQRegional: 'libs/jquery/ui-1.8.16/i18n/', // relative to rootPathJS isMsie6 : ( $.browser.msie && parseInt( $.browser.version.substr( 0, 2 ) ) <= 7 ), isMsieLt9 : ( $.browser.msie && parseInt( $.browser.version.substr( 0, 2 ) ) < 9 ), useDebug : false }; /** * Sprache */ PG_CFG.language = 'de'; /** * Uebersetzungen */ PG_CFG.regional = { any: 'beliebig', back: 'zurück', details: 'Details', email: 'E-Mail', homepage: 'Webseite', indexPage: 'Startseite', location: 'Standort', login: 'Login', more: 'more', more: 'More' }; PG_CFG.regional._get = function( s ) { return ( typeof this[s] != 'undefined' ) ? this[s] : s; };