settings->get(); $ssa_settings = $ssa->settings->remove_unauthorized_settings_for_current_user( $ssa_settings ); $ssa_appointment_types = $ssa->appointment_type_model->get_all_appointment_types(); $ssa_appointment_type_labels = $ssa->appointment_type_label_model->query(); $pinned_notices = $ssa->notices->get_pinned_notices(); $error_notices = $ssa->error_notices->get_error_notices(); function ssa_get_language_attributes( $doctype = 'html' ) { $attributes = array(); $is_rtl = SSA_Translation::is_rtl(); $lang = SSA_Translation::get_locale(); $lang = str_replace( '_', '-', $lang ); if ( $is_rtl ) { $attributes[] = 'dir="rtl"'; } $attributes[] = 'lang="' . esc_attr( $lang ) . '"'; $output = implode( ' ', $attributes ); return $output; } ?> >