Browse code

Alte Klassen entfernt

Bernd Wurst authored on 23/01/2018 14:01:15
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,38 +0,0 @@
1
-<?php
2
-/*
3
-This file belongs to the Webinterface of schokokeks.org Hosting
4
-
5
-Written 2008-2018 by schokokeks.org Hosting, namely
6
-  Bernd Wurst <bernd@schokokeks.org>
7
-  Hanno Böck <hanno@schokokeks.org>
8
-
9
-To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10
-
11
-You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
12
-http://creativecommons.org/publicdomain/zero/1.0/
13
-
14
-Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
15
-*/
16
-
17
-require_once('inc/base.php');
18
-require_once('inc/debug.php');
19
-
20
-require_once('session/start.php');
21
-require_once('crm.php');
22
-
23
-require_once('class/customer.php');
24
-
25
-require_role(ROLE_SYSADMIN);
26
-
27
-$ajax_formtoken = generate_form_token('crm_crm_ajax');
28
-
29
-$result = array_unique(find_customers($_GET['q']));
30
-sort($result);
31
-foreach ($result as $val) {
32
-  $c = new Customer((int) $val);
33
-  echo '<p style="margin-bottom: 0.5em;">'.internal_link('select_customer', 'Kunde '.$c->id.': <strong>'.$c->fullname.'</strong>', 'customer='.$c->id.'&formtoken='.$ajax_formtoken);
34
-  echo '</p>';
35
-}
36
-die();
37
-
38
-
Browse code

Copyright year update

Bernd Wurst authored on 13/01/2018 06:07:05
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2014 by schokokeks.org Hosting, namely
5
+Written 2008-2018 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Lizenzinfos in eigenes Modul ausgelagert und Copyright auf 2014 angepasst

Bernd Wurst authored on 08/02/2014 05:45:07
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2013 by schokokeks.org Hosting, namely
5
+Written 2008-2014 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Updated copyright notice (2012 => 2013)

Bernd Wurst authored on 19/01/2013 10:49:50
Showing 1 changed files
... ...
@@ -2,7 +2,7 @@
2 2
 /*
3 3
 This file belongs to the Webinterface of schokokeks.org Hosting
4 4
 
5
-Written 2008-2012 by schokokeks.org Hosting, namely
5
+Written 2008-2013 by schokokeks.org Hosting, namely
6 6
   Bernd Wurst <bernd@schokokeks.org>
7 7
   Hanno Böck <hanno@schokokeks.org>
8 8
 
Browse code

Added license tags for CC0, README and COPYING

Bernd Wurst authored on 11/03/2012 15:40:04
Showing 1 changed files
... ...
@@ -1,4 +1,18 @@
1 1
 <?php
2
+/*
3
+This file belongs to the Webinterface of schokokeks.org Hosting
4
+
5
+Written 2008-2012 by schokokeks.org Hosting, namely
6
+  Bernd Wurst <bernd@schokokeks.org>
7
+  Hanno Böck <hanno@schokokeks.org>
8
+
9
+To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty.
10
+
11
+You should have received a copy of the CC0 Public Domain Dedication along with this software. If not, see 
12
+http://creativecommons.org/publicdomain/zero/1.0/
13
+
14
+Nevertheless, in case you use a significant part of this code, we ask (but not require, see the license) that you keep the authors' names in place and return your changes to the public. We would be especially happy if you tell us what you're going to do with this code.
15
+*/
2 16
 
3 17
 require_once('inc/base.php');
4 18
 require_once('inc/debug.php');
Browse code

CRM still incomplete and unusable

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1188 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 18/12/2008 08:09:00
Showing 1 changed files
... ...
@@ -6,14 +6,18 @@ require_once('inc/debug.php');
6 6
 require_once('session/start.php');
7 7
 require_once('crm.php');
8 8
 
9
+require_once('class/customer.php');
10
+
9 11
 require_role(ROLE_SYSADMIN);
10 12
 
11
-print_r($_GET);
13
+$ajax_formtoken = generate_form_token('crm_crm_ajax');
12 14
 
13
-$result = array_unique(find_customer($_GET['q']));
15
+$result = array_unique(find_customers($_GET['q']));
14 16
 sort($result);
15 17
 foreach ($result as $val) {
16
-  echo '<p>Kundennummer: <strong>'.$val.'</strong></p>';
18
+  $c = new Customer((int) $val);
19
+  echo '<p style="margin-bottom: 0.5em;">'.internal_link('select_customer', 'Kunde '.$c->id.': <strong>'.$c->fullname.'</strong>', 'customer='.$c->id.'&formtoken='.$ajax_formtoken);
20
+  echo '</p>';
17 21
 }
18 22
 die();
19 23
 
Browse code

some AJAX test

git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1151 87cf0b9e-d624-0410-a070-f6ee81989793

bernd authored on 18/09/2008 15:49:23
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,20 @@
1
+<?php
2
+
3
+require_once('inc/base.php');
4
+require_once('inc/debug.php');
5
+
6
+require_once('session/start.php');
7
+require_once('crm.php');
8
+
9
+require_role(ROLE_SYSADMIN);
10
+
11
+print_r($_GET);
12
+
13
+$result = array_unique(find_customer($_GET['q']));
14
+sort($result);
15
+foreach ($result as $val) {
16
+  echo '<p>Kundennummer: <strong>'.$val.'</strong></p>';
17
+}
18
+die();
19
+
20
+