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
parent
c2487ca0d8
commit
476109c015
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,6 +11,7 @@
|
|||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require_once("lang.functions.php");
|
||||
class configuration extends Conexion_Mysql {
|
||||
|
||||
var $urlGelato;
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@
|
|||
?>
|
||||
<?php
|
||||
function version() {
|
||||
return "0.85";
|
||||
return "0.90";
|
||||
}
|
||||
|
||||
function beginsWith($str, $sub) {
|
||||
|
|
|
|||
|
|
@ -11,6 +11,9 @@
|
|||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require_once("streams.class.php");
|
||||
require_once("gettext.class.php");
|
||||
|
||||
function initLang($lang = "en") {
|
||||
global $l10n;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue