 Al @-@ Azhar eventually adopted Saladin 's educational reforms modeled on the college system he instituted , and its fortunes improved under the Mamluks , who restored student stipends and salaries for the <unk> ( teaching staff ) . 
