Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 25 of 199) sorted by relevance

12345678

/plugin/gallery/
DGalleryNode.php40 $attrs = $this->data['attrs'];
41 if ($attrs['thumbnailsize'] !== $defaults['thumbnailsize']) {
42 $query[] = $attrs['thumbnailsize'];
44 if ($attrs['imagesize'] !== $defaults['imagesize']) {
45 $query[] = $attrs['imagesize'];
48 $query[] = $this->extractFlagParam('showname', $attrs, $defaults);
49 $query[] = $this->extractFlagParam('showtitle', $attrs, $defaults);
50 $query[] = $this->extractFlagParam('cache', $attrs, $defaults);
51 $query[] = $this->extractFlagParam('crop', $attrs, $defaults);
52 $query[] = $this->extractFlagParam('direct', $attrs, $defaults);
[all …]
/plugin/mantis/lib/
Dclass.xmlschema.php173 * @param string $attrs associative array of attributes
176 function schemaStartElement($parser, $name, $attrs) { argument
199 if(count($attrs) > 0){
200 foreach($attrs as $k => $v){
220 foreach($attrs as $k => $v){
226 $attrs = $eAttrs;
228 $attrs = array();
245 $this->appendDebug($this->varDump($attrs));
246 if (!isset($attrs['form'])) {
247 $attrs['form'] = $this->schemaInfo['attributeFormDefault'];
[all …]
Dclass.wsdl.php296 * @param string $attrs associative array of attributes
299 function start_element($parser, $name, $attrs) argument
302 $this->currentSchema->schemaStartElement($parser, $name, $attrs);
310 $this->currentSchema->schemaStartElement($parser, $name, $attrs);
321 if (count($attrs) > 0) {
323 foreach($attrs as $k => $v) {
337 foreach($attrs as $k => $v) {
344 $attrs = $eAttrs;
346 $attrs = array();
362 if (isset($attrs['type'])) {
[all …]
Dnusoap.php1241 * @param string $attrs associative array of attributes
1244 function schemaStartElement($parser, $name, $attrs) { argument
1267 if(count($attrs) > 0){
1268 foreach($attrs as $k => $v){
1288 foreach($attrs as $k => $v){
1294 $attrs = $eAttrs;
1296 $attrs = array();
1313 $this->appendDebug($this->varDump($attrs));
1314 if (!isset($attrs['form'])) {
1315 $attrs['form'] = $this->schemaInfo['attributeFormDefault'];
[all …]
/plugin/prosemirror/parser/
DRSSNode.php18 $attrs = $this->data['attrs'];
19 return self::attrToSyntax($attrs);
22 protected static function attrToSyntax($attrs) argument
26 if (!empty($attrs['url'])) {
27 $url = $attrs['url'];
31 if (!empty($attrs['max']) && $attrs['max'] !== 8) {
32 $paramString .= ' ' . $attrs['max'];
35 if (!empty($attrs['reverse'])) {
39 if (!empty($attrs['author'])) {
43 if (!empty($attrs['date'])) {
[all …]
DImageNode.php12 protected $attrs = []; variable in dokuwiki\\plugin\\prosemirror\\parser\\ImageNode
19 $this->attrs = $data['attrs'];
28 if (!empty($this->attrs['title'])) {
29 $title = '|' . $this->attrs['title'];
34 if (!empty($this->attrs['align'])) {
35 if ($this->attrs['align'] === 'left') {
37 } elseif ($this->attrs['align'] === 'right') {
39 } elseif ($this->attrs['align'] === 'center') {
46 if (!empty($this->attrs['height'])) {
47 $query[] = $this->attrs['width'] . 'x' . $this->attrs['height'];
[all …]
/plugin/gallery/script/
Dprosemirror.js15 attrs: jQuery.extend( property
35 function getGalleryFormFields(attrs) { argument
41 value: attrs['namespace'],
49 value: attrs['thumbnailsize'],
57 value: attrs['imagesize'],
64 checked: attrs['cache'],
70 value: attrs['filter'],
77 checked: attrs['showname'],
84 checked: attrs['showtitle'],
91 checked: attrs['crop'],
[all …]
/plugin/asciidocjs/node_modules/pug-filters/lib/
Dhandle-filters.js17 var attrs = getAttributes(node, options);
18 attrs.filename = node.filename;
20 node.val = filterWithFallback(node, text, attrs);
23 var attrs = getAttributes(firstFilter, options);
24 var filename = attrs.filename = node.file.fullPath;
27 node.val = filterFileWithFallback(firstFilter, filename, str, attrs);
29 var attrs = getAttributes(filter, options);
30 attrs.filename = filename;
31 node.val = filterWithFallback(filter, node.val, attrs);
37 function filterWithFallback(filter, text, attrs, funcName) { argument
[all …]
/plugin/jokuwiki/
Dsyntax.php79 $attrs=$this->parse_attributes($attributes);
80 $attrs['data-jw']=$this->cleanupData($data);
81 file_put_contents('/tmp/jokuwiki_b', var_export($attrs, true));
82 return $attrs;
84 function parse_attributes($attrs) argument
90 if (preg_match_all('/(\w*)="(.*?)"/us',$attrs, $matches, PREG_SET_ORDER)) {
106 function render($mode, &$renderer, $attrs) { argument
110 if (!$attrs['id']) {
112 $attrs['id']="jw-" . $attrs['name'] . "-" . $jokuwiki_ids;
114 $noscript=$attrs['noscript'];
[all …]
/plugin/mikioplugin/syntax/
Dsetattr.php16 public $attrs = null; variable in syntax_plugin_mikioplugin_setattr
19 $this->attrs = array();
30 if(!is_array($this->attrs)) $this->attrs = array();
32 $this->attrs[$data['name']] = $a;
39 if(is_array($this->attrs) && array_key_exists($data, $this->attrs)) {
40 return $this->attrs[$data];
/plugin/asciidocjs/node_modules/pug-attrs/
DREADME.md1 # pug-attrs
5 …Status](https://img.shields.io/travis/pugjs/pug-attrs/master.svg)](https://travis-ci.org/pugjs/pug…
6 …m.org/pugjs/pug/status.svg?path=packages/pug-attrs)](https://david-dm.org/pugjs/pug?path=packages/…
7 [![NPM version](https://img.shields.io/npm/v/pug-attrs.svg)](https://www.npmjs.org/package/pug-attr…
11 npm install pug-attrs
16 var compileAttrs = require('pug-attrs');
19 ### `compileAttrs(attrs, options)`
21 Compile `attrs` to a JavaScript string that evaluates to the attributes in the desired format.
29 `attrs` is an array of attributes, with each attribute having the form of `{ name, val, mustEscape …
32 var compileAttrs = require('pug-attrs');
[all …]
/plugin/socialshareprivacy2/SSP/scripts/
Djquery.socialshareprivacy.flattr.js45 var attrs = { variable
49 if (options.uid) attrs['data-flattr-uid'] = options.uid;
50 if (options.hidden) attrs['data-flattr-hidden'] = options.hidden;
51 if (options.popout) attrs['data-flattr-popout'] = options.popout;
52 if (options.category) attrs['data-flattr-category'] = options.category;
53 if (options.tags) attrs['data-flattr-tags'] = options.tags;
58 attrs['data-flattr-language'] = attrs.lang = lang;
61 if (settings.layout === 'line') attrs['data-flattr-button'] = 'compact';
67 $code.filter('a').attr(attrs);
/plugin/gallery/action/
Dprosemirror.php89 $attrs = $this->optionsToAttrs($options);
90 foreach ($attrs as $name => $value) {
179 $attrs = (array)$options;
181 $attrs['thumbnailsize'] = $options->thumbnailWidth . 'x' . $options->thumbnailHeight;
182 $attrs['imagesize'] = $options->lightboxWidth . 'X' . $options->lightboxHeight;
183 $attrs['cols'] = $options->columns;
185 unset($attrs['thumbnailWidth']);
186 unset($attrs['thumbnailHeight']);
187 unset($attrs['lightboxWidth']);
188 unset($attrs['lightboxHeight']);
[all …]
/plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/Extension/Renderer/Inline/
DImageRenderer.php44 $attrs = $node->data->get('attributes');
48 $attrs['src'] = '';
50 $attrs['src'] = $node->getUrl();
55 $attrs['alt'] = \preg_replace('/\<[^>]*\>/', '', $alt);
58 $attrs['title'] = $node->data['title'];
61 $result = '{{' . $attrs['src'];
62 $attrs['alt'] ? $result.= '|' . $attrs['alt'] . '}}' : $result.= '}}';
/plugin/doxycode/
Dadmin.php248 if ($tag_conf['delete']) $checkbox->attrs(['checked' => 'checked']);
254 if ($tag_conf['enabled']) $checkbox->attrs(['checked' => 'checked']);
260 if ($tag_conf['force_runner']) $checkbox->attrs(['checked' => 'checked']);
265 ->attrs(['size' => $this->conf_column_widths['local_name']])
270 $new_name->attrs(['style' => 'background-color: LightGreen']);
272 $new_name->attrs(['style' => 'background-color: LightCoral']);
291 ->attrs(['size' => $this->conf_column_widths['docu_url']])
298 ->attrs(['size' => $this->conf_column_widths['remote_url']])
305 ->attrs(['size' => $this->conf_column_widths['update_period']])
314 $period->attrs(['style' => 'background-color: LightGreen']);
[all …]
/plugin/diagrams/script/
Dprosemirror.js7 attrs: { property
28 let alignclass = node.attrs.align;
37 title: node.attrs.title,
38 src: node.attrs.url,
39 'data-id': node.attrs.id,
40 'data-type': node.attrs.type,
41 width: node.attrs.width,
42 height: node.attrs.height,
/plugin/google_maps/
Dscript.js114 var attrs = this.attributes;
121 if (attrs.size.value == 'small')
123 else if (attrs.size.value == 'large')
127 if (attrs.control.value == 'hierarchical')
129 else if (attrs.control.value == 'all')
133 if (attrs.overviewmap.value == 'true')
147 if (attrs['location' + n] == null)
152 locations[n] = attrs['location' + n].value;
156 …queryGoogleGeo(map, new GLatLngBounds(), locations, 0, attrs.zoom == null ? null : attrs.zoom.valu…
/plugin/prosemirror/schema/
DMark.php17 protected $attrs = []; variable in dokuwiki\\plugin\\prosemirror\\schema\\Mark
38 if (isset($this->attrs[$key])) {
39 return $this->attrs[$key];
45 $this->attrs[$key] = $value;
62 if ($this->attrs) {
63 $json['attrs'] = $this->attrs;
/plugin/visrep/
Dsyntax.php56 …$attrs = empty($dat['@attributes']) || !is_array($dat['@attributes']) ? array() : $dat['@attribute…
64 … 'data-engine' => strtolower(empty($attrs['data-engine']) ? 'unknown' : $attrs['data-engine']),
71 $attrs
80 function _data($attrs, $input) { argument
82 switch ($attrs['data-engine']) {
89 $data = sprintf("%s {\n%s\n}", $attrs['data-engine'], $data);
110 $attrs = array();
122 …$attrs[] = sprintf('%s = "%s"', htmlspecialchars($k, ENT_QUOTES, 'UTF-8'), htmlspecialchars($v, EN…
125 $attrs[] = sprintf('src = "%s"', $url);
126 $code = sprintf('<img %s alt="" class="dokuwiki-visrep-image"/>', implode(' ', $attrs));
/plugin/sequencediagram/bower_components/raphael/dev/
Draphael.svg.js161 attrs = o.attrs,
162 stroke = attrs["stroke-width"],
197 stroke: attrs.stroke
202 fill: attrs.stroke,
257 to = R.getTotalLength(attrs.path) - delta * stroke;
260 to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
265 attr.d = R.getSubpath(attrs.path, from, to);
276 to = R.getTotalLength(attrs.path) - from;
279 to = R.getTotalLength(attrs.path) - (o._.arrows.enddx * stroke || 0);
281 o._.arrows[se + "Path"] && $(node, {d: R.getSubpath(attrs.path, from, to)});
[all …]
/plugin/register/
Dsyntax.php175 $attrs = $adi_xml_result["attrs"];
176 $keys["long desc"] = $attrs["DESCRIPTION"];
177 $keys["short desc"] = $attrs["DEF-COMMENT"]; /*DEF-HEADER*/
178 $keys["addr"] = $attrs["WRITE-ADDRESS"];
179 $keys["length"] = $attrs["BIT-SIZE"];
260 function adi_register_xml_parse($parser, $name, $attrs) argument
269 if ($attrs["NAME"] == $adi_xml_search) {
270 $adi_xml_result["attrs"] = $attrs;
277 if ($attrs["PARENT"] != $adi_xml_search) {
281 $adi_xml_result["bits"][$attrs["BIT-POSITION"]] = array(
[all …]
/plugin/googlesearch/
Dnusoap.php1145 * @param string $attrs associative array of attributes
1148 function schemaStartElement($parser, $name, $attrs) { argument
1171 if(count($attrs) > 0){
1172 foreach($attrs as $k => $v){
1192 foreach($attrs as $k => $v){
1198 $attrs = $eAttrs;
1200 $attrs = array();
1217 $this->appendDebug($this->varDump($attrs));
1218 if (!isset($attrs['form'])) {
1219 $attrs['form'] = $this->schemaInfo['attributeFormDefault'];
[all …]
/plugin/odt/ODT/styles/
DODTUnknownStyle.php160 $attrs = 0;
165 $attrs++;
171 $attrs++;
177 $attrs++;
183 $attrs++;
189 $attrs++;
194 if ( $attrs == 0 ) {
/plugin/prosemirror/action/
Dajax.php66 $attrs = $INPUT->arr('attrs');
69 $attrs['id'],
70 $attrs['title'],
71 $attrs['align'],
72 $attrs['width'],
73 $attrs['height'],
74 $attrs['cache'],
75 $attrs['linking']
93 $attrs = json_decode($INPUT->str('attrs'), true);
94 $responseData[$action] = RSSNode::renderAttrsToHTML($attrs);
/plugin/ckgedit/scripts/
Dparse_wiki.js.unc364 start: function(tag, attrs, unary) {
497 for (var i = 0; i < attrs.length; i++) {
499 // if(!confirm(tag + ' ' + attrs[i].name + '="' + attrs[i].escaped + '"')) exit;
501 if (attrs[i].name == 'colspan') {
502 this.current_row[this.col].colspan = attrs[i].value;
504 if (attrs[i].name == 'class') {
505 if ((matches = attrs[i].value.match(/(left|center|right)/))) {
509 if (attrs[i].name == 'rowspan') {
510 this.current_row[this.col].rowspan = attrs[i].value
513 if (attrs[i].escaped == 'u' && tag == 'em') {
[all …]

12345678