- Timestamp:
- 04/30/10 17:20:39 (2 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
plugins/apostropheBlogPlugin/trunk/modules/aBlogAdmin/templates/_form.php
r1111 r1113 8 8 9 9 10 11 10 <?php // Title and Slug are hidden and handled with inputs in the editSuccess ?> 12 11 <div class="post-title post-slug option"> … … 15 14 <?php echo $form['slug']->renderError() ?> 16 15 </div> 17 18 16 19 17 … … 33 31 34 32 <div class="post-published-at option"> 35 <?php echo $form['published_at']->render( ) ?>33 <?php echo $form['published_at']->render(array('onClose' => 'updateBlogMulti')) ?> 36 34 <?php echo $form['published_at']->renderError() ?> 37 38 <?php39 // Dan:40 // All of a sudden we have save and cancel buttons now.41 // So apparently when you click save it makes this change42 // If you click cancel it some how restores it to 'Publish Now' â It doesn't just simply hide this options pane43 ?>44 <ul class="a-controls published_at">45 <li><a href="#" onclick="checkAndSetPublish('<?php echo $a_blog_post->status ?>','<?php echo url_for('a_blog_admin_update',$a_blog_post) ?>'); return false;" class="a-btn a-save"><?php echo __('Save', array(), 'apostrophe_blog') ?></a></li>46 <li><a href="#" onclick="checkAndSetPublish('<?php echo $a_blog_post->status ?>','<?php echo url_for('a_blog_admin_update',$a_blog_post) ?>'); return false;" class="a-btn a-cancel"><?php echo __('Cancel', array(), 'apostrophe_blog') ?></a></li>47 </ul>48 35 </div> 49 36 </div> … … 143 130 <?php endif ?> 144 131 145 <?php include_partial('aBlogAdmin/formScripts', array('a_blog_post' => $a_blog_post )) ?>132 <?php include_partial('aBlogAdmin/formScripts', array('a_blog_post' => $a_blog_post, 'form' => $form)) ?>

