License

Creating and modifying plugins.
Post Reply
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

License

Post by onli »

Hi
Sorry, I couldn't find anything. Do we have a way to add the license of a plugin to it's properties?
sincerely
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: License

Post by garvinhicking »

Hi!

Yes, the "license" propbag. The aggregator plugin for example uses it.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: License

Post by onli »

Thank you.

PS: Is there any display in the admininterface for the license? It's probably not the most important information for the user, but it'd be strange if it's completely invisible.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: License

Post by garvinhicking »

Hi!

Yes, the plugin installation overview should display the license, I believe...

Regard,s
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: License

Post by onli »

It doesn't, and it's not in the code. Maybe it was deleted accidentally? :)

The attached patch adds it to the description-table when viewing the options of a plugin. Just a suggestion, it don't have to be that good visible as it'd be there. LICENSE would have to get added to the translation.
Attachments
plugins.inc.php.diff.txt
(642 Bytes) Downloaded 233 times
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: License

Post by onli »

Hi
Did you include something like this?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: License

Post by garvinhicking »

Hi!

Oops. Now I did :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: License

Post by onli »

Thanks :)
Post Reply