Home
last modified time | relevance | path

Searched refs:type (Results 26 – 50 of 4303) sorted by last modified time

12345678910>>...173

/plugin/linkback/
H A DCHANGELOG4 * Fixed HTTP client to correctly accept all type 200 responses as successful
H A Dtools.php120 function addLogEntry($date, $id, $type = 'cl', $summary = '', $extra = '') { argument
138 'type' => str_replace($strip,
140 $type
H A DCOPYING322 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
324 under certain conditions; type `show c' for details.
H A Dadmin.php74 ptln('<input type="hidden" name="do" value="admin" />', 10);
75 ptln('<input type="hidden" name="page" value="linkback" />', 10);
150 ptln('<input type="hidden" name="do" value="admin" />', 10);
151 ptln('<input type="hidden" name="page" value="linkback" />', 10);
155 ptln('<label for="status_'.$id.'_'.$key.'">'.$label.'</label>&nbsp;<input type="checkbox" name="status['.$key.']" value="1"'.$selected.' id="status_'.$id.'_'.$key.'" />&nbsp;&nbsp;', 12);
157 ptln('<input type="submit" name="linkback" value="'.$this->getLang('btn_change').'" class"button" title="'.$this->getLang('btn_change').'" />', 10);
205 $type = $linkback['type'];
209 return '<input type="checkbox" name="lid['.$linkback['lid'].']" value="1" /> '.
210 $this->external_link($url, $title).', '.strftime($conf['dformat'], $date).', ' . $this->getLang('linkback_type_' . $type)
[all...]
/plugin/linkback/action/
H A Dsend.php226 foreach ($order as $type) {
227 if ($this->_ping_page_linkback(trim($type), $page, $http_client->resp_headers, $data, $linkback_info))
235 * Discovers and executes the actual linkback of given type
237 * @param string $type type of linkback to send, can be "pingback" or "trackback"
243 function _ping_page_linkback($type, $page, $headers, $body, $linkback_info) { argument
244 if (!$this->getConf('enable_' . $type)) {
248 switch ($type) {
H A Ddisplay.php151 $type = $linkback['type'];
176 echo ' (<abbr class="type" title="' . $this->getLang('linkback_type_' . $type) . '">' . $this->getLang('linkback_type_' . $type) . '</abbr>)';
219 <input type="hidden" name="id" value="<?php echo $ID ?>" />
220 <input type="hidden" name="do" value="show" />
221 <input type="hidden" name="linkback" value="<?php echo $act ?>" />
222 <input type="hidden" name="lid" value="<?php echo $lid ?>" />
223 <input type
[all...]
H A Dantispam.php61 if ($this->getConf('antispam_link_enable') && !$this->_clean_link($target, $page, $linkback['type'])) {
112 function _clean_link($targetUri, $page, $type) { argument
113 if ($type == 'pingback')
/plugin/structpublish/
H A DLICENSE316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318 under certain conditions; type `show c' for details.
/plugin/diagrams/
H A DLICENSE316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318 under certain conditions; type `show c' for details.
/plugin/diagrams/script/
H A DDiagramsForm.js9 type: '',
57 if (attributes.type === 'embed' || attributes.id) {
62 editButton.type = 'button';
68 if (attributes.type === 'mediafile') {
81 if (attributes.type === 'mediafile') {
85 selectButton.type = 'button';
99 * Define form fields depending on type
105 type: 'select', 'label': LANG.plugins.diagrams.alignment, 'name': 'align', 'options':
118 if (attributes.type === 'mediafile') {
156 if (this.#attributes.type
[all...]
H A DDiagramsMediaManager.js36 if (mutation.type !== 'childList') continue;
160 input.type = 'text';
H A DDiagramsMenuItemDispatcher.js5 /** The type of the node to be inserted */
6 static type = 'mediafile'; field in DiagramsMenuItemDispatcherMediaFile
67 type: this.type,
82 label: LANG.plugins.diagrams['PMMenuItem-' + this.type],
91 static type = 'embed'; field in DiagramsMenuItemDispatcherEmbedded
H A DDiagramsView.js19 const schemaSpec = this.node.type.spec.toDOM(this.node);
H A Dembed-toolbar.js27 // boundaries of the previous and next elements of the same type
70 type: "DiagramsPlugin", property in toolbar
H A Dmediafile-linkfix.js19 if (mutation.type !== 'childList') continue;
H A Dprosemirror.js10 type: {default: 'mediafile'},
40 'data-type': node.attrs.type,
/plugin/struct/jsoneditor/
H A Djsoneditor-minimalist.min.js30 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):"object"==typeof exports?exports.JSONEditor=t():e.JSONEditor=t()}(this,function(){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){function i(e,t,n){if(!(this instanceof i))throw new Error('JSONEditor constructor called without "new".');var o=l.getInternetExplorerVersion();if(-1!=o&&9>o)throw new Error("Unsupported browser, IE9 or newer required. Please install the newest version of your browser.");if(t&&(t.error&&(console.warn('Option "error" has been renamed to "onError"'),t.onError=t.error,delete t.error),t.change&&(console.warn('Option "change" has been renamed to "onChange"'),t.onChange=t.change,delete t.change),t.editable&&(console.warn('Option "editable" has been renamed to "onEditable"'),t.onEditable=t.editable,delete t.editable),t)){var r=["ace","theme","ajv","schema","onChange","onEditable","onError","onModeChange","escapeUnicode","history","search","mode","modes","name","indentation"];Object.keys(t).forEach(function(e){-1===r.indexOf(e)&&console.warn('Unknown option "'+e+'". This option will be ignored')})}arguments.length&&this._create(e,t,n)}var o;try{o=n(!function(){var e=new Error('Cannot find module "ajv/dist/ajv.bundle.js"');throw e.code="MODULE_NOT_FOUND",e}())}catch(r){}var s=n(1),a=n(2),l=n(3);i.modes={},i.prototype.DEBOUNCE_INTERVAL=150,i.prototype._create=function(e,t,n){this.container=e,this.options=t||{},this.json=n||{};var i=this.options.mode||"tree";this.setMode(i)},i.prototype._delete=function(){},i.prototype.set=function(e){this.json=e},i.prototype.get=function(){return this.json},i.prototype.setText=function(e){this.json=l.parse(e)},i.prototype.getText=function(){return JSON.stringify(this.json)},i.prototype.setName=function(e){this.options||(this.options={}),this.options.name=e},i.prototype.getName=function(){return this.options&&this.options.name},i.prototype.setMode=function(e){var t,n,o=this.container,r=l.extend({},this.options),s=r.mode;r.mode=e;var a=i.modes[e];if(!a)throw new Error('Unknown mode "'+r.mode+'"');try{var c="text"==a.data;if(n=this.getName(),t=this[c?"getText":"get"](),this._delete(),l.clear(this),l.extend(this,a.mixin),this.create(o,r),this.setName(n),this[c?"setText":"set"](t),"function"==typeof a.load)try{a.load.call(this)}catch(d){console.error(d)}if("function"==typeof r.onModeChange&&e!==s)try{r.onModeChange(e,s)}catch(d){console.error(d)}}catch(d){this._onError(d)}},i.prototype.getMode=function(){return this.options.mode},i.prototype._onError=function(e){if(!this.options||"function"!=typeof this.options.onError)throw e;this.options.onError(e)},i.prototype.setSchema=function(e){if(e){var t;try{t=this.options.ajv||o({allErrors:!0,verbose:!0})}catch(n){console.warn("Failed to create an instance of Ajv, JSON Schema validation is not available. Please use a JSONEditor bundle including Ajv, or pass an instance of Ajv as via the configuration option `ajv`.")}t&&(this.validateSchema=t.compile(e),this.options.schema=e,this.validate())}else this.validateSchema=null,this.options.schema=null,this.validate()},i.prototype.validate=function(){},i.registerMode=function(e){var t,n;if(l.isArray(e))for(t=0;t<e.length;t++)i.registerMode(e[t]);else{if(!("mode"in e))throw new Error('Property "mode" missing');if(!("mixin"in e))throw new Error('Property "mixin" missing');if(!("data"in e))throw new Error('Property "data" missing');var o=e.mode;if(o in i.modes)throw new Error('Mode "'+o+'" already registered');if("function"!=typeof e.mixin.create)throw new Error('Required function "create" missing on mixin');var r=["setMode","registerMode","modes"];for(t=0;t<r.length;t++)if(n=r[t],n in e.mixin)throw new Error('Reserved property "'+n+'" not allowed in mixin');i.modes[o]=e}},i.registerMode(s),i.registerMode(a),e.exports=i},function(e,t,n){var i=n(4),o=n(5),r=n(6),s=n(7),a=n(8),l=n(9),c=n(3),d={};d.create=function(e,t){if(!e)throw new Error("No container element provided.");this.container=e,this.dom={},this.highlighter=new i,this.selection=void 0,this.multiselection={nodes:[]},this.validateSchema=null,this.errorNodes=[],this._setOptions(t),this.options.history&&"view"!==this.options.mode&&(this.history=new o(this)),this._createFrame(),this._createTable()},d._delete=function(){this.frame&&this.container&&this.frame.parentNode==this.container&&this.container.removeChild(this.frame)},d._setOptions=function(e){if(this.options={search:!0,history:!0,mode:"tree",name:void 0,schema:null},e)for(var t in e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.setSchema(this.options.schema),this._debouncedValidate=c.debounce(this.validate.bind(this),this.DEBOUNCE_INTERVAL)};var h=void 0,u=null;d.set=function(e,t){if(t&&(console.warn('Second parameter "name" is deprecated. Use setName(name) instead.'),this.options.name=t),e instanceof Function||void 0===e)this.clear();else{this.content.removeChild(this.table);var n={field:this.options.name,value:e},i=new a(this,n);this._setRoot(i),this.validate();var o=!1;this.node.expand(o),this.content.appendChild(this.table)}this.history&&this.history.clear(),this.searchBox&&this.searchBox.clear()},d.get=function(){return h&&h.blur(),this.node?this.node.getValue():void 0},d.getText=function(){return JSON.stringify(this.get())},d.setText=function(e){this.set(c.parse(e))},d.setName=function(e){this.options.name=e,this.node&&this.node.updateField(this.options.name)},d.getName=function(){return this.options.name},d.focus=function(){var e=this.content.querySelector("[contenteditable=true]");e?e.focus():this.node.dom.expand?this.node.dom.expand.focus():this.node.dom.menu?this.node.dom.menu.focus():(e=this.frame.querySelector("button"),e&&e.focus())},d.clear=function(){this.node&&(this.node.collapse(),this.tbody.removeChild(this.node.getDom()),delete this.node)},d._setRoot=function(e){this.clear(),this.node=e,this.tbody.appendChild(e.getDom())},d.search=function(e){var t;return this.node?(this.content.removeChild(this.table),t=this.node.search(e),this.content.appendChild(this.table)):t=[],t},d.expandAll=function(){this.node&&(this.content.removeChild(this.table),this.node.expand(),this.content.appendChild(this.table))},d.collapseAll=function(){this.node&&(this.content.removeChild(this.table),this.node.collapse(),this.content.appendChild(this.table))},d._onAction=function(e,t){this.history&&this.history.add(e,t),this._onChange()},d._onChange=function(){if(this._debouncedValidate(),this.options.onChange)try{this.options.onChange()}catch(e){console.error("Error in onChange callback: ",e)}},d.validate=function(){this.errorNodes&&this.errorNodes.forEach(function(e){e.setError(null)});var e=this.node;if(e){var t=e.validate(),n=[];if(this.validateSchema){var i=this.validateSchema(e.getValue());i||(n=this.validateSchema.errors.map(function(e){return c.improveSchemaError(e)}).map(function(t){return{node:e.findNode(t.dataPath),error:t}}).filter(function(e){return null!=e.node}))}this.errorNodes=t.concat(n).reduce(function(e,t){return t.node.findParents().map(function(e){return{node:e,child:t.node,error:{message:"object"===e.type?"Contains invalid properties":"Contains invalid items"}}}).concat(e,[t])},[]).map(function(e){return e.node.setError(e.error,e.child),e.node})}},d.startAutoScroll=function(e){var t=this,n=this.content,i=c.getAbsoluteTop(n),o=n.clientHeight,r=i+o,s=24,a=50;i+s>e&&n.scrollTop>0?this.autoScrollStep=(i+s-e)/3:e>r-s&&o+n.scrollTop<n.scrollHeight?this.autoScrollStep=(r-s-e)/3:this.autoScrollStep=void 0,this.autoScrollStep?this.autoScrollTimer||(this.autoScrollTimer=setInterval(function(){t.autoScrollStep?n.scrollTop-=t.autoScrollStep:t.stopAutoScroll()},a)):this.stopAutoScroll()},d.stopAutoScroll=function(){this.autoScrollTimer&&(clearTimeout(this.autoScrollTimer),delete this.autoScrollTimer),this.autoScrollStep&&delete this.autoScrollStep},d.setSelection=function(e){e&&("scrollTop"in e&&this.content&&(this.content.scrollTop=e.scrollTop),e.nodes&&this.select(e.nodes),e.range&&c.setSelectionOffset(e.range),e.dom&&e.dom.focus())},d.getSelection=function(){var e=c.getSelectionOffset();return e&&"DIV"!==e.container.nodeName&&(e=null),{dom:u,range:e,nodes:this.multiselection.nodes.slice(0),scrollTop:this.content?this.content.scrollTop:0}},d.scrollTo=function(e,t){var n=this.content;if(n){var i=this;i.animateTimeout&&(clearTimeout(i.animateTimeout),delete i.animateTimeout),i.animateCallback&&(i.animateCallback(!1),delete i.animateCallback);var o=n.clientHeight,r=n.scrollHeight-o,s=Math.min(Math.max(e-o/4,0),r),a=function(){var e=n.scrollTop,o=s-e;Math.abs(o)>3?(n.scrollTop+=o/3,i.animateCallback=t,i.animateTimeout=setTimeout(a,50)):(t&&t(!0),n.scrollTop=s,delete i.animateTimeout,delete i.animateCallback)};a()}else t&&t(!1)},d._createFrame=function(){function e(e){t._onEvent&&t._onEvent(e)}this.frame=document.createElement("div"),this.frame.className="jsoneditor jsoneditor-mode-"+this.options.mode,this.container.appendChild(this.frame);var t=this;this.frame.onclick=function(t){var n=t.target;e(t),"BUTTON"==n.nodeName&&t.preventDefault()},this.frame.oninput=e,this.frame.onchange=e,this.frame.onkeydown=e,this.frame.onkeyup=e,this.frame.oncut=e,this.frame.onpaste=e,this.frame.onmousedown=e,this.frame.onmouseup=e,this.frame.onmouseover=e,this.frame.onmouseout=e,c.addEventListener(this.frame,"focus",e,!0),c.addEventListener(this.frame,"blur",e,!0),this.frame.onfocusin=e,this.frame.onfocusout=e,this.menu=document.createElement("div"),this.menu.className="jsoneditor-menu",this.frame.appendChild(this.menu);var n=document.createElement("button");n.className="jsoneditor-expand-all",n.title="Expand all fields",n.onclick=function(){t.expandAll()},this.menu.appendChild(n);var i=document.createElement("button");if(i.title="Collapse all fields",i.className="jsoneditor-collapse-all",i.onclick=function(){t.collapseAll()},this.menu.appendChild(i),this.history){var o=document.createElement("button");o.className="jsoneditor-undo jsoneditor-separator",o.title="Undo last action (Ctrl+Z)",o.onclick=function(){t._onUndo()},this.menu.appendChild(o),this.dom.undo=o;var s=document.createElement("button");s.className="jsoneditor-redo",s.title="Redo (Ctrl+Shift+Z)",s.onclick=function(){t._onRedo()},this.menu.appendChild(s),this.dom.redo=s,this.history.onChange=function(){o.disabled=!t.history.canUndo(),s.disabled=!t.history.canRedo()},this.history.onChange()}if(this.options&&this.options.modes&&this.options.modes.length){var a=l.create(this,this.options.modes,this.options.mode);this.menu.appendChild(a),this.dom.modeBox=a}this.options.search&&(this.searchBox=new r(this,this.menu))},d._onUndo=function(){this.history&&(this.history.undo(),this._onChange())},d._onRedo=function(){this.history&&(this.history.redo(),this._onChange())},d._onEvent=function(e){"keydown"==e.type&&this._onKeyDown(e),"focus"==e.type&&(u=e.target),"mousedown"==e.type&&this._startDragDistance(e),("mousemove"==e.type||"mouseup"==e.type||"click"==e.type)&&this._updateDragDistance(e);var t=a.getNodeFromTarget(e.target);if(t&&t.selected){if("click"==e.type){if(e.target==t.dom.menu)return void this.showContextMenu(e.target);e.hasMoved||this.deselect()}"mousedown"==e.type&&a.onDragStart(this.multiselection.nodes,e)}else"mousedown"==e.type
[all...]
/plugin/struct/meta/
H A DAggregationCloud.php47 $type = strtolower($value->getColumn()->getType()->getClass());
69 "<div style='font-size:$weight%' data-count='$count' class='cloudtag struct_$type'>";
H A DAggregationList.php127 'data-struct-type' => strtolower($value->getColumn()->getType()->getClass()),
H A DAggregationValue.php57 $type = 'struct_' . strtolower($value->getColumn()->getType()->getClass());
58 $this->renderer->doc .= '<span class="' . $type . '">';
H A DCSVExporter.php20 protected $type = ''; variable in dokuwiki\\plugin\\struct\\meta\\CSVExporter
26 * @param string $type
28 public function __construct($table, $type) argument
31 $this->type = $type;
39 if ($this->type !== self::DATATYPE_GLOBAL) {
45 if ($this->type !== self::DATATYPE_GLOBAL) {
64 if ($this->type !== self::DATATYPE_GLOBAL) {
86 if ($this->type !== self::DATATYPE_GLOBAL) {
H A DCSVImporter.php38 * @var string data type, must be one of page, global, serial
40 protected $type; variable in dokuwiki\\plugin\\struct\\meta\\CSVImporter
47 * @param string $type
49 public function __construct($table, $file, $type) argument
51 $this->type = $type;
113 if ($this->type !== CSVExporter::DATATYPE_GLOBAL) {
164 * @param mixed &$rawvalue the value, will be fixed according to the type
218 if ($this->type === CSVExporter::DATATYPE_PAGE) {
222 if ($this->type
[all...]
H A DColumn.php23 /** @var AbstractBaseType the type of this column */
24 protected $type; variable in dokuwiki\\plugin\\struct\\meta\\Column
35 * @param AbstractBaseType $type
40 public function __construct($sort, AbstractBaseType $type, $colref = 0, $enabled = true, $table = '') argument
43 $this->type = $type;
62 return $this->type->getTid();
70 return $this->type->getLabel();
87 return $this->type->getTranslatedLabel();
95 return $this->type
[all...]
H A DPageColumn.php20 * @param PageMeta $type
23 public function __construct($sort, Page $type, $table = '') argument
25 if ($type->isMulti()) throw new StructException('PageColumns can not be multi value types!');
26 parent::__construct($sort, $type, 0, true, $table);
H A DPublishedColumn.php14 * @param Decimal $type
17 public function __construct($sort, Decimal $type, $table) argument
19 if ($type->isMulti()) throw new StructException('PublishedColumns can not be multi value types!');
20 Column::__construct($sort, $type, 0, true, $table);

12345678910>>...173