fix enbug fatal error on block function (missing $xoopsTpl)