浏览代码

Add org logo width/height to the admin plugin

simond 23 年之前
父节点
当前提交
83a08050e3
共有 1 个文件被更改,包括 8 次插入0 次删除
  1. 8 0
      plugins/administrator/defines.php

+ 8 - 0
plugins/administrator/defines.php

@@ -63,6 +63,14 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  '$org_logo' => array( 'name' => _("Organization Logo"),
                                        'type' => SMOPT_TYPE_STRING,
                                        'size' => 40 ),
+                 '$org_logo_width' => array( 'name'    => _("Organization Logo Width"),
+                                             'type'    => SMOPT_TYPE_INTEGER,
+                                             'size'    => 5,
+                                             'default' => 0),
+                 '$org_logo_height' => array( 'name'    => _("Organization Logo Height"),
+                                              'type'    => SMOPT_TYPE_INTEGER,
+                                              'size'    => 5,
+                                              'default' => 0),
                  '$org_title' => array( 'name' => _("Organization Title"),
                                         'type' => SMOPT_TYPE_STRING,
                                         'size' => 40 ),