cvs: pearweb /public_html account-request.php /public_html/admin category-manager.php index.php

From: Date: Mon, 09 Jun 2003 10:37:40 +0000
Subject: cvs: pearweb /public_html account-request.php /public_html/admin category-manager.php index.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-10794@lists.php.net to get a copy of this message
mj Mon Jun 9 06:37:40 2003 EDT Modified files: /pearweb/public_html account-request.php /pearweb/public_html/admin index.php category-manager.php Log: * Fixing some more links Index: pearweb/public_html/account-request.php diff -u pearweb/public_html/account-request.php:1.17 pearweb/public_html/account-request.php:1.18 --- pearweb/public_html/account-request.php:1.17 Sun Mar 30 11:06:00 2003 +++ pearweb/public_html/account-request.php Mon Jun 9 06:37:40 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: | +----------------------------------------------------------------------+ - $Id: account-request.php,v 1.17 2003/03/30 16:06:00 mj Exp $ + $Id: account-request.php,v 1.18 2003/06/09 10:37:40 mj Exp $ */ require_once "HTML/Form.php"; @@ -120,7 +120,7 @@ "Password (MD5): {$md5pw}\n\n". "Purpose:\n". "$purpose\n\n". - "To handle: http://{$SERVER_NAME}/admin.php?acreq={$handle}\n"; + "To handle: http://{$SERVER_NAME}/admin/?acreq={$handle}\n"; if ($moreinfo) { $msg .= "\nMore info:\n$moreinfo\n"; Index: pearweb/public_html/admin/index.php diff -u pearweb/public_html/admin/index.php:1.3 pearweb/public_html/admin/index.php:1.4 --- pearweb/public_html/admin/index.php:1.3 Mon Jun 9 03:47:04 2003 +++ pearweb/public_html/admin/index.php Mon Jun 9 06:37:40 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: index.php,v 1.3 2003/06/09 07:47:04 mj Exp $ + $Id: index.php,v 1.4 2003/06/09 10:37:40 mj Exp $ */ auth_require(true); @@ -298,7 +298,7 @@ } //--> </script> - <form action="admin.php" name="mass_reject_form" method="post"> + <form action="<?php echo $_SERVER['PHP_SELF']; ?>" name="mass_reject_form" method="post"> <input type="hidden" value="" name="cmd"/> <?php $bb = new BorderBox("Account Requests", "100%", "", 6, true); Index: pearweb/public_html/admin/category-manager.php diff -u pearweb/public_html/admin/category-manager.php:1.1 pearweb/public_html/admin/category-manager.php:1.2 --- pearweb/public_html/admin/category-manager.php:1.1 Mon Jun 9 03:47:04 2003 +++ pearweb/public_html/admin/category-manager.php Mon Jun 9 06:37:40 2003 @@ -15,7 +15,7 @@ +----------------------------------------------------------------------+ | Authors: Richard Heyes | +----------------------------------------------------------------------+ - $Id: category-manager.php,v 1.1 2003/06/09 07:47:04 mj Exp $ + $Id: category-manager.php,v 1.2 2003/06/09 10:37:40 mj Exp $ */ auth_require(true); @@ -75,7 +75,7 @@ } else { $_SESSION['category_manager']['error_msg'] = 'Please enter a name and description!'; } - localRedirect('category-manager.php'); + localRedirect('/admin/category-manager.php'); break; case 'update': @@ -85,7 +85,7 @@ } else { $_SESSION['category_manager']['error_msg'] = 'Please enter a name and description!'; } - localRedirect('category-manager.php'); + localRedirect('/admin/category-manager.php'); break; case 'delete': @@ -95,11 +95,11 @@ } else { $_SESSION['category_manager']['error_msg'] = 'Please select a category'; } - localRedirect('category-manager.php'); + localRedirect('/admin/category-manager.php'); break; default: - localRedirect('category-manager.php'); + localRedirect('/admin/category-manager.php'); } }

« previous php.pear.cvs (#10794) next »