File manager - Edit - /home/ferretapmx/public_html/edit.php.tar
Back
home/ferretapmx/public_html/components/com_content/tmpl/form/edit.php 0000644 00000021505 15231077253 0022235 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_content * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Content\Site\View\Form\HtmlView $this */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate') ->useScript('com_content.form-edit'); $this->tab_name = 'com-content-form'; $this->ignore_fieldsets = ['image-intro', 'image-full', 'jmetadata', 'item_associations']; $this->useCoreUI = true; // Create shortcut to parameters. $params = $this->state->get('params'); // This checks if the editor config options have ever been saved. If they haven't they will fall back to the original settings if (!$params->exists('show_publishing_options')) { $params->set('show_urls_images_frontend', '0'); } ?> <div class="edit item-page"> <?php if ($params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <form action="<?php echo Route::_('index.php'); ?>" method="post" name="adminForm" id="adminForm" class="form-validate form-vertical"> <fieldset> <?php echo HTMLHelper::_('uitab.startTabSet', $this->tab_name, ['active' => 'editor', 'recall' => true, 'breakpoint' => 768]); ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'editor', Text::_('COM_CONTENT_ARTICLE_CONTENT')); ?> <?php echo $this->form->renderField('title'); ?> <?php if (is_null($this->item->id)) : ?> <?php echo $this->form->renderField('alias'); ?> <?php endif; ?> <?php echo $this->form->renderField('articletext'); ?> <?php if ($this->captchaEnabled) : ?> <?php echo $this->form->renderField('captcha'); ?> <?php endif; ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php if ($params->get('show_urls_images_frontend')) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'images', Text::_('COM_CONTENT_IMAGES_AND_URLS')); ?> <?php echo $this->form->renderField('image_intro', 'images'); ?> <?php echo $this->form->renderField('image_intro_alt', 'images'); ?> <?php echo $this->form->renderField('image_intro_alt_empty', 'images'); ?> <?php echo $this->form->renderField('image_intro_caption', 'images'); ?> <?php echo $this->form->renderField('float_intro', 'images'); ?> <?php echo $this->form->renderField('image_fulltext', 'images'); ?> <?php echo $this->form->renderField('image_fulltext_alt', 'images'); ?> <?php echo $this->form->renderField('image_fulltext_alt_empty', 'images'); ?> <?php echo $this->form->renderField('image_fulltext_caption', 'images'); ?> <?php echo $this->form->renderField('float_fulltext', 'images'); ?> <?php echo $this->form->renderField('urla', 'urls'); ?> <?php echo $this->form->renderField('urlatext', 'urls'); ?> <div class="control-group"> <div class="controls"> <?php echo $this->form->getInput('targeta', 'urls'); ?> </div> </div> <?php echo $this->form->renderField('urlb', 'urls'); ?> <?php echo $this->form->renderField('urlbtext', 'urls'); ?> <div class="control-group"> <div class="controls"> <?php echo $this->form->getInput('targetb', 'urls'); ?> </div> </div> <?php echo $this->form->renderField('urlc', 'urls'); ?> <?php echo $this->form->renderField('urlctext', 'urls'); ?> <div class="control-group"> <div class="controls"> <?php echo $this->form->getInput('targetc', 'urls'); ?> </div> </div> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php endif; ?> <?php echo LayoutHelper::render('joomla.edit.params', $this); ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'publishing', Text::_('COM_CONTENT_PUBLISHING')); ?> <?php echo $this->form->renderField('transition'); ?> <?php echo $this->form->renderField('state'); ?> <?php echo $this->form->renderField('catid'); ?> <?php echo $this->form->renderField('tags'); ?> <?php echo $this->form->renderField('note'); ?> <?php if ($params->get('save_history', 0)) : ?> <?php echo $this->form->renderField('version_note'); ?> <?php endif; ?> <?php if ($params->get('show_publishing_options', 1) == 1) : ?> <?php echo $this->form->renderField('created_by_alias'); ?> <?php endif; ?> <?php if ($this->item->params->get('access-change')) : ?> <?php echo $this->form->renderField('featured'); ?> <?php if ($params->get('show_publishing_options', 1) == 1) : ?> <?php echo $this->form->renderField('featured_up'); ?> <?php echo $this->form->renderField('featured_down'); ?> <?php echo $this->form->renderField('publish_up'); ?> <?php echo $this->form->renderField('publish_down'); ?> <?php endif; ?> <?php endif; ?> <?php echo $this->form->renderField('access'); ?> <?php if (is_null($this->item->id)) : ?> <div class="control-group"> <div class="control-label"> </div> <div class="controls"> <?php echo Text::_('COM_CONTENT_ORDERING'); ?> </div> </div> <?php endif; ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php if (Multilanguage::isEnabled()) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'language', Text::_('JFIELD_LANGUAGE_LABEL')); ?> <?php echo $this->form->renderField('language'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php else : ?> <?php echo $this->form->renderField('language'); ?> <?php endif; ?> <?php if ($params->get('show_publishing_options', 1) == 1) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'metadata', Text::_('COM_CONTENT_METADATA')); ?> <?php echo $this->form->renderField('metadesc'); ?> <?php echo $this->form->renderField('metakey'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php endif; ?> <?php echo HTMLHelper::_('uitab.endTabSet'); ?> <?php echo $this->form->renderControlFields(); ?> </fieldset> <div class="d-grid gap-2 d-sm-block mb-2"> <button type="button" class="btn btn-primary" data-submit-task="article.apply"> <span class="icon-check" aria-hidden="true"></span> <?php echo Text::_('JSAVE'); ?> </button> <button type="button" class="btn btn-primary" data-submit-task="article.save"> <span class="icon-check" aria-hidden="true"></span> <?php echo Text::_('JSAVEANDCLOSE'); ?> </button> <?php if ($this->showSaveAsCopy) : ?> <button type="button" class="btn btn-primary" data-submit-task="article.save2copy"> <span class="icon-copy" aria-hidden="true"></span> <?php echo Text::_('JSAVEASCOPY'); ?> </button> <?php endif; ?> <button type="button" class="btn btn-danger" data-submit-task="article.cancel"> <span class="icon-times" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?> </button> <?php if ($params->get('save_history', 0) && $this->item->id && ComponentHelper::isEnabled('com_contenthistory')) : ?> <?php echo $this->form->getInput('contenthistory'); ?> <?php endif; ?> </div> </form> </div> home/ferretapmx/public_html/components/com_contact/tmpl/form/edit.php 0000644 00000007372 15231077264 0022226 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_contact * * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Component\ComponentHelper; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Multilanguage; use Joomla\CMS\Language\Text; use Joomla\CMS\Layout\LayoutHelper; use Joomla\CMS\Router\Route; /** @var \Joomla\Component\Contact\Site\View\Form\HtmlView $this */ /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate'); $this->tab_name = 'com-contact-form'; $this->ignore_fieldsets = ['details', 'item_associations', 'language']; $this->useCoreUI = true; ?> <div class="edit item-page<?php echo $this->pageclass_sfx; ?>"> <?php if ($this->params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <form action="<?php echo Route::_('index.php'); ?>" method="post" name="adminForm" id="adminForm" class="form-validate form-vertical"> <fieldset> <?php echo HTMLHelper::_('uitab.startTabSet', $this->tab_name, ['active' => 'details', 'recall' => true, 'breakpoint' => 768]); ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'details', empty($this->item->id) ? Text::_('COM_CONTACT_NEW_CONTACT') : Text::_('COM_CONTACT_EDIT_CONTACT')); ?> <?php echo $this->form->renderField('name'); ?> <?php if (is_null($this->item->id)) : ?> <?php echo $this->form->renderField('alias'); ?> <?php endif; ?> <?php echo $this->form->renderFieldset('details'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'misc', Text::_('COM_CONTACT_FIELDSET_MISCELLANEOUS')); ?> <?php echo $this->form->getInput('misc'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php if (Multilanguage::isEnabled()) : ?> <?php echo HTMLHelper::_('uitab.addTab', $this->tab_name, 'language', Text::_('JFIELD_LANGUAGE_LABEL')); ?> <?php echo $this->form->renderField('language'); ?> <?php echo HTMLHelper::_('uitab.endTab'); ?> <?php else : ?> <?php echo $this->form->renderField('language'); ?> <?php endif; ?> <?php echo LayoutHelper::render('joomla.edit.params', $this); ?> <?php echo HTMLHelper::_('uitab.endTabSet'); ?> <input type="hidden" name="task" value=""/> <input type="hidden" name="return" value="<?php echo $this->return_page; ?>"/> <?php echo HTMLHelper::_('form.token'); ?> </fieldset> <div class="d-grid gap-2 d-sm-block mb-2"> <button type="button" class="btn btn-primary" onclick="Joomla.submitbutton('contact.save')"> <span class="icon-check" aria-hidden="true"></span> <?php echo Text::_('JSAVE'); ?> </button> <button type="button" class="btn btn-danger" onclick="Joomla.submitbutton('contact.cancel')"> <span class="icon-times" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?> </button> <?php if ($this->params->get('save_history', 0) && $this->item->id && ComponentHelper::isEnabled('com_contenthistory')) : ?> <?php echo $this->form->getInput('contenthistory'); ?> <?php endif; ?> </div> </form> </div> home/ferretapmx/public_html/components/com_users/tmpl/profile/edit.php 0000644 00000007001 15231113501 0022377 0 ustar 00 <?php /** * @package Joomla.Site * @subpackage com_users * * @copyright (C) 2009 Open Source Matters, Inc. <https://www.joomla.org> * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; /** @var Joomla\Component\Users\Site\View\Profile\HtmlView $this */ HTMLHelper::_('bootstrap.tooltip', '.hasTooltip'); // Load user_profile plugin language $lang = $this->getLanguage(); $lang->load('plg_user_profile', JPATH_ADMINISTRATOR); /** @var Joomla\CMS\WebAsset\WebAssetManager $wa */ $wa = $this->getDocument()->getWebAssetManager(); $wa->useScript('keepalive') ->useScript('form.validate'); ?> <div class="com-users-profile__edit profile-edit"> <?php if ($this->params->get('show_page_heading')) : ?> <div class="page-header"> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> </div> <?php endif; ?> <form id="member-profile" action="<?php echo Route::_('index.php'); ?>" method="post" class="com-users-profile__edit-form form-validate form-horizontal well" enctype="multipart/form-data"> <?php // Iterate through the form fieldsets and display each one. ?> <?php foreach ($this->form->getFieldsets() as $group => $fieldset) : ?> <?php $fields = $this->form->getFieldset($group); ?> <?php if (count($fields)) : ?> <fieldset> <?php // If the fieldset has a label set, display it as the legend. ?> <?php if (isset($fieldset->label)) : ?> <legend> <?php echo Text::_($fieldset->label); ?> </legend> <?php endif; ?> <?php if (isset($fieldset->description) && trim($fieldset->description)) : ?> <p> <?php echo $this->escape(Text::_($fieldset->description)); ?> </p> <?php endif; ?> <?php // Iterate through the fields in the set and display them. ?> <?php foreach ($fields as $field) : ?> <?php echo $field->renderField(); ?> <?php endforeach; ?> </fieldset> <?php endif; ?> <?php endforeach; ?> <?php if ($this->mfaConfigurationUI) : ?> <fieldset class="com-users-profile__multifactor"> <legend><?php echo Text::_('COM_USERS_PROFILE_MULTIFACTOR_AUTH'); ?></legend> <?php echo $this->mfaConfigurationUI ?> </fieldset> <?php endif; ?> <div class="com-users-profile__edit-submit control-group"> <div class="controls"> <button type="submit" class="btn btn-primary validate" name="task" value="profile.save"> <span class="icon-check" aria-hidden="true"></span> <?php echo Text::_('JSAVE'); ?> </button> <button type="submit" class="btn btn-danger" name="task" value="profile.cancel" formnovalidate> <span class="icon-times" aria-hidden="true"></span> <?php echo Text::_('JCANCEL'); ?> </button> <input type="hidden" name="option" value="com_users"> </div> </div> <?php echo HTMLHelper::_('form.token'); ?> </form> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.2.32 | Generation time: 0.07 |
proxy
|
phpinfo
|
Settings