Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@2 91…
…2cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
- Loading branch information
1 parent
d9d7e1d
commit c7bc940
Showing
511 changed files
with
29,056 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Text file to ensure this folder is created on the server. | ||
|
||
Projects created by users will be stored in this folder. |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,145 @@ | ||
27/1/2010 | ||
|
||
setup/Page3.php | ||
--------------- | ||
Added new mimetypes | ||
|
||
website_code/php/import/file_upload.php | ||
--------------------------------------- | ||
Added mime type of the file that failed to upload | ||
|
||
30/9/2009 | ||
Fixed datafield in basic.sql to reset template example values | ||
|
||
|
||
21/09/09 | ||
Fixed bug in hotspotImage.rlm that prevented the choice of a highlight colour working properly | ||
|
||
|
||
14/09/09 | ||
Fixed issue in .xwd in Page Templates that broke the MCQ page type. | ||
Simple fix is to replace your .xwd with this one. Might need to recreate problematic examples | ||
|
||
======= | ||
14/09/2009 | ||
Properties.php | ||
Fixed the open content text change typo | ||
modules/xerte/parent_templates/mediaInteractions | ||
renamed folder to deal with camel casing | ||
setup/basic.sql | ||
Ammended to address the above | ||
syndicate.php | ||
Added download links into dc:relation field | ||
|
||
01/09/2009 | ||
Syndicate.php | ||
Added scorm and export links, reformatted author display to DC standard | ||
website_code/php/scorm/archive.php | ||
Changed header properties in download_file function | ||
website_code/php/scorm/export.php | ||
Fixed download bug for users not logged in | ||
|
||
20/08/09 | ||
Update to XMLEngine.swf to fix Latex calls to yourequations.com | ||
|
||
20/08/09 | ||
Update to XMLEngine.swf to accomodate custom interfaces | ||
|
||
04/08/2009 | ||
Update setup/htaccess.conf to fix data bug | ||
|
||
27/07/2009 | ||
all of website_code/php/workspaceproperties | ||
All modified to rename syndication to be open content | ||
|
||
publishproperties.php, properties.php | ||
Renamed the Syndication tab to be open content | ||
|
||
syndicate.php | ||
Improved RSS Interoperability, improved publish date tag and fixed one validation bug. | ||
|
||
10/7/2009 | ||
website_code/php/workspaceproperties/folder_rss_templates_template.php | ||
Fixed extra / in the folder links area | ||
|
||
website_code/php/workspaceproperties/shared_templates_template.php | ||
Added overflow hidden style to deal with long template names | ||
|
||
08/06/2009 | ||
website_code/login_top | ||
Fixed the username and password maxlength attributes | ||
|
||
website_code/php/properties/sharing_status_template.php | ||
Fixed typo of <img src=\"website_code/images/TickBox0ff.gif\" - Set "0ff" to be "Off" | ||
|
||
Added new file switch.txt to provide some scope for Non-LDAP authentication. | ||
|
||
15/05/2009 | ||
Modified syndicate.php | ||
Neatened the presentation of the project title | ||
|
||
15/05/09 | ||
Fixed missing onReleaseOutside when handling movie clip events on an event response | ||
|
||
======= | ||
15/05/2009 | ||
Modified website_code/php/properties/publish.php | ||
Modifications displays URL for public content. | ||
|
||
Modified website_code/php/scorm/scorm_library.php | ||
Modified website_code/php/scorm/export.php | ||
Changed imsmanifestcreate function to set the title to be the name of the object. | ||
|
||
Modified website_code/scripts/import.js | ||
Changed iframe checking code to allow for the display of PHP errors (e.g localhost memory stacks) | ||
|
||
Omission in .htaccess | ||
Shift Click Play in editor window now supported in .htaccess | ||
|
||
|
||
14/05/09 | ||
Fixed issue with onInit being commented out in Nottingham.rlt | ||
Fixed issue with Shift-Play shortcut not jumping to the right page | ||
Added License.txt | ||
|
||
08/05/2009 | ||
Fixed website_code/php/scorm/export.php | ||
Modification to allow for admins to export | ||
|
||
Fixed user agent problem in snoopy.class.php | ||
|
||
06/05/2009 | ||
Fixed LDAP authentication array return problem for non-password-authenticated LDAP option. | ||
website_code/php/login_library.php | ||
|
||
05/05/2009 | ||
Omission of empty folder name resolved in | ||
website_code/php/templates/duplicate_template.php | ||
|
||
30/04/2009 | ||
Fixed LDAP authentication problem for non-password-authenticated LDAP option. | ||
website_code/php/login_library.php | ||
|
||
Resolved ommission on the publish tab to synchronise project files | ||
website_code/php/versioncontrol/update_file.php | ||
|
||
Added code to allow for duplicated templates to appear in a folder. | ||
website_code/scripts/template_management.js - duplicate_template function changed | ||
website_code/php/templates/duplicate_template.php - added scope to use the new variable passed in | ||
|
||
29/04/2009 | ||
Resolved bug in the return value for RSS_user option | ||
website_code/php/url_library.php - url_return function changed | ||
|
||
28/04/2009 | ||
example.php - bug on calling $safe_template_id before set | ||
|
||
28/04/2009 | ||
peer_review.php - bug on handling email headers | ||
|
||
28/04/2009 | ||
Fixed issues with internal custom events not being handled properly. Fixed now so that in Xerte you cans et up multiple event handlers for the same event; can listen for ntaive events and can listen for custom events of your choosing; also internally in the engine custom events are handled the same way as native events, i.e. just by defining the handler function. | ||
|
||
Then fixed the symptomatic issue with the categories interaction. | ||
|
||
Fixed an issue with menu driven navigation and the title page model |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,187 @@ | ||
<?PHP /** | ||
* | ||
* Config page, sets up the site variable from the database | ||
* | ||
* @author Patrick Lockley | ||
* @version 1.0 | ||
* @copyright Copyright (c) 2008,2009 University of Nottingham | ||
* @package | ||
*/ | ||
|
||
/** | ||
* $xerte_toolkits_site variable | ||
* Variable used to hold database settings | ||
* @global object $xerte_toolkits_site | ||
*/ | ||
|
||
|
||
$xerte_toolkits_site; | ||
|
||
/** | ||
* Has the site variable been created already, if not create it | ||
*/ | ||
|
||
if(!isset($xerte_toolkits_site)){ | ||
|
||
/** | ||
* Access the database to get the variables | ||
*/ | ||
|
||
include "database.php"; | ||
|
||
$mysql_connect_id = @mysql_connect($xerte_toolkits_site->database_host, $xerte_toolkits_site->database_username, $xerte_toolkits_site->database_password); | ||
|
||
mysql_select_db($xerte_toolkits_site->database_name) or die($database_fail = true); | ||
|
||
$query = "select * from " . $xerte_toolkits_site->database_table_prefix . "sitedetails"; | ||
|
||
$query_response = mysql_query($query); | ||
|
||
$row = mysql_fetch_array($query_response); | ||
|
||
/** | ||
* Access the database to get the variables | ||
* @version 1.0 | ||
* @author Patrick Lockley | ||
* @copyright 2008,2009 University of Nottingham | ||
*/ | ||
|
||
/** | ||
* Include any script that is used for configuration | ||
*/ | ||
|
||
if($row['integration_config_path']!=""){ | ||
|
||
require_once($row['integration_config_path']); | ||
|
||
} | ||
|
||
/** | ||
* Site variables | ||
*/ | ||
|
||
$xerte_toolkits_site->site_url = $row['site_url']; | ||
$xerte_toolkits_site->apache = $row['apache']; | ||
$xerte_toolkits_site->integration_config_path = $row['integration_config_path']; | ||
$xerte_toolkits_site->admin_username = $row['admin_username']; | ||
$xerte_toolkits_site->admin_password = $row['admin_password']; | ||
$xerte_toolkits_site->mimetypes = explode(",",$row['mimetypes']); | ||
|
||
/** | ||
* Site session variables | ||
*/ | ||
|
||
$xerte_toolkits_site->site_session_name = $row['site_session_name']; | ||
|
||
/** | ||
* Configure the look and feel for index.php page | ||
*/ | ||
|
||
$xerte_toolkits_site->site_title = $row['site_title']; | ||
$xerte_toolkits_site->name = $row['site_name']; | ||
$xerte_toolkits_site->site_logo = $row['site_logo']; | ||
$xerte_toolkits_site->organisational_logo = $row['organisational_logo']; | ||
$xerte_toolkits_site->welcome_message = $row['welcome_message']; | ||
$xerte_toolkits_site->demonstration_page = $xerte_toolkits_site->site_url . $row['demonstration_page']; | ||
|
||
$xerte_toolkits_site->site_text = $row['site_text']; | ||
$xerte_toolkits_site->news_text = base64_decode($row['news_text']); | ||
$xerte_toolkits_site->pod_one = base64_decode($row['pod_one']); | ||
$xerte_toolkits_site->pod_two = base64_decode($row['pod_two']); | ||
$xerte_toolkits_site->copyright = utf8_decode($row['copyright']); | ||
|
||
/** | ||
* Configure the RSS Feed title | ||
*/ | ||
|
||
$xerte_toolkits_site->rss_title = $row['rss_title']; | ||
$xerte_toolkits_site->synd_publisher = $row['synd_publisher']; | ||
$xerte_toolkits_site->synd_rights = $row['synd_rights']; | ||
$xerte_toolkits_site->synd_license = $row['synd_license']; | ||
|
||
/** | ||
* Set up the string for the password protected play page | ||
*/ | ||
|
||
$xerte_toolkits_site->form_string = base64_decode($row['form_string']); | ||
|
||
/** | ||
* Set up the string for the peer review page | ||
*/ | ||
|
||
$xerte_toolkits_site->peer_form_string = base64_decode($row['peer_form_string']); | ||
|
||
/** | ||
* Site paths | ||
*/ | ||
|
||
$xerte_toolkits_site->module_path = $row['module_path']; | ||
$xerte_toolkits_site->website_code_path = $row['website_code_path']; | ||
$xerte_toolkits_site->users_file_area_short = $row['users_file_area_short']; | ||
$xerte_toolkits_site->php_library_path = $row['php_library_path']; | ||
$xerte_toolkits_site->root_file_path = $row['root_file_path']; | ||
$xerte_toolkits_site->basic_template_path = $xerte_toolkits_site->root_file_path . $xerte_toolkits_site->module_path; | ||
$xerte_toolkits_site->users_file_area_full = $xerte_toolkits_site->root_file_path . $xerte_toolkits_site->users_file_area_short; | ||
$xerte_toolkits_site->import_path = $row['import_path']; | ||
|
||
/** | ||
* SQL query string used by play,edit and preview pages | ||
*/ | ||
|
||
$xerte_toolkits_site->play_edit_preview_query = base64_decode($row['play_edit_preview_query']); | ||
|
||
/** | ||
* Error handling settings | ||
*/ | ||
|
||
$xerte_toolkits_site->error_log_path = $xerte_toolkits_site->root_file_path . $row['error_log_path']; | ||
$xerte_toolkits_site->email_error_list = $row['email_error_list']; | ||
$xerte_toolkits_site->error_log_message= $row['error_log_message']; | ||
$xerte_toolkits_site->error_email_message= $row['error_email_message']; | ||
$xerte_toolkits_site->max_error_size= $row['max_error_size']; | ||
|
||
/** | ||
* LDAP Settings | ||
*/ | ||
|
||
$xerte_toolkits_site->ldap_host = $row['ldap_host']; | ||
$xerte_toolkits_site->ldap_port = $row['ldap_port']; | ||
$xerte_toolkits_site->bind_pwd = $row['bind_pwd']; | ||
$xerte_toolkits_site->basedn = $row['basedn']; | ||
$xerte_toolkits_site->bind_dn = $row['bind_dn']; | ||
$xerte_toolkits_site->LDAP_preference = $row['LDAP_preference']; | ||
$xerte_toolkits_site->LDAP_filter = $row['LDAP_filter']; | ||
|
||
/** | ||
* Xerte settings | ||
*/ | ||
|
||
$xerte_toolkits_site->flash_save_path = $row['flash_save_path']; | ||
$xerte_toolkits_site->flash_upload_path = $row['flash_upload_path']; | ||
$xerte_toolkits_site->flash_preview_check_path = $row['flash_preview_check_path']; | ||
$xerte_toolkits_site->flash_flv_skin = $xerte_toolkits_site->site_url . $row['flash_flv_skin']; | ||
|
||
/** | ||
* Email settings | ||
*/ | ||
|
||
$xerte_toolkits_site->site_email_account = $row['site_email_account']; | ||
$xerte_toolkits_site->headers = $row['headers']; | ||
$xerte_toolkits_site->email_to_add_to_username = $row['email_to_add_to_username']; | ||
|
||
/** | ||
* RSS Proxy settings | ||
*/ | ||
|
||
$xerte_toolkits_site->proxy1 = $row['proxy1']; | ||
$xerte_toolkits_site->port1 = $row['port1']; | ||
|
||
/** | ||
* Set up the feedback list from the feedback page | ||
*/ | ||
|
||
$xerte_toolkits_site->feedback_list = $row['feedback_list']; | ||
|
||
} | ||
|
||
?> |
Oops, something went wrong.