diff options
author | Anika Henke <anika@selfthinker.org> | 2015-07-26 15:06:21 +0100 |
---|---|---|
committer | Anika Henke <anika@selfthinker.org> | 2015-07-26 15:06:21 +0100 |
commit | 6439cee6ee86a156a7a138021521f579ef444b80 (patch) | |
tree | 56bbad12a63f1b1022ee0b6c3a3c58abb3d6962d /inc | |
parent | e7aa4a376b81e5ae9ee069215afc1bf42cbbf982 (diff) | |
parent | ec2b4bab83a5eb6ddcdb41853d311b99b71c6f86 (diff) | |
download | rpg-6439cee6ee86a156a7a138021521f579ef444b80.tar.gz rpg-6439cee6ee86a156a7a138021521f579ef444b80.tar.bz2 |
Merge pull request #1163 from splitbrain/styler
Template Style Dialog Plugin
Diffstat (limited to 'inc')
-rw-r--r-- | inc/html.php | 7 | ||||
-rw-r--r-- | inc/template.php | 1 |
2 files changed, 8 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php index 1ccc056de..0914a1762 100644 --- a/inc/html.php +++ b/inc/html.php @@ -2080,6 +2080,13 @@ function html_admin(){ $menu['config']['prompt'].'</a></div></li>'); } unset($menu['config']); + + if($menu['styling']){ + ptln(' <li class="admin_styling"><div class="li">'. + '<a href="'.wl($ID, array('do' => 'admin','page' => 'styling')).'">'. + $menu['styling']['prompt'].'</a></div></li>'); + } + unset($menu['styling']); } ptln('</ul>'); diff --git a/inc/template.php b/inc/template.php index c7dea6b46..f918d1a04 100644 --- a/inc/template.php +++ b/inc/template.php @@ -297,6 +297,7 @@ function tpl_metaheaders($alt = true) { // prepare seed for js and css $tseed = $updateVersion; $depends = getConfigFiles('main'); + $depends[] = DOKU_CONF."tpl/".$conf['template']."/style.ini"; foreach($depends as $f) $tseed .= @filemtime($f); $tseed = md5($tseed); |