Bladeren bron

Merge branch 'fixurlshortener'

El RIDO 8 jaren geleden
bovenliggende
commit
eb57a95392
2 gewijzigde bestanden met toevoegingen van 6 en 8 verwijderingen
  1. 4 5
      tpl/bootstrap.php
  2. 2 3
      tpl/page.php

+ 4 - 5
tpl/bootstrap.php

@@ -468,17 +468,16 @@ endif;
 				<div id="pastesuccess" role="alert" class="hidden alert alert-success">
 				<div id="pastesuccess" role="alert" class="hidden alert alert-success">
 					<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
 					<span class="glyphicon glyphicon-ok" aria-hidden="true"></span>
 					<div id="deletelink"></div>
 					<div id="deletelink"></div>
-					<div id="pastelink">
+					<div id="pastelink"></div>
 <?php
 <?php
 if (strlen($URLSHORTENER)):
 if (strlen($URLSHORTENER)):
 ?>
 ?>
-						<button id="shortenbutton" data-shortener="<?php echo htmlspecialchars($URLSHORTENER); ?>" type="button" class="btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?>">
-							<span class="glyphicon glyphicon-send" aria-hidden="true"></span> <?php echo I18n::_('Shorten URL'), PHP_EOL; ?>
-						</button>
+					<button id="shortenbutton" data-shortener="<?php echo htmlspecialchars($URLSHORTENER); ?>" type="button" class="btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?>">
+						<span class="glyphicon glyphicon-send" aria-hidden="true"></span> <?php echo I18n::_('Shorten URL'), PHP_EOL; ?>
+					</button>
 <?php
 <?php
 endif;
 endif;
 ?>
 ?>
-					</div>
 				</div>
 				</div>
 				<ul id="editorTabs" class="nav nav-tabs hidden">
 				<ul id="editorTabs" class="nav nav-tabs hidden">
 					<li role="presentation" class="active"><a id="messageedit" href="#"><?php echo I18n::_('Editor'); ?></a></li>
 					<li role="presentation" class="active"><a id="messageedit" href="#"><?php echo I18n::_('Editor'); ?></a></li>

+ 2 - 3
tpl/page.php

@@ -206,15 +206,14 @@ if ($QRCODE):
 endif;
 endif;
 ?>				<div id="pastesuccess" class="hidden">
 ?>				<div id="pastesuccess" class="hidden">
 					<div id="deletelink"></div>
 					<div id="deletelink"></div>
-					<div id="pastelink">
+					<div id="pastelink"></div>
 <?php
 <?php
 if (strlen($URLSHORTENER)):
 if (strlen($URLSHORTENER)):
 ?>
 ?>
-						<button id="shortenbutton" data-shortener="<?php echo htmlspecialchars($URLSHORTENER); ?>"><img src="img/icon_shorten.png" width="13" height="15" /><?php echo I18n::_('Shorten URL'); ?></button>
+					<button id="shortenbutton" data-shortener="<?php echo htmlspecialchars($URLSHORTENER); ?>"><img src="img/icon_shorten.png" width="13" height="15" /><?php echo I18n::_('Shorten URL'); ?></button>
 <?php
 <?php
 endif;
 endif;
 ?>
 ?>
-					</div>
 				</div>
 				</div>
 <?php
 <?php
 if ($FILEUPLOAD):
 if ($FILEUPLOAD):