<a href="#" class="show-hide" title="Show description">↓</a> <div class="<?php if ($mit->completed != 1) { echo 'descEdit' . $i . ' '; } ?> description" id="<?php echo $mit->id; ?> "><?php echo stripslashes($mit->notes); ?> </div> <span class="contexts"> <?php $contexts = Context::get_contexts($mit->id); if (!empty($contexts)) { foreach ($contexts as $context) { echo '<a href="' . SITE_URL . DS . 'home' . DS . 'contexts' . DS . $context->name . '">@' . $context->name . '</a> '; } } ?> </span> <div class="contextEdit<?php echo $i; ?> context-input-div" id="<?php echo $mit->id; ?> ">@</div>