dever 6 years ago
parent
commit
ed2787abc3
2 changed files with 5 additions and 1 deletions
  1. 1 1
      index.php
  2. 4 0
      lib/Base.php

+ 1 - 1
index.php

@@ -4,5 +4,5 @@ define('DEVER_APP_NAME', 'sms');
 define('DEVER_APP_LANG', '短信管理');
 define('DEVER_APP_PATH', dirname(__FILE__) . DIRECTORY_SEPARATOR);
 define('DEVER_MANAGE_ORDER', -10);
-define('DEVER_MANAGE_ICON', 'glyphicon glyphicon-list-alt');
+define('DEVER_MANAGE_ICON', 'glyphicon glyphicon-list-alt layui-icon-note');
 include(DEVER_APP_PATH . '../boot.php');

+ 4 - 0
lib/Base.php

@@ -52,6 +52,10 @@ class Base
         $param['mobile'] = $mobile;
         $param['sign'] = $this->config['sign'];
 
+        if (strstr($skin, '{')) {
+            $param['skin'] = $this->replace($skin, $param);
+        }
+
         if ($content) {
             $content = $this->replace($content, $param);
             parse_str($content, $param);