1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 11:36:08 +02:00

Added Missing social plugin font. Added {CMENUURL} shortcode. Issue #1507. Added example of getFieldVar() method to plugin builder.

This commit is contained in:
Cameron
2016-07-07 14:28:12 -07:00
parent 7223abe458
commit 345bbc4ff8
6 changed files with 22 additions and 5 deletions

View File

@@ -3765,7 +3765,7 @@ class e_form
$text = "<a class='e-tip e-editable editable-click ".$class."' data-name='".$dbField."' ";
$text .= (is_array($array)) ? "data-source=\"".$source."\" " : "";
$text .= " title=\"".$title."\" data-type='".$type."' data-inputclass='x-editable-".$this->name2id($dbField)."' data-value=\"{$curVal}\" href='#' ";
$text .= " title=\"".$title."\" data-type='".$type."' data-inputclass='x-editable-".$this->name2id($dbField)." ".$class."' data-value=\"{$curVal}\" href='#' ";
if(!empty($options))
{
@@ -4544,7 +4544,7 @@ class e_form
}
else
{
$false = ($value === '') ? "&square;" : "&cross;";
$false = ($value === '') ? "&square;" : "&cross;";
}
$true = varset($parms['true'],'&check;'); // custom representation for 'true'. (supports font-awesome when set by css)
@@ -4555,7 +4555,7 @@ class e_form
$wparms = (vartrue($parms['reverse'])) ? array(0=>$true, 1=>$false) : array(0=>$false, 1=>$true);
$dispValue = $wparms[$value];
return $this->renderInline($field, $id, $attributes['title'], $value, $dispValue, 'select', $wparms);
return $this->renderInline($field, $id, $attributes['title'], $value, $dispValue, 'select', $wparms, array('class'=>'e-editable-boolean'));
}
if(vartrue($parms['reverse']))