diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-03-07 10:53:43 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-03-07 10:53:43 +0100 |
commit | dfa69cf100b43ff62896a507e3f2d5092f653bff (patch) | |
tree | 1563d8d7ce6d4e148257802b891af9df3db1cb8c /examples | |
parent | 97535db174ad6ba0e75b511ab0eb8f0528b5eca3 (diff) | |
download | merchant-dfa69cf100b43ff62896a507e3f2d5092f653bff.tar.gz merchant-dfa69cf100b43ff62896a507e3f2d5092f653bff.tar.bz2 merchant-dfa69cf100b43ff62896a507e3f2d5092f653bff.zip |
still on licensing
Diffstat (limited to 'examples')
-rw-r--r-- | examples/blog/blog_lib.php | 16 | ||||
-rw-r--r-- | examples/blog/essay_cc-form.html | 16 | ||||
-rw-r--r-- | examples/blog/essay_cc-fulfillment.php | 16 | ||||
-rw-r--r-- | examples/blog/essay_contract.php | 2 | ||||
-rw-r--r-- | examples/blog/essay_fulfillment.php | 2 | ||||
-rw-r--r-- | examples/blog/essay_pay.php | 2 | ||||
-rw-r--r-- | examples/blog/index.html | 15 | ||||
-rw-r--r-- | examples/blog/style.css | 23 | ||||
-rw-r--r-- | examples/blog/taler-presence.js | 2 | ||||
-rw-r--r-- | examples/shop/checkout.php | 58 | ||||
-rw-r--r-- | examples/shop/config.php | 1 | ||||
-rw-r--r-- | examples/shop/fulfillment.php | 30 | ||||
-rw-r--r-- | examples/shop/generate_taler_contract.php | 2 | ||||
-rw-r--r-- | examples/shop/index.php | 16 | ||||
-rw-r--r-- | examples/shop/pay.php | 2 | ||||
-rw-r--r-- | examples/shop/style.css | 24 |
16 files changed, 166 insertions, 61 deletions
diff --git a/examples/blog/blog_lib.php b/examples/blog/blog_lib.php index d7e6c513..b7781f7b 100644 --- a/examples/blog/blog_lib.php +++ b/examples/blog/blog_lib.php @@ -1,4 +1,20 @@ <?php +/* + This file is part of GNU TALER. + Copyright (C) 2014, 2015 INRIA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> +*/ + /** * Take a (article's) filename and return its * teaser. It has the articles folder hardcoded diff --git a/examples/blog/essay_cc-form.html b/examples/blog/essay_cc-form.html index 7e0c04ed..f115e51b 100644 --- a/examples/blog/essay_cc-form.html +++ b/examples/blog/essay_cc-form.html @@ -1,3 +1,19 @@ +<!DOCTYPE html> +<!-- + This file is part of GNU TALER. + Copyright (C) 2014, 2015 INRIA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> +--> <html> <head> <link rel="stylesheet" type="text/css" href="style.css"> diff --git a/examples/blog/essay_cc-fulfillment.php b/examples/blog/essay_cc-fulfillment.php index 5890c03d..4239ee97 100644 --- a/examples/blog/essay_cc-fulfillment.php +++ b/examples/blog/essay_cc-fulfillment.php @@ -1,4 +1,20 @@ <?php +/* + This file is part of GNU TALER. + Copyright (C) 2014, 2015 INRIA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> +*/ + include '../../copylib/util.php'; include './blog_lib.php'; diff --git a/examples/blog/essay_contract.php b/examples/blog/essay_contract.php index 6482a3b4..a63d82c9 100644 --- a/examples/blog/essay_contract.php +++ b/examples/blog/essay_contract.php @@ -1,7 +1,7 @@ <?php /* This file is part of GNU TALER. - Copyright (C) 2014, 2015 GNUnet e.V. + Copyright (C) 2014, 2015 INRIA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software diff --git a/examples/blog/essay_fulfillment.php b/examples/blog/essay_fulfillment.php index 088735d9..1f2eb18e 100644 --- a/examples/blog/essay_fulfillment.php +++ b/examples/blog/essay_fulfillment.php @@ -1,7 +1,7 @@ <?php /* This file is part of GNU TALER. - Copyright (C) 2014, 2015 GNUnet e.V. + Copyright (C) 2014, 2015 INRIA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software diff --git a/examples/blog/essay_pay.php b/examples/blog/essay_pay.php index 3ad28ceb..66fe8ffc 100644 --- a/examples/blog/essay_pay.php +++ b/examples/blog/essay_pay.php @@ -1,7 +1,7 @@ <?php /* This file is part of GNU TALER. - Copyright (C) 2014, 2015 GNUnet e.V. + Copyright (C) 2014, 2015 INRIA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software diff --git a/examples/blog/index.html b/examples/blog/index.html index a91a67b0..25535bde 100644 --- a/examples/blog/index.html +++ b/examples/blog/index.html @@ -1,4 +1,19 @@ <!DOCTYPE html> +<!-- + This file is part of GNU TALER. + Copyright (C) 2014, 2015 INRIA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> +--> <html lang="en"> <head> <title>Richard M. Stallman: Free Software, Free Society</title> diff --git a/examples/blog/style.css b/examples/blog/style.css index 20373e00..6e087cc8 100644 --- a/examples/blog/style.css +++ b/examples/blog/style.css @@ -1,3 +1,26 @@ +/* + This file is part of TALER + Copyright (C) 2014,2015 INRIA + + TALER is free software: you can + redistribute it and/or modify it under the terms of the GNU + Lesser General Public License (GNU LGPL) as published by the + Free Software + Foundation, either version 3 of the License, or (at your option) + any later version. The code is distributed WITHOUT ANY WARRANTY; + without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. + + As additional permission under GNU LGPL version 3 section 7, you + may distribute non-source (e.g., minimized or compacted) forms of + that code without the copy of the GNU LGPL normally required by + section 4, provided you include this license notice and a URL + through which recipients can access the Corresponding Source. + + @licend The above is the entire license notice + for the JavaScript code in this page. + */ + body { background-color: white; margin: 0; diff --git a/examples/blog/taler-presence.js b/examples/blog/taler-presence.js index 2562238b..9028f5e2 100644 --- a/examples/blog/taler-presence.js +++ b/examples/blog/taler-presence.js @@ -1,7 +1,7 @@ /* @licstart The following is the entire license notice for the JavaScript code in this page. - Copyright (C) 2016 GNUnet e.V. + Copyright (C) 2016 INRIA The JavaScript code in this page is free software: you can redistribute it and/or modify it under the terms of the GNU diff --git a/examples/shop/checkout.php b/examples/shop/checkout.php index 58de2e8a..2efcf276 100644 --- a/examples/shop/checkout.php +++ b/examples/shop/checkout.php @@ -1,49 +1,31 @@ <!DOCTYPE html> +<!-- + This file is aprt of GNU TALER + Copyright (C) 2014,2015 INRIA + + TALER is free software: you can + redistribute it and/or modify it under the terms of the GNU + Lesser General Public License (GNU LGPL) as published by the + Free Software + Foundation, either version 3 of the License, or (at your option) + any later version. The code is distributed WITHOUT ANY WARRANTY; + without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. + + As additional permission under GNU LGPL version 3 section 7, you + may distribute non-source (e.g., minimized or compacted) forms of + that code without the copy of the GNU LGPL normally required by + section 4, provided you include this license notice and a URL + through which recipients can access the Corresponding Source. + +--> <html> <head> <title>Toy Store - Payment method - Taler Demo</title> <link rel="stylesheet" type="text/css" href="style.css"> - <script> - /* - @licstart The following is the entire license notice for the - JavaScript code in this page. - - Copyright (C) 2014,2015 GNUnet e.V. - - The JavaScript code in this page is free software: you can - redistribute it and/or modify it under the terms of the GNU - Lesser General Public License (GNU LGPL) as published by the - Free Software - Foundation, either version 3 of the License, or (at your option) - any later version. The code is distributed WITHOUT ANY WARRANTY; - without even the implied warranty of MERCHANTABILITY or FITNESS - FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. - - As additional permission under GNU LGPL version 3 section 7, you - may distribute non-source (e.g., minimized or compacted) forms of - that code without the copy of the GNU LGPL normally required by - section 4, provided you include this license notice and a URL - through which recipients can access the Corresponding Source. - - @licend The above is the entire license notice - for the JavaScript code in this page. - */ - </script> <script type="application/javascript" src="web-common/taler-presence.js"></script> </head> <body> -<!-- - This main goal of this page is to show to the customer all the accepted - payments methods and actually implementing just Taler; technically - the steps are: - - 1. retrieve the information about the donation from the - form and remember it in a PHP session - 2. show a menu with all the required payments system options, - only showing "Taler" if the wallet is present - 3. (JavaScript) implement the "checkout" button for Taler, - for the demo we ignore the other payment options. ---> <?php // get the donation information from form diff --git a/examples/shop/config.php b/examples/shop/config.php index 1680a9b5..89b7b0bc 100644 --- a/examples/shop/config.php +++ b/examples/shop/config.php @@ -1,4 +1,5 @@ <?php +/* This file is in the public domain */ $host = $_SERVER["HTTP_HOST"]; diff --git a/examples/shop/fulfillment.php b/examples/shop/fulfillment.php index b06f2bd7..6fe2f96e 100644 --- a/examples/shop/fulfillment.php +++ b/examples/shop/fulfillment.php @@ -1,4 +1,19 @@ <!DOCTYPE html> +<!-- + This file is part of GNU TALER. + Copyright (C) 2014, 2015 INRIA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> +--> <html lang="en"> <head> <title>Taler's "Demo" Shop</title> @@ -41,21 +56,6 @@ <section id="main"> <article> <?php -/* - This file is part of GNU TALER. - Copyright (C) 2014, 2015 GNUnet e.V. - - TALER is free software; you can redistribute it and/or modify it under the - terms of the GNU Lesser General Public License as published by the Free Software - Foundation; either version 2.1, or (at your option) any later version. - - TALER 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 Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public License along with - TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> - */ include '../../copylib/util.php'; diff --git a/examples/shop/generate_taler_contract.php b/examples/shop/generate_taler_contract.php index 213632b3..4198b40d 100644 --- a/examples/shop/generate_taler_contract.php +++ b/examples/shop/generate_taler_contract.php @@ -1,7 +1,7 @@ <?php /* This file is part of GNU TALER. - Copyright (C) 2014-2016 GNUnet e.V. + Copyright (C) 2014-2016 INRIA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software diff --git a/examples/shop/index.php b/examples/shop/index.php index 90b17ed4..239fa425 100644 --- a/examples/shop/index.php +++ b/examples/shop/index.php @@ -1,4 +1,20 @@ <!DOCTYPE html> +<!DOCTYPE html> +<!-- + This file is part of GNU TALER. + Copyright (C) 2014, 2015 INRIA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU Lesser General Public License as published by the Free Software + Foundation; either version 2.1, or (at your option) any later version. + + TALER 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 Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along with + TALER; see the file COPYING. If not, If not, see <http://www.gnu.org/licenses/> +--> <?php require_once "../../copylib/config.php"; ?> diff --git a/examples/shop/pay.php b/examples/shop/pay.php index cd95714e..0684e495 100644 --- a/examples/shop/pay.php +++ b/examples/shop/pay.php @@ -1,7 +1,7 @@ <?php /* This file is part of GNU TALER. - Copyright (C) 2014, 2015 GNUnet e.V. + Copyright (C) 2014, 2015 INRIA TALER is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software diff --git a/examples/shop/style.css b/examples/shop/style.css index c2cc51ee..dd6bc6e8 100644 --- a/examples/shop/style.css +++ b/examples/shop/style.css @@ -1,3 +1,25 @@ +/* + This file is part of TALER + Copyright (C) 2014,2015 INRIA + + TALER is free software: you can + redistribute it and/or modify it under the terms of the GNU + Lesser General Public License (GNU LGPL) as published by the + Free Software + Foundation, either version 3 of the License, or (at your option) + any later version. The code is distributed WITHOUT ANY WARRANTY; + without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU LGPL for more details. + + As additional permission under GNU LGPL version 3 section 7, you + may distribute non-source (e.g., minimized or compacted) forms of + that code without the copy of the GNU LGPL normally required by + section 4, provided you include this license notice and a URL + through which recipients can access the Corresponding Source. + + @licend The above is the entire license notice + for the JavaScript code in this page. + */ body { background-color: white; margin: 0; @@ -119,5 +141,3 @@ h4, h5, h6 { transform: rotate(360deg); } } - - |