diff --git a/assets/src/js/skinlib.js b/assets/src/js/skinlib.js index 5ffb70e8..75942d2d 100644 --- a/assets/src/js/skinlib.js +++ b/assets/src/js/skinlib.js @@ -2,7 +2,7 @@ * @Author: printempw * @Date: 2016-07-19 10:46:38 * @Last Modified by: printempw - * @Last Modified time: 2016-08-14 13:20:38 + * @Last Modified time: 2016-08-17 13:07:08 */ 'use strict'; @@ -306,8 +306,7 @@ function deleteTexture(tid) { type: 'success', html: json.msg }).then(function() { - toastr.info('正在跳转...'); - window.setTimeout('window.location = "./', 1000); + window.location = "./"; }); } else { swal({ diff --git a/resources/views/admin/master.tpl b/resources/views/admin/master.tpl index 7eb4d443..2c96abcf 100644 --- a/resources/views/admin/master.tpl +++ b/resources/views/admin/master.tpl @@ -19,7 +19,7 @@ - $_SESSION['email']]); ?> +
diff --git a/resources/views/admin/users.tpl b/resources/views/admin/users.tpl index 12e5754d..0d69cab2 100644 --- a/resources/views/admin/users.tpl +++ b/resources/views/admin/users.tpl @@ -26,7 +26,7 @@ - $_SESSION['email']]); ?> +
diff --git a/resources/views/skinlib/item.tpl b/resources/views/skinlib/item.tpl index 6cc43902..b8d59061 100644 --- a/resources/views/skinlib/item.tpl +++ b/resources/views/skinlib/item.tpl @@ -9,7 +9,7 @@

- @if (isset($_SESSION['email'])) + @if (isset($_SESSION['uid'])) @if ($user->closet->has($texture['tid']))