It's CakePHP, though I'm more interested in what people think about the layout of the indentation, the mark-up, position of logic etc.
Any feedback that relates to the subject of writing CakePHP views / front end code should take precedence over CakePHP feedback or logic feedback, though the latters are welcome too
<ul class='content_list'>
<?php foreach ($list as $l): ?>
<?php $english=$l['translation']['english']; ?>
<?php $translate_to=$l['translation']['translate_to']; ?>
<?php $content=$l['Content']; ?>
<li>
<?php if($l['flag_count']>0): ?>
<span class='flag_count'><?=$l['flag_count'] ?></span>
<?php else: ?>
<span class='zero_flags'><?=$l['flag_count'] ?></span>
<?php endif; ?>
<?=$this->Html->link("Edit",$l['edit_route']) ?>
<span class='english'>
<?=$english[$content['content_type']."_name"] ?>
</span>
<?php if ($english_id!=$current_language_id): ?>
<span class='translate_to'>
<?=$translate_to[$content['content_type']."_name"] ?>
</span>
<?php endif; ?>
<?php if ('range'==$content['content_type']): ?>
<?php $slider_class=(1==$content['slider']) ? "in_slider" : ""; ?>
<?php $slider_text=(1==$content['slider']) ? "on home" : ""; ?>
<div class='js_slider_toggle' data-content-id='<?=$content['id'] ?>'>
<span class='slider_label'>
display on home?
</span>
<span class='js_icon slider_toggle <?=$slider_class ?>'>
</span>
</div>
<?php endif; ?>
</li>
<?php endforeach; ?>
</ul>