\n"; foreach($files as $file) { $name=strip_ext("$file"); print "\n
  • $name
  • "; } print "\n\n"; } } // SJW 2014.02.09 // Sanitize form data (for membership form, or in general) function qufa_sanitize_form_data($form_data) { $sanitized_data = $form_data; $sanitized_data = trim($sanitized_data); $sanitized_data = strip_tags($sanitized_data); $sanitized_data = htmlentities($sanitized_data); $sanitized_data = filter_var($sanitized_data, FILTER_SANITIZE_STRING); return $sanitized_data; } // Sanitize an entire array function qufa_sanitize_form_data_array($form_data_array) { $sanitized_form_data_array = array(); foreach($form_data_array as $key => $value) { $sanitized_form_data_array[$key] = qufa_sanitize_form_data($value); } return $sanitized_form_data_array; } // Generate a random string for spam check function qufa_generate_random_string($str_length = -1) { $character_array = str_split("ABCDEFGHIJKLMNOPQURTUVWXYZabcdefghijklmnopqrstuvwxyz"); $character_array_size = count($character_array); $random_string_size = $str_length; $random_string = ''; shuffle($character_array); if (($random_string_size < 0) || ($random_string_size >= $character_array_size)) { $random_string_size = $character_array_size - 1; } $random_string = array_slice($character_array, 0, $random_string_size); return implode('', $random_string); } function qufa_check_spelling($phrase_to_check) { $phrase_array = explode(" ", $phrase_to_check); $pspell_link = pspell_new("en"); if (! $pspell_link) { return true; } $spelled_ok = 0; $spelled_wrong = 0; foreach ($phrase_array as $word) { if (pspell_check($pspell_link, $word)) { $spelled_ok++; } else { $spelled_wrong++; } } return ($spelled_ok > $spelled_wrong); } ?> QUFA - OCUFA Quality Matters Campaign

    OCUFA Quality Matters Campaign

    On March 9th, the Ontario Confederation of University Faculty Associations launched its Quality Matters campaign.

    These are uncertain times for university faculty and librarians. Economic instability has worsened the underfunding problem on Ontario’s campuses. At the same time, university education has become even more important as centres of innovation and training necessary to get the province moving again. The public agrees. In a recent OCUFA poll, 85 per cent on Ontarians indicated they would like to see additional funds for higher education in the upcoming Provincial Budget.

    “The economy is looming large in the public’s mind,” said Professor Brian E. Brown, President of OCUFA. “Quality Matters makes a simple point­we can’t move our economy ahead if we leave our students behind.” Quality Matters seeks to increase public awareness of the funding issue leading up to the budget on March 26th. Focused around a new website, the campaign will encourage students, parents, concerned citizens and OCUFA members to send a personal message to Premier Dalton McGuinty urging him to increase university funding.

    OCUFA is using the full power of social media to support the Quality Matters campaign. Electronic ads have been placed on the Globe & Mail and Maclean’s website, and on Facebook. A Facebook group for the campaign is also active, and OCUFA is investigating the use of other Internet services to spread the word. For more information on the campaign, or to send a message to Premier McGuinty, please visit http://www.quality-matters.ca.

    2009.03.19