capability.phtml
9 years ago
login-redirect.phtml
9 years ago
menu.phtml
9 years ago
metabox.phtml
9 years ago
post.phtml
9 years ago
redirect.phtml
9 years ago
teaser.phtml
9 years ago
teaser.phtml
38 lines
| 1 | <?php if (defined('AAM_KEY')) { ?> |
| 2 | <div class="aam-feature" id="teaser-content"> |
| 3 | <div class="row"> |
| 4 | <div class="col-xs-12"> |
| 5 | <?php if ($this->isDefault()) { ?> |
| 6 | <p class="aam-info"> |
| 7 | <?php echo AAM_Backend_View_Helper::preparePhrase('Setup [default] teaser message for all users, roles and visitors when access is limited to any post on your website.', 'strong'); ?> |
| 8 | </p> |
| 9 | <?php } else { ?> |
| 10 | <p class="aam-info"> |
| 11 | <?php echo sprintf(AAM_Backend_View_Helper::preparePhrase('Setup customized teaser message for the [%s] when access is limited to post on your website.', 'strong'), AAM_Backend_View::getSubject()->getUID()); ?> |
| 12 | </p> |
| 13 | <?php } ?> |
| 14 | <div class="aam-overwrite" id="aam-teaser-overwrite" style="display: <?php echo ($this->isOverwritten() ? 'block' : 'none'); ?>"> |
| 15 | <span><i class="icon-check"></i> Settings are customized</span> |
| 16 | <span><a href="#" id="teaser-reset" class="btn btn-xs btn-primary">Reset To Default</a></span> |
| 17 | </div> |
| 18 | </div> |
| 19 | </div> |
| 20 | |
| 21 | <div class="row"> |
| 22 | <div class="col-xs-12"> |
| 23 | <div> |
| 24 | <div class="form-group"> |
| 25 | <label><?php echo __('Teaser Message', AAM_KEY); ?></label> |
| 26 | <textarea class="form-control" name="frontend.teaser.message" rows="3" placeholder="<?php echo __('Enter teaser message...', AAM_KEY); ?>"><?php echo stripslashes($this->getOption('frontend.teaser.message')); ?></textarea> |
| 27 | </div> |
| 28 | <div class="checkbox"> |
| 29 | <label> |
| 30 | <input type="checkbox" name="frontend.teaser.excerpt" value="1" <?php echo intval($this->getOption('frontend.teaser.excerpt')) ? 'checked' : ''; ?> /> |
| 31 | <?php echo __('Add excerpt before teaser message', AAM_KEY); ?> |
| 32 | </label> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |
| 37 | </div> |
| 38 | <?php } |