Example #1
0
			<a href="#" class="show-hide" title="Show description">&darr;</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> ';
            }
        }
        ?>
&nbsp;		
			</span>
			<div class="contextEdit<?php 
        echo $i;
        ?>
 context-input-div" id="<?php 
        echo $mit->id;
        ?>
">@</div>