address "oneliner-hell"
This commit is contained in:
parent
f4e8e363cb
commit
e22da2e0d1
3 changed files with 57 additions and 9 deletions
|
@ -613,9 +613,25 @@ if ($DISCUSSION) :
|
|||
?>
|
||||
<div id="serverdata" class="hidden" aria-hidden="true">
|
||||
<div id="templates">
|
||||
<article id="commenttemplate" class="comment"><div class="commentmeta"><span class="nickname">name</span><span class="commentdate">0000-00-00</span></div><div class="commentdata">c</div><button class="btn btn-default btn-sm"><?php echo I18n::_('Reply'); ?></button></article>
|
||||
<p id="commenttailtemplate" class="comment"><button class="btn btn-default btn-sm"><?php echo I18n::_('Add comment'); ?></button></p>
|
||||
<div id="replytemplate" class="reply hidden"><input type="text" id="nickname" class="form-control" title="<?php echo I18n::_('Optional nickname…'); ?>" placeholder="<?php echo I18n::_('Optional nickname…'); ?>" /><textarea id="replymessage" class="replymessage form-control" cols="80" rows="7"></textarea><br /><div id="replystatus" role="alert" class="statusmessage hidden alert"><span class="glyphicon" aria-hidden="true"></span> </div><button id="replybutton" class="btn btn-default btn-sm"><?php echo I18n::_('Post comment'); ?></button></div>
|
||||
<article id="commenttemplate" class="comment">
|
||||
<div class="commentmeta">
|
||||
<span class="nickname">name</span>
|
||||
<span class="commentdate">0000-00-00</span>
|
||||
</div>
|
||||
<div class="commentdata">c</div>
|
||||
<button class="btn btn-default btn-sm"><?php echo I18n::_('Reply'); ?></button>
|
||||
</article>
|
||||
<p id="commenttailtemplate" class="comment">
|
||||
<button class="btn btn-default btn-sm"><?php echo I18n::_('Add comment'); ?></button>
|
||||
</p>
|
||||
<div id="replytemplate" class="reply hidden">
|
||||
<input type="text" id="nickname" class="form-control" title="<?php echo I18n::_('Optional nickname…'); ?>" placeholder="<?php echo I18n::_('Optional nickname…'); ?>" />
|
||||
<textarea id="replymessage" class="replymessage form-control" cols="80" rows="7"></textarea><br />
|
||||
<div id="replystatus" role="alert" class="statusmessage hidden alert">
|
||||
<span class="glyphicon" aria-hidden="true"></span>
|
||||
</div>
|
||||
<button id="replybutton" class="btn btn-default btn-sm"><?php echo I18n::_('Post comment'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
|
|
@ -467,9 +467,25 @@ if ($DISCUSSION) :
|
|||
?>
|
||||
<div id="serverdata" class="hidden" aria-hidden="true">
|
||||
<div id="templates">
|
||||
<article id="commenttemplate" class="comment"><div class="commentmeta"><span class="nickname">name</span><span class="commentdate">0000-00-00</span></div><div class="commentdata">c</div><button class="btn btn-secondary btn-sm"><?php echo I18n::_('Reply'); ?></button></article>
|
||||
<p id="commenttailtemplate" class="comment"><button class="btn btn-secondary btn-sm"><?php echo I18n::_('Add comment'); ?></button></p>
|
||||
<div id="replytemplate" class="reply hidden"><input type="text" id="nickname" class="form-control" title="<?php echo I18n::_('Optional nickname…'); ?>" placeholder="<?php echo I18n::_('Optional nickname…'); ?>" /><textarea id="replymessage" class="replymessage form-control" cols="80" rows="7"></textarea><br /><div id="replystatus" role="alert" class="statusmessage hidden alert"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#info-circle" /></svg> </div><button id="replybutton" class="btn btn-secondary btn-sm"><?php echo I18n::_('Post comment'); ?></button></div>
|
||||
<article id="commenttemplate" class="comment">
|
||||
<div class="commentmeta">
|
||||
<span class="nickname">name</span>
|
||||
<span class="commentdate">0000-00-00</span>
|
||||
</div>
|
||||
<div class="commentdata">c</div>
|
||||
<button class="btn btn-secondary btn-sm"><?php echo I18n::_('Reply'); ?></button>
|
||||
</article>
|
||||
<p id="commenttailtemplate" class="comment">
|
||||
<button class="btn btn-secondary btn-sm"><?php echo I18n::_('Add comment'); ?></button>
|
||||
</p>
|
||||
<div id="replytemplate" class="reply hidden">
|
||||
<input type="text" id="nickname" class="form-control" title="<?php echo I18n::_('Optional nickname…'); ?>" placeholder="<?php echo I18n::_('Optional nickname…'); ?>" />
|
||||
<textarea id="replymessage" class="replymessage form-control" cols="80" rows="7"></textarea><br />
|
||||
<div id="replystatus" role="alert" class="statusmessage hidden alert">
|
||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#info-circle" /></svg>
|
||||
</div>
|
||||
<button id="replybutton" class="btn btn-secondary btn-sm"><?php echo I18n::_('Post comment'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
|
22
tpl/page.php
22
tpl/page.php
|
@ -277,9 +277,25 @@ if ($DISCUSSION):
|
|||
?>
|
||||
<div id="serverdata" class="hidden" aria-hidden="true">
|
||||
<div id="templates">
|
||||
<article id="commenttemplate" class="comment"><div class="commentmeta"><span class="nickname">name</span><span class="commentdate">0000-00-00</span></div><div class="commentdata">c</div><button class="btn btn-default btn-sm"><?php echo I18n::_('Reply'); ?></button></article>
|
||||
<div id="commenttailtemplate" class="comment"><button class="btn btn-default btn-sm"><?php echo I18n::_('Add comment'); ?></button></div>
|
||||
<div id="replytemplate" class="reply hidden"><input type="text" id="nickname" class="form-control" title="<?php echo I18n::_('Optional nickname…'); ?>" placeholder="<?php echo I18n::_('Optional nickname…'); ?>" /><textarea id="replymessage" class="replymessage form-control" cols="80" rows="7"></textarea><br /><div id="replystatus" role="alert" class="statusmessage hidden alert"><span class="glyphicon" aria-hidden="true"></span> </div><button id="replybutton" class="btn btn-default btn-sm"><?php echo I18n::_('Post comment'); ?></button></div>
|
||||
<article id="commenttemplate" class="comment">
|
||||
<div class="commentmeta">
|
||||
<span class="nickname">name</span>
|
||||
<span class="commentdate">0000-00-00</span>
|
||||
</div>
|
||||
<div class="commentdata">c</div>
|
||||
<button class="btn btn-default btn-sm"><?php echo I18n::_('Reply'); ?></button>
|
||||
</article>
|
||||
<div id="commenttailtemplate" class="comment">
|
||||
<button class="btn btn-default btn-sm"><?php echo I18n::_('Add comment'); ?></button>
|
||||
</div>
|
||||
<div id="replytemplate" class="reply hidden">
|
||||
<input type="text" id="nickname" class="form-control" title="<?php echo I18n::_('Optional nickname…'); ?>" placeholder="<?php echo I18n::_('Optional nickname…'); ?>" />
|
||||
<textarea id="replymessage" class="replymessage form-control" cols="80" rows="7"></textarea><br />
|
||||
<div id="replystatus" role="alert" class="statusmessage hidden alert">
|
||||
<span class="glyphicon" aria-hidden="true"></span>
|
||||
</div>
|
||||
<button id="replybutton" class="btn btn-default btn-sm"><?php echo I18n::_('Post comment'); ?></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
|
|
Loading…
Reference in a new issue