|
|
|
|
@ -132,50 +132,50 @@ if ((api_get_setting('youtube_for_students') == 'true')) { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// googlemaps : Adds a dilog for inserting Google maps. |
|
|
|
|
$config['LoadPlugin'][] = 'googlemaps'; |
|
|
|
|
// API-key for the "googlemaps" plugin. |
|
|
|
|
// The following key is valid for http://localhost (see myconfig.js where this key has been activated by default). |
|
|
|
|
// You must get a new for each server where you intend to use the plugin 'googlemaps'. Just get the key for free after |
|
|
|
|
// agreeing with the Terms of Use of the GoogleMaps API from here: http://www.google.com/apis/maps/signup.html. |
|
|
|
|
// At you choice, you may activate the newly obtained API-key using the following setting or using the same setting in myconfig.js. |
|
|
|
|
// Activated here API-key is not cached by browsers and overrides the key from the configuration file myconfig.js. |
|
|
|
|
//$config['GoogleMaps_Key'] = 'ABQIAAAAlXu5Pw6DFAUgqM2wQn01gxT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSy5hTGQdsosYD3dz6faZHVrO-02A'; |
|
|
|
|
|
|
|
|
|
// mimetex : Adds a dilog for inserting mathematical formulas. In order this plugin to work prpoperly, preliminary changes |
|
|
|
|
// in your server configuration have to be done. The MimeTex executable file has to be installed, see the installation guide. |
|
|
|
|
// |
|
|
|
|
if ((api_get_setting('math_mimetex') == 'true')) { |
|
|
|
|
$config['LoadPlugin'][] = 'mimetex'; |
|
|
|
|
if ((api_get_setting('enabled_googlemaps') == 'true')) { |
|
|
|
|
$config['LoadPlugin'][] = 'googlemaps'; |
|
|
|
|
// API-key for the "googlemaps" plugin. |
|
|
|
|
// The following key is valid for http://localhost (see myconfig.js where this key has been activated by default). |
|
|
|
|
// You must get a new for each server where you intend to use the plugin 'googlemaps'. Just get the key for free after |
|
|
|
|
// agreeing with the Terms of Use of the GoogleMaps API from here: http://www.google.com/apis/maps/signup.html. |
|
|
|
|
// At you choice, you may activate the newly obtained API-key using the following setting or using the same setting in myconfig.js. |
|
|
|
|
// Activated here API-key is not cached by browsers and overrides the key from the configuration file myconfig.js. |
|
|
|
|
//$config['GoogleMaps_Key'] = 'ABQIAAAAlXu5Pw6DFAUgqM2wQn01gxT2yXp_ZAY8_ufC3CFXhHIE1NvwkxSy5hTGQdsosYD3dz6faZHVrO-02A'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// |
|
|
|
|
// Some additional settings become active only when the 'mimetex' plugin has been enabled: |
|
|
|
|
// |
|
|
|
|
// The following setting determines whether MimeTeX executable file has been installed on the server or not. This file should be accessible |
|
|
|
|
// for browsers at address http://mysite.com/cgi-bin/mimetex.cgi (Linux) or at address http://mysite.com/cgi-bin/mimetex.exe (Windows). |
|
|
|
|
// How to test manually: Open your browser and enter in the address bar something like http://mysite.com/cgi-bin/mimetex.cgi?hello |
|
|
|
|
// By default, the system tries to detect the MimeTeX executable file automatically. |
|
|
|
|
// If you are sure that the MimeTeX executable has been correctly installed, you may set this option to boolean true value. |
|
|
|
|
$config['MimetexExecutableInstalled'] = 'detect'; // 'detect' (default), true, false |
|
|
|
|
// Sometimes detection fails (due to slow DNS service, security restrictions, ...). For better probability of success, |
|
|
|
|
// the following methods for detection have been defined: |
|
|
|
|
// 'bootstrap_ip' - detection is tried at address like http://127.0.0.1/cgi-bin/mimetex.cgi |
|
|
|
|
// 'localhost' - detection is tried at address like http://localhost/cgi-bin/mimetex.cgi |
|
|
|
|
// 'ip' - detection is tried at ip address, for example http://192.168.0.1/cgi-bin/mimetex.cgi |
|
|
|
|
// 'server_name' - detection is tried at address based on server's name, for example http://mysite.com/cgi-bin/mimetex.cgi |
|
|
|
|
if (IS_WINDOWS_OS) { |
|
|
|
|
$config['MimetexExecutableDetectionMethod'] = 'bootstrap_ip'; // 'bootstrap_ip' for better chance on Windows (no firewall blocking). |
|
|
|
|
} else { |
|
|
|
|
$config['MimetexExecutableDetectionMethod'] = 'server_name'; |
|
|
|
|
} |
|
|
|
|
// Timeout for MimeTeX executable file detection - keep this value as low as possible, especially on Windows servers. |
|
|
|
|
$config['MimetexExecutableDetectionTimeout'] = 0.05; |
|
|
|
|
|
|
|
|
|
// asciimath : Yet another plugin for inserting mathematical formulas. |
|
|
|
|
// An additional javascript library ASCIIMathML.js has to be inserted within the pages with formulas. |
|
|
|
|
// After enabling it, this plugin is configured to work with full-page html documents out-of-the box. |
|
|
|
|
// You may try it in the "Documents" and "Wiki" tools. |
|
|
|
|
// Browser compatibility: Internet Explorer 6.0+ with MathPlayer plugin, Mozilla Firefox 2.0+, Opera 9.5+ |
|
|
|
|
// mimetex : Adds a dilog for inserting mathematical formulas. In order this plugin to work prpoperly, preliminary changes. |
|
|
|
|
if ((api_get_setting('math_mimetex') == 'true')) { |
|
|
|
|
$config['LoadPlugin'][] = 'mimetex'; |
|
|
|
|
// in your server configuration have to be done. The MimeTex executable file has to be installed, see the installation guide. |
|
|
|
|
// Some additional settings become active only when the 'mimetex' plugin has been enabled: |
|
|
|
|
// |
|
|
|
|
// The following setting determines whether MimeTeX executable file has been installed on the server or not. This file should be accessible |
|
|
|
|
// for browsers at address http://mysite.com/cgi-bin/mimetex.cgi (Linux) or at address http://mysite.com/cgi-bin/mimetex.exe (Windows). |
|
|
|
|
// How to test manually: Open your browser and enter in the address bar something like http://mysite.com/cgi-bin/mimetex.cgi?hello |
|
|
|
|
// By default, the system tries to detect the MimeTeX executable file automatically. |
|
|
|
|
// If you are sure that the MimeTeX executable has been correctly installed, you may set this option to boolean true value. |
|
|
|
|
$config['MimetexExecutableInstalled'] = 'detect'; // 'detect' (default), true, false |
|
|
|
|
// Sometimes detection fails (due to slow DNS service, security restrictions, ...). For better probability of success, |
|
|
|
|
// the following methods for detection have been defined: |
|
|
|
|
// 'bootstrap_ip' - detection is tried at address like http://127.0.0.1/cgi-bin/mimetex.cgi |
|
|
|
|
// 'localhost' - detection is tried at address like http://localhost/cgi-bin/mimetex.cgi |
|
|
|
|
// 'ip' - detection is tried at ip address, for example http://192.168.0.1/cgi-bin/mimetex.cgi |
|
|
|
|
// 'server_name' - detection is tried at address based on server's name, for example http://mysite.com/cgi-bin/mimetex.cgi |
|
|
|
|
if (IS_WINDOWS_OS) { |
|
|
|
|
$config['MimetexExecutableDetectionMethod'] = 'bootstrap_ip'; // 'bootstrap_ip' for better chance on Windows (no firewall blocking). |
|
|
|
|
} else { |
|
|
|
|
$config['MimetexExecutableDetectionMethod'] = 'server_name'; |
|
|
|
|
} |
|
|
|
|
// Timeout for MimeTeX executable file detection - keep this value as low as possible, especially on Windows servers. |
|
|
|
|
$config['MimetexExecutableDetectionTimeout'] = 0.05; |
|
|
|
|
|
|
|
|
|
// asciimath : Yet another plugin for inserting mathematical formulas. |
|
|
|
|
// An additional javascript library ASCIIMathML.js has to be inserted within the pages with formulas. |
|
|
|
|
// After enabling it, this plugin is configured to work with full-page html documents out-of-the box. |
|
|
|
|
// You may try it in the "Documents" and "Wiki" tools. |
|
|
|
|
// Browser compatibility: Internet Explorer 6.0+ with MathPlayer plugin, Mozilla Firefox 2.0+, Opera 9.5+ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if ((api_get_setting('math_asciimathML') == 'true')) { |
|
|
|
|
$config['LoadPlugin'][] = 'asciimath'; |
|
|
|
|
@ -189,12 +189,14 @@ if ((api_get_setting('enabled_wiris') == 'true')) { |
|
|
|
|
$config['LoadPlugin'][] = 'fckeditor_wiris'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// imgmap : Adds a dialog for assigning hyperlinks to specified image areas. |
|
|
|
|
if ((api_get_setting('enabled_imgmap') == 'true')) { |
|
|
|
|
$config['LoadPlugin'][] = 'imgmap'; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// wikilink : Adds a dialog for inserting wiki-formatted links. |
|
|
|
|
$config['LoadPlugin'][] = 'wikilink'; |
|
|
|
|
|
|
|
|
|
// imgmap : Adds a dialog for assigning hyperlinks to specified image areas. |
|
|
|
|
$config['LoadPlugin'][] = 'imgmap'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* |
|
|
|
|
* File manager. |
|
|
|
|
|