Ver código fonte

Path submited by Matthew.C.Snyder

pecesama 16 anos atrás
pai
commit
476109c015

+ 2 - 0
admin/admin.php Ver arquivo

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

+ 1 - 0
classes/configuration.class.php Ver arquivo

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

+ 1 - 1
classes/functions.php Ver arquivo

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

+ 3 - 0
classes/lang.functions.php Ver arquivo

@@ -11,6 +11,9 @@
11 11
   =========================== */
12 12
 ?>
13 13
 <?php
14
+require_once("streams.class.php");
15
+require_once("gettext.class.php");
16
+
14 17
 function initLang($lang = "en") {
15 18
 	global $l10n;
16 19