Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Demos
Documentation
Forums
Contact Us
Download
Purchase
Quotes

" ... I want to tell you that your thyme product is functional and valuable beyond words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."

" ... Thanks for such a complete project, its making my job much easier. ..."

" ... I have now deployed 4 different calendars and our users love them ... "

" ... Easy to install and use and a great look/design. ..."

" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
error found and fixed rss module

 
Post new topic   Reply to topic     Forum Index -> General
View previous topic :: View next topic  
Author Message
Andyy



Joined: 24 Jul 2007
Posts: 27
Location: Huddersfield UK

PostPosted: Wed Jul 16, 2008 1:51 pm    Post subject: error found and fixed rss module Reply with quote

in rss_module > rss_admin.php
find:

#######################
#
### FEED LIST
#
#######################

foreach($feeds as $f)
{


$_cal_table->print_row(
array(
@htmlspecialchars($f['title'], ENT_QUOTES, _CHARSET_),
@htmlspecialchars($f['description'], ENT_QUOTES, _CHARSET_),
"<input type=button class='"._CAL_CSS_BUTTON_."' value='". _EDIT_ ."'
onClick='edit_feed(". $f['id'] .")'>
<input type=button class='"._CAL_CSS_BUTTON_."' value='". _DELETE_ ."'
onClick='delete_feed(". $f['id'] .")'>
")

);

}

$_cal_table->print_footer();

$form->print_footer();

?>
<br><br>
<script language='javascript' type='text/javascript'>
<!--

var rssfrm = document.forms['<?php echo($form->name) ?>'].elements;

function edit_feed(rid)
{

rssfrm['rssid'].value = rid;
rssfrm['rss_action'].value = '<?php echo(_EDIT_) ?>';
document.forms['<?php echo($form->name) ?>'].submit();
}

function delete_feed(rid)
{

rssfrm['rssid'].value = rid;
rssfrm['rss_action'].value = '<?php echo(_DELETE_) ?>';
document.forms['<?php echo($form->name) ?>'].submit();


}
-->
</script>

remove:
$_cal_table->print_footer();

It was causing the footer to load in broken table

Regards
Andrew
Back to top
View user's profile Send private message Send e-mail Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5160

PostPosted: Wed Jul 16, 2008 5:12 pm    Post subject: Reply with quote

Hi,

Thank you for pointing this out. It was actually the lines:

Code:
</td>
</tr>
</table>


at around line 213 that should be removed. This has been corrected and an update is now available in Admin -> Installer -> Updates inside of Thyme.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.