Selaa lähdekoodia

Template fallback added

pdontthink 19 vuotta sitten
vanhempi
commit
11fb9fd259
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      plugins/administrator/defines.php

+ 3 - 0
plugins/administrator/defines.php

@@ -415,6 +415,9 @@ $defcfg = array( '$config_version' => array( 'name' => _("Config File Version"),
                  '$templateset_default' => array( 'name' => _("Default template"),
                  '$templateset_default' => array( 'name' => _("Default template"),
                                                   'type' => SMOPT_TYPE_STRLIST,
                                                   'type' => SMOPT_TYPE_STRLIST,
                                                   'posvals' => adm_template_options()),
                                                   'posvals' => adm_template_options()),
+                 '$templateset_fallback' => array( 'name' => _("Fallback template"),
+                                                  'type' => SMOPT_TYPE_STRLIST,
+                                                  'posvals' => adm_template_options()),
                  '$theme_default' => array( 'name' => _("Default theme"),
                  '$theme_default' => array( 'name' => _("Default theme"),
                                             'type' => SMOPT_TYPE_INTEGER,
                                             'type' => SMOPT_TYPE_INTEGER,
                                             'default' => 0,
                                             'default' => 0,