예제 #1
0
# Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# Exponent 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 Exponent; if
# not, write to:
#
# Free Software Foundation, Inc.,
# 59 Temple Place,
# Suite 330,
# Boston, MA 02111-1307  USA
#
# $Id: configure.php,v 1.3 2005/02/19 16:53:36 filetreefrog Exp $
##################################################
if (!defined("PATHOS")) {
    exit("");
}
if (pathos_permissions_check("configure", $loc)) {
    $config = $db->selectObject("pagemodule_config", "location_data='" . serialize($loc) . "'");
    $form = pagemodule_config::form($config);
    $form->meta("action", "save_config");
    $form->location($loc);
    echo $form->toHTML();
}