site_url = "http://poodle.lboro.ac.uk/toolkits/"; $site->site_url = "http://localhost/toolkits/"; //Top part //Configures the look and feel of the page $site->site_title = "Welcome to Xerte Web Toolkits"; $site->site_logo = "website_code/images/xerteLogo.jpg"; $site->organisational_logo = "website_code/images/UofNLogo.jpg"; $site->welcome_message = "Welcome to Xerte online toolkits"; //Bottom part $site->demonstration_page = $site->site_url . "modules/xerte/training/toolkits.htm"; $site->site_text = "Welcome to the toolkits front page, developed by the University of Nottingham"; $site->news_text = "

Other resources

Site 1

Site 2

Site 3

"; $site->copyright = "© Copyright University of Nottingham 2008"; //password protection play form string $site->form_string = "

Username

Password

"; // peer review form string $site->peer_form_string = "

Password

"; // // // PATHS // // //Path for the main website display HTML $site->module_path = "modules/"; $site->website_code_path = "website_code/"; $site->users_file_area_short = "USER-FILES/"; //Path for the PHP library files $site->php_library_path = "website_code/php/"; //Path for basic templates $site->root_file_path = "/var/www/html/toolkits/"; $site->basic_template_path = $site->root_file_path . "modules/"; $site->users_file_area_full = $site->root_file_path . "USER-FILES/"; // // // DATABASE SETTINGS // // //hostname $site->database_host = "localhost"; //username - seems to be the only one it likes $site->database_username ="root"; //password $site->database_password =""; //database name $site->database_name ="toolkits"; //database table prefix $site->database_table_prefix =""; // // // QUERY STRINGS // Handles the preview and play settings // $site->play_edit_preview_query = "select " . $site->database_table_prefix . "originaltemplatesdetails.template_name, " . $site->database_table_prefix . "logindetails.username, " . $site->database_table_prefix . "originaltemplatesdetails.template_framework, " . $site->database_table_prefix . "templaterights.user_id, " . $site->database_table_prefix . "templaterights.folder, " . $site->database_table_prefix . "templaterights.template_id, " . $site->database_table_prefix . "templatedetails.access_to_whom from " . $site->database_table_prefix . "originaltemplatesdetails, " . $site->database_table_prefix . "templaterights, " . $site->database_table_prefix . "templatedetails, " . $site->database_table_prefix . "logindetails where " . $site->database_table_prefix . "templatedetails.template_type_id = " . $site->database_table_prefix . "originaltemplatesdetails.template_type_id and " . $site->database_table_prefix . "templatedetails.creator_id = " . $site->database_table_prefix . "logindetails.login_id and " . $site->database_table_prefix . "templaterights.template_id = " . $site->database_table_prefix . "templatedetails.template_id and " . $site->database_table_prefix . "templaterights.template_id=\"" . $_GET['template_id'] . "\" and role=\"creator\""; // // // ERROR HANDLING // // $site->error_log_path = $site->root_file_path . "error_logs/"; $site->email_error_list = "NULL"; $site->error_log_message=true; $site->error_email_message=false; // // // LDAP SETTINGS // // $site->ldap_host = "NULL"; $site->ldap_port = NULL; $site->bind_pwd="NULL"; $site->basedn="NULL"; $site->bind_dn = 'NULL'; // // // FLASH SETTINGS // // $site->flash_save_path = "modules/xerte/engine/save.php"; $site->flash_upload_path = "upload.php?path="; $site->flash_preview_check_path = "modules/xerte/engine/file_exists.php"; $site->flash_flv_skin = $site->site_url . "modules/xerte/engine/tools/SteelOverAll.swf"; // // // EMAIL // // $site->site_email_account = "NULL"; $site->headers = "MIME-Version: 1.0\n"; $site->headers .= "Content-type: text/html; charset=iso-8859-1\n"; $site->headers .= "X-Priority: 3\n"; $site->headers .= "X-MSmail-Priority: Normal\n"; $site->headers .= "X-mailer: php\n"; $site->headers .= "From: \"Xerte Online Toolkits\" < " . $site->site_email_account . ">\n"; $site->headers .= "Return-Path: " . $site->site_email_account . "\n"; $site->headers .= "Return-Receipt-To: " . $site->site_email_account . "\n"; $site->email_add_to_username = "NULL"; // // // RSS PROXY CONFIGS // // $site->proxy1 = "NULL"; $site->port1 = "NULL"; // // // FEEDBACK // // $site->feedback_list = "NULL" ?>