Skip to content

Commit

Permalink
apply same fixes to com_joomlaupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
C-Lodder committed Mar 16, 2017
1 parent 0209ad7 commit 89785b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
}
else
{
jQuery("#loading").css("display", "block");
var loading = document.getElementById("loading");
if (loading)
{
loading.style.display = "block";
}
form.submit();
}
Expand Down Expand Up @@ -51,8 +55,6 @@
background: rgba(255, 255, 255, .8) url('$ajaxLoaderImage') 50% 15% no-repeat;
position: fixed;
opacity: 1;
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity = 80);
filter: alpha(opacity = 80);
overflow: hidden;
}
CSS;
Expand Down Expand Up @@ -96,9 +98,9 @@
<?php echo JText::_('COM_JOOMLAUPDATE_VIEW_UPLOAD_PACKAGE_FILE'); ?>
</td>
<td>
<input class="form-control" id="install_package" name="install_package" type="file" size="57">
<input class="form-control-file" id="install_package" name="install_package" type="file" size="57">
<?php $maxSize = JHtml::_('number.bytes', JUtility::getMaxUploadSize()); ?>
<?php echo JText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize); ?>
<small class="form-text text-muted"><?php echo JText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize); ?></small>
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion plugins/installer/packageinstaller/tmpl/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<div class="controls">
<input class="form-control-file" id="install_package" name="install_package" type="file">
<?php $maxSize = JHtml::_('number.bytes', JUtility::getMaxUploadSize()); ?>
<small id="fileHelp" class="form-text text-muted"><?php echo JText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize); ?></small>
<small class="form-text text-muted"><?php echo JText::sprintf('JGLOBAL_MAXIMUM_UPLOAD_SIZE_LIMIT', $maxSize); ?></small>
</div>
</div>
<hr>
Expand Down

0 comments on commit 89785b4

Please sign in to comment.