// Picturies Path var pathToPics = "http://cmfdemo.xmlsapiens.org/views/default/pic/tree/"; var pathToGridPics = "http://cmfdemo.xmlsapiens.org/views/default/pic/grid/"; var pathToContextPics = "http://cmfdemo.xmlsapiens.org/views/default/pic/context/"; var appPath = "/controller/"; var http_path = "http://cmfdemo.xmlsapiens.org/"; var http_admin_path = "http://cmfdemo.xmlsapiens.org/admin/"; var columns; // Modal Window Schemas var Schema_ShowDocModalWindow = [{"ctrl":"admin/structure/doc/docproperties.model.php","title":"Properties"},{"ctrl":"admin/structure/doc/doccontent.model.php","title":"Content"},{"ctrl":"admin/structure/doc/security.model.php","title":"Security"}]; var Schema_ShowNewDocModalWindow = [{"ctrl":"admin/structure/doc/blank_docproperties.model.php","title":"Properties"}]; var Schema_ShowSiteModalWindow = [{"ctrl":"admin/structure/doc/siteproperties.model.php","title":"Properties"}]; /* JS-code from plugin */ // Content Base var UIContent = new Array(); UIContent["An error on the server"] = "An error on the server"; UIContent["Path"] = "Path"; UIContent["Template"] = "Template"; UIContent["LastChange"] = "Last change data"; UIContent["The bin is empty"] = "The bin is empty"; UIContent["The bin is full"] = "The bin is full"; UIContent["Properties"] = "Properties"; UIContent["Add subitem"] = "Add subitem"; UIContent["Data from server have been loaded successfully"]="Data from server have been loaded successfully"; UIContent["Loading"]="Loading"; UIContent["Move up"]="Move up"; UIContent["Move down"]="Move down"; UIContent["Copy"]="Copy"; UIContent["Delete"]="Delete"; UIContent["Exit"]="Exit"; UIContent["Author"]="Author"; UIContent["Changes saving"]="Save changes"; UIContent["An error occured during data retrieving"]="An error occured during data retrieving"; UIContent["The interface does not exist"] = "The interface does not exist"; UIContent["Some documents will be deleted. Are you sure that you want to continue?"] = "Some documents will be deleted. Are you sure that you want to continue?"; UIContent["Properties"]="Properties"; UIContent["Security"]="Security"; UIContent["Document"]="Document"; UIContent["Content"]="Content"; UIContent["Data are being saved"]="Data are being saved"; UIContent["Viewing"] = "View"; UIContent["Editing"] = "Edit"; UIContent["Informational Network"] = "Informational Network"; UIContent["Resource"] = "Resource (Site)"; UIContent["Date"] = "Date"; UIContent["Description"] = "Description"; UIContent["User"] = "User"; UIContent["Config record"] = "Config record"; UIContent["A new config record"] = "A new config record"; UIContent["Title"] = "Title"; UIContent["Variable"] = "Variable"; UIContent["Delete selected records"] = "Delete selected records"; UIContent["Data are being processed"] = "Data are being processed"; UIContent["Registration date"] = "Registration date"; UIContent["Full name"] = "Full name"; UIContent["Profile"] = "Profile"; UIContent["Type"] = "Type"; UIContent["Owner"] = "Owner"; UIContent["Upload"] = "Upload"; UIContent["Import"] = "Import"; UIContent["Filename"] = "Filename"; UIContent["Size"] = "Size"; UIContent["Showed"] = "Showed"; UIContent["Clicked"] = "Clicked"; UIContent["Dispatch Date"] = "Dispatch Date"; UIContent["Reciever Number"] = "Reciever Number"; UIContent["Set up and Execute Dispatch"] = "Set up and Execute Dispatch"; UIContent["Term"] = "Term"; UIContent["Record"] = "Record"; UIContent["A new document"] = "A new document"; UIContent["Structure management"] = "Use Drag & Drop to modify the structure"; // Open FCKEditor/TinyMCE function openFCKEditor(ID) { if(window['opera'] && opera.buildNumber) { window.open('http://cmfdemo.xmlsapiens.org/vendors/tinymce/start.php?id='+ID, 'WYSIWYG', 'scrollbars=yes,status=no,resizable=1,toolbar=no,width=700,height=600'); } else { window.open('http://cmfdemo.xmlsapiens.org/vendors/fckeditor/_samples/php/start.php?id='+ID, 'WYSIWYG', 'scrollbars=yes,status=no,resizable=1,toolbar=no,width=700,height=600'); } return false; }