<?php /* $Id$ This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) Copyright (C) 2003 - 2006 Roland Gruber 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /** * Provides a list of tools like file upload or profile editor. * * @author Roland Gruber * @package tools */ /** security functions */ include_once("../lib/security.inc"); /** access to configuration options */ include_once("../lib/config.inc"); // start session startSecureSession(); setlanguage(); echo $_SESSION['header']; echo "<title></title>\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/layout.css\">\n"; echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"../style/type_user.css\">\n"; echo "</head>"; echo "<body>\n"; // list of tools and descriptions $tools = array(); // profile editor $tools[] = array( "name" => _("Profile editor"), "description" => _("Here you can manage your account profiles."), "link" => "profedit/profilemain.php" ); // file upload $tools[] = array( "name" => _("File upload"), "description" => _("Creates accounts by uploading a CSV formated file."), "link" => "masscreate.php" ); // OU editor $tools[] = array( "name" => _("OU editor"), "description" => _("Manages OU objects in your LDAP tree."), "link" => "ou_edit.php" ); // PDF editor $tools[] = array( "name" => _("PDF editor"), "description" => _("This tool allows you to customize the PDF pages."), "link" => "pdfedit/pdfmain.php" ); // schema browser $tools[] = array( "name" => _("Schema browser"), "description" => _("Here you can browse LDAP object classes and attributes."), "link" => "schema/schema.php" ); // tests $tools[] = array( "name" => _("Tests"), "description" => _("Here you can test if certain LAM features work on your installation."), "link" => "tests/index.php" ); echo "<p> </p>\n"; // print tools table echo "<table class=\"userlist\" rules=\"none\">\n"; for ($i = 0; $i < sizeof($tools); $i++) { echo "<tr class=\"userlist\">\n"; echo "<td> </td>\n"; echo "<td><br>"; echo "<a href=\"" . $tools[$i]['link'] . "\" target=\"mainpart\"><b>" . $tools[$i]['name'] . "</b></a>"; echo "<br><br></td>\n"; echo "<td> </td>\n"; echo "<td>"; echo $tools[$i]['description']; echo "</td>\n"; echo "<td> </td>\n"; echo "</tr>\n"; } echo "</table>\n"; echo "</body>\n"; echo "</html>\n"; ?>