mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
Removing unnecessary alterations
This commit is contained in:
@@ -689,8 +689,8 @@ endif;
|
|||||||
</div>
|
</div>
|
||||||
<button id="replybutton" class="btn btn-default btn-sm"><?php echo I18n::_('Post comment'); ?></button>
|
<button id="replybutton" class="btn btn-default btn-sm"><?php echo I18n::_('Post comment'); ?></button>
|
||||||
</div>
|
</div>
|
||||||
<div id="attachmenttemplate" role="alert" class="hidden alert alert-info">
|
<div id="attachmenttemplate" role="alert" class="attachment hidden alert alert-info">
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#download" /></svg>
|
<span class="glyphicon glyphicon-download-alt" aria-hidden="true"></span>
|
||||||
<a class="alert-link"><?php echo I18n::_('Download attachment'); ?></a>
|
<a class="alert-link"><?php echo I18n::_('Download attachment'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ if ($QRCODE) :
|
|||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<?php $this->_scriptTag('js/zlib-1.3.1-2.js', 'defer'); ?>
|
<?php $this->_scriptTag('js/zlib-1.3.1-1.js', 'defer'); ?>
|
||||||
<?php $this->_scriptTag('js/base-x-5.0.1.js', 'defer'); ?>
|
<?php $this->_scriptTag('js/base-x-5.0.1.js', 'defer'); ?>
|
||||||
<?php $this->_scriptTag('js/bootstrap-5.3.8.js', 'defer'); ?>
|
<?php $this->_scriptTag('js/bootstrap-5.3.8.js', 'defer'); ?>
|
||||||
<?php $this->_scriptTag('js/dark-mode-switch.js', 'defer'); ?>
|
<?php $this->_scriptTag('js/dark-mode-switch.js', 'defer'); ?>
|
||||||
@@ -206,7 +206,7 @@ endif;
|
|||||||
foreach ($EXPIRE as $key => $value) :
|
foreach ($EXPIRE as $key => $value) :
|
||||||
?>
|
?>
|
||||||
<option value="<?php echo $key; ?>"<?php
|
<option value="<?php echo $key; ?>"<?php
|
||||||
if ($key === $EXPIREDEFAULT) :
|
if ($key == $EXPIREDEFAULT) :
|
||||||
?> selected="selected"<?php
|
?> selected="selected"<?php
|
||||||
endif;
|
endif;
|
||||||
?>><?php echo $value; ?></option>
|
?>><?php echo $value; ?></option>
|
||||||
@@ -287,7 +287,7 @@ endif;
|
|||||||
foreach ($FORMATTER as $key => $value) :
|
foreach ($FORMATTER as $key => $value) :
|
||||||
?>
|
?>
|
||||||
<option value="<?php echo $key; ?>"<?php
|
<option value="<?php echo $key; ?>"<?php
|
||||||
if ($key === $FORMATTERDEFAULT) :
|
if ($key == $FORMATTERDEFAULT) :
|
||||||
?> selected="selected"<?php
|
?> selected="selected"<?php
|
||||||
endif;
|
endif;
|
||||||
?>><?php echo $value; ?></option>
|
?>><?php echo $value; ?></option>
|
||||||
@@ -378,21 +378,18 @@ if ($FILEUPLOAD) :
|
|||||||
<?php
|
<?php
|
||||||
endif;
|
endif;
|
||||||
?>
|
?>
|
||||||
<div id="status" role="alert" class="d-flex justify-content-between align-items-center alert alert-<?php echo $ISDELETED ? 'success' : 'info'; echo empty($STATUS) ? ' hidden' : '' ?>">
|
<div id="status" role="alert" class="d-flex justify-content-between align-items-center alert alert-<?php echo (bool)$ISDELETED ? 'success' : 'info'; echo empty($STATUS) ? ' hidden' : '' ?>">
|
||||||
<div>
|
<div>
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#info-circle" /></svg>
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#info-circle" /></svg>
|
||||||
<?php echo I18n::encode($STATUS), PHP_EOL; ?>
|
<?php echo I18n::encode($STATUS), PHP_EOL; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
if ($ISDELETED) :
|
if ((bool)$ISDELETED):
|
||||||
?>
|
?>
|
||||||
<button type="button" class="btn btn-secondary d-flex justify-content-center align-items-center gap-1" id="new-from-alert">
|
<button type="button" class="btn btn-secondary d-flex justify-content-center align-items-center gap-1" id="new-from-alert">
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#repeat" /></svg>
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#repeat" /></svg> <?php echo I18n::_('Start over'), PHP_EOL; ?>
|
||||||
<?php echo I18n::_('Start over'), PHP_EOL; ?>
|
</button>
|
||||||
</button>
|
<?php endif; ?>
|
||||||
<?php
|
|
||||||
endif;
|
|
||||||
?>
|
|
||||||
</div>
|
</div>
|
||||||
<div id="errormessage" role="alert" class="<?php echo empty($ERROR) ? 'hidden' : '' ?> alert alert-danger">
|
<div id="errormessage" role="alert" class="<?php echo empty($ERROR) ? 'hidden' : '' ?> alert alert-danger">
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#exclamation-triangle" /></svg>
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#exclamation-triangle" /></svg>
|
||||||
@@ -549,7 +546,7 @@ endif;
|
|||||||
</div>
|
</div>
|
||||||
<div id="attachmenttemplate" role="alert" class="hidden alert alert-info">
|
<div id="attachmenttemplate" role="alert" class="hidden alert alert-info">
|
||||||
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#download" /></svg>
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#download" /></svg>
|
||||||
<a class="alert-link"><?php echo I18n::_('Download attachment'); ?><span id="attachmentinfo"></span></a>
|
<a class="alert-link"><?php echo I18n::_('Download attachment'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user