├── version ├── footer.php ├── PFBC ├── Resources │ ├── ckeditor │ │ ├── samples │ │ │ ├── assets │ │ │ │ ├── sample.css │ │ │ │ ├── sample.jpg │ │ │ │ ├── inlineall │ │ │ │ │ └── logo.png │ │ │ │ ├── uilanguages │ │ │ │ │ └── languages.js │ │ │ │ └── posteddata.php │ │ │ ├── plugins │ │ │ │ ├── htmlwriter │ │ │ │ │ └── assets │ │ │ │ │ │ └── outputforflash │ │ │ │ │ │ ├── outputforflash.fla │ │ │ │ │ │ └── outputforflash.swf │ │ │ │ └── dialog │ │ │ │ │ └── assets │ │ │ │ │ └── my_dialog.js │ │ │ ├── sample.js │ │ │ ├── sample_posteddata.php │ │ │ └── appendto.html │ │ ├── plugins │ │ │ ├── icons.png │ │ │ ├── link │ │ │ │ ├── images │ │ │ │ │ └── anchor.png │ │ │ │ └── dialogs │ │ │ │ │ └── anchor.js │ │ │ ├── image │ │ │ │ └── images │ │ │ │ │ └── noimage.png │ │ │ ├── magicline │ │ │ │ └── images │ │ │ │ │ └── icon.png │ │ │ ├── fakeobjects │ │ │ │ └── images │ │ │ │ │ └── spacer.gif │ │ │ ├── about │ │ │ │ └── dialogs │ │ │ │ │ ├── logo_ckeditor.png │ │ │ │ │ └── about.js │ │ │ ├── dialog │ │ │ │ └── dialogDefinition.js │ │ │ ├── specialchar │ │ │ │ └── dialogs │ │ │ │ │ └── lang │ │ │ │ │ └── _translationstatus.txt │ │ │ └── a11yhelp │ │ │ │ └── dialogs │ │ │ │ └── lang │ │ │ │ ├── _translationstatus.txt │ │ │ │ ├── zh-cn.js │ │ │ │ ├── he.js │ │ │ │ └── gu.js │ │ ├── skins │ │ │ └── moono │ │ │ │ ├── icons.png │ │ │ │ └── images │ │ │ │ ├── mini.png │ │ │ │ ├── arrow.png │ │ │ │ └── close.png │ │ ├── CHANGES.md │ │ ├── config.js │ │ ├── README.md │ │ └── contents.css │ ├── tiny_mce │ │ ├── plugins │ │ │ ├── example │ │ │ │ ├── langs │ │ │ │ │ ├── en.js │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── img │ │ │ │ │ └── example.gif │ │ │ │ ├── js │ │ │ │ │ └── dialog.js │ │ │ │ ├── editor_plugin.js │ │ │ │ └── dialog.htm │ │ │ ├── spellchecker │ │ │ │ ├── css │ │ │ │ │ └── content.css │ │ │ │ ├── img │ │ │ │ │ └── wline.gif │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── advhr │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── css │ │ │ │ │ └── advhr.css │ │ │ │ ├── editor_plugin.js │ │ │ │ ├── js │ │ │ │ │ └── rule.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── media │ │ │ │ ├── moxieplayer.swf │ │ │ │ ├── css │ │ │ │ │ └── media.css │ │ │ │ └── js │ │ │ │ │ └── embed.js │ │ │ ├── advimage │ │ │ │ ├── img │ │ │ │ │ └── sample.gif │ │ │ │ ├── css │ │ │ │ │ └── advimage.css │ │ │ │ ├── editor_plugin.js │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── emotions │ │ │ │ ├── img │ │ │ │ │ ├── smiley-cry.gif │ │ │ │ │ ├── smiley-cool.gif │ │ │ │ │ ├── smiley-frown.gif │ │ │ │ │ ├── smiley-kiss.gif │ │ │ │ │ ├── smiley-smile.gif │ │ │ │ │ ├── smiley-wink.gif │ │ │ │ │ ├── smiley-yell.gif │ │ │ │ │ ├── smiley-innocent.gif │ │ │ │ │ ├── smiley-laughing.gif │ │ │ │ │ ├── smiley-sealed.gif │ │ │ │ │ ├── smiley-embarassed.gif │ │ │ │ │ ├── smiley-surprised.gif │ │ │ │ │ ├── smiley-tongue-out.gif │ │ │ │ │ ├── smiley-undecided.gif │ │ │ │ │ ├── smiley-foot-in-mouth.gif │ │ │ │ │ └── smiley-money-mouth.gif │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── editor_plugin.js │ │ │ │ ├── js │ │ │ │ │ └── emotions.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── inlinepopups │ │ │ │ └── skins │ │ │ │ │ └── clearlooks2 │ │ │ │ │ └── img │ │ │ │ │ ├── alert.gif │ │ │ │ │ ├── button.gif │ │ │ │ │ ├── buttons.gif │ │ │ │ │ ├── confirm.gif │ │ │ │ │ ├── corners.gif │ │ │ │ │ ├── vertical.gif │ │ │ │ │ └── horizontal.gif │ │ │ ├── searchreplace │ │ │ │ ├── css │ │ │ │ │ └── searchreplace.css │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── paste │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ ├── pasteword.htm │ │ │ │ ├── js │ │ │ │ │ ├── pastetext.js │ │ │ │ │ └── pasteword.js │ │ │ │ └── pastetext.htm │ │ │ ├── table │ │ │ │ ├── css │ │ │ │ │ ├── table.css │ │ │ │ │ ├── cell.css │ │ │ │ │ └── row.css │ │ │ │ ├── js │ │ │ │ │ └── merge_cells.js │ │ │ │ ├── merge_cells.htm │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── xhtmlxtras │ │ │ │ ├── css │ │ │ │ │ ├── attributes.css │ │ │ │ │ └── popup.css │ │ │ │ ├── js │ │ │ │ │ ├── abbr.js │ │ │ │ │ ├── cite.js │ │ │ │ │ ├── acronym.js │ │ │ │ │ ├── del.js │ │ │ │ │ └── ins.js │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── template │ │ │ │ ├── blank.htm │ │ │ │ ├── css │ │ │ │ │ └── template.css │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── template.htm │ │ │ ├── example_dependency │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── print │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── advlink │ │ │ │ ├── css │ │ │ │ │ └── advlink.css │ │ │ │ ├── editor_plugin.js │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── preview │ │ │ │ ├── preview.html │ │ │ │ ├── example.html │ │ │ │ ├── editor_plugin.js │ │ │ │ ├── editor_plugin_src.js │ │ │ │ └── jscripts │ │ │ │ │ └── embed.js │ │ │ ├── iespell │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── nonbreaking │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── visualblocks │ │ │ │ ├── editor_plugin.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── style │ │ │ │ ├── css │ │ │ │ │ └── props.css │ │ │ │ ├── readme.txt │ │ │ │ ├── editor_plugin.js │ │ │ │ ├── langs │ │ │ │ │ └── en_dlg.js │ │ │ │ └── editor_plugin_src.js │ │ │ ├── directionality │ │ │ │ └── editor_plugin.js │ │ │ ├── visualchars │ │ │ │ └── editor_plugin.js │ │ │ ├── pagebreak │ │ │ │ └── editor_plugin.js │ │ │ ├── autoresize │ │ │ │ └── editor_plugin.js │ │ │ ├── save │ │ │ │ └── editor_plugin.js │ │ │ ├── tabfocus │ │ │ │ └── editor_plugin.js │ │ │ ├── insertdatetime │ │ │ │ └── editor_plugin.js │ │ │ ├── wordcount │ │ │ │ └── editor_plugin.js │ │ │ ├── legacyoutput │ │ │ │ └── editor_plugin.js │ │ │ ├── fullpage │ │ │ │ └── langs │ │ │ │ │ └── en_dlg.js │ │ │ ├── advlist │ │ │ │ └── editor_plugin.js │ │ │ └── autolink │ │ │ │ └── editor_plugin.js │ │ └── themes │ │ │ ├── simple │ │ │ ├── img │ │ │ │ └── icons.gif │ │ │ ├── skins │ │ │ │ ├── o2k7 │ │ │ │ │ ├── img │ │ │ │ │ │ └── button_bg.png │ │ │ │ │ └── content.css │ │ │ │ └── default │ │ │ │ │ ├── content.css │ │ │ │ │ └── ui.css │ │ │ ├── langs │ │ │ │ └── en.js │ │ │ └── editor_template.js │ │ │ └── advanced │ │ │ ├── img │ │ │ ├── flash.gif │ │ │ ├── icons.gif │ │ │ ├── iframe.gif │ │ │ ├── trans.gif │ │ │ ├── video.gif │ │ │ ├── colorpicker.jpg │ │ │ ├── pagebreak.gif │ │ │ ├── quicktime.gif │ │ │ ├── realmedia.gif │ │ │ ├── shockwave.gif │ │ │ └── windowsmedia.gif │ │ │ ├── skins │ │ │ ├── default │ │ │ │ └── img │ │ │ │ │ ├── tabs.gif │ │ │ │ │ ├── buttons.png │ │ │ │ │ ├── items.gif │ │ │ │ │ ├── progress.gif │ │ │ │ │ ├── menu_arrow.gif │ │ │ │ │ └── menu_check.gif │ │ │ ├── o2k7 │ │ │ │ ├── img │ │ │ │ │ ├── button_bg.png │ │ │ │ │ ├── button_bg_black.png │ │ │ │ │ └── button_bg_silver.png │ │ │ │ ├── ui_silver.css │ │ │ │ └── ui_black.css │ │ │ └── highcontrast │ │ │ │ └── content.css │ │ │ ├── anchor.htm │ │ │ ├── source_editor.htm │ │ │ ├── js │ │ │ ├── anchor.js │ │ │ └── source_editor.js │ │ │ ├── shortcuts.htm │ │ │ └── langs │ │ │ ├── en_dlg.js │ │ │ └── en.js │ ├── bootstrap │ │ └── img │ │ │ ├── glyphicons-halflings.png │ │ │ └── glyphicons-halflings-white.png │ └── jquery-ui │ │ └── css │ │ └── smoothness │ │ └── images │ │ ├── ui-icons_222222_256x240.png │ │ ├── ui-icons_2e83ff_256x240.png │ │ ├── ui-icons_454545_256x240.png │ │ ├── ui-icons_888888_256x240.png │ │ ├── ui-icons_cd0a0a_256x240.png │ │ ├── ui-bg_flat_0_aaaaaa_40x100.png │ │ ├── ui-bg_flat_75_ffffff_40x100.png │ │ ├── ui-bg_glass_55_fbf9ee_1x400.png │ │ ├── ui-bg_glass_65_ffffff_1x400.png │ │ ├── ui-bg_glass_75_dadada_1x400.png │ │ ├── ui-bg_glass_75_e6e6e6_1x400.png │ │ ├── ui-bg_glass_95_fef1ec_1x400.png │ │ └── ui-bg_highlight-soft_75_cccccc_1x100.png ├── View │ ├── Search.php │ ├── Inline.php │ ├── Vertical.php │ ├── RightLabel.php │ └── SideBySide.php ├── Element │ ├── Time.php │ ├── Phone.php │ ├── Range.php │ ├── File.php │ ├── DateTime.php │ ├── DateTimeLocal.php │ ├── Password.php │ ├── Search.php │ ├── Url.php │ ├── Email.php │ ├── Number.php │ ├── HTML.php │ ├── Textarea.php │ ├── Hidden.php │ ├── YesNo.php │ ├── Color.php │ ├── Captcha.php │ ├── Date.php │ ├── Button.php │ ├── Month.php │ ├── Week.php │ ├── Radio.php │ ├── jQueryUIDate.php │ ├── Textbox.php │ ├── TinyMCE.php │ ├── Select.php │ ├── Checkbox.php │ ├── Sort.php │ ├── State.php │ └── CKEditor.php ├── Validation │ ├── Numeric.php │ ├── AlphaNumeric.php │ ├── Email.php │ ├── Url.php │ ├── Date.php │ ├── RegExp.php │ ├── MaxLength.php │ ├── Required.php │ └── Captcha.php ├── Validation.php ├── ErrorView.php ├── OptionElement.php ├── View.php └── ErrorView │ └── Standard.php ├── composer.json └── prettify └── prettify.css /version: -------------------------------------------------------------------------------- 1 | 3.1 2 | -------------------------------------------------------------------------------- /footer.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/assets/sample.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Required by tests (dom/document.html). 3 | */ 4 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example/langs/en.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.example',{ 2 | desc : 'This is just a template button' 3 | }); 4 | -------------------------------------------------------------------------------- /PFBC/View/Search.php: -------------------------------------------------------------------------------- 1 | "time"); 6 | } 7 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/skins/moono/icons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/skins/moono/icons.png -------------------------------------------------------------------------------- /PFBC/Element/Phone.php: -------------------------------------------------------------------------------- 1 | "tel"); 6 | } 7 | -------------------------------------------------------------------------------- /PFBC/Element/Range.php: -------------------------------------------------------------------------------- 1 | "range"); 6 | } 7 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/assets/sample.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/samples/assets/sample.jpg -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/spellchecker/css/content.css: -------------------------------------------------------------------------------- 1 | .mceItemHiddenSpellWord {background:url(../img/wline.gif) repeat-x bottom left; cursor:default;} 2 | -------------------------------------------------------------------------------- /PFBC/Element/File.php: -------------------------------------------------------------------------------- 1 | "file"); 6 | } 7 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/skins/moono/images/mini.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/skins/moono/images/mini.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/img/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/simple/img/icons.gif -------------------------------------------------------------------------------- /PFBC/Element/DateTime.php: -------------------------------------------------------------------------------- 1 | "datetime"); 6 | } 7 | -------------------------------------------------------------------------------- /PFBC/Resources/bootstrap/img/glyphicons-halflings.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/bootstrap/img/glyphicons-halflings.png -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/link/images/anchor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/plugins/link/images/anchor.png -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/skins/moono/images/arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/skins/moono/images/arrow.png -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/skins/moono/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/skins/moono/images/close.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advhr/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.advhr_dlg',{size:"Height",noshade:"No Shadow",width:"Width",normal:"Normal",widthunits:"Units"}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/media/moxieplayer.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/media/moxieplayer.swf -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/flash.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/flash.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/icons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/icons.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/iframe.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/iframe.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/trans.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/video.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/video.gif -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/image/images/noimage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/plugins/image/images/noimage.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advimage/img/sample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/advimage/img/sample.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example/img/example.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/example/img/example.gif -------------------------------------------------------------------------------- /PFBC/Resources/bootstrap/img/glyphicons-halflings-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/bootstrap/img/glyphicons-halflings-white.png -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/magicline/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/plugins/magicline/images/icon.png -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/assets/inlineall/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/samples/assets/inlineall/logo.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-cry.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-cry.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/spellchecker/img/wline.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/spellchecker/img/wline.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/colorpicker.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/colorpicker.jpg -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/pagebreak.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/pagebreak.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/quicktime.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/quicktime.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/realmedia.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/realmedia.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/shockwave.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/shockwave.gif -------------------------------------------------------------------------------- /PFBC/Element/DateTimeLocal.php: -------------------------------------------------------------------------------- 1 | "datetime-local"); 6 | } 7 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/fakeobjects/images/spacer.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/plugins/fakeobjects/images/spacer.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-cool.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-cool.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-frown.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-frown.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-kiss.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-kiss.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-smile.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-smile.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-wink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-wink.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-yell.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-yell.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/spellchecker/editor_plugin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/spellchecker/editor_plugin.js -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/img/windowsmedia.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/img/windowsmedia.gif -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/about/dialogs/logo_ckeditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/plugins/about/dialogs/logo_ckeditor.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-innocent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-innocent.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-laughing.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-laughing.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-sealed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-sealed.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-embarassed.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-embarassed.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-surprised.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-surprised.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-undecided.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-undecided.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/spellchecker/editor_plugin_src.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/spellchecker/editor_plugin_src.js -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/tabs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/tabs.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/buttons.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/buttons.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/items.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/items.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/progress.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/progress.gif -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_222222_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_222222_256x240.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_2e83ff_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_2e83ff_256x240.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_454545_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_454545_256x240.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_888888_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_888888_256x240.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_cd0a0a_256x240.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-icons_cd0a0a_256x240.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/menu_check.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/default/img/menu_check.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png -------------------------------------------------------------------------------- /PFBC/Element/Password.php: -------------------------------------------------------------------------------- 1 | "password"); 6 | protected $prefillAfterValidation = 0; 7 | } 8 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png -------------------------------------------------------------------------------- /PFBC/Element/Search.php: -------------------------------------------------------------------------------- 1 | "search", 7 | "class" => "search-query" 8 | ); 9 | } 10 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/dialog/dialogDefinition.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_flat_75_ffffff_40x100.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_65_ffffff_1x400.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_75_dadada_1x400.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif -------------------------------------------------------------------------------- /PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/jquery-ui/css/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.fla -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lkorth/php-form-builder-class/HEAD/PFBC/Resources/ckeditor/samples/plugins/htmlwriter/assets/outputforflash/outputforflash.swf -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/searchreplace/css/searchreplace.css: -------------------------------------------------------------------------------- 1 | .panel_wrapper {height:85px;} 2 | .panel_wrapper div.current {height:85px;} 3 | 4 | /* IE */ 5 | * html .panel_wrapper {height:100px;} 6 | * html .panel_wrapper div.current {height:100px;} 7 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/paste/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.paste_dlg',{"word_title":"Use Ctrl+V on your keyboard to paste the text into the window.","text_linebreaks":"Keep Linebreaks","text_title":"Use Ctrl+V on your keyboard to paste the text into the window."}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/table/css/table.css: -------------------------------------------------------------------------------- 1 | /* CSS file for table dialog in the table plugin */ 2 | 3 | .panel_wrapper div.current { 4 | height: 245px; 5 | } 6 | 7 | .advfield { 8 | width: 200px; 9 | } 10 | 11 | #class { 12 | width: 150px; 13 | } 14 | -------------------------------------------------------------------------------- /PFBC/Element/Url.php: -------------------------------------------------------------------------------- 1 | "url"); 6 | 7 | public function render() { 8 | $this->validation[] = new \PFBC\Validation\Url; 9 | parent::render(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /PFBC/Element/Email.php: -------------------------------------------------------------------------------- 1 | "email"); 6 | 7 | public function render() { 8 | $this->validation[] = new \PFBC\Validation\Email; 9 | parent::render(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /PFBC/Element/Number.php: -------------------------------------------------------------------------------- 1 | "number"); 6 | 7 | public function render() { 8 | $this->validation[] = new \PFBC\Validation\Numeric; 9 | parent::render(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advhr/css/advhr.css: -------------------------------------------------------------------------------- 1 | input.radio {border:1px none #000; background:transparent; vertical-align:middle;} 2 | .panel_wrapper div.current {height:80px;} 3 | #width {width:50px; vertical-align:middle;} 4 | #width2 {width:50px; vertical-align:middle;} 5 | #size {width:100px;} 6 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/css/attributes.css: -------------------------------------------------------------------------------- 1 | .panel_wrapper div.current { 2 | height: 290px; 3 | } 4 | 5 | #id, #style, #title, #dir, #hreflang, #lang, #classlist, #tabindex, #accesskey { 6 | width: 200px; 7 | } 8 | 9 | #events_panel input { 10 | width: 200px; 11 | } 12 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/table/css/cell.css: -------------------------------------------------------------------------------- 1 | /* CSS file for cell dialog in the table plugin */ 2 | 3 | .panel_wrapper div.current { 4 | height: 200px; 5 | } 6 | 7 | .advfield { 8 | width: 200px; 9 | } 10 | 11 | #action { 12 | margin-bottom: 3px; 13 | } 14 | 15 | #class { 16 | width: 150px; 17 | } -------------------------------------------------------------------------------- /PFBC/Element/HTML.php: -------------------------------------------------------------------------------- 1 | $value); 7 | parent::__construct("", "", $properties); 8 | } 9 | 10 | public function render() { 11 | echo $this->_attributes["value"]; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /PFBC/Validation/Numeric.php: -------------------------------------------------------------------------------- 1 | isNotApplicable($value) || is_numeric($value)) 9 | return true; 10 | return false; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /PFBC/Validation/AlphaNumeric.php: -------------------------------------------------------------------------------- 1 | isNotApplicable($value) || filter_var($value, FILTER_VALIDATE_EMAIL)) 9 | return true; 10 | return false; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/langs/en.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.simple',{"cleanup_desc":"Cleanup Messy Code","redo_desc":"Redo (Ctrl+Y)","undo_desc":"Undo (Ctrl+Z)","numlist_desc":"Insert/Remove Numbered List","bullist_desc":"Insert/Remove Bulleted List","striketrough_desc":"Strikethrough","underline_desc":"Underline (Ctrl+U)","italic_desc":"Italic (Ctrl+I)","bold_desc":"Bold (Ctrl+B)"}); -------------------------------------------------------------------------------- /PFBC/Validation/Url.php: -------------------------------------------------------------------------------- 1 | isNotApplicable($value) || filter_var($value, FILTER_VALIDATE_URL)) 9 | return true; 10 | return false; 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/template/blank.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | blank_page 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /PFBC/Validation/Date.php: -------------------------------------------------------------------------------- 1 | "5"); 6 | 7 | public function render() { 8 | echo "getAttributes("value"), ">"; 9 | if(!empty($this->_attributes["value"])) 10 | echo $this->filter($this->_attributes["value"]); 11 | echo ""; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/template/css/template.css: -------------------------------------------------------------------------------- 1 | #frmbody { 2 | padding: 10px; 3 | background-color: #FFF; 4 | border: 1px solid #CCC; 5 | } 6 | 7 | .frmRow { 8 | margin-bottom: 10px; 9 | } 10 | 11 | #templatesrc { 12 | border: none; 13 | width: 320px; 14 | height: 240px; 15 | } 16 | 17 | .title { 18 | padding-bottom: 5px; 19 | } 20 | 21 | .mceActionPanel { 22 | padding-top: 5px; 23 | } 24 | -------------------------------------------------------------------------------- /PFBC/Element/Hidden.php: -------------------------------------------------------------------------------- 1 | "hidden"); 6 | 7 | public function __construct($name, $value = "", array $properties = null) { 8 | if(!is_array($properties)) 9 | $properties = array(); 10 | 11 | if(!empty($value)) 12 | $properties["value"] = $value; 13 | 14 | parent::__construct("", $name, $properties); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.emotions_dlg',{cry:"Cry",cool:"Cool",desc:"Emotions",title:"Insert Emotion",usage:"Use left and right arrows to navigate.",yell:"Yell",wink:"Wink",undecided:"Undecided","tongue_out":"Tongue Out",surprised:"Surprised",smile:"Smile",sealed:"Sealed","money_mouth":"Money Mouth",laughing:"Laughing",kiss:"Kiss",innocent:"Innocent",frown:"Frown","foot_in_mouth":"Foot in Mouth",embarassed:"Embarassed"}); 2 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/table/css/row.css: -------------------------------------------------------------------------------- 1 | /* CSS file for row dialog in the table plugin */ 2 | 3 | .panel_wrapper div.current { 4 | height: 200px; 5 | } 6 | 7 | .advfield { 8 | width: 200px; 9 | } 10 | 11 | #action { 12 | margin-bottom: 3px; 13 | } 14 | 15 | #rowtype,#align,#valign,#class,#height { 16 | width: 150px; 17 | } 18 | 19 | #height { 20 | width: 50px; 21 | } 22 | 23 | .col2 { 24 | padding-left: 20px; 25 | } 26 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example_dependency/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.ExampleDependencyPlugin",{init:function(a,b){},getInfo:function(){return{longname:"Example Dependency plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency",version:"1.0"}}});tinymce.PluginManager.add("example_dependency",tinymce.plugins.ExampleDependencyPlugin,["example"])})(); -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/CHANGES.md: -------------------------------------------------------------------------------- 1 | CKEditor 4 Changelog 2 | ==================== 3 | 4 | ## CKEditor 4.0 5 | 6 | The first stable release of the new CKEditor 4 code line. 7 | 8 | The CKEditor JavaScript API has been kept compatible with CKEditor 4, whenever 9 | possible. The list of relevant changes can be found in the [API Changes page of 10 | the CKEditor 4 documentation][1]. 11 | 12 | [1]: http://docs.ckeditor.com/#!/guide/dev_api_changes "API Changes"" 13 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/searchreplace/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.searchreplace_dlg',{findwhat:"Find What",replacewith:"Replace with",direction:"Direction",up:"Up",down:"Down",mcase:"Match Case",findnext:"Find Next",allreplaced:"All occurrences of the search string were replaced.","searchnext_desc":"Find Again",notfound:"The search has been completed. The search string could not be found.","search_title":"Find","replace_title":"Find/Replace",replaceall:"Replace All",replace:"Replace"}); -------------------------------------------------------------------------------- /PFBC/Element/YesNo.php: -------------------------------------------------------------------------------- 1 | "Yes", 8 | "0" => "No" 9 | ); 10 | 11 | if(!is_array($properties)) 12 | $properties = array("inline" => 1); 13 | elseif(!array_key_exists("inline", $properties)) 14 | $properties["inline"] = 1; 15 | 16 | parent::__construct($label, $name, $options, $properties); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/print/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Print",{init:function(a,b){a.addCommand("mcePrint",function(){a.getWin().print()});a.addButton("print",{title:"print.print_desc",cmd:"mcePrint"})},getInfo:function(){return{longname:"Print",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("print",tinymce.plugins.Print)})(); -------------------------------------------------------------------------------- /PFBC/Element/Color.php: -------------------------------------------------------------------------------- 1 | "color"); 6 | 7 | public function render() { 8 | $this->_attributes["pattern"] = "#[a-g0-9]{6}"; 9 | $this->_attributes["title"] = "6-digit hexidecimal color (e.g. #000000)"; 10 | $this->validation[] = new \PFBC\Validation\RegExp("/" . $this->_attributes["pattern"] . "/", "Error: The %element% field must contain a " . $this->_attributes["title"]); 11 | parent::render(); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /PFBC/Validation/RegExp.php: -------------------------------------------------------------------------------- 1 | pattern = $pattern; 10 | parent::__construct($message); 11 | } 12 | 13 | public function isValid($value) { 14 | if($this->isNotApplicable($value) || preg_match($this->pattern, $value)) 15 | return true; 16 | return false; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advlink/css/advlink.css: -------------------------------------------------------------------------------- 1 | .mceLinkList, .mceAnchorList, #targetlist {width:280px;} 2 | .mceActionPanel {margin-top:7px;} 3 | .panel_wrapper div.current {height:320px;} 4 | #classlist, #title, #href {width:280px;} 5 | #popupurl, #popupname {width:200px;} 6 | #popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;} 7 | #id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;} 8 | #events_panel input {width:200px;} 9 | -------------------------------------------------------------------------------- /PFBC/Validation.php: -------------------------------------------------------------------------------- 1 | message = $message; 10 | } 11 | 12 | public function getMessage() { 13 | return $this->message; 14 | } 15 | 16 | public function isNotApplicable($value) { 17 | if(is_null($value) || is_array($value) || $value === "") 18 | return true; 19 | return false; 20 | } 21 | 22 | public abstract function isValid($value); 23 | } 24 | -------------------------------------------------------------------------------- /PFBC/Validation/MaxLength.php: -------------------------------------------------------------------------------- 1 | limit = $limit; 10 | if(empty($message)) 11 | $message = "%element% is limited to " . $limit . " characters."; 12 | parent::__construct($message); 13 | } 14 | 15 | public function isValid($value) { 16 | if($this->isNotApplicable($value) || strlen($value) <= $this->limit) 17 | return true; 18 | return false; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/skins/o2k7/content.css: -------------------------------------------------------------------------------- 1 | body, td, pre {font-family:Verdana, Arial, Helvetica, sans-serif; font-size:10px;} 2 | 3 | body {background: #FFF;} 4 | .mceVisualAid {border: 1px dashed #BBB;} 5 | 6 | /* IE */ 7 | 8 | * html body { 9 | scrollbar-3dlight-color: #F0F0EE; 10 | scrollbar-arrow-color: #676662; 11 | scrollbar-base-color: #F0F0EE; 12 | scrollbar-darkshadow-color: #DDDDDD; 13 | scrollbar-face-color: #E0E0DD; 14 | scrollbar-highlight-color: #F0F0EE; 15 | scrollbar-shadow-color: #F0F0EE; 16 | scrollbar-track-color: #F5F5F5; 17 | } 18 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/css/popup.css: -------------------------------------------------------------------------------- 1 | input.field, select.field {width:200px;} 2 | input.picker {width:179px; margin-left: 5px;} 3 | input.disabled {border-color:#F2F2F2;} 4 | img.picker {vertical-align:text-bottom; cursor:pointer;} 5 | h1 {padding: 0 0 5px 0;} 6 | .panel_wrapper div.current {height:160px;} 7 | #xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;} 8 | a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;} 9 | #datetime {width:180px;} 10 | -------------------------------------------------------------------------------- /PFBC/Validation/Required.php: -------------------------------------------------------------------------------- 1 | validation[] = new \PFBC\Validation\Captcha($this->privateKey); 14 | require_once(__DIR__ . "/../Resources/recaptchalib.php"); 15 | echo recaptcha_get_html($this->publicKey); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /PFBC/ErrorView.php: -------------------------------------------------------------------------------- 1 | configure($properties); 9 | } 10 | 11 | public abstract function applyAjaxErrorResponse(); 12 | 13 | public function clear() { 14 | echo 'jQuery("#', $this->_form->getAttribute("id"), ' .alert-error").remove();'; 15 | } 16 | 17 | public abstract function render(); 18 | public abstract function renderAjaxErrorResponse(); 19 | 20 | public function renderCSS() {} 21 | 22 | public function _setForm(Form $form) { 23 | $this->_form = $form; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/template/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.template_dlg',{title:"Templates",label:"Template","desc_label":"Description",desc:"Insert Predefined Template Content",select:"Select a Template",preview:"Preview",warning:"Warning: Updating a template with a different one may cause data loss.","mdate_format":"%Y-%m-%d %H:%M:%S","cdate_format":"%Y-%m-%d %H:%M:%S","months_long":"January,February,March,April,May,June,July,August,September,October,November,December","months_short":"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec","day_long":"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday","day_short":"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/skins/default/content.css: -------------------------------------------------------------------------------- 1 | body, td, pre { 2 | font-family: Verdana, Arial, Helvetica, sans-serif; 3 | font-size: 10px; 4 | } 5 | 6 | body { 7 | background-color: #FFFFFF; 8 | } 9 | 10 | .mceVisualAid { 11 | border: 1px dashed #BBBBBB; 12 | } 13 | 14 | /* MSIE specific */ 15 | 16 | * html body { 17 | scrollbar-3dlight-color: #F0F0EE; 18 | scrollbar-arrow-color: #676662; 19 | scrollbar-base-color: #F0F0EE; 20 | scrollbar-darkshadow-color: #DDDDDD; 21 | scrollbar-face-color: #E0E0DD; 22 | scrollbar-highlight-color: #F0F0EE; 23 | scrollbar-shadow-color: #F0F0EE; 24 | scrollbar-track-color: #F5F5F5; 25 | } 26 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pfbc/pfbc", 3 | "type": "library", 4 | "description": "Rapid form bulding in PHP", 5 | "keywords": ["php","html","form"], 6 | "homepage": "http://code.google.com/p/php-form-builder-class/", 7 | "license": "GPL-3.0-only", 8 | "authors": [ 9 | { 10 | "email": "ajporterfield@gmail.com", 11 | "role": "Owner" 12 | }, 13 | { 14 | "email": "moncojhr@gmail.com", 15 | "role": "Committer" 16 | } 17 | ], 18 | "require": { 19 | "php": ">=5.3.0" 20 | }, 21 | "autoload": { 22 | "psr-0": { 23 | "PFBC": "." 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(a){a.create("tinymce.plugins.EmotionsPlugin",{init:function(b,c){b.addCommand("mceEmotion",function(){b.windowManager.open({file:c+"/emotions.htm",width:250+parseInt(b.getLang("emotions.delta_width",0)),height:160+parseInt(b.getLang("emotions.delta_height",0)),inline:1},{plugin_url:c})});b.addButton("emotions",{title:"emotions.emotions_desc",cmd:"mceEmotion"})},getInfo:function(){return{longname:"Emotions",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("emotions",a.plugins.EmotionsPlugin)})(tinymce); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/js/abbr.js: -------------------------------------------------------------------------------- 1 | /** 2 | * abbr.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('abbr'); 13 | if (SXE.currentAction == "update") { 14 | SXE.showRemoveButton(); 15 | } 16 | } 17 | 18 | function insertAbbr() { 19 | SXE.insertElement('abbr'); 20 | tinyMCEPopup.close(); 21 | } 22 | 23 | function removeAbbr() { 24 | SXE.removeElement('abbr'); 25 | tinyMCEPopup.close(); 26 | } 27 | 28 | tinyMCEPopup.onInit.add(init); 29 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/js/cite.js: -------------------------------------------------------------------------------- 1 | /** 2 | * cite.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('cite'); 13 | if (SXE.currentAction == "update") { 14 | SXE.showRemoveButton(); 15 | } 16 | } 17 | 18 | function insertCite() { 19 | SXE.insertElement('cite'); 20 | tinyMCEPopup.close(); 21 | } 22 | 23 | function removeCite() { 24 | SXE.removeElement('cite'); 25 | tinyMCEPopup.close(); 26 | } 27 | 28 | tinyMCEPopup.onInit.add(init); 29 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/sample.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | (function(){CKEDITOR.on("instanceReady",function(b){var b=b.editor,a=CKEDITOR.document.$.getElementsByName("ckeditor-sample-required-plugins"),a=a.length?CKEDITOR.dom.element.get(a[0]).getAttribute("content").split(","):[],c=[];if(a.length){for(var d=0;d"+a[d]+"");c.length&&CKEDITOR.dom.element.createFromHtml('
To fully experience this demo, the '+c.join(", ")+" plugin"+(1
").insertBefore(b.container)}})})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example/js/dialog.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var ExampleDialog = { 4 | init : function() { 5 | var f = document.forms[0]; 6 | 7 | // Get the selected contents as text and place it in the input 8 | f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'}); 9 | f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg'); 10 | }, 11 | 12 | insert : function() { 13 | // Insert the contents from the input into the document 14 | tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value); 15 | tinyMCEPopup.close(); 16 | } 17 | }; 18 | 19 | tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog); 20 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/table/js/merge_cells.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var MergeCellsDialog = { 4 | init : function() { 5 | var f = document.forms[0]; 6 | 7 | f.numcols.value = tinyMCEPopup.getWindowArg('cols', 1); 8 | f.numrows.value = tinyMCEPopup.getWindowArg('rows', 1); 9 | }, 10 | 11 | merge : function() { 12 | var func, f = document.forms[0]; 13 | 14 | tinyMCEPopup.restoreSelection(); 15 | 16 | func = tinyMCEPopup.getWindowArg('onaction'); 17 | 18 | func({ 19 | cols : f.numcols.value, 20 | rows : f.numrows.value 21 | }); 22 | 23 | tinyMCEPopup.close(); 24 | } 25 | }; 26 | 27 | tinyMCEPopup.onInit.add(MergeCellsDialog.init, MergeCellsDialog); 28 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/js/acronym.js: -------------------------------------------------------------------------------- 1 | /** 2 | * acronym.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('acronym'); 13 | if (SXE.currentAction == "update") { 14 | SXE.showRemoveButton(); 15 | } 16 | } 17 | 18 | function insertAcronym() { 19 | SXE.insertElement('acronym'); 20 | tinyMCEPopup.close(); 21 | } 22 | 23 | function removeAcronym() { 24 | SXE.removeElement('acronym'); 25 | tinyMCEPopup.close(); 26 | } 27 | 28 | tinyMCEPopup.onInit.add(init); 29 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/preview/preview.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | {#preview.preview_desc} 11 | 12 | 13 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advimage/css/advimage.css: -------------------------------------------------------------------------------- 1 | #src_list, #over_list, #out_list {width:280px;} 2 | .mceActionPanel {margin-top:7px;} 3 | .alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;} 4 | .checkbox {border:0;} 5 | .panel_wrapper div.current {height:305px;} 6 | #prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;} 7 | #align, #classlist {width:150px;} 8 | #width, #height {vertical-align:middle; width:50px; text-align:center;} 9 | #vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;} 10 | #class_list {width:180px;} 11 | input {width: 280px;} 12 | #constrain, #onmousemovecheck {width:auto;} 13 | #id, #dir, #lang, #usemap, #longdesc {width:200px;} 14 | -------------------------------------------------------------------------------- /PFBC/Validation/Captcha.php: -------------------------------------------------------------------------------- 1 | privateKey = $privateKey; 10 | if(!empty($message)) 11 | $this->message = $message; 12 | } 13 | 14 | public function isValid($value) { 15 | require_once(__DIR__ . "/../Resources/recaptchalib.php"); 16 | $resp = recaptcha_check_answer ($this->privateKey, $_SERVER["REMOTE_ADDR"], $_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); 17 | if($resp->is_valid) 18 | return true; 19 | else 20 | return false; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /PFBC/Element/Date.php: -------------------------------------------------------------------------------- 1 | "date", 7 | "pattern" => "\d{4}-\d{2}-\d{2}" 8 | ); 9 | 10 | public function __construct($label, $name, array $properties = null) { 11 | $this->_attributes["placeholder"] = "YYYY-MM-DD (e.g. " . date("Y-m-d") . ")"; 12 | $this->_attributes["title"] = $this->_attributes["placeholder"]; 13 | 14 | parent::__construct($label, $name, $properties); 15 | } 16 | 17 | public function render() { 18 | $this->validation[] = new \PFBC\Validation\RegExp("/" . $this->_attributes["pattern"] . "/", "Error: The %element% field must match the following date format: " . $this->_attributes["title"]); 19 | parent::render(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advimage/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.AdvancedImagePlugin",{init:function(a,b){a.addCommand("mceAdvImage",function(){if(a.dom.getAttrib(a.selection.getNode(),"class","").indexOf("mceItem")!=-1){return}a.windowManager.open({file:b+"/image.htm",width:480+parseInt(a.getLang("advimage.delta_width",0)),height:385+parseInt(a.getLang("advimage.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("image",{title:"advimage.image_desc",cmd:"mceAdvImage"})},getInfo:function(){return{longname:"Advanced image",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advimage",tinymce.plugins.AdvancedImagePlugin)})(); -------------------------------------------------------------------------------- /PFBC/Element/Button.php: -------------------------------------------------------------------------------- 1 | "submit", "value" => "Submit"); 6 | protected $icon; 7 | 8 | public function __construct($label = "Submit", $type = "", array $properties = null) { 9 | if(!is_array($properties)) 10 | $properties = array(); 11 | 12 | if(!empty($type)) 13 | $properties["type"] = $type; 14 | 15 | $class = "btn"; 16 | if(empty($type) || $type == "submit") 17 | $class .= " btn-primary"; 18 | 19 | if(!empty($properties["class"])) 20 | $properties["class"] .= " " . $class; 21 | else 22 | $properties["class"] = $class; 23 | 24 | if(empty($properties["value"])) 25 | $properties["value"] = $label; 26 | 27 | parent::__construct("", "", $properties); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /PFBC/Element/Month.php: -------------------------------------------------------------------------------- 1 | "month", 7 | "pattern" => "\d{4}-\d{2}" 8 | ); 9 | 10 | public function __construct($label, $name, array $properties = null) { 11 | $this->_attributes["placeholder"] = "YYYY-MM (e.g. " . date("Y-m") . ")"; 12 | $this->_attributes["title"] = $this->_attributes["placeholder"]; 13 | 14 | parent::__construct($label, $name, $properties); 15 | } 16 | 17 | public function render() { 18 | $this->validation[] = new \PFBC\Validation\RegExp("/" . $this->_attributes["pattern"] . "/", "Error: The %element% field must match the following date format: " . $this->_attributes["title"]); 19 | parent::render(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /PFBC/Element/Week.php: -------------------------------------------------------------------------------- 1 | "week", 7 | "pattern" => "\d{4}-W\d{2}" 8 | ); 9 | 10 | public function __construct($label, $name, array $properties = null) { 11 | $this->_attributes["placeholder"] = "YYYY-Www (e.g. " . date("Y-\WW") . ")"; 12 | $this->_attributes["title"] = $this->_attributes["placeholder"]; 13 | 14 | parent::__construct($label, $name, $properties); 15 | } 16 | 17 | public function render() { 18 | $this->validation[] = new \PFBC\Validation\RegExp("/" . $this->_attributes["pattern"] . "/", "Error: The %element% field must match the following date format: " . $this->_attributes["title"]); 19 | parent::render(); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /PFBC/OptionElement.php: -------------------------------------------------------------------------------- 1 | options = $options; 9 | if(!empty($this->options) && array_values($this->options) === $this->options) 10 | $this->options = array_combine($this->options, $this->options); 11 | 12 | parent::__construct($label, $name, $properties); 13 | } 14 | 15 | protected function getOptionValue($value) { 16 | $position = strpos($value, ":pfbc"); 17 | if($position !== false) { 18 | if($position == 0) 19 | $value = ""; 20 | else 21 | $value = substr($value, 0, $position); 22 | } 23 | return $value; 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /PFBC/Element/Radio.php: -------------------------------------------------------------------------------- 1 | "radio"); 6 | protected $inline; 7 | 8 | public function render() { 9 | $labelClass = $this->_attributes["type"]; 10 | if(!empty($this->inline)) 11 | $labelClass .= " inline"; 12 | 13 | $count = 0; 14 | foreach($this->options as $value => $text) { 15 | $value = $this->getOptionValue($value); 16 | 17 | echo ' '; 21 | ++$count; 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | cs.js Found: 118 Missing: 0 5 | cy.js Found: 118 Missing: 0 6 | de.js Found: 118 Missing: 0 7 | el.js Found: 16 Missing: 102 8 | eo.js Found: 118 Missing: 0 9 | et.js Found: 31 Missing: 87 10 | fa.js Found: 24 Missing: 94 11 | fi.js Found: 23 Missing: 95 12 | fr.js Found: 118 Missing: 0 13 | hr.js Found: 23 Missing: 95 14 | it.js Found: 118 Missing: 0 15 | nb.js Found: 118 Missing: 0 16 | nl.js Found: 118 Missing: 0 17 | no.js Found: 118 Missing: 0 18 | tr.js Found: 118 Missing: 0 19 | ug.js Found: 39 Missing: 79 20 | zh-cn.js Found: 118 Missing: 0 21 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advhr/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.AdvancedHRPlugin",{init:function(a,b){a.addCommand("mceAdvancedHr",function(){a.windowManager.open({file:b+"/rule.htm",width:250+parseInt(a.getLang("advhr.delta_width",0)),height:160+parseInt(a.getLang("advhr.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("advhr",{title:"advhr.advhr_desc",cmd:"mceAdvancedHr"});a.onNodeChange.add(function(d,c,e){c.setActive("advhr",e.nodeName=="HR")});a.onClick.add(function(c,d){d=d.target;if(d.nodeName==="HR"){c.selection.select(d)}})},getInfo:function(){return{longname:"Advanced HR",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advhr",tinymce.plugins.AdvancedHRPlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.PluginManager.requireLangPack("example");tinymce.create("tinymce.plugins.ExamplePlugin",{init:function(a,b){a.addCommand("mceExample",function(){a.windowManager.open({file:b+"/dialog.htm",width:320+parseInt(a.getLang("example.delta_width",0)),height:120+parseInt(a.getLang("example.delta_height",0)),inline:1},{plugin_url:b,some_custom_arg:"custom arg"})});a.addButton("example",{title:"example.desc",cmd:"mceExample",image:b+"/img/example.gif"});a.onNodeChange.add(function(d,c,e){c.setActive("example",e.nodeName=="IMG")})},createControl:function(b,a){return null},getInfo:function(){return{longname:"Example plugin",author:"Some author",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example",version:"1.0"}}});tinymce.PluginManager.add("example",tinymce.plugins.ExamplePlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/preview/example.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 18 | Example of a custom preview page 19 | 20 | 21 | 22 | Editor contents:
23 |
24 | 25 |
26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/paste/pasteword.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#paste.paste_word_desc} 4 | 5 | 6 | 7 | 8 |
9 |
{#paste.paste_word_desc}
10 | 11 |
{#paste_dlg.word_title}
12 | 13 |
14 | 15 |
16 | 17 | 18 |
19 |
20 | 21 | 22 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css: -------------------------------------------------------------------------------- 1 | /* Silver */ 2 | .o2k7SkinSilver .mceToolbar .mceToolbarStart span, .o2k7SkinSilver .mceButton, .o2k7SkinSilver .mceSplitButton, .o2k7SkinSilver .mceSeparator, .o2k7SkinSilver .mceSplitButton a.mceOpen, .o2k7SkinSilver .mceListBox a.mceOpen {background-image:url(img/button_bg_silver.png)} 3 | .o2k7SkinSilver td.mceToolbar, .o2k7SkinSilver td.mceStatusbar, .o2k7SkinSilver .mceMenuItemTitle a {background:#eee} 4 | .o2k7SkinSilver .mceListBox .mceText {background:#FFF} 5 | .o2k7SkinSilver .mceExternalToolbar, .o2k7SkinSilver .mceListBox .mceText, .o2k7SkinSilver div.mceMenu, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceFirst td, .o2k7SkinSilver table.mceLayout, .o2k7SkinSilver .mceMenuItemTitle a, .o2k7SkinSilver table.mceLayout tr.mceLast td, .o2k7SkinSilver .mceIframeContainer {border-color: #bbb} 6 | -------------------------------------------------------------------------------- /PFBC/Element/jQueryUIDate.php: -------------------------------------------------------------------------------- 1 | "text", 7 | "autocomplete" => "off" 8 | ); 9 | protected $jQueryOptions; 10 | 11 | public function getCSSFiles() { 12 | return array( 13 | $this->_form->getResourcesPath() . "/jquery-ui/css/smoothness/jquery-ui.min.css" 14 | ); 15 | } 16 | 17 | public function getJSFiles() { 18 | return array( 19 | $this->_form->getResourcesPath() . "/jquery-ui/js/jquery-ui.min.js" 20 | ); 21 | } 22 | 23 | public function jQueryDocumentReady() { 24 | parent::jQueryDocumentReady(); 25 | echo 'jQuery("#', $this->_attributes["id"], '").datepicker(', $this->jQueryOptions(), ');'; 26 | } 27 | 28 | public function render() { 29 | $this->validation[] = new \PFBC\Validation\Date; 30 | parent::render(); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/sample_posteddata.php: -------------------------------------------------------------------------------- 1 |
 2 | 
 3 | -------------------------------------------------------------------------------------------
 4 |   CKEditor - Posted Data
 5 | 
 6 |   We are sorry, but your Web server does not support the PHP language used in this script.
 7 | 
 8 |   Please note that CKEditor can be used with any other server-side language than just PHP.
 9 |   To save the content created with CKEditor you need to read the POST data on the server
10 |   side and write it to a file or the database.
11 | 
12 |   Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved.
13 |   For licensing, see LICENSE.html or http://ckeditor.com/license
14 | -------------------------------------------------------------------------------------------
15 | 
16 | 
*/ include "assets/posteddata.php"; ?> 17 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/iespell/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.IESpell",{init:function(a,b){var c=this,d;if(!tinymce.isIE){return}c.editor=a;a.addCommand("mceIESpell",function(){try{d=new ActiveXObject("ieSpell.ieSpellExtension");d.CheckDocumentNode(a.getDoc().documentElement)}catch(f){if(f.number==-2146827859){a.windowManager.confirm(a.getLang("iespell.download"),function(e){if(e){window.open("http://www.iespell.com/download.php","ieSpellDownload","")}})}else{a.windowManager.alert("Error Loading ieSpell: Exception "+f.number)}}});a.addButton("iespell",{title:"iespell.iespell_desc",cmd:"mceIESpell"})},getInfo:function(){return{longname:"IESpell (IE Only)",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("iespell",tinymce.plugins.IESpell)})(); -------------------------------------------------------------------------------- /prettify/prettify.css: -------------------------------------------------------------------------------- 1 | .com { color: #93a1a1; } 2 | .lit { color: #195f91; } 3 | .pun, .opn, .clo { color: #93a1a1; } 4 | .fun { color: #dc322f; } 5 | .str, .atv { color: #D14; } 6 | .kwd, .prettyprint .tag { color: #1e347b; } 7 | .typ, .atn, .dec, .var { color: teal; } 8 | .pln { color: #48484c; } 9 | 10 | .prettyprint { 11 | padding: 8px; 12 | background-color: #f7f7f9; 13 | border: 1px solid #e1e1e8; 14 | } 15 | .prettyprint.linenums { 16 | -webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 17 | -moz-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 18 | box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; 19 | } 20 | 21 | /* Specify class=linenums on a pre to get line numbering */ 22 | ol.linenums { 23 | margin: 0 0 0 33px; /* IE indents via margin-left */ 24 | } 25 | ol.linenums li { 26 | padding-left: 12px; 27 | color: #bebec5; 28 | line-height: 20px; 29 | text-shadow: 0 1px 0 #fff; 30 | } 31 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/nonbreaking/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Nonbreaking",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceNonBreaking",function(){a.execCommand("mceInsertContent",false,(a.plugins.visualchars&&a.plugins.visualchars.state)?' ':" ")});a.addButton("nonbreaking",{title:"nonbreaking.nonbreaking_desc",cmd:"mceNonBreaking"});if(a.getParam("nonbreaking_force_tab")){a.onKeyDown.add(function(d,f){if(f.keyCode==9){f.preventDefault();d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking");d.execCommand("mceNonBreaking")}})}},getInfo:function(){return{longname:"Nonbreaking space",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("nonbreaking",tinymce.plugins.Nonbreaking)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/visualblocks/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.VisualBlocks",{init:function(a,b){var c;if(!window.NodeList){return}a.addCommand("mceVisualBlocks",function(){var e=a.dom,d;if(!c){c=e.uniqueId();d=e.create("link",{id:c,rel:"stylesheet",href:b+"/css/visualblocks.css"});a.getDoc().getElementsByTagName("head")[0].appendChild(d)}else{d=e.get(c);d.disabled=!d.disabled}a.controlManager.setActive("visualblocks",!d.disabled)});a.addButton("visualblocks",{title:"visualblocks.desc",cmd:"mceVisualBlocks"});a.onInit.add(function(){if(a.settings.visualblocks_default_state){a.execCommand("mceVisualBlocks",false,null,{skip_focus:true})}})},getInfo:function(){return{longname:"Visual blocks",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("visualblocks",tinymce.plugins.VisualBlocks)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/style/css/props.css: -------------------------------------------------------------------------------- 1 | #text_font {width:250px;} 2 | #text_size {width:70px;} 3 | .mceAddSelectValue {background:#DDD;} 4 | select, #block_text_indent, #box_width, #box_height, #box_padding_top, #box_padding_right, #box_padding_bottom, #box_padding_left {width:70px;} 5 | #box_margin_top, #box_margin_right, #box_margin_bottom, #box_margin_left, #positioning_width, #positioning_height, #positioning_zindex {width:70px;} 6 | #positioning_placement_top, #positioning_placement_right, #positioning_placement_bottom, #positioning_placement_left {width:70px;} 7 | #positioning_clip_top, #positioning_clip_right, #positioning_clip_bottom, #positioning_clip_left {width:70px;} 8 | .panel_toggle_insert_span {padding-top:10px;} 9 | .panel_wrapper div.current {padding-top:10px;height:230px;} 10 | .delim {border-left:1px solid gray;} 11 | .tdelim {border-bottom:1px solid gray;} 12 | #block_display {width:145px;} 13 | #list_type {width:115px;} 14 | .disabled {background:#EEE;} 15 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advlink/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.AdvancedLinkPlugin",{init:function(a,b){this.editor=a;a.addCommand("mceAdvLink",function(){var c=a.selection;if(c.isCollapsed()&&!a.dom.getParent(c.getNode(),"A")){return}a.windowManager.open({file:b+"/link.htm",width:480+parseInt(a.getLang("advlink.delta_width",0)),height:400+parseInt(a.getLang("advlink.delta_height",0)),inline:1},{plugin_url:b})});a.addButton("link",{title:"advlink.link_desc",cmd:"mceAdvLink"});a.addShortcut("ctrl+k","advlink.advlink_desc","mceAdvLink");a.onNodeChange.add(function(d,c,f,e){c.setDisabled("link",e&&f.nodeName!="A");c.setActive("link",f.nodeName=="A"&&!f.name)})},getInfo:function(){return{longname:"Advanced link",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("advlink",tinymce.plugins.AdvancedLinkPlugin)})(); -------------------------------------------------------------------------------- /PFBC/Element/Textbox.php: -------------------------------------------------------------------------------- 1 | "text"); 6 | protected $prepend; 7 | protected $append; 8 | 9 | public function render() { 10 | $addons = array(); 11 | if(!empty($this->prepend)) 12 | $addons[] = "input-prepend"; 13 | if(!empty($this->append)) 14 | $addons[] = "input-append"; 15 | if(!empty($addons)) 16 | echo '
'; 17 | 18 | $this->renderAddOn("prepend"); 19 | parent::render(); 20 | $this->renderAddOn("append"); 21 | 22 | if(!empty($addons)) 23 | echo '
'; 24 | } 25 | 26 | protected function renderAddOn($type = "prepend") { 27 | if(!empty($this->$type)) { 28 | $span = true; 29 | if(strpos($this->$type, "'; 34 | 35 | echo $this->$type; 36 | 37 | if($span) 38 | echo ''; 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /PFBC/Element/TinyMCE.php: -------------------------------------------------------------------------------- 1 | getAttributes(array("value", "required")), ">"; 9 | if(!empty($this->_attributes["value"])) 10 | echo $this->_attributes["value"]; 11 | echo ""; 12 | } 13 | 14 | function renderJS() { 15 | echo 'tinyMCE.init({ mode: "exact", elements: "', $this->_attributes["id"], '", width: "100%"'; 16 | if(!empty($this->basic)) 17 | echo ', theme: "simple"'; 18 | else 19 | echo ', theme: "advanced", theme_advanced_resizing: true'; 20 | echo '});'; 21 | 22 | $ajax = $this->_form->getAjax(); 23 | $id = $this->_form->getAttribute("id"); 24 | if(!empty($ajax)) 25 | echo 'jQuery("#$id").bind("submit", function() { tinyMCE.triggerSave(); });'; 26 | } 27 | 28 | function getJSFiles() { 29 | return array( 30 | $this->_form->getResourcesPath() . "/tiny_mce/tiny_mce.js" 31 | ); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 2 | For licensing, see LICENSE.html or http://ckeditor.com/license 3 | 4 | cs.js Found: 30 Missing: 0 5 | cy.js Found: 30 Missing: 0 6 | da.js Found: 12 Missing: 18 7 | de.js Found: 30 Missing: 0 8 | el.js Found: 25 Missing: 5 9 | eo.js Found: 30 Missing: 0 10 | fa.js Found: 30 Missing: 0 11 | fi.js Found: 30 Missing: 0 12 | fr.js Found: 30 Missing: 0 13 | gu.js Found: 12 Missing: 18 14 | he.js Found: 30 Missing: 0 15 | it.js Found: 30 Missing: 0 16 | mk.js Found: 5 Missing: 25 17 | nb.js Found: 30 Missing: 0 18 | nl.js Found: 30 Missing: 0 19 | no.js Found: 30 Missing: 0 20 | pt-br.js Found: 30 Missing: 0 21 | ro.js Found: 6 Missing: 24 22 | tr.js Found: 30 Missing: 0 23 | ug.js Found: 27 Missing: 3 24 | vi.js Found: 6 Missing: 24 25 | zh-cn.js Found: 30 Missing: 0 26 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example/dialog.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#example_dlg.title} 5 | 6 | 7 | 8 | 9 | 10 |
11 |

Here is a example dialog.

12 |

Selected text:

13 |

Custom arg:

14 | 15 |
16 | 17 | 18 |
19 |
20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /PFBC/Element/Select.php: -------------------------------------------------------------------------------- 1 | _attributes["value"])) { 9 | if(!is_array($this->_attributes["value"])) 10 | $this->_attributes["value"] = array($this->_attributes["value"]); 11 | } 12 | else 13 | $this->_attributes["value"] = array(); 14 | 15 | if(!empty($this->_attributes["multiple"]) && substr($this->_attributes["name"], -2) != "[]") 16 | $this->_attributes["name"] .= "[]"; 17 | 18 | echo 'getAttributes(array("value", "selected")), '>'; 19 | $selected = false; 20 | foreach($this->options as $value => $text) { 21 | $value = $this->getOptionValue($value); 22 | echo ''; 28 | } 29 | echo ''; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/preview/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Preview",{init:function(a,b){var d=this,c=tinymce.explode(a.settings.content_css);d.editor=a;tinymce.each(c,function(f,e){c[e]=a.documentBaseURI.toAbsolute(f)});a.addCommand("mcePreview",function(){a.windowManager.open({file:a.getParam("plugin_preview_pageurl",b+"/preview.html"),width:parseInt(a.getParam("plugin_preview_width","550")),height:parseInt(a.getParam("plugin_preview_height","600")),resizable:"yes",scrollbars:"yes",popup_css:c?c.join(","):a.baseURI.toAbsolute("themes/"+a.settings.theme+"/skins/"+a.settings.skin+"/content.css"),inline:a.getParam("plugin_preview_inline",1)},{base:a.documentBaseURI.getURI()})});a.addButton("preview",{title:"preview.preview_desc",cmd:"mcePreview"})},getInfo:function(){return{longname:"Preview",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("preview",tinymce.plugins.Preview)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/searchreplace/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/print/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.Print', { 13 | init : function(ed, url) { 14 | ed.addCommand('mcePrint', function() { 15 | ed.getWin().print(); 16 | }); 17 | 18 | ed.addButton('print', {title : 'print.print_desc', cmd : 'mcePrint'}); 19 | }, 20 | 21 | getInfo : function() { 22 | return { 23 | longname : 'Print', 24 | author : 'Moxiecode Systems AB', 25 | authorurl : 'http://tinymce.moxiecode.com', 26 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/print', 27 | version : tinymce.majorVersion + "." + tinymce.minorVersion 28 | }; 29 | } 30 | }); 31 | 32 | // Register plugin 33 | tinymce.PluginManager.add('print', tinymce.plugins.Print); 34 | })(); 35 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/paste/js/pastetext.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var PasteTextDialog = { 4 | init : function() { 5 | this.resize(); 6 | }, 7 | 8 | insert : function() { 9 | var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines; 10 | 11 | // Convert linebreaks into paragraphs 12 | if (document.getElementById('linebreaks').checked) { 13 | lines = h.split(/\r?\n/); 14 | if (lines.length > 1) { 15 | h = ''; 16 | tinymce.each(lines, function(row) { 17 | h += '

' + row + '

'; 18 | }); 19 | } 20 | } 21 | 22 | tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h}); 23 | tinyMCEPopup.close(); 24 | }, 25 | 26 | resize : function() { 27 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 28 | 29 | el = document.getElementById('content'); 30 | 31 | el.style.width = (vp.w - 20) + 'px'; 32 | el.style.height = (vp.h - 90) + 'px'; 33 | } 34 | }; 35 | 36 | tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog); 37 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.xhtmlxtras_dlg',{"attribs_title":"Insert/Edit Attributes","option_rtl":"Right to Left","option_ltr":"Left to Right","insert_date":"Insert Current Date/Time",remove:"Remove","title_cite_element":"Citation Element","title_abbr_element":"Abbreviation Element","title_acronym_element":"Acronym Element","title_del_element":"Deletion Element","title_ins_element":"Insertion Element","fieldset_events_tab":"Element Events","fieldset_attrib_tab":"Element Attributes","fieldset_general_tab":"General Settings","events_tab":"Events","attrib_tab":"Attributes","general_tab":"General","attribute_attrib_tab":"Attributes","attribute_events_tab":"Events","attribute_label_accesskey":"AccessKey","attribute_label_tabindex":"TabIndex","attribute_label_langcode":"Language","attribute_option_rtl":"Right to Left","attribute_option_ltr":"Left to Right","attribute_label_langdir":"Text Direction","attribute_label_datetime":"Date/Time","attribute_label_cite":"Cite","attribute_label_style":"Style","attribute_label_class":"Class","attribute_label_id":"ID","attribute_label_title":"Title"}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/style/readme.txt: -------------------------------------------------------------------------------- 1 | Edit CSS Style plug-in notes 2 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 | Unlike WYSIWYG editor functionality that operates only on the selected text, 4 | typically by inserting new HTML elements with the specified styles. 5 | This plug-in operates on the HTML blocks surrounding the selected text. 6 | No new HTML elements are created. 7 | 8 | This plug-in only operates on the surrounding blocks and not the nearest 9 | parent node. This means that if a block encapsulates a node, 10 | e.g

text

, then only the styles in the block are 11 | recognized, not those in the span. 12 | 13 | When selecting text that includes multiple blocks at the same level (peers), 14 | this plug-in accumulates the specified styles in all of the surrounding blocks 15 | and populates the dialogue checkboxes accordingly. There is no differentiation 16 | between styles set in all the blocks versus styles set in some of the blocks. 17 | 18 | When the [Update] or [Apply] buttons are pressed, the styles selected in the 19 | checkboxes are applied to all blocks that surround the selected text. 20 | -------------------------------------------------------------------------------- /PFBC/View.php: -------------------------------------------------------------------------------- 1 | configure($properties); 9 | } 10 | 11 | public function _setForm(Form $form) { 12 | $this->_form = $form; 13 | } 14 | 15 | /*jQuery is used to apply css entries to the last element.*/ 16 | public function jQueryDocumentReady() {} 17 | 18 | public function render() {} 19 | 20 | public function renderCSS() { 21 | echo 'label span.required { color: #B94A48; }'; 22 | echo 'span.help-inline, span.help-block { color: #888; font-size: .9em; font-style: italic; }'; 23 | } 24 | 25 | protected function renderDescriptions($element) { 26 | $shortDesc = $element->getShortDesc(); 27 | if(!empty($shortDesc)) 28 | echo '', $shortDesc, '';; 29 | 30 | $longDesc = $element->getLongDesc(); 31 | if(!empty($longDesc)) 32 | echo '', $longDesc, '';; 33 | } 34 | 35 | public function renderJS() {} 36 | 37 | protected function renderLabel(Element $element) {} 38 | } 39 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/style/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.StylePlugin",{init:function(a,b){a.addCommand("mceStyleProps",function(){var c=false;var f=a.selection.getSelectedBlocks();var d=[];if(f.length===1){d.push(a.selection.getNode().style.cssText)}else{tinymce.each(f,function(g){d.push(a.dom.getAttrib(g,"style"))});c=true}a.windowManager.open({file:b+"/props.htm",width:480+parseInt(a.getLang("style.delta_width",0)),height:340+parseInt(a.getLang("style.delta_height",0)),inline:1},{applyStyleToBlocks:c,plugin_url:b,styles:d})});a.addCommand("mceSetElementStyle",function(d,c){if(e=a.selection.getNode()){a.dom.setAttrib(e,"style",c);a.execCommand("mceRepaint")}});a.onNodeChange.add(function(d,c,f){c.setDisabled("styleprops",f.nodeName==="BODY")});a.addButton("styleprops",{title:"style.desc",cmd:"mceStyleProps"})},getInfo:function(){return{longname:"Style",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("style",tinymce.plugins.StylePlugin)})(); -------------------------------------------------------------------------------- /PFBC/View/Inline.php: -------------------------------------------------------------------------------- 1 | _form->appendAttribute("class", $this->class); 9 | 10 | echo '_form->getAttributes(), '>'; 11 | $this->_form->getErrorView()->render(); 12 | 13 | $elements = $this->_form->getElements(); 14 | $elementSize = sizeof($elements); 15 | $elementCount = 0; 16 | for($e = 0; $e < $elementSize; ++$e) { 17 | if($e > 0) 18 | echo ' '; 19 | $element = $elements[$e]; 20 | echo $this->renderLabel($element), ' ', $element->render(), $this->renderDescriptions($element); 21 | ++$elementCount; 22 | } 23 | 24 | echo ''; 25 | } 26 | 27 | protected function renderLabel(\PFBC\Element $element) { 28 | $label = $element->getLabel(); 29 | if(!empty($label)) { 30 | echo ''; 35 | } 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /PFBC/Element/Checkbox.php: -------------------------------------------------------------------------------- 1 | "checkbox"); 6 | protected $inline; 7 | 8 | public function render() { 9 | if(isset($this->_attributes["value"])) { 10 | if(!is_array($this->_attributes["value"])) 11 | $this->_attributes["value"] = array($this->_attributes["value"]); 12 | } 13 | else 14 | $this->_attributes["value"] = array(); 15 | 16 | if(substr($this->_attributes["name"], -2) != "[]") 17 | $this->_attributes["name"] .= "[]"; 18 | 19 | $labelClass = $this->_attributes["type"]; 20 | if(!empty($this->inline)) 21 | $labelClass .= " inline"; 22 | 23 | $count = 0; 24 | foreach($this->options as $value => $text) { 25 | $value = $this->getOptionValue($value); 26 | 27 | echo ' '; 31 | ++$count; 32 | } 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/highcontrast/content.css: -------------------------------------------------------------------------------- 1 | body, td, pre { margin:8px;} 2 | body.mceForceColors {background:#FFF; color:#000;} 3 | h1 {font-size: 2em} 4 | h2 {font-size: 1.5em} 5 | h3 {font-size: 1.17em} 6 | h4 {font-size: 1em} 7 | h5 {font-size: .83em} 8 | h6 {font-size: .75em} 9 | .mceItemTable, .mceItemTable td, .mceItemTable th, .mceItemTable caption, .mceItemVisualAid {border: 1px dashed #BBB;} 10 | a.mceItemAnchor {display:inline-block; width:11px !important; height:11px !important; background:url(../default/img/items.gif) no-repeat 0 0;} 11 | span.mceItemNbsp {background: #DDD} 12 | td.mceSelected, th.mceSelected {background-color:#3399ff !important} 13 | img {border:0;} 14 | table, img, hr, .mceItemAnchor {cursor:default} 15 | table td, table th {cursor:text} 16 | ins {border-bottom:1px solid green; text-decoration: none; color:green} 17 | del {color:red; text-decoration:line-through} 18 | cite {border-bottom:1px dashed blue} 19 | acronym {border-bottom:1px dotted #CCC; cursor:help} 20 | abbr {border-bottom:1px dashed #CCC; cursor:help} 21 | 22 | img:-moz-broken {-moz-force-broken-image-icon:1; width:24px; height:24px} 23 | font[face=mceinline] {font-family:inherit !important} 24 | *[contentEditable]:focus {outline:0} 25 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/directionality/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Directionality",{init:function(b,c){var d=this;d.editor=b;function a(e){var h=b.dom,g,f=b.selection.getSelectedBlocks();if(f.length){g=h.getAttrib(f[0],"dir");tinymce.each(f,function(i){if(!h.getParent(i.parentNode,"*[dir='"+e+"']",h.getRoot())){if(g!=e){h.setAttrib(i,"dir",e)}else{h.setAttrib(i,"dir",null)}}});b.nodeChanged()}}b.addCommand("mceDirectionLTR",function(){a("ltr")});b.addCommand("mceDirectionRTL",function(){a("rtl")});b.addButton("ltr",{title:"directionality.ltr_desc",cmd:"mceDirectionLTR"});b.addButton("rtl",{title:"directionality.rtl_desc",cmd:"mceDirectionRTL"});b.onNodeChange.add(d._nodeChange,d)},getInfo:function(){return{longname:"Directionality",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/directionality",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,e){var d=b.dom,c;e=d.getParent(e,d.isBlock);if(!e){a.setDisabled("ltr",1);a.setDisabled("rtl",1);return}c=d.getAttrib(e,"dir");a.setActive("ltr",c=="ltr");a.setDisabled("ltr",0);a.setActive("rtl",c=="rtl");a.setDisabled("rtl",0)}});tinymce.PluginManager.add("directionality",tinymce.plugins.Directionality)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advimage/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.advimage_dlg',{"image_list":"Image List","align_right":"Right","align_left":"Left","align_textbottom":"Text Bottom","align_texttop":"Text Top","align_bottom":"Bottom","align_middle":"Middle","align_top":"Top","align_baseline":"Baseline",align:"Alignment",hspace:"Horizontal Space",vspace:"Vertical Space",dimensions:"Dimensions",border:"Border",list:"Image List",alt:"Image Description",src:"Image URL","dialog_title":"Insert/Edit Image","missing_alt":"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.","example_img":"Appearance Preview Image",misc:"Miscellaneous",mouseout:"For Mouse Out",mouseover:"For Mouse Over","alt_image":"Alternative Image","swap_image":"Swap Image",map:"Image Map",id:"ID",rtl:"Right to Left",ltr:"Left to Right",classes:"Classes",style:"Style","long_desc":"Long Description Link",langcode:"Language Code",langdir:"Language Direction","constrain_proportions":"Constrain Proportions",preview:"Preview",title:"Title",general:"General","tab_advanced":"Advanced","tab_appearance":"Appearance","tab_general":"General",width:"Width",height:"Height"}); -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @license Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | * For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | CKEDITOR.editorConfig = function( config ) { 7 | // Define changes to default configuration here. 8 | // For the complete reference: 9 | // http://docs.ckeditor.com/#!/api/CKEDITOR.config 10 | 11 | // The toolbar groups arrangement, optimized for two toolbar rows. 12 | config.toolbarGroups = [ 13 | { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, 14 | { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, 15 | { name: 'links' }, 16 | { name: 'insert' }, 17 | { name: 'forms' }, 18 | { name: 'tools' }, 19 | { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, 20 | { name: 'others' }, 21 | '/', 22 | { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, 23 | { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align' ] }, 24 | { name: 'styles' }, 25 | { name: 'colors' }, 26 | { name: 'about' } 27 | ]; 28 | 29 | // Remove some buttons, provided by the standard plugins, which we don't 30 | // need to have in the Standard(s) toolbar. 31 | config.removeButtons = 'Underline,Subscript,Superscript'; 32 | }; 33 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/anchor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#advanced_dlg.anchor_title} 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
{#advanced_dlg.anchor_title}
19 | 20 |
21 | 22 | 23 |
24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/assets/uilanguages/languages.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | var CKEDITOR_LANGS=function(){var c={af:"Afrikaans",ar:"Arabic",bg:"Bulgarian",bn:"Bengali/Bangla",bs:"Bosnian",ca:"Catalan",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English","en-au":"English (Australia)","en-ca":"English (Canadian)","en-gb":"English (United Kingdom)",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fo:"Faroese",fr:"French","fr-ca":"French (Canada)",gl:"Galician",gu:"Gujarati",he:"Hebrew",hi:"Hindi",hr:"Croatian",hu:"Hungarian",is:"Icelandic", 6 | it:"Italian",ja:"Japanese",ka:"Georgian",km:"Khmer",ko:"Korean",ku:"Kurdish",lt:"Lithuanian",lv:"Latvian",mn:"Mongolian",ms:"Malay",nb:"Norwegian Bokmal",nl:"Dutch",no:"Norwegian",pl:"Polish",pt:"Portuguese (Portugal)","pt-br":"Portuguese (Brazil)",ro:"Romanian",ru:"Russian",sk:"Slovak",sl:"Slovenian",sr:"Serbian (Cyrillic)","sr-latn":"Serbian (Latin)",sv:"Swedish",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",zh:"Chinese Traditional","zh-cn":"Chinese Simplified"},b=[],a;for(a in CKEDITOR.lang.languages)b.push({code:a, 7 | name:c[a]||a});b.sort(function(a,b){return a.name 2 | 3 | {#paste.paste_text_desc} 4 | 5 | 6 | 7 | 8 |
9 |
{#paste.paste_text_desc}
10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 |
{#paste_dlg.text_title}
18 | 19 | 20 | 21 |
22 | 23 | 24 |
25 |
26 | 27 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/visualchars/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.VisualChars",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceVisualChars",c._toggleVisualChars,c);a.addButton("visualchars",{title:"visualchars.desc",cmd:"mceVisualChars"});a.onBeforeGetContent.add(function(d,e){if(c.state&&e.format!="raw"&&!e.draft){c.state=true;c._toggleVisualChars(false)}})},getInfo:function(){return{longname:"Visual characters",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualchars",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_toggleVisualChars:function(m){var p=this,k=p.editor,a,g,j,n=k.getDoc(),o=k.getBody(),l,q=k.selection,e,c,f;p.state=!p.state;k.controlManager.setActive("visualchars",p.state);if(m){f=q.getBookmark()}if(p.state){a=[];tinymce.walk(o,function(b){if(b.nodeType==3&&b.nodeValue&&b.nodeValue.indexOf("\u00a0")!=-1){a.push(b)}},"childNodes");for(g=0;g$1');c=k.dom.create("div",null,l);while(node=c.lastChild){k.dom.insertAfter(node,a[g])}k.dom.remove(a[g])}}else{a=k.dom.select("span.mceItemNbsp",o);for(g=a.length-1;g>=0;g--){k.dom.remove(a[g],1)}}q.moveToBookmark(f)}});tinymce.PluginManager.add("visualchars",tinymce.plugins.VisualChars)})(); -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.plugins.setLang("a11yhelp","zh-cn",{title:"辅助说明",contents:"帮助内容。要关闭此对话框请按 ESC 键。",legend:[{name:"常规",items:[{name:"编辑器工具栏",legend:"按 ${toolbarFocus} 导航到工具栏,使用 TAB 键或 SHIFT+TAB 组合键选择工具栏组,使用左右箭头键选择按钮,按空格键或回车键以应用选中的按钮。"},{name:"编辑器对话框",legend:"在对话框内,TAB 键移动到下一个字段,SHIFT + TAB 组合键移动到上一个字段,ENTER 键提交对话框,ESC 键取消对话框。对于有多标签的对话框,用ALT + F10来移到标签列表。然后用 TAB 键或者向右箭头来移动到下一个标签;SHIFT + TAB 组合键或者向左箭头移动到上一个标签。用 SPACE 键或者 ENTER 键选择标签。"},{name:"编辑器上下文菜单",legend:"用 ${contextMenu}或者 应用程序键 打开上下文菜单。然后用 TAB 键或者下箭头键来移动到下一个菜单项;SHIFT + TAB 组合键或者上箭头键移动到上一个菜单项。用 SPACE 键或者 ENTER 键选择菜单项。用 SPACE 键,ENTER 键或者右箭头键打开子菜单。返回菜单用 ESC 键或者左箭头键。用 ESC 键关闭上下文菜单。"}, 6 | {name:"编辑器列表框",legend:"在列表框中,移到下一列表项用 TAB 键或者下箭头键。移到上一列表项用SHIFT + TAB 组合键或者上箭头键,用 SPACE 键或者 ENTER 键选择列表项。用 ESC 键收起列表框。"},{name:"编辑器元素路径栏",legend:"按 ${elementsPathFocus} 以导航到元素路径栏,使用 TAB 键或右箭头键选择下一个元素,使用 SHIFT+TAB 组合键或左箭头键选择上一个元素,按空格键或回车键以选定编辑器里的元素。"}]},{name:"命令",items:[{name:" 撤消命令",legend:"按 ${undo}"},{name:" 重做命令",legend:"按 ${redo}"},{name:" 加粗命令",legend:"按 ${bold}"},{name:" 倾斜命令",legend:"按 ${italic}"},{name:" 下划线命令",legend:"按 ${underline}"},{name:" 链接命令",legend:"按 ${link}"},{name:" 工具栏折叠命令",legend:"按 ${toolbarCollapse}"}, 7 | {name:" 无障碍设计说明",legend:"按 ${a11yHelp}"}]}]}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/source_editor.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#advanced_dlg.code_title} 4 | 5 | 6 | 7 | 8 |
9 |
10 | 11 |
12 | 13 |
14 | 15 |
16 | 17 | 18 | 19 |
20 | 21 | 22 |
23 |
24 | 25 | 26 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/pagebreak/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.PageBreakPlugin",{init:function(b,d){var f='',a="mcePageBreak",c=b.getParam("pagebreak_separator",""),e;e=new RegExp(c.replace(/[\?\.\*\[\]\(\)\{\}\+\^\$\:]/g,function(g){return"\\"+g}),"g");b.addCommand("mcePageBreak",function(){b.execCommand("mceInsertContent",0,f)});b.addButton("pagebreak",{title:"pagebreak.desc",cmd:a});b.onInit.add(function(){if(b.theme.onResolveName){b.theme.onResolveName.add(function(g,h){if(h.node.nodeName=="IMG"&&b.dom.hasClass(h.node,a)){h.name="pagebreak"}})}});b.onClick.add(function(g,h){h=h.target;if(h.nodeName==="IMG"&&g.dom.hasClass(h,a)){g.selection.select(h)}});b.onNodeChange.add(function(h,g,i){g.setActive("pagebreak",i.nodeName==="IMG"&&h.dom.hasClass(i,a))});b.onBeforeSetContent.add(function(g,h){h.content=h.content.replace(e,f)});b.onPostProcess.add(function(g,h){if(h.get){h.content=h.content.replace(/]+>/g,function(i){if(i.indexOf('class="mcePageBreak')!==-1){i=c}return i})}})},getInfo:function(){return{longname:"PageBreak",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/pagebreak",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("pagebreak",tinymce.plugins.PageBreakPlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/about/dialogs/about.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.dialog.add("about",function(a){a=a.lang.about;return{title:CKEDITOR.env.ie?a.dlgTitle:a.title,minWidth:390,minHeight:230,contents:[{id:"tab1",label:"",title:"",expand:!0,padding:0,elements:[{type:"html",html:'

CKEditor '+ 6 | CKEDITOR.version+" (revision "+CKEDITOR.revision+')
http://ckeditor.com

'+a.help.replace("$1",''+a.userGuide+"")+"

"+a.moreInfo+'
http://ckeditor.com/about/license

'+a.copy.replace("$1",'CKSource - Frederico Knabben')+"

"}]}],buttons:[CKEDITOR.dialog.cancelButton]}}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/emotions/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function(tinymce) { 12 | tinymce.create('tinymce.plugins.EmotionsPlugin', { 13 | init : function(ed, url) { 14 | // Register commands 15 | ed.addCommand('mceEmotion', function() { 16 | ed.windowManager.open({ 17 | file : url + '/emotions.htm', 18 | width : 250 + parseInt(ed.getLang('emotions.delta_width', 0)), 19 | height : 160 + parseInt(ed.getLang('emotions.delta_height', 0)), 20 | inline : 1 21 | }, { 22 | plugin_url : url 23 | }); 24 | }); 25 | 26 | // Register buttons 27 | ed.addButton('emotions', {title : 'emotions.emotions_desc', cmd : 'mceEmotion'}); 28 | }, 29 | 30 | getInfo : function() { 31 | return { 32 | longname : 'Emotions', 33 | author : 'Moxiecode Systems AB', 34 | authorurl : 'http://tinymce.moxiecode.com', 35 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/emotions', 36 | version : tinymce.majorVersion + "." + tinymce.minorVersion 37 | }; 38 | } 39 | }); 40 | 41 | // Register plugin 42 | tinymce.PluginManager.add('emotions', tinymce.plugins.EmotionsPlugin); 43 | })(tinymce); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/media/css/media.css: -------------------------------------------------------------------------------- 1 | #id, #name, #hspace, #vspace, #class_name, #align { width: 100px } 2 | #hspace, #vspace { width: 50px } 3 | #flash_quality, #flash_align, #flash_scale, #flash_salign, #flash_wmode { width: 100px } 4 | #flash_base, #flash_flashvars, #html5_altsource1, #html5_altsource2, #html5_poster { width: 240px } 5 | #width, #height { width: 40px } 6 | #src, #media_type { width: 250px } 7 | #class { width: 120px } 8 | #prev { margin: 0; border: 1px solid black; width: 380px; height: 260px; overflow: auto } 9 | .panel_wrapper div.current { height: 420px; overflow: auto } 10 | #flash_options, #shockwave_options, #qt_options, #wmp_options, #rmp_options { display: none } 11 | .mceAddSelectValue { background-color: #DDDDDD } 12 | #qt_starttime, #qt_endtime, #qt_fov, #qt_href, #qt_moveid, #qt_moviename, #qt_node, #qt_pan, #qt_qtsrc, #qt_qtsrcchokespeed, #qt_target, #qt_tilt, #qt_urlsubstituten, #qt_volume { width: 70px } 13 | #wmp_balance, #wmp_baseurl, #wmp_captioningid, #wmp_currentmarker, #wmp_currentposition, #wmp_defaultframe, #wmp_playcount, #wmp_rate, #wmp_uimode, #wmp_volume { width: 70px } 14 | #rmp_console, #rmp_numloop, #rmp_controls, #rmp_scriptcallbacks { width: 70px } 15 | #shockwave_swvolume, #shockwave_swframe, #shockwave_swurl, #shockwave_swstretchvalign, #shockwave_swstretchhalign, #shockwave_swstretchstyle { width: 90px } 16 | #qt_qtsrc { width: 200px } 17 | iframe {border: 1px solid gray} 18 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/autoresize/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.AutoResizePlugin",{init:function(a,c){var d=this,e=0;if(a.getParam("fullscreen_is_enabled")){return}function b(){var j,i=a.getDoc(),f=i.body,l=i.documentElement,h=tinymce.DOM,k=d.autoresize_min_height,g;g=tinymce.isIE?f.scrollHeight:(tinymce.isWebKit&&f.clientHeight==0?0:f.offsetHeight);if(g>d.autoresize_min_height){k=g}if(d.autoresize_max_height&&g>d.autoresize_max_height){k=d.autoresize_max_height;f.style.overflowY="auto";l.style.overflowY="auto"}else{f.style.overflowY="hidden";l.style.overflowY="hidden";f.scrollTop=0}if(k!==e){j=k-e;h.setStyle(h.get(a.id+"_ifr"),"height",k+"px");e=k;if(tinymce.isWebKit&&j<0){b()}}}d.editor=a;d.autoresize_min_height=parseInt(a.getParam("autoresize_min_height",a.getElement().offsetHeight));d.autoresize_max_height=parseInt(a.getParam("autoresize_max_height",0));a.onInit.add(function(f){f.dom.setStyle(f.getBody(),"paddingBottom",f.getParam("autoresize_bottom_margin",50)+"px")});a.onChange.add(b);a.onSetContent.add(b);a.onPaste.add(b);a.onKeyUp.add(b);a.onPostRender.add(b);if(a.getParam("autoresize_on_init",true)){a.onLoad.add(b);a.onLoadContent.add(b)}a.addCommand("mceAutoResize",b)},getInfo:function(){return{longname:"Auto Resize",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autoresize",tinymce.plugins.AutoResizePlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/README.md: -------------------------------------------------------------------------------- 1 | CKEditor 4 2 | ========== 3 | 4 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 5 | http://ckeditor.com - See LICENSE.md for license information. 6 | 7 | CKEditor is a text editor to be used inside web pages. It's not a replacement 8 | for desktop text editors like Word or OpenOffice, but a component to be used as 9 | part of web applications and websites. 10 | 11 | ## Documentation 12 | 13 | The full editor documentation is available online at the following address: 14 | http://docs.ckeditor.com 15 | 16 | ## Installation 17 | 18 | Installing CKEditor is an easy task. Just follow these simple steps: 19 | 20 | 1. **Download** the latest version from the CKEditor website: 21 | http://ckeditor.com. You should have already completed this step, but be 22 | sure you have the very latest version. 23 | 2. **Extract** (decompress) the downloaded file into the root of your website. 24 | 25 | **Note:** CKEditor is by default installed in the `ckeditor` folder. You can 26 | place the files in whichever you want though. 27 | 28 | ## Checking Your Installation 29 | 30 | The editor comes with a few sample pages that can be used to verify that 31 | installation proceeded properly. Take a look at the `samples` directory. 32 | 33 | To test your installation, just call the following page at your website: 34 | 35 | http:////samples/index.html 36 | 37 | For example: 38 | 39 | http://www.example.com/ckeditor/samples/index.html 40 | -------------------------------------------------------------------------------- /PFBC/View/Vertical.php: -------------------------------------------------------------------------------- 1 | _form->getAttributes(), '>'; 7 | $this->_form->getErrorView()->render(); 8 | 9 | $elements = $this->_form->getElements(); 10 | $elementSize = sizeof($elements); 11 | $elementCount = 0; 12 | for($e = 0; $e < $elementSize; ++$e) { 13 | $element = $elements[$e]; 14 | 15 | if($element instanceof \PFBC\Element\Button) { 16 | if($e == 0 || !$elements[($e - 1)] instanceof \PFBC\Element\Button) 17 | echo '
'; 18 | else 19 | echo ' '; 20 | $element->render(); 21 | if(($e + 1) == $elementSize || !$elements[($e + 1)] instanceof \PFBC\Element\Button) 22 | echo '
'; 23 | } 24 | else { 25 | $this->renderLabel($element); 26 | $element->render(); 27 | $this->renderDescriptions($element); 28 | ++$elementCount; 29 | } 30 | } 31 | 32 | echo ''; 33 | } 34 | 35 | protected function renderLabel(\PFBC\Element $element) { 36 | $label = $element->getLabel(); 37 | echo ''; 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advhr/js/rule.js: -------------------------------------------------------------------------------- 1 | var AdvHRDialog = { 2 | init : function(ed) { 3 | var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w; 4 | 5 | w = dom.getAttrib(n, 'width'); 6 | f.width.value = w ? parseInt(w) : (dom.getStyle('width') || ''); 7 | f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || ''; 8 | f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width'); 9 | selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px'); 10 | }, 11 | 12 | update : function() { 13 | var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = ''; 14 | 15 | h = '_form->getResourcesPath() . "/jquery-ui/css/smoothness/jquery-ui.min.css" 10 | ); 11 | } 12 | 13 | public function getJSFiles() { 14 | return array( 15 | $this->_form->getResourcesPath() . "/jquery-ui/js/jquery-ui.min.js" 16 | ); 17 | } 18 | 19 | public function jQueryDocumentReady() { 20 | echo 'jQuery("#', $this->_attributes["id"], '").sortable(', $this->jQueryOptions(), ');'; 21 | echo 'jQuery("#', $this->_attributes["id"], '").disableSelection();'; 22 | } 23 | 24 | public function render() { 25 | if(substr($this->_attributes["name"], -2) != "[]") 26 | $this->_attributes["name"] .= "[]"; 27 | 28 | echo '
    '; 29 | foreach($this->options as $value => $text) { 30 | $value = $this->getOptionValue($value); 31 | echo '
  • ', $text, '
  • '; 32 | } 33 | echo "
"; 34 | } 35 | 36 | public function renderCSS() { 37 | echo '#', $this->_attributes["id"], ' { list-style-type: none; margin: 0; padding: 0; cursor: pointer; max-width: 400px; }'; 38 | echo '#', $this->_attributes["id"], ' li { margin: 0.25em 0; padding: 0.5em; font-size: 1em; }'; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/save/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.Save",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceSave",c._save,c);a.addCommand("mceCancel",c._cancel,c);a.addButton("save",{title:"save.save_desc",cmd:"mceSave"});a.addButton("cancel",{title:"save.cancel_desc",cmd:"mceCancel"});a.onNodeChange.add(c._nodeChange,c);a.addShortcut("ctrl+s",a.getLang("save.save_desc"),"mceSave")},getInfo:function(){return{longname:"Save",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/save",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_nodeChange:function(b,a,c){var b=this.editor;if(b.getParam("save_enablewhendirty")){a.setDisabled("save",!b.isDirty());a.setDisabled("cancel",!b.isDirty())}},_save:function(){var c=this.editor,a,e,d,b;a=tinymce.DOM.get(c.id).form||tinymce.DOM.getParent(c.id,"form");if(c.getParam("save_enablewhendirty")&&!c.isDirty()){return}tinyMCE.triggerSave();if(e=c.getParam("save_onsavecallback")){if(c.execCallback("save_onsavecallback",c)){c.startContent=tinymce.trim(c.getContent({format:"raw"}));c.nodeChanged()}return}if(a){c.isNotDirty=true;if(a.onsubmit==null||a.onsubmit()!=false){a.submit()}c.nodeChanged()}else{c.windowManager.alert("Error: No form element found.")}},_cancel:function(){var a=this.editor,c,b=tinymce.trim(a.startContent);if(c=a.getParam("save_oncancelcallback")){a.execCallback("save_oncancelcallback",a);return}a.setContent(b);a.undoManager.clear();a.nodeChanged()}});tinymce.PluginManager.add("save",tinymce.plugins.Save)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/template/template.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | {#template_dlg.title} 4 | 5 | 6 | 7 | 8 | 9 |
10 |
11 |
{#template_dlg.desc}
12 |
13 | 16 |
17 |
18 |
19 |
20 | {#template_dlg.preview} 21 | 22 |
23 |
24 | 25 |
26 | 27 | 28 |
29 |
30 | 31 | 32 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/xhtmlxtras/js/del.js: -------------------------------------------------------------------------------- 1 | /** 2 | * del.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | function init() { 12 | SXE.initElementDialog('del'); 13 | if (SXE.currentAction == "update") { 14 | setFormValue('datetime', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'datetime')); 15 | setFormValue('cite', tinyMCEPopup.editor.dom.getAttrib(SXE.updateElement, 'cite')); 16 | SXE.showRemoveButton(); 17 | } 18 | } 19 | 20 | function setElementAttribs(elm) { 21 | setAllCommonAttribs(elm); 22 | setAttrib(elm, 'datetime'); 23 | setAttrib(elm, 'cite'); 24 | elm.removeAttribute('data-mce-new'); 25 | } 26 | 27 | function insertDel() { 28 | var elm = tinyMCEPopup.editor.dom.getParent(SXE.focusElement, 'DEL'); 29 | 30 | if (elm == null) { 31 | var s = SXE.inst.selection.getContent(); 32 | if(s.length > 0) { 33 | insertInlineElement('del'); 34 | var elementArray = SXE.inst.dom.select('del[data-mce-new]'); 35 | for (var i=0; i 0) { 33 | insertInlineElement('ins'); 34 | var elementArray = SXE.inst.dom.select('ins[data-mce-new]'); 35 | for (var i=0; i0){for(m=j+1;m=0;m--){if(r(n[m])){return n[m]}}}return null}if(p.keyCode===9){k=b(l.getParam("tab_focus",l.getParam("tabfocus_elements",":prev,:next")));if(k.length==1){k[1]=k[0];k[0]=":prev"}if(p.shiftKey){if(k[0]==":prev"){n=q(-1)}else{n=c.get(k[0])}}else{if(k[1]==":next"){n=q(1)}else{n=c.get(k[1])}}if(n){if(n.id&&(l=tinymce.get(n.id||n.name))){l.focus()}else{window.setTimeout(function(){if(!tinymce.isWebKit){window.focus()}n.focus()},10)}return a.cancel(p)}}}f.onKeyUp.add(e);if(tinymce.isGecko){f.onKeyPress.add(h);f.onKeyDown.add(e)}else{f.onKeyDown.add(h)}},getInfo:function(){return{longname:"Tabfocus",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/tabfocus",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("tabfocus",tinymce.plugins.TabFocusPlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/table/merge_cells.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#table_dlg.merge_cells_title} 5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 |
13 | {#table_dlg.merge_cells_title} 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
:
:
24 |
25 | 26 |
27 | 28 | 29 |
30 |
31 | 32 | 33 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advhr/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.AdvancedHRPlugin', { 13 | init : function(ed, url) { 14 | // Register commands 15 | ed.addCommand('mceAdvancedHr', function() { 16 | ed.windowManager.open({ 17 | file : url + '/rule.htm', 18 | width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)), 19 | height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)), 20 | inline : 1 21 | }, { 22 | plugin_url : url 23 | }); 24 | }); 25 | 26 | // Register buttons 27 | ed.addButton('advhr', { 28 | title : 'advhr.advhr_desc', 29 | cmd : 'mceAdvancedHr' 30 | }); 31 | 32 | ed.onNodeChange.add(function(ed, cm, n) { 33 | cm.setActive('advhr', n.nodeName == 'HR'); 34 | }); 35 | 36 | ed.onClick.add(function(ed, e) { 37 | e = e.target; 38 | 39 | if (e.nodeName === 'HR') 40 | ed.selection.select(e); 41 | }); 42 | }, 43 | 44 | getInfo : function() { 45 | return { 46 | longname : 'Advanced HR', 47 | author : 'Moxiecode Systems AB', 48 | authorurl : 'http://tinymce.moxiecode.com', 49 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr', 50 | version : tinymce.majorVersion + "." + tinymce.minorVersion 51 | }; 52 | } 53 | }); 54 | 55 | // Register plugin 56 | tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin); 57 | })(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/skins/o2k7/ui_black.css: -------------------------------------------------------------------------------- 1 | /* Black */ 2 | .o2k7SkinBlack .mceToolbar .mceToolbarStart span, .o2k7SkinBlack .mceToolbar .mceToolbarEnd span, .o2k7SkinBlack .mceButton, .o2k7SkinBlack .mceSplitButton, .o2k7SkinBlack .mceSeparator, .o2k7SkinBlack .mceSplitButton a.mceOpen, .o2k7SkinBlack .mceListBox a.mceOpen {background-image:url(img/button_bg_black.png)} 3 | .o2k7SkinBlack td.mceToolbar, .o2k7SkinBlack td.mceStatusbar, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack .mceMenuItemTitle span.mceText, .o2k7SkinBlack .mceStatusbar div, .o2k7SkinBlack .mceStatusbar span, .o2k7SkinBlack .mceStatusbar a {background:#535353; color:#FFF} 4 | .o2k7SkinBlack table.mceListBoxEnabled .mceText, o2k7SkinBlack .mceListBox .mceText {background:#FFF; border:1px solid #CBCFD4; border-bottom-color:#989FA9; border-right:0} 5 | .o2k7SkinBlack table.mceListBoxEnabled:hover .mceText, .o2k7SkinBlack .mceListBoxHover .mceText, .o2k7SkinBlack .mceListBoxSelected .mceText {background:#FFF; border:1px solid #FFBD69; border-right:0} 6 | .o2k7SkinBlack .mceExternalToolbar, .o2k7SkinBlack .mceListBox .mceText, .o2k7SkinBlack div.mceMenu, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceFirst td, .o2k7SkinBlack table.mceLayout, .o2k7SkinBlack .mceMenuItemTitle a, .o2k7SkinBlack table.mceLayout tr.mceLast td, .o2k7SkinBlack .mceIframeContainer {border-color: #535353;} 7 | .o2k7SkinBlack table.mceSplitButtonEnabled:hover a.mceAction, .o2k7SkinBlack .mceSplitButtonHover a.mceAction, .o2k7SkinBlack .mceSplitButtonSelected {background-image:url(img/button_bg_black.png)} 8 | .o2k7SkinBlack .mceMenu .mceMenuItemEnabled a:hover, .o2k7SkinBlack .mceMenu .mceMenuItemActive {background-color:#FFE7A1} -------------------------------------------------------------------------------- /PFBC/Element/State.php: -------------------------------------------------------------------------------- 1 | "--Select State--", 8 | "AL" => "Alabama", 9 | "AK" => "Alaska", 10 | "AZ" => "Arizona", 11 | "AR" => "Arkansas", 12 | "CA" => "California", 13 | "CO" => "Colorado", 14 | "CT" => "Connecticut", 15 | "DE" => "Delaware", 16 | "DC" => "District of Columbia", 17 | "FL" => "Florida", 18 | "GA" => "Georgia", 19 | "HI" => "Hawaii", 20 | "ID" => "Idaho", 21 | "IL" => "Illinois", 22 | "IN" => "Indiana", 23 | "IA" => "Iowa", 24 | "KS" => "Kansas", 25 | "KY" => "Kentucky", 26 | "LA" => "Louisiana", 27 | "ME" => "Maine", 28 | "MD" => "Maryland", 29 | "MA" => "Massachusetts", 30 | "MI" => "Michigan", 31 | "MN" => "Minnesota", 32 | "MS" => "Mississippi", 33 | "MO" => "Missouri", 34 | "MT" => "Montana", 35 | "NE" => "Nebraska", 36 | "NV" => "Nevada", 37 | "NH" => "New Hampshire", 38 | "NJ" => "New Jersey", 39 | "NM" => "New Mexico", 40 | "NY" => "New York", 41 | "NC" => "North Carolina", 42 | "ND" => "North Dakota", 43 | "OH" => "Ohio", 44 | "OK" => "Oklahoma", 45 | "OR" => "Oregon", 46 | "PA" => "Pennsylvania", 47 | "RI" => "Rhode Island", 48 | "SC" => "South Carolina", 49 | "SD" => "South Dakota", 50 | "TN" => "Tennessee", 51 | "TX" => "Texas", 52 | "UT" => "Utah", 53 | "VT" => "Vermont", 54 | "VA" => "Virginia", 55 | "WA" => "Washington", 56 | "WV" => "West Virginia", 57 | "WI" => "Wisconsin", 58 | "WY" => "Wyoming" 59 | ); 60 | parent::__construct($label, $name, $options, $properties); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/assets/posteddata.php: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | Sample — CKEditor 12 | 13 | 14 | 15 |

16 | CKEditor — Posted Data 17 |

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | $value ) 34 | { 35 | if ( get_magic_quotes_gpc() ) 36 | $postedValue = htmlspecialchars( stripslashes( $value ) ) ; 37 | else 38 | $postedValue = htmlspecialchars( $value ) ; 39 | 40 | ?> 41 | 42 | 43 | 44 | 45 | 48 |
Field NameValue
49 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/iespell/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.IESpell', { 13 | init : function(ed, url) { 14 | var t = this, sp; 15 | 16 | if (!tinymce.isIE) 17 | return; 18 | 19 | t.editor = ed; 20 | 21 | // Register commands 22 | ed.addCommand('mceIESpell', function() { 23 | try { 24 | sp = new ActiveXObject("ieSpell.ieSpellExtension"); 25 | sp.CheckDocumentNode(ed.getDoc().documentElement); 26 | } catch (e) { 27 | if (e.number == -2146827859) { 28 | ed.windowManager.confirm(ed.getLang("iespell.download"), function(s) { 29 | if (s) 30 | window.open('http://www.iespell.com/download.php', 'ieSpellDownload', ''); 31 | }); 32 | } else 33 | ed.windowManager.alert("Error Loading ieSpell: Exception " + e.number); 34 | } 35 | }); 36 | 37 | // Register buttons 38 | ed.addButton('iespell', {title : 'iespell.iespell_desc', cmd : 'mceIESpell'}); 39 | }, 40 | 41 | getInfo : function() { 42 | return { 43 | longname : 'IESpell (IE Only)', 44 | author : 'Moxiecode Systems AB', 45 | authorurl : 'http://tinymce.moxiecode.com', 46 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/iespell', 47 | version : tinymce.majorVersion + "." + tinymce.minorVersion 48 | }; 49 | } 50 | }); 51 | 52 | // Register plugin 53 | tinymce.PluginManager.add('iespell', tinymce.plugins.IESpell); 54 | })(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/js/anchor.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var AnchorDialog = { 4 | init : function(ed) { 5 | var action, elm, f = document.forms[0]; 6 | 7 | this.editor = ed; 8 | elm = ed.dom.getParent(ed.selection.getNode(), 'A'); 9 | v = ed.dom.getAttrib(elm, 'name') || ed.dom.getAttrib(elm, 'id'); 10 | 11 | if (v) { 12 | this.action = 'update'; 13 | f.anchorName.value = v; 14 | } 15 | 16 | f.insert.value = ed.getLang(elm ? 'update' : 'insert'); 17 | }, 18 | 19 | update : function() { 20 | var ed = this.editor, elm, name = document.forms[0].anchorName.value, attribName; 21 | 22 | if (!name || !/^[a-z][a-z0-9\-\_:\.]*$/i.test(name)) { 23 | tinyMCEPopup.alert('advanced_dlg.anchor_invalid'); 24 | return; 25 | } 26 | 27 | tinyMCEPopup.restoreSelection(); 28 | 29 | if (this.action != 'update') 30 | ed.selection.collapse(1); 31 | 32 | var aRule = ed.schema.getElementRule('a'); 33 | if (!aRule || aRule.attributes.name) { 34 | attribName = 'name'; 35 | } else { 36 | attribName = 'id'; 37 | } 38 | 39 | elm = ed.dom.getParent(ed.selection.getNode(), 'A'); 40 | if (elm) { 41 | elm.setAttribute(attribName, name); 42 | elm[attribName] = name; 43 | ed.undoManager.add(); 44 | } else { 45 | // create with zero-sized nbsp so that in Webkit where anchor is on last line by itself caret cannot be placed after it 46 | var attrs = {'class' : 'mceItemAnchor'}; 47 | attrs[attribName] = name; 48 | ed.execCommand('mceInsertContent', 0, ed.dom.createHTML('a', attrs, '\uFEFF')); 49 | ed.nodeChanged(); 50 | } 51 | 52 | tinyMCEPopup.close(); 53 | } 54 | }; 55 | 56 | tinyMCEPopup.onInit.add(AnchorDialog.init, AnchorDialog); 57 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/nonbreaking/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.Nonbreaking', { 13 | init : function(ed, url) { 14 | var t = this; 15 | 16 | t.editor = ed; 17 | 18 | // Register commands 19 | ed.addCommand('mceNonBreaking', function() { 20 | ed.execCommand('mceInsertContent', false, (ed.plugins.visualchars && ed.plugins.visualchars.state) ? ' ' : ' '); 21 | }); 22 | 23 | // Register buttons 24 | ed.addButton('nonbreaking', {title : 'nonbreaking.nonbreaking_desc', cmd : 'mceNonBreaking'}); 25 | 26 | if (ed.getParam('nonbreaking_force_tab')) { 27 | ed.onKeyDown.add(function(ed, e) { 28 | if (e.keyCode == 9) { 29 | e.preventDefault(); 30 | 31 | ed.execCommand('mceNonBreaking'); 32 | ed.execCommand('mceNonBreaking'); 33 | ed.execCommand('mceNonBreaking'); 34 | } 35 | }); 36 | } 37 | }, 38 | 39 | getInfo : function() { 40 | return { 41 | longname : 'Nonbreaking space', 42 | author : 'Moxiecode Systems AB', 43 | authorurl : 'http://tinymce.moxiecode.com', 44 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/nonbreaking', 45 | version : tinymce.majorVersion + "." + tinymce.minorVersion 46 | }; 47 | } 48 | 49 | // Private methods 50 | }); 51 | 52 | // Register plugin 53 | tinymce.PluginManager.add('nonbreaking', tinymce.plugins.Nonbreaking); 54 | })(); -------------------------------------------------------------------------------- /PFBC/View/RightLabel.php: -------------------------------------------------------------------------------- 1 | _form->appendAttribute("class", $this->class); 9 | 10 | echo '_form->getAttributes(), '>
'; 11 | $this->_form->getErrorView()->render(); 12 | 13 | $elements = $this->_form->getElements(); 14 | $elementSize = sizeof($elements); 15 | $elementCount = 0; 16 | for($e = 0; $e < $elementSize; ++$e) { 17 | $element = $elements[$e]; 18 | 19 | if($element instanceof \PFBC\Element\Hidden || $element instanceof \PFBC\Element\HTML) 20 | $element->render(); 21 | elseif($element instanceof \PFBC\Element\Button) { 22 | if($e == 0 || !$elements[($e - 1)] instanceof \PFBC\Element\Button) 23 | echo '
'; 24 | else 25 | echo ' '; 26 | 27 | $element->render(); 28 | 29 | if(($e + 1) == $elementSize || !$elements[($e + 1)] instanceof \PFBC\Element\Button) 30 | echo '
'; 31 | } 32 | else { 33 | echo '
', $element->render(), $this->renderLabel($element), $this->renderDescriptions($element), '
'; 34 | ++$elementCount; 35 | } 36 | } 37 | 38 | echo '
'; 39 | } 40 | 41 | protected function renderLabel(\PFBC\Element $element) { 42 | $label = $element->getLabel(); 43 | if(!empty($label)) { 44 | echo ''; 49 | } 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /PFBC/View/SideBySide.php: -------------------------------------------------------------------------------- 1 | _form->appendAttribute("class", $this->class); 9 | 10 | echo '_form->getAttributes(), '>
'; 11 | $this->_form->getErrorView()->render(); 12 | 13 | $elements = $this->_form->getElements(); 14 | $elementSize = sizeof($elements); 15 | $elementCount = 0; 16 | for($e = 0; $e < $elementSize; ++$e) { 17 | $element = $elements[$e]; 18 | 19 | if($element instanceof \PFBC\Element\Hidden || $element instanceof \PFBC\Element\HTML) 20 | $element->render(); 21 | elseif($element instanceof \PFBC\Element\Button) { 22 | if($e == 0 || !$elements[($e - 1)] instanceof \PFBC\Element\Button) 23 | echo '
'; 24 | else 25 | echo ' '; 26 | 27 | $element->render(); 28 | 29 | if(($e + 1) == $elementSize || !$elements[($e + 1)] instanceof \PFBC\Element\Button) 30 | echo '
'; 31 | } 32 | else { 33 | echo '
', $this->renderLabel($element), '
', $element->render(), $this->renderDescriptions($element), '
'; 34 | ++$elementCount; 35 | } 36 | } 37 | 38 | echo '
'; 39 | } 40 | 41 | protected function renderLabel(\PFBC\Element $element) { 42 | $label = $element->getLabel(); 43 | if(!empty($label)) { 44 | echo ''; 48 | } 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /PFBC/Element/CKEditor.php: -------------------------------------------------------------------------------- 1 | getAttributes(array("value", "required")), ">"; 9 | if(!empty($this->_attributes["value"])) 10 | echo $this->_attributes["value"]; 11 | echo ""; 12 | } 13 | 14 | function renderJS() { 15 | if(!empty($this->basic)) { 16 | echo <<_attributes["id"], '"'; 41 | if(!empty($this->basic)) 42 | echo ', basicConfig'; 43 | echo ');'; 44 | 45 | $ajax = $this->_form->getAjax(); 46 | $id = $this->_form->getAttribute("id"); 47 | if(!empty($ajax)) 48 | echo 'jQuery("#', $id, '").bind("submit", function() { CKEDITOR.instances["', $this->_attributes["id"], '"].updateElement(); });'; 49 | } 50 | 51 | function getJSFiles() { 52 | return array( 53 | $this->_form->getResourcesPath() . "/ckeditor/ckeditor.js" 54 | ); 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/preview/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.Preview', { 13 | init : function(ed, url) { 14 | var t = this, css = tinymce.explode(ed.settings.content_css); 15 | 16 | t.editor = ed; 17 | 18 | // Force absolute CSS urls 19 | tinymce.each(css, function(u, k) { 20 | css[k] = ed.documentBaseURI.toAbsolute(u); 21 | }); 22 | 23 | ed.addCommand('mcePreview', function() { 24 | ed.windowManager.open({ 25 | file : ed.getParam("plugin_preview_pageurl", url + "/preview.html"), 26 | width : parseInt(ed.getParam("plugin_preview_width", "550")), 27 | height : parseInt(ed.getParam("plugin_preview_height", "600")), 28 | resizable : "yes", 29 | scrollbars : "yes", 30 | popup_css : css ? css.join(',') : ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css"), 31 | inline : ed.getParam("plugin_preview_inline", 1) 32 | }, { 33 | base : ed.documentBaseURI.getURI() 34 | }); 35 | }); 36 | 37 | ed.addButton('preview', {title : 'preview.preview_desc', cmd : 'mcePreview'}); 38 | }, 39 | 40 | getInfo : function() { 41 | return { 42 | longname : 'Preview', 43 | author : 'Moxiecode Systems AB', 44 | authorurl : 'http://tinymce.moxiecode.com', 45 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/preview', 46 | version : tinymce.majorVersion + "." + tinymce.minorVersion 47 | }; 48 | } 49 | }); 50 | 51 | // Register plugin 52 | tinymce.PluginManager.add('preview', tinymce.plugins.Preview); 53 | })(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/paste/js/pasteword.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | 3 | var PasteWordDialog = { 4 | init : function() { 5 | var ed = tinyMCEPopup.editor, el = document.getElementById('iframecontainer'), ifr, doc, css, cssHTML = ''; 6 | 7 | // Create iframe 8 | el.innerHTML = ''; 9 | ifr = document.getElementById('iframe'); 10 | doc = ifr.contentWindow.document; 11 | 12 | // Force absolute CSS urls 13 | css = [ed.baseURI.toAbsolute("themes/" + ed.settings.theme + "/skins/" + ed.settings.skin + "/content.css")]; 14 | css = css.concat(tinymce.explode(ed.settings.content_css) || []); 15 | tinymce.each(css, function(u) { 16 | cssHTML += ''; 17 | }); 18 | 19 | // Write content into iframe 20 | doc.open(); 21 | doc.write('' + cssHTML + ''); 22 | doc.close(); 23 | 24 | doc.designMode = 'on'; 25 | this.resize(); 26 | 27 | window.setTimeout(function() { 28 | ifr.contentWindow.focus(); 29 | }, 10); 30 | }, 31 | 32 | insert : function() { 33 | var h = document.getElementById('iframe').contentWindow.document.body.innerHTML; 34 | 35 | tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h, wordContent : true}); 36 | tinyMCEPopup.close(); 37 | }, 38 | 39 | resize : function() { 40 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 41 | 42 | el = document.getElementById('iframe'); 43 | 44 | if (el) { 45 | el.style.width = (vp.w - 20) + 'px'; 46 | el.style.height = (vp.h - 90) + 'px'; 47 | } 48 | } 49 | }; 50 | 51 | tinyMCEPopup.onInit.add(PasteWordDialog.init, PasteWordDialog); 52 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/contents.css: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | 6 | body 7 | { 8 | /* Font */ 9 | font-family: sans-serif, Arial, Verdana, "Trebuchet MS"; 10 | font-size: 12px; 11 | 12 | /* Text color */ 13 | color: #333; 14 | 15 | /* Remove the background color to make it transparent */ 16 | background-color: #fff; 17 | 18 | margin: 20px; 19 | } 20 | 21 | .cke_editable 22 | { 23 | font-size: 13px; 24 | line-height: 1.6em; 25 | } 26 | 27 | blockquote 28 | { 29 | font-style: italic; 30 | font-family: Georgia, Times, "Times New Roman", serif; 31 | padding: 2px 0; 32 | border-style: solid; 33 | border-color: #ccc; 34 | border-width: 0; 35 | } 36 | 37 | .cke_contents_ltr blockquote 38 | { 39 | padding-left: 20px; 40 | padding-right: 8px; 41 | border-left-width: 5px; 42 | } 43 | 44 | .cke_contents_rtl blockquote 45 | { 46 | padding-left: 8px; 47 | padding-right: 20px; 48 | border-right-width: 5px; 49 | } 50 | 51 | a 52 | { 53 | color: #0782C1; 54 | } 55 | 56 | ol,ul,dl 57 | { 58 | /* IE7: reset rtl list margin. (#7334) */ 59 | *margin-right: 0px; 60 | /* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/ 61 | padding: 0 40px; 62 | } 63 | 64 | h1,h2,h3,h4,h5,h6 65 | { 66 | font-weight: normal; 67 | line-height: 1.2em; 68 | } 69 | 70 | hr 71 | { 72 | border: 0px; 73 | border-top: 1px solid #ccc; 74 | } 75 | 76 | img.right { 77 | border: 1px solid #ccc; 78 | float: right; 79 | margin-left: 15px; 80 | padding: 5px; 81 | } 82 | 83 | img.left { 84 | border: 1px solid #ccc; 85 | float: left; 86 | margin-right: 15px; 87 | padding: 5px; 88 | } 89 | 90 | img:hover { 91 | opacity: .9; 92 | filter: alpha(opacity = 90); 93 | } 94 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/advlink/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.AdvancedLinkPlugin', { 13 | init : function(ed, url) { 14 | this.editor = ed; 15 | 16 | // Register commands 17 | ed.addCommand('mceAdvLink', function() { 18 | var se = ed.selection; 19 | 20 | // No selection and not in link 21 | if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A')) 22 | return; 23 | 24 | ed.windowManager.open({ 25 | file : url + '/link.htm', 26 | width : 480 + parseInt(ed.getLang('advlink.delta_width', 0)), 27 | height : 400 + parseInt(ed.getLang('advlink.delta_height', 0)), 28 | inline : 1 29 | }, { 30 | plugin_url : url 31 | }); 32 | }); 33 | 34 | // Register buttons 35 | ed.addButton('link', { 36 | title : 'advlink.link_desc', 37 | cmd : 'mceAdvLink' 38 | }); 39 | 40 | ed.addShortcut('ctrl+k', 'advlink.advlink_desc', 'mceAdvLink'); 41 | 42 | ed.onNodeChange.add(function(ed, cm, n, co) { 43 | cm.setDisabled('link', co && n.nodeName != 'A'); 44 | cm.setActive('link', n.nodeName == 'A' && !n.name); 45 | }); 46 | }, 47 | 48 | getInfo : function() { 49 | return { 50 | longname : 'Advanced link', 51 | author : 'Moxiecode Systems AB', 52 | authorurl : 'http://tinymce.moxiecode.com', 53 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink', 54 | version : tinymce.majorVersion + "." + tinymce.minorVersion 55 | }; 56 | } 57 | }); 58 | 59 | // Register plugin 60 | tinymce.PluginManager.add('advlink', tinymce.plugins.AdvancedLinkPlugin); 61 | })(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/insertdatetime/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.InsertDateTime",{init:function(a,b){var c=this;c.editor=a;a.addCommand("mceInsertDate",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_dateFormat",a.getLang("insertdatetime.date_fmt")));a.execCommand("mceInsertContent",false,d)});a.addCommand("mceInsertTime",function(){var d=c._getDateTime(new Date(),a.getParam("plugin_insertdate_timeFormat",a.getLang("insertdatetime.time_fmt")));a.execCommand("mceInsertContent",false,d)});a.addButton("insertdate",{title:"insertdatetime.insertdate_desc",cmd:"mceInsertDate"});a.addButton("inserttime",{title:"insertdatetime.inserttime_desc",cmd:"mceInsertTime"})},getInfo:function(){return{longname:"Insert date/time",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/insertdatetime",version:tinymce.majorVersion+"."+tinymce.minorVersion}},_getDateTime:function(e,a){var c=this.editor;function b(g,d){g=""+g;if(g.lengthCKEDITOR.env.version&&(a["class"]="cke_anchor"),a=new CKEDITOR.style({element:"a", 7 | attributes:a}),a.type=CKEDITOR.STYLE_INLINE,c.applyStyle(a))}},onHide:function(){delete this._.selectedElement},onShow:function(){var a=c.getSelection(),b=a.getSelectedElement();if(b)CKEDITOR.plugins.link.fakeAnchor?((a=CKEDITOR.plugins.link.tryRestoreFakeAnchor(c,b))&&d.call(this,a),this._.selectedElement=b):b.is("a")&&b.hasAttribute("name")&&d.call(this,b);else if(b=CKEDITOR.plugins.link.getSelectedLink(c))d.call(this,b),a.selectElement(b);this.getContentElement("info","txtName").focus()},contents:[{id:"info", 8 | label:c.lang.link.anchor.title,accessKey:"I",elements:[{type:"text",id:"txtName",label:c.lang.link.anchor.name,required:!0,validate:function(){return!this.getValue()?(alert(c.lang.link.anchor.errorName),!1):!0}}]}]}}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/wordcount/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(){tinymce.create("tinymce.plugins.WordCount",{block:0,id:null,countre:null,cleanre:null,init:function(c,d){var e=this,f=0,g=tinymce.VK;e.countre=c.getParam("wordcount_countregex",/[\w\u2019\'-]+/g);e.cleanre=c.getParam("wordcount_cleanregex",/[0-9.(),;:!?%#$?\'\"_+=\\\/-]*/g);e.update_rate=c.getParam("wordcount_update_rate",2000);e.update_on_delete=c.getParam("wordcount_update_on_delete",false);e.id=c.id+"-word-count";c.onPostRender.add(function(i,h){var j,k;k=i.getParam("wordcount_target_id");if(!k){j=tinymce.DOM.get(i.id+"_path_row");if(j){tinymce.DOM.add(j.parentNode,"div",{style:"float: right"},i.getLang("wordcount.words","Words: ")+'0')}}else{tinymce.DOM.add(k,"span",{},'0')}});c.onInit.add(function(h){h.selection.onSetContent.add(function(){e._count(h)});e._count(h)});c.onSetContent.add(function(h){e._count(h)});function b(h){return h!==f&&(h===g.ENTER||f===g.SPACEBAR||a(f))}function a(h){return h===g.DELETE||h===g.BACKSPACE}c.onKeyUp.add(function(h,i){if(b(i.keyCode)||e.update_on_delete&&a(i.keyCode)){e._count(h)}f=i.keyCode})},_getCount:function(c){var a=0;var b=c.getContent({format:"raw"});if(b){b=b.replace(/\.\.\./g," ");b=b.replace(/<.[^<>]*?>/g," ").replace(/ | /gi," ");b=b.replace(/(\w+)(&.+?;)+(\w+)/,"$1$3").replace(/&.+?;/g," ");b=b.replace(this.cleanre,"");var d=b.match(this.countre);if(d){a=d.length}}return a},_count:function(a){var b=this;if(b.block){return}b.block=1;setTimeout(function(){if(!a.destroyed){var c=b._getCount(a);tinymce.DOM.setHTML(b.id,c.toString());setTimeout(function(){b.block=0},b.update_rate)}},1)},getInfo:function(){return{longname:"Word Count plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/wordcount",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("wordcount",tinymce.plugins.WordCount)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/shortcuts.htm: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | {#advanced_dlg.accessibility_help} 5 | 6 | 7 | 8 | 9 |

{#advanced_dlg.accessibility_usage_title}

10 |

Toolbars

11 |

Press ALT-F10 to move focus to the toolbars. Navigate through the buttons using the arrow keys. 12 | Press enter to activate a button and return focus to the editor. 13 | Press escape to return focus to the editor without performing any actions.

14 | 15 |

Status Bar

16 |

To access the editor status bar, press ALT-F11. Use the left and right arrow keys to navigate between elements in the path. 17 | Press enter or space to select an element. Press escape to return focus to the editor without changing the selection.

18 | 19 |

Context Menu

20 |

Press shift-F10 to activate the context menu. Use the up and down arrow keys to move between menu items. To open sub-menus press the right arrow key. 21 | To close submenus press the left arrow key. Press escape to close the context menu.

22 | 23 |

Keyboard Shortcuts

24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 |
KeystrokeFunction
Control-BBold
Control-IItalic
Control-ZUndo
Control-YRedo
46 | 47 | 48 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.advanced_dlg', {"link_list":"Link List","link_is_external":"The URL you entered seems to be an external link. Do you want to add the required http:// prefix?","link_is_email":"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?","link_titlefield":"Title","link_target_blank":"Open Link in a New Window","link_target_same":"Open Link in the Same Window","link_target":"Target","link_url":"Link URL","link_title":"Insert/Edit Link","image_align_right":"Right","image_align_left":"Left","image_align_textbottom":"Text Bottom","image_align_texttop":"Text Top","image_align_bottom":"Bottom","image_align_middle":"Middle","image_align_top":"Top","image_align_baseline":"Baseline","image_align":"Alignment","image_hspace":"Horizontal Space","image_vspace":"Vertical Space","image_dimensions":"Dimensions","image_alt":"Image Description","image_list":"Image List","image_border":"Border","image_src":"Image URL","image_title":"Insert/Edit Image","charmap_title":"Select Special Character", "charmap_usage":"Use left and right arrows to navigate.","colorpicker_name":"Name:","colorpicker_color":"Color:","colorpicker_named_title":"Named Colors","colorpicker_named_tab":"Named","colorpicker_palette_title":"Palette Colors","colorpicker_palette_tab":"Palette","colorpicker_picker_title":"Color Picker","colorpicker_picker_tab":"Picker","colorpicker_title":"Select a Color","code_wordwrap":"Word Wrap","code_title":"HTML Source Editor","anchor_name":"Anchor Name","anchor_title":"Insert/Edit Anchor","about_loaded":"Loaded Plugins","about_version":"Version","about_author":"Author","about_plugin":"Plugin","about_plugins":"Plugins","about_license":"License","about_help":"Help","about_general":"About","about_title":"About TinyMCE","anchor_invalid":"Please specify a valid anchor name.","accessibility_help":"Accessibility Help","accessibility_usage_title":"General Usage","invalid_color_value":"Invalid color value","":""}); 2 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/visualblocks/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2012, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.VisualBlocks', { 13 | init : function(ed, url) { 14 | var cssId; 15 | 16 | // We don't support older browsers like IE6/7 and they don't provide prototypes for DOM objects 17 | if (!window.NodeList) { 18 | return; 19 | } 20 | 21 | ed.addCommand('mceVisualBlocks', function() { 22 | var dom = ed.dom, linkElm; 23 | 24 | if (!cssId) { 25 | cssId = dom.uniqueId(); 26 | linkElm = dom.create('link', { 27 | id: cssId, 28 | rel : 'stylesheet', 29 | href : url + '/css/visualblocks.css' 30 | }); 31 | 32 | ed.getDoc().getElementsByTagName('head')[0].appendChild(linkElm); 33 | } else { 34 | linkElm = dom.get(cssId); 35 | linkElm.disabled = !linkElm.disabled; 36 | } 37 | 38 | ed.controlManager.setActive('visualblocks', !linkElm.disabled); 39 | }); 40 | 41 | ed.addButton('visualblocks', {title : 'visualblocks.desc', cmd : 'mceVisualBlocks'}); 42 | 43 | ed.onInit.add(function() { 44 | if (ed.settings.visualblocks_default_state) { 45 | ed.execCommand('mceVisualBlocks', false, null, {skip_focus : true}); 46 | } 47 | }); 48 | }, 49 | 50 | getInfo : function() { 51 | return { 52 | longname : 'Visual blocks', 53 | author : 'Moxiecode Systems AB', 54 | authorurl : 'http://tinymce.moxiecode.com', 55 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/visualblocks', 56 | version : tinymce.majorVersion + "." + tinymce.minorVersion 57 | }; 58 | } 59 | }); 60 | 61 | // Register plugin 62 | tinymce.PluginManager.add('visualblocks', tinymce.plugins.VisualBlocks); 63 | })(); -------------------------------------------------------------------------------- /PFBC/ErrorView/Standard.php: -------------------------------------------------------------------------------- 1 | _form->getAttribute("id"); 7 | echo <<
    '; 15 | for(e = 0; e < errorSize; ++e) 16 | errorHTML += '
  • ' + response.errors[e] + '
  • '; 17 | errorHTML += '
'; 18 | jQuery("#$id").prepend(errorHTML); 19 | JS; 20 | 21 | } 22 | 23 | private function parse($errors) { 24 | $list = array(); 25 | if(!empty($errors)) { 26 | $keys = array_keys($errors); 27 | $keySize = sizeof($keys); 28 | for($k = 0; $k < $keySize; ++$k) 29 | $list = array_merge($list, $errors[$keys[$k]]); 30 | } 31 | return $list; 32 | } 33 | 34 | public function render() { 35 | $errors = $this->parse($this->_form->getErrors()); 36 | if(!empty($errors)) { 37 | $size = sizeof($errors); 38 | $errors = implode("
  • ", $errors); 39 | 40 | if($size == 1) 41 | $format = "error was"; 42 | else 43 | $format = $size . " errors were"; 44 | 45 | echo << 47 | × 48 | The following $format found: 49 |
    • $errors
    50 | 51 | HTML; 52 | } 53 | } 54 | 55 | public function renderAjaxErrorResponse() { 56 | $errors = $this->parse($this->_form->getErrors()); 57 | if(!empty($errors)) { 58 | header("Content-type: application/json"); 59 | echo json_encode(array("errors" => $errors)); 60 | } 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/legacyoutput/editor_plugin.js: -------------------------------------------------------------------------------- 1 | (function(a){a.onAddEditor.addToTop(function(c,b){b.settings.inline_styles=false});a.create("tinymce.plugins.LegacyOutput",{init:function(b){b.onInit.add(function(){var c="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",e=a.explode(b.settings.font_size_style_values),d=b.schema;b.formatter.register({alignleft:{selector:c,attributes:{align:"left"}},aligncenter:{selector:c,attributes:{align:"center"}},alignright:{selector:c,attributes:{align:"right"}},alignfull:{selector:c,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:true}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:true}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(f){return a.inArray(e,f.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}});a.each("b,i,u,strike".split(","),function(f){d.addValidElements(f+"[*]")});if(!d.getElementRule("font")){d.addValidElements("font[face|size|color|style]")}a.each(c.split(","),function(f){var h=d.getElementRule(f),g;if(h){if(!h.attributes.align){h.attributes.align={};h.attributesOrder.push("align")}}});b.onNodeChange.add(function(g,k){var j,f,h,i;f=g.dom.getParent(g.selection.getNode(),"font");if(f){h=f.face;i=f.size}if(j=k.get("fontselect")){j.select(function(l){return l==h})}if(j=k.get("fontsizeselect")){j.select(function(m){var l=a.inArray(e,m.fontSize);return l+1==i})}})})},getInfo:function(){return{longname:"LegacyOutput",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/legacyoutput",version:a.majorVersion+"."+a.minorVersion}}});a.PluginManager.add("legacyoutput",a.plugins.LegacyOutput)})(tinymce); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/table/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.table_dlg',{"rules_border":"border","rules_box":"box","rules_vsides":"vsides","rules_rhs":"rhs","rules_lhs":"lhs","rules_hsides":"hsides","rules_below":"below","rules_above":"above","rules_void":"void",rules:"Rules","frame_all":"all","frame_cols":"cols","frame_rows":"rows","frame_groups":"groups","frame_none":"none",frame:"Frame",caption:"Table Caption","missing_scope":"Are you sure you want to continue without specifying a scope for this table header cell. Without it, it may be difficult for some users with disabilities to understand the content or data displayed of the table.","cell_limit":"You\'ve exceeded the maximum number of cells of {$cells}.","row_limit":"You\'ve exceeded the maximum number of rows of {$rows}.","col_limit":"You\'ve exceeded the maximum number of columns of {$cols}.",colgroup:"Col Group",rowgroup:"Row Group",scope:"Scope",tfoot:"Footer",tbody:"Body",thead:"Header","row_all":"Update All Rows in Table","row_even":"Update Even Rows in Table","row_odd":"Update Odd Rows in Table","row_row":"Update Current Row","cell_all":"Update All Cells in Table","cell_row":"Update All Cells in Row","cell_cell":"Update Current Cell",th:"Header",td:"Data",summary:"Summary",bgimage:"Background Image",rtl:"Right to Left",ltr:"Left to Right",mime:"Target MIME Type",langcode:"Language Code",langdir:"Language Direction",style:"Style",id:"ID","merge_cells_title":"Merge Table Cells",bgcolor:"Background Color",bordercolor:"Border Color","align_bottom":"Bottom","align_top":"Top",valign:"Vertical Alignment","cell_type":"Cell Type","cell_title":"Table Cell Properties","row_title":"Table Row Properties","align_middle":"Center","align_right":"Right","align_left":"Left","align_default":"Default",align:"Alignment",border:"Border",cellpadding:"Cell Padding",cellspacing:"Cell Spacing",rows:"Rows",cols:"Columns",height:"Height",width:"Width",title:"Insert/Edit Table",rowtype:"Row Type","advanced_props":"Advanced Properties","general_props":"General Properties","advanced_tab":"Advanced","general_tab":"General","cell_col":"Update all cells in column"}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/advanced/js/source_editor.js: -------------------------------------------------------------------------------- 1 | tinyMCEPopup.requireLangPack(); 2 | tinyMCEPopup.onInit.add(onLoadInit); 3 | 4 | function saveContent() { 5 | tinyMCEPopup.editor.setContent(document.getElementById('htmlSource').value, {source_view : true}); 6 | tinyMCEPopup.close(); 7 | } 8 | 9 | function onLoadInit() { 10 | tinyMCEPopup.resizeToInnerSize(); 11 | 12 | // Remove Gecko spellchecking 13 | if (tinymce.isGecko) 14 | document.body.spellcheck = tinyMCEPopup.editor.getParam("gecko_spellcheck"); 15 | 16 | document.getElementById('htmlSource').value = tinyMCEPopup.editor.getContent({source_view : true}); 17 | 18 | if (tinyMCEPopup.editor.getParam("theme_advanced_source_editor_wrap", true)) { 19 | turnWrapOn(); 20 | document.getElementById('wraped').checked = true; 21 | } 22 | 23 | resizeInputs(); 24 | } 25 | 26 | function setWrap(val) { 27 | var v, n, s = document.getElementById('htmlSource'); 28 | 29 | s.wrap = val; 30 | 31 | if (!tinymce.isIE) { 32 | v = s.value; 33 | n = s.cloneNode(false); 34 | n.setAttribute("wrap", val); 35 | s.parentNode.replaceChild(n, s); 36 | n.value = v; 37 | } 38 | } 39 | 40 | function setWhiteSpaceCss(value) { 41 | var el = document.getElementById('htmlSource'); 42 | tinymce.DOM.setStyle(el, 'white-space', value); 43 | } 44 | 45 | function turnWrapOff() { 46 | if (tinymce.isWebKit) { 47 | setWhiteSpaceCss('pre'); 48 | } else { 49 | setWrap('off'); 50 | } 51 | } 52 | 53 | function turnWrapOn() { 54 | if (tinymce.isWebKit) { 55 | setWhiteSpaceCss('pre-wrap'); 56 | } else { 57 | setWrap('soft'); 58 | } 59 | } 60 | 61 | function toggleWordWrap(elm) { 62 | if (elm.checked) { 63 | turnWrapOn(); 64 | } else { 65 | turnWrapOff(); 66 | } 67 | } 68 | 69 | function resizeInputs() { 70 | var vp = tinyMCEPopup.dom.getViewPort(window), el; 71 | 72 | el = document.getElementById('htmlSource'); 73 | 74 | if (el) { 75 | el.style.width = (vp.w - 20) + 'px'; 76 | el.style.height = (vp.h - 65) + 'px'; 77 | } 78 | } 79 | -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/samples/appendto.html: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | CKEDITOR.appendTo — CKEditor Sample 9 | 10 | 11 | 12 | 13 | 14 |

    15 | CKEditor Samples » Append To Page Element Using JavaScript Code 16 |

    17 |
    18 |
    19 |

    20 | CKEDITOR.appendTo is basically to place editors 21 | inside existing DOM elements. Unlike CKEDITOR.replace, 22 | a target container to be replaced is no longer necessary. A new editor 23 | instance is inserted directly wherever it is desired. 24 |

    25 |
    CKEDITOR.appendTo( 'container_id',
    26 | 	{ /* Configuration options to be used. */ }
    27 | 	'Editor content to be used.'
    28 | );
    29 |
    30 | 44 |
    45 |
    46 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/example_dependency/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | 13 | tinymce.create('tinymce.plugins.ExampleDependencyPlugin', { 14 | /** 15 | * Initializes the plugin, this will be executed after the plugin has been created. 16 | * This call is done before the editor instance has finished it's initialization so use the onInit event 17 | * of the editor instance to intercept that event. 18 | * 19 | * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in. 20 | * @param {string} url Absolute URL to where the plugin is located. 21 | */ 22 | init : function(ed, url) { 23 | }, 24 | 25 | 26 | /** 27 | * Returns information about the plugin as a name/value array. 28 | * The current keys are longname, author, authorurl, infourl and version. 29 | * 30 | * @return {Object} Name/value array containing information about the plugin. 31 | */ 32 | getInfo : function() { 33 | return { 34 | longname : 'Example Dependency plugin', 35 | author : 'Some author', 36 | authorurl : 'http://tinymce.moxiecode.com', 37 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example_dependency', 38 | version : "1.0" 39 | }; 40 | } 41 | }); 42 | 43 | /** 44 | * Register the plugin, specifying the list of the plugins that this plugin depends on. They are specified in a list, with the list loaded in order. 45 | * plugins in this list will be initialised when this plugin is initialized. (before the init method is called). 46 | * plugins in a depends list should typically be specified using the short name). If neccesary this can be done 47 | * with an object which has the url to the plugin and the shortname. 48 | */ 49 | tinymce.PluginManager.add('example_dependency', tinymce.plugins.ExampleDependencyPlugin, ['example']); 50 | })(); 51 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/searchreplace/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.SearchReplacePlugin', { 13 | init : function(ed, url) { 14 | function open(m) { 15 | // Keep IE from writing out the f/r character to the editor 16 | // instance while initializing a new dialog. See: #3131190 17 | window.focus(); 18 | 19 | ed.windowManager.open({ 20 | file : url + '/searchreplace.htm', 21 | width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)), 22 | height : 170 + parseInt(ed.getLang('searchreplace.delta_height', 0)), 23 | inline : 1, 24 | auto_focus : 0 25 | }, { 26 | mode : m, 27 | search_string : ed.selection.getContent({format : 'text'}), 28 | plugin_url : url 29 | }); 30 | }; 31 | 32 | // Register commands 33 | ed.addCommand('mceSearch', function() { 34 | open('search'); 35 | }); 36 | 37 | ed.addCommand('mceReplace', function() { 38 | open('replace'); 39 | }); 40 | 41 | // Register buttons 42 | ed.addButton('search', {title : 'searchreplace.search_desc', cmd : 'mceSearch'}); 43 | ed.addButton('replace', {title : 'searchreplace.replace_desc', cmd : 'mceReplace'}); 44 | 45 | ed.addShortcut('ctrl+f', 'searchreplace.search_desc', 'mceSearch'); 46 | }, 47 | 48 | getInfo : function() { 49 | return { 50 | longname : 'Search/Replace', 51 | author : 'Moxiecode Systems AB', 52 | authorurl : 'http://tinymce.moxiecode.com', 53 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace', 54 | version : tinymce.majorVersion + "." + tinymce.minorVersion 55 | }; 56 | } 57 | }); 58 | 59 | // Register plugin 60 | tinymce.PluginManager.add('searchreplace', tinymce.plugins.SearchReplacePlugin); 61 | })(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/editor_template.js: -------------------------------------------------------------------------------- 1 | (function(){var a=tinymce.DOM;tinymce.ThemeManager.requireLangPack("simple");tinymce.create("tinymce.themes.SimpleTheme",{init:function(c,d){var e=this,b=["Bold","Italic","Underline","Strikethrough","InsertUnorderedList","InsertOrderedList"],f=c.settings;e.editor=c;c.contentCSS.push(d+"/skins/"+f.skin+"/content.css");c.onInit.add(function(){c.onNodeChange.add(function(h,g){tinymce.each(b,function(i){g.get(i.toLowerCase()).setActive(h.queryCommandState(i))})})});a.loadCSS((f.editor_css?c.documentBaseURI.toAbsolute(f.editor_css):"")||d+"/skins/"+f.skin+"/ui.css")},renderUI:function(h){var e=this,i=h.targetNode,b,c,d=e.editor,f=d.controlManager,g;i=a.insertAfter(a.create("span",{id:d.id+"_container","class":"mceEditor "+d.settings.skin+"SimpleSkin"}),i);i=g=a.add(i,"table",{cellPadding:0,cellSpacing:0,"class":"mceLayout"});i=c=a.add(i,"tbody");i=a.add(c,"tr");i=b=a.add(a.add(i,"td"),"div",{"class":"mceIframeContainer"});i=a.add(a.add(c,"tr",{"class":"last"}),"td",{"class":"mceToolbar mceLast",align:"center"});c=e.toolbar=f.createToolbar("tools1");c.add(f.createButton("bold",{title:"simple.bold_desc",cmd:"Bold"}));c.add(f.createButton("italic",{title:"simple.italic_desc",cmd:"Italic"}));c.add(f.createButton("underline",{title:"simple.underline_desc",cmd:"Underline"}));c.add(f.createButton("strikethrough",{title:"simple.striketrough_desc",cmd:"Strikethrough"}));c.add(f.createSeparator());c.add(f.createButton("undo",{title:"simple.undo_desc",cmd:"Undo"}));c.add(f.createButton("redo",{title:"simple.redo_desc",cmd:"Redo"}));c.add(f.createSeparator());c.add(f.createButton("cleanup",{title:"simple.cleanup_desc",cmd:"mceCleanup"}));c.add(f.createSeparator());c.add(f.createButton("insertunorderedlist",{title:"simple.bullist_desc",cmd:"InsertUnorderedList"}));c.add(f.createButton("insertorderedlist",{title:"simple.numlist_desc",cmd:"InsertOrderedList"}));c.renderTo(i);return{iframeContainer:b,editorContainer:d.id+"_container",sizeContainer:g,deltaHeight:-20}},getInfo:function(){return{longname:"Simple theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.ThemeManager.add("simple",tinymce.themes.SimpleTheme)})(); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/themes/simple/skins/default/ui.css: -------------------------------------------------------------------------------- 1 | /* Reset */ 2 | .defaultSimpleSkin table, .defaultSimpleSkin tbody, .defaultSimpleSkin a, .defaultSimpleSkin img, .defaultSimpleSkin tr, .defaultSimpleSkin div, .defaultSimpleSkin td, .defaultSimpleSkin iframe, .defaultSimpleSkin span, .defaultSimpleSkin * {border:0; margin:0; padding:0; background:transparent; white-space:nowrap; text-decoration:none; font-weight:normal; cursor:default; color:#000} 3 | 4 | /* Containers */ 5 | .defaultSimpleSkin {position:relative} 6 | .defaultSimpleSkin table.mceLayout {background:#F0F0EE; border:1px solid #CCC;} 7 | .defaultSimpleSkin iframe {display:block; background:#FFF; border-bottom:1px solid #CCC;} 8 | .defaultSimpleSkin .mceToolbar {height:24px;} 9 | 10 | /* Layout */ 11 | .defaultSimpleSkin span.mceIcon, .defaultSimpleSkin img.mceIcon {display:block; width:20px; height:20px} 12 | .defaultSimpleSkin .mceIcon {background:url(../../img/icons.gif) no-repeat 20px 20px} 13 | 14 | /* Button */ 15 | .defaultSimpleSkin .mceButton {display:block; border:1px solid #F0F0EE; width:20px; height:20px} 16 | .defaultSimpleSkin a.mceButtonEnabled:hover {border:1px solid #0A246A; background-color:#B2BBD0} 17 | .defaultSimpleSkin a.mceButtonActive {border:1px solid #0A246A; background-color:#C2CBE0} 18 | .defaultSimpleSkin .mceButtonDisabled span {opacity:0.3; -ms-filter:'alpha(opacity=30)'; filter:alpha(opacity=30)} 19 | 20 | /* Separator */ 21 | .defaultSimpleSkin .mceSeparator {display:block; background:url(../../img/icons.gif) -180px 0; width:2px; height:20px; margin:0 2px 0 4px} 22 | 23 | /* Theme */ 24 | .defaultSimpleSkin span.mce_bold {background-position:0 0} 25 | .defaultSimpleSkin span.mce_italic {background-position:-60px 0} 26 | .defaultSimpleSkin span.mce_underline {background-position:-140px 0} 27 | .defaultSimpleSkin span.mce_strikethrough {background-position:-120px 0} 28 | .defaultSimpleSkin span.mce_undo {background-position:-160px 0} 29 | .defaultSimpleSkin span.mce_redo {background-position:-100px 0} 30 | .defaultSimpleSkin span.mce_cleanup {background-position:-40px 0} 31 | .defaultSimpleSkin span.mce_insertunorderedlist {background-position:-20px 0} 32 | .defaultSimpleSkin span.mce_insertorderedlist {background-position:-80px 0} 33 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/style/editor_plugin_src.js: -------------------------------------------------------------------------------- 1 | /** 2 | * editor_plugin_src.js 3 | * 4 | * Copyright 2009, Moxiecode Systems AB 5 | * Released under LGPL License. 6 | * 7 | * License: http://tinymce.moxiecode.com/license 8 | * Contributing: http://tinymce.moxiecode.com/contributing 9 | */ 10 | 11 | (function() { 12 | tinymce.create('tinymce.plugins.StylePlugin', { 13 | init : function(ed, url) { 14 | // Register commands 15 | ed.addCommand('mceStyleProps', function() { 16 | 17 | var applyStyleToBlocks = false; 18 | var blocks = ed.selection.getSelectedBlocks(); 19 | var styles = []; 20 | 21 | if (blocks.length === 1) { 22 | styles.push(ed.selection.getNode().style.cssText); 23 | } 24 | else { 25 | tinymce.each(blocks, function(block) { 26 | styles.push(ed.dom.getAttrib(block, 'style')); 27 | }); 28 | applyStyleToBlocks = true; 29 | } 30 | 31 | ed.windowManager.open({ 32 | file : url + '/props.htm', 33 | width : 480 + parseInt(ed.getLang('style.delta_width', 0)), 34 | height : 340 + parseInt(ed.getLang('style.delta_height', 0)), 35 | inline : 1 36 | }, { 37 | applyStyleToBlocks : applyStyleToBlocks, 38 | plugin_url : url, 39 | styles : styles 40 | }); 41 | }); 42 | 43 | ed.addCommand('mceSetElementStyle', function(ui, v) { 44 | if (e = ed.selection.getNode()) { 45 | ed.dom.setAttrib(e, 'style', v); 46 | ed.execCommand('mceRepaint'); 47 | } 48 | }); 49 | 50 | ed.onNodeChange.add(function(ed, cm, n) { 51 | cm.setDisabled('styleprops', n.nodeName === 'BODY'); 52 | }); 53 | 54 | // Register buttons 55 | ed.addButton('styleprops', {title : 'style.desc', cmd : 'mceStyleProps'}); 56 | }, 57 | 58 | getInfo : function() { 59 | return { 60 | longname : 'Style', 61 | author : 'Moxiecode Systems AB', 62 | authorurl : 'http://tinymce.moxiecode.com', 63 | infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/style', 64 | version : tinymce.majorVersion + "." + tinymce.minorVersion 65 | }; 66 | } 67 | }); 68 | 69 | // Register plugin 70 | tinymce.PluginManager.add('style', tinymce.plugins.StylePlugin); 71 | })(); 72 | -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/fullpage/langs/en_dlg.js: -------------------------------------------------------------------------------- 1 | tinyMCE.addI18n('en.fullpage_dlg',{title:"Document Properties","meta_tab":"General","appearance_tab":"Appearance","advanced_tab":"Advanced","meta_props":"Meta Information",langprops:"Language and Encoding","meta_title":"Title","meta_keywords":"Keywords","meta_description":"Description","meta_robots":"Robots",doctypes:"Doctype",langcode:"Language Code",langdir:"Language Direction",ltr:"Left to Right",rtl:"Right to Left","xml_pi":"XML Declaration",encoding:"Character Encoding","appearance_bgprops":"Background Properties","appearance_marginprops":"Body Margins","appearance_linkprops":"Link Colors","appearance_textprops":"Text Properties",bgcolor:"Background Color",bgimage:"Background Image","left_margin":"Left Margin","right_margin":"Right Margin","top_margin":"Top Margin","bottom_margin":"Bottom Margin","text_color":"Text Color","font_size":"Font Size","font_face":"Font Face","link_color":"Link Color","hover_color":"Hover Color","visited_color":"Visited Color","active_color":"Active Color",textcolor:"Color",fontsize:"Font Size",fontface:"Font Family","meta_index_follow":"Index and Follow the Links","meta_index_nofollow":"Index and Don\'t Follow the Links","meta_noindex_follow":"Do Not Index but Follow the Links","meta_noindex_nofollow":"Do Not Index and Don\'t Follow the Links","appearance_style":"Stylesheet and Style Properties",stylesheet:"Stylesheet",style:"Style",author:"Author",copyright:"Copyright",add:"Add New Element",remove:"Remove Selected Element",moveup:"Move Selected Element Up",movedown:"Move Selected Element Down","head_elements":"Head Elements",info:"Information","add_title":"Title Element","add_meta":"Meta Element","add_script":"Script Element","add_style":"Style Element","add_link":"Link Element","add_base":"Base Element","add_comment":"Comment Node","title_element":"Title Element","script_element":"Script Element","style_element":"Style Element","base_element":"Base Element","link_element":"Link Element","meta_element":"Meta Element","comment_element":"Comment",src:"Source",language:"Language",href:"HREF",target:"Target",type:"Type",charset:"Charset",defer:"Defer",media:"Media",properties:"Properties",name:"Name",value:"Value",content:"Content",rel:"Rel",rev:"Rev",hreflang:"HREF Lang","general_props":"General","advanced_props":"Advanced"}); -------------------------------------------------------------------------------- /PFBC/Resources/tiny_mce/plugins/media/js/embed.js: -------------------------------------------------------------------------------- 1 | /** 2 | * This script contains embed functions for common plugins. This scripts are complety free to use for any purpose. 3 | */ 4 | 5 | function writeFlash(p) { 6 | writeEmbed( 7 | 'D27CDB6E-AE6D-11cf-96B8-444553540000', 8 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 9 | 'application/x-shockwave-flash', 10 | p 11 | ); 12 | } 13 | 14 | function writeShockWave(p) { 15 | writeEmbed( 16 | '166B1BCA-3F9C-11CF-8075-444553540000', 17 | 'http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,1,0', 18 | 'application/x-director', 19 | p 20 | ); 21 | } 22 | 23 | function writeQuickTime(p) { 24 | writeEmbed( 25 | '02BF25D5-8C17-4B23-BC80-D3488ABDDC6B', 26 | 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0', 27 | 'video/quicktime', 28 | p 29 | ); 30 | } 31 | 32 | function writeRealMedia(p) { 33 | writeEmbed( 34 | 'CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA', 35 | 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0', 36 | 'audio/x-pn-realaudio-plugin', 37 | p 38 | ); 39 | } 40 | 41 | function writeWindowsMedia(p) { 42 | p.url = p.src; 43 | writeEmbed( 44 | '6BF52A52-394A-11D3-B153-00C04F79FAA6', 45 | 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701', 46 | 'application/x-mplayer2', 47 | p 48 | ); 49 | } 50 | 51 | function writeEmbed(cls, cb, mt, p) { 52 | var h = '', n; 53 | 54 | h += ''; 64 | 65 | h += ''; 64 | 65 | h += '=2?f-2:0);a.setEnd(n,f>=1?f-1:0);f-=1}while(a.toString()!=" "&&a.toString()!=""&&a.toString().charCodeAt(0)!=160&&(f-2)>=0&&a.toString()!=b);if(a.toString()==b||a.toString().charCodeAt(0)==160){a.setStart(n,f);a.setEnd(n,c);f+=1}else{if(a.startOffset==0){a.setStart(n,0);a.setEnd(n,c)}else{a.setStart(n,f);a.setEnd(n,c)}}var m=a.toString();if(m.charAt(m.length-1)=="."){a.setEnd(n,c-1)}m=a.toString();h=m.match(/^(https?:\/\/|ssh:\/\/|ftp:\/\/|file:\/|www\.|(?:mailto:)?[A-Z0-9._%+-]+@)(.+)$/i);if(h){if(h[1]=="www."){h[1]="http://www."}else{if(/@$/.test(h[1])&&!/^mailto:/.test(h[1])){h[1]="mailto:"+h[1]}}k=i.selection.getBookmark();i.selection.setRng(a);tinyMCE.execCommand("createlink",false,h[1]+h[2]);i.selection.moveToBookmark(k);i.nodeChanged();if(tinyMCE.isWebKit){i.selection.collapse(false);var l=Math.min(n.length,c+1);a.setStart(n,l);a.setEnd(n,l);i.selection.setRng(a)}}},getInfo:function(){return{longname:"Autolink",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autolink",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("autolink",tinymce.plugins.AutolinkPlugin)})(); -------------------------------------------------------------------------------- /PFBC/Resources/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js: -------------------------------------------------------------------------------- 1 | /* 2 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. 3 | For licensing, see LICENSE.html or http://ckeditor.com/license 4 | */ 5 | CKEDITOR.plugins.setLang("a11yhelp","gu",{title:"એક્ક્ષેબિલિટી ની વિગતો",contents:"હેલ્પ. આ બંધ કરવા ESC દબાવો.",legend:[{name:"જનરલ",items:[{name:"એડિટર ટૂલબાર",legend:"Press ${toolbarFocus} to navigate to the toolbar. Move to the next and previous toolbar group with TAB and SHIFT-TAB. Move to the next and previous toolbar button with RIGHT ARROW or LEFT ARROW. Press SPACE or ENTER to activate the toolbar button."},{name:"એડિટર ડાયલોગ",legend:"Inside a dialog, press TAB to navigate to next dialog field, press SHIFT + TAB to move to previous field, press ENTER to submit dialog, press ESC to cancel dialog. For dialogs that have multiple tab pages, press ALT + F10 to navigate to tab-list. Then move to next tab with TAB OR RIGTH ARROW. Move to previous tab with SHIFT + TAB or LEFT ARROW. Press SPACE or ENTER to select the tab page."}, 6 | {name:"Editor Context Menu",legend:"Press ${contextMenu} or APPLICATION KEY to open context-menu. Then move to next menu option with TAB or DOWN ARROW. Move to previous option with SHIFT+TAB or UP ARROW. Press SPACE or ENTER to select the menu option. Open sub-menu of current option with SPACE or ENTER or RIGHT ARROW. Go back to parent menu item with ESC or LEFT ARROW. Close context menu with ESC."},{name:"Editor List Box",legend:"Inside a list-box, move to next list item with TAB OR DOWN ARROW. Move to previous list item with SHIFT + TAB or UP ARROW. Press SPACE or ENTER to select the list option. Press ESC to close the list-box."}, 7 | {name:"Editor Element Path Bar",legend:"Press ${elementsPathFocus} to navigate to the elements path bar. Move to next element button with TAB or RIGHT ARROW. Move to previous button with SHIFT+TAB or LEFT ARROW. Press SPACE or ENTER to select the element in editor."}]},{name:"કમાંડસ",items:[{name:"અન્ડું કમાંડ",legend:"$ દબાવો {undo}"},{name:"ફરી કરો કમાંડ",legend:"$ દબાવો {redo}"},{name:"બોલ્દનો કમાંડ",legend:"$ દબાવો {bold}"},{name:" Italic command",legend:"Press ${italic}"},{name:" Underline command", 8 | legend:"Press ${underline}"},{name:" Link command",legend:"Press ${link}"},{name:" Toolbar Collapse command",legend:"Press ${toolbarCollapse}"},{name:" Accessibility Help",legend:"Press ${a11yHelp}"}]}]}); --------------------------------------------------------------------------------