Files
modoboa/templates/userprefs/confirm.html
T
tonio 01fda22180 fix: using MEDIA_URL inside templates.
wip: #36, using tinyMCE (django-tinymce) to write messages in HTML. Currently, compose a new message is working pretty well. Answering or forwarding a message is still a mess...
2010-08-05 17:17:50 +02:00

36 lines
879 B
HTML

{% extends "layout_simple.html" %}
{% block html_head %}
<script type="text/javascript">
window.addEvent('domready', function(){
$("ok").addEvent("click", function(event) {
$("result").value = "ok";
parent.SqueezeBox.close();
});
$("cancel").addEvent("click", function(event) {
parent.SqueezeBox.close();
});
});
</script>
{% endblock %}
{% block content %}
{% load i18n %}
<div id="dlg-iconbox">
<img src="{{ MEDIA_URL }}pics/dialog-warning.png" alt="Warning" />
</div>
<div id="dlg-textbox">
<b>{{ msg }}</b><br/>
<p>
<input type="checkbox" name="keepdir" value="" />{% trans "Do not delete mailbox directory" %}
</p>
</div>
<div id="dlg-buttons">
<input type="button" name="ok" id="ok" value="Ok" />
<input type="button" id="cancel" value="Cancel" />
</div>
<input type="hidden" name="result" id="result" value="cancel" />
{% endblock %}