[freeside-commits] freeside/httemplate/elements htmlarea.html, NONE, 1.1.2.2
Ivan,,,
ivan at wavetail.420.am
Mon Jun 16 20:36:12 PDT 2008
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail.420.am:/tmp/cvs-serv32538/httemplate/elements
Added Files:
Tag: FREESIDE_1_7_BRANCH
htmlarea.html
Log Message:
finish adding a feature to easily list all email addresses for an agent & send them email
--- NEW FILE: htmlarea.html ---
<%doc>
Example:
include('/elements/htmlarea.html',
'field' => 'fieldname',
'curr_value' => $curr_value,
'height' => 800,
);
</%doc>
% #init
<SCRIPT TYPE="text/javascript" src="<% $p %>elements/fckeditor/fckeditor.js">
</SCRIPT>
% #editor
<SCRIPT TYPE="text/javascript">
var oFCKeditor = new FCKeditor('<% $opt{'field'} %>');
oFCKeditor.Value = <% $opt{'curr_value'} |js_string %>;
oFCKeditor.BasePath = '<% $p %>elements/fckeditor/';
oFCKeditor.Config['SkinPath'] = '<% $p %>elements/fckeditor/editor/skins/silver/';
oFCKeditor.Height = '<% $opt{'height'} || 420 %>';
oFCKeditor.Config['StartupFocus'] = true;
oFCKeditor.Create();
</SCRIPT>
<%init>
my %opt = @_;
</%init>
More information about the freeside-commits
mailing list