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

Show
Ignore:
Timestamp:
09/01/10 15:24:17 (3 years ago)
Author:
johnnyoffline
Message:

See commit notes from [2109]

Updated blog plugin published on

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/apostropheBlogPlugin/trunk/modules/aEventAdmin/templates/_form.php

    r2081 r2110  
    3737        </div> 
    3838 
    39         <?php echo __('Publish now or', array(), 'apostrophe') ?>  <a href="#" onclick="return false;" class="post-date-toggle a-sidebar-toggle"><?php echo __('set a date', array(), 'apostrophe') ?></a> 
     39        <?php if ($a_event['status'] != 'published'): ?> 
     40                <?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> 
     41        <?php else: ?> 
     42                <?php echo __('Published on '.date('D, M d Y', strtotime($a_event['published_at'])), array(), 'apostrophe_blog') ?><br/> 
     43                <a href="#" onclick="return false;" class="post-date-toggle a-sidebar-toggle"><?php echo __('change date', array(), 'apostrophe_blog') ?></a>            
     44        <?php endif ?> 
    4045 
    4146        <div class="post-published-at option">