diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2019-08-08 23:02:03 +0200 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2019-08-08 23:02:03 +0200 |
commit | ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512 (patch) | |
tree | 23b154c9d71e15c75a201822318eaa66dcefc99e /app/class/modelmedia.php | |
parent | e75e54d23d262940acd4c7df2a8cc7b7ab1751d5 (diff) | |
download | wcms-ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512.tar.gz wcms-ef18c5f848a5e4d1239bdc1d89e0cc9f75a10512.zip |
feature : terminal style option
+ bug fix : externallinkblank missing underscore
Diffstat (limited to 'app/class/modelmedia.php')
-rw-r--r-- | app/class/modelmedia.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/app/class/modelmedia.php b/app/class/modelmedia.php index a30e902..209fc85 100644 --- a/app/class/modelmedia.php +++ b/app/class/modelmedia.php @@ -143,6 +143,19 @@ class Modelmedia extends Model } + public function listinterfacecss() + { + $glob = Model::CSS_DIR . '*.css'; + $listinterfacecss = glob($glob); + $count = strlen(Model::CSS_DIR); + $listinterfacecss = array_map(function ($input) use ($count) { + return substr($input, $count); + }, $listinterfacecss); + $listinterfacecss = array_diff($listinterfacecss, ['edit.css', 'home.css']); + return $listinterfacecss; + } + + public function listdir($dir) { |