« Return to Thread: valid html issue

Re: valid html issue

by Greg Donald-3 :: Rate this Message:

Reply to Author | View in Thread

On 5/29/08, Matthew Weier O'Phinney <matthew@...> wrote:
> The helpers that are doctype aware are only considering whether or not
>  they are HTML or XHTML -- strictness is not considered.
>
>  Additionally, you can always switch doctype temporarily within your
>  application view scripts if they need to emit differently than the rest
>  of the application

Is there a way to do it in the bootstrap?

Something like this pseudo code?

if controller name == 'admin' && action name == 'index'
  // set frameset doctype
else
  // set regular doctype

I guess I could use $_SERVER['REQUEST_URI'] if nothing else.


--
Greg Donald
http://destiney.com/

 « Return to Thread: valid html issue