replaced deprecated \e setting in preg_replace
Small calendar admin changes