* include copyright and license information in all necessary files
 * update version to 0.2
 * add svn:keywords properties
This commit is contained in:
Jan Dittberner 2007-11-26 08:49:33 +00:00
parent 552d0ffdbe
commit 581b0dc90f
18 changed files with 337 additions and 24 deletions

View file

@ -1,6 +1,31 @@
# Makefile for DAVAdmin
#
# @author Jan Dittberner <jan@dittberner.info>
# @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 .PHONY: apidoc
VERSION=0.1 VERSION=0.2
PROJECT=webdavadmin PROJECT=webdavadmin
SRCFILES=admin/common.inc.php,admin/directories.php,admin/getgroups.php,admin/index.php,admin/users.php 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 if [ -d apidoc ]; then rm -r apidoc; fi
dist: distclean dist: distclean
cd .. ; tar cjf $(PROJECT)-$(VERSION).tar.bz2 $(PROJECT)-$(VERSION) cd .. ; tar czf $(PROJECT)-$(VERSION).tar.gz $(PROJECT)-$(VERSION)

4
README
View file

@ -3,7 +3,7 @@
============= =============
:Author: Jan Dittberner :Author: Jan Dittberner
:Contact: jan@dittberner.info :Contact: jan@dittberner.info
:Version: 0.1 :Version: 0.2
:Revision: $Revision$ :Revision: $Revision$
:Date: $Date$ :Date: $Date$
:Copyright: Copyright (C) 2007 Jan Dittberner :Copyright: Copyright (C) 2007 Jan Dittberner
@ -32,7 +32,7 @@ and AJAX calls.
.. _JQuery: http://www.jquery.com/ .. _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``. is bundled in the ``scripts`` directory as ``jquery.js``.
License License

View file

@ -1,15 +1,15 @@
<?php <?php
/** /**
* Common code for WebDAVAdmin. * Common code for DAVAdmin.
* *
* @author Jan Dittberner <jan@dittberner.info> * @author Jan Dittberner <jan@dittberner.info>
* @version $Id$ * @version $Id$
* @license GPL * @license GPL
* @package WebDAVAdmin * @package DAVAdmin
* *
* Copyright (c) 2007 Jan Dittberner * 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 * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as

View file

@ -5,11 +5,11 @@
* @author Jan Dittberner <jan@dittberner.info> * @author Jan Dittberner <jan@dittberner.info>
* @version $Id$ * @version $Id$
* @license GPL * @license GPL
* @package WebDAVAdmin * @package DAVAdmin
* *
* Copyright (c) 2007 Jan Dittberner * 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 * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as

View file

@ -5,11 +5,11 @@
* @author Jan Dittberner <jan@dittberner.info> * @author Jan Dittberner <jan@dittberner.info>
* @version $Id$ * @version $Id$
* @license GPL * @license GPL
* @package WebDAVAdmin * @package DAVAdmin
* *
* Copyright (c) 2007 Jan Dittberner * 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 * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as

View file

@ -5,11 +5,11 @@
* @author Jan Dittberner <jan@dittberner.info> * @author Jan Dittberner <jan@dittberner.info>
* @version $Id$ * @version $Id$
* @license GPL * @license GPL
* @package WebDAVAdmin * @package DAVAdmin
* *
* Copyright (c) 2007 Jan Dittberner * 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 * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as

View file

@ -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 <jan@dittberner.info>
* @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.
*/ */
/** /**

View file

@ -1,3 +1,30 @@
/*
* Directory handling JavaScript code.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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) { function handleerror(xmldata) {
if ($('error', xmldata).size()) { if ($('error', xmldata).size()) {
var msg = 'Es ist ein Fehler aufgetreten:\n'; var msg = 'Es ist ein Fehler aufgetreten:\n';

View file

@ -1,7 +1,29 @@
// $Id$
/** /**
* Helper code. Ideas from Drupal. * Helper code. Ideas from Drupal (http://drupal.org/).
*
* @author Jan Dittberner <jan@dittberner.info>
* @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 || {}; var DAV = DAV || {};

View file

@ -1,3 +1,30 @@
/*
* User handling JavaScript code.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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) { function handleerror(xmldata) {
if ($('error', xmldata).size()) { if ($('error', xmldata).size()) {
var msg = 'Es ist ein Fehler aufgetreten:\n'; var msg = 'Es ist ein Fehler aufgetreten:\n';

View file

@ -1,3 +1,30 @@
{*
* Directory page template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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"} {include file="header.html" title="Verzeichnisverwaltung"}
<script type="text/javascript" src="scripts/helper.js"></script> <script type="text/javascript" src="scripts/helper.js"></script>
<script type="text/javascript" src="scripts/autocomplete.js"></script> <script type="text/javascript" src="scripts/autocomplete.js"></script>

View file

@ -1,9 +1,36 @@
{*
* Error page template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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.
*}
<html> <html>
<head> <head>
<title>DavAdmin - An error occured</title> <title>DAVAdmin - An error occured</title>
</head> </head>
<body> <body>
<h1>DavAdmin - An error occured</h1> <h1>DAVAdmin - An error occured</h1>
<p>{$errormsg}</p> <p>{$errormsg}</p>
</body> </body>
</html> </html>

View file

@ -1 +1,28 @@
{*
* Error XML template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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.
*}
<?xml version="1.0" encoding="UTF-8"?><error><errormsg>{$errormsg}</errormsg></error> <?xml version="1.0" encoding="UTF-8"?><error><errormsg>{$errormsg}</errormsg></error>

View file

@ -1 +1,28 @@
{*
* Page footer template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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.
*}
</body></html> </body></html>

View file

@ -1,3 +1,30 @@
{*
* Page header template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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.
*}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de">

View file

@ -1,3 +1,30 @@
{*
* Start page template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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"} {include file="header.html"}
<h1>WebDAV-Verwaltung</h1> <h1>WebDAV-Verwaltung</h1>
<p>Willkommen zur WebDAV-Verwaltung für {$smarty.server.SERVER_NAME}. Ihnen <p>Willkommen zur WebDAV-Verwaltung für {$smarty.server.SERVER_NAME}. Ihnen

View file

@ -1,3 +1,30 @@
{*
* User page template.
*
* @author Jan Dittberner <jan@dittberner.info>
* @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"} {include file="header.html" title="Nutzerverwaltung"}
<script type="text/javascript" src="scripts/helper.js"></script> <script type="text/javascript" src="scripts/helper.js"></script>
<script type="text/javascript" src="scripts/autocomplete.js"></script> <script type="text/javascript" src="scripts/autocomplete.js"></script>

View file

@ -5,11 +5,11 @@
* @author Jan Dittberner <jan@dittberner.info> * @author Jan Dittberner <jan@dittberner.info>
* @version $Id$ * @version $Id$
* @license GPL * @license GPL
* @package WebDAVAdmin * @package DAVAdmin
* *
* Copyright (c) 2007 Jan Dittberner * 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 * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as * modify it under the terms of the GNU General Public License as