Public paste
Undefined
By: Guest | Date: Mar 26 2010 11:16 | Format: None | Expires: never | Size: 795 B | Hits: 871

  1. <?PHP
  2. // layout.php:
  3. $this->_view()->headScript('jquery-1.3.2.min.js');
  4. $this->_view()->headScript('required_bind.js');
  5. $this->_view()->headScript('jquery.ui.classnameoptions.js');
  6. $this->_view()->headScript('jquery.ui.selectbox.js');
  7. $this->_view()->headScript('jquery.lightbox-0.5.js');
  8. $this->_view()->headScript('jquery.tabs.js');
  9. ?>
  10.  
  11. scripts wreden automatisch alle an routing weitergeschickt:
  12.  
  13.                 <media-jscripts
  14.                         location   = "media/jscripts/"
  15.                         regexp     = "(.*)?"
  16.                         module     = "media"
  17.                         controller = "javascript"
  18.                         params     = "array files"
  19.                 />
  20.  
  21. output im xhtml:
  22. <script type="text/javascript" src="/media/jscripts/jquery-1.3.2.min.js|required_bind.js|jquery.ui.classnameoptions.js|jquery.ui.selectbox.js|jquery.lightbox-0.5.js|jquery.tabs.js/" ></script>
Latest pastes
52 minutes ago
10 hours ago
1 days ago
2 days ago
2 days ago