/*
 * hyCMS test suite configuration file
 *
 * Enter here configuration data for the test suite
 * Please don't modify entries marked with a "#" since
 * they are part of a test suite.
 *
 */
var Config = new Object();


/*
 * AJAX-related configuration
 *
 */
Config.AJAX = new Object();

/* Base URL for all AJAX requests (used in 'send') */
Config.AJAX.baseUrl = "services/";

/* Base URL for all user resources */
Config.AJAX.userResources = "storage/resources/user/";
Config.AJAX.userImageCategory = "images";
Config.AJAX.userImageResources = "storage/resources/user/"+Config.AJAX.userImageCategory+"/";


/*
 * Localization-related configuration
 *
 */
Config.Locale = new Object();

/* Available languages */
Config.Locale.availableLocales = ["de", "en", "fr", "ru"];

/* Fallback languages */
Config.Locale.fallbackLocales = ["en", "de"];

/* Locale names */
Config.Locale.localeNames = ["Deutsch", "English", "Français", "Русский"];

Config.Locale.defaultLocale = "de";

/*
 * Editor styling
 *
 */
Config.Editor = new Object();
Config.Editor.pathPrefix = "/edit/";
Config.Editor.hoverOutlineStyle = "2px solid #6c9c6c";
Config.Editor.selectedOutlineStyle = "3px solid #4C8C5C";
Config.Editor.rootDocument = "Büro";

/*
 * AnimationKit styling
 *
 */
Config.AnimationKit = new Object();
Config.AnimationKit.FPS = 30;

/*
 * Widget styling
 *
 */
Config.WidgetKit = new Object();
Config.WidgetKit.buttonHeight = 29;
Config.WidgetKit.buttonWidth = 29;

/*
 * Gallery styling
 *
 */
Config.Gallery = new Object();
Config.Gallery.imageHeight = 100;

//Config.Gallery.dialogInnerHeight = 320;
//Config.Gallery.dialogInnerWidth = 500;

//Config.Gallery.dialogImageHeight = 290;
//Config.Gallery.dialogImageWidth = 500;

Config.Gallery.dialogInnerHeightOffset = 30;
Config.Gallery.dialogInnerWidthOffset = 0;

Config.Gallery.dialogImageMaxHeight = 720;
Config.Gallery.dialogImageMaxWidth = 720;

/*
 * Feed styling
 *
 */
Config.Feed = new Object();
Config.Feed.feedTemplatesDirectory = "Vorlagen/";
Config.Feed.elementsPerPage = new Object();
Config.Feed.elementsPerPage["feed"] = 8;
Config.Feed.elementsPerPage["news_feed"] = 4;
Config.Feed.elementsPerPage["gallery_feed"] = 1;

Config.Feed.symmetricPositioning = new Object();
Config.Feed.symmetricPositioning["feed"] = true;
Config.Feed.symmetricPositioning["news_feed"] = false;
Config.Feed.symmetricPositioning["gallery_feed"] = false;

Config.Feed.symmetricPositioningLineWrap = new Object();
Config.Feed.symmetricPositioningLineWrap["feed"] = [0,1,2,3,2,3,3,4,4];

Config.Feed.emptyThumbnail = "storage/resources/views/feed/noimage.png";

// FIXME: We want to have something better than class-wise configurations...
Config.Feed.menuPosition = new Object();
Config.Feed.menuPosition["gallery_feed"] = "first";

// FIXME: We want to have contextual rendering of child documents...
Config.FeedDocument = new Object();
Config.FeedDocument.showContents = new Object();
Config.FeedDocument.showContents["gallery_feed"] = true;

Config.FeedDocument.isLink = new Object();
Config.FeedDocument.isLink["feed"] = true;
Config.FeedDocument.isLink["news_feed"] = true;



/*
 * References
 *
 */
Config.References = new Object();
Config.References.localBase = "/";

