1ACMS.Config({ 2 3 // è©¦é¨æ©è½ãv1.6αæç¹ã§ããã©ã«ãOFF 4 experimentalFeature: true, 5 6 //--------------------------------------------------- 7 // jQuery UI ãã¼ãå ( ä¸è¨URLã§DLã¨ã«ã¹ã¿ãã¤ãºãå¯è½ ) 8 // @url http://jqueryui.com/themeroller/ 9 uiTheme: 'smoothness', 10 11 //---------------------- 12 // google code prettify 13 googleCodePrettifyClass: 'prettyprint linenums', // prettyprint linenums, acms-admin-pre 14 googleCodePrettifyTheme: 'prettify', // prettify, desert, doxy, sons-of-obsidian, sunburst 15 16 //------------------- 17 // WYSIWYG Editor (trumbowyg) 18 // @link https://alex-d.github.io/Trumbowyg/ 19 wysiwygMark: 'textarea.js-wysiwyg,textarea.js-ckeditor,textarea.js-emoditor', 20 wysiwygConfig: 21 { 22 lang: 'ja', 23 // resetCss: true, 24 autogrow: true, 25 tagsToRemove: ['script'], 26 btns: [ 27 ['viewHTML'], 28 ['undo', 'redo'], // Only supported in Blink browsers 29 ['formatting'], 30 ['fontsize'], 31 ['lineheight'], 32 ['strong', 'em', 'del'], 33 // ['superscript', 'subscript'], 34 ['foreColor', 'backColor'], 35 ['link'], 36 ['justifyLeft', 'justifyCenter', 'justifyRight'], 37 ['unorderedList', 'orderedList'], 38 ['horizontalRule'],
39 ['table', 'tableCellBackgroundColor', 'tableBorderColor'], 40 ['removeformat'], 41 ['fullscreen'], 42 ], 43 tagClasses: { 44 // table: 'class-name', 45 }, 46 semantic: { 47 'div': 'div', 48 }, 49 }, 50 51 //---------------------------------- 52 // ã¤ã¡ã¼ã¸ãã¥ã¼ã¢ ( prettyPhoto ) 53 ppMark: 'a[rel^="prettyPhoto"],a[data-rel^="prettyPhoto"]', 54 ppMinWindowSize: 800, 55 ppDisableMobile: true, 56 ppDisableTablet: true, 57 ppWindowTarget: '', 58 ppConfig: // http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/ 59 { 60 animation_speed: 'fast', /* fast/slow/normal */ 61 slideshow: 3000, /* false OR interval time in ms */ 62 autoplay_slideshow: false, /* true/false */ 63 opacity: 0.80, /* Value between 0 and 1 */ 64 show_title: true, /* true/false */ 65 allow_resize: true, /* Resize the photos bigger than viewport. true/false */ 66 default_width: 500, 67 default_height: 344, 68 counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */ 69 theme: 'pp_default', /* light_rounded / dark_rounded / light_square / dark_square / facebook */ 70 horizontal_padding: 20, /* The padding on each side of the picture */ 71 hideflash: false, /* Hides all the flash object on a page, set to TRUE if flash appears over prettyPhoto */ 72 wmode: 'opaque', /* Set the flash wmode attribute */ 73 autoplay: true, /* Automatically start videos: True/False */ 74 modal: false, /* If set to true, only the close button will close the window */ 75 deeplinking: true, /* Allow prettyPhoto to update the url to enable deeplinking. */ 76 overlay_gallery: true, /* If set to true, a gallery will overlay the fullscreen image on mouse over */ 77 keyboard_shortcuts: true, /* Set to false if you open forms inside prettyPhoto */ 78 changepicturecallback: function () { 79 }, /* Called everytime an item is shown/changed */ 80 callback: function () { 81 }, /* Called when prettyPhoto is closed */ 82 ie6_fallback: true, 83 markup: '<div class="pp_pic_holder"> \ 84 <div class="ppt"> </div> \ 85 <div class="pp_top"> \ 86 <div class="pp_left"></div> \ 87 <div class="pp_middle"></div> \ 88 <div class="pp_right"></div> \ 89 </div> \ 90 <div class="pp_content_container"> \ 91 <div class="pp_left"> \ 92 <div class="pp_right"> \ 93 <div class="pp_content"> \ 94 <div class="pp_loaderIcon"></div> \ 95 <div class="pp_fade"> \ 96 <a href="#" class="pp_expand" title="Expand the image">Expand</a> \ 97 <div class="pp_hoverContainer"> \ 98 <a class="pp_next" href="#">next</a> \ 99 <a class="pp_previous" href="#">previous</a> \ 100 </div> \ 101 <div id="pp_full_res"></div> \ 102 <div class="pp_details"> \ 103 <div class="pp_nav"> \ 104 <a href="#" class="pp_arrow_previous">Previous</a> \ 105 <p class="currentTextHolder">0/0</p> \ 106 <a href="#" class="pp_arrow_next">Next</a> \ 107 </div> \ 108 <p class="pp_description"></p> \ 109 {pp_social} \ 110 <a class="pp_close" href="#">Close</a> \ 111 </div> \ 112 </div> \ 113 </div> \ 114 </div> \ 115 </div> \ 116 </div> \ 117 <div class="pp_bottom"> \ 118 <div class="pp_left"></div> \ 119 <div class="pp_middle"></div> \ 120 <div class="pp_right"></div> \ 121 </div> \ 122 </div> \ 123 <div class="pp_overlay"></div>', 124 gallery_markup: '<div class="pp_gallery"> \ 125 <a href="#" class="pp_arrow_previous">Previous</a> \ 126 <div> \ 127 <ul> \ 128 {gallery} \ 129 </ul> \ 130 </div> \ 131 <a href="#" class="pp_arrow_next">Next</a> \ 132 </div>', 133 image_markup: '<img id="fullResImage" src="{path}" />', 134 flash_markup: '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="{width}" height="{height}"><param name="wmode" value="{wmode}" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="sameDomain" /><param name="movie" value="{path}" /><embed src="{path}" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="sameDomain" width="{width}" height="{height}" wmode="{wmode}"></embed></object>', 135 quicktime_markup: '<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="{height}" width="{width}"><param name="src" value="{path}"><param name="autoplay" value="{autoplay}"><param name="type" value="video/quicktime"><embed src="{path}" height="{height}" width="{width}" autoplay="{autoplay}" type="video/quicktime" pluginspage="http://www.apple.com/quicktime/download/"></embed></object>', 136 iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>', 137 inline_markup: '<div class="pp_inline">{content}</div>', 138 custom_markup: '', 139 social_tools: false 140 }, 141 ppCaption2Title: true, 142 143 //---------------------------------- 144 // ã¤ã¡ã¼ã¸ãã¥ã¼ã¯ã¼ ( Highslide ) 145 hsMark: 'a[rel=highslide],a[data-rel=highslide]', 146 hsConfig: // http://highslide.com/ref/hs.overrides 147 {
148 align: 'center', 149 transitions: ["fade"], 150 transitionDuration: 500, 151 dimmingOpacity: 0.75, // èæ¯ãåéæã°ã¬ã¼ã«ããæã«æå®ãã¾ã 152 dimmingDuration: 0 153 // outlineType : 'rounded-white' 154 }, 155 hsLang: { 156 loadingText: ACMS.i18n('highslide.loading_text'), 157 loadingTitle: ACMS.i18n('highslide.loading_title'), 158 fullExpandTitle: ACMS.i18n('highslide.expand_title'), 159 restoreTitle: ACMS.i18n('highslide.restore_title') 160 }, 161 hsArray: [ 162 // { 163 // 'mark' : '', 164 // 'config' : {} 165 // } 166 ], 167 168 //----------------------- 169 // SmartPhoto 170 SmartPhotoMark: 'a[data-rel^=SmartPhoto],.js-smartphoto', 171 SmartPhotoConfig: { 172 classNames: { 173 smartPhoto: 'smartphoto', 174 smartPhotoClose: 'smartphoto-close', 175 smartPhotoBody: 'smartphoto-body', 176 smartPhotoInner: 'smartphoto-inner', 177 smartPhotoContent: 'smartphoto-content', 178 smartPhotoImg: 'smartphoto-img', 179 smartPhotoImgOnMove: 'smartphoto-img-onmove', 180 smartPhotoImgElasticMove: 'smartphoto-img-elasticmove', 181 smartPhotoImgWrap: 'smartphoto-img-wrap', 182 smartPhotoArrows: 'smartphoto-arrows', 183 smartPhotoNav: 'smartphoto-nav', 184 smartPhotoArrowRight: 'smartphoto-arrow-right', 185 smartPhotoArrowLeft: 'smartphoto-arrow-left', 186 smartPhotoImgLeft: 'smartphoto-img-left', 187 smartPhotoImgRight: 'smartphoto-img-right', 188 smartPhotoList: 'smartphoto-list', 189 smartPhotoListOnMove: 'smartphoto-list-onmove', 190 smartPhotoHeader: 'smartphoto-header', 191 smartPhotoCount: 'smartphoto-count', 192 smartPhotoCaption: 'smartphoto-caption', 193 smartPhotoDismiss: 'smartphoto-dismiss', 194 smartPhotoLoader: 'smartphoto-loader', 195 smartPhotoLoaderWrap: 'smartphoto-loader-wrap', 196 smartPhotoImgClone: 'smartphoto-img-clone' 197 }, 198 message: { 199 gotoNextImage: ACMS.i18n('smartphoto.goto_next_image'), 200 gotoPrevImage: ACMS.i18n('smartphoto.goto_prev_image'), 201 closeDialog: ACMS.i18n('smartphoto.close_the_image_dialog') 202 }, 203 arrows: true, 204 nav: true, 205 animationSpeed: 300, 206 swipeOffset: 100, 207 headerHeight: 60, 208 footerHeight: 60, 209 forceInterval: 10, 210 registance: 0.5, 211 resizeStyle: 'fit', 212 verticalGravity: false, 213 useOrientationApi: false, 214 useHistoryApi: true, 215 lazyAttribute: 'data-src' 216 }, 217 218 //---------------- 219 // contrast color 220 contrastColorTarget: '.js-contrast-color', 221 222 //-------------------- 223 // document-outliner 224 documentOutlinerMark: '.js-outline', 225 documentOutlinerConfig: { 226 link: true, 227 listType: 'ol', 228 listClassName: 'acms-ol', 229 itemClassName: 'acms-ol-item', 230 linkClassName: 'scrollTo', 231 anchorName: 'heading-$1', 232 exceptClass: 'js-except', 233 levelLimit: 5 234 }, 235 236 //----------------------- 237 // modal video 238 modalVideoMark: '.js-modal-video', 239 modalVideoConfig: { 240 channel: 'youtube', 241 youtube: { 242 autoplay: 1, 243 cc_load_policy: 1, 244 color: 'red', // red | white 245 controls: 1, 246 disablekb: 0, 247 enablejsapi: 0, 248 end: null, 249 fs: 1, 250 h1: null, 251 iv_load_policy: 1, 252 loop: 0, 253 modestbranding: 0, 254 origin: 0, 255 playsinline: 0, 256 rel: 0, 257 showinfo: 1, 258 start: 0, 259 wmode: 'transparent', 260 theme: 'dark' 261 }, 262 ratio: '16:9', 263 vimeo: { 264 api: false, 265 autopause: true, 266 autoplay: true, 267 byline: true, 268 callback: null, 269 color: null, 270 height: null, 271 loop: false, 272 maxheight: null, 273 maxwidth: null, 274 player_id: null, 275 portrait: true, 276 title: true, 277 width: null, 278 xhtml: false 279 }, 280 allowFullScreen: true, 281 animationSpeed: 300, 282 classNames: { 283 modalVideo: 'modal-video', 284 modalVideoClose: 'modal-video-close', 285 modalVideoBody: 'modal-video-body', 286 modalVideoInner: 'modal-video-inner', 287 modalVideoIframeWrap: 'modal-video-movie-wrap', 288 modalVideoCloseBtn: 'modal-video-close-btn' 289 }, 290 aria: { 291 openMessage: ACMS.i18n('modal_video.aria_open_msg'),
292 dismissBtnMessage: ACMS.i18n('modal_video.dismiss_msg') 293 } 294 }, 295 296 //------ 297 // exif 298 exif: { 299 captionEnable: "off", 300 saveData: "off", 301 requireField: ['FocalLength'], 302 captionFormat: '<%= Model %> (<%= FocalLength %>mm, f/<%= FNumber %>, <%= ExposureTime %>sec, ISO<%= ISOSpeedRatings %>) <%- ACMS.Library.Dayjs( DateTimeOriginal, "YYYY/MM/DD HH:mm") %>', 303 dataFormat: 'Model:<%= Model %>__FocalLength:<%= FocalLength %>__FNumber:<%= FNumber %>__ExposureTime:<%= ExposureTime %>__ISOSpeedRatings:<%= ISOSpeedRatings %>__DateTimeOriginal:<%= DateTimeOriginal %>' 304 }, 305 306 //----------------------- 307 // adaptive image sizing 308 adaptiveImageMark: 'img.js-adaptive_image', 309 adaptiveImageSize: 500, 310 311 //------------ 312 // biggerlink 313 biggerlinkMark: '.js-biggerlink', 314 biggerlinkConf: { 315 // biggerclass:'bl-bigger', // class added to the first contained link and others that trigger it 316 // hoverclass:'bl-hover', // class added to parent element on hover/focus 317 // hoverclass2:'bl-hover2', // class added to parent element on hover/focus of other links 318 // clickableclass:'bl-hot', // class added to parent element with behaviour 319 // otherstriggermaster: true, // will all links in containing biggerlink element trigger the first link 320 // follow: 'auto' 321 }, 322 biggerlinkArray: [ 323 // { 324 // 'mark' : '', 325 // 'conf' : {} 326 // } 327 ], 328 329 //---------- 330 // bxslider 331 bxsliderMark: '.js-bxslider', 332 bxsliderConf: { 333 mode: 'horizontal', // horizontal | vertical | fade 334 speed: 800, 335 captions: true, 336 auto: true, 337 pause: 6000 338 }, 339 bxsliderArray: [ 340 // { 341 // 'mark' : '', 342 // 'conf' : {} 343 // } 344 ], 345 346 //----------------------------- 347 // module setting popup window 348 popupSettingMark: '.js-popup_setting', 349 popupSettingConf: { 350 width: 850, 351 height: 500, 352 autoclose: true, 353 autoreload: true 354 }, 355 356 moduleManagementMark: '.js-module_management', 357 moduleManagementReloadMsg: ACMS.i18n('module_management.reload_msg'), 358 moduleUnitDirectAddMsg: ACMS.i18n('module_management.unit_direct_add_msg'), 359 360 dialogBtnMark: '.js-dialog-btn', 361 dialogTitleMark: '.js-dialog-title', 362 dialogBodyMark: '.js-dialog-body', 363 364 //------------------------ 365 // ä¼å¡éå®è¨äºã®è¡¨ç¤ºã»é表示 366 membersOnlyEntryMark: '.js-members-only-entry', // éå ¬éæã®æ¡å 表示ã«ãã®ã¯ã©ã¹ãä»ä¸ãã 367 368 //---------------------------- 369 // ãã°ã¤ã³ç¶æ ã«ãã表示ã»é表示 370 loginHiddenMark: '.js-login-hidden', // ãã°ã¤ã³ç¶æ ã®æãé表示ã«ãã 371 loginShowMark: '.js-login-show', // ãã°ã¤ã³ç¶æ ã®æã表示ãã 372 logoutHiddenMark: '.js-logout-hidden', // ãã°ã¢ã¦ãç¶æ ã®æãé表示ã«ãã 373 logoutShowMark: '.js-logout-show', // ãã°ã¢ã¦ãç¶æ ã®æã表示ãã 374 375 //------------- 376 // scroll hint 377 scrollHintMark: '.js-scroll-hint', 378 scrollHintConfig: { 379 suggestClass: 'is-active', 380 scrollableClass: 'is-scrollable', 381 scrollableRightClass: 'is-right-scrollable', 382 scrollableLeftClass: 'is-left-scrollable', 383 scrollHintClass: 'scroll-hint', 384 scrollHintIconClass: 'scroll-hint-icon', 385 scrollHintIconAppendClass: 'scroll-hint-icon-white', 386 scrollHintIconWrapClass: 'scroll-hint-icon-wrap', 387 scrollHintText: 'scroll-hint-text', 388 remainingTime: -1, 389 scrollHintBorderWidth: 10, 390 enableOverflowScrolling: true, 391 suggestiveShadow: false, 392 applyToParents: false, 393 offset: 0, 394 i18n: { 395 scrollable: ACMS.i18n("scrollhint.scrollable") 396 } 397 }, 398 399 //---------------- 400 // lazy-contents 401 lazyContentsMark: '.js-lazy-contents', 402 403 //----------- 404 // lazy load 405 lazyLoadMark: '.js-lazy-load', 406 lazyLoadConfig: { 407 rootMargin: '10px 0px', // syntax similar to that of CSS Margin 408 threshold: 0.1, // ratio of element convergence 409 loaded: function(el) { 410 el.addEventListener('load', function () { 411 if (el.tagName === 'IMG') { 412 var img = new Image(); 413 img.onload = function () { 414 el.classList.add('loaded'); 415 } 416 img.src = el.getAttribute('src'); 417 } else { 418 el.classList.add('loaded'); 419 } 420 }); 421 setTimeout(function () { 422 el.classList.add('loading'); 423 }, 100); 424 ACMS.dispatchEvent('acmsLazyLoaded', el); 425 } 426 }, 427 428 //---------------- 429 // js-pdf-preview 430 pdfPreviewConfig: { 431 mark: '.js-pdf-viewer', // PDFãã¬ãã¥ã¼ã®è¦ªè¦ç´ ã«ã¤ããã¯ã©ã¹å 432 previewMark: '.js-preview', // å®éã«ãã¬ãã¥ã¼ç»åã表示ãã img è¦ç´ ã®ã¯ã©ã¹å 433 prevBtnMark: '.js-prev', // 次ãã¼ã¸ã®ãã¿ã³ã«ã¤ããã¯ã©ã¹å 434 nextBtnMark: '.js-next', // åãã¼ã¸ã®ãã¿ã³ã«ã¤ããã¯ã©ã¹å
435 pdfAttr: 'data-pdf', // 対象ã®PDFã®ãã¹ã®data屿§å 436 widthAttr: 'data-width', // å¹ æå®ã®data屿§å 437 pageAttr: 'data-page', // 表示ãããã¼ã¸æ°ã®data屿§å 438 lazyAttr: 'data-lazy', // lazy load ãããã©ããï¼1 or 0ï¼ã®data屿§å 439 showBtnClass: 'acms-admin-block' // PDFã®ãã¼ã¸éããã¿ã³ãããå ´åã«ã¤ãã¯ã©ã¹å 440 }, 441 442 //--------- 443 // a-table 444 aTableMark: '[class^=js-editable-table]', 445 aTableDestMark: '.js-editable-table-dest', 446 aTableFieldMark: '.js-editable-table-field', 447 aTableConf: { 448 align: { 449 default: 'acms-cell-text-left', 450 left: 'acms-cell-text-left', 451 center: 'acms-cell-text-center', 452 right: 'acms-cell-text-right' 453 }, 454 btn: { 455 group: 'acms-admin-btn-group acms-admin-btn-group-inline', 456 item: 'acms-admin-btn', 457 itemActive: 'acms-admin-btn acms-admin-btn-active' 458 }, 459 icon: { 460 alignLeft: 'acms-admin-icon-text-left', 461 alignCenter: 'acms-admin-icon-text-center', 462 alignRight: 'acms-admin-icon-text-right', 463 undo: 'acms-admin-icon-undo', 464 merge: 'acms-admin-icon-merge', 465 split: 'acms-admin-icon-split', 466 source: 'acms-admin-icon-source', 467 td: '', 468 th: '' 469 } 470 }, 471 aTableSelector: [ 472 { label: ACMS.i18n('a_table.not_newline'), value: 'acms-cell-text-nowrap acms-admin-cell-text-nowrap' }, 473 { label: ACMS.i18n('a_table.bold'), value: 'acms-cell-text-bold acms-admin-cell-text-bold' }, 474 { label: ACMS.i18n('a_table.top_alignment'), value: 'acms-cell-text-top acms-admin-cell-text-top' }, 475 { label: ACMS.i18n('a_table.center_alignment'), value: 'acms-cell-text-middle acms-admin-cell-text-middle' }, 476 { label: ACMS.i18n('a_table.bottom_alignment'), value: 'acms-cell-text-bottom acms-admin-cell-text-bottom' } 477 ], 478 // ãã¼ãã«èªä½ã«ã¯ã©ã¹ãä»ä¸ã§ãã¾ã 479 aTableOption: [ 480 { label: ACMS.i18n("a_table.scrollhint_table"), value: 'js-table-unit-scroll-hint' }, 481 { label: ACMS.i18n("a_table.scrollable_table"), value: 'acms-table-scrollable' } 482 ], 483 aTableMessage: { 484 mergeCells: ACMS.i18n('a_table.merge_cell'), 485 splitCell: ACMS.i18n('a_table.split_cell'), 486 changeToTh: ACMS.i18n('a_table.change_to_th'), 487 changeToTd: ACMS.i18n('a_table.change_to_td'), 488 alignLeft: ACMS.i18n('a_table.align_left'), 489 alignCenter: ACMS.i18n('a_table.align_center'), 490 alignRight: ACMS.i18n('a_table.align_right'), 491 addColumnLeft: ACMS.i18n('a_table.add_column_left'), 492 addColumnRight: ACMS.i18n('a_table.add_column_right'), 493 removeColumn: ACMS.i18n('a_table.remove_column'), 494 addRowTop: ACMS.i18n('a_table.add_row_top'), 495 addRowBottom: ACMS.i18n('a_table.add_row_bottom'), 496 removeRow: ACMS.i18n('a_table.remove_row'), 497 source: ACMS.i18n('a_table.source'), 498 mergeCellError1: ACMS.i18n('a_table.merge_cell_error1'), 499 mergeCellConfirm1: ACMS.i18n('a_table.merge_cell_confirm1'), 500 pasteError1: ACMS.i18n('a_table.paste_error1'), 501 splitError1: ACMS.i18n('a_table.split_error1'), 502 splitError2: ACMS.i18n('a_table.split_error2'), 503 splitError3: ACMS.i18n('a_table.split_error3'), 504 }, 505 //--------- 506 // navigation module language 507 navigationEditMark: '#js-navigation-edit', 508 navigationMessage: { 509 detail: ACMS.i18n('navigation.detail'), 510 add: ACMS.i18n('navigation.add'), 511 open: ACMS.i18n('navigation.open'), 512 close: ACMS.i18n('navigation.close'), 513 attr: ACMS.i18n('navigation.attr'), 514 child_attr: ACMS.i18n('navigation.child_attr'), 515 remove: ACMS.i18n('navigation.remove'), 516 label: ACMS.i18n('navigation.label'), 517 onRemove: ACMS.i18n('navigation.on_remove'), 518 onFirstUpdate: ACMS.i18n('navigation.on_first_update') 519 }, 520 521 bannerEditMark: '#js-banner-edit', 522 523 //--------- 524 // admin-menu 525 adminMenuEditMark: '#js-admin-menu-edit', 526 527 //---------- 528 // LiteEditor 529 LiteEditorFeature: true, 530 LiteEditorUseEmojiPicker: true, //ã¹ããã®å ´åã¯å¼·å¶çã«falseã«ãªãã¾ãã 531 LiteEditorEmojiPickerLabel: '<i class="lite-editor-emoji-font lite-editor-emoji-font-smile" aria-hidden="true"></i>', 532 LiteEditorMark: '.js-lite-editor-field', 533 LiteEditorFieldConf: {}, // ã«ã¹ã¿ã ãã£ã¼ã«ãã§å©ç¨ããLiteEditorã®è¨å® 534 LiteEditorSourceModeTags: /^(ul|ol|dl|pre|blockquote|none|markdown|wysiwyg|table|template|div)/, //ããã¹ãã¦ãããå ã§ã½ã¼ã¹å ¥åã¢ã¼ãã«ãªãã¾ãã 535 LiteEditorConf: { 536 minHeight: 50, 537 maxHeight: 650, 538 nl2br: false, 539 classNames: { 540 LiteEditor: 'entryFormLiteEditor', 541 LiteEditorSource: 'entryFormTextarea', 542 LiteEditorBtnGroup: 'acms-admin-btn-group acms-admin-btn-group-inline', 543 LiteEditorBtn: 'acms-admin-btn', 544 LiteEditorBtnActive: 'acms-admin-btn acms-admin-btn-active',
545 LiteEditorBtnClose: '', 546 LiteEditorTooltipInput: 'acms-admin-form-width-full' 547 }, 548 btnPosition: 'bottom', 549 escapeNotRegisteredTags: false, 550 relAttrForTargetBlank: 'noopener noreferrer', 551 message: { 552 addLinkTitle: ACMS.i18n('lite_editor.add_link_title'), 553 updateLinkTitle: ACMS.i18n('lite_editor.update_link_title'), 554 addLink: ACMS.i18n('lite_editor.add_link'), 555 updateLink: ACMS.i18n('lite_editor.update_link'), 556 removeLink: ACMS.i18n('lite_editor.remove_link'), 557 linkUrl: ACMS.i18n('lite_editor.link_url'), 558 linkLabel: ACMS.i18n('lite_editor.link_label'), 559 targetBlank: ACMS.i18n('lite_editor.target'), 560 targetBlankLabel: ACMS.i18n('lite_editor.target_label') 561 }, 562 btnOptions: [ 563 { label: ACMS.i18n("lite_editor.link"), tag: 'a', className: '', sampleText: ACMS.i18n("lite_editor.link_sample_txt") }, 564 { label: ACMS.i18n("lite_editor.em"), tag: 'em', className: '', sampleText: ' ' }, 565 { label: ACMS.i18n("lite_editor.strong"), tag: 'strong', className: '', sampleText: ' ' } 566 // { label: 'ä¸ç·', tag: 'u', className: '', sampleText: ' '}, 567 ] 568 }, 569 570 //---------- 571 // PaperEditor 572 SmartBlockHeadingConf: function (Extensions, target, icons) { 573 var headingStart = target.getAttribute('data-heading-start') || 2; 574 var headingEnd = target.getAttribute('data-heading-end') || 3; 575 var headings = []; 576 for (var num = headingStart; num <= headingEnd; num++) { 577 var name = 'H' + num; 578 headings.push(new Extensions['Heading' + num]({ 579 tagName: name, 580 customName: name, 581 icon: icons['Heading' + num + 'Icon'] 582 })); 583 } 584 return headings; 585 }, 586 SmartBlockUnitMinHeight: 300, 587 SmartBlockUnitMaxHeight: 650, 588 SmartBlockTitlePlaceholder: ACMS.i18n('rich_editor.titlePlaceholder'), 589 SmartBlockConf: function (Extensions, target, icons) { 590 return [].concat( 591 [ 592 new Extensions.Paragraph() 593 ], 594 ACMS.Config.SmartBlockHeadingConf(Extensions, target, icons), 595 [ 596 new Extensions.ListItem(), 597 new Extensions.BulletList(), 598 new Extensions.OrderedList(), 599 new Extensions.Blockquote(), 600 new Extensions.Media({ 601 className: 'column-media-center', 602 imgClassName: 'columnImageCenter', 603 imgFullClassName: 'columnImage', 604 captionClassName: 'caption' 605 }), 606 new Extensions.Emphasis({ 607 schema: { 608 group: 'mark', 609 parseDOM: [{ tag: 'strong' }], 610 toDOM: function() { 611 return ['strong', 0] 612 } 613 } 614 }), 615 new Extensions.Underline(), 616 new Extensions.Strike(), 617 new Extensions.Link(), 618 new Extensions.MoveDown(), 619 new Extensions.MoveUp(), 620 new Extensions.Trash(), 621 new Extensions.DefaultKeys(), 622 new Extensions.DefaultPlugins({ 623 placeholder: ACMS.i18n('rich_editor.placeholder') 624 }) 625 ] 626 ); 627 }, 628 SmartBlockReplace: function(Extensions) { 629 // eg. 630 // return [ 631 // new Extensions.Paragraph({ 632 // className: "hoge" 633 // }) 634 // ]; 635 return []; 636 }, 637 SmartBlockRemoves: [], // eg.["Underline", "Link"], 638 SmartBlockAdds: function(Extensions) { 639 // eg. 640 // return [ 641 // new Extensions.Table(), // ãã¼ãã«ãããã¯ã表示 642 // new Extensions.Code(), // ã³ã¼ããããã¯ã表示 643 // ] 644 return [] 645 }, 646 SmartBlockMark: '.js-smartblock,.js-paper-editor',
647 SmartBlockTitleMark: '.js-smartblock-title,.js-paper-editor-title', 648 SmartBlockBodyMark: '.js-smartblock-body,.js-paper-editor-body', 649 SmartBlockEditMark: '.js-smartblock-edit,.js-paper-editor-edit', 650 651 //--------- 652 mediaAdminMark: '#js-media-edit', 653 mediaFieldMark: '.js-media-field', 654 mediaShowAltAndCaptionOnModal: true, 655 mediaCropSizes: [ 656 [16, 9], 657 [4, 3], 658 [3, 4], 659 [1, 1] 660 ], 661 662 //-------- 663 // select2 664 select2Mark: '.js-select2', 665 select2Threshold: 10, 666 select2Config: {}, // https://select2.org/configuration/options-api 667 668 quickSearchFeature: true, 669 quickSearchCommand: ['command + k', 'ctrl + k'], 670 //---------- 671 // autoHeight 672 autoHeightMark: '.js-autoheight', 673 autoHeightConfArray: [ 674 { 675 '.column3': '3', // ã¯ã©ã¹åã¨é«ããæããã³ã³ãã³ãæ° 676 '.column2': '2' 677 } 678 ], 679 680 //------------- 681 // autoHeightR 682 autoHeightRMark: '.js-autoheight-r', 683 autoHeightRConf: { 684 style: 'height', 685 element: '', // é«ãã®ã¹ã¿ã¤ã«ãé©å¿ããã¯ã©ã¹ï¼ç©ºã®å ´åã¯autoHeightRMarkã®è¦ç´ ã«é©å¿ï¼ 686 offset: 0, 687 parent: 'parent', // parent : autoHeightRMarkã¯ã©ã¹ã®ä¸åä¸ã®è¦ç´ or æå®ããè¦ç´ 688 list: '' // å®éã«ä¸¦ãã§ããè¦ç´ ã®ã¯ã©ã¹ãæå®ï¼æå®ãã¦ãªãå ´åãautoHeightRMarkã®ä¸åä¸ã®è¦ç´ ï¼ 689 }, 690 autoHeightRArray: [ 691 // { 692 // 'mark' : '', 693 // 'config' : {} 694 // } 695 ], 696 697 //-------------------- 698 // æ¥ä»é¸æã«ã¬ã³ãã¼ 699 dpicMark: 'input:text[name$=date]:not(.js-datepicker2), .js-datepicker', // ã»ã¬ã¯ã¿ã®æã示ãè¦ç´ ãã¯ãªãã¯ã§æ¥ä»é¸æã«ã¬ã³ãã¼ãå©ç¨åºæ¥ã¾ã 700 dpicConfig: { 701 closeText: ACMS.i18n('datepic.close'), 702 prevText: ACMS.i18n('datepic.prev'), 703 nextText: ACMS.i18n('datepic.next'), 704 currentText: ACMS.i18n('datepic.current'), 705 monthNames: [ 706 ACMS.i18n('datepic.month.jan'), 707 ACMS.i18n('datepic.month.feb'), 708 ACMS.i18n('datepic.month.mar'), 709 ACMS.i18n('datepic.month.apr'), 710 ACMS.i18n('datepic.month.may'), 711 ACMS.i18n('datepic.month.jun'), 712 ACMS.i18n('datepic.month.jul'), 713 ACMS.i18n('datepic.month.aug'), 714 ACMS.i18n('datepic.month.sep'), 715 ACMS.i18n('datepic.month.oct'), 716 ACMS.i18n('datepic.month.nov'), 717 ACMS.i18n('datepic.month.dec') 718 ], 719 monthNamesShort: [ 720 ACMS.i18n('datepic.month.jan'), 721 ACMS.i18n('datepic.month.feb'), 722 ACMS.i18n('datepic.month.mar'), 723 ACMS.i18n('datepic.month.apr'), 724 ACMS.i18n('datepic.month.may'), 725 ACMS.i18n('datepic.month.jun'), 726 ACMS.i18n('datepic.month.jul'), 727 ACMS.i18n('datepic.month.aug'), 728 ACMS.i18n('datepic.month.sep'), 729 ACMS.i18n('datepic.month.oct'), 730 ACMS.i18n('datepic.month.nov'), 731 ACMS.i18n('datepic.month.dec') 732 ], 733 dayNames: [ 734 ACMS.i18n('datepic.week.sun'), 735 ACMS.i18n('datepic.week.mon'), 736 ACMS.i18n('datepic.week.tue'), 737 ACMS.i18n('datepic.week.wed'), 738 ACMS.i18n('datepic.week.thu'), 739 ACMS.i18n('datepic.week.fri'), 740 ACMS.i18n('datepic.week.sat') 741 ], 742 dayNamesShort: [ 743 ACMS.i18n('datepic.week_short.sun'), 744 ACMS.i18n('datepic.week_short.mon'), 745 ACMS.i18n('datepic.week_short.tue'), 746 ACMS.i18n('datepic.week_short.wed'), 747 ACMS.i18n('datepic.week_short.thu'), 748 ACMS.i18n('datepic.week_short.fri'), 749 ACMS.i18n('datepic.week_short.sat') 750 ], 751 dayNamesMin: [ 752 ACMS.i18n('datepic.week_min.sun'), 753 ACMS.i18n('datepic.week_min.mon'), 754 ACMS.i18n('datepic.week_min.tue'), 755 ACMS.i18n('datepic.week_min.wed'), 756 ACMS.i18n('datepic.week_min.thu'), 757 ACMS.i18n('datepic.week_min.fri'), 758 ACMS.i18n('datepic.week_min.sat') 759 ], 760 dateFormat: 'yy-mm-dd', 761 firstDay: 0, 762 isRTL: false, 763 constrainInput: false 764 }, 765 dpicArray: [ 766 // { 767 // 'mark' : '', 768 // 'config' : {} 769 // } 770 ], 771 flatDatePicker: '.js-datepicker2', 772 flatDatePickerConfig: { 773 allowInput: true, 774 dateFormat: 'Y-m-d' 775 }, 776 flatTimePicker: '.js-timepicker', 777 flatTimePickerConfig: { 778 allowInput: true, 779 enableTime: true, 780 noCalendar: true, 781 dateFormat: "H:i:S", 782 time_24hr: true 783 }, 784 //----------- 785 // accordion 786 accordionMark: '.js-accordion', 787 accordionConfig: { 788 active: null, 789 animated: 'slide', // ( 'slide' | 'fade' | '' ) 790 heightStyle: 'content', 791 collapsible: true 792 }, 793 accordionArray: [ 794 // { 795 // 'mark' : '', 796 // 'config' : {} 797 // } 798 ], 799 800 //------ 801 // tabs 802 tabsMark: '.js-tabs', 803 tabsConfig: { 804 collapsible: false, 805 cookie: null, 806 fx: { 807 //opacity : 'toggle', // ã¯ãã¹ãã§ã¼ã 808 //height : 'toggle', // 縦ã¹ã©ã¤ã 809 //duration: 'fast' // ( 'fast' | 'normal' | 'slow' | '' ) 810 } 811 }, 812 tabsArray: [ 813 // { 814 // 'mark' : '', 815 // 'config' : {} 816 // } 817 ], 818 819 //---------- 820 // acms tabs 821 acmsTabsMark: '.js-acms_tabs', 822 acmsTabsConfig: { 823 tabClass: 'js-acms_tab', 824 activeClass: 'js-acms_tab-active', 825 readyMark: '.js-ready-acms_tabs' // e.g. window.document.location.hash 826 },
827 acmsTabsArray: [ 828 // { 829 // 'mark' : '', 830 // 'config' : {} 831 // } 832 ], 833 834 //------------------ 835 // acms alert close 836 acmsAlertCloseMark: '.js-acms-alert-close', 837 acmsAlertCloseConfig: { 838 target: '.acms-admin-alert, .acms-alert' 839 }, 840 acmsAlertCloseArray: [ 841 // { 842 // 'mark' : '', 843 // 'config' : {} 844 // } 845 ], 846 847 //------- 848 // fader 849 faderMark: '.js-fader', 850 faderStorageMark: '.js-fader-storage', 851 faderConfig: { 852 initial: 'hide', // ( 'hide' | 'show' ) 853 effect: 'fade', // ( 'fade' | 'slide' | '' ) 854 speed: 'fast', // ( 'fast' | 'slow' ) 855 activeClass: 'js-fader-active', 856 readyMark: '.js-ready-fader' // e.g. window.document.location.hash 857 }, 858 faderArray: [ 859 // { 860 // 'mark' : '', 861 // 'config' : {} 862 // } 863 ], 864 865 //-------- 866 // toggle 867 toggleMark: '.js-toggle', 868 toggleConfig: { 869 speed: 'fast', // ( 'fast' | 'slow' ) 870 readyMark: '.js-ready-toggle', 871 hideMark: '.js-hide-toggle', 872 toggleHead: '.toggle-head' 873 }, 874 toggleArray: [ 875 // { 876 // 'mark' : '', 877 // 'config' : {} 878 // } 879 ], 880 881 externalFormSubmitButton: '.js-external-form-btn', 882 blankSubmitBtn: '.js-blank-submit-btn', 883 884 //----------------------- 885 // ã¿ã¤ãã«ã®ç·¨é 886 editInplateTitleMark: '.entryTitle,.entry-title', 887 888 //----------------------------------- 889 // ã¨ã³ããªã¼ã®ä½ç½®æ å ±ç·¨éæã®ããã©ã«ã 890 adminLocationDefaultLat: '35.185574', 891 adminLocationDefaultLng: '136.899066', 892 adminLocationDefaultZoom: '10', 893 894 //---------------- 895 // OpenStreetMap 896 openStreetMapMark: '.js-open-street-map', 897 openStreetMapTileLayer: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', 898 899 //---------------------------- 900 // éçã°ã¼ã°ã«ãããã®åçå 901 s2dMark: '[class^="column-map-"]>img:not(.js-s2d-ready)', 902 s2dReadyMark: 'img.js-s2d-ready', 903 s2dMaxSize: 640, 904 s2dPinShadowImg: 'http://maps.google.co.jp/mapfiles/ms/icons/msmarker.shadow.png', 905 s2dRegion: 'JP', 906 s2dStyle: [ 907 // { 908 // stylers: [ 909 // { hue: "#00ffe6" }, 910 // { saturation: -20 } 911 // ] 912 // },{ 913 // featureType: "road", 914 // elementType: "geometry", 915 // stylers: [ 916 // { lightness: 100 }, 917 // { visibility: "simplified" } 918 // ] 919 // },{ 920 // featureType: "road", 921 // elementType: "labels", 922 // stylers: [ 923 // { visibility: "off" } 924 // ] 925 // } 926 ], 927 streetViewMark: '.js-street-view', 928 929 //----------- 930 // swfobject 931 swfoMark: '.swfobject', // ãã©ã¡ã¼ã¿ãæå®ãããdlè¦ç´ ãflashã«ç½®ãæãã¾ãã 932 933 //-------------- 934 // é¢è±æã¢ã©ã¼ã 935 unloadAlertMark: '.js-unload_alert', 936 937 //-------------------- 938 // ã¹ã¿ã¤ã«ã®åãæ¿ã 939 styleSwitchMark: 'a.styleswitch', 940 styleSwitchStyleMark: 'link.styleswitch', 941 // ãªã³ã¯è¦ç´ ã®ã¿ã¤ãã«å±æ§ãå©ç¨ãã¦ã¹ã¿ã¤ã«ã·ã¼ããåãæ¿ãããã¨ãåºæ¥ã¾ãã 942 // ä¾) 943 // <link rel="stylesheet" type="text/css" href="xxx.css" title="a" class="styleswitch" /> 944 // <link rel="stylesheet" type="text/css" href="yyy.css" title="b" class="styleswitch" /> 945 // 946 // <a href="#" class="styleswitch" rel="a">ã¹ã¿ã¤ã«ã[a]ã«åãæ¿ãã</a> 947 // <a href="#" class="styleswitch" rel="b">ã¹ã¿ã¤ã«ã[b]ã«åãæ¿ãã</a> 948 949 //------------ 950 // ã¹ã¯ãã¼ã« 951 scrollToMark: 'a.scrollTo', // ã»ã¬ã¯ã¿ã®ã¢ã³ã«ã¼ãã¯ãªãã¯ããã¨href屿§ã®ãã©ã°ã«æå®ãããè¦ç´ ã¸ã¹ã¯ãã¼ã«ãã¾ãã 952 scrollToI: 40, // éé(i)msec 953 scrollToV: 0.5, // 0 < ç§»åé(v) < 1 954 // ä¾) 955 // <a name="a"></a> 956 // <div id="b"></div> 957 // 958 // <a href="#a" class="scrollTo" /> 959 // <a href="#b" class="scrollTo" /> 960 // <a href="#" class="scrollTo" /> â»ãã©ã°åãæå®ãããªãï¼ç¹å®åºæ¥ãªãï¼å ´åã¯ãã¼ã¸ã®æä¸é¨ã¸ã¹ã¯ãã¼ã«ãã¾ãã 961 //-------------------- 962 // ãªããã£ã³ãã¹ 963 offcanvas: { 964 'fixedHeaderMark': '.js-offcanvas-header', 965 'openBtnMark': '.js-offcanvas-btn',//offcanvasãéããã¿ã³ã®ã¯ã©ã¹ 966 'openBtnRMark': '.js-offcanvas-btn-r',//offcanvasã峿¹åã«éããã¿ã³ã®ã¯ã©ã¹ 967 'openBtnLMark': '.js-offcanvas-btn-l',//offcanvasãå·¦æ¹åã«éããã¿ã³ã®ã¯ã©ã¹ 968 'closeBtnMark': '.js-offcanvas-close',//offcanvasãéãããã¿ã³ã®ã¯ã©ã¹ 969 'offcanvasMark': '.js-offcanvas',//offcanvasãé©å¿ãããã¨ãªã¢ã®ã¯ã©ã¹ 970 'breakpoint': 767, //max-widthã§æå®,'all'ãæå®ããã¨å ¨ç»é¢, 971 'throttleTime': 100 972 }, 973 //-------------------- 974 // ã¹ã¯ãã¼ã«æã®è¿½é 975 //-------------------- 976 prettyScrollMark: '.js-pretty-scroll', 977 prettyScrollConfig: { 978 container: '.js-pretty-scroll-container', 979 offsetTop: 20, 980 offsetBottom: 20, 981 breakpoint: 767, 982 condition: function () { 983 return true; 984 } 985 }, 986 //-------------------- 987 // ãã¬ãã¥ã¼æ©è½ã®è¨å® 988 //-------------------- 989 previewDeviceHistoryKey: { 990 preview: 'acms-preview-history-device', // ãã¬ãã¥ã¼æ 991 approval: 'acms-approval-preview-history-device', // æ¿èªãã¬ãã¥ã¼æ 992 timemachine: 'acms-timemachine-preview-history-device' // ã¿ã¤ã ãã·ã³æ 993 }, 994 previewDevices: [ 995 { 996 name: 'iPhone 6/7/8', 997 ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', 998 width: 375, 999 height: 667, 1000 resizable: false, 1001 hasFrame: true 1002 }, 1003 { 1004 name: 'iPhone 6/7/8 Plus', 1005 ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', 1006 width: 414, 1007 height: 736, 1008 resizable: false, 1009 hasFrame: true 1010 }, 1011 { 1012 name: 'iPhone 5/SE', 1013 ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', 1014 width: 320, 1015 height: 568, 1016 resizable: false, 1017 hasFrame: true 1018 }, 1019 { 1020 name: 'iPhone X', 1021 ua: 'Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', 1022 width: 375, 1023 height: 812, 1024 resizable: false, 1025 hasFrame: false 1026 }, 1027 { 1028 name: 'iPad', 1029 ua: 'Mozilla/5.0 (iPad; CPU OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1', 1030 width: 768, 1031 height: 1024, 1032 resizable: false, 1033 hasFrame: true 1034 }, 1035 { 1036 name: 'HUAWEI P20 Lite', 1037 ua: 'Mozilla/5.0 (Linux; Android 8.0.0;
1037HWV32 Build/HUAWEI-HWV32)AppleWebKit/537.36(KHTML,like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36', 1038 width: 360, 1039 height: 760, 1040 resizable: false, 1041 hasFrame: false 1042 }, 1043 { 1044 name: 'Galaxy S9+ SCV39', 1045 ua: 'Mozilla/5.0 (Linux; Android 8.0.0; SCV39 Build/16NW) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/7.0 Chrome/59.0.3071.125 Mobile Safari/537.36', 1046 width: 360, 1047 height: 740, 1048 resizable: false, 1049 hasFrame: false 1050 }, 1051 { 1052 name: 'Xperia XZ2', 1053 ua: 'Mozilla/5.0 (Linux; Android 8.0.0; SOV37 Build/51.1.C.0.374) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.137 Mobile Safari/537.36', 1054 width: 360, 1055 height: 720, 1056 resizable: false, 1057 hasFrame: false 1058 }, 1059 { 1060 name: 'PC', 1061 ua: 'none', 1062 width: 1366, 1063 height: 768, 1064 resizable: true, 1065 hasFrame: false 1066 } 1067 ], 1068 // ããã¹ãã®èªå鏿 1069 clickSelectionInputTextMark: ':text.url, textarea.js-click-selection, :text.js-click-selection', // ã»ã¬ã¯ã¿ã®ç¤ºãè¦ç´ ãã¯ãªãã¯ããã¨ããã¹ããé¸æç¶æ ã«ãªãã¾ãã 1070 1071 //-------------------------- 1072 // ã¤ã¡ã¼ã¸ã®ãã¼ã«ãªã¼ãã¼ 1073 rolloverImgMark: 'img.js-rollover, img.imgover', // ã»ã¬ã¯ã¿ã®ç¤ºãè¦ç´ ãããã¼ããã¨ã¤ã¡ã¼ã¸ããã¼ã«ãªã¼ãã¼ãã¾ãã 1074 rolloverImgSuffix: '_o', // ãã¼ã«ãªã¼ãã¼æã®ãã¡ã¤ã«åã«ä»ããããæ¥å°¾è¾ã§ããä¾) banner.jpg -> banner_o.jpg 1075 1076 //---------------- 1077 // ã¦ãããã®å¹ ä¿®æ£ 1078 unitFixAlign: 'on', // on, off 1079 1080 //-------------------- 1081 // ã¦ãããã°ã«ã¼ãã®æ´å 1082 unitGroupAlign: true, 1083 unitGroupAlignMark: '.js-unit_group-align', 1084 unitGroupAlignInterval: 400, 1085 1086 //------------------------ 1087 // æ¤ç´¢ã¯ã¼ãã®ãã¤ã©ã¤ã 1088 searchKeywordHighlightMark: '.entry, .entryColumn, .entryTitle', // ã»ã¬ã¯ã¿è¦ç´ å ã«æ¤ç´¢ã¯ã¼ããå«ã¾ããæã該å½ç®æããã¤ã©ã¤ãããã¾ãã 1089 searchKeywordMatchTag: 'mark', 1090 searchKeywordMatchClass: 'highlight', 1091 // ä¾) 1092 // æ¤ç´¢å¯¾è±¡:<div.entry><p>ããã¯ã«ã»ã¸ã¨</p></div> 1093 // æ¤ç´¢èª:ããããã»ã¸ã 1094 // çµæ:<div.entry><p><span class="highlight1">ãã</span>ã¯ã«<span class="highlight2">ã»ã¸</span>ã¨</p></div> 1095 1096 //--------- 1097 // ãã°ã« 1098 toggleHeadClassSuffix: 'toggle-head', // åãæ¿ããéã«ã¯ãªãã¯ããè¦ç´ 1099 toggleBodyClassSuffix: 'toggle-body', // åãæ¿ã表示対象ã®è¦ç´ 1100 // è¦ç´ ã®è¡¨ç¤ºé表示ãã¢ãã¡ã¼ã·ã§ã³ã§åãæ¿ãã¾ã ( åæç¶æ ã¯é表示ã¨ãªãã¾ã ) 1101 // ä¾ï¼ 1102 // <h4 class="continue-toggle-head">ç¶ããèªã</h4> 1103 // <p class="continue-toggle-body">æ¬æ</p> 1104 1105 //---------- 1106 // ãã§ã¼ã 1107 fadeHeadClassSuffix: 'fade-head', // åãæ¿ããéã«ã¯ãªãã¯ããè¦ç´ 1108 fadeBodyClassSuffix: 'fade-body', // åãæ¿ã表示対象ã®è¦ç´ 1109 // è¦ç´ ã®è¡¨ç¤ºé表示ãåãæ¿ãã¾ããã§ã¼ãã®ã¢ãã¡ã¼ã·ã§ã³ã§åãæ¿ãã¾ã ( åæç¶æ ã¯é表示ã¨ãªãã¾ã ) 1110 // ä¾ï¼ 1111 // <h4 class="continue-fade-head">ç¶ããèªã</h4> 1112 // <p class="continue-fade-body">æ¬æ</p> 1113 1114 //----------- 1115 // validator 1116 validatorFormMark: 'form.js-validator', 1117 validatorResultClass: 'validator-result-', 1118 validatorOkClass: 'valid', 1119 validatorNgClass: 'invalid', 1120 1121 //------------ 1122 // eval value 1123 inputEvalValueMark: '.js-input-eval_value', 1124 1125 //-------- 1126 // select 1127 select2textMark: '.js-select_2text', 1128 1129 //------------------- 1130 // observe file size 1131 observeFileSizeMark: '.js-observeFileSize', 1132 1133 //-------------- 1134 // resize image 1135 resizeImage: 'on', 1136 resizeImageTargetMark: '.js-img_resize', 1137 resizeImageTargetMarkCF: '.js-img_resize_cf', 1138 resizeImageInputMark: '.js-img_resize_input', 1139 resizeImagePreviewMark: '.js-img_resize_preview', 1140 1141 //------------------- 1142 // password strength 1143 passwordStrengthMark: '.js-password_strength', 1144 passwordStrengthInputMark: '.js-input', 1145 passwordStrengthMeterMark: '.js-meter', 1146 passwordStrengthLabelMark: '.js-label', 1147 passwordStrengthMessage: { 1148 0: ACMS.i18n('password_strength_meter.worst'), 1149 1: ACMS.i18n('password_strength_meter.bad'), 1150 2: ACMS.i18n('password_strength_meter.weak'), 1151 3: ACMS.i18n('password_strength_meter.good'), 1152 4: ACMS.i18n('password_strength_meter.strong'), 1153 }, 1154 1155 //-------------- 1156 // post include 1157 postIncludeOnsubmitMark: '.js-post_include', 1158 postIncludeOnreadyMark: '.js-post_include-ready', 1159 postIncludeOnBottomMark: '.js-post_include-bottom', 1160 postIncludeOnIntervalMark: '.js-post_include-interval', 1161 postIncludeMethod: 'replace', // ( 'swap' | 'replace' ) 1162 postIncludeEffect: 'slide', // ( 'slide' | 'fade' | '' ) 1163 postIncludeEffectSpeed: 'slow', // ( 'slow' | 'fast' ) 1164 postIncludeOffset: 60, 1165 postIncludeReadyDelay: 0, 1166 postIncludeIntervalTime: 20000, 1167 postIncludeArray: [{
1168 // 'mark' : '.js-post_include-original', 1169 // 'type' : 'submit', 1170 // 'method' : 'swap', 1171 // 'effect' : 'slide', 1172 // 'effectSpeed' : 'slow' 1173 }], 1174 1175 //--------------------- 1176 // link match location 1177 linkMatchLocationMark: '.js-link_match_location', 1178 linkMatchLocationFullMark: '.js-link_match_location-full', 1179 linkMatchLocationBlogMark: '.js-link_match_location-blog', 1180 linkMatchLocationCategoryMark: '.js-link_match_location-category', 1181 linkMatchLocationEntryMark: '.js-link_match_location-entry', 1182 linkMatchLocationContainMark: '.js-link_match_location-contain', 1183 linkMatchLocationClass: 'stay', 1184 linkMatchLocationFullClass: 'stay', 1185 linkMatchLocationBlogClass: 'stay', 1186 linkMatchLocationCategoryClass: 'stay', 1187 linkMatchLocationEntryClass: 'stay', 1188 linkMatchLocationContainClass: 'stay', 1189 linkMatchLocationArray: [{ 1190 // 'mark' : '.js-link_match_location-original', 1191 // 'type' : 'part', //( 'part' | 'full' | 'blog' | 'category' | 'entry' ) 1192 // 'class' : 'current' 1193 }], 1194 1195 //--------- 1196 // viewing 1197 viewingMark: 'a.js-viewing-receptor', // 1.3.0 æªæºã®ãã¼ã¸ã§ã³ããã¢ãããã¼ãããå ´åã«ã¯ 'a' ã¨æå®ãã¦ãã ããã 1198 viewingId: 'viewing', 1199 viewingClass: 'viewing', 1200 viewingEraseMark: 'a.js-viewing-erase', // 'a:not(.js-viewing-indelible)', v3.1: ããã©ã«ãã§aã¿ã°ãåé¤ããªãããã«ä¿®æ£ 1201 viewingReplacement: '', 1202 viewingRemoveAttr: ['href', 'charset', 'type', 'hreflang', 'rel', 'rev', 'target'], 1203 viewingNonTarget: ['block', 'inline-block', 'flex', 'inline-flex', 'grid', 'inline-grid', 'table', 'table-row', 'list-item'], 1204 1205 //-------------------- 1206 // link outside blank 1207 linkOutsideBlankMark: 'a:not([target]):not([href^="javascript"]):not([href^="tel"])', // å¤é¨ãªã³ã¯ãæ°ããã¦ã£ã³ãã¦ã§éãã¾ãããã®ã»ã¬ã¯ã¿ã§æå®ãããè¦ç´ ã«å¯¾ãã¦ã®ã¿å¦ç対象ã¨ãªãã¾ã 1208 linkOutsideAppendAttr: 'noopener noreferrer', //å¤é¨ãªã³ã¯ã«ä»ä¸ãã屿§ 1209 1210 //------------------------------ 1211 // link https disabler, enabler 1212 // æå·åãå©ç¨ããhttpséä¿¡æã«é常ã®ãªã³ã¯ãhttps://ã«ãªã£ã¦ãã¾ããã®ãhttp://ã«æ¸ãæãã¾ãã 1213 linkHttpsDisablerMark: 'off', // 'a:not([rel*="https"]),a:not([data-rel*="https"])', 1214 // a:not([rel*="https"]) ã¨ããã»ã¬ã¯ã¿ãè¨å®ããã¦ããå ´åã¯rel屿§ã«"https"ã¨æå®ããã¦ãããªã³ã¯ã¯æ¸ãæããè¡ããã«https://ã®ã¾ã¾ã«ãªãã¾ãã 1215 linkHttpsEnablerMark: 'off', // 'a[rel*="https"],a[data-rel*="https"]', 1216 // é常ã®httpéä¿¡æã«ã»ã¬ã¯ã¿ã«è©²å½ããã¢ã³ã«ã¼ãhttps://ããå§ã¾ãURLã«æ¸ãæãã¾ãã 1217 linkHttpsNoRewriteMark: '.js-link_no_rewrite', 1218 1219 //-------------------- 1220 // adminTableSortable 1221 adminTableSortableMark: '.js-admin_table-sortable', 1222 1223 //-------------------- 1224 // fieldgroupSortable 1225 fieldgroupSortableMark: '.js-fieldgroup-sortable', 1226 fieldgroupSortableMarkForm: '.js-fieldgroup-sortable-form', 1227 fieldgroupSortableItemMark: '.sortable-item', // fieldgroupSortableMarkã®æã示ãè¦ç´ ã®åè¦ç´ ã§ããå¿ è¦ãããã¾ãã 1228 fieldgroupSortableItemHandleMark: '.item-handle', // fieldgroupSortableItemMarkã®æã示ãè¦ç´ ã®åè¦ç´ ã§ããå¿ è¦ãããã¾ãã 1229 fieldgroupSortableItemDeleteMark: '.item-delete', // fieldgroupSortableItemMarkã®æã示ãè¦ç´ ã®åè¦ç´ ã§ããå¿ è¦ãããã¾ãã 1230 fieldgroupSortableItemTemplateMark: '.item-template', // fieldgroupSortableMarkã®æã示ãè¦ç´ ã®åè¦ç´ ã§ããå¿ è¦ãããã¾ãã 1231 fieldgroupSortableItemInsertMark: '.item-insert', // fieldgroupSortableMarkã®æã示ãè¦ç´ ã®åè¦ç´ ã§ããå¿ è¦ãããã¾ãã 1232 fieldgroupSortableItemMaxMark: '.item-max', // fieldgroupSortableMarkã®æã示ãè¦ç´ ã®åè¦ç´ ã§ããå¿ è¦ãããã¾ãã 1233 fieldgroupSortableItemDeleteMessage: ACMS.i18n('field_group_sortable.delete_msg'), // 空æå ('') ã«ããå ´åã¯ç¢ºèªããã«åé¤ãã¾ãã 1234 fieldgroupSortableItemOverflowMessage1: ACMS.i18n('field_group_sortable.overflow_msg1'), // æå¤§ç»é²æ°ãè¶ ããæã
1234®ã¡ãã»ã¼ã¸ã®ååãï¼ååã¨å¾åã®éã«æå¤§æ°ãå ¥ãã¾ãï¼ 1235 fieldgroupSortableItemOverflowMessage2: ACMS.i18n('field_group_sortable.overflow_msg2'), // æå¤§ç»é²æ°ãè¶ ããæã®ã¡ãã»ã¼ã¸ã®å¾åãï¼ååã¨å¾åã®éã«æå¤§æ°ãå ¥ãã¾ãï¼ 1236 1237 //---------------------- 1238 // innerFieldgroupList 1239 innerFieldgroupListMark: '.js-inner-fieldgroup-list', 1240 innerFieldgroupListTemplateMask: '.inner-template', 1241 innerFieldgroupListDeleteMask: '.inner-delete', 1242 innerFieldgroupListInputMask: '.inner-input', 1243 innerFieldgroupListInsertMark: '.inner-insert', 1244 innerFieldgroupListItemMask: '.inner-item', 1245 1246 //-------------- 1247 // web storage 1248 webStorage: 'on', 1249 webStorageType: 'local', // local or session 1250 webStorageCapacity: 'limitless', // one or limitless 1251 webStorageInterval: 2000, 1252 1253 //----------------- 1254 // banEnterSubmit 1255 banEnterSubmitMask: '.js-ban-enter-submit', 1256 1257 //------- 1258 // ready 1259 readyFocusMark: ':input.js-ready-focus', 1260 readyScrollMark: '.js-ready-scroll', 1261 1262 //------- 1263 // hover 1264 hoverMark: '.js-hover', 1265 hoverClass: 'hover', 1266 1267 //------- 1268 // zebra 1269 zebraMark: '.js-zebra', 1270 zebraOddClass: 'odd', 1271 zebraEvenClass: 'even', 1272 1273 //------------- 1274 // placeholder 1275 placeholderMark: '.js-placeholder', 1276 placeholderColor: 'silver', 1277 1278 //-------------------- 1279 // incremental search 1280 incrementalSearchMark: '.js-incremental-search', 1281 incrementalSearchBoxMark: '.js-search-box', 1282 incrementalSearchElementMark: '.js-search-element', 1283 1284 //---------------- 1285 // comment cookie 1286 commentCookieMark: 'form#comment-form.apply', 1287 commentCookieUserMark: 'form#comment-form.apply, form#comment-form.reapply', 1288 1289 //----------- 1290 // input count up 1291 countupMark: '.js-countup', 1292 countupMarkOver: 'acms-admin-text-danger', 1293 1294 //---------------------- 1295 // external form button 1296 externalFormButtonMark: '.js-external_submit', 1297 1298 //----------- 1299 // copyright 1300 copyrightMark: 'a#copyright, #copyright a' 1301}); 1302 1303//-------------- 1304// Config.Admin 1305ACMS.Config.Admin = { 1306 //-------------- 1307 // arg guidance 1308 argGuidance: { 1309 'Entry_Body': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page', 'order'], 1310 'Entry_List': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page', 'order'], 1311 'Entry_Photo': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page', 'order'], 1312 'Entry_Headline': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page', 'order'], 1313 'Entry_Summary': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page', 'order'], 1314 'Entry_ArchiveList': ['bid', 'cid', 'keyword', 'tag', 'field_'], 1315 'Entry_TagRelational': ['bid', 'cid', 'eid', 'keyword', 'field_', 'start', 'end'], 1316 'Entry_Continue': ['eid'], 1317 'Entry_Field': ['eid'], 1318 'Entry_Calendar': ['bid', 'cid', 'start'], 1319 1320 'Entry_GeoList': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page'], 1321 1322 'Admin_Entry_Autocomplete': ['bid', 'uid', 'cid', 'keyword', 'tag', 'field_', 'start', 'end'], 1323 1324 'Unit_List': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'field_', 'start', 'end', 'page', 'order'], 1325 1326 'Category_List': ['bid', 'cid', 'keyword', 'field_', 'start', 'end'], 1327 'Category_EntryList': ['bid', 'uid', 'cid', 'keyword', 'tag', 'field_', 'start', 'end'], 1328 'Category_GeoList': ['bid', 'cid', 'keyword', 'field_'], 1329 'Category_EntrySummary': ['bid', 'uid', 'cid', 'keyword', 'tag', 'field_', 'start', 'end'], 1330 'Category_Field': ['cid'], 1331 1332 'User_Profile': ['bid', 'uid'], 1333 'User_Field': ['uid'], 1334 'User_Search': ['bid', 'uid', 'keyword', 'field_', 'page'], 1335 'User_GeoList': ['bid', 'uid', 'keyword', 'field_', 'page'], 1336 1337 'Blog_Field': ['bid'], 1338 'Blog_ChildList': ['bid', 'keyword', 'field_'], 1339 'Blog_GeoList': ['bid', 'keyword', 'field_'], 1340 1341 'Tag_Cloud': ['bid', 'cid', 'eid', 'field_', 'start', 'end'], 1342 'Tag_Filter': ['bid', 'cid', 'field_', 'tag'], 1343 1344 'Calendar_Month': ['bid', 'cid', 'start', 'end'], 1345 'Calendar_Year': ['bid', 'cid', 'start'], 1346 1347 'Links': [], 1348 'Banner': [], 1349 'Media_Banner': [], 1350 'Navigation': [], 1351 'Topicpath': ['bid', 'cid', 'eid'], 1352 1353 'Comment_Body': ['eid'], 1354 'Comment_List': ['bid'], 1355 1356 'Trackback_Body': ['eid'], 1357 'Trackback_List': ['bid'], 1358 1359 'Json_2Tpl': [], 1360 'Feed_Rss2': ['bid', 'uid', 'cid', 'eid', 'keyword', 'tag', 'start', 'end'], 1361 'Feed_ExList': [], 1362 'Sitemap': [''], 1363 'Ogp': [], 1364 1365 'Shop_Cart_List': [], 1366 'Case_Time': [], 1367 1368 'Alias_List': ['bid'], 1369 1370 'Field_ValueList': ['bid', 'field_'], 1371 1372 'Form2_Unit': ['eid'], 1373 1374 'Plugin_Schedule': ['bid'], 1375 'Schedule': ['bid'] 1376 }, 1377 1378 //-------------- 1379 // axis guidance 1380 axisGuidance: { 1381 'Entry_Body': ['bid_axis', 'cid_axis'], 1382 'Entry_List': ['bid_axis', 'cid_axis'], 1383 'Entry_Photo': ['bid_axis', 'cid_axis'], 1384 'Entry_Headline': ['bid_axis', 'cid_axis'], 1385 'Entry_Summary': ['bid_axis', 'cid_axis'], 1386 'Entry_ArchiveList': ['bid_axis', 'cid_axis'], 1387 'Entry_TagRelational': ['bid_axis', 'cid_axis'], 1388 'Entry_Continue': [], 1389 'Entry_Field': [], 1390 'Entry_Calendar': ['bid_axis', 'cid_axis'], 1391 1392 'Entry_GeoList': ['bid_axis', 'cid_axis'], 1393 1394 'Admin_Entry_Autocomplete': ['bid_axis', 'cid_axis'], 1395 1396 'Unit_List': ['bid_axis', 'cid_axis'], 1397 1398 'Category_List': ['cid_axis'], 1399 'Category_EntryList': [], 1400 'Category_EntrySummary': ['bid_axis', 'cid_axis'], 1401 'Category_Field': [], 1402 1403 'User_Profile': [], 1404 'User_Field': [], 1405 'User_Search': ['bid_axis'], 1406 1407 'Blog_Field': [], 1408 'Blog_ChildList': [], 1409 1410 'Tag_Cloud': ['bid_axis', 'cid_axis'], 1411 'Tag_Filter': ['bid_axis', 'cid_axis'], 1412 1413 'Calendar_Month': ['bid_axis', 'cid_axis'], 1414 'Calendar_Year': ['bid_axis', 'cid_axis'], 1415 1416 'Links': [], 1417 'Banner': [], 1418 'Media_Banner': [], 1419 'Navigation': [], 1420 'Topicpath': ['bid_axis', 'cid_axis'], 1421 1422 'Comment_Body': [], 1423 'Comment_List': [], 1424 1425 'Trackback_Body': [], 1426 'Trackback_List': [], 1427 1428 'Json_2Tpl': [], 1429 'Feed_Rss2': ['bid_axis', 'cid_axis'], 1430 'Feed_ExList': [], 1431 'Sitemap': ['bid_axis', 'cid_axis'], 1432 'Ogp': [], 1433 1434 'Shop_Cart_List': [], 1435 'Case_Time': [], 1436 1437 'Alias_List': [], 1438 1439 'Field_ValueList': ['bid_axis'], 1440 1441 'Form2_Unit': [], 1442 1443 'Plugin_Schedule': [], 1444 'Schedule': [] 1445 }, 1446 1447 //-------------------- 1448 // multi arg guidance 1449 multiArgGuidance: { 1450 'Entry_Body': ['bid', 'uid', 'cid', 'eid'], 1451 'Entry_List': ['bid', 'uid', 'cid', 'eid'], 1452 'Entry_Photo': ['bid', 'uid', 'cid', 'eid'], 1453 'Entry_Headline': ['bid', 'uid', 'cid', 'eid'], 1454 'Entry_Summary': ['bid', 'uid', 'cid', 'eid'], 1455 'Entry_ArchiveList': [], 1456 'Entry_TagRelational': ['cid'], 1457 'Entry_Continue': [], 1458 'Entry_Field': ['bid', 'uid', 'cid', 'eid'], 1459 'Entry_Calendar': [], 1460 1461 'Entry_GeoList': ['bid', 'uid', 'cid'], 1462 1463 'Admin_Entry_Autocomplete': ['bid', 'uid', 'cid', 'eid'], 1464 1465 'Unit_List': [], 1466 1467 'Category_List': [], 1468 'Category_EntryList': [], 1469 'Category_EntrySummary': [], 1470 'Category_Field': [], 1471 1472 'User_Profile': [], 1473 'User_Field': [], 1474 'User_Search': [], 1475 1476 'Blog_Field': [], 1477 'Blog_ChildList': [], 1478 1479 'Tag_Cloud': ['bid', 'cid'], 1480 'Tag_Filter': ['bid', 'cid'], 1481 1482 'Calendar_Month': [], 1483 'Calendar_Year': [], 1484 1485 'Links': [], 1486 'Banner': [], 1487 'Media_Banner': [], 1488 'Navigation': [], 1489 'Topicpath': [], 1490 1491 'Comment_Body': [], 1492 'Comment_List': [], 1493 1494 'Trackback_Body': [], 1495 'Trackback_List': [], 1496 1497 'Json_2Tpl': [], 1498 'Feed_Rss2': [], 1499 'Feed_ExList': [], 1500 'Sitemap': [], 1501 'Ogp': [], 1502 1503 'Shop_Cart_List': [], 1504 'Case_Time': [], 1505 1506 'Alias_List': [], 1507 1508 'Field_ValueList': [], 1509 1510 'Form2_Unit': [], 1511 1512 'Plugin_Schedule': [], 1513 'Schedule': [] 1514 } 1515};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.