Skip to content

Commit

Permalink
Versand Absender wird Sprache wieder angezeigt.
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias authored and tobias committed Sep 6, 2016
1 parent d4a460a commit 4f9b0b6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package: multinewsletter
version: '3.0.2'
version: '3.0.3'
author: Tobias Krais
supportpage: http://www.redaxo.org/de/forum/addons-packages-f43/fragen-zu-multinewsletter-in-redaxo-5-t21075.html

Expand Down
5 changes: 5 additions & 0 deletions pages/help/changelog.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<fieldset>
<legend>MultiNewsletter Changelog</legend>
<p>3.0.3:</p>
<ul>
<li>Bugfix: Einstellungen Fehler wenn Artikel nicht gefunden wird.</li>
<li>Bugfix: Bei Mehrsprachigkeit wird beim Absender auch die Sprachbezeichnung wieder angezeigt.</li>
</ul>
<p>3.0.2:</p>
<ul>
<li>Bugfix: Fehler unter PHP 5.5 und 5.6 beim Anzeigen der Einstellungsseitebehoben.</li>
Expand Down
5 changes: 4 additions & 1 deletion pages/newsletter.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,10 @@
d2u_addon_backend_helper::form_linkfield('multinewsletter_newsletter_article', 1, $_SESSION['multinewsletter']['newsletter']['article_id'], $_SESSION['multinewsletter']['newsletter']['testlanguage']);
d2u_addon_backend_helper::form_input('multinewsletter_newsletter_email', 'sender_email', $_SESSION['multinewsletter']['newsletter']['sender_email'], TRUE, FALSE, 'email');
foreach(rex_clang::getAll() as $rex_clang) {
d2u_addon_backend_helper::form_input('multinewsletter_group_default_sender_name', "sender_name['. $rex_clang->getId() .']", $_SESSION['multinewsletter']['newsletter']['sender_name'][$rex_clang->getId()]);
print '<dl class="rex-form-group form-group">';
print '<dt><label>'. rex_i18n::msg('multinewsletter_group_default_sender_name') .' '. $rex_clang->getName() .'</label></dt>';
print '<dd><input class="form-control" type="text" name="sender_name['. $rex_clang->getId() .']" value="'. $_SESSION['multinewsletter']['newsletter']['sender_name'][$rex_clang->getId()] .'" required /></dd>';
print '</dl>';
}
}
?>
Expand Down

0 comments on commit 4f9b0b6

Please sign in to comment.