1<?php 2/** 3 * Options for the authsplit plugin 4 * 5 * @author Pieter Hollants <pieter@hollants.com> 6 */ 7 8/* Define a custom "authtype" class that does not show authsplit */ 9if (!class_exists('setting_authtype_nosplit')) { 10 class setting_authtype_nosplit extends setting_authtype { 11 function initialize($default=null, $local=null, $protected=null) { 12 parent::initialize($default, $local, $protected); 13 14 $this->_choices = array_diff($this->_choices, array("authsplit")); 15 } 16 } 17} 18 19$meta['primary_authplugin'] = array('authtype_nosplit', '_cautionList' => array('plugin____authsplit____primary_authplugin' => 'danger')); 20$meta['secondary_authplugin'] = array('authtype_nosplit', '_cautionList' => array('plugin____authsplit____secondary_authplugin' => 'danger')); 21$meta['autocreate_users'] = array('onoff'); 22$meta['username_caseconversion'] = array('multichoice', '_choices' => array('None', 'To uppercase', 'To lowercase')); 23$meta['debug'] = array('onoff'); 24