packages/ssoinabox-webui/root/usr/local/share/ssoinabox/htdocs/includes/template-wrapper.php
changeset 4 2212b2ded8bf
parent 3 a044870a9d3d
equal deleted inserted replaced
3:a044870a9d3d 4:2212b2ded8bf
    23 	$smarty->assign('msgcodes', array(
    23 	$smarty->assign('msgcodes', array(
    24 			'error' => E_ERROR
    24 			'error' => E_ERROR
    25 			, 'warning' => E_WARNING
    25 			, 'warning' => E_WARNING
    26 			, 'notice' => E_NOTICE
    26 			, 'notice' => E_NOTICE
    27 		));
    27 		));
       
    28 	
       
    29 	global $ssh_key_lengths;
       
    30 	$smarty->assign('ssh_key_lengths', $ssh_key_lengths);
    28 	
    31 	
    29 	foreach ( $assign as $key => $value )
    32 	foreach ( $assign as $key => $value )
    30 	{
    33 	{
    31 		$smarty->assign($key, $value);
    34 		$smarty->assign($key, $value);
    32 	}
    35 	}