| 64 | | <div class="a-form-row engine a-page-type"> |
| 65 | | <h4><?php echo $form['engine']->renderLabel(__('Page Type', array(), 'apostrophe')) ?></h4> |
| 66 | | <div class="a-form-field"> |
| 67 | | <?php echo $form['engine']->render(array('onChange' => 'aUpdateEngineAndTemplate()')) ?> |
| | 62 | <div class="a-accordion-content"> |
| | 63 | |
| | 64 | <div class="a-form-row engine a-page-type"> |
| | 65 | <h4><?php echo $form['engine']->renderLabel(__('Page Type', array(), 'apostrophe')) ?></h4> |
| | 66 | <div class="a-form-field"> |
| | 67 | <?php echo $form['engine']->render(array('onChange' => 'aUpdateEngineAndTemplate()')) ?> |
| | 68 | </div> |
| | 69 | <?php echo $form['engine']->renderError() ?> |
| 69 | | <?php echo $form['engine']->renderError() ?> |
| | 71 | |
| | 72 | <div class="a-form-row a-edit-page-template"> |
| | 73 | <h4><?php echo $form['template']->renderLabel(__('Page Template', array(), 'apostrophe')) ?></h4> |
| | 74 | <div class="a-form-field"> |
| | 75 | <?php echo $form['template'] ?> |
| | 76 | </div> |
| | 77 | <?php echo $form['template']->renderError() ?> |
| | 78 | </div> |
| | 79 | |
| | 80 | <?php if (isset($engineSettingsPartial)): ?> |
| | 81 | <div class="a-form-row a-engine-page-settings" id="a_settings_engine_settings"> |
| | 82 | <?php include_partial($engineSettingsPartial, array('form' => $engineForm)) ?> |
| | 83 | </div> |
| | 84 | <?php endif ?> |
| | 85 | |
| | 86 | <div class="a-form-row status"> |
| | 87 | <h4><label><?php echo __('Page Status', null, 'apostrophe') ?></label></h4> |
| | 88 | <div class="a-page-settings-status"> |
| | 89 | <?php echo $form['archived'] ?> |
| | 90 | <?php if(isset($form['cascade_archived'])): ?> |
| | 91 | <?php echo $form['cascade_archived'] ?> <?php echo __('Cascade status changes to children', null, 'apostrophe') ?> |
| | 92 | <?php endif ?> |
| | 93 | </div> |
| | 94 | </div> |
| | 95 | |
| | 96 | <div class="a-form-row privacy"> |
| | 97 | <h4><label><?php echo __('Page Privacy', null, 'apostrophe') ?></label></h4> |
| | 98 | <div class="a-page-settings-status"> |
| | 99 | <?php echo $form['view_is_secure'] ?> |
| | 100 | <?php if(isset($form['cascade_view_is_secure'])): ?> |
| | 101 | <?php echo $form['cascade_view_is_secure'] ?> <?php echo __('Cascade privacy changes to children', null, 'apostrophe') ?> |
| | 102 | <?php endif ?> |
| | 103 | </div> |
| | 104 | </div> |
| | 105 | |
| 71 | | |
| 72 | | <div class="a-form-row a-edit-page-template"> |
| 73 | | <h4><?php echo $form['template']->renderLabel(__('Page Template', array(), 'apostrophe')) ?></h4> |
| 74 | | <div class="a-form-field"> |
| 75 | | <?php echo $form['template'] ?> |
| 76 | | </div> |
| 77 | | <?php echo $form['template']->renderError() ?> |
| 78 | | </div> |
| 79 | | |
| 80 | | <?php if (isset($engineSettingsPartial)): ?> |
| 81 | | <div id="a_settings_engine_settings"> |
| 82 | | <?php include_partial($engineSettingsPartial, array('form' => $engineForm)) ?> |
| 83 | | </div> |
| 84 | | <?php endif ?> |
| 85 | | |
| 86 | | <div class="a-form-row status"> |
| 87 | | <h4><label><?php echo __('Page Status', null, 'apostrophe') ?></label></h4> |
| 88 | | <div class="a-page-settings-status"> |
| 89 | | <?php echo $form['archived'] ?> |
| 90 | | <?php if(isset($form['cascade_archived'])): ?> |
| 91 | | <?php // If you want your <em> back here, do it in the translation file ?> |
| 92 | | <?php echo $form['cascade_archived'] ?> <?php echo __('Cascade status changes to children', null, 'apostrophe') ?> |
| 93 | | <?php endif ?> |
| 94 | | </div> |
| 95 | | </div> |
| 96 | | |
| 97 | | <div class="a-form-row privacy"> |
| 98 | | <h4><label><?php echo __('Page Privacy', null, 'apostrophe') ?></label></h4> |
| 99 | | <div class="a-page-settings-status"> |
| 100 | | <?php echo $form['view_is_secure'] ?> |
| 101 | | <?php if(isset($form['cascade_view_is_secure'])): ?> |
| 102 | | <?php echo $form['cascade_view_is_secure'] ?> <?php echo __('Cascade privacy changes to children', null, 'apostrophe') ?> |
| 103 | | <?php endif ?> |
| 104 | | </div> |
| 105 | | </div> |
| 106 | | |
| 115 | | <div class="a-form-row keywords"> |
| 116 | | <div class="a-form-field"> |
| 117 | | <?php echo $form['tags'] ?> |
| | 115 | <div class="a-accordion-content"> |
| | 116 | |
| | 117 | <div class="a-form-row keywords"> |
| | 118 | <div class="a-form-field"> |
| | 119 | <?php echo $form['tags'] ?> |
| | 120 | </div> |
| | 121 | <?php echo $form['tags']->renderError() ?> |
| | 122 | <?php a_js_call('aInlineTaggableWidget(?, ?)', '.tags-input', array('popular-tags' => $popularTags, 'existing-tags' => $existingTags, 'typeahead-url' => url_for('taggableComplete/complete'), 'tagsLabel' => 'Page Tags')) ?> |
| 119 | | <?php echo $form['tags']->renderError() ?> |
| 120 | | <?php a_js_call('aInlineTaggableWidget(?, ?)', '.tags-input', array('popular-tags' => $popularTags, 'existing-tags' => $existingTags, 'typeahead-url' => url_for('taggableComplete/complete'), 'tagsLabel' => 'Page Tags')) ?> |
| | 124 | |
| | 125 | <div class="a-form-row meta-description"> |
| | 126 | <h4 class="a-block"><?php echo $form['meta_description']->renderLabel(__('Meta Description', array(), 'apostrophe')) ?></h4> |
| | 127 | <div class="a-form-field"> |
| | 128 | <?php echo $form['meta_description'] ?> |
| | 129 | </div> |
| | 130 | <?php echo $form['meta_description']->renderError() ?> |
| | 131 | </div> |
| | 132 | |