/* InnoKB 2.x web interface configuration file ( www.wjjsoft.com ) Notes! 1. If you make changes to this config file, be sure to save in UTF-8, especially when you input non-ANSI characters into this file; 2. The default settings will be copied and saved into users profile when users select to save profile; The user profile data is saved within the 'innokb_grant.xml' file; 3. Once a user's profile is created, changing the default settings in this file takes no effects to the user any more, unless the user profile is cleared by administrators; 4. The value of 'sTypeActiveX' gives a workaround for MSIE to open ActiveX documents with authentication required; 5. The value of 'sInfoItemFields' can be any combinations of the following; HtmlSize,FileSize,FileNum,HtmlRevNum,FileRevNum,HtmlRevSize,FileRevSize,DateCreated,DateModified,ItemCreator,ItemRevisor 6. The value of 'sLanguage' determines the default language to be used for user interface. By defaut, set a null string to select the default language 'English'; If some more language packs are installed under the './lang' sub directory, and you'd like to select one of them as default, please set the directory name to the 'sLanguage' field, (e.g zh-CN). In most of cases, you don't need to change the default language, unless you want all future new users to see the language at the first time they login; */ //The 'window._xCfg' gives the default configurations for user interface; window._xCfg={ sTypeActiveX: 'doc;docx;rtf;xls;xlsx;csv;ppt;pptx;pdf' //workaround for MSIE to open ActiveX documents; , nNavPaneWidth: 230 //initial width of left pane, in pixels; , nAttachPaneWidth: 260 //initial width of misc-info pane, in pixels; , nDbDropdownWidth: 260 //width of the database dropdown list, in pixels; , nDbDropdownHeight: 320 //height of the database dropdown list, in pixels; , nTitleMaxLen: 128 //max length of info-item titles allowed in your databases; , sInfoItemFields: 'FileNum,DateCreated,DateModified,Actions' //default columns to be shown on info-items list; , nItemsPageSize: 20 //number of info items shown per page on the info-items list; , bShowLabels: 1 //determine if or not to show labels on the info-items list; , bShowLabelPath: 1 //determine if or not to show full label path on the info-items list; , bSearchSubLabels: 1 //determine if or not to include child labels within search; , bShowDefNoteFn: 0 //determine if or not to display item's default content file as an attachment; , sLanguage: '' //set default language for the user interface; }; //The 'window._xErr' gives the pre-defined error-codes and default description; //Don't edit the default error-codes descriptions in this file; //The best place to translate the error-codes description to your language is in the '/locale/[LANG]/common.ini' file; //where the '[LANG]' can be your language ID, e.g. en-US, en-GB, zh-TW, etc. //For more info on localization of the user interface, please refer to the user's guide. window._xErr={ ERR_OK: 'Operation succeeded' , ERR_CHANGED: 'Database changed' , ERR_UNCHANGED: 'Nothing changed in operation' , ERR_NOCONTENT: 'No content available' , ERR_PARTIAL_COMPLETION: 'Partially completed operation' , ERR_ANONYMOUS_ACCESS: 'Downgraded to anonymous access' , ERR_GENERAL_FAILURE: 'General operation failure' , ERR_OPENFILE_FAILURE: 'Failure opening file on server' , ERR_WRITEFILE_FAILURE: 'Failure writting file on server' , ERR_INVALID_CGIPARAM: 'Bad CGI parameters passed' , ERR_INVALID_DATE: 'Bad date/time input' , ERR_CFGFILE_MISSING: 'Server config file missing' , ERR_CFGFILE_EMPTY: 'Server config file empty' , ERR_MIMETYPES_MISSING: 'MIME types file missing' , ERR_DLLLOAD_FAILURE: 'Failure loading DLL' , ERR_IDXFILE_MISSING: 'Index data file missing' , ERR_IDXOPEN_FAILURE: 'Failure opening index data' , ERR_IDXSAVE_FAILURE: 'Failure updating index data' , ERR_IDXEMPTY_FAILURE: 'Failure emptying index data' , ERR_DBPATH_FAILURE: 'Database path mis-configured on server' , ERR_DLLPATH_FAILURE: 'DLL path inaccessible' , ERR_DBINFO_MISSING: 'Database info XML file missing' , ERR_MKDIR_FAILURE: 'Failure creating directory on server' , ERR_ITEMNEW_FAILURE: 'Failure creating new info items' , ERR_FILENAME_FAILURE: 'Failure renaming attachment file on server' , ERR_DBSAVE_FAILURE: 'Failure writting database info on server' , ERR_DBLOAD_FAILURE: 'Failure loading database info on server' , ERR_LABELMOVE_FAILURE: 'Failure moving label item' , ERR_ALREADY_EXISTS: 'Target item already exists' , ERR_FILENAME_EXISTS: 'Entry exists with the same filename' , ERR_NONEXISTENT_DBID: 'Database does not exist' , ERR_NONEXISTENT_ITEMID: 'Info item does not exist' , ERR_NONEXISTENT_LABELPATH: 'Label item does not exist' , ERR_NONEXISTENT_FILENAME: 'File entry does not exist' , ERR_NONEXISTENT_REVISION: 'Revision entry does not exist' , ERR_NONEXISTENT_ITEMLINK: 'Item link does not exist' , ERR_INVALID_DBID: 'Invalid database ID supplied' , ERR_INVALID_DBTITLE: 'Invalid database title supplied' , ERR_INVALID_LABELNAME: 'Invalid label name supplied' , ERR_INVALID_LABELPATH: 'Invalid label path supplied' , ERR_INVALID_ITEMTITLE: 'Invalid item title supplied' , ERR_INVALID_FILEPATH: 'Invalid file path supplied' , ERR_INVALID_FILENAME: 'Invalid file name supplied' , ERR_INVALID_REVISION: 'Invalid revisions supplied' , ERR_NONEXISTENT_GID: 'Group account not exist' , ERR_NONEXISTENT_UID: 'User account not exist' , ERR_NONEXISTENT_PID: 'Privilege entry not exist' , ERR_GRANTFILE_MISSING: 'Access privilege file missing' , ERR_GRANTFILE_EMPTY: 'Access privilege not configured' , ERR_GRANTFILE_SAVEFAILURE: 'Failure writting privilege file' , ERR_USERS_EMPTY: 'No user accounts defined' , ERR_GROUPS_EMPTY: 'No grouop accounts defined' , ERR_PRIVILEGES_EMPTY: 'No privilege entries defined' , ERR_INVALID_GID: 'Invalid group account ID supplied' , ERR_INVALID_UID: 'Invalid user account ID supplied' , ERR_AUTH_PERM_DENIED: 'Access permission denied' , ERR_AUTH_BAD_PASSWD: 'Wrong password supplied' , ERR_AUTH_NO_SESSIONID: 'Not authenticated, please login' , ERR_AUTH_BAD_SESSIONID: 'Session has timed out' , ERR_AUTH_UID_DISABLED: 'User account temporarily disabled' , ERR_AUTH_GID_DISABLED: 'Group account temporarily disabled' , ERR_ALREADY_LOCKED: 'Item already locked for editing' , ERR_LOCK_REQUIRED: 'Be sure to first lock item before editing' , ERR_NONEXISTENT_LOCK: 'Item lock invalid or timed out' , ERR_LICENSE_INVALID_KEY: 'Invalid licensing info supplied' , ERR_LICENSE_OSTYPE_MISMATCH: 'Server OS type does not match the license key' , ERR_LICENSE_REGNAME_MISMATCH: 'Registration name mismatch with the license installed' , ERR_LICENSE_ALREADY_INSTALLED: 'The license key already installed on server' , ERR_LICENSE_QUANTITY_INSUFFICIENT: 'Quantity of licenses installed are insufficient' };