paths libary

This commit is contained in:
HB9HIL
2024-02-02 14:57:27 +01:00
parent ae8c2efa4f
commit 39616c6a69
8 changed files with 30 additions and 25 deletions

View File

@@ -2384,7 +2384,7 @@ $(document).ready(function(){
<script>
function viewQsl(picture, callsign) {
var webpath_qsl = "<?php echo wl_getPathQsl(); ?>";
var webpath_qsl = "<?php echo $this->paths->getPathQsl(); ?>";
var baseURL= "<?php echo base_url();?>";
var $textAndPic = $('<div></div>');
$textAndPic.append('<center><img class="img-fluid w-qsl" style="height:auto;width:auto;"src="'+baseURL+'/'+webpath_qsl+'/'+picture+'" /><center>');
@@ -2447,7 +2447,7 @@ function deleteQsl(id) {
</script>
<script>
function viewEqsl(picture, callsign) {
var webpath_eqsl = "<?php echo wl_getPathEqsl(); ?>";
var webpath_eqsl = '<?php echo $this->paths->getPathEqsl(); ?>';
var baseURL= "<?php echo base_url();?>";
var $textAndPic = $('<div></div>');
$textAndPic.append('<img class="img-fluid" style="height:auto;width:auto;"src="'+baseURL+webpath_eqsl+'/'+picture+'" />');
@@ -2598,7 +2598,7 @@ function viewEqsl(picture, callsign) {
});
}
function uploadQsl() {
var webpath_qsl = "<?php echo wl_getPathQsl(); ?>";
var webpath_qsl = "<?php echo $this->paths->getPathQsl(); ?>";
var baseURL= "<?php echo base_url();?>";
var formdata = new FormData(document.getElementById("fileinfo"));