Here is what I spent all day working on today. I replaced a large block of mixed HTML/PHP code that looked like this…

…repeated multiple times with variations, with this PHP code:
$current_value =& MyMirrors::$options->current_mode();
$multi = is_multisite();
$plus
…