erl element in the entity-relationship schema definition. * @global string $_ERW_erlId */ $_ERW_erlId = "erlElementId"; /** The database type (see the PEAR database abstraction layer documentation). * @global string $_ERW_dbType */ $_ERW_dbType = "mysql"; /** The options that will be passed to the PEAR DB::connect() call (see the PEAR * database abstraction layer documentation). The value "true" requires persistent * database connections, if available. * @global mixed $_ERW_dbOptions */ $_ERW_dbOptions = true; /** The name of host running the database server. * @global string $_ERW_dbHost */ $_ERW_dbHost = "localhost"; /** The name of the database that will be accessed by the scripts. * @global string $_ERW_dbName */ $_ERW_dbName = "lsr"; /** The name of the user who will access the database above. * @global string $_ERW_dbUser */ $_ERW_dbUser = "lsr"; /** Password for the user contained in {@link $_ERW_dbUser}. * @global string $_ERW_dbPassword */ $_ERW_dbPassword = "lsr"; /** The place where all definition files are stored. * * This directory may be relative to the place where the ERW scripts are installed. * @global string $_ERW_defsPath */ $_ERW_defsPath = "LSR/ERW/defs"; /* The place where all custom scripts are stored. * * This directory may be relative to the place where the ERW script are installed. * @global string $_ERW_customPath */ $_ERW_customPath = "LSR/ERW/custom"; /** The place where all custom forms are stored. * * This directory may be relative to the place where the ERW script are installed. * @global string $_ERW_formsPath */ $_ERW_formsPath = "LSR/ERW/forms"; /** The place where localisation data is stored. * * This directory must be an absolute path. * @global string $_ERW_localePath */ $_ERW_localePath = $HTTP_SERVER_VARS['DOCUMENT_ROOT']."/locale"; /** A fixed locale. If empty, the locale will be fetched from the browser. * @global string $_ERW_fixedLocale */ $_ERW_fixedLocale = ""; /* The default locale. It will be used if the browser does not provide one and {@link $_ERW_fixedLocale} is empty. * @global string $_ERW_defaultLocale */ $_ERW_defaultLocale = "en-US"; /* The date format. * * It can be {@link ERW_DATE_ISO}, {@link ERW_DATE_EU} or {@link ERW_DATE_US}. Note * that its value is independent of the locale. * @global string $_ERW_dateFormat */ $_ERW_dateFormat = ERW_DATE_EU; /* Whether to use UTF-8. UTF-8 support requires the mbstring extension. * @global bool $_ERW_utf8 */ $_ERW_utf8 = false; /** The character used to separate the integer and the fractional part (for the ns type). * @global string $_ERW_decimalPoint */ $_ERW_decimalPoint = "."; /** The character used to separate thousands (for the ns type). * @global string $_ERW_decimalComma */ $_ERW_decimalComma = ","; /** The list of locally supported languages (as from the HTTP Accept-Language header specs). * @global array $_ERW_supportedLocales */ $_ERW_supportedLocales = array("en-US", "it-IT"); /** The place where all files (if you use filesets) are stored. * * This directory must be writable by the user under which Apache runs. * @global string $_ERW_fileBasePath */ $_ERW_fileBasePath = "/var/www/html/files"; /* If non-empty, a script name that will be used for internal * authentication. The file must be located in {@link $_ERW_customPath}. * @global string $_ERW_authenticate */ $_ERW_authenticate = ""; /* The global privileges, available by default for all types. * @global string $_ERW_globalPrivileges */ $_ERW_globalPrivileges = ERW_SELECT | ERW_UPDATE | ERW_INSERT | ERW_DELETE; /* The default error messages for a denied authorisation. * * Note that by default a denied update rises no error message. * * @global string $_ERW_authDenied */ $_ERW_authDenied = array( "selectDenied" => _("Authorisation denied."), "insertDenied" => _("Authorisation denied."), "deleteDenied" => _("Authorisation denied.") ); /** The basic HTTP realm that will be presented to the user when authenticating internally. * @global string $_ERW_basicRealm */ $_ERW_basicRealm = "ERW"; /* The logging level. * * It can be {@link ERW_DEBUG}, {@ link ERW_INFO}, {@ link ERW_WARNING} or {@ link ERW_ERROR}. * @global int $_ERW_logLevel */ $_ERW_logLevel = ERW_ERROR; /* The following variables set up defaults for the user preferences. They can be recorded in a cookie, so each user can have a different setup. */ /** The font size, in points. 0 corresponds to "medium" in CSS language (i.e., the user preferred size). * @global int $_ERW_fontSize */ $_ERW_fontSize = 0; /** The number of columns for fixed width elements (textarea and table used in relation editing). * @global int $_ERW_numCols */ $_ERW_numCols = 80; /** Number of rows for textarea elements. * @global int $_ERW_numRows["a"] */ $_ERW_numRows["a"] = 6; /** Number of rows for main lists. * @global int $_ERW_numRows["m"] */ $_ERW_numRows["m"] = 15; /** Number of rows for selection lists when editing relationships (source). * @global int $_ERW_numRows["s"] */ $_ERW_numRows["s"] = 5; /** Number of rows for selection lists when editing relationships (target). * @global int $_ERW_numRows["r"] */ $_ERW_numRows["r"] = 3; /** Number of rows in fileset displays. * @global int $_ERW_numRows["f"] */ $_ERW_numRows["f"] = 3; /** Initial height in pixels of the upload iframe elements (in any case, they will be dynamically adjusted). * @global int $_ERW_uploadFrameHeight */ $_ERW_uploadFrameHeight = 30; /** If you do not want to use fieldset elements, comment out this variable. * @global bool $_ERW_useFieldsets */ $_ERW_useFieldsets = true; /** Since 1.0.10, ERW keeps track of the original file names. This variable * is set by {@link ERW.php} to false to inhibit the usage of * the original field for compatibility with previous versions. * In new databases, always set this variable to true. * @global string $_ERW_useOriginal */ $_ERW_useOriginal = true; /** If you want HTMLArea 3+ support, set this variable to a relative * URL path pointing at the directory containing the HTMLArea installation. * A typical setup installs HTMLArea in a directory named htmlarea * in the document root (e.g., where most ERW script belong). In that case * htmlarea/ is the right value. Note that the final slash is mandatory. * * @global string $_ERW_htmlArea */ $_ERW_htmlArea = null; /** If you want JSCalendar support, set this variable to a relative * URL path pointing at the directory containing the JSCalendar installation. * A typical setup installs JSCalendar in a directory named jscalendar * in the document root (e.g., where most ERW script belong). In that case * jscalendar/ is the right value. Note that the final slash is mandatory. * * @global string $_ERW_jsCalendar */ $_ERW_jsCalendar = null; /** If you want FCKEditor 2+ support, set this variable to a relative * URL path pointing at the directory containing the FCKEditor installation. * A typical setup installs FCKEditor in a directory named fckeditor * in the document root (e.g., where most ERW script belong). In that case * fckeditor/ is the right value. Note that the final slash is mandatory. * * @global string $_ERW_fckEditor */ $_ERW_fckEditor = null; ?>