Apod plugin ported to 1.2

Apod plugin ported to 1.2

Postby chromos on Sat Jul 19, 2008 6:53 pm

It was really just replacing include_once with lt_include.
Oh I forgott, I also fixed the template code to be xhtml 1.0 strict and removed unnecessary javascript.

Code: Select all
{if $apod && $apod->isEnabled()}
<a href='http://antwrp.gsfc.nasa.gov/apod/astropix.html'>
<img src='{$apod->getPic('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}' alt='{$apod->getTitle('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}' width='{$apod->width()}' height='{$apod->height()}'/><br/>{$apod->getTitle('http://antwrp.gsfc.nasa.gov/apod/astropix.html')}</a>
{/if}
chromos
 
Posts: 274
Joined: Wed Mar 09, 2005 2:22 pm
LifeType Version: 1.2.9-devel

Re: Apod plugin ported to 1.2

Postby jondaley on Sun Jul 20, 2008 9:10 am

Can you upload the files you changed to bugs.lifetype.net, and someone can get them into sourceforge?
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: Apod plugin ported to 1.2

Postby chromos on Sun Jul 20, 2008 11:43 am

chromos
 
Posts: 274
Joined: Wed Mar 09, 2005 2:22 pm
LifeType Version: 1.2.9-devel

Re: Apod plugin ported to 1.2

Postby chromos on Thu Jul 24, 2008 12:39 pm

hmm I just fixed some bugs in the apod plugin. Shall I reupload to mantis? Is it possible to remove once uploaded files?
chromos
 
Posts: 274
Joined: Wed Mar 09, 2005 2:22 pm
LifeType Version: 1.2.9-devel

Re: Apod plugin ported to 1.2

Postby jondaley on Thu Jul 24, 2008 10:33 pm

I can't remember if non-managers can remove files, but if you name the file appropriately, or write a note about which dates should be removed, I (or someone) will erase the old files.
jondaley
Lifetype Expert
 
Posts: 6169
Joined: Thu May 20, 2004 6:19 pm
Location: Pittsburgh, PA, USA
LifeType Version: 1.2.11 devel branch

Re: Apod plugin ported to 1.2

Postby chromos on Fri Jul 25, 2008 10:13 am

jondaley wrote:I can't remember if non-managers can remove files, but if you name the file appropriately, or write a note about which dates should be removed, I (or someone) will erase the old files.


then it's probably not possible to remove files.
Ok gonna upload the patched files.
chromos
 
Posts: 274
Joined: Wed Mar 09, 2005 2:22 pm
LifeType Version: 1.2.9-devel

Re: Apod plugin ported to 1.2

Postby chromos on Sat Jul 26, 2008 5:31 pm

updated bugreport
chromos
 
Posts: 274
Joined: Wed Mar 09, 2005 2:22 pm
LifeType Version: 1.2.9-devel


Return to Plugin Development Team

cron