CakePHP view with interleaved PHP and HTML 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   

                &lt;ul class='content_list'&gt;

&lt;?php foreach ($list as $l): ?&gt;

    &lt;?php $english=$l['translation']['english']; ?&gt;

    &lt;?php $translate_to=$l['translation']['translate_to']; ?&gt;

    &lt;?php $content=$l['Content']; ?&gt;

                    &lt;li&gt;

    &lt;?php if($l['flag_count']&gt;0): ?&gt;

                        &lt;span class='flag_count'&gt;&lt;?=$l['flag_count'] ?&gt;&lt;/span&gt;

    &lt;?php else: ?&gt;

                        &lt;span class='zero_flags'&gt;&lt;?=$l['flag_count'] ?&gt;&lt;/span&gt;

    &lt;?php endif; ?&gt;

                        &lt;?=$this-&gt;Html-&gt;link("Edit",$l['edit_route']) ?&gt;

                        &lt;span class='english'&gt;

                            &lt;?=$english[$content['content_type']."_name"] ?&gt;

                        &lt;/span&gt;

    &lt;?php if ($english_id!=$current_language_id): ?&gt;

                        &lt;span class='translate_to'&gt;

                            &lt;?=$translate_to[$content['content_type']."_name"] ?&gt;

                        &lt;/span&gt;

    &lt;?php endif; ?&gt;

    &lt;?php if ('range'==$content['content_type']): ?&gt;

        &lt;?php $slider_class=(1==$content['slider']) ? "in_slider" : ""; ?&gt;

        &lt;?php $slider_text=(1==$content['slider']) ? "on home" : ""; ?&gt;

                        &lt;div class='js_slider_toggle' data-content-id='&lt;?=$content['id'] ?&gt;'&gt;

                            &lt;span class='slider_label'&gt;

                                display on home?

                            &lt;/span&gt;

                            &lt;span class='js_icon slider_toggle &lt;?=$slider_class ?&gt;'&gt;                                

                            &lt;/span&gt;

                        &lt;/div&gt;

    &lt;?php endif; ?&gt;

                    &lt;/li&gt;

&lt;?php endforeach; ?&gt;

                &lt;/ul&gt;
Why not go with a template like Twig or Blade which would make the syntax a lot cleaner, while retaining most of all the controls. Also, remember that the view is for showing data, try to maintain as much logic OUT of the view as possible. 

Here's an untested version of your code with Blade:

&lt;ul class='content_list'&gt;
    @foreach($list as $l)
    &lt;li&gt;
        @if($l['flag_count'] &gt; 0)
            &lt;span class='flag_count'&gt;{{ $l['flag_count'] }}&lt;/span&gt;
        @else
            &lt;span class='zero_flags'&gt;{{ $l['flag_count'] }}&lt;/span&gt;
        @endif

        {{ $this-&gt;Html-&gt;link("Edit", $l['edit_route']) }}

        &lt;span class='english'&gt;
            {{ $l['translation']['english'][ $l['Content']['content_type'] . "_name" ] }}
        &lt;/span&gt;

        @if($l['translation']['english'] != $current_language_id)
            &lt;span class='translate_to'&gt;
                {{ $l['translation']['translate_to'][ $l['Content']['content_type'] . "_name" ] }}
            &lt;/span&gt; 
        @endif

        @if('range' === $l['Content']['content_type'])
            &lt;div class='js_slider_toggle' data-content-id='{{ $l['Content']['id'] }}'&gt;
                &lt;span class='slider_label {{ $l['Content']['slider'] or "on_home" }}'&gt;display on home?&lt;/span&gt;
                &lt;span class='js_icon slider_toggle {{ $l['Content']['slider'] or "in_slider" }}'&gt;&lt;/span&gt;
            &lt;/div&gt;
        @endif
    &lt;/li&gt;   
    @endforeach
&lt;/ul&gt;