/plugin/panoview/ |
H A D | tiles.php | 22 list($data['zoom'], $data['col'], $data['row']) = explode('-', $_GET['tile']); 24 $data['file'] = mediaFN($data['id']); 33 list($data['width'], $data['height']) = getimagesize($data['file']); 35 $data['max'] = max($data['width'], $data['height']); 36 $data['inv'] = $data['max'] / ($data['ts'] * $data['scale']); 42 $data['tlx'] = (int) ($data['col'] * $data['ts'] * $data['inv']); 43 $data['tly'] = (int) ($data['row'] * $data['ts'] * $data['inv']); 44 $data['brx'] = (int) ($data['tlx'] + ($data['ts'] * $data['inv'])); 45 $data['bry'] = (int) ($data['tly'] + ($data['ts'] * $data['inv'])); 46 if($data['tlx'] > $data['width'] || $data['tly'] > $data['height']) $pl->gfx_error('blank'); [all …]
|
/plugin/ryubin/syntax/ |
H A D | ryubin.php | 37 $data = array(); 128 return $data; 149 if ($data['fov'] != 60) $doc .= "&fov=".$data['fov']; 150 if ($data['yaw'] != 0) $doc .= "&yaw=".$data['yaw']; 151 if ($data['pitch'] != 0) $doc .= "&pitch=".$data['pitch']; 152 if ($data['view_mode'] != 1) $doc .= "&view_mode=".$data['view_mode']; 153 if ($data['hv_ratio'] != 2.0) $doc .= "&hv_ratio=".$data['hv_ratio']; 154 if ($data['smooth'] == 'yes') $doc .= "&smooth=".$data['smooth']; 158 …if ($data['limit_vertical'] == 'yes') $doc .= "&limit_vertical=".$data['limit_vertical']."&top_lim… 159 … ($data['limit_horizontal'] == 'yes') $doc .= "&limit_horizontal=".$data['limit_horizontal']."&rig… [all …]
|
/plugin/bibtex/OSBib/format/ |
H A D | EXPORTFILTER.php | 56 $data = preg_replace("/$url/", "OSBIB__URL__OSBIB", $data); 60 $data = str_replace("\"", """, $data); 61 $data = str_replace("<", "<", $data); 62 $data = str_replace(">", ">", $data); 78 $data = preg_replace("/&#(.*?);/", "\\u$1", $data); 90 $data = $this->bibformat->utf8->decodeUtf8($data); 91 $data = str_replace("\"", """, $data); 92 $data = str_replace("<", "<", $data); 93 $data = str_replace(">", ">", $data); 106 $data = preg_replace("/\[.*\]|\[\/.*\]/U", "", $data); [all …]
|
/plugin/wysiwyg/fckeditor/editor/plugins/bbcode/ |
H A D | fckplugin.js | 37 data = data.replace( /</g, '<' ) ; 38 data = data.replace( />/g, '>' ) ; 41 data = data.replace( /(?:\r\n|\n|\r)/g, '<br>' ) ; 73 data = data.replace( /<br(?=[ \/>]).*?>/gi, '\r\n') ; 79 data = data.replace( /<(?:b|strong)>/gi, '[b]') ; 80 data = data.replace( /<\/(?:b|strong)>/gi, '[/b]') ; 83 data = data.replace( /<(?:i|em)>/gi, '[i]') ; 84 data = data.replace( /<\/(?:i|em)>/gi, '[/i]') ; 87 data = data.replace( /<u>/gi, '[u]') ; 88 data = data.replace( /<\/u>/gi, '[/u]') ; [all …]
|
/plugin/fckg/fckeditor/editor/plugins/bbcode/ |
H A D | fckplugin.js | 37 data = data.replace( /</g, '<' ) ; 38 data = data.replace( />/g, '>' ) ; 41 data = data.replace( /(?:\r\n|\n|\r)/g, '<br>' ) ; 73 data = data.replace( /<br(?=[ \/>]).*?>/gi, '\r\n') ; 79 data = data.replace( /<(?:b|strong)>/gi, '[b]') ; 80 data = data.replace( /<\/(?:b|strong)>/gi, '[/b]') ; 83 data = data.replace( /<(?:i|em)>/gi, '[i]') ; 84 data = data.replace( /<\/(?:i|em)>/gi, '[/i]') ; 87 data = data.replace( /<u>/gi, '[u]') ; 88 data = data.replace( /<\/u>/gi, '[/u]') ; [all …]
|
/plugin/revealjs/syntax/ |
H A D | background.php | 46 $data = array(); 47 $data['position'] = $pos; 49 $data['last_chars'] = substr($match, -2); 51 ($data['first_chars'] == '{{' ? 71 if (!$data['background_position']) $data['background_position'] = $param; 82 if (!$data['transition']) $data['transition'] = $param; 89 $data['no_footer'] = true; 92 return $data; 115 $data['background_image'] && substr($data['background_image'], 0, 4) == 'http' ? 183 if ($data['transition']) { [all …]
|
/plugin/flexpaper/ |
H A D | syntax.php | 68 return $data; 74 return $data; 78 $data['width'] = '100%'; 80 $data['start'] = ''; 84 $data['swf'] = $file; 90 return $data; 105 return $data; 109 $data['swf'] = $swf; 119 $data[$key] = $value; 155 return $data; [all …]
|
/plugin/todo/syntax/ |
H A D | list.php | 59 $data = array( 76 $data['header'] = $value; 81 $data['short'] = ($value == 'yes'); 86 $data['showdate'] = ($value == 'yes'); 91 $data['checkbox'] = ($value == 'yes'); 96 $data['completed'] = ($value == 'yes'); 101 $data['username'] = $value; 106 $data['assigned'] = ($value == 'yes'); 110 $data['assigned'] = explode(',', $value); 112 if( in_array( '@@USER@@', $data['assigne 168 render($mode, Doku_Renderer $renderer, $data) global() argument 226 search_todos(& $data, $base, $file, $type, $lvl, $opts) global() argument 332 filterpages($todopages, $data) global() argument 355 htmlShort($R, $todopages, $data) global() argument 377 htmlTodoTable($R, $todopages, $data) global() argument 408 isRequestedTodo($data) global() argument [all...] |
/plugin/mikioplugin/syntax/ |
H A D | box.php | 44 public function render_lexer_enter(Doku_Renderer $renderer, $data) { 45 if($data['attr'] != '') { 46 $data = array_merge($data, $this->callMikioTag('setattr', $data['attr'])); 50 if($data['url'] != '') $tag = 'a'; 52 if($data['grid-row-span'] != '') $data['grid-row-end'] = 'span ' . $data['grid-row-span']; 53 if($data['gri 43 render_lexer_enter(Doku_Renderer $renderer, $data) global() argument 104 render_lexer_exit(Doku_Renderer $renderer, $data) global() argument [all...] |
H A D | card.php | 25 'title-text-align' => array('type' => 'choice', 'data' => array( 30 'subtitle-text-align' => array('type' => 'choice', 'data' => array( 36 'header-text-align' => array('type' => 'choice', 'data' => array( 41 'footer-text-align' => array('type' => 'choice', 'data' => array( 73 public function render_lexer_enter(Doku_Renderer $renderer, $data) 75 $classes = $this->buildClass($data, array('overlay', 'horizontal')); 76 $styles = $this->buildStyle(array('height' => $data['height'], 'width' => $data['width']), true); 80 if($data['horizontal']) { $renderer->doc .= '<div class="' . $this->elemClass . ' ' . $this->classPrefix . 'card-horizontal-image">'; 82 if($data['placeholde 57 render_lexer_enter(Doku_Renderer $renderer, $data) global() argument 91 render_lexer_exit(Doku_Renderer $renderer, $data) global() argument [all...] |
/plugin/gallery/ |
H A D | syntax.php |
|
/plugin/zoom/ |
H A D | syntax.php | 52 $data = array( 63 $data['align'] = 3; 67 $data['align'] = 1; 71 $data['align'] = 2; 77 $data['align'] = 3; 81 $data['align'] = 4; 86 $data['align'] = 5; 126 $data['width'] = $match[1]*$data['imageWidth']/$data['imageHeight']; 130 $data['height'] = $match[1]*$data['imageHeight']/$data['imageWidth']; 133 return $data; [all …]
|
/plugin/monthcal/ |
H A D | syntax.php | 60 $data = array(); 69 $data['create_links'] = 1; 73 $data['borders'] = 0; 74 $data['mark_today'] = 1; 75 $data['align'] = 0; 84 $data['year'] = $value; 167 $data['align'] = 1; 170 $data['align'] = 2; 173 $data['align'] = 0; 179 return $data; [all …]
|
/plugin/stlviewer/stlviewer/ |
H A D | load_stl.min.js | 2 importScripts("parser.min.js"),MSG_DATA=0,MSG_LOAD=1,MSG_ERROR=2,MSG_STL_LOADED=3,MSG_LOAD_IN_PROGRESS=4;var filename=null,local_file=null,load_from_blob_or_ab=null,x=0,y=0,z=0,model_id=-1,get_progress=!1,jszip_path="jszip.min.js";function isNumeric(a){return!isNaN(parseFloat(a))&&isFinite(a)}function send_error(a){postMessage({msg_type:MSG_ERROR,data:a})}function download_from_local(a){download_from_local_xhr(a)}function download_from_local_xhr(a){var e=new XMLHttpRequest;get_progress&&(e.onprogress=function(a){postMessage({msg_type:MSG_LOAD_IN_PROGRESS,id:model_id,loaded:a.loaded,total:a.total})}),e.onreadystatechange=function(a){4==e.readyState&&200==e.status&&after_file_load(e.response)},e.open("GET",a,!0),e.responseType="arraybuffer",e.send(null)}function after_file_load(a){if(a)try{parse_3d_file(filename,a,after_file_parse,jszip_path)}catch(a){send_error("Error parsing the file")}else send_error("no data")}function after_file_parse(a){"string"!=typeof a?postMessage({msg_type:MSG_STL_LOADED,vertices:a.vertices,faces:a.faces,colors:a.colors}):send_error(a)}function read_file(a){var e=new FileReader;e.onerror=function(a){var e="";switch(a.target.error.code){case a.target.error.NOT_FOUND_ERR:e="File not found";break;case a.target.error.NOT_READABLE_ERR:e="Can't read file - too large?";break;case a.target.error.ABORT_ERR:e="Read operation aborted";break;case a.target.error.SECURITY_ERR:e="File is locked";break;case a.target.error.ENCODING_ERR:e="File too large";break;default:e="Error reading file"}send_error(e)},e.onprogress=function(a){postMessage({msg_type:MSG_LOAD_IN_PROGRESS,id:model_id,loaded:a.loaded,total:a.total})},e.onload=function(a){after_file_load(a.target.result)},e.readAsArrayBuffer(a)}self.addEventListener("message",function(a){switch(a.data.msg_type){case MSG_DATA:if(!a.data.data){send_error("no data");break}if(!a.data.data.filename&&!a.data.data [all...] |
/plugin/cnmap/ |
H A D | syntax.php | 75 return $data; 94 switch($data['provider']) 107 $data[0]= "<!-- "; 108 $data[2]= " -->"; 193 $data = array(); 194 array_push($data, ""); 196 array_push($data, ""); 214 return $data; 233 $data = array(); 234 array_push($data, ""); [all …]
|
/plugin/webdav/vendor/sabre/dav/lib/DAV/Browser/assets/openiconic/ |
H A D | open-iconic.css | 9 .oi[data-glyph].oi-text-replace { 14 .oi[data-glyph].oi-text-replace:before { 19 .oi[data-glyph]:before { 31 .oi[data-glyph]:empty:before { 37 .oi[data-glyph].oi-align-left:before { 41 .oi[data-glyph].oi-align-right:before { 45 .oi[data-glyph].oi-align-center:before { 49 .oi[data-glyph].oi-flip-horizontal:before { 54 .oi[data-glyph].oi-flip-vertical:before { 222 .oi[data-glyph=data-transfer-download]:before { content:'\e04e'; } [all …]
|
/plugin/davcal/vendor/sabre/dav/lib/DAV/Browser/assets/openiconic/ |
H A D | open-iconic.css | 9 .oi[data-glyph].oi-text-replace { 14 .oi[data-glyph].oi-text-replace:before { 19 .oi[data-glyph]:before { 31 .oi[data-glyph]:empty:before { 37 .oi[data-glyph].oi-align-left:before { 41 .oi[data-glyph].oi-align-right:before { 45 .oi[data-glyph].oi-align-center:before { 49 .oi[data-glyph].oi-flip-horizontal:before { 54 .oi[data-glyph].oi-flip-vertical:before { 222 .oi[data-glyph=data-transfer-download]:before { content:'\e04e'; } [all …]
|
/plugin/nspages/fileHelper/ |
H A D | fileHelper.php | 13 private $data; variable in fileHelper 17 function __construct($data, $customTitleAllowListMetadata){ argument 18 $this->data = $data; 19 $this->files = $this->searchFiles($data); 26 'depth' => $this->data['maxDepth'], 'keeptxt'=> false, 'listfiles'=> !$this->data['nopages'], 27 'listdirs' => $this->data['subns'], 'pagesonly'=> true, 'skipacl'=> false, 29 'showhidden'=> $this->data['showhidden'], 'firsthead'=> true 32 search($files, $conf['datadir'], 'search_universal', $opt, $this->data['wantedDi [all...] |
/plugin/jplayer/vendor/happyworm/jplayer/lib/circle-player/js/ |
H A D | jquery.grab.js | 94 if (e.data.onstart && e.data.onstart.call(e.data.element, e.data)){ 104 bind(e.data.affects, mouseup, mouseUp, e.data); 113 e.data.move.x = e.pageX - e.data.position.x; 114 e.data.move.y = e.pageY - e.data.position.y; 117 e.data.offset.x = e.pageX - e.data.start.x; 118 e.data.offset.y = e.pageY - e.data.start.y; 121 e.data.onmove.call(e.data.element, e.data); 135 e.data.onfinish.call(e.data.element, e.data); 144 if (e.data.onstart && e.data.onstart.call(e.data.element, e.data)){ 171 e.data.onmove.call(e.data.elem, e.data); [all …]
|
/plugin/do/syntax/ |
H A D | do.php | 71 $data = array( 81 $data['task']['date'] = $grep[1]; 82 $content = trim(str_replace($data['task']['date'], '', $content)); 87 $data['task']['users'] = explode(',', $content); 88 $data['task']['users'] = array_map('trim', $data['task']['users']); 90 $data['task']['users'] = array_map(array($auth, 'cleanUser'), $data['task']['users']); 92 $data['task']['users'] = array_unique($data['tas 183 render($mode, Doku_Renderer $R, $data) global() argument 285 _save($data) global() argument [all...] |
/plugin/doi/syntax/ |
H A D | doi.php | 49 public function render($mode, Doku_Renderer $renderer, $data) 52 $data['id'] = $resolver->cleanID($data['id']); 55 $publication = $resolver->getData($data['id']); 58 $url = $resolver->getFallbackURL($data['id']); 59 $title = empty($data['title']) ? $data['id'] : $data['title']; 66 if (!empty($data['title'])) $publication['title'] = $data['titl 48 render($mode, Doku_Renderer $renderer, $data) global() argument 91 renderXHTML($data, $renderer) global() argument 137 renderAny($data, $renderer) global() argument [all...] |
/plugin/clipboardutils/ |
H A D | syntax.php | 60 $data['m'] =$m; 61 $data['value'] =$m[2]; 63 $data['att_string'] =$str; 76 } else $data['error'] =TRUE; 78 if (!empty($data['att']['format'])) $data['att']['type'] ='format'; 81 return $data; 107 if (!is_array($data) || count($data) < 1) { 123 if (!empty($data['att']['icon'])) $icon =$data['att']['icon']; 139 if ($type == '-') $type =(empty($data['att']['type'])) ? '' : $data['att']['type']; 158 $f_str =(empty($data['att']['format'])) ? 'i' : $data['att']['format']; [all …]
|
/plugin/eshop/ |
H A D | syntax.php | 33 $data = array_change_key_case($data, CASE_LOWER); 38 if ($data['usd'] && $btcusd && !$data['btc']) { 39 $data['btc'] = $data['usd'] / $btcusd; 41 if ($data['btc'] && $btcusd && !$data['usd']) { 42 $data['usd'] = $data['btc'] * $btcusd; 44 if ($data['usd'] && $eurusd) { 45 $data['eur'] = $data['usd'] / $eurusd; 47 if (!$data['btc']) $data['btc'] = 0.0; 48 if (!$data['eur']) $data['eur'] = 0.0; 49 if (!$data['usd']) $data['usd'] = 0.0; [all …]
|
/plugin/judge/ |
H A D | syntax.php | 277 function render($mode, Doku_Renderer $renderer, $data) argument 283 if ($data["mode"] == "judge") { 284 $renderer->doc .= $this->render_judge($data); 285 } elseif ($data["mode"] == "scoreboard") { 292 public function render_judge($data) argument 306 if (page_exists($data['problem_name'])) { 333 …lePath(' . "'" . $data['problem_name'] . "'" . ');" style="display: none;" name="code-' . $data['p… 393 if ($data['type'] === "test-case") { 435 if (page_exists($data['problem_name'])) { 463 public function render_scoreboard($data) argument [all …]
|
/plugin/gallery/action/ |
H A D | prosemirror.php | 73 if ($event->data['name'] !== 'gallery_main') { 80 $data = $event->data['data']; 82 [$ns, $options] = $data; 93 $event->data['renderer']->nodestack->add($node); 109 if ($event->data['node']['type'] !== 'dwplugin_gallery') { 115 $event->data['newNode'] = new GalleryNode($event->data['node'], $event->data['paren 101 cleanAttributes($data) global() argument [all...] |