summaryrefslogtreecommitdiffstats
path: root/template/admin/html
diff options
context:
space:
mode:
Diffstat (limited to 'template/admin/html')
-rw-r--r--template/admin/html/403.php4
-rw-r--r--template/admin/html/404.php4
-rw-r--r--template/admin/html/auth.php10
-rw-r--r--template/admin/html/database.php6
-rw-r--r--template/admin/html/home.php16
-rw-r--r--template/admin/html/main.php8
-rw-r--r--template/admin/html/page/delete.php2
-rw-r--r--template/admin/html/page/form.php30
-rw-r--r--template/admin/html/page/index.php2
-rw-r--r--template/admin/html/page/insert.php2
-rw-r--r--template/admin/html/page/item.php2
-rw-r--r--template/admin/html/page/update.php2
-rw-r--r--template/admin/html/post/delete.php2
-rw-r--r--template/admin/html/post/form.php30
-rw-r--r--template/admin/html/post/index.php2
-rw-r--r--template/admin/html/post/insert.php2
-rw-r--r--template/admin/html/post/item.php2
-rw-r--r--template/admin/html/post/update.php2
-rw-r--r--template/admin/html/user/delete.php4
-rw-r--r--template/admin/html/user/form.php34
-rw-r--r--template/admin/html/user/index.php2
-rw-r--r--template/admin/html/user/insert.php2
-rw-r--r--template/admin/html/user/item.php2
-rw-r--r--template/admin/html/user/update.php2
24 files changed, 87 insertions, 87 deletions
diff --git a/template/admin/html/403.php b/template/admin/html/403.php
index aebddb7..f9a0afd 100644
--- a/template/admin/html/403.php
+++ b/template/admin/html/403.php
@@ -1,2 +1,2 @@
-<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->template('403_heading_text')?></h1>
-<p><?=$Language->template('403_heading_desc')?></p>
+<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('403_heading_text')?></h1>
+<p><?=$Language->text('403_heading_desc')?></p>
diff --git a/template/admin/html/404.php b/template/admin/html/404.php
index 4f841b6..aa264cd 100644
--- a/template/admin/html/404.php
+++ b/template/admin/html/404.php
@@ -1,2 +1,2 @@
-<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->template('404_heading_text')?></h1>
-<p><?=$Language->template('404_heading_desc')?></p> \ No newline at end of file
+<h1><i class="fa fa-exclamation-triangle"></i><?=$Language->text('404_heading_text')?></h1>
+<p><?=$Language->text('404_heading_desc')?></p> \ No newline at end of file
diff --git a/template/admin/html/auth.php b/template/admin/html/auth.php
index 186c096..6aec620 100644
--- a/template/admin/html/auth.php
+++ b/template/admin/html/auth.php
@@ -1,5 +1,5 @@
-<h1><?=$Language->template('authentication_text')?></h1>
-<p><?=$Language->template('authentication_desc')?></p>
+<h1><?=$Language->text('authentication_text')?></h1>
+<p><?=$Language->text('authentication_desc')?></p>
<form action="" method="POST">
<input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
@@ -17,18 +17,18 @@
<div class="flex">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user-secret"></i></div>
- <div class="form-label-flex"><label for="form_username"><?=$Language->template('label_username')?></label></div>
+ <div class="form-label-flex"><label for="form_username"><?=$Language->text('label_username')?></label></div>
<div class="form-field-flex"><input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" /></div>
</div>
</div>
<div class="flex">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-key"></i></div>
- <div class="form-label-flex"><label for="form_password"><?=$Language->template('label_password')?></label></div>
+ <div class="form-label-flex"><label for="form_password"><?=$Language->text('label_password')?></label></div>
<div class="form-field-flex"><input type="password" id="form_password" name="password" /></div>
</div>
</div>
<div class="flex flex-padding background">
- <input type="submit" name="auth" value="Auth" />
+ <input type="submit" name="auth" value="<?=$Language->text('login')?>" />
</div>
</form> \ No newline at end of file
diff --git a/template/admin/html/database.php b/template/admin/html/database.php
index 319bf02..983dee7 100644
--- a/template/admin/html/database.php
+++ b/template/admin/html/database.php
@@ -1,5 +1,5 @@
-<h1><i class="fa fa-database"></i><?=$Language->template('overview_database_text')?></h1>
-<p><?=$Language->template('overview_database_desc')?></p>
+<h1><i class="fa fa-database"></i><?=$Language->text('overview_database_text')?></h1>
+<p><?=$Language->text('overview_database_desc')?></p>
<form action="" method="POST">
<input type="hidden" name="token" value="<?=$FORM['TOKEN']?>" />
@@ -15,7 +15,7 @@
<?php endif; ?>
<div class="flex">
- <textarea id="content-editor" placeholder="<?=$Language->template('database_warning')?>" name="command"><?=escapeHTML($FORM['COMMAND'])?></textarea>
+ <textarea id="content-editor" placeholder="<?=$Language->text('database_warning')?>" name="command"><?=escapeHTML($FORM['COMMAND'])?></textarea>
</div>
<?php if($FORM['RESULT']): ?>
diff --git a/template/admin/html/home.php b/template/admin/html/home.php
index 6701f35..6ade82d 100644
--- a/template/admin/html/home.php
+++ b/template/admin/html/home.php
@@ -1,17 +1,17 @@
-<h1><i class="fa fa-dashboard"></i><?=$Language->template('overview_dashboard_text')?></h1>
-<p><?=$Language->template('overview_dashboard_desc')?></p>
+<h1><i class="fa fa-dashboard"></i><?=$Language->text('overview_dashboard_text')?></h1>
+<p><?=$Language->text('overview_dashboard_desc')?></p>
-<h2><i class="fa fa-newspaper-o"></i><?=$Language->template('last_post')?></h2>
+<h2><i class="fa fa-newspaper-o"></i><?=$Language->text('last_post')?></h2>
<p><strong><?=$Language->text('posts')?>:</strong> <?=$COUNT['POST']?> | <a href="<?=Application::getAdminURL('post/')?>"><?=$Language->text('post_overview')?></a> | <a href="<?=Application::getAdminURL('post/insert.php')?>"><?=$Language->text('insert')?></a></p>
<?php if(!empty($LAST['POST'])): ?>
<ul class="item-list">
<?=$LAST['POST']?>
</ul>
<?php else: ?>
- <p><em><?=$Language->template('home_no_posts')?></em></p>
+ <p><em><?=$Language->text('home_no_posts')?></em></p>
<?php endif; ?>
-<h2><i class="fa fa-file-text-o"></i><?=$Language->template('last_page')?></h2>
+<h2><i class="fa fa-file-text-o"></i><?=$Language->text('last_page')?></h2>
<p><strong><?=$Language->text('pages')?>:</strong> <?=$COUNT['PAGE']?> | <a href="<?=Application::getAdminURL('page/')?>"><?=$Language->text('page_overview')?></a> | <a href="<?=Application::getAdminURL('page/insert.php')?>"><?=$Language->text('insert')?></a></p>
<?php if(!empty($LAST['PAGE'])): ?>
@@ -19,10 +19,10 @@
<?=$LAST['PAGE']?>
</ul>
<?php else: ?>
- <p><em><?=$Language->template('home_no_pages')?></em></p>
+ <p><em><?=$Language->text('home_no_pages')?></em></p>
<?php endif; ?>
-<h2><i class="fa fa-user"></i><?=$Language->template('last_user')?></h2>
+<h2><i class="fa fa-user"></i><?=$Language->text('last_user')?></h2>
<p><strong><?=$Language->text('users')?>:</strong> <?=$COUNT['USER']?> | <a href="<?=Application::getAdminURL('user/')?>"><?=$Language->text('user_overview')?></a> | <a href="<?=Application::getAdminURL('user/insert.php')?>"><?=$Language->text('insert')?></a></p>
<?php if(!empty($LAST['USER'])): ?>
@@ -30,5 +30,5 @@
<?=$LAST['USER']?>
</ul>
<?php else: ?>
- <p><em><?=$Language->template('home_no_users')?></em></p>
+ <p><em><?=$Language->text('home_no_users')?></em></p>
<?php endif; ?>
diff --git a/template/admin/html/main.php b/template/admin/html/main.php
index d7b6148..fafc8d0 100644
--- a/template/admin/html/main.php
+++ b/template/admin/html/main.php
@@ -22,18 +22,18 @@
<nav id="main-navi">
<?php if(Application::isAuthenticated()): ?>
<ul>
- <li><a href="<?=Application::getAdminURL()?>" title="<?=$Language->template('overview_dashboard_text')?>"><i class="fa fa-dashboard"></i><span>Dashboard</span></a></li>
+ <li><a href="<?=Application::getAdminURL()?>" title="<?=$Language->text('overview_dashboard_text')?>"><i class="fa fa-dashboard"></i><span>Dashboard</span></a></li>
<li><a href="<?=Application::getAdminURL('post/')?>" title="<?=$Language->text('post_overview')?>"><i class="fa fa-newspaper-o"></i><span><?=$Language->text('posts')?></span></a></li>
<li><a href="<?=Application::getAdminURL('page/')?>" title="<?=$Language->text('page_overview')?>"><i class="fa fa-file-text-o"></i><span><?=$Language->text('pages')?></span></a></li>
<li><a href="<?=Application::getAdminURL('user/')?>" title="<?=$Language->text('user_overview')?>"><i class="fa fa-user"></i><span><?=$Language->text('users')?></span></a></li>
- <li><a href="<?=Application::getAdminURL('database.php')?>" title="<?=$Language->template('overview_database_text')?>"><i class="fa fa-database"></i><span><?=$Language->template('overview_database_text')?></span></a></li>
+ <li><a href="<?=Application::getAdminURL('database.php')?>" title="<?=$Language->text('overview_database_text')?>"><i class="fa fa-database"></i><span><?=$Language->text('overview_database_text')?></span></a></li>
</ul>
<ul>
- <li><a href="<?=Application::getAdminURL('auth.php?action=logout&amp;token='.Application::getSecurityToken())?>"><i class="fa fa-sign-out"></i><span>Logout</span></a></li>
+ <li><a href="<?=Application::getAdminURL('auth.php?action=logout&amp;token='.Application::getSecurityToken())?>"><i class="fa fa-sign-out"></i><span><?=$Language->text('logout')?></span></a></li>
</ul>
<?php else: ?>
<ul>
- <li><a href="<?=Application::getAdminURL('auth.php')?>"><i class="fa fa-sign-in"></i><span>Login</span></a></li>
+ <li><a href="<?=Application::getAdminURL('auth.php')?>"><i class="fa fa-sign-in"></i><span><?=$Language->text('login')?></span></a></li>
</ul>
<?php endif; ?>
</nav>
diff --git a/template/admin/html/page/delete.php b/template/admin/html/page/delete.php
index 95451d8..ccc569f 100644
--- a/template/admin/html/page/delete.php
+++ b/template/admin/html/page/delete.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-trash-o"></i><?=$Language->text('delete_page')?></h1>
-<p><?=$Language->template('delete_page_desc')?></p>
+<p><?=$Language->text('delete_page_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/page/form.php b/template/admin/html/page/form.php
index c0bc7e4..ad7387f 100644
--- a/template/admin/html/page/form.php
+++ b/template/admin/html/page/form.php
@@ -20,7 +20,7 @@
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user"></i></div>
- <div class="form-label-flex"><label for="form_user"><?=$Language->template('label_user')?></label></div>
+ <div class="form-label-flex"><label for="form_user"><?=$Language->text('label_user')?></label></div>
<div class="form-field-flex">
<select id="form_user" name="user">
<?php foreach($FORM['USER_LIST'] as $user): ?>
@@ -33,39 +33,39 @@
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-file-text-o"></i></div>
- <div class="form-label-flex"><label for="form_name"><?=$Language->template('label_name')?></label></div>
+ <div class="form-label-flex"><label for="form_name"><?=$Language->text('label_name')?></label></div>
<div class="form-field-flex"><input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-link"></i></div>
- <div class="form-label-flex"><label for="form_slug"><?=$Language->template('label_slug')?></label></div>
+ <div class="form-label-flex"><label for="form_slug"><?=$Language->text('label_slug')?></label></div>
<div class="form-field-flex"><input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /></div>
</div>
</div>
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></div>
- <div class="form-label-flex"><label for="form_time_insert"><?=$Language->template('label_insert')?></label></div>
+ <div class="form-label-flex"><label for="form_time_insert"><?=$Language->text('label_insert')?></label></div>
<div class="form-field-flex"><input id="form_time_insert" name="time_insert" placeholder="[YYYY-MM-DD HH:II:SS]" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></div>
- <div class="form-label-flex"><label for="form_time_update"><?=$Language->template('label_update')?></label></div>
+ <div class="form-label-flex"><label for="form_time_update"><?=$Language->text('label_update')?></label></div>
<div class="form-field-flex"><input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : '[CURRENT_TIMESTAMP]')?>" value="" /></div>
</div>
</div>
<div class="flex flex-direction-column">
<div id="button-list-wrapper">
<ul id="markdown-list" class="button-list markdown">
- <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->template('markdown_bold')?>"></li>
- <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->template('markdown_italic')?>"></li>
- <li data-markdown="heading" class="fa fa-header" title="<?=$Language->template('markdown_heading')?>"></li>
- <li data-markdown="link" class="fa fa-link" title="<?=$Language->template('markdown_link')?>"></li>
- <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->template('markdown_image')?>"></li>
- <li data-markdown="code" class="fa fa-code" title="<?=$Language->template('markdown_code')?>"></li>
- <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->template('markdown_quote')?>"></li>
- <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->template('markdown_list_ul')?>"></li>
- <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->template('markdown_list_ol')?>"></li>
+ <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->text('markdown_bold')?>"></li>
+ <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->text('markdown_italic')?>"></li>
+ <li data-markdown="heading" class="fa fa-header" title="<?=$Language->text('markdown_heading')?>"></li>
+ <li data-markdown="link" class="fa fa-link" title="<?=$Language->text('markdown_link')?>"></li>
+ <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->text('markdown_image')?>"></li>
+ <li data-markdown="code" class="fa fa-code" title="<?=$Language->text('markdown_code')?>"></li>
+ <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->text('markdown_quote')?>"></li>
+ <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->text('markdown_list_ul')?>"></li>
+ <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->text('markdown_list_ol')?>"></li>
</ul>
</div>
<textarea id="content-editor" name="body" placeholder="[…]"><?=escapeHTML($FORM['DATA']['BODY'])?></textarea>
@@ -92,7 +92,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->template('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
<?php endif; ?>
</div>
</form> \ No newline at end of file
diff --git a/template/admin/html/page/index.php b/template/admin/html/page/index.php
index 8fff434..0989796 100644
--- a/template/admin/html/page/index.php
+++ b/template/admin/html/page/index.php
@@ -1,5 +1,5 @@
<h1><i class="fa fa-file-text-o"></i><?=$Language->text('page_overview')?><a class="brackets" href="<?=Application::getAdminURL("page/insert.php")?>"><?=$Language->text('insert')?></a></h1>
-<p><?=$Language->template('overview_page_desc')?></p>
+<p><?=$Language->text('overview_page_desc')?></p>
<ul class="item-list page">
<?php foreach($LIST['PAGES'] as $page): ?>
diff --git a/template/admin/html/page/insert.php b/template/admin/html/page/insert.php
index d45d79c..535fca8 100644
--- a/template/admin/html/page/insert.php
+++ b/template/admin/html/page/insert.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-file-text-o"></i><?=$Language->text('insert_page')?></h1>
-<p><?=$Language->template('insert_page_desc')?></p>
+<p><?=$Language->text('insert_page_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/page/item.php b/template/admin/html/page/item.php
index 8afeb15..4f0f884 100644
--- a/template/admin/html/page/item.php
+++ b/template/admin/html/page/item.php
@@ -3,7 +3,7 @@
<h2><i class="fa fa-file-text-o"></i><?=escapeHTML($PAGE['ATTR']['NAME'])?><span>#<?=$PAGE['ATTR']['ID']?></span></h2>
<div>
<a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
- <time class="brackets" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time>
+ <time class="brackets" datetime="<?=$PAGE['ATTR']['TIME_INSERT']?>"><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</div>
</header>
<blockquote cite="<?=$PAGE['URL']?>">
diff --git a/template/admin/html/page/update.php b/template/admin/html/page/update.php
index d15d784..a0ba51f 100644
--- a/template/admin/html/page/update.php
+++ b/template/admin/html/page/update.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-file-text-o"></i><?=$Language->text('update_page')?></h1>
-<p><?=$Language->template('update_page_desc')?></p>
+<p><?=$Language->text('update_page_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/post/delete.php b/template/admin/html/post/delete.php
index 9be4566..6654377 100644
--- a/template/admin/html/post/delete.php
+++ b/template/admin/html/post/delete.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-trash-o"></i><?=$Language->text('delete_post')?></h1>
-<p><?=$Language->template('delete_post_desc')?></p>
+<p><?=$Language->text('delete_post_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/post/form.php b/template/admin/html/post/form.php
index 89d4478..1123ff3 100644
--- a/template/admin/html/post/form.php
+++ b/template/admin/html/post/form.php
@@ -20,7 +20,7 @@
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user"></i></div>
- <div class="form-label-flex"><label for="form_user"><?=$Language->template('label_user')?></label></div>
+ <div class="form-label-flex"><label for="form_user"><?=$Language->text('label_user')?></label></div>
<div class="form-field-flex">
<select id="form_user" name="user">
<?php foreach($FORM['USER_LIST'] as $user): ?>
@@ -33,39 +33,39 @@
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-newspaper-o"></i></div>
- <div class="form-label-flex"><label for="form_name"><?=$Language->template('label_name')?></label></div>
+ <div class="form-label-flex"><label for="form_name"><?=$Language->text('label_name')?></label></div>
<div class="form-field-flex"><input id="form_name" name="name" value="<?=escapeHTML($FORM['DATA']['NAME'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-link"></i></div>
- <div class="form-label-flex"><label for="form_slug"><?=$Language->template('label_slug')?></label></div>
+ <div class="form-label-flex"><label for="form_slug"><?=$Language->text('label_slug')?></label></div>
<div class="form-field-flex"><input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /></div>
</div>
</div>
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></div>
- <div class="form-label-flex"><label for="form_time_insert"><?=$Language->template('label_insert')?></label></div>
+ <div class="form-label-flex"><label for="form_time_insert"><?=$Language->text('label_insert')?></label></div>
<div class="form-field-flex"><input id="form_time_insert" name="time_insert" placeholder="[YYYY-MM-DD HH:II:SS]" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></div>
- <div class="form-label-flex"><label for="form_time_update"><?=$Language->template('label_update')?></label></div>
+ <div class="form-label-flex"><label for="form_time_update"><?=$Language->text('label_update')?></label></div>
<div class="form-field-flex"><input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : '[CURRENT_TIMESTAMP]')?>" value="" /></div>
</div>
</div>
<div class="flex flex-direction-column">
<div id="button-list-wrapper">
<ul id="markdown-list" class="button-list markdown">
- <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->template('markdown_bold')?>"></li>
- <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->template('markdown_italic')?>"></li>
- <li data-markdown="heading" class="fa fa-header" title="<?=$Language->template('markdown_heading')?>"></li>
- <li data-markdown="link" class="fa fa-link" title="<?=$Language->template('markdown_link')?>"></li>
- <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->template('markdown_image')?>"></li>
- <li data-markdown="code" class="fa fa-code" title="<?=$Language->template('markdown_code')?>"></li>
- <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->template('markdown_quote')?>"></li>
- <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->template('markdown_list_ul')?>"></li>
- <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->template('markdown_list_ol')?>"></li>
+ <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->text('markdown_bold')?>"></li>
+ <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->text('markdown_italic')?>"></li>
+ <li data-markdown="heading" class="fa fa-header" title="<?=$Language->text('markdown_heading')?>"></li>
+ <li data-markdown="link" class="fa fa-link" title="<?=$Language->text('markdown_link')?>"></li>
+ <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->text('markdown_image')?>"></li>
+ <li data-markdown="code" class="fa fa-code" title="<?=$Language->text('markdown_code')?>"></li>
+ <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->text('markdown_quote')?>"></li>
+ <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->text('markdown_list_ul')?>"></li>
+ <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->text('markdown_list_ol')?>"></li>
</ul>
</div>
<textarea id="content-editor" name="body" placeholder="[…]"><?=escapeHTML($FORM['DATA']['BODY'])?></textarea>
@@ -92,7 +92,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->template('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
<?php endif; ?>
</div>
</form> \ No newline at end of file
diff --git a/template/admin/html/post/index.php b/template/admin/html/post/index.php
index c997955..124d39b 100644
--- a/template/admin/html/post/index.php
+++ b/template/admin/html/post/index.php
@@ -1,5 +1,5 @@
<h1><i class="fa fa-newspaper-o"></i><?=$Language->text('post_overview')?><a class="brackets" href="<?=Application::getAdminURL("post/insert.php")?>"><?=$Language->text('insert')?></a></h1>
-<p><?=$Language->template('overview_post_desc')?></p>
+<p><?=$Language->text('overview_post_desc')?></p>
<ul class="item-list post">
<?php foreach($LIST['POSTS'] as $post): ?>
diff --git a/template/admin/html/post/insert.php b/template/admin/html/post/insert.php
index df4b26d..802ccf1 100644
--- a/template/admin/html/post/insert.php
+++ b/template/admin/html/post/insert.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-newspaper-o"></i><?=$Language->text('insert_post')?></h1>
-<p><?=$Language->template('insert_post_desc')?></p>
+<p><?=$Language->text('insert_post_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php
index a49e2a5..19b81c1 100644
--- a/template/admin/html/post/item.php
+++ b/template/admin/html/post/item.php
@@ -3,7 +3,7 @@
<h2><i class="fa fa-newspaper-o"></i><?=escapeHTML($POST['ATTR']['NAME'])?><span>#<?=$POST['ATTR']['ID']?></span></h2>
<div>
<a class="brackets" href="<?=Application::getAdminURL("user/update.php?id={$USER['ATTR']['ID']}")?>"><?=escapeHTML($USER['ATTR']['FULLNAME'])?></a>
- <time class="brackets" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time>
+ <time class="brackets" datetime="<?=$POST['ATTR']['TIME_INSERT']?>"><?=parseDatetime($POST['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</div>
</header>
<blockquote cite="<?=$POST['URL']?>">
diff --git a/template/admin/html/post/update.php b/template/admin/html/post/update.php
index baa119e..b17225c 100644
--- a/template/admin/html/post/update.php
+++ b/template/admin/html/post/update.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-newspaper-o"></i><?=$Language->text('update_post')?></h1>
-<p><?=$Language->template('update_post_desc')?></p>
+<p><?=$Language->text('update_post_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/user/delete.php b/template/admin/html/user/delete.php
index dac4185..01927b2 100644
--- a/template/admin/html/user/delete.php
+++ b/template/admin/html/user/delete.php
@@ -1,6 +1,6 @@
<h1><i class="fa fa-trash-o"></i><?=$Language->text('delete_user')?></h1>
-<p><?=$Language->template('delete_user_desc')?></p>
+<p><?=$Language->text('delete_user_desc')?></p>
-<p class="red"><?=$Language->template('delete_user_warning')?></p>
+<p class="red"><?=$Language->text('delete_user_warning')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/user/form.php b/template/admin/html/user/form.php
index 2d3625c..a9d4b0a 100644
--- a/template/admin/html/user/form.php
+++ b/template/admin/html/user/form.php
@@ -20,58 +20,58 @@
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-key"></i></div>
- <div class="form-label-flex"><label for="form_password"><?=$Language->template('label_password')?></label></div>
+ <div class="form-label-flex"><label for="form_password"><?=$Language->text('label_password')?></label></div>
<div class="form-field-flex"><input id="form_password" name="password" placeholder="[NO CHANGE]" type="password" /></div>
</div>
</div>
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user"></i></div>
- <div class="form-label-flex"><label for="form_fullname"><?=$Language->template('label_fullname')?></label></div>
+ <div class="form-label-flex"><label for="form_fullname"><?=$Language->text('label_fullname')?></label></div>
<div class="form-field-flex"><input id="form_fullname" name="fullname" value="<?=escapeHTML($FORM['DATA']['FULLNAME'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-envelope-o"></i></div>
- <div class="form-label-flex"><label for="form_mailaddr"><?=$Language->template('label_mailaddr')?></label></div>
+ <div class="form-label-flex"><label for="form_mailaddr"><?=$Language->text('label_mailaddr')?></label></div>
<div class="form-field-flex"><input id="form_mailaddr" name="mailaddr" value="<?=escapeHTML($FORM['DATA']['MAILADDR'])?>" /></div>
</div>
</div>
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-user-secret"></i></div>
- <div class="form-label-flex"><label for="form_username"><?=$Language->template('label_username')?></label></div>
+ <div class="form-label-flex"><label for="form_username"><?=$Language->text('label_username')?></label></div>
<div class="form-field-flex"><input id="form_username" name="username" value="<?=escapeHTML($FORM['DATA']['USERNAME'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-link"></i></div>
- <div class="form-label-flex"><label for="form_slug"><?=$Language->template('label_slug')?></label></div>
+ <div class="form-label-flex"><label for="form_slug"><?=$Language->text('label_slug')?></label></div>
<div class="form-field-flex"><input id="form_slug" name="slug" value="<?=escapeHTML($FORM['DATA']['SLUG'])?>" /></div>
</div>
</div>
<div class="flex flex-responsive">
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></div>
- <div class="form-label-flex"><label for="form_time_insert"><?=$Language->template('label_insert')?></label></div>
+ <div class="form-label-flex"><label for="form_time_insert"><?=$Language->text('label_insert')?></label></div>
<div class="form-field-flex"><input id="form_time_insert" name="time_insert" placeholder="[YYYY-MM-DD HH:II:SS]" value="<?=escapeHTML($FORM['DATA']['TIME_INSERT'])?>" /></div>
</div>
<div class="flex-item">
<div class="form-icon-flex"><i class="fa fa-clock-o"></i></div>
- <div class="form-label-flex"><label for="form_time_update"><?=$Language->template('label_update')?></label></div>
+ <div class="form-label-flex"><label for="form_time_update"><?=$Language->text('label_update')?></label></div>
<div class="form-field-flex"><input id="form_time_update" name="time_update" placeholder="<?=escapeHTML($FORM['DATA']['TIME_UPDATE'] ? $FORM['DATA']['TIME_UPDATE'] : '[CURRENT_TIMESTAMP]')?>" value="" /></div>
</div>
</div>
<div class="flex flex-direction-column">
<div id="button-list-wrapper">
<ul id="markdown-list" class="button-list markdown">
- <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->template('markdown_bold')?>"></li>
- <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->template('markdown_italic')?>"></li>
- <li data-markdown="heading" class="fa fa-header" title="<?=$Language->template('markdown_heading')?>"></li>
- <li data-markdown="link" class="fa fa-link" title="<?=$Language->template('markdown_link')?>"></li>
- <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->template('markdown_image')?>"></li>
- <li data-markdown="code" class="fa fa-code" title="<?=$Language->template('markdown_code')?>"></li>
- <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->template('markdown_quote')?>"></li>
- <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->template('markdown_list_ul')?>"></li>
- <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->template('markdown_list_ol')?>"></li>
+ <li data-markdown="bold" class="fa fa-bold" title="<?=$Language->text('markdown_bold')?>"></li>
+ <li data-markdown="italic" class="fa fa-italic" title="<?=$Language->text('markdown_italic')?>"></li>
+ <li data-markdown="heading" class="fa fa-header" title="<?=$Language->text('markdown_heading')?>"></li>
+ <li data-markdown="link" class="fa fa-link" title="<?=$Language->text('markdown_link')?>"></li>
+ <li data-markdown="image" class="fa fa-picture-o" title="<?=$Language->text('markdown_image')?>"></li>
+ <li data-markdown="code" class="fa fa-code" title="<?=$Language->text('markdown_code')?>"></li>
+ <li data-markdown="quote" class="fa fa-quote-right" title="<?=$Language->text('markdown_quote')?>"></li>
+ <li data-markdown="list_ul" class="fa fa-list-ul" title="<?=$Language->text('markdown_list_ul')?>"></li>
+ <li data-markdown="list_ol" class="fa fa-list-ol" title="<?=$Language->text('markdown_list_ol')?>"></li>
</ul>
</div>
<textarea id="content-editor" name="body" placeholder="[…]"><?=escapeHTML($FORM['DATA']['BODY'])?></textarea>
@@ -98,7 +98,7 @@
<?php elseif($FORM['TYPE'] === 'UPDATE'): ?>
<input id="update-button" type="submit" name="update" value="<?=$Language->text('update')?>" />
<?php elseif($FORM['TYPE'] === 'DELETE'): ?>
- <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->template('sure')?>" />
+ <input id="delete-button" type="submit" name="delete" value="<?=$Language->text('delete')?>" data-text="<?=$Language->text('sure')?>" />
<?php endif; ?>
</div>
</form> \ No newline at end of file
diff --git a/template/admin/html/user/index.php b/template/admin/html/user/index.php
index cbeea9b..bc34402 100644
--- a/template/admin/html/user/index.php
+++ b/template/admin/html/user/index.php
@@ -1,5 +1,5 @@
<h1><i class="fa fa-user"></i><?=$Language->text('user_overview')?><a class="brackets" href="<?=Application::getAdminURL("user/insert.php")?>"><?=$Language->text('insert')?></a></h1>
-<p><?=$Language->template('overview_user_desc')?></p>
+<p><?=$Language->text('overview_user_desc')?></p>
<ul class="item-list user">
<?php foreach($LIST['USERS'] as $user): ?>
diff --git a/template/admin/html/user/insert.php b/template/admin/html/user/insert.php
index 54598ee..4613da3 100644
--- a/template/admin/html/user/insert.php
+++ b/template/admin/html/user/insert.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-user"></i><?=$Language->text('insert_user')?></h1>
-<p><?=$Language->template('insert_user_desc')?></p>
+<p><?=$Language->text('insert_user_desc')?></p>
<?=$HTML?> \ No newline at end of file
diff --git a/template/admin/html/user/item.php b/template/admin/html/user/item.php
index 5efbae3..6cb9e7a 100644
--- a/template/admin/html/user/item.php
+++ b/template/admin/html/user/item.php
@@ -2,7 +2,7 @@
<header>
<h2><i class="fa fa-user"></i><?=escapeHTML($USER['ATTR']['FULLNAME'])?><span>#<?=$USER['ATTR']['ID']?></span></h2>
<div>
- <time class="brackets" datetime="<?=$USER['ATTR']['TIME_INSERT']?>"><?=parseDatetime($USER['ATTR']['TIME_INSERT'], $Language->template('date_format'))?></time>
+ <time class="brackets" datetime="<?=$USER['ATTR']['TIME_INSERT']?>"><?=parseDatetime($USER['ATTR']['TIME_INSERT'], $Language->text('date_format'))?></time>
</div>
</header>
<blockquote cite="<?=$USER['URL']?>">
diff --git a/template/admin/html/user/update.php b/template/admin/html/user/update.php
index 6f7ddae..6748cae 100644
--- a/template/admin/html/user/update.php
+++ b/template/admin/html/user/update.php
@@ -1,4 +1,4 @@
<h1><i class="fa fa-user"></i><?=$Language->text('update_user')?></h1>
-<p><?=$Language->template('update_user_desc')?></p>
+<p><?=$Language->text('update_user_desc')?></p>
<?=$HTML?> \ No newline at end of file