CMSimple_XH and legallink()

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

CMSimple_XH and legallink()

Post by cmb » Tue Jul 26, 2011 11:21 am

Hello developers,

I found some issues regarding CMSimple_XH and legallink(): if a user has a template calling legallink(), or he reads /cmsimple/legal.txt, he might be confused, because the information is not according to the license information on http://www.cmsimple-xh.com/?CMSimple_XH ... of_licence. Furthermore he could think that he is using an old version, because it's stated: (c) 1999-2009 Peter Andreas Harteg. And moreover the page won't validate.

So I suggest to change this by:
1. modifying the respective part in cmsimple/cms.php to

Code: Select all

// LEGAL NOTICES
// cmb: changed for CMSimple_XH
if(@$cf['menu']['legal']=='')$cf['menu']['legal']='CMSimple Legal Notices';
if ($su==uenc($cf['menu']['legal'])) {
    $f = $title = $cf['menu']['legal'];
    $s = -1;
    $legal_notices = rf($pth['folder']['cmsimple'].'legal-xh.txt');
    $legal_notices = str_replace('<<<br>>>', tag('br'), $legal_notices);
    $o .= '<h1>'.$title.'</h1>'.$legal_notices;
}
 
2. adding a file /cmsimple/legal-xh.txt with the following content:

Code: Select all

<p><strong>CMSimple_XH -  a Simple Content Management System</strong><<<br>>>
Copyright © 1999-2009 <a href="mailto:peter@harteg.dk">Peter Andreas Harteg</a><<<br>>>
Copyright &copy; 2009-2011 <a href="http://www.cmsimple-xh.com/">CMSimple XH Team</a></p>

<p>This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.</p>

<p>This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.</p>

<p>You should have received a copy of the GNU General Public License
along with this program.  If not, see <a href="http://www.gnu.org/licenses/gpl.html">GNU GENERAL PUBLIC LICENSE</a>.</p>

<p>The original CMSimple version was downloaded from CMSimple.org Saturday 2nd of January 2010 07:40:56 PM</p>
3. including the GPLv3 license as /license.txt

Any comments appreciated.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: CMSimple_XH and legallink()

Post by Gert » Tue Jul 26, 2011 1:37 pm

I think, we just should change the content of ./cmsimple/legal.txt - by GPL3 text:

http://www.ge-webdesign.de/xh14/?CMSimple_Legal_Notices

You can see - I have it ready ;)

So it is backward compatible (if the function is in use in an old template) and the problem is solved.
Gert Ebersbach | CMSimple | Templates - Plugins - Services

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: CMSimple_XH and legallink()

Post by cmb » Tue Jul 26, 2011 1:43 pm

Hello Gert,

thanks for your reply.
Gert wrote: I think, we just should change the content of ./cmsimple/legal.txt - by GPL3 text:
I wanted to avoid this because
Peter Andreas Harteg wrote: DO NOT MODIFY, RENAME OR DELETE THIS FILE
I'm not an advocat, so I can't say if it permitted to do so nonetheless, but I'm pretty sure, that my suggestion is absolutely legal.

But the GPLv3 Appendix says:

Code: Select all

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
So I guess it's better to add the Copyright notice.

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: CMSimple_XH and legallink()

Post by Gert » Tue Jul 26, 2011 2:02 pm

cmb wrote:I wanted to avoid this because
Peter Andreas Harteg wrote:DO NOT MODIFY, RENAME OR DELETE THIS FILE
I think, that's a relict from CMSimple Versions before Peter has provided CMSimple under GPL.

We don't have to consider the other license models for CMSimple_XH - I have asked Peter.

AND: CMSimple_XH is addult now ;)
Gert Ebersbach | CMSimple | Templates - Plugins - Services

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: CMSimple_XH and legallink()

Post by cmb » Tue Jul 26, 2011 2:06 pm

Hallo Gert,

okay, if CMSimple_XH is a big boy and knows what it's doing, that's fine. :D

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: CMSimple_XH and legallink()

Post by Gert » Tue Jul 26, 2011 3:54 pm

Hallo Christoph,

we could rename the legal.txt to gpl3.txt (also in the core function), then we had nothing changed - it were a new file ;)
Gert Ebersbach | CMSimple | Templates - Plugins - Services

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: CMSimple_XH and legallink()

Post by cmb » Tue Jul 26, 2011 3:58 pm

Hello Gert,

that's fine for me too. :)

Christoph
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply