Skip to content

Commit

Permalink
Update copyright information in footers
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Sep 6, 2019
1 parent 2f4fbf8 commit 1dfddcb
Show file tree
Hide file tree
Showing 9 changed files with 110 additions and 140 deletions.
17 changes: 16 additions & 1 deletion inc/ko.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*
*******************************************************************************/

define('VERSION', 'R45');
define('VERSION', '1.0.0-preview.0');


//Reservation: Objekt-Bild
Expand Down Expand Up @@ -14000,6 +14000,21 @@ function ko_include_js($files, $module='') {



function ko_print_long_footer() {
echo '<tr><td colspan="3" class="copyright">';
echo '<a href="https://github.com/daniel-lerch/openkool"><b>'.getLL('kool').'</b></a> ';
echo sprintf(getLL('copyright_notice'), VERSION, '<a href="https://github.com/daniel-lerch/openkool/graphs/contributors">', '</a>').'<br />';
if(WARRANTY_GIVER != "") {
echo sprintf(getLL('copyright_warranty'), '<a href="'.WARRANTY_URL.'">'.WARRANTY_GIVER.'</a>');
} else {
echo getLL('copyright_no_warranty').' ';
}
print " ".sprintf(getLL('copyright_free_software'), '<a href="https://github.com/daniel-lerch/openkool/blob/master/LICENSE">', '</a>');
print '</td></tr>';
}




function ko_list_set_sorting($table, $sortCol) {
$rows = db_select_data($table, 'WHERE 1', 'id,sort,'.$sortCol, "ORDER BY $sortCol ASC");
Expand Down
12 changes: 1 addition & 11 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,17 +347,7 @@
<?php
//--- copyright notice on frontpage:
//--- Obstructing the appearance of this notice is prohibited by law.
print '<tr><td colspan="3" class="copyright">';
print '<a href="http://www.churchtool.org"><b>'.getLL("kool").'</b></a> '.sprintf(getLL("copyright_notice"), VERSION).'<br />';
if(WARRANTY_GIVER != "") {
print sprintf(getLL("copyright_warranty"), '<a href="'.WARRANTY_URL.'">'.WARRANTY_GIVER.'</a>');
} else {
print getLL("copyright_no_warranty")." ";
}
print " ".sprintf(getLL("copyright_free_software"), '<a href="http://www.fsf.org/licensing/licenses/gpl.html">', '</a>')."<br />";
print getLL("copyright_obstruction");
print '</td></tr>';
//--- end of copyright notice
ko_print_long_footer();
?>
</table>

Expand Down
8 changes: 4 additions & 4 deletions install/default/config/footer.php
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
<tr><td colspan="3">
<br /><br />
<table class="footer" width="100%"> <tr>
<td align="left" width="33%">
<a href="http://www.churchtool.org">kOOL - the church tool</a>
<td style="text-align: left; width: 33%;">
<a href="https://github.com/daniel-lerch/openkool"><?=getLL('kool')?></a>
</td>

<td align="center" width="33%">
<td style="text-align: center; width: 33%;">
<?php
print strftime("%A&nbsp;-&nbsp;%x&nbsp;-&nbsp;%X");
?>
</td>

<td align="right" width="33%">
<td style="text-align: right; width: 33%;">
<?php
$help = ko_get_help($ko_menu_akt, "");
print $help["link"];
Expand Down
12 changes: 1 addition & 11 deletions install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -642,17 +642,7 @@
<?php
//--- copyright notice on frontpage:
//--- Obstructing the appearance of this notice is prohibited by law.
print '<tr><td colspan="3" class="copyright">';
print '<a href="https://sourceforge.net/projects/kool"><b>'.getLL("kool").'</b></a> '.sprintf(getLL("copyright_notice"), VERSION).'<br />';
if(defined("WARRANTY_GIVER")) {
print sprintf(getLL("copyright_warranty"), '<a href="'.WARRANTY_URL.'">'.WARRANTY_GIVER.'</a> ');
} else {
print getLL("copyright_no_warranty")." ";
}
print sprintf(getLL("copyright_free_software"), '<a href="http://www.fsf.org/licensing/licenses/gpl.html">', '</a>')."<br />";
print getLL("copyright_obstruction");
print '</td></tr>';
//--- end of copyright notice
ko_print_long_footer();
?>

</table>
Expand Down
44 changes: 19 additions & 25 deletions locallang/locallang.de.php
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
<?php
/***************************************************************
* Copyright notice
/*******************************************************************************
*
* (c) 2003-2015 Renzo Lauper (renzo@churchtool.org)
* All rights reserved
* OpenKool - Online church organization tool
*
* This script is part of the kOOL project. The kOOL project 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 2 of the License, or
* (at your option) any later version.
* Copyright © 2003-2015 Renzo Lauper (renzo@churchtool.org)
* Copyright © 2019 Daniel Lerch
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
* 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 2 of the License, or
* (at your option) any later version.
*
* kOOL 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.
* 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
*******************************************************************************/

$LL["de"] = array(
'kool' => "kOOL - das Kirchen-Tool",
'kool' => "OpenKool - das Kirchen-Tool",
'submenu_daten_neuer_termin' => "Neuer Termin",
'submenu_daten_all_events' => "Liste anzeigen",
'submenu_daten_calendar' => "Kalender",
Expand Down Expand Up @@ -1494,11 +1489,10 @@
'multiedit_title' => "Mehrfache Bearbeitung",
'error_file_not_found' => "Kann Datei nicht finden",
'error_not_allowed' => "Keine Berechtigung",
'copyright_notice' => "Version %s, Copyright © 2003-2015 Renzo Lauper - Plugins are copyright of their respective owners.",
'copyright_warranty' => "Warranty is supplied by %s.",
'copyright_no_warranty' => "kOOL comes with ABSOLUTELY NO WARRANTY.",
'copyright_free_software' => "This is free software, and you are welcome to redistribute it under %scertain conditions%s.",
'copyright_obstruction' => "Obstructing the appearance of this notice is prohibited by law.",
'copyright_notice' => "Version %s, Copyright © 2003-2015 Renzo Lauper, © 2019 Daniel Lerch und %sandere%s.",
'copyright_warranty' => "Die Gewährleistung wird von %s übernommen.",
'copyright_no_warranty' => "Es wird keinerlei Gewährleistung übernommen.",
'copyright_free_software' => "OpenKool ist freie Software. Weitere Informationen finden sie in der %sLizenz%s.",
'submenu_admin_change_password' => "Passwort ändern",
'error_admin_15' => "Bisheriges Passwort stimmt nicht.",
'error_admin_16' => "Die neuen Passwörter stimmen nicht überein.",
Expand Down
32 changes: 13 additions & 19 deletions locallang/locallang.de_DE.php
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
<?php
/***************************************************************
* Copyright notice
/*******************************************************************************
*
* (c) 2003-2015 Renzo Lauper (renzo@churchtool.org)
* All rights reserved
* OpenKool - Online church organization tool
*
* This script is part of the kOOL project. The kOOL project 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 2 of the License, or
* (at your option) any later version.
* Copyright © 2003-2015 Renzo Lauper (renzo@churchtool.org)
* Copyright © 2019 Daniel Lerch
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
* 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 2 of the License, or
* (at your option) any later version.
*
* kOOL 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.
* 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
*******************************************************************************/

$LL["de"]['leute_mailmerge_opening_informal_sep'] = ",";
$LL["de"]['leute_mailmerge_opening_formal_sep'] = ",";
Expand Down
42 changes: 18 additions & 24 deletions locallang/locallang.en.php
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
<?php
/***************************************************************
* Copyright notice
/*******************************************************************************
*
* (c) 2003-2015 Renzo Lauper (renzo@churchtool.org)
* All rights reserved
* OpenKool - Online church organization tool
*
* This script is part of the kOOL project. The kOOL project 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 2 of the License, or
* (at your option) any later version.
* Copyright © 2003-2015 Renzo Lauper (renzo@churchtool.org)
* Copyright © 2019 Daniel Lerch
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
* 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 2 of the License, or
* (at your option) any later version.
*
* kOOL 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.
* 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
*******************************************************************************/

$LL["en"] = array(
'kool' => "kOOL - the church tool",
'kool' => "OpenKool - the church tool",
'submenu_daten_neuer_termin' => "Add event",
'submenu_daten_all_events' => "List all events",
'submenu_daten_calendar' => "Calendar",
Expand Down Expand Up @@ -2749,11 +2744,10 @@
'multiedit_title_forAll' => "Change all to:",
'error_file_not_found' => "Can not find file",
'error_not_allowed' => "Action not allowed",
'copyright_notice' => "Version %s, Copyright © 2003-2015 Renzo Lauper - Plugins are copyright of their respective owners.",
'copyright_notice' => "Version %s, Copyright © 2003-2015 Renzo Lauper, © 2019 Daniel Lerch and %sothers%s.",
'copyright_warranty' => "Warranty is supplied by %s.",
'copyright_no_warranty' => "kOOL comes with ABSOLUTELY NO WARRANTY.",
'copyright_free_software' => "This is free software, and you are welcome to redistribute it under %scertain conditions%s.",
'copyright_obstruction' => "Obstructing the appearance of this notice is prohibited by law.",
'copyright_no_warranty' => "There is absolutely no warranty given.",
'copyright_free_software' => "OpenKool is free software. Refer to our %slicense%s for further information.",
'session_timeout' => 'The current kOOL session is about to time out.',
'session_timedout' => 'The current kOOL session has timed out.',
'peoplesearch_toomany' => 'Too many hits',
Expand Down
41 changes: 20 additions & 21 deletions locallang/locallang.fr.php
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
<?php
/***************************************************************
* Copyright notice
/*******************************************************************************
*
* (c) 2003-2015 Renzo Lauper (renzo@churchtool.org)
* All rights reserved
* OpenKool - Online church organization tool
*
* This script is part of the kOOL project. The kOOL project 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 2 of the License, or
* (at your option) any later version.
* Copyright © 2003-2015 Renzo Lauper (renzo@churchtool.org)
* Copyright © 2019 Daniel Lerch
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
* 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 2 of the License, or
* (at your option) any later version.
*
* kOOL 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.
* 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
*******************************************************************************/

$LL['fr'] = array(
'OK' => "OK",
'kool' => "OpenKool - l'outil pour l'église",
'aa_double' => "Il existe déjà une personne avec ce nom dans la base de données. Si vous désirez modifier les informations pour cette personne, vous pouvez cliquer sur son nom.",
'aa_double_choose' => "Il existe déjà plusieurs entrées avec ce nom. Merci de choisir dans la liste celles que vous désirez modifier.",
'aa_double_new' => "Ou alors cliquez sur «Nouveau» afin de créer une nouvelle entrée avec ce nom.",
Expand Down Expand Up @@ -81,6 +76,10 @@
'center' => "Milieu",
'children' => "? Et colonne des parents",
'columns' => "Colonne",
'copyright_notice' => "Version %s, Copyright © 2003-2015 Renzo Lauper, © 2019 Daniel Lerch et %sautres%s.",
'copyright_warranty' => "La garantie est fournie par %s.",
'copyright_no_warranty' => "Il n'y a absolument aucune garantie donnée.",
'copyright_free_software' => "OpenKool est logiciel libre. Consultez notre %slicence%s pour plus d'informations.",
'daten_cal_day' => "Calendrier journalier",
'daten_cal_event' => "Événement",
'daten_cal_month' => "Calendrier mensuel",
Expand Down Expand Up @@ -604,7 +603,6 @@
'ko_kleingruppen_confirm_delete' => "Vraiment supprimer le GB ?",
'ko_kleingruppen_delete' => "Supprimer le GB",
'ko_leute_anrede_family' => "Famille",
'kool' => "kOOL - l'outil pour l'église",
'kota_formlegend_ko_eventgruppen' => "Ces champs seront préremplis lors de la création d'un nouveau rendez-vous",
'kota_ko_event_enddatum' => "Date de fin",
'kota_ko_event_endzeit' => "Heure de fin",
Expand Down Expand Up @@ -1045,6 +1043,7 @@
'next' => "Plus loin",
'no' => "Non",
'not' => "Pas",
'OK' => 'OK',
'ok' => "Ok",
'other' => "Autre",
'page' => "Page",
Expand Down
42 changes: 18 additions & 24 deletions locallang/locallang.nl.php
Original file line number Diff line number Diff line change
@@ -1,30 +1,25 @@
<?php
/***************************************************************
* Copyright notice
/*******************************************************************************
*
* (c) 2003-2015 Renzo Lauper (renzo@churchtool.org)
* All rights reserved
* OpenKool - Online church organization tool
*
* This script is part of the kOOL project. The kOOL project 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 2 of the License, or
* (at your option) any later version.
* Copyright © 2003-2015 Renzo Lauper (renzo@churchtool.org)
* Copyright © 2019 Daniel Lerch
*
* The GNU General Public License can be found at
* http://www.gnu.org/copyleft/gpl.html.
* A copy is found in the textfile GPL.txt and important notices to the license
* from the author is found in LICENSE.txt distributed with these scripts.
* 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 2 of the License, or
* (at your option) any later version.
*
* kOOL 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.
* 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.
*
* This copyright notice MUST APPEAR in all copies of the script!
***************************************************************/
*******************************************************************************/

$LL["nl"] = array(
'kool' => "kOOL - the church tool",
'kool' => "OpenKool - the church tool",
'submenu_daten_neuer_termin' => "Activiteit toevoegen",
'submenu_daten_all_events' => "Alle Activiteiten tonen",
'submenu_daten_cal_monat' => "Kalender",
Expand Down Expand Up @@ -86,11 +81,10 @@
'submenu_fileshare_title_shares' => "Bestanden",
'error_file_not_found' => "Kan bestand niet vinden",
'error_not_allowed' => "Actie niet toegestaan",
'copyright_notice' => "Versie %s, Copyright © 2003-2012 Renzo Lauper - Plugins zijn het copyright van hun respectievelijke eigenaren.",
'copyright_notice' => "Versie %s, Auteursrecht © 2003-2015 Renzo Lauper, © 2019 Daniel Lerch en %sanderen%s.",
'copyright_warranty' => "Garantie wordt verleend door %s.",
'copyright_no_warranty' => "kOOL biedt GEEN ENKELE GARANTIE",
'copyright_free_software' => "Dit is vrije software en het staat u vrij deze opnieuw te distribueren onder %sbepaalde condities%s.",
'copyright_obstruction' => "Het belemmeren van de weergave van dit bericht is door de wet verboden.",
'copyright_no_warranty' => "Er wordt absoluut geen garantie gegeven.",
'copyright_free_software' => "OpenKool is vrije software. Meer informatie is te vinden in de %svergunning%s.",
'fileshare_list_footer_move_label' => "geselecteerde bestanden verplaatsen naar:",
'fileshare_list_footer_move_button1' => "verplaatsen",
'fileshare_list_footer_move_button2' => "kopiëren",
Expand Down

0 comments on commit 1dfddcb

Please sign in to comment.