diff options
author | vincent-peugnet <v.peugnet@free.fr> | 2018-11-12 11:11:58 +0100 |
---|---|---|
committer | vincent-peugnet <v.peugnet@free.fr> | 2018-11-12 11:11:58 +0100 |
commit | 89b05effb2eb45382762fcfcfae2373b7754caa7 (patch) | |
tree | de7a5298f1ef7a095c4b99e684c80b9152c686b1 /app/view/templates | |
parent | a64af357ff41a61f5248e2052274315b390e979c (diff) | |
download | wcms-89b05effb2eb45382762fcfcfae2373b7754caa7.tar.gz wcms-89b05effb2eb45382762fcfcfae2373b7754caa7.zip |
url-cleaning-redirect-correct-id
Diffstat (limited to 'app/view/templates')
-rw-r--r-- | app/view/templates/edit.php | 2 | ||||
-rw-r--r-- | app/view/templates/editleftbar.php | 2 | ||||
-rw-r--r-- | app/view/templates/editrightbar.php | 12 |
3 files changed, 13 insertions, 3 deletions
diff --git a/app/view/templates/edit.php b/app/view/templates/edit.php index 7379378..a729302 100644 --- a/app/view/templates/edit.php +++ b/app/view/templates/edit.php @@ -20,7 +20,7 @@ <?php $this->insert('editleftbar', ['art' => $art, 'tablist' => $tablist, 'artlist' => $artlist, 'showleftpanel' => $showleftpanel]) ?> <?php $this->insert('edittabs', ['tablist' => $tablist, 'opentab' => $art->interface()]) ?> - <?php $this->insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel]) ?> + <?php $this->insert('editrightbar', ['art' => $art, 'artlist' => $artlist, 'showrightpanel' => $showrightpanel, 'fonts' => $fonts]) ?> </div> diff --git a/app/view/templates/editleftbar.php b/app/view/templates/editleftbar.php index 7533599..247e271 100644 --- a/app/view/templates/editleftbar.php +++ b/app/view/templates/editleftbar.php @@ -1,4 +1,4 @@ -<div id="leftbar"> +<div id="leftbar" class="bar"> <input id="showleftpanel" name="workspace[showleftpanel]" value="1" class="toggle" type="checkbox" <?= $showleftpanel == true ? 'checked' : '' ?>> <label for="showleftpanel" class="toogle">◧</label> <div id="leftbarpanel" class="panel"> diff --git a/app/view/templates/editrightbar.php b/app/view/templates/editrightbar.php index a6cc2a0..74ba1dd 100644 --- a/app/view/templates/editrightbar.php +++ b/app/view/templates/editrightbar.php @@ -1,4 +1,4 @@ -<div id="rightbar"> +<div id="rightbar" class="bar"> <input id="showrightpanel" name="workspace[showrightpanel]" value="1" class="toggle" type="checkbox" <?= $showrightpanel == true ? 'checked' : '' ?>> <label for="showrightpanel" class="toogle">◧</label> <div id="rightbarpanel" class="panel"> @@ -14,6 +14,16 @@ ?> </details> + <details id="fonts" open> + <summary>Fonts</summary> + <select multiple> + <?php + foreach ($fonts as $font ) { + echo '<option value="'.$font.'">'.$font.'</option>'; + } + ?> + </select> + </details> </div> |