mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
paths libary
This commit is contained in:
@@ -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"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user