Path submited by Matthew.C.Snyder

1) Configuration files not required in the right place.
2) A user should not be allowed to delete themselves.
master
pecesama 2007-09-03 06:59:33 +00:00
parent c2487ca0d8
commit 476109c015
4 changed files with 7 additions and 1 deletions

View File

@ -122,9 +122,11 @@ if ($user->isAdmin()) {
<td>
<a href="user.php?edit=<?php echo $register["id_user"]; ?>"><?php echo __("Edit")?></a>
</td>
<?php if ($_SESSION["user_id"] != $register["id_user"]) { ?>
<td>
<a href="user.php?delete=<?php echo $register["id_user"]; ?>"><?php echo __("Delete")?></a>
</td>
<?php } ?>
</tr>
<?php
}

View File

@ -11,6 +11,7 @@
=========================== */
?>
<?php
require_once("lang.functions.php");
class configuration extends Conexion_Mysql {
var $urlGelato;

View File

@ -12,7 +12,7 @@
?>
<?php
function version() {
return "0.85";
return "0.90";
}
function beginsWith($str, $sub) {

View File

@ -11,6 +11,9 @@
=========================== */
?>
<?php
require_once("streams.class.php");
require_once("gettext.class.php");
function initLang($lang = "en") {
global $l10n;