[otrs-cvs] FAQ/Kernel/Output/HTML/Standard AgentFAQ.dtl,1.48,1.49
CVS commits notifications of OTRS.org
cvs-log at otrs.org
Tue Jul 21 22:53:08 GMT 2009
Comments:
Update of /home/cvs/FAQ/Kernel/Output/HTML/Standard
In directory lancelot:/tmp/cvs-serv8740/Kernel/Output/HTML/Standard
Modified Files:
AgentFAQ.dtl
Log Message:
Moved from YUI editorr to FCKEditor.
Author: ub
Index: AgentFAQ.dtl
===================================================================
RCS file: /home/cvs/FAQ/Kernel/Output/HTML/Standard/AgentFAQ.dtl,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** AgentFAQ.dtl 21 Jul 2009 14:57:10 -0000 1.48
--- AgentFAQ.dtl 21 Jul 2009 22:53:02 -0000 1.49
***************
*** 11,176 ****
<!-- dtl:block:WYSIWYGEditor -->
! <!-- Skin CSS file -->
! <link rel="stylesheet" type="text/css" href="$Config{"Frontend::YUIPath"}build/assets/skins/sam/skin.css">
! <link rel="stylesheet" type="text/css" href="$Config{"Frontend::YUIPath"}build/fonts/fonts-min.css">
!
! <!-- Utility Dependencies -->
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/yahoo-dom-event/yahoo-dom-event.js"></script>
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/element/element-min.js"></script>
!
! <!-- Needed for Menus, Buttons and Overlays used in the Toolbar -->
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/container/container_core-min.js"></script>
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/menu/menu-min.js"></script>
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/button/button-min.js"></script>
!
! <!-- Source file for Rich Text Editor-->
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/editor/editor-min.js"></script>
!
! <!-- Source file for Connection Manager (Required for yuiImageUploader) -->
! <script type="text/javascript" src="$Config{"Frontend::YUIPath"}build/connection/connection-min.js"></script>
!
! <!-- Source file for ImageUploader-->
! <script src="$Config{"Frontend::JavaScriptPath"}yui-image-uploader-faq.js" type="text/javascript"></script>
!
! <!-- Show Rich Text Editor-->
! <script type="text/javascript">
!
! (function() {
! var Dom = YAHOO.util.Dom,
! Event = YAHOO.util.Event;
!
! function GetConfig() {
! return {
! autoHeight: true,
! height: '200px',
! width : '850px',
! handleSubmit: true,
! dompath: false,
! animate: false,
! toolbar: {
! // titlebar: '',
! collapse: false,
! grouplabels: false,
! draggable: false,
! buttonType: 'advanced',
! buttons: [
! { group: 'fontstyle', label: 'Font Name and Size',
! buttons: [
! { type: 'select', label: 'Arial', value: 'fontname', disabled: true,
! menu: [
! { text: 'Arial', checked: true },
! { text: 'Arial Black' },
! { text: 'Comic Sans MS' },
! { text: 'Courier New' },
! { text: 'Lucida Console' },
! { text: 'Tahoma' },
! { text: 'Times New Roman' },
! { text: 'Trebuchet MS' },
! { text: 'Verdana' }
! ]
! },
! { type: 'spin', label: '13', value: 'fontsize', range: [ 9, 75 ], disabled: true }
! ]
! },
! { type: 'separator' },
! { group: 'textstyle', label: 'Font Style',
! buttons: [
! { type: 'push', label: 'Bold CTRL + SHIFT + B', value: 'bold' },
! { type: 'push', label: 'Italic CTRL + SHIFT + I', value: 'italic' },
! { type: 'push', label: 'Underline CTRL + SHIFT + U', value: 'underline' },
! { type: 'separator' },
! // { type: 'push', label: 'Subscript', value: 'subscript', disabled: true },
! // { type: 'push', label: 'Superscript', value: 'superscript', disabled: true },
! // { type: 'separator' },
! { type: 'color', label: 'Font Color', value: 'forecolor', disabled: true },
! { type: 'color', label: 'Background Color', value: 'backcolor', disabled: true },
! { type: 'separator' }
! // { type: 'push', label: 'Remove Formatting', value: 'removeformat', disabled: true },
! // { type: 'push', label: 'Show/Hide Hidden Elements', value: 'hiddenelements' }
! ]
! },
! { type: 'separator' },
! { group: 'alignment', label: 'Alignment',
! buttons: [
! { type: 'push', label: 'Align Left CTRL + SHIFT + [', value: 'justifyleft' },
! { type: 'push', label: 'Align Center CTRL + SHIFT + |', value: 'justifycenter' },
! { type: 'push', label: 'Align Right CTRL + SHIFT + ]', value: 'justifyright' },
! { type: 'push', label: 'Justify', value: 'justifyfull' }
! ]
! },
! { type: 'separator' },
! { group: 'parastyle', label: 'Paragraph Style',
! buttons: [
! { type: 'select', label: 'Normal', value: 'heading', disabled: true,
! menu: [
! { text: 'Normal', value: 'none', checked: true },
! { text: 'Header 1', value: 'h1' },
! { text: 'Header 2', value: 'h2' },
! { text: 'Header 3', value: 'h3' },
! { text: 'Header 4', value: 'h4' },
! { text: 'Header 5', value: 'h5' },
! { text: 'Header 6', value: 'h6' }
! ]
! }
! ]
! },
! { type: 'separator' },
! { group: 'indentlist', label: 'Indenting and Lists',
! buttons: [
! { type: 'push', label: 'Indent', value: 'indent', disabled: true },
! { type: 'push', label: 'Outdent', value: 'outdent', disabled: true },
! { type: 'push', label: 'Create an Unordered List', value: 'insertunorderedlist' },
! { type: 'push', label: 'Create an Ordered List', value: 'insertorderedlist' }
! ]
! },
! { type: 'separator' },
! { group: 'insertitem', label: 'Insert Item',
! buttons: [
! { type: 'push', label: 'HTML Link CTRL + SHIFT + L', value: 'createlink', disabled: true },
! { type: 'push', label: 'Insert Image', value: 'insertimage' }
! ]
! }
! ]
! }
! };
! };
!
! Event.onDOMReady(function() {
!
! // add yui css to body tag
! document.body.className = "yui-skin-sam";
!
! var myEditor1 = new YAHOO.widget.Editor( 'Field1', GetConfig() );
! yuiImgUploader(myEditor1, 'Field1', '$Env{"Baselink"}', 'file_name', '$QData{"FormID"}', '$Data{"SessionName"}', '$Data{"SessionID"}');
! myEditor1.render();
!
! var myEditor2 = new YAHOO.widget.Editor( 'Field2', GetConfig() );
! yuiImgUploader(myEditor2, 'Field2', '$Env{"Baselink"}', 'file_name', '$QData{"FormID"}', '$Data{"SessionName"}', '$Data{"SessionID"}');
! myEditor2.render();
!
! var myEditor3 = new YAHOO.widget.Editor( 'Field3', GetConfig() );
! yuiImgUploader(myEditor3, 'Field3', '$Env{"Baselink"}', 'file_name', '$QData{"FormID"}', '$Data{"SessionName"}', '$Data{"SessionID"}');
! myEditor3.render();
!
! var myEditor4 = new YAHOO.widget.Editor( 'Field4', GetConfig() );
! yuiImgUploader(myEditor4, 'Field4', '$Env{"Baselink"}', 'file_name', '$QData{"FormID"}', '$Data{"SessionName"}', '$Data{"SessionID"}');
! myEditor4.render();
!
! var myEditor5 = new YAHOO.widget.Editor( 'Field5', GetConfig() );
! yuiImgUploader(myEditor5, 'Field5', '$Env{"Baselink"}', 'file_name', '$QData{"FormID"}', '$Data{"SessionName"}', '$Data{"SessionID"}');
! myEditor5.render();
!
! var myEditor6 = new YAHOO.widget.Editor( 'Field6', GetConfig() );
! yuiImgUploader(myEditor6, 'Field6', '$Env{"Baselink"}', 'file_name', '$QData{"FormID"}', '$Data{"SessionName"}', '$Data{"SessionID"}');
! myEditor6.render();
! });
! })();
!
! </script>
!
<!-- dtl:block:WYSIWYGEditor -->
-
-
<!-- dtl:block:View -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
--- 11,17 ----
<!-- dtl:block:WYSIWYGEditor -->
! $Include{"RichTextEditorFAQ"}
<!-- dtl:block:WYSIWYGEditor -->
<!-- dtl:block:View -->
<table border="0" width="100%" cellspacing="0" cellpadding="3">
More information about the cvs-log
mailing list