summaryrefslogtreecommitdiffstats
path: root/template/admin/html
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-09-09 22:17:21 +0200
committerThomas Lange <code@nerdmind.de>2018-09-09 22:17:21 +0200
commita081cbabaa14e45ae336bd06f0c005580502a525 (patch)
treeb878a086541fb263f2f4687e7432f3774b3056a1 /template/admin/html
parent220c7ec1c79ababa0b030b7716a17d06b48d55a9 (diff)
downloadblog-a081cbabaa14e45ae336bd06f0c005580502a525.tar.gz
blog-a081cbabaa14e45ae336bd06f0c005580502a525.tar.xz
blog-a081cbabaa14e45ae336bd06f0c005580502a525.zip
Use function "getUnicodeEmoticons" in form templates
Diffstat (limited to 'template/admin/html')
-rw-r--r--template/admin/html/page/form.php4
-rw-r--r--template/admin/html/post/form.php4
-rw-r--r--template/admin/html/user/form.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php
index 685da48..6a4be33 100644
--- a/template/admin/html/page/form.php
+++ b/template/admin/html/page/form.php
@@ -72,8 +72,8 @@
</div>
<div class="flex flex-padding background flex-emoticons">
<ul id="emoticon-list" class="button-list emoticons">
- <?php foreach(getEmoticons() as $emoticon => $data):?>
- <li data-emoticon="<?=$emoticon?>" title="<?=$data[1]?>"><?=$data[0]?></li>
+ <?php foreach(getUnicodeEmoticons() as $emoticon => $explanation):?>
+ <li data-emoticon="<?=$emoticon?>" title="<?=$explanation?>"><?=$emoticon?></li>
<?php endforeach; ?>
</ul>
</div>
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index f047c9d..50f8fa6 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -72,8 +72,8 @@
</div>
<div class="flex flex-padding background flex-emoticons">
<ul id="emoticon-list" class="button-list emoticons">
- <?php foreach(getEmoticons() as $emoticon => $data):?>
- <li data-emoticon="<?=$emoticon?>" title="<?=$data[1]?>"><?=$data[0]?></li>
+ <?php foreach(getUnicodeEmoticons() as $emoticon => $explanation):?>
+ <li data-emoticon="<?=$emoticon?>" title="<?=$explanation?>"><?=$emoticon?></li>
<?php endforeach; ?>
</ul>
</div>
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php
index 14f751f..9f17cac 100644
--- a/template/admin/html/user/form.php
+++ b/template/admin/html/user/form.php
@@ -78,8 +78,8 @@
</div>
<div class="flex flex-padding background flex-emoticons">
<ul id="emoticon-list" class="button-list emoticons">
- <?php foreach(getEmoticons() as $emoticon => $data):?>
- <li data-emoticon="<?=$emoticon?>" title="<?=$data[1]?>"><?=$data[0]?></li>
+ <?php foreach(getUnicodeEmoticons() as $emoticon => $explanation):?>
+ <li data-emoticon="<?=$emoticon?>" title="<?=$explanation?>"><?=$emoticon?></li>
<?php endforeach; ?>
</ul>
</div>