From 581b0dc90f3f7771953044594fe41f969ac2f433 Mon Sep 17 00:00:00 2001 From: Jan Dittberner Date: Mon, 26 Nov 2007 08:49:33 +0000 Subject: [PATCH] addresses #14 * include copyright and license information in all necessary files * update version to 0.2 * add svn:keywords properties --- Makefile | 29 ++++++++++++++++++++++++++-- README | 4 ++-- admin/common.inc.php | 6 +++--- admin/directories.php | 4 ++-- admin/getgroups.php | 4 ++-- admin/index.php | 4 ++-- admin/scripts/autocomplete.js | 29 +++++++++++++++++++++++++--- admin/scripts/directories.js | 27 ++++++++++++++++++++++++++ admin/scripts/helper.js | 28 ++++++++++++++++++++++++--- admin/scripts/users.js | 27 ++++++++++++++++++++++++++ admin/templates/directories.html | 27 ++++++++++++++++++++++++++ admin/templates/error.html | 33 +++++++++++++++++++++++++++++--- admin/templates/error.xml | 27 ++++++++++++++++++++++++++ admin/templates/footer.html | 27 ++++++++++++++++++++++++++ admin/templates/header.html | 27 ++++++++++++++++++++++++++ admin/templates/start.html | 27 ++++++++++++++++++++++++++ admin/templates/users.html | 27 ++++++++++++++++++++++++++ admin/users.php | 4 ++-- 18 files changed, 337 insertions(+), 24 deletions(-) diff --git a/Makefile b/Makefile index 8d00250..afdffcb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,31 @@ +# Makefile for DAVAdmin +# +# @author Jan Dittberner +# @version $Id$ +# @license GPL +# @package DAVAdmin +# +# Copyright (c) 2007 Jan Dittberner +# +# This file is part of DAVAdmin. +# +# 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. +# +# 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, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA +# 02110-1301 USA. .PHONY: apidoc -VERSION=0.1 +VERSION=0.2 PROJECT=webdavadmin SRCFILES=admin/common.inc.php,admin/directories.php,admin/getgroups.php,admin/index.php,admin/users.php @@ -15,4 +40,4 @@ distclean: clean if [ -d apidoc ]; then rm -r apidoc; fi dist: distclean - cd .. ; tar cjf $(PROJECT)-$(VERSION).tar.bz2 $(PROJECT)-$(VERSION) + cd .. ; tar czf $(PROJECT)-$(VERSION).tar.gz $(PROJECT)-$(VERSION) diff --git a/README b/README index fe2b5be..a454cef 100644 --- a/README +++ b/README @@ -3,7 +3,7 @@ ============= :Author: Jan Dittberner :Contact: jan@dittberner.info -:Version: 0.1 +:Version: 0.2 :Revision: $Revision$ :Date: $Date$ :Copyright: Copyright (C) 2007 Jan Dittberner @@ -32,7 +32,7 @@ and AJAX calls. .. _JQuery: http://www.jquery.com/ -Version 1.1.3 of JQuery has been used for developing this software and +Version 1.2.1 of JQuery has been used for developing this software and is bundled in the ``scripts`` directory as ``jquery.js``. License diff --git a/admin/common.inc.php b/admin/common.inc.php index 2d3b5a1..e9e1305 100644 --- a/admin/common.inc.php +++ b/admin/common.inc.php @@ -1,15 +1,15 @@ * @version $Id$ * @license GPL - * @package WebDAVAdmin + * @package DAVAdmin * * Copyright (c) 2007 Jan Dittberner * - * This file is part of WebDAVAdmin. + * This file is part of DAVAdmin. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/admin/directories.php b/admin/directories.php index 6171d0c..c4821ef 100644 --- a/admin/directories.php +++ b/admin/directories.php @@ -5,11 +5,11 @@ * @author Jan Dittberner * @version $Id$ * @license GPL - * @package WebDAVAdmin + * @package DAVAdmin * * Copyright (c) 2007 Jan Dittberner * - * This file is part of WebDAVAdmin. + * This file is part of DAVAdmin. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/admin/getgroups.php b/admin/getgroups.php index c7bce58..18c776b 100644 --- a/admin/getgroups.php +++ b/admin/getgroups.php @@ -5,11 +5,11 @@ * @author Jan Dittberner * @version $Id$ * @license GPL - * @package WebDAVAdmin + * @package DAVAdmin * * Copyright (c) 2007 Jan Dittberner * - * This file is part of WebDAVAdmin. + * This file is part of DAVAdmin. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/admin/index.php b/admin/index.php index 2858173..33ab356 100644 --- a/admin/index.php +++ b/admin/index.php @@ -5,11 +5,11 @@ * @author Jan Dittberner * @version $Id$ * @license GPL - * @package WebDAVAdmin + * @package DAVAdmin * * Copyright (c) 2007 Jan Dittberner * - * This file is part of WebDAVAdmin. + * This file is part of DAVAdmin. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/admin/scripts/autocomplete.js b/admin/scripts/autocomplete.js index ad252e7..2e28d07 100644 --- a/admin/scripts/autocomplete.js +++ b/admin/scripts/autocomplete.js @@ -1,7 +1,30 @@ -// $Id$ - /* - * Autocompletion for input fields, ideas from Drupal autocompletion + * Autocompletion JavaScript code. Autocompletion for input fields, ideas + * from Drupal autocompletion (http://drupal.org/). + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. */ /** diff --git a/admin/scripts/directories.js b/admin/scripts/directories.js index bde3470..f2c653b 100644 --- a/admin/scripts/directories.js +++ b/admin/scripts/directories.js @@ -1,3 +1,30 @@ +/* + * Directory handling JavaScript code. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + */ function handleerror(xmldata) { if ($('error', xmldata).size()) { var msg = 'Es ist ein Fehler aufgetreten:\n'; diff --git a/admin/scripts/helper.js b/admin/scripts/helper.js index 612d210..ef88ab2 100644 --- a/admin/scripts/helper.js +++ b/admin/scripts/helper.js @@ -1,7 +1,29 @@ -// $Id$ - /** - * Helper code. Ideas from Drupal. + * Helper code. Ideas from Drupal (http://drupal.org/). + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. */ var DAV = DAV || {}; diff --git a/admin/scripts/users.js b/admin/scripts/users.js index 58f8a65..fe8daa6 100644 --- a/admin/scripts/users.js +++ b/admin/scripts/users.js @@ -1,3 +1,30 @@ +/* + * User handling JavaScript code. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + */ function handleerror(xmldata) { if ($('error', xmldata).size()) { var msg = 'Es ist ein Fehler aufgetreten:\n'; diff --git a/admin/templates/directories.html b/admin/templates/directories.html index c6d4860..c3a148c 100644 --- a/admin/templates/directories.html +++ b/admin/templates/directories.html @@ -1,3 +1,30 @@ +{* + * Directory page template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} {include file="header.html" title="Verzeichnisverwaltung"} diff --git a/admin/templates/error.html b/admin/templates/error.html index f34d8e3..66f90e4 100644 --- a/admin/templates/error.html +++ b/admin/templates/error.html @@ -1,9 +1,36 @@ +{* + * Error page template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} - DavAdmin - An error occured + DAVAdmin - An error occured -

DavAdmin - An error occured

+

DAVAdmin - An error occured

{$errormsg}

- + \ No newline at end of file diff --git a/admin/templates/error.xml b/admin/templates/error.xml index b3d8ff3..9434861 100644 --- a/admin/templates/error.xml +++ b/admin/templates/error.xml @@ -1 +1,28 @@ +{* + * Error XML template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} {$errormsg} \ No newline at end of file diff --git a/admin/templates/footer.html b/admin/templates/footer.html index 8634a86..3f5bc68 100644 --- a/admin/templates/footer.html +++ b/admin/templates/footer.html @@ -1 +1,28 @@ +{* + * Page footer template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} \ No newline at end of file diff --git a/admin/templates/header.html b/admin/templates/header.html index 49a28cd..8bc9867 100644 --- a/admin/templates/header.html +++ b/admin/templates/header.html @@ -1,3 +1,30 @@ +{* + * Page header template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} diff --git a/admin/templates/start.html b/admin/templates/start.html index f939c4f..d2309ad 100644 --- a/admin/templates/start.html +++ b/admin/templates/start.html @@ -1,3 +1,30 @@ +{* + * Start page template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} {include file="header.html"}

WebDAV-Verwaltung

Willkommen zur WebDAV-Verwaltung für {$smarty.server.SERVER_NAME}. Ihnen diff --git a/admin/templates/users.html b/admin/templates/users.html index 3d7f4af..228341c 100644 --- a/admin/templates/users.html +++ b/admin/templates/users.html @@ -1,3 +1,30 @@ +{* + * User page template. + * + * @author Jan Dittberner + * @version $Id$ + * @license GPL + * @package DAVAdmin + * + * Copyright (c) 2007 Jan Dittberner + * + * This file is part of DAVAdmin. + * + * 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. + * + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + * 02110-1301 USA. + *} {include file="header.html" title="Nutzerverwaltung"} diff --git a/admin/users.php b/admin/users.php index d39a3c2..c5056f3 100644 --- a/admin/users.php +++ b/admin/users.php @@ -5,11 +5,11 @@ * @author Jan Dittberner * @version $Id$ * @license GPL - * @package WebDAVAdmin + * @package DAVAdmin * * Copyright (c) 2007 Jan Dittberner * - * This file is part of WebDAVAdmin. + * This file is part of DAVAdmin. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as