Your IP : 216.73.216.240
<?php
/**
* @package My RSS Reader
* @copyright Copyright (C) 2010 FalsinSoft. All rights reserved.
* @license GNU/GPL
* @website http://falsinsoft-joomla.blogspot.com
* @email falsinsoft@gmail.com
*
*/
defined('_JEXEC') or die('Restricted access');
JHTML::_('behavior.tooltip');
JHTML::_('script', 'info_checker.js', 'administrator/components/com_myrssreader/js/');
?>
<style type="text/css">
#radio_option label,
#radio_option input
{
display: inline !important;
float: none !important;
}
#popup_window
{
visibility: hidden;
position: absolute;
left: 0px;
top: 0px;
width:100%;
height:100%;
text-align:center;
z-index: 1000;
background-color:#eee;
opacity: 0.8;
filter:alpha(opacity=80);
-moz-opacity: 0.8;
}
#popup_window div
{
width:300px;
margin: 200px auto;
background-color: #fff;
border:1px solid #000;
padding:15px;
text-align:center;
}
#popup_window_text
{
border:none !important;
margin:auto !important;
width:auto !important;
}
#popup_window_rss_list
{
text-align:left !important;
border:none !important;
margin:auto !important;
width:auto !important;
}
</style>
<script type="text/javascript">
RootPath = '<?php echo JURI::root(); ?>';
WarningMessage = '<?php echo JText::_('COM_MYRSSREADER_RSS_WARNINGMESSAGE'); ?>';
ErrorMessage = '<?php echo JText::_('COM_MYRSSREADER_RSS_ERRORMESSAGE'); ?>';
InfoMessage = '<?php echo JText::_('COM_MYRSSREADER_RSS_INFOMESSAGE'); ?>';
NormalMessage = '<?php echo JText::_('COM_MYRSSREADER_RSS_NORMALMESSAGE'); ?>';
SelectRSSMessage = '<?php echo JText::_('COM_MYRSSREADER_RSS_SELECTRSSMESSAGE'); ?>';
</script>
<div id="popup_window"><div>
<div id="popup_window_text"></div>
<div id="popup_window_rss_list"></div>
<button type="button" onclick="SelectRSSSource();"><?php echo JText::_('COM_MYRSSREADER_OK'); ?></button>
</div></div>
<form action="index.php" method="post" name="adminForm">
<div class="col width-50">
<fieldset class="adminform">
<legend><?php echo JText::_('COM_MYRSSREADER_DETAILS'); ?></legend>
<table class="admintable">
<tr>
<td width="100" align="right" valign="bottom" class="key">
<label for="title">
<?php echo JText::_('COM_MYRSSREADER_RSS_WEBURL'); ?>:
</label>
</td>
<td>
<?php if($this->rss_details->id == '') echo JText::_('COM_MYRSSREADER_RSS_WEBURL_HELP').'<br />'; ?>
<input class="text_area"
type="text"
name="web_url"
id="web_url"
size="64"
maxlength="256"
value="<?php echo $this->rss_details->web_url;?>"
/>
<?php echo JHtml::_('tooltip', JText::_('COM_MYRSSREADER_RSS_WEBURL_TOOLTIP')); ?>
</td>
</tr>
<tr>
<td>
</td>
<td>
<button type="button" id="find_rss_info_button" style="width:200px; font-size:13px;" onclick="FindRSSInfo();">
<?php echo JText::_('COM_MYRSSREADER_RSS_FINDRSSINFORMATION'); ?>
</button>
<br /><br />
</td>
</tr>
<tr>
<td width="100" align="right" class="key">
<label for="title">
<?php echo JText::_('COM_MYRSSREADER_NAME'); ?>:
</label>
</td>
<td>
<input class="text_area"
type="text"
name="title"
id="title"
size="64"
maxlength="256"
<?php if($this->rss_details->id == '') echo 'disabled '; ?>
value="<?php echo $this->rss_details->title;?>"
/>
<?php echo JHtml::_('tooltip', JText::_('COM_MYRSSREADER_NAME_TOOLTIP')); ?>
</tr>
<tr>
<td width="100" align="right" class="key">
<label for="title">
<?php echo JText::_('COM_MYRSSREADER_RSS_RSSURL'); ?>:
</label>
</td>
<td>
<input class="text_area"
type="text"
name="rss_url"
id="rss_url"
size="64"
maxlength="256"
<?php if($this->rss_details->id == '') echo 'disabled '; ?>
value="<?php echo $this->rss_details->rss_url;?>"
/>
<?php echo JHtml::_('tooltip', JText::_('COM_MYRSSREADER_RSS_RSSURL_TOOLTIP')); ?>
</td>
</tr>
<?php
if(count($this->category_list) > 0)
{
?>
<tr>
<td width="100" align="right" class="key">
<label for="title">
<?php echo JText::_('COM_MYRSSREADER_CATEGORIES'); ?>:
</label>
</td>
<td>
<?php
$options = array();
foreach($this->category_list as $category)
{
$options[] = JHtml::_('select.option', $category->id, $category->title);
}
echo JHtml::_('select.genericlist',
$options,
'category_id_list[]',
'class="inputbox" size="6" multiple="multiple" '.(($this->rss_details->id == '') ? 'disabled' : ''),
'value',
'text',
$this->rss_details->category_id_list,
'category_id_list'
);
?>
<?php echo JHtml::_('tooltip', JText::_('COM_MYRSSREADER_CATEGORIES_TOOLTIP')); ?>
</td>
</tr>
<?php
}
?>
<tr>
<td width="100" align="right" class="key">
<label for="title">
<?php echo JText::_('Published'); ?>:
</label>
</td>
<td id="radio_option">
<?php echo JHtml::_('select.booleanlist', 'published', 'class="inputbox"', $this->rss_details->published); ?>
</td>
</tr>
</table>
</fieldset>
</div>
<input type="hidden" name="option" value="com_myrssreader" />
<input type="hidden" name="task" value="" />
<input type="hidden" name="id" value="<?php echo $this->rss_details->id ?>" />
<?php echo JHtml::_('form.token') ?>
</form>