This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

footer

By: a guest on Feb 10th, 2013  |  syntax: None  |  size: 0.46 KB  |  views: 24  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <?php
  2. /**
  3. * @package   Tasty
  4. * @author    YOOtheme http://www.yootheme.com
  5. * @copyright Copyright (C) YOOtheme GmbH
  6. * @license   http://www.gnu.org/licenses/gpl.html GNU/GPL
  7. */
  8.  
  9. // get warp
  10. $warp = Warp::getInstance();
  11.  
  12. // get content from output buffer and set a slot for the template renderer
  13. $warp['template']->set('content', ob_get_clean());
  14.  
  15. // load main template file, located in /layouts/template.php
  16. echo $warp['template']->render('template');
clone this paste RAW Paste Data