summaryrefslogtreecommitdiff
path: root/templates/send_blog_post.tpl
blob: 4fa890e289a54d37f51581965c6450882829eebf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
    rdf:about="{$uri}"
    dc:identifer="{$uri}"
    dc:title="{if $blog_data.use_title eq 'y'}{$post_info.title|escape} {tr}posted by{/tr} {$post_info.user} on {$post_info.publish_date|default:$post_info.created|bit_short_datetime}{else}{$post_info.publish_date|default:$post_info.created|bit_short_datetime}{tr}posted by{/tr} {$post_info.user}{/if}"
    trackback:ping="{$uri2}" />
</rdf:RDF>
-->
<div class="display blogs">
	<div class="header">
		<h1>{tr}Send blog post{/tr}</h1>
	</div>

	<div class="body">
		{if $sent eq 'y'}
			{formfeedback success="{tr}A link to this post was sent to the following addresses{/tr}: $addresses"}</h3>
		{else}
			{form legend="Send post to these addresses"}
				<input type="hidden" name="post_id" value="{$post_info.post_id}" />
				<div class="control-group">
					{formlabel label="Email Addresses" for="addresses"}
					{forminput}
						<textarea cols="50" rows="2" name="addresses" id="addresses">{$addresses|escape}</textarea>
						{formhelp note="List of email addresses separated by commas."}
					{/forminput}
				</div>

				<div class="control-group submit">
					<input type="submit" name="send" value="{tr}Send{/tr}" />
				</div>
			{/form}
		{/if}
	</div><!-- end .body -->
</div><!-- end .blogs -->

{include file="bitpackage:blogs/view_blog_post.tpl"}