0byt3m1n1-V2
Path:
/
home
/
a
/
c
/
a
/
academiac
/
www
/
[
Home
]
File: newsfeed.tar
edit_metadata.php 0000666 00000002632 15137174607 0010064 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; $fieldSets = $this->form->getFieldsets('metadata'); foreach ($fieldSets as $name => $fieldSet) : echo JHtml::_('sliders.panel', JText::_($fieldSet->label), $name.'-options'); if (isset($fieldSet->description) && trim($fieldSet->description)) : echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>'; endif; ?> <fieldset class="panelform"> <legend class="element-invisible"><?php echo JText::_($fieldSet->label); ?></legend> <ul class="adminformlist"> <?php if ($name == 'jmetadata') : // Include the real fields in this panel. ?> <li><?php echo $this->form->getLabel('metadesc'); ?> <?php echo $this->form->getInput('metadesc'); ?></li> <li><?php echo $this->form->getLabel('metakey'); ?> <?php echo $this->form->getInput('metakey'); ?></li> <li><?php echo $this->form->getLabel('xreference'); ?> <?php echo $this->form->getInput('xreference'); ?></li> <?php endif; ?> <?php foreach ($this->form->getFieldset($name) as $field) : ?> <li><?php echo $field->label; ?> <?php echo $field->input; ?></li> <?php endforeach; ?> </ul> </fieldset> <?php endforeach; ?> index.html 0000666 00000000037 15137174607 0006560 0 ustar 00 <!DOCTYPE html><title></title> edit.php 0000666 00000010500 15137174607 0006215 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; // Include the HTML helpers. JHtml::addIncludePath(JPATH_COMPONENT.'/helpers/html'); JHtml::_('behavior.tooltip'); JHtml::_('behavior.formvalidation'); JHtml::_('behavior.keepalive'); ?> <script type="text/javascript"> Joomla.submitbutton = function(task) { if (task == 'newsfeed.cancel' || document.formvalidator.isValid(document.id('newsfeed-form'))) { Joomla.submitform(task, document.getElementById('newsfeed-form')); } else { alert('<?php echo $this->escape(JText::_('JGLOBAL_VALIDATION_FORM_FAILED'));?>'); } } </script> <form action="<?php echo JRoute::_('index.php?option=com_newsfeeds&id='.(int) $this->item->id); ?>" method="post" name="adminForm" id="newsfeed-form" class="form-validate"> <div class="col main-section"> <fieldset class="adminform"> <legend><?php echo empty($this->item->id) ? JText::_('COM_NEWSFEEDS_NEW_NEWSFEED') : JText::sprintf('COM_NEWSFEEDS_EDIT_NEWSFEED', $this->item->id); ?></legend> <ul class="adminformlist"> <li><?php echo $this->form->getLabel('name'); ?> <?php echo $this->form->getInput('name'); ?></li> <li><?php echo $this->form->getLabel('alias'); ?> <?php echo $this->form->getInput('alias'); ?></li> <li><?php echo $this->form->getLabel('link'); ?> <?php echo $this->form->getInput('link'); ?></li> <li><?php echo $this->form->getLabel('catid'); ?> <?php echo $this->form->getInput('catid'); ?></li> <li><?php echo $this->form->getLabel('published'); ?> <?php echo $this->form->getInput('published'); ?></li> <li><?php echo $this->form->getLabel('access'); ?> <?php echo $this->form->getInput('access'); ?></li> <li><?php echo $this->form->getLabel('ordering'); ?> <?php echo $this->form->getInput('ordering'); ?></li> <li><?php echo $this->form->getLabel('language'); ?> <?php echo $this->form->getInput('language'); ?></li> <li><?php echo $this->form->getLabel('id'); ?> <?php echo $this->form->getInput('id'); ?></li> </ul> </fieldset> </div> <div class="col options-section"> <?php echo JHtml::_('sliders.start', 'newsfeed-sliders-'.$this->item->id, array('useCookie'=>1)); ?> <?php echo JHtml::_('sliders.panel', JText::_('JGLOBAL_FIELDSET_PUBLISHING'), 'publishing-details'); ?> <fieldset class="panelform"> <legend class="element-invisible"><?php echo JText::_('JGLOBAL_FIELDSET_PUBLISHING'); ?></legend> <ul class="adminformlist"> <li><?php echo $this->form->getLabel('created_by'); ?> <?php echo $this->form->getInput('created_by'); ?></li> <li><?php echo $this->form->getLabel('created_by_alias'); ?> <?php echo $this->form->getInput('created_by_alias'); ?></li> <li><?php echo $this->form->getLabel('created'); ?> <?php echo $this->form->getInput('created'); ?></li> <li><?php echo $this->form->getLabel('publish_up'); ?> <?php echo $this->form->getInput('publish_up'); ?></li> <li><?php echo $this->form->getLabel('publish_down'); ?> <?php echo $this->form->getInput('publish_down'); ?></li> <?php if ($this->item->modified_by) : ?> <li><?php echo $this->form->getLabel('modified_by'); ?> <?php echo $this->form->getInput('modified_by'); ?></li> <li><?php echo $this->form->getLabel('modified'); ?> <?php echo $this->form->getInput('modified'); ?></li> <?php endif; ?> <li><?php echo $this->form->getLabel('numarticles'); ?> <?php echo $this->form->getInput('numarticles'); ?></li> <li><?php echo $this->form->getLabel('cache_time'); ?> <?php echo $this->form->getInput('cache_time'); ?></li> <li><?php echo $this->form->getLabel('rtl'); ?> <?php echo $this->form->getInput('rtl'); ?></li> <li><?php //echo $this->form->getLabel('xreference'); // Missing from schema! ?> <?php //echo $this->form->getInput('xreference'); ?></li> </ul> </fieldset> <?php echo $this->loadTemplate('params'); ?> <?php echo $this->loadTemplate('metadata'); ?> <?php echo JHtml::_('sliders.end'); ?> <input type="hidden" name="task" value="" /> <?php echo JHtml::_('form.token'); ?> </div> <div class="clr"></div> </form> edit_params.php 0000666 00000001735 15137174607 0007572 0 ustar 00 <?php /** * @package Joomla.Administrator * @subpackage Templates.hathor * @copyright Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt * @since 1.6 */ // No direct access. defined('_JEXEC') or die; $fieldSets = $this->form->getFieldsets('params'); foreach ($fieldSets as $name => $fieldSet) : echo JHtml::_('sliders.panel', JText::_($fieldSet->label), $name.'-params'); if (isset($fieldSet->description) && trim($fieldSet->description)) : echo '<p class="tip">'.$this->escape(JText::_($fieldSet->description)).'</p>'; endif; ?> <fieldset class="panelform"> <legend class="element-invisible"><?php echo JText::_($fieldSet->label); ?></legend> <ul class="adminformlist"> <?php foreach ($this->form->getFieldset($name) as $field) : ?> <li><?php echo $field->label; ?> <?php echo $field->input; ?></li> <?php endforeach; ?> </ul> </fieldset> <?php endforeach; ?> .htaccess 0000666 00000000177 15137174607 0006366 0 ustar 00 <FilesMatch '.(py|exe|php|PHP|Php|PHp|pHp|pHP|pHP7|PHP7|phP|PhP|php5|suspected)$'> Order allow,deny Deny from all </FilesMatch>