/*
 * ONE CMS: [application]/settings/settings.js
 * contains the settings required by the javascript engine
 *
 * Joris Dormans (2006)
 *
 */

function Settings() {
  this.libPath = "../";  //path to the library code set to "" when the libraries reside under the same directory as the main HTML files

  this.dbDateFormat = "%Y-%m-%d";
//  this.dbDatetimeFormat = "%Y-%m-%d %H:%M:%S";
  this.dbDatetimeFormat = "%Y%m%d%H%M%S";
  this.dbFirstRecord = 10001;

  this.permissions = new Array();
  this.permissions = new Array();
  this.permissions = ["-1", "1", "2"];
  this.permissionsDesc = ["Admin", "Edit own account", "Edit Games"];
  this.showPermissions = 3;

  this.passwordMinLength = 4;
  this.passwordMaxLength = 24;
  this.usernameMinLength = 4;
  this.usernameMaxLength = 24;
  this.browserPageSize = 20;
}

var gSettings = new Settings();

