\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 - An Academic with a Balanced Life: You must be kidding!

    An Academic with a Balanced Life: You must be kidding!

    (Wendy Pentland, Queen's School of Rehabilitation Therapy)

    Thursday, November 12, 2009
    1:30 - 3 pm
    B176 Mackintosh Corry, Seminar Room

    Life balance isn't rocket science, but sometimes even contemplating it can feel that way. The academic career has roots in asceticism and devotion. Old values and habits die hard.

    This workshop will begin with an invitation for you to consider a new perspective on life balance and fulfillment; one that is rooted in personal strengths and values. This will be followed by discussion and exchange among participants on:

    • the challenges and stresses they face in balancing a life with an academic career component,
    • suggestions and strategies for what works (and doesn't), and
    • generating plans and recommendations for ongoing support and change toward balancing an academic career in the context of a life.

    Persons who feel they are living a balanced or unbalanced life are equally encouraged to attend. Wendy Pentland, PhD is an associate professor of occupational therapy in the School of Rehabilitation Therapy at Queen's and a certified professional coach.