To participate you must create an account on apostrophenow.org. If you have already done so, click Login.

Show
Ignore:
Timestamp:
07/21/10 15:51:42 (22 months ago)
Author:
dordille
Message:

Merged various fixes from branch into trunk.

Location:
plugins/apostropheBlogPlugin/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk

  • plugins/apostropheBlogPlugin/trunk/modules/aBlogAdmin/templates/_form.php

    r1750 r1816  
    2323        </a> 
    2424        <div id="a-blog-item-update" class="a-btn big a-publish-post">Saved</div> 
    25          
     25 
    2626        <div class="post-status option"> 
    2727          <?php echo $form['status']->render() ?> 
    2828        </div> 
    29          
     29 
    3030        <?php echo __('Publish now or', array(), 'apostrophe_blog') ?>  <a href="#" onclick="return false;" class="post-date-toggle a-sidebar-toggle"><?php echo __('set a date', array(), 'apostrophe_blog') ?></a> 
    3131 
     
    4646        <h4><?php echo __('Author', array(), 'apostrophe_blog') ?>: 
    4747                        <?php if (isset($form['author_id'])): ?> 
    48                                 </h4>    
     48                                </h4> 
    4949                                <div class="author_id option"> 
    5050                                <?php echo $form['author_id']->render() ?> 
    51                                 <?php echo $form['author_id']->renderError() ?>                          
     51                                <?php echo $form['author_id']->renderError() ?> 
    5252                                </div> 
    5353                        <?php else: ?> 
    54                                 <span><?php echo $a_blog_post->Author ?></span></h4>     
     54                                <span><?php echo $a_blog_post->Author ?></span></h4> 
    5555                        <?php endif ?> 
    5656        </div> 
     
    6565                <?php else: ?> 
    6666                        <hr/> 
    67                 <div class="post-editors-options option show-editors" id="editors-section">                      
     67                <div class="post-editors-options option show-editors" id="editors-section"> 
    6868                <?php endif ?> 
    6969 
     
    7171            <?php echo $form['editors_list']->render()?> 
    7272            <?php echo $form['editors_list']->renderError() ?> 
    73          
     73 
    7474      </div> 
    7575    </div> 
     
    9494        <hr /> 
    9595        <div class="comments section"> 
    96                 <h4><a href="#" class="allow_comments_toggle <?php echo ($a_blog_post['allow_comments'])? 'enabled' : 'disabled' ?>"><span class="enabled" title="<?php echo __('Click to disable comments', array(), 'apostrophe_blog') ?>"><?php echo __('Comments are enabled', array(), 'apostrophe_blog') ?></span><span class="disabled" title="<?php echo __('Click to enable comments', array(), 'apostrophe_blog') ?>"><?php echo __('Comments are disabled', array(), 'apostrophe_blog') ?></span></a></h4>  
     96                <h4><a href="#" class="allow_comments_toggle <?php echo ($a_blog_post['allow_comments'])? 'enabled' : 'disabled' ?>"><span class="enabled" title="<?php echo __('Click to disable comments', array(), 'apostrophe_blog') ?>"><?php echo __('Comments are enabled', array(), 'apostrophe_blog') ?></span><span class="disabled" title="<?php echo __('Click to enable comments', array(), 'apostrophe_blog') ?>"><?php echo __('Comments are disabled', array(), 'apostrophe_blog') ?></span></a></h4> 
    9797                <div class="allow_comments option"> 
    9898                <?php echo $form['allow_comments']->render() ?> 
     
    109109                <h4><?php echo __('Categories', array(), 'apostrophe_blog') ?></h4> 
    110110                <?php if($sf_user->hasCredential('admin')): ?> 
    111                         <?php echo link_to('edit categories','@a_blog_category_admin', array('class' => 'edit-categories', )) ?>         
     111                        <?php echo link_to('edit categories','@a_blog_category_admin', array('class' => 'edit-categories', )) ?> 
    112112          <?php endif ?> 
    113113                <?php echo $form['categories_list']->render() ?>