Server IP : 1.179.227.78 / Your IP : 10.104.4.41 Web Server : Apache System : Linux afdc-mdu34 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 User : www ( 1001) PHP Version : 7.4.30 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/afdc-mdu34.rtarf.mi.th/joomla/components/com_weblinks/views/form/tmpl/ |
Upload File : |
<?php /** * @package Joomla.Administrator * @subpackage Weblinks * * @copyright Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; JHtml::_('behavior.keepalive'); JHtml::_('behavior.formvalidation'); JHtml::_('formbehavior.chosen', 'select'); JHtml::_('behavior.modal', 'a.modal_jform_contenthistory'); $captchaEnabled = false; $captchaSet = $this->params->get('captcha', JFactory::getApplication()->get('captcha', '0')); foreach (JPluginHelper::getPlugin('captcha') as $plugin) { if ($captchaSet === $plugin->name) { $captchaEnabled = true; break; } } // Create shortcut to parameters. $params = $this->state->get('params'); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task == 'weblink.cancel' || document.formvalidator.isValid(document.getElementById('adminForm'))) { <?php echo $this->form->getField('description')->save(); ?> Joomla.submitform(task); } } </script> <div class="edit<?php echo $this->pageclass_sfx; ?>"> <?php if ($this->params->get('show_page_heading')) : ?> <h1> <?php echo $this->escape($this->params->get('page_heading')); ?> </h1> <?php endif; ?> <form action="<?php echo JRoute::_('index.php?option=com_weblinks&view=form&w_id=' . (int) $this->item->id); ?>" method="post" name="adminForm" id="adminForm" class="form-validate form-vertical"> <?php echo $this->form->renderField('title'); ?> <?php echo $this->form->renderField('alias'); ?> <?php echo $this->form->renderField('catid'); ?> <?php echo $this->form->renderField('url'); ?> <?php echo $this->form->renderField('tags'); ?> <?php if ($params->get('save_history', 0)) : ?> <?php echo $this->form->renderField('version_note'); ?> <?php endif; ?> <?php if ($this->user->authorise('core.edit.state', 'com_weblinks.weblink')) : ?> <?php echo $this->form->renderField('state'); ?> <?php endif; ?> <?php echo $this->form->renderField('language'); ?> <?php echo $this->form->renderField('description'); ?> <hr class="hr-condensed" /> <?php if ($captchaEnabled) : ?> <div class="btn-group"> <?php echo $this->form->renderField('captcha'); ?> </div> <?php endif; ?> <div class="btn-toolbar"> <div class="btn-group"> <button type="button" class="btn btn-primary" onclick="Joomla.submitbutton('weblink.save')"> <span class="icon-ok"></span> <?php echo JText::_('JSAVE') ?> </button> </div> <div class="btn-group"> <button type="button" class="btn" onclick="Joomla.submitbutton('weblink.cancel')"> <span class="icon-cancel"></span> <?php echo JText::_('JCANCEL') ?> </button> </div> <?php if ($params->get('save_history', 0)) : ?> <div class="btn-group"> <?php echo $this->form->getInput('contenthistory'); ?> </div> <?php endif; ?> </div> <input type="hidden" name="return" value="<?php echo $this->return_page;?>" /> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </form> </div>