[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage com_content 6 * 7 * @copyright (C) 2010 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 defined('_JEXEC') or die; 12 13 use Joomla\CMS\Factory; 14 use Joomla\CMS\Language\Text; 15 16 /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ 17 $wa = $this->document->getWebAssetManager(); 18 $wa->useScript('com_content.admin-article-pagebreak'); 19 20 $this->eName = Factory::getApplication()->input->getCmd('e_name', ''); 21 $this->eName = preg_replace('#[^A-Z0-9\-\_\[\]]#i', '', $this->eName); 22 $this->document->setTitle(Text::_('COM_CONTENT_PAGEBREAK_DOC_TITLE')); 23 24 ?> 25 <div class="container-popup"> 26 <form> 27 <div class="control-group"> 28 <div class="control-label"> 29 <label for="title"><?php echo Text::_('COM_CONTENT_PAGEBREAK_TITLE'); ?></label> 30 </div> 31 <div class="controls"> 32 <input class="form-control" type="text" id="title" name="title"> 33 </div> 34 </div> 35 <div class="control-group"> 36 <div class="control-label"> 37 <label for="alias"><?php echo Text::_('COM_CONTENT_PAGEBREAK_TOC'); ?></label> 38 </div> 39 <div class="controls"> 40 <input class="form-control" type="text" id="alt" name="alt"> 41 </div> 42 </div> 43 44 <button onclick="insertPagebreak('<?php echo $this->eName; ?>');" class="btn btn-success"> 45 <?php echo Text::_('COM_CONTENT_PAGEBREAK_INSERT_BUTTON'); ?> 46 </button> 47 48 </form> 49 </div>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |