Public paste
Undefined
By: Guest | Date: Mar 20 2010 16:40 | Format: PHP | Expires: never | Size: 1.96 KB | Hits: 877

  1. <?php
  2.  
  3. $this->_view()->appendStyle('jquery-ui-1.7.2.custom.css');
  4. $this->_view()->appendStyle('iridium_default.css');
  5. $this->_view()->appendStyle('jquery.ui.table.css');
  6. $this->_view()->appendStyle('jquery.ui.innertable.css');
  7. $this->_view()->appendStyle('jquery.ui.selectbox.css');
  8. $this->_view()->appendStyle('jquery.ui.button.css');
  9. $this->_view()->appendStyle('jquery.ui.checkbox-radiobutton.css');
  10. $this->_view()->appendStyle('jquery-ui-1.7.2.custom.overwrite.css');
  11.  
  12. $this->_view()->headScript('jquery-1.3.2.min.js');
  13. $this->_view()->headScript('required_bind.js');
  14. $this->_view()->headScript('jquery.ui.classnameoptions.js');
  15. $this->_view()->headScript('jquery.ui.selectbox.js');
  16. $this->_view()->headScript('jquery.lightbox-0.5.js');
  17. $this->_view()->headScript('jquery.tabs.js');
  18.  
  19. $this->_view()->headMeta('Robots', 'INDEX,FOLLOW');
  20. $this->_view()->headMeta('Notice', 'sun sun sun :)');
  21.  
  22. $this->_view()->headTitlePostfix(' .:. ');
  23. $this->_view()->headTitleSuffix('&copy; '.@date('Y'));
  24.  
  25.  
  26.  
  27. print
  28.  
  29. $this->_view()->partial
  30. (
  31.         'doc/xhtml1-transitional.php', array
  32.         (
  33.        
  34.                 'xmlns'
  35.                
  36.                         =>
  37.                        
  38.                         'http://www.w3.org/1999/xhtml',
  39.                
  40.                 'xmllang'
  41.                
  42.                         => 'de',
  43.                        
  44.                 'lang'
  45.                
  46.                         => 'de',
  47.  
  48.                 'content'
  49.                        
  50.                         =>
  51.                
  52.                         $this->_view()->partial
  53.                         (
  54.                                 'html/head.php', array
  55.                                 (
  56.                                         'content'
  57.                                                 =>
  58.                                                
  59.                                                 $this->_view()->renderTitle()
  60.                                                         .$this->_view()->renderStyleTags('media-styles')
  61.                                                         .$this->_view()->renderScriptTags('media-jscripts')
  62.                                                         .$this->_view()->renderMeta()
  63.                                        
  64.                                 ),
  65.                                 FALSE
  66.                         )
  67.                         .
  68.                         $this->_view()->partial
  69.                         (
  70.                                 'html/body.php', array
  71.                                 (
  72.                                        
  73.                                         'content'
  74.                                                 =>
  75.                                                
  76.                                                 '<pre style="background: #135537; color: #13dd37; padding: 30px">'
  77.                                                         .$this->_view()->partial('test/bla.php')
  78.                                                         .$this->_view()->buffer()->content
  79.                                                         .$this->_view()->partial('test/bla.php', array(), false)
  80.                                                         .'</pre>'
  81.                                 ),
  82.                                 FALSE
  83.                         )              
  84.                
  85.         ),
  86.         FALSE
  87. );
  88. ?>