Disclosed herein are methods for modulation of gel temperature of poloxamer-containing formulations. Also described herein are sustained release pharmaceutical formulations that gel upon contact with the body and are administered by direct application of these compositions and formulations onto or via perfusion into the targeted structure(s).