public function executeShow(sfWebRequest $request) { $this->blog_post = Doctrine::getTable('BlogPost')->find($request->getParameter('id')); $this->forward404Unless($this->blog_post); $this->categories = Doctrine::getTable('BlogCategory')->createQuery('c')->execute(); $this->blog_about = csSettings::getSetting('Blog About'); }
<div id="sf_admin_theme_footer"> <?php if (csSettings::getSetting('Show Backend Copyright')->value == 'yes') { ?> Copyright © <?php echo symAdminTools::getProperty('site'); ?> . All rights reserved. <?php } ?> </div>
<div id="bottom"> <div class="center-wrapper"> <div class="left"> <?php if (csSettings::getSetting('Show Copyright')->value == 'yes') { ?> Copyright © 2009 by <?php echo csSettings::getSetting('Copyright')->value; ?> <span class="text-separator">|</span> <?php } ?> <a href="<?php echo url_for('@about'); ?> "><?php echo __('About', array(), 'main'); ?> </a> <span class="text-separator">|</span> <a href="#"><?php echo __('Privacy Policy', array(), 'main'); ?> </a> <span class="text-separator">|</span> <a href="#"><?php echo __('Terms of Use', array(), 'main'); ?> </a> <span class="text-separator">|</span> <a href="#"><?php echo __('Full feed', array(), 'main');
/** * Executes about action */ public function executeAbout() { $this->about = csSettings::getSetting('About'); }