>2 年之前 css-selection.js 77628cf8bf first comm 2 年之前 css-shapes.js 77628cf8bf first comm 2 年之前 css-snappoints.js 77628cf8bf first comm 2 年之前 css-sticky.js 77628cf8bf first comm 2 年之前 css-subgrid.js 77628cf8bf first comm 2 年之前 css-supports-api.js 77628cf8bf first comm 2 年之前 css-table.js 77628cf8bf first comm 2 年之前 css-text-align-last.js 77628cf8bf first comm 2 年之前 css-text-box-trim.js 77628cf8bf first comm 2 年之前 css-text-indent.js 77628cf8bf first comm 2 年之前 css-text-justify.js 77628cf8bf first comm 2 年之前 css-text-orientation.js 77628cf8bf first comm 2 年之前 css-text-spacing.js 77628cf8bf first comm 2 年之前 css-textshadow.js 77628cf8bf first comm 2 年之前 css-touch-action.js 77628cf8bf first comm 2 年之前 css-transitions.js 77628cf8bf first comm 2 年之前 css-unicode-bidi.js 77628cf8bf first comm 2 年之前 css-unset-value.js 77628cf8bf first comm 2 年之前 css-variables.js 77628cf8bf first comm 2 年之前 css-when-else.js 77628cf8bf first comm 2 年之前 css-widows-orphans.js 77628cf8bf first comm 2 年之前 css-width-stretch.js 77628cf8bf first comm 2 年之前 css-writing-mode.js 77628cf8bf first comm 2 年之前 css-zoom.js 77628cf8bf first comm 2 年之前 css3-attr.js 77628cf8bf first comm 2 年之前 css3-boxsizing.js 77628cf8bf first comm 2 年之前 css3-colors.js 77628cf8bf first comm 2 年之前 css3-cursors-grab.js 77628cf8bf first comm 2 年之前 css3-cursors-newer.js 77628cf8bf first comm 2 年之前 css3-cursors.js 77628cf8bf first comm 2 年之前 css3-tabsize.js 77628cf8bf first comm 2 年之前 currentcolor.js 77628cf8bf first comm 2 年之前 custom-elements.js 77628cf8bf first comm 2 年之前 custom-elementsv1.js 77628cf8bf first comm 2 年之前 customevent.js 77628cf8bf first comm 2 年之前 datalist.js 77628cf8bf first comm 2 年之前 dataset.js 77628cf8bf first comm 2 年之前 datauri.js 77628cf8bf first comm 2 年之前 date-tolocaledatestring.js 77628cf8bf first comm 2 年之前 declarative-shadow-dom.js 77628cf8bf first comm 2 年之前 decorators.js 77628cf8bf first comm 2 年之前 details.js 77628cf8bf first comm 2 年之前 deviceorientation.js 77628cf8bf first comm 2 年之前 devicepixelratio.js 77628cf8bf first comm 2 年之前 dialog.js 77628cf8bf first comm 2 年之前 dispatchevent.js 77628cf8bf first comm 2 年之前 dnssec.js 77628cf8bf first comm 2 年之前 do-not-track.js 77628cf8bf first comm 2 年之前 document-currentscript.js 77628cf8bf first comm 2 年之前 document-evaluate-xpath.js 77628cf8bf first comm 2 年之前 document-execcommand.js 77628cf8bf first comm 2 年之前 document-policy.js 77628cf8bf first comm 2 年之前 document-scrollingelement.js 77628cf8bf first comm 2 年之前 documenthead.js 77628cf8bf first comm 2 年之前 dom-manip-convenience.js 77628cf8bf first comm 2 年之前 dom-range.js 77628cf8bf first comm 2 年之前 domcontentloaded.js 77628cf8bf first comm 2 年之前 dommatrix.js 77628cf8bf first comm 2 年之前 download.js 77628cf8bf first comm 2 年之前 dragndrop.js 77628cf8bf first comm 2 年之前 element-closest.js 77628cf8bf first comm 2 年之前 element-from-point.js 77628cf8bf first comm 2 年之前 element-scroll-methods.js 77628cf8bf first comm 2 年之前 eme.js 77628cf8bf first comm 2 年之前 eot.js 77628cf8bf first comm 2 年之前 es5.js 77628cf8bf first comm 2 年之前 es6-class.js 77628cf8bf first comm 2 年之前 es6-generators.js 77628cf8bf first comm 2 年之前 es6-module-dynamic-import.js 77628cf8bf first comm 2 年之前 es6-module.js 77628cf8bf first comm 2 年之前 es6-number.js 77628cf8bf first comm 2 年之前 es6-string-includes.js 77628cf8bf first comm 2 年之前 es6.js 77628cf8bf first comm 2 年之前 eventsource.js 77628cf8bf first comm 2 年之前 extended-system-fonts.js 77628cf8bf first comm 2 年之前 feature-policy.js 77628cf8bf first comm 2 年之前 fetch.js 77628cf8bf first comm 2 年之前 fieldset-disabled.js 77628cf8bf first comm 2 年之前 fileapi.js 77628cf8bf first comm 2 年之前 filereader.js 77628cf8bf first comm 2 年之前 filereadersync.js 77628cf8bf first comm 2 年之前 filesystem.js 77628cf8bf first comm 2 年之前 flac.js 77628cf8bf first comm 2 年之前 flexbox-gap.js 77628cf8bf first comm 2 年之前 flexbox.js 77628cf8bf first comm 2 年之前 flow-root.js 77628cf8bf first comm 2 年之前 focusin-focusout-events.js 77628cf8bf first comm 2 年之前 font-family-system-ui.js 77628cf8bf first comm 2 年之前 font-feature.js 77628cf8bf first comm 2 年之前 font-kerning.js 77628cf8bf first comm 2 年之前 font-loading.js 77628cf8bf first comm 2 年之前 font-size-adjust.js 77628cf8bf first comm 2 年之前 font-smooth.js 77628cf8bf first comm 2 年之前 font-unicode-range.js 77628cf8bf first comm 2 年之前 font-variant-alternates.js 77628cf8bf first comm 2 年之前 font-variant-numeric.js 77628cf8bf first comm 2 年之前 fontface.js 77628cf8bf first comm 2 年之前 form-attribute.js 77628cf8bf first comm 2 年之前 form-submit-attributes.js 77628cf8bf first comm 2 年之前 form-validation.js 77628cf8bf first comm 2 年之前 forms.js 77628cf8bf first comm 2 年之前 fullscreen.js 77628cf8bf first comm 2 年之前 gamepad.js 77628cf8bf first comm 2 年之前 geolocation.js 77628cf8bf first comm 2 年之前 getboundingclientrect.js 77628cf8bf first comm 2 年之前 getcomputedstyle.js 77628cf8bf first comm 2 年之前 getelementsbyclassname.js 77628cf8bf first comm 2 年之前 getrandomvalues.js 77628cf8bf first comm 2 年之前 gyroscope.js 77628cf8bf first comm 2 年之前 hardwareconcurrency.js 77628cf8bf first comm 2 年之前 hashchange.js 77628cf8bf first comm 2 年之前 heif.js 77628cf8bf first comm 2 年之前 hevc.js 77628cf8bf first comm 2 年之前 hidden.js 77628cf8bf first comm 2 年之前 high-resolution-time.js 77628cf8bf first comm 2 年之前 history.js 77628cf8bf first comm 2 年之前 html-media-capture.js 77628cf8bf first comm 2 年之前 html5semantic.js 77628cf8bf first comm 2 年之前 http-live-streaming.js 77628cf8bf first comm 2 年之前 http2.js 77628cf8bf first comm 2 年之前 http3.js 77628cf8bf first comm 2 年之前 iframe-sandbox.js 77628cf8bf first comm 2 年之前 iframe-seamless.js 77628cf8bf first comm 2 年之前 iframe-srcdoc.js 77628cf8bf first comm 2 年之前 imagecapture.js 77628cf8bf first comm 2 年之前 ime.js 77628cf8bf first comm 2 年之前 img-naturalwidth-naturalheight.js 77628cf8bf first comm 2 年之前 import-maps.js 77628cf8bf first comm 2 年之前 imports.js 77628cf8bf first comm 2 年之前 indeterminate-checkbox.js 77628cf8bf first comm 2 年之前 indexeddb.js 77628cf8bf first comm 2 年之前 indexeddb2.js 77628cf8bf first comm 2 年之前 inline-block.js 77628cf8bf first comm 2 年之前 innertext.js 77628cf8bf first comm 2 年之前 input-autocomplete-onoff.js 77628cf8bf first comm 2 年之前 input-color.js 77628cf8bf first comm 2 年之前 input-datetime.js 77628cf8bf first comm 2 年之前 input-email-tel-url.js 77628cf8bf first comm 2 年之前 input-event.js 77628cf8bf first comm 2 年之前 input-file-accept.js 77628cf8bf first comm 2 年之前 input-file-directory.js 77628cf8bf first comm 2 年之前 input-file-multiple.js 77628cf8bf first comm 2 年之前 input-inputmode.js 77628cf8bf first comm 2 年之前 input-minlength.js 77628cf8bf first comm 2 年之前 input-number.js 77628cf8bf first comm 2 年之前 input-pattern.js 77628cf8bf first comm 2 年之前 input-placeholder.js 77628cf8bf first comm 2 年之前 input-range.js 77628cf8bf first comm 2 年之前 input-search.js 77628cf8bf first comm 2 年之前 input-selection.js 77628cf8bf first comm 2 年之前 insert-adjacent.js 77628cf8bf first comm 2 年之前 insertadjacenthtml.js 77628cf8bf first comm 2 年之前 internationalization.js 77628cf8bf first comm 2 年之前 intersectionobserver-v2.js 77628cf8bf first comm 2 年之前 intersectionobserver.js 77628cf8bf first comm 2 年之前 intl-pluralrules.js 77628cf8bf first comm 2 年之前 intrinsic-width.js 77628cf8bf first comm 2 年之前 jpeg2000.js 77628cf8bf first comm 2 年之前 jpegxl.js 77628cf8bf first comm 2 年之前 jpegxr.js 77628cf8bf first comm 2 年之前 js-regexp-lookbehind.js 77628cf8bf first comm 2 年之前 json.js 77628cf8bf first comm 2 年之前 justify-content-space-evenly.js 77628cf8bf first comm 2 年之前 kerning-pairs-ligatures.js 77628cf8bf first comm 2 年之前 keyboardevent-charcode.js 77628cf8bf first comm 2 年之前 keyboardevent-code.js 77628cf8bf first comm 2 年之前 keyboardevent-getmodifierstate.js 77628cf8bf first comm 2 年之前 keyboardevent-key.js 77628cf8bf first comm 2 年之前 keyboardevent-location.js 77628cf8bf first comm 2 年之前 keyboardevent-which.js 77628cf8bf first comm 2 年之前 lazyload.js 77628cf8bf first comm 2 年之前 let.js 77628cf8bf first comm 2 年之前 link-icon-png.js 77628cf8bf first comm 2 年之前 link-icon-svg.js 77628cf8bf first comm 2 年之前 link-rel-dns-prefetch.js 77628cf8bf first comm 2 年之前 link-rel-modulepreload.js 77628cf8bf first comm 2 年之前 link-rel-preconnect.js 77628cf8bf first comm 2 年之前 link-rel-prefetch.js 77628cf8bf first comm 2 年之前 link-rel-preload.js 77628cf8bf first comm 2 年之前 link-rel-prerender.js 77628cf8bf first comm 2 年之前 loading-lazy-attr.js 77628cf8bf first comm 2 年之前 localecompare.js 77628cf8bf first comm 2 年之前 magnetometer.js 77628cf8bf first comm 2 年之前 matchesselector.js 77628cf8bf first comm 2 年之前 matchmedia.js 77628cf8bf first comm 2 年之前 mathml.js 77628cf8bf first comm 2 年之前 maxlength.js 77628cf8bf first comm 2 年之前 mdn-css-unicode-bidi-isolate-override.js 77628cf8bf first comm 2 年之前 mdn-css-unicode-bidi-isolate.js 77628cf8bf first comm 2 年之前 mdn-css-unicode-bidi-plaintext.js 77628cf8bf first comm 2 年之前 mdn-text-decoration-color.js 77628cf8bf first comm 2 年之前 mdn-text-decoration-line.js 77628cf8bf first comm 2 年之前 mdn-text-decoration-shorthand.js 77628cf8bf first comm 2 年之前 mdn-text-decoration-style.js 77628cf8bf first comm 2 年之前 media-fragments.js 77628cf8bf first comm 2 年之前 mediacapture-fromelement.js 77628cf8bf first comm 2 年之前 mediarecorder.js 77628cf8bf first comm 2 年之前 mediasource.js 77628cf8bf first comm 2 年之前 menu.js 77628cf8bf first comm 2 年之前 meta-theme-color.js 77628cf8bf first comm 2 年之前 meter.js 77628cf8bf first comm 2 年之前 midi.js 77628cf8bf first comm 2 年之前 minmaxwh.js 77628cf8bf first comm 2 年之前 mp3.js 77628cf8bf first comm 2 年之前 mpeg-dash.js 77628cf8bf first comm 2 年之前 mpeg4.js 77628cf8bf first comm 2 年之前 multibackgrounds.js 77628cf8bf first comm 2 年之前 multicolumn.js 77628cf8bf first comm 2 年之前 mutation-events.js 77628cf8bf first comm 2 年之前 mutationobserver.js 77628cf8bf first comm 2 年之前 namevalue-storage.js 77628cf8bf first comm 2 年之前 native-filesystem-api.js 77628cf8bf first comm 2 年之前 nav-timing.js 77628cf8bf first comm 2 年之前 netinfo.js 77628cf8bf first comm 2 年之前 notifications.js 77628cf8bf first comm 2 年之前 object-entries.js 77628cf8bf first comm 2 年之前 object-fit.js 77628cf8bf first comm 2 年之前 object-observe.js 77628cf8bf first comm 2 年之前 object-values.js 77628cf8bf first comm 2 年之前 objectrtc.js 77628cf8bf first comm 2 年之前 offline-apps.js 77628cf8bf first comm 2 年之前 offscreencanvas.js 77628cf8bf first comm 2 年之前 ogg-vorbis.js 77628cf8bf first comm 2 年之前 ogv.js 77628cf8bf first comm 2 年之前 ol-reversed.js 77628cf8bf first comm 2 年之前 once-event-listener.js 77628cf8bf first comm 2 年之前 online-status.js 77628cf8bf first comm 2 年之前 opus.js 77628cf8bf first comm 2 年之前 orientation-sensor.js 77628cf8bf first comm 2 年之前 outline.js 77628cf8bf first comm 2 年之前 pad-start-end.js 77628cf8bf first comm 2 年之前 page-transition-events.js 77628cf8bf first comm 2 年之前 pagevisibility.js 77628cf8bf first comm 2 年之前 passive-event-listener.js 77628cf8bf first comm 2 年之前 passwordrules.js 77628cf8bf first comm 2 年之前 path2d.js 77628cf8bf first comm 2 年之前 payment-request.js 77628cf8bf first comm 2 年之前 pdf-viewer.js 77628cf8bf first comm 2 年之前 permissions-api.js 77628cf8bf first comm 2 年之前 permissions-policy.js 77628cf8bf first comm 2 年之前 picture-in-picture.js 77628cf8bf first comm 2 年之前 picture.js 77628cf8bf first comm 2 年之前 ping.js 77628cf8bf first comm 2 年之前 png-alpha.js 77628cf8bf first comm 2 年之前 pointer-events.js 77628cf8bf first comm 2 年之前 pointer.js 77628cf8bf first comm 2 年之前 pointerlock.js 77628cf8bf first comm 2 年之前 portals.js 77628cf8bf first comm 2 年之前 prefers-color-scheme.js 77628cf8bf first comm 2 年之前 prefers-reduced-motion.js 77628cf8bf first comm 2 年之前 progress.js 77628cf8bf first comm 2 年之前 promise-finally.js 77628cf8bf first comm 2 年之前 promises.js 77628cf8bf first comm 2 年之前 proximity.js 77628cf8bf first comm 2 年之前 proxy.js 77628cf8bf first comm 2 年之前 publickeypinning.js 77628cf8bf first comm 2 年之前 push-api.js 77628cf8bf first comm 2 年之前 queryselector.js 77628cf8bf first comm 2 年之前 readonly-attr.js 77628cf8bf first comm 2 年之前 referrer-policy.js 77628cf8bf first comm 2 年之前 registerprotocolhandler.js 77628cf8bf first comm 2 年之前 rel-noopener.js 77628cf8bf first comm 2 年之前 rel-noreferrer.js 77628cf8bf first comm 2 年之前 rellist.js 77628cf8bf first comm 2 年之前 rem.js 77628cf8bf first comm 2 年之前 requestanimationframe.js 77628cf8bf first comm 2 年之前 requestidlecallback.js 77628cf8bf first comm 2 年之前 resizeobserver.js 77628cf8bf first comm 2 年之前 resource-timing.js 77628cf8bf first comm 2 年之前 rest-parameters.js 77628cf8bf first comm 2 年之前 rtcpeerconnection.js 77628cf8bf first comm 2 年之前 ruby.js 77628cf8bf first comm 2 年之前 run-in.js 77628cf8bf first comm 2 年之前 same-site-cookie-attribute.js 77628cf8bf first comm 2 年之前 screen-orientation.js 77628cf8bf first comm 2 年之前 script-async.js 77628cf8bf first comm 2 年之前 script-defer.js 77628cf8bf first comm 2 年之前 scrollintoview.js 77628cf8bf first comm 2 年之前 scrollintoviewifneeded.js 77628cf8bf first comm 2 年之前 sdch.js 77628cf8bf first comm 2 年之前 selection-api.js 77628cf8bf first comm 2 年之前 server-timing.js 77628cf8bf first comm 2 年之前 serviceworkers.js 77628cf8bf first comm 2 年之前 setimmediate.js 77628cf8bf first comm 2 年之前 shadowdom.js 77628cf8bf first comm 2 年之前 shadowdomv1.js 77628cf8bf first comm 2 年之前 sharedarraybuffer.js 77628cf8bf first comm 2 年之前 sharedworkers.js 77628cf8bf first comm 2 年之前 sni.js 77628cf8bf first comm 2 年之前 spdy.js 77628cf8bf first comm 2 年之前 speech-recognition.js 77628cf8bf first comm 2 年之前 speech-synthesis.js 77628cf8bf first comm 2 年之前 spellcheck-attribute.js 77628cf8bf first comm 2 年之前 sql-storage.js 77628cf8bf first comm 2 年之前 srcset.js 77628cf8bf first comm 2 年之前 stream.js 77628cf8bf first comm 2 年之前 streams.js 77628cf8bf first comm 2 年之前 stricttransportsecurity.js 77628cf8bf first comm 2 年之前 style-scoped.js 77628cf8bf first comm 2 年之前 subresource-bundling.js 77628cf8bf first comm 2 年之前 subresource-integrity.js 77628cf8bf first comm 2 年之前 svg-css.js 77628cf8bf first comm 2 年之前 svg-filters.js 77628cf8bf first comm 2 年之前 svg-fonts.js 77628cf8bf first comm 2 年之前 svg-fragment.js 77628cf8bf first comm 2 年之前 svg-html.js 77628cf8bf first comm 2 年之前 svg-html5.js 77628cf8bf first comm 2 年之前 svg-img.js 77628cf8bf first comm 2 年之前 svg-smil.js 77628cf8bf first comm 2 年之前 svg.js 77628cf8bf first comm 2 年之前 sxg.js 77628cf8bf first comm 2 年之前 tabindex-attr.js 77628cf8bf first comm 2 年之前 template-literals.js 77628cf8bf first comm 2 年之前 template.js 77628cf8bf first comm 2 年之前 temporal.js 77628cf8bf first comm 2 年之前 testfeat.js 77628cf8bf first comm 2 年之前 text-decoration.js 77628cf8bf first comm 2 年之前 text-emphasis.js 77628cf8bf first comm 2 年之前 text-overflow.js 77628cf8bf first comm 2 年之前 text-size-adjust.js 77628cf8bf first comm 2 年之前 text-stroke.js 77628cf8bf first comm 2 年之前 textcontent.js 77628cf8bf first comm 2 年之前 textencoder.js 77628cf8bf first comm 2 年之前 tls1-1.js 77628cf8bf first comm 2 年之前 tls1-2.js 77628cf8bf first comm 2 年之前 tls1-3.js 77628cf8bf first comm 2 年之前 touch.js 77628cf8bf first comm 2 年之前 transforms2d.js 77628cf8bf first comm 2 年之前 transforms3d.js 77628cf8bf first comm 2 年之前 trusted-types.js 77628cf8bf first comm 2 年之前 ttf.js 77628cf8bf first comm 2 年之前 typedarrays.js 77628cf8bf first comm 2 年之前 u2f.js 77628cf8bf first comm 2 年之前 unhandledrejection.js 77628cf8bf first comm 2 年之前 upgradeinsecurerequests.js 77628cf8bf first comm 2 年之前 url-scroll-to-text-fragment.js 77628cf8bf first comm 2 年之前 url.js 77628cf8bf first comm 2 年之前 urlsearchparams.js 77628cf8bf first comm 2 年之前 use-strict.js 77628cf8bf first comm 2 年之前 user-select-none.js 77628cf8bf first comm 2 年之前 user-timing.js 77628cf8bf first comm 2 年之前 variable-fonts.js 77628cf8bf first comm 2 年之前 vector-effect.js 77628cf8bf first comm 2 年之前 vibration.js 77628cf8bf first comm 2 年之前 video.js 77628cf8bf first comm 2 年之前 videotracks.js 77628cf8bf first comm 2 年之前 viewport-unit-variants.js 77628cf8bf first comm 2 年之前 viewport-units.js 77628cf8bf first comm 2 年之前 wai-aria.js 77628cf8bf first comm 2 年之前 wake-lock.js 77628cf8bf first comm 2 年之前 wasm.js 77628cf8bf first comm 2 年之前 wav.js 77628cf8bf first comm 2 年之前 wbr-element.js 77628cf8bf first comm 2 年之前 web-animation.js 77628cf8bf first comm 2 年之前 web-app-manifest.js 77628cf8bf first comm 2 年之前 web-bluetooth.js 77628cf8bf first comm 2 年之前 web-serial.js 77628cf8bf first comm 2 年之前 web-share.js 77628cf8bf first comm 2 年之前 webauthn.js 77628cf8bf first comm 2 年之前 webcodecs.js 77628cf8bf first comm 2 年之前 webgl.js 77628cf8bf first comm 2 年之前 webgl2.js 77628cf8bf first comm 2 年之前 webgpu.js 77628cf8bf first comm 2 年之前 webhid.js 77628cf8bf first comm 2 年之前 webkit-user-drag.js 77628cf8bf first comm 2 年之前 webm.js 77628cf8bf first comm 2 年之前 webnfc.js 77628cf8bf first comm 2 年之前 webp.js 77628cf8bf first comm 2 年之前 websockets.js 77628cf8bf first comm 2 年之前 webtransport.js 77628cf8bf first comm 2 年之前 webusb.js 77628cf8bf first comm 2 年之前 webvr.js 77628cf8bf first comm 2 年之前 webvtt.js 77628cf8bf first comm 2 年之前 webworkers.js 77628cf8bf first comm 2 年之前 webxr.js 77628cf8bf first comm 2 年之前 will-change.js 77628cf8bf first comm 2 年之前 woff.js 77628cf8bf first comm 2 年之前 woff2.js 77628cf8bf first comm 2 年之前 word-break.js 77628cf8bf first comm 2 年之前 wordwrap.js 77628cf8bf first comm 2 年之前 x-doc-messaging.js 77628cf8bf first comm 2 年之前 x-frame-options.js 77628cf8bf first comm 2 年之前 xhr2.js 77628cf8bf first comm 2 年之前 xhtml.js 77628cf8bf first comm 2 年之前 xhtmlsmil.js 77628cf8bf first comm 2 年之前 xml-serializer.js 77628cf8bf first comm 2 年之前 tum/whitesports - Gogs: Simplico Git Service

Aucune description

modal.php 12KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243
  1. <?php
  2. /**
  3. * Copy & Delete Posts – default menu.
  4. *
  5. * @package CDP
  6. * @subpackage CopyModal
  7. * @author CopyDeletePosts
  8. * @since 1.0.0
  9. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
  10. // Exit if accessed directly.
  11. if (!defined('ABSPATH')) exit;
  12. /** –– **\
  13. * There is constant modal html form using thickbox.
  14. * @since 1.0.0
  15. */
  16. function cdp_modal($screen = '', $profiles = array()) {
  17. if (!function_exists('is_plugin_active')) require_once(ABSPATH.'wp-admin/includes/plugin.php');
  18. $isYoast = false; $isUSM = false; $isWoo = false;
  19. if (is_plugin_active('woocommerce/woocommerce.php')) $isWoo = true;
  20. if (is_plugin_active('wordpress-seo/wp-seo.php') || is_plugin_active('wordpress-seo-premium/wp-seo-premium.php')) $isYoast = true;
  21. if (
  22. is_plugin_active('USM-Premium/usm_premium_icons.php') ||
  23. is_plugin_active('Ultimate-Social-Media-Plus/ultimate_social_media_icons.php') ||
  24. is_plugin_active('Ultimate-Social-Media-Icons/ultimate_social_media_icons.php') ||
  25. is_plugin_active('Ultimate-Premium-Plugin/usm_premium_icons.php') ||
  26. is_plugin_active('ultimate-social-media-icons/ultimate_social_media_icons.php') ||
  27. is_plugin_active('ultimate-social-media-plus/ultimate-social-media-plus.php') ||
  28. is_plugin_active('ultimate-social-media-plus/ultimate_social_media_plus.php')
  29. ) $isUSM = true;
  30. $isMulti = is_multisite() != true ? ' disabled="disabled"' : '';
  31. // Ask for pro features
  32. $areWePro = areWePro();
  33. $globals = get_option('_cdp_globals');
  34. ?>
  35. <div id="cdp-copy-modal-global" class="cdp-modal cdp-copy-modal" style="display:none;">
  36. <div class="cdp-modal-content" style="padding-bottom: 15px; max-height: 90vh;">
  37. <div class="cdp-modal-times"></div>
  38. <div class="cdp-cf cdp-cp-pad" style="margin-top: 50px; padding-top: 0; padding-bottom: 10px;">
  39. <div class="cdp-left">
  40. <h2 class="cdp-f-s-16 cdp-f-w-semi-bold" style="margin: 0; line-height: 40px;"><?php _e('Elements to copy:', 'copy-delete-posts'); ?></h2>
  41. </div>
  42. <div class="cdp-right" style="width: calc(100% - 200px) !important; text-align: right !important;">
  43. <div class="cdp-cf cdp-inline" style="line-height: 40px">
  44. <div class="cdp-left cdp-f-s-16"><?php _e('Use as basis settings', 'copy-delete-posts'); ?></div>
  45. <?php $gepres = get_option('_cdp_preselections', array()); if (array_key_exists(get_current_user_id(), $gepres)) $preSelProf = $gepres[get_current_user_id()]; else $preSelProf = 0; ?>
  46. <select class="cdp-left cdp-modal-select cdp-ow-border cdp-input-dynamic cdp-modal-input-profiles-r cdp-select cdp-m-l-9-d" name="tooltip-which-profile-second">
  47. <option value="custom"<?php echo (array_key_exists($preSelProf, $profiles) && !$profiles[$preSelProf])?' selected':''?> disabled><?php _e('–– Select ––', 'copy-delete-posts'); ?></option>
  48. <option value="clear"><?php _e('Clean slate', 'copy-delete-posts'); ?></option>
  49. <optgroup label="<?php _e('–– Profiles ––', 'copy-delete-posts'); ?>"></optgroup>
  50. <option value="custom_named" disabled><?php _e('Custom', 'copy-delete-posts'); ?></option>
  51. <?php
  52. if ($profiles != false && $areWePro) {
  53. foreach ($profiles as $profile => $vals):
  54. $isSel = ($preSelProf == $profile);
  55. ?>
  56. <option value="<?php echo htmlspecialchars($profile); ?>"<?php echo ($isSel)?' selected':''?>><?php echo ucfirst(htmlspecialchars($vals['names']['display'])); ?></option>
  57. <?php endforeach; } else { ?>
  58. <option value="default"><?php _e('Default', 'copy-delete-posts'); ?></option>
  59. <?php } ?>
  60. </select>
  61. </div>
  62. </div>
  63. </div>
  64. <div class="cdp-cp-pad">
  65. <div class="cdp-modal-checkboxes cdp-checkboxes">
  66. <label>
  67. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="title">
  68. <span><?php _e('Title', 'copy-delete-posts'); ?></span>
  69. </label>
  70. <label>
  71. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="date">
  72. <span><?php _e('Date', 'copy-delete-posts'); ?></span>
  73. </label>
  74. <label>
  75. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="status">
  76. <span><?php _e('Status', 'copy-delete-posts'); ?></span>
  77. </label>
  78. <label>
  79. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="slug">
  80. <span><?php _e('Slug', 'copy-delete-posts'); ?></span>
  81. </label>
  82. </div>
  83. <div class="cdp-modal-checkboxes cdp-checkboxes">
  84. <label>
  85. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="excerpt">
  86. <span><?php _e('Excerpt', 'copy-delete-posts'); ?></span>
  87. </label>
  88. <label>
  89. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="content">
  90. <span><?php _e('Content', 'copy-delete-posts'); ?></span>
  91. </label>
  92. <label>
  93. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="f_image">
  94. <span><?php _e('Feat. image', 'copy-delete-posts'); ?></span>
  95. </label>
  96. <label>
  97. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="template">
  98. <span><?php _e('Template', 'copy-delete-posts'); ?></span>
  99. </label>
  100. </div>
  101. <div class="cdp-modal-checkboxes cdp-checkboxes">
  102. <label>
  103. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="format">
  104. <span><?php _e('Format', 'copy-delete-posts'); ?></span>
  105. </label>
  106. <label>
  107. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="author">
  108. <span><?php _e('Author', 'copy-delete-posts'); ?></span>
  109. </label>
  110. <label>
  111. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="password">
  112. <span><?php _e('Password', 'copy-delete-posts'); ?></span>
  113. </label>
  114. <label>
  115. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="children">
  116. <span><?php _e('Children', 'copy-delete-posts'); ?></span>
  117. </label>
  118. </div>
  119. <div class="cdp-modal-checkboxes cdp-checkboxes">
  120. <label>
  121. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="comments">
  122. <span><?php _e('Comments', 'copy-delete-posts'); ?></span>
  123. </label>
  124. <label>
  125. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="menu_order">
  126. <span><?php _e('Menu order', 'copy-delete-posts'); ?></span>
  127. </label>
  128. <label>
  129. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="attachments">
  130. <span><?php _e('Attachments', 'copy-delete-posts'); ?></span>
  131. </label>
  132. <label>
  133. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="category">
  134. <span><?php _e('Categories', 'copy-delete-posts'); ?></span>
  135. </label>
  136. </div>
  137. <div class="cdp-modal-checkboxes cdp-checkboxes">
  138. <label>
  139. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="post_tag">
  140. <span><?php _e('Tags', 'copy-delete-posts'); ?></span>
  141. </label>
  142. <label>
  143. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="taxonomy">
  144. <span><?php _e('Taxonomies', 'copy-delete-posts'); ?></span>
  145. </label>
  146. <label>
  147. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="nav_menu">
  148. <span><?php _e('Navigation Menus', 'copy-delete-posts'); ?></span>
  149. </label>
  150. <label>
  151. <input class="cdp-modal-option-r cdp-input-dynamic" type="checkbox" name="link_category">
  152. <span><?php _e('Link categories', 'copy-delete-posts'); ?></span>
  153. </label>
  154. </div>
  155. <?php if ($isYoast || $isUSM || $isWoo): ?>
  156. <div class="cdp-modal-checkboxes cdp-checkboxes cdp-modal-checkboxes-three">
  157. <label class="cdp-relative"><span class="cdp-premium-icon" style="margin-left: 0"></span><b style="padding-left: 21px;" class="cdp-f-s-15 cdp-f-w-medium"><?php _e('Plugin options:', 'copy-delete-posts'); ?></b></label>
  158. <?php if ($isWoo): ?>
  159. <label class="cdp-woo">
  160. <div class="cdp-inline cdp-tooltip-premium-spc">
  161. <input class="cdp-input-dynamic" type="checkbox" name="woo">
  162. <span><?php _e('Woo Settings', 'copy-delete-posts'); ?></span>
  163. </div>
  164. </label>
  165. <?php endif; ?>
  166. <?php if ($isYoast): ?>
  167. <label class="cdp-yoast">
  168. <div class="cdp-inline cdp-tooltip-premium-spc">
  169. <input class="cdp-input-dynamic" type="checkbox" name="yoast">
  170. <span><?php _e('Yoast Settings', 'copy-delete-posts'); ?></span>
  171. </div>
  172. </label>
  173. <?php endif; ?>
  174. <?php if ($isUSM): ?>
  175. <label>
  176. <div class="cdp-inline cdp-tooltip-premium-spc">
  177. <input class="cdp-input-dynamic" type="checkbox" name="usmplugin">
  178. <span><?php _e('USM Settings', 'copy-delete-posts'); ?></span>
  179. </div>
  180. </label>
  181. <?php endif; ?>
  182. <?php if (false): ?>
  183. <label>
  184. <div class="cdp-inline cdp-tooltip-premium-spc">
  185. <input class="cdp-input-dynamic" type="checkbox" name="all_metadata">
  186. <span><?php _e('Other Plugin Settings', 'copy-delete-posts'); ?></span>
  187. </div>
  188. </label>
  189. <?php endif; ?>
  190. </div>
  191. <?php endif; ?>
  192. </div>
  193. <div class="cdp-modal-copy-times cdp-f-s-15">
  194. <div class="cdp-modal-copy-times-content">
  195. <?php if ($areWePro && function_exists('cdpp_change_post_type')) cdpp_change_post_type(); ?>
  196. <div class="cdp-cf cdp-inline">
  197. <div class="cdp-left" style="line-height: 40px;"><?php _e('Copy', 'copy-delete-posts'); ?>&nbsp;</div>
  198. <div class="cdp-left" style="line-height: 40px;">
  199. <input class="cdp-modal-input-times cdp-input-border" style="border-width: 1px !important;" placeholder="1" type="number" value="1">
  200. </div>
  201. <div class="cdp-left" style="line-height: 40px;">
  202. &nbsp;<?php _e('time(s)', 'copy-delete-posts'); ?>
  203. </div>
  204. <div class="cdp-left" style="line-height: 40px;">&nbsp;to</div>
  205. <div class="cdp-left">
  206. <div class="cdp-inline cdp-tooltip-premium-spc-2 <?php echo (($isMulti != '')?' cdp-tooltip-premium-spc-3':' cdp-tooltip-premium-spc-4'); ?>">
  207. <select class="cdp-input-dynamic cdp-modal-select cdp-modal-select-2 cdp-ow-border cdp-modal-input-site cdp-select cdp-m-l-9-d" name="tooltip-which-site-second" <?php echo $isMulti; ?>>
  208. <option value="-1"><?php _e('this site', 'copy-delete-posts'); ?></option>
  209. <?php if ($areWePro && function_exists('cdpp_get_sites')) echo cdpp_get_sites(true); ?>
  210. </select>
  211. </div>
  212. </div>
  213. </div>
  214. </div>
  215. </div>
  216. <div class="cdp-center">
  217. <span class="cdp-error-span-tooltip"><?php _e('Making more than 50 copies will take some time. – depending on your server.', 'copy-delete-posts'); ?></span>
  218. </div>
  219. <div class="cdp-center cdp-p-25-h">
  220. <button class="cdp-button cdp-copy-modal-button cdp-f-s-15 cdp-f-w-regular" data-cdp-btn="copy-custom" style="height:44px; width:211px;padding:0 20px;line-height: 44px;"><?php _e('Copy it!', 'copy-delete-posts'); ?></button>
  221. <?php if (isset($globals) && array_key_exists('afterCopy', $globals) && $globals['afterCopy'] == '3'): ?>
  222. <button class="cdp-button cdp-copy-modal-button cdp-p-right-h cdp-f-s-15 cdp-f-w-regular" data-cdp-btn="copy-custom-link" style="height:44px; width:292px;padding:0 20px;line-height: 44px;margin-left: 15px !important;"><?php _e('Copy and jump to editing', 'copy-delete-posts'); ?></button>
  223. <?php endif; ?>
  224. </div>
  225. </div>
  226. </div>
  227. <?php
  228. }
  229. /** –– **/