Ejemplo n.º 1
0
        <input type="submit" value="<?php 
    echo __('Post Reply');
    ?>
">
        <input type="reset" value="<?php 
    echo __('Reset');
    ?>
">
        <input type="button" value="<?php 
    echo __('Cancel');
    ?>
" onClick="history.go(-1)">
    </p>
</form>
<?php 
}
?>
<script type="text/javascript">
<?php 
// Hover support for all inline images
$urls = array();
foreach (AttachmentFile::objects()->filter(array('attachments__thread_entry__thread__id' => $ticket->getThreadId(), 'attachments__inline' => true)) as $file) {
    $urls[strtolower($file->getKey())] = array('download_url' => $file->getDownloadUrl(), 'filename' => $file->name);
}
?>
showImagesInline(<?php 
echo JsonDataEncoder::encode($urls);
?>
);
</script>
</div></div>