protected function print_ori_field() { require_once NELIOAB_UTILS_DIR . '/html-generator.php'; NelioABHtmlGenerator::print_post_searcher('exp_original', $this->original_id, 'show-drafts'); ?> <a class="button" style="text-align:center;" href="javascript:NelioABEditExperiment.previewOriginal()"><?php _e('Preview', 'nelioab'); ?> </a> <span class="description" style="display:block;"><?php _e('You will create alternative headlines (title, featured image, and excerpt) for this post.', 'nelioab'); ?> </span><?php }
protected function print_additional_info_for_new_alt_form() { ?> <label class="copying-content" style="padding-top:0.5em;"> <span class="title"><?php _e('Source', 'nelioab'); ?> </span> <span class="input-text-wrap"> <?php require_once NELIOAB_UTILS_DIR . '/html-generator.php'; if ($this->alt_type == NelioABExperiment::PAGE_ALT_EXP) { NelioABHtmlGenerator::print_page_searcher('based_on', false, 'show-drafts'); } else { NelioABHtmlGenerator::print_post_searcher('based_on', false, 'show-drafts'); } ?> <span class="description" style="display:block;"><?php _e('The selected page\'s content will be duplicated and used by this alternative.', 'nelioab'); ?> </span> </span> </label><?php }