示例#1
0
 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');
 }
示例#2
0
<div id="sf_admin_theme_footer">
  <?php 
if (csSettings::getSetting('Show Backend Copyright')->value == 'yes') {
    ?>
    Copyright &copy; <?php 
    echo symAdminTools::getProperty('site');
    ?>
. All rights reserved.
  <?php 
}
?>
</div>
示例#3
0
<div id="bottom">
  <div class="center-wrapper">

    <div class="left">
      <?php 
if (csSettings::getSetting('Show Copyright')->value == 'yes') {
    ?>
        Copyright &copy; 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');
示例#4
0
 /**
  * Executes about action
  */
 public function executeAbout()
 {
     $this->about = csSettings::getSetting('About');
 }