aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/admin/html/page/item.php9
-rw-r--r--template/admin/html/post/item.php9
-rw-r--r--template/admin/html/user/item.php9
-rw-r--r--template/admin/rsrc/main.css8
4 files changed, 35 insertions, 0 deletions
diff --git a/template/admin/html/page/item.php b/template/admin/html/page/item.php
index 584a539..1a382bd 100644
--- a/template/admin/html/page/item.php
+++ b/template/admin/html/page/item.php
@@ -6,6 +6,15 @@
<blockquote cite="<?=$PAGE['URL']?>">
<p><?=excerpt($PAGE['BODY']['HTML'])?></p>
</blockquote>
+
+ <?php if($PAGE['ARGV']): ?>
+ <ul class="arguments">
+ <?php foreach($PAGE['ARGV'] as $argument => $value): ?>
+ <li><strong><?=$argument?></strong>: <span class="blue"><?=escapeHTML($value)?></span></li>
+ <?php endforeach; ?>
+ </ul>
+ <?php endif; ?>
+
<footer>
<ul>
<li><a href="<?=$PAGE['URL']?>" target="_blank" title="<?=$Language->text('select_page')?>"><i class="fa fa-external-link"></i></a></li>
diff --git a/template/admin/html/post/item.php b/template/admin/html/post/item.php
index 1808a6b..f84a2e2 100644
--- a/template/admin/html/post/item.php
+++ b/template/admin/html/post/item.php
@@ -6,6 +6,15 @@
<blockquote cite="<?=$POST['URL']?>">
<p><?=excerpt($POST['BODY']['HTML'])?></p>
</blockquote>
+
+ <?php if($POST['ARGV']): ?>
+ <ul class="arguments">
+ <?php foreach($POST['ARGV'] as $argument => $value): ?>
+ <li><strong><?=$argument?></strong>: <span class="blue"><?=escapeHTML($value)?></span></li>
+ <?php endforeach; ?>
+ </ul>
+ <?php endif; ?>
+
<footer>
<ul>
<li><a href="<?=$POST['URL']?>" target="_blank" title="<?=$Language->text('select_post')?>"><i class="fa fa-external-link"></i></a></li>
diff --git a/template/admin/html/user/item.php b/template/admin/html/user/item.php
index 8f0cba1..13ba4ae 100644
--- a/template/admin/html/user/item.php
+++ b/template/admin/html/user/item.php
@@ -5,6 +5,15 @@
<blockquote cite="<?=$USER['URL']?>">
<p><?=excerpt($USER['BODY']['HTML'])?></p>
</blockquote>
+
+ <?php if($USER['ARGV']): ?>
+ <ul class="arguments">
+ <?php foreach($USER['ARGV'] as $argument => $value): ?>
+ <li><strong><?=$argument?></strong>: <span class="blue"><?=escapeHTML($value)?></span></li>
+ <?php endforeach; ?>
+ </ul>
+ <?php endif; ?>
+
<footer>
<ul>
<li><a href="<?=$USER['URL']?>" target="_blank" title="<?=$Language->text('select_user')?>"><i class="fa fa-external-link"></i></a></li>
diff --git a/template/admin/rsrc/main.css b/template/admin/rsrc/main.css
index cd2493e..a064425 100644
--- a/template/admin/rsrc/main.css
+++ b/template/admin/rsrc/main.css
@@ -146,6 +146,14 @@ a.brackets:before,a.brackets:after{color:#222;}
.item-list-li h2 > span{float:right;}
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+/* Argument list
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
+.arguments{list-style:none;margin:0;padding:0.25rem 1rem;background:#EEE;font-size:0.6rem;text-align:center;border-top:0.05rem solid #AAA;}
+.arguments > li{display:inline;}
+.arguments > li:before{content:"[";font-weight:700;margin-right:0.1rem;}
+.arguments > li:after{content:"]";font-weight:700;margin-left:0.1rem;}
+
+/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* Form flex-box
/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
form{border:0.05rem solid #AAA;}