Skip to content

Commit

Permalink
2.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
benkeen committed Mar 17, 2019
1 parent 49a7798 commit 3477a7e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
4 changes: 2 additions & 2 deletions code/Module.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ class Module extends FormToolsModule
protected $author = "Ben Keen";
protected $authorEmail = "[email protected]";
protected $authorLink = "https://formtools.org";
protected $version = "2.0.7";
protected $date = "2018-07-24";
protected $version = "2.0.8";
protected $date = "2019-03-17";
protected $originLanguage = "en_us";

protected $jsFiles = array(
Expand Down
7 changes: 5 additions & 2 deletions lang/en_us.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@
$L["word_basic"] = "Basic";
$L["word_expert"] = "Expert";
$L["word_help"] = "Help";
$L["text_help"] = "For more information on this module, please see the <a href=\"https://docs.formtools.org/modules/field_type_tinymce/\" target=\"_blank\">help documentation</a> on the Form Tools site.";
$L["word_simple"] = "Simple";
$L["word_toolbar"] = "Toolbar";

$L["phrase_example_editor"] = "Example Editor";
$L["phrase_show_status_bar"] = "Show Status Bar";
$L["phrase_allow_toolbar_resizing"] = "Allow Toolbar Resizing";

$L["text_help"] = "For more information on this module, please see the <a href=\"https://docs.formtools.org/modules/field_type_tinymce/\" target=\"_blank\">help documentation</a> on the Form Tools site.";
$L["text_example_wysiwyg"] = "This page controls how your rich text fields will look, based on the settings defined above. You can assign any form field to show these editors on the Edit Form -> Fields page/tab.";

$L["notify_update_settings_no_field_found"] = "Uh-oh. We couldn't update your default settings because the field type wasn't found in the database. This usually means the database has gotten corrupted. Try doing a fresh installation of the module.";
$L["notify_default_settings_updated"] = "The default tinyMCE field settings have been updated.";
$L["notify_error_installing"] = "There was a problem installing this module: ";

14 changes: 7 additions & 7 deletions templates/help.tpl
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{ft_include file='modules_header.tpl'}

<table cellpadding="0" cellspacing="0">
<table cellpadding="0" cellspacing="0">
<tr>
<td width="45"><img src="images/tinymce.png" width="34" height="34" /></td>
<td width="45"><img src="images/tinymce.png" width="34" height="34"/></td>
<td class="title">
<a href="../../admin/modules">{$LANG.word_modules}</a>
<span class="joiner">&raquo;</span>
Expand All @@ -11,12 +11,12 @@
{$L.word_help}
</td>
</tr>
</table>
</table>

{ft_include file="messages.tpl"}
{ft_include file="messages.tpl"}

<div class="margin_bottom_large">
{$L.text_help}
</div>
<div class="margin_bottom_large">
{$L.text_help}
</div>

{ft_include file='modules_footer.tpl'}
8 changes: 4 additions & 4 deletions templates/index.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@

<table cellspacing="0" cellpadding="1">
<tr>
<td width="170" class="medium_grey">{$LANG.word_toolbar}</td>
<td width="170" class="medium_grey">{$L.word_toolbar}</td>
<td>
<select name="toolbar" id="toolbar">
<option value="basic"
{if $module_settings.toolbar == "basic"}selected{/if}>{$L.word_basic}</option>
<option value="simple"
{if $module_settings.toolbar == "simple"}selected{/if}>{$LANG.word_simple}</option>
{if $module_settings.toolbar == "simple"}selected{/if}>{$L.word_simple}</option>
<option value="advanced"
{if $module_settings.toolbar == "advanced"}selected{/if}>{$L.word_advanced}</option>
<option value="expert"
Expand All @@ -36,7 +36,7 @@
</td>
</tr>
<tr>
<td class="medium_grey">{$LANG.phrase_allow_toolbar_resizing}</td>
<td class="medium_grey">{$L.phrase_allow_toolbar_resizing}</td>
<td class="subelements">
<input type="radio" name="resizing" id="tinymce_resize1" value="yes"
{if $module_settings.resizing == "true"}checked{/if} /> <label
Expand All @@ -48,7 +48,7 @@
</tr>
</table>

<p class="bold">{$LANG.phrase_example_editor}</p>
<p class="bold">{$L.phrase_example_editor}</p>

<div>
<textarea id="example" name="example" rows="8" cols="90"
Expand Down

0 comments on commit 3477a7e

Please sign in to comment.