aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/prv_message.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-06 18:28:36 -0800
committerfriendica <info@friendica.com>2013-11-06 18:28:36 -0800
commit6162de142c2765c770f43bf269f0444310551705 (patch)
tree6a3052455f58f8d3c9afe38ef993ca126757fe25 /view/tpl/prv_message.tpl
parent8b9633e46b7cdd4241e369d8f9cf10cec14956d2 (diff)
downloadvolse-hubzilla-6162de142c2765c770f43bf269f0444310551705.tar.gz
volse-hubzilla-6162de142c2765c770f43bf269f0444310551705.tar.bz2
volse-hubzilla-6162de142c2765c770f43bf269f0444310551705.zip
allow private mail sender to set an expiration on their messages. Once expired the message is destroyed at both ends (subject to the granularity of the polling interval) and is gone. Officially it takes some form of language independent string like 2013/11/22, but English speakers can use anything that strtotime() understands, like "+30 minutes" or "next Tuesday".
Diffstat (limited to 'view/tpl/prv_message.tpl')
-rwxr-xr-xview/tpl/prv_message.tpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/view/tpl/prv_message.tpl b/view/tpl/prv_message.tpl
index d65bc3570..494eec48c 100755
--- a/view/tpl/prv_message.tpl
+++ b/view/tpl/prv_message.tpl
@@ -17,12 +17,15 @@
<div id="prvmail-subject-label">{{$subject}}</div>
<input type="text" size="64" maxlength="255" id="prvmail-subject" name="subject" value="{{$subjtxt}}" {{$readonly}} tabindex="11" />
+<div id="prvmail-expires-label">{{$expires}}</div>
+<input type="text" size="64" maxlength="255" id="prvmail-expires" name="expires" value="" tabindex="12" />
+
<div id="prvmail-message-label">{{$yourmessage}}</div>
-<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="12">{{$text}}</textarea>
+<textarea rows="8" cols="72" class="prvmail-text" id="prvmail-text" name="body" tabindex="13">{{$text}}</textarea>
<div id="prvmail-submit-wrapper" >
- <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="13" />
+ <input type="submit" id="prvmail-submit" name="submit" value="{{$submit}}" tabindex="14" />
<div id="prvmail-upload-wrapper" >
<i id="prvmail-upload" class="icon-camera jot-icons" title="{{$upload}}"></i>
</div>