Use relative URLs for attachment handling
This commit is contained in:
parent
4a49c8c510
commit
9a5738eb1c
@ -1167,7 +1167,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
<?php build_dropzone_markup(true, 'notesFiledrop'); ?>
|
<?php build_dropzone_markup(true, 'notesFiledrop'); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php', 'notesFiledrop'); ?>
|
<?php display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php', 'notesFiledrop'); ?>
|
||||||
<div class="text-right">
|
<div class="text-right">
|
||||||
<i><?php echo $hesklang['nhid']; ?></i>
|
<i><?php echo $hesklang['nhid']; ?></i>
|
||||||
<div class="btn-group">
|
<div class="btn-group">
|
||||||
@ -1965,7 +1965,6 @@ function hesk_printReplyForm()
|
|||||||
|
|
||||||
?></textarea>
|
?></textarea>
|
||||||
<div class="help-block with-errors" id="message-help-block"></div></span>
|
<div class="help-block with-errors" id="message-help-block"></div></span>
|
||||||
<p id="lang_ticket_message_contents_exist" style="display: none"><?php echo $hesklang['ticket_message_contents_exist']; ?></p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
@ -1980,7 +1979,7 @@ function hesk_printReplyForm()
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
|
@ -608,7 +608,7 @@ require_once(HESK_PATH . 'inc/show_admin_nav.inc.php');
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php',
|
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php',
|
||||||
'filedrop',
|
'filedrop',
|
||||||
$hesk_settings['attachments']['max_number'] - $number_of_attachments);
|
$hesk_settings['attachments']['max_number'] - $number_of_attachments);
|
||||||
endif; ?>
|
endif; ?>
|
||||||
|
@ -459,7 +459,7 @@ if (!isset($_SESSION['hide']['new_article']))
|
|||||||
<?php build_dropzone_markup(true); ?>
|
<?php build_dropzone_markup(true); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/admin/knowledgebase/upload-attachment.php');
|
display_dropzone_field(HESK_PATH . 'internal-api/admin/knowledgebase/upload-attachment.php');
|
||||||
endif; // End attachments
|
endif; // End attachments
|
||||||
|
|
||||||
?>
|
?>
|
||||||
@ -1517,7 +1517,7 @@ function edit_article()
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
build_dropzone_markup(true);
|
build_dropzone_markup(true);
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/admin/knowledgebase/upload-attachment.php');
|
display_dropzone_field(HESK_PATH . 'internal-api/admin/knowledgebase/upload-attachment.php');
|
||||||
?>
|
?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; //End attachments ?>
|
<?php endif; //End attachments ?>
|
||||||
|
@ -879,7 +879,7 @@ $show_quick_help = $show['show'];
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($_SESSION['as_notify'])) {
|
if (!isset($_SESSION['as_notify'])) {
|
||||||
|
@ -983,7 +983,7 @@ function print_add_ticket()
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($hesk_settings['question_use'] || $hesk_settings['secimg_use'])
|
if ($hesk_settings['question_use'] || $hesk_settings['secimg_use'])
|
||||||
|
@ -656,7 +656,7 @@ function hesk_printCustomerReplyForm($reopen = 0)
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
display_dropzone_field($hesk_settings['hesk_url'] . '/internal-api/ticket/upload-attachment.php');
|
display_dropzone_field(HESK_PATH . 'internal-api/ticket/upload-attachment.php');
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<input type="hidden" name="token" value="<?php hesk_token_echo(); ?>"/>
|
<input type="hidden" name="token" value="<?php hesk_token_echo(); ?>"/>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user