Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Jan 27, 2022
2 parents 4956931 + f99fcec commit 69287b2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libraries/fabrik/fabrik/Helpers/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -2397,7 +2397,7 @@ public static function sendMail($from, $fromName, $recipient, $subject, $body, $
}

// if ACY mailing is installed, it returns an exception (!) rather than false
if (get_parent_class($ret) === 'Exception')
if (is_bool($ret) === false && get_parent_class($ret) === 'Exception')
{
self::log('fabrik.helper.sendmail.error', 'Exception in Send: ' . $ret->getMessage(), false);

Expand Down
4 changes: 3 additions & 1 deletion plugins/fabrik_element/field/field.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ public function render($data, $repeatCounter = 0)
else
{
$this->_guessLinkType($value, $data);
$value = $this->format($value, false);
//@@@trob: apply numberFormat also in details view (like in list view), for backward compat only in case of no guess link
$doNumberFormat = $params->get('guess_linktype','0') == '0' ? true :false;
$value = $this->format($value, $doNumberFormat);
$value = $this->getReadOnlyOutput($value, $value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ PLG_ELEMENT_FILEUPLOAD_RELATIVE_PATH="Relativer Pfad"
PLG_ELEMENT_FILEUPLOAD_SELECT_FOLDER_DESC="Show/hide a drop down allowing the user to specify the subfolder into which the image gets uploaded"
PLG_ELEMENT_FILEUPLOAD_SELECT_FOLDER_LABEL="Unterordner Auswahl erlauben"
PLG_ELEMENT_FILEUPLOAD_SHOW="Zeige"
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_EMAIL_DESC="If set to yes then the image will be embedded in any email sent by the form. If no selected then the image path will be shown"
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_EMAIL_DESC="Ja: Der Element-Platzhalter im Message Text bettet das Bild (die Bilder) ein. Nein: der Dateiname wird eingefügt."
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_EMAIL_LABEL="Zeige Bild in E-Mail"
; PLG_ELEMENT_FILEUPLOAD_SHOW_IN_FORM_DESC="Show previously uploaded media when editing the form. The slideshow option is 'work in progress' and only relevant if you are using AJAX uploading, with multiple images, which will display a simple slideshow in detail view."
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_FORM_LABEL="Zeige Medien im Formular"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ PLG_ELEMENT_FILEUPLOAD_RESTRICT_LIGHTBOX_LABEL="Restrict lightbox nav"
PLG_ELEMENT_FILEUPLOAD_SELECT_FOLDER_DESC="Show/hide a drop down allowing the user to specify the subfolder into which the image gets uploaded"
PLG_ELEMENT_FILEUPLOAD_SELECT_FOLDER_LABEL="Allow subfolder selection"
PLG_ELEMENT_FILEUPLOAD_SHOW="Show"
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_EMAIL_DESC="If set to yes then the image will be embedded in any email sent by the form. If no selected then the image path will be shown"
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_EMAIL_DESC="If set to Yes, an element placeholder in the email body will embed the image(s). If No selected then the image path(s) will be shown."
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_EMAIL_LABEL="Show image in email"
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_FORM_DESC="Show previously uploaded media when editing the form. The slideshow option is 'work in progress' and only relevant if you are using AJAX uploading, with multiple images, which will display a simple slideshow in detail view."
PLG_ELEMENT_FILEUPLOAD_SHOW_IN_FORM_LABEL="Show media in form"
Expand Down
1 change: 1 addition & 0 deletions plugins/fabrik_form/article/article.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ protected function saveArticle($id, $catId)

$item = JTable::getInstance('Content');
$item->load($id);
$item->newTags = $data['tags'];
$item->bind($data);

// Trigger the onContentBeforeSave event.
Expand Down

0 comments on commit 69287b2

Please sign in to comment.