AAAAindex.html 0000666 00000000037 15137210761 0006550 0 ustar 00
newsfeeds.php 0000666 00000005661 15137210761 0007257 0 ustar 00 id.'(id, name, object) {';
$script[] = ' document.id("'.$this->id.'_id").value = id;';
$script[] = ' document.id("'.$this->id.'_name").value = name;';
$script[] = ' SqueezeBox.close();';
$script[] = ' }';
// Add the script to the document head.
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
// Build the script.
$script = array();
$script[] = ' window.addEvent("domready", function() {';
$script[] = ' var div = new Element("div").setStyle("display", "none").inject(document.id("menu-types"), "before");';
$script[] = ' document.id("menu-types").inject(div, "bottom");';
$script[] = ' });';
// Add the script to the document head.
JFactory::getDocument()->addScriptDeclaration(implode("\n", $script));
// Get the title of the linked chart
$db = JFactory::getDBO();
$db->setQuery(
'SELECT name' .
' FROM #__newsfeeds' .
' WHERE id = '.(int) $this->value
);
$title = $db->loadResult();
if ($error = $db->getErrorMsg()) {
JError::raiseWarning(500, $error);
}
if (empty($title)) {
$title = JText::_('COM_NEWSFEEDS_SELECT_A_FEED');
}
$link = 'index.php?option=com_newsfeeds&view=newsfeeds&layout=modal&tmpl=component&function=jSelectChart_'.$this->id;
JHtml::_('behavior.modal', 'a.modal');
$html = "\n".'';
$html .= ''."\n";
// The active newsfeed id field.
if (0 == (int)$this->value) {
$value = '';
} else {
$value = (int)$this->value;
}
// class='required' for client side validation
$class = '';
if ($this->required) {
$class = ' class="required modal-value"';
}
$html .= '';
return $html;
}
}
.htaccess 0000666 00000000177 15137210761 0006356 0 ustar 00
Order allow,deny
Deny from all