Resolved some todos
authorMarcel Werk <burntime@woltlab.com>
Mon, 20 May 2013 17:11:53 +0000 (19:11 +0200)
committerMarcel Werk <burntime@woltlab.com>
Mon, 20 May 2013 17:11:53 +0000 (19:11 +0200)
wcfsetup/install/files/acp/templates/userBulkProcessing.tpl
wcfsetup/install/files/acp/templates/userMail.tpl
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index d961da3a1370e764191afeba4696ff949ca82dd5..c7d6d615f0c68f391aefaaca1fd72bc489bb6181 100644 (file)
                                <fieldset>
                                        <legend>{lang}wcf.acp.user.sendMail.mail{/lang}</legend>
                                        
-                                       <dl{if $errorField == 'from'} class="formError"{/if}>
-                                               <dt><label for="from">{lang}wcf.acp.user.sendMail.from{/lang}</label></dt>
+                                       <dl{if $errorField == 'subject'} class="formError"{/if}>
+                                               <dt><label for="subject">{lang}wcf.acp.user.sendMail.subject{/lang}</label></dt>
                                                <dd>
-                                                       <input type="email" id="from" name="from" value="{$from}" class="medium" />
-                                                       {if $errorField == 'from'}
+                                                       <input type="text" id="subject" name="subject" value="{$subject}" class="long" />
+                                                       {if $errorField == 'subject'}
                                                                <small class="innerError">
                                                                        {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
                                                                </small>
                                                        {/if}
-                                                       <small>{lang}wcf.acp.user.sendMail.from.description{/lang}</small>
                                                </dd>
                                        </dl>
                                        
-                                       <dl{if $errorField == 'subject'} class="formError"{/if}>
-                                               <dt><label for="subject">{lang}wcf.acp.user.sendMail.subject{/lang}</label></dt>
+                                       <dl{if $errorField == 'from'} class="formError"{/if}>
+                                               <dt><label for="from">{lang}wcf.acp.user.sendMail.from{/lang}</label></dt>
                                                <dd>
-                                                       <input type="text" id="subject" name="subject" value="{$subject}" class="long" />
-                                                       {if $errorField == 'subject'}
+                                                       <input type="email" id="from" name="from" value="{$from}" class="medium" />
+                                                       {if $errorField == 'from'}
                                                                <small class="innerError">
                                                                        {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
                                                                </small>
                                                        {/if}
-                                                       <small>{lang}wcf.acp.user.sendMail.subject.description{/lang}</small>
+                                                       <small>{lang}wcf.acp.user.sendMail.from.description{/lang}</small>
                                                </dd>
                                        </dl>
                                        
                                                                        {if $errorType == 'empty'}{lang}wcf.global.form.error.empty{/lang}{/if}
                                                                </small>
                                                        {/if}
-                                                       <small>{lang}wcf.acp.user.sendMail.text.description{/lang}</small>
                                                </dd>
                                        </dl>
                                        
index aaa63f739a0b81f9ea72d8c6d56f302ce3bfe7fb..35585de7090b323959f7455f248ab1901b989296 100644 (file)
                                                        {/if}
                                                </small>
                                        {/if}
-                                       <small>{lang}wcf.acp.user.sendMail.from.description{/lang}</small><!-- ToDo: Language variable contains paragraphs! -->
+                                       <small>{lang}wcf.acp.user.sendMail.from.description{/lang}</small>
                                </dd>
                        </dl>
                        
index 44da9dcb64a9fc5d00849f3eb1752353ac95ac79..ca310330889841842eb81315aa475f08137b3831 100644 (file)
                <item name="wcf.acp.user.sendMail.all"><![CDATA[E-Mail an alle Benutzer senden]]></item>
                <item name="wcf.acp.user.sendMail.enableHTML"><![CDATA[E-Mail als HTML versenden]]></item>
                <item name="wcf.acp.user.sendMail.from"><![CDATA[Absender]]></item>
-               <item name="wcf.acp.user.sendMail.from.description"><![CDATA[<p>Hier können Sie die E-Mail-Adresse des Absenders definieren.{if MAIL_USE_FORMATTED_ADDRESS} Es ist auch folgendes Format möglich:{/if}</p>
-{if MAIL_USE_FORMATTED_ADDRESS}<p style="line-height: 2em;"><code>Absender Name &lt;email@absender.tld&gt;</code></p>{/if}
-<p>Wenn Sie unter <em>System -&gt; Optionen -&gt; Allgemein -&gt; E-Mails</em> alles ausgefüllt haben, wird dieses Feld automatisch ausgefüllt. Sollten Sie E-Mails per SMTP senden, so achten Sie darauf, dass die E-Mail-Adresse des Absenders auch vom Server akzeptiert werden muss.</p>]]></item>
+               <item name="wcf.acp.user.sendMail.from.description"><![CDATA[Hier können Sie die E-Mail-Adresse des Absenders definieren.{if MAIL_USE_FORMATTED_ADDRESS} Es ist auch folgendes Format möglich:{/if}<br />
+{if MAIL_USE_FORMATTED_ADDRESS}<em>Absender Name &lt;email@absender.tld&gt;</em><br />{/if}
+Wenn Sie unter <em>System -&gt; Optionen -&gt; Allgemein -&gt; E-Mails</em> alles ausgefüllt haben, wird dieses Feld automatisch ausgefüllt. Sollten Sie E-Mails per SMTP senden, so achten Sie darauf, dass die E-Mail-Adresse des Absenders auch vom Server akzeptiert werden muss.]]></item>
                <item name="wcf.acp.user.sendMail.group"><![CDATA[E-Mail an Gruppenmitglieder senden]]></item>
                <item name="wcf.acp.user.sendMail.groups"><![CDATA[E-Mail an die Mitglieder folgender Benutzergruppen senden]]></item>
                <item name="wcf.acp.user.sendMail.mail"><![CDATA[E-Mail]]></item>
index ca722b0640980cea1dac9109d19f94cf2d1927e6..7cb5034198629149276f8a95b448ef170718c0b9 100644 (file)
                <item name="wcf.acp.user.sendMail.all"><![CDATA[Send email to all users]]></item>
                <item name="wcf.acp.user.sendMail.enableHTML"><![CDATA[Enable HTML for email]]></item>
                <item name="wcf.acp.user.sendMail.from"><![CDATA[Sender]]></item>
-               <item name="wcf.acp.user.sendMail.from.description"><![CDATA[<p>Specify the sender’s email address.{if MAIL_USE_FORMATTED_ADDRESS} It is possible to use the following format:{/if}</p>
-{if MAIL_USE_FORMATTED_ADDRESS}<p style="line-height: 2em;"><code>Sender Name &lt;email@example.com&gt;</code></p>{/if}
-<p>You can define the default sender in <em>System -&gt; Options -&gt; General -&gt; Emails</em>. The sender’s email must be known to the server if using SMTP, otherwise it would be rejected.</p>]]></item>
+               <item name="wcf.acp.user.sendMail.from.description"><![CDATA[Specify the sender’s email address.{if MAIL_USE_FORMATTED_ADDRESS} It is possible to use the following format:{/if}<br />
+{if MAIL_USE_FORMATTED_ADDRESS}<em>Sender Name &lt;email@example.com&gt;</em><br />{/if}
+You can define the default sender in <em>System -&gt; Options -&gt; General -&gt; Emails</em>. The sender’s email must be known to the server if using SMTP, otherwise it would be rejected.]]></item>
                <item name="wcf.acp.user.sendMail.group"><![CDATA[Email to user group]]></item>
                <item name="wcf.acp.user.sendMail.groups"><![CDATA[Send email to members of the following user groups]]></item>
                <item name="wcf.acp.user.sendMail.mail"><![CDATA[Email]]></item>