Änderungen von Dokument FORMCYCLE Hilfe
Änderungskommentar:
Es gibt keinen Kommentar für diese Version
Zusammenfassung
-
Seiteneigenschaften (3 geändert, 0 hinzugefügt, 0 gelöscht)
-
Objekte (3 geändert, 0 hinzugefügt, 0 gelöscht)
Details
- Seiteneigenschaften
-
- Titel
-
... ... @@ -1,1 +1,1 @@ 1 -FORMCYCLE Hilfe 1 +<b>FORMCYCLE V6 Hilfe</b> - Dokument-Autor
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. gru1 +XWiki.ximaadmin - Inhalt
-
... ... @@ -1,9 +1,98 @@ 1 -{{info type="info"}} 2 -Die {{formcycle/}} Version 6 verwendet eine Version von Log4j, welche die am 10.12.2021 bekannt gewordene Sicherheitslücke nicht enthält. Hinweise zur deren Auswirkungen auf die neueren {{formcycle/}} Versionen 7.0.0 bis 7.0.6 befinden sich auf der Seite [[Allgemeine Sicherheitsempfehlungen>>https://help7.formcycle.eu/xwiki/bin/view/Formcycle/SystemSettings/Sicherheit/]] in der Hilfe der Version 7. 3 -{{/info}} 1 +{{include reference="Help.Code.VelocityMacros"/}} 4 4 5 -{{velocity}} 6 -#set ($mainCards = [{ 3 +{{velocity output="false"}} 4 +#macro (MainMenuCard $data) 5 + #set ($documentationURL = $NULL) 6 + #if ($data.documentation) 7 + #set ($externalDocumentation = $data.documentation.contains('://')) 8 + #if ($externalDocumentation) 9 + #set ($documentationURL = $data.documentation) 10 + #else 11 + #set ($documentationURL = $xwiki.getURL($data.documentation)) 12 + #end 13 + #end 14 + #set ($examplesURL = $NULL) 15 + #if ($data.examples) 16 + #if ($data.examples.startsWith('/')) 17 + ## Relative internal URL 18 + #set ($examplesURL = $data.examples) 19 + #else 20 + ## Page reference 21 + #set ($examplesURL = $xwiki.getURL($data.examples)) 22 + #end 23 + #set ($url = $examplesURL) 24 + #else 25 + #set ($url = $documentationURL) 26 + #end 27 + <div class="well"> 28 + #if ($data.icon) 29 + <span class="icon $data.icon" style="color:#504e4c"></span> 30 + #end 31 + #if ($data.iconfc) 32 + ##{{ficon name="$data.iconfc" size="1em"/}} title="$title" 33 + <span class="ico-fc-$data.iconfc" style="font-size:3em"></span> 34 + #end 35 + <h6> 36 + <a href="$!url"> 37 + $escapetool.xml($data.title) 38 + </a> 39 + </h6> 40 + #if ($data.description) 41 + <p class="noitems" style="height:4em"> 42 + $data.description 43 + </p> 44 + #end 45 + #if (($data.examples && $data.documentation) || !$data.thumbnail) 46 + <ul class="noitems"> 47 + #if ($data.examples) 48 + <li> 49 + <a href="$examplesURL">$services.localization.render('help.example.label')</a> 50 + </li> 51 + #end 52 + #if ($data.documentation) 53 + <li> 54 + <a href="$documentationURL"#if ($externalDocumentation) class="wikiexternallink"#end> 55 + ##ervices.localization.render('help.more.label') 56 + Mehr erfahren 57 + </a> 58 + </li> 59 + #end 60 + </ul> 61 + #end 62 + #if ($data.thumbnail) 63 + <a href="$!url"> 64 + #set ($attachmentReference = $services.model.resolveAttachment($data.thumbnail)) 65 + <img src="$xwiki.getURL($attachmentReference)" class="thumbnail" 66 + alt="$escapetool.xml($attachmentReference.name)" /> 67 + </a> 68 + #end 69 + </div> 70 +#end 71 + 72 +#macro (display4Cards $cards) 73 + <div class="row"> 74 + #foreach ($card in $cards) 75 + ## See http://getbootstrap.com/css/#grid-responsive-resets . 76 + #if ($foreach.index > 0 && $foreach.index % 2 == 0) 77 + <div class="clearfix visible-sm-block "></div> 78 + #end 79 + #if ($foreach.index > 0 && $foreach.index % 3 == 0) 80 + <div class="clearfix visible-md-block"></div> 81 + #end 82 + #if ($foreach.index > 0 && $foreach.index % 4 == 0) 83 + <div class="clearfix visible-lg-block"></div> 84 + #end 85 + <div class="col-xs-12 col-sm-6 col-md-4 col-lg-3 card-main"> 86 + #MainMenuCard($card) 87 + ##helpExampleCard($card) 88 + </div> 89 + #end 90 + </div> 91 +#end 92 + 93 +##'icon': 'fa fa-support', 94 +##square-edit-outline 95 +#set ($howToCards = [{ 7 7 'iconfc': 'square-edit-outline', 8 8 'title': 'Formulardesigner', 9 9 'description': 'Arbeiten mit dem Formulardesigner', ... ... @@ -23,792 +23,11 @@ 23 23 'title': 'Workflow', 24 24 'description': 'Formulardaten verarbeiten', 25 25 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' 26 -}, { 27 - 'icon': 'fa fa-download', 28 - 'title': 'Installation', 29 - 'description': 'FORMCYCLE installieren oder aktualisieren', 30 - 'documentation': 'Formcycle.Installation' 31 -}, { 32 - 'iconfc': 'form', 33 - 'title': 'Beispiele', 34 - 'description': 'Beispiele für Formulareinbindungen und Formulare', 35 - 'documentation': 'doc:Examples.WebHome' 36 36 }]) 37 - 38 -## 'icon': 'fa fa-play-circle', 39 -## 'title': 'Einführungsvideos', 40 -## 'description': 'Kurze Videos zum Vorstellen einzelner FORMCYCLE-Funktionen; ggf. Titel "Schnelleinstieg"', 41 -## 'documentation': 'https://formcycle.eu/de/features' 42 -##}, { 43 -## 'iconfc': 'puzzle', 44 -## 'title': 'Anwendungsfälle', 45 -## 'description': 'Formulardaten verarbeiten', 46 -## 'documentation': 'doc:Anwendungsfälle.WebHome' 47 -##}, { 48 - 49 -#set ($smallCards = [{ 50 - 'iconfc': 'information-outline', 51 - 'title': 'Workshops', 52 - 'description': 'Workshops zu verschiedenen Themen rund um FORMCYCLE', 53 - 'documentation': 'doc:Workshops.WebHome' 54 -}, { 55 - 'icon': 'fa fa-cloud', 56 - 'title': 'FORM.CLOUD', 57 - 'description': 'Informationen zur XIMA FORM.CLOUD', 58 - 'documentation': 'doc:FORMCLOUD.WebHome' 59 -}, { 60 - 'iconfc': 'action-change-status', 61 - 'title': 'Einbindung externer Systeme', 62 - 'description': 'Einbindung von FORMCYCLE in CMS/DMS-Systeme', 63 - 'documentation': 'Formcycle.CMSExtension' 64 -}, { 65 - 'iconfc': 'puzzle', 66 - 'title': 'Plugin-Dokumentation', 67 - 'description': 'Dokumentation der für FORMCYCLE verfügbaren Plugins', 68 - 'documentation': 'Formcycle.PluginDocumentation' 69 -}, { 70 - 'icon': 'fa fa-list', 71 - 'title': 'Release Notes', 72 - 'description': 'Release Notes und Download der aktuellen Version', 73 - 'documentation': 'doc:Blog.WebHome' 74 -}, { 75 - 'iconfc': 'comment-faq-outline', 76 - 'title': 'Häufig gestellte Fragen', 77 - 'description': 'Häufig gestellte Fragen', 78 - 'documentation': "https://faq.formcycle.eu/" 79 -}]) 80 - 81 -## 'icon': 'fa fa-share-square', 82 -## 'title': 'Daten extern weiterverarbeiten', 83 -## 'description': 'Mit FORMCYCLE erfasste Daten an andere Systeme weiterleiten', 84 -## 'documentation': 'Formcycle.UserInterface.MyForms.WorkflowProcessing' 85 -##}, { 86 - 87 - 88 - 89 -{{html}} 90 -##$jsontool.serialize(${mainCards})<br> 91 -##$jsontool.serialize($mainCards)<br> 92 -{{/html}} 93 - 94 -{{MainMenuTiles cards='$jsontool.serialize($mainCards)' /}} 95 - 96 -{{MainMenuTiles cards='$jsontool.serialize($smallCards)' type="small" /}} 97 - 98 98 {{/velocity}} 99 99 100 100 {{velocity}} 101 -{{html wiki="false" clean="false"}} 102 - 103 - 104 - 105 -<style> 106 -.jqcloud{font:10px Helvetica,Arial,sans-serif;line-height:normal;overflow:hidden;position:relative}.jqcloud-word{margin:0;padding:0}.jqcloud-word.w1{color:#aab5f0;font-size:100%}.jqcloud-word.w2{color:#9ce;font-size:150%}.jqcloud-word.w3{color:#a0ddff;font-size:200%}.jqcloud-word.w4{color:#90c5f0;font-size:250%}.jqcloud-word.w5{color:#90a0dd;font-size:300%}.jqcloud-word.w6{color:#90c5f0;font-size:350%}.jqcloud-word.w7{color:#39d;font-size:400%}.jqcloud-word.w8{color:#0cf;font-size:450%}.jqcloud-word.w9{color:#0cf;font-size:500%}.jqcloud-word.w10{color:#0cf;font-size:550%}.jqcloud-word a{color:inherit;font-size:inherit;text-decoration:none}.jqcloud-word a:hover{color:#0cf} 107 -.jqcloud span { 108 - -moz-user-select: -moz-none; 109 - -khtml-user-select: none; 110 - -webkit-user-select: none; 111 - -ms-user-select: none; 112 - user-select: none; 113 - background-color: #eaeaef; 114 - border-radius: 10px; 115 - padding: 0px 4px 0px 4px; 116 -} 117 -.jqcloud span.jqHighlight { 118 - color: #0cf !important; 119 -} 120 -.jQButton { 121 - color: #fff; 122 - background-color: #3480AD;/*#f0f0f3*/ 123 - text-align: center; 124 - display: inline-block; 125 - border-radius: 4px; 126 - padding: 4px 10px 4px 22px; 127 - font-size: 15px 128 - margin: auto; 129 - margin-bottom: 5px; 130 - -moz-user-select: -moz-none; 131 - -khtml-user-select: none; 132 - -webkit-user-select: none; 133 - -ms-user-select: none; 134 - user-select: none; 135 -} 136 -.jQButton[active=false] { 137 - background-color: #a7a7a7; 138 -} 139 -.jQButton:hover { 140 - background-color: #0cf; 141 -} 142 -.jQButton[active=false]:hover { 143 - background-color: #676767; 144 -} 145 -.jQButton .jQButton-icon::before { 146 - font-family: "FontAwesome"; 147 - font-size: 14px; 148 - font-weight: 400; 149 - content: "\f046"; 150 -} 151 -.jQButton[active=false] .jQButton-icon::before { 152 - content: "\f096"; 153 -} 154 -.jQButton-icon { 155 - position: absolute; 156 - margin-left: -11px; 157 -} 158 -</style> 159 - 160 -<script> 161 -require(['jquery'],function(XjQ) { 162 -'use strict'; 163 - 164 -/* 165 - * Plugin class 166 - */ 167 -var jQCloud = function(element, word_array, options) { 168 - this.Xelement = XjQ(element); 169 - 170 - this.word_array = word_array || []; 171 - this.options = options; 172 - 173 - this.sizeGenerator = null; 174 - this.colorGenerator = null; 175 - 176 - // Data used internally 177 - this.data = { 178 - placed_words: [], 179 - timeouts: {}, 180 - namespace: null, 181 - step: null, 182 - angle: null, 183 - aspect_ratio: null, 184 - max_weight: null, 185 - min_weight: null, 186 - sizes: [], 187 - colors: [] 188 - }; 189 - 190 - this.initialize(); 191 -}; 192 - 193 -jQCloud.DEFAULTS = { 194 - width: 100, 195 - height: 100, 196 - center: { x: 0.5, y: 0.5 }, 197 - steps: 10, 198 - delay: null, 199 - shape: 'elliptic', 200 - classPattern: 'w{n}', 201 - encodeURI: true, 202 - removeOverflowing: true, 203 - afterCloudRender: null, 204 - autoResize: false, 205 - colors: null, 206 - fontSize: null, 207 - template: null 208 -}; 209 - 210 -jQCloud.prototype = { 211 - initialize: function() { 212 - // Set/Get dimensions 213 - if (this.options.width) { 214 - this.Xelement.width(this.options.width); 215 - } 216 - else { 217 - this.options.width = this.Xelement.width(); 218 - } 219 - if (this.options.height) { 220 - this.Xelement.height(this.options.height); 221 - } 222 - else { 223 - this.options.height = this.Xelement.height(); 224 - } 225 - 226 - // Default options value 227 - this.options = XjQ.extend(true, {}, jQCloud.DEFAULTS, this.options); 228 - 229 - // Ensure delay 230 - if (this.options.delay === null) { 231 - this.options.delay = this.word_array.length > 50 ? 10 : 0; 232 - } 233 - 234 - // Backward compatibility 235 - if (this.options.center.x > 1) { 236 - this.options.center.x = this.options.center.x / this.options.width; 237 - this.options.center.y = this.options.center.y / this.options.height; 238 - } 239 - 240 - // Create colorGenerator function from options 241 - // Direct function 242 - if (typeof this.options.colors == 'function') { 243 - this.colorGenerator = this.options.colors; 244 - } 245 - // Array of sizes 246 - else if (XjQ.isArray(this.options.colors)) { 247 - var cl = this.options.colors.length; 248 - if (cl > 0) { 249 - // Fill the sizes array to X items 250 - if (cl < this.options.steps) { 251 - for (var i = cl; i < this.options.steps; i++) { 252 - this.options.colors[i] = this.options.colors[cl - 1]; 253 - } 254 - } 255 - 256 - this.colorGenerator = function(weight) { 257 - return this.options.colors[this.options.steps - weight]; 258 - }; 259 - } 260 - } 261 - 262 - // Create sizeGenerator function from options 263 - // Direct function 264 - if (typeof this.options.fontSize == 'function') { 265 - this.sizeGenerator = this.options.fontSize; 266 - } 267 - // Object with 'from' and 'to' 268 - else if (XjQ.isPlainObject(this.options.fontSize)) { 269 - this.sizeGenerator = function(width, height, weight) { 270 - var max = width * this.options.fontSize.from, 271 - min = width * this.options.fontSize.to; 272 - return Math.round(min + (max - min) * 1.0 / (this.options.steps - 1) * (weight - 1)) + 'px'; 273 - }; 274 - } 275 - // Array of sizes 276 - else if (XjQ.isArray(this.options.fontSize)) { 277 - var sl = this.options.fontSize.length; 278 - if (sl > 0) { 279 - // Fill the sizes array to X items 280 - if (sl < this.options.steps) { 281 - for (var j = sl; j < this.options.steps; j++) { 282 - this.options.fontSize[j] = this.options.fontSize[sl - 1]; 283 - } 284 - } 285 - 286 - this.sizeGenerator = function(width, height, weight) { 287 - return this.options.fontSize[this.options.steps - weight]; 288 - }; 289 - } 290 - } 291 - 292 - this.data.angle = Math.random() * 6.28; 293 - this.data.step = (this.options.shape === 'rectangular') ? 18.0 : 2.0; 294 - this.data.aspect_ratio = this.options.width / this.options.height; 295 - this.clearTimeouts(); 296 - 297 - // Namespace word ids to avoid collisions between multiple clouds 298 - this.data.namespace = (this.Xelement.attr('id') || Math.floor((Math.random() * 1000000)).toString(36)) + '_word_'; 299 - 300 - this.Xelement.addClass('jqcloud'); 301 - 302 - // Container's CSS position cannot be 'static' 303 - if (this.Xelement.css('position') === 'static') { 304 - this.Xelement.css('position', 'relative'); 305 - } 306 - 307 - // Delay execution so that the browser can render the page before the computatively intensive word cloud drawing 308 - this.createTimeout(XjQ.proxy(this.drawWordCloud, this), 10); 309 - 310 - // Attach window resize event 311 - if (this.options.autoResize) { 312 - XjQ(window).on('resize.' + this.data.namespace, throttle(this.resize, 50, this)); 313 - } 314 - }, 315 - 316 - // Helper function to keep track of timeouts so they can be destroyed 317 - createTimeout: function(callback, time) { 318 - var timeout = setTimeout(XjQ.proxy(function() { 319 - delete this.data.timeouts[timeout]; 320 - callback(); 321 - }, this), time); 322 - this.data.timeouts[timeout] = true; 323 - }, 324 - 325 - // Destroy all timeouts 326 - clearTimeouts: function() { 327 - XjQ.each(this.data.timeouts, function(key) { 328 - clearTimeout(key); 329 - }); 330 - this.data.timeouts = {}; 331 - }, 332 - 333 - // Pairwise overlap detection 334 - overlapping: function(a, b) { 335 - if (Math.abs(2.0 * a.left + a.width - 2.0 * b.left - b.width) < a.width + b.width) { 336 - if (Math.abs(2.0 * a.top + a.height - 2.0 * b.top - b.height) < a.height + b.height) { 337 - return true; 338 - } 339 - } 340 - return false; 341 - }, 342 - 343 - // Helper function to test if an element overlaps others 344 - hitTest: function(elem) { 345 - // Check elements for overlap one by one, stop and return false as soon as an overlap is found 346 - for (var i = 0, l = this.data.placed_words.length; i < l; i++) { 347 - if (this.overlapping(elem, this.data.placed_words[i])) { 348 - return true; 349 - } 350 - } 351 - return false; 352 - }, 353 - 354 - // Initialize the drawing of the whole cloud 355 - drawWordCloud: function() { 356 - var i, l; 357 - 358 - this.Xelement.children('[id^="' + this.data.namespace + '"]').remove(); 359 - 360 - if (this.word_array.length === 0) { 361 - return; 362 - } 363 - 364 - // Make sure every weight is a number before sorting 365 - for (i = 0, l = this.word_array.length; i < l; i++) { 366 - this.word_array[i].weight = parseFloat(this.word_array[i].weight, 10); 367 - } 368 - 369 - // Sort word_array from the word with the highest weight to the one with the lowest 370 - this.word_array.sort(function(a, b) { 371 - return b.weight - a.weight; 372 - }); 373 - 374 - // Kepp trace of bounds 375 - this.data.max_weight = this.word_array[0].weight; 376 - this.data.min_weight = this.word_array[this.word_array.length - 1].weight; 377 - 378 - // Generate colors 379 - this.data.colors = []; 380 - if (this.colorGenerator) { 381 - for (i = 0; i < this.options.steps; i++) { 382 - this.data.colors.push(this.colorGenerator(i + 1)); 383 - } 384 - } 385 - 386 - // Generate font sizes 387 - this.data.sizes = []; 388 - if (this.sizeGenerator) { 389 - for (i = 0; i < this.options.steps; i++) { 390 - this.data.sizes.push(this.sizeGenerator(this.options.width, this.options.height, i + 1)); 391 - } 392 - } 393 - 394 - // Iterate drawOneWord on every word, immediately or with delay 395 - if (this.options.delay > 0) { 396 - this.drawOneWordDelayed(); 397 - } 398 - else { 399 - for (i = 0, l = this.word_array.length; i < l; i++) { 400 - this.drawOneWord(i, this.word_array[i]); 401 - } 402 - 403 - if (typeof this.options.afterCloudRender === 'function') { 404 - this.options.afterCloudRender.call(this.Xelement); 405 - } 406 - } 407 - }, 408 - 409 - // Function to draw a word, by moving it in spiral until it finds a suitable empty place 410 - drawOneWord: function(index, word) { 411 - var word_id = this.data.namespace + index, 412 - word_selector = '#' + word_id, 413 - 414 - // option.shape == 'elliptic' 415 - angle = this.data.angle, 416 - radius = 0.0, 417 - 418 - // option.shape == 'rectangular' 419 - steps_in_direction = 0.0, 420 - quarter_turns = 0.0, 421 - 422 - weight = Math.floor(this.options.steps / 2), 423 - word_span, 424 - word_size, 425 - word_style; 426 - 427 - // Create word attr object 428 - //word.attr = XjQ.extend({}, word.html, { id: word_id }); 429 - word.attr = XjQ.extend({}, word.html, { id: word_id, group: (word.group ? word.group : "") }); 430 - 431 - // Linearly map the original weight to a discrete scale from 1 to 10 432 - // Only if weights are different 433 - if (this.data.max_weight != this.data.min_weight) { 434 - weight = Math.round((word.weight - this.data.min_weight) * 1.0 * (this.options.steps - 1) / (this.data.max_weight - this.data.min_weight)) + 1; 435 - } 436 - word_span = XjQ('<span>').attr(word.attr); 437 - 438 - word_span.addClass('jqcloud-word'); 439 - 440 - // Apply class 441 - if (this.options.classPattern) { 442 - word_span.addClass(this.options.classPattern.replace('{n}', weight)); 443 - } 444 - 445 - // Apply color 446 - if (this.data.colors.length) { 447 - word_span.css('color', this.data.colors[weight - 1]); 448 - } 449 - 450 - // Apply color from word property 451 - if (word.color) { 452 - word_span.css('color', word.color); 453 - } 454 - 455 - // Apply size 456 - if (this.data.sizes.length) { 457 - word_span.css('font-size', this.data.sizes[weight - 1]); 458 - } 459 - 460 - //Render using template function if provided. 461 - if (this.options.template) { 462 - word_span.html(this.options.template(word)); 463 - } else if (word.link) { 464 - // Append link if word.link attribute was set 465 - // If link is a string, then use it as the link href 466 - if (typeof word.link === 'string') { 467 - word.link = { href: word.link }; 468 - } 469 - 470 - if (this.options.encodeURI) { 471 - word.link.href = encodeURI(word.link.href).replace(/'/g, '%27'); 472 - } 473 - 474 - word_span.append(XjQ('<a>').attr(word.link).text(word.text)); 475 - } 476 - else { 477 - word_span.text(word.text); 478 - } 479 - 480 - // Bind handlers to words 481 - if (word.handlers) { 482 - word_span.on(word.handlers); 483 - } 484 - 485 - this.Xelement.append(word_span); 486 - 487 - word_size = { 488 - width: word_span.outerWidth(), 489 - height: word_span.outerHeight() 490 - }; 491 - word_size.left = this.options.center.x * this.options.width - word_size.width / 2.0; 492 - word_size.top = this.options.center.y * this.options.height - word_size.height / 2.0; 493 - 494 - // Save a reference to the style property, for better performance 495 - word_style = word_span[0].style; 496 - word_style.position = 'absolute'; 497 - word_style.left = word_size.left + 'px'; 498 - word_style.top = word_size.top + 'px'; 499 - 500 - while (this.hitTest(word_size)) { 501 - // option shape is 'rectangular' so move the word in a rectangular spiral 502 - if (this.options.shape === 'rectangular') { 503 - steps_in_direction++; 504 - 505 - if (steps_in_direction * this.data.step > (1 + Math.floor(quarter_turns / 2.0)) * this.data.step * ((quarter_turns % 4 % 2) === 0 ? 1 : this.data.aspect_ratio)) { 506 - steps_in_direction = 0.0; 507 - quarter_turns++; 508 - } 509 - 510 - switch (quarter_turns % 4) { 511 - case 1: 512 - word_size.left += this.data.step * this.data.aspect_ratio + Math.random() * 2.0; 513 - break; 514 - case 2: 515 - word_size.top -= this.data.step + Math.random() * 2.0; 516 - break; 517 - case 3: 518 - word_size.left -= this.data.step * this.data.aspect_ratio + Math.random() * 2.0; 519 - break; 520 - case 0: 521 - word_size.top += this.data.step + Math.random() * 2.0; 522 - break; 523 - } 524 - } 525 - // Default settings: elliptic spiral shape 526 - else { 527 - radius += this.data.step; 528 - angle += (index % 2 === 0 ? 1 : -1) * this.data.step; 529 - 530 - word_size.left = this.options.center.x * this.options.width - (word_size.width / 2.0) + (radius * Math.cos(angle)) * this.data.aspect_ratio; 531 - word_size.top = this.options.center.y * this.options.height + radius * Math.sin(angle) - (word_size.height / 2.0); 532 - } 533 - word_style.left = word_size.left + 'px'; 534 - word_style.top = word_size.top + 'px'; 535 - } 536 - 537 - // Don't render word if part of it would be outside the container 538 - if (this.options.removeOverflowing && ( 539 - word_size.left < 0 || word_size.top < 0 || 540 - (word_size.left + word_size.width) > this.options.width || 541 - (word_size.top + word_size.height) > this.options.height 542 - ) 543 - ) { 544 - word_span.remove(); 545 - return; 546 - } 547 - 548 - // Save position for further usage 549 - this.data.placed_words.push(word_size); 550 - 551 - if (typeof word.afterWordRender === 'function') { 552 - word.afterWordRender.call(word_span); 553 - } 554 - }, 555 - 556 - // Draw one word then recall the function after a delay 557 - drawOneWordDelayed: function(index) { 558 - index = index || 0; 559 - 560 - // if not visible then do not attempt to draw 561 - if (!this.Xelement.is(':visible')) { 562 - this.createTimeout(XjQ.proxy(function() { 563 - this.drawOneWordDelayed(index); 564 - }, this), 10); 565 - 566 - return; 567 - } 568 - 569 - if (index < this.word_array.length) { 570 - this.drawOneWord(index, this.word_array[index]); 571 - 572 - this.createTimeout(XjQ.proxy(function() { 573 - this.drawOneWordDelayed(index + 1); 574 - }, this), this.options.delay); 575 - } 576 - else { 577 - if (typeof this.options.afterCloudRender == 'function') { 578 - this.options.afterCloudRender.call(this.Xelement); 579 - } 580 - } 581 - }, 582 - 583 - // Destroy any data and objects added by the plugin 584 - destroy: function() { 585 - if (this.options.autoResize) { 586 - XjQ(window).off('resize.' + this.data.namespace); 587 - } 588 - 589 - this.clearTimeouts(); 590 - this.Xelement.removeClass('jqcloud'); 591 - this.Xelement.removeData('jqcloud'); 592 - this.Xelement.children('[id^="' + this.data.namespace + '"]').remove(); 593 - }, 594 - 595 - // Update the list of words 596 - update: function(word_array) { 597 - this.word_array = word_array; 598 - this.data.placed_words = []; 599 - 600 - this.clearTimeouts(); 601 - this.drawWordCloud(); 602 - }, 603 - 604 - resize: function() { 605 - var new_size = { 606 - width: this.Xelement.width(), 607 - height: this.Xelement.height() 608 - }; 609 - 610 - if (new_size.width != this.options.width || new_size.height != this.options.height) { 611 - this.options.width = new_size.width; 612 - this.options.height = new_size.height; 613 - this.data.aspect_ratio = this.options.width / this.options.height; 614 - 615 - this.update(this.word_array); 616 - } 617 - }, 618 -}; 619 - 620 -/* 621 - * Apply throttling to a callback 622 - * @param callback {function} 623 - * @param delay {int} milliseconds 624 - * @param context {object|null} 625 - * @return {function} 626 - */ 627 -function throttle(callback, delay, context) { 628 - var state = { 629 - pid: null, 630 - last: 0 631 - }; 632 - 633 - return function() { 634 - var elapsed = new Date().getTime() - state.last, 635 - args = arguments, 636 - that = this; 637 - 638 - function exec() { 639 - state.last = new Date().getTime(); 640 - return callback.apply(context || that, Array.prototype.slice.call(args)); 641 - } 642 - 643 - if (elapsed > delay) { 644 - return exec(); 645 - } 646 - else { 647 - clearTimeout(state.pid); 648 - state.pid = setTimeout(exec, delay - elapsed); 649 - } 650 - }; 651 -} 652 - 653 -/* 654 - * jQuery plugin 655 - */ 656 -XjQ.fn.jQCloud = function(word_array, option) { 657 - var args = arguments; 658 - 659 - return this.each(function() { 660 - var Xthis = XjQ(this), 661 - data = Xthis.data('jqcloud'); 662 - 663 - if (!data && word_array === 'destroy') { 664 - // Don't even try to initialize when called with 'destroy' 665 - return; 666 - } 667 - if (!data) { 668 - var options = typeof option === 'object' ? option : {}; 669 - Xthis.data('jqcloud', (data = new jQCloud(this, word_array, options))); 670 - } 671 - else if (typeof word_array === 'string') { 672 - data[word_array].apply(data, Array.prototype.slice.call(args, 1)); 673 - } 674 - }); 675 -}; 676 - 677 -XjQ.fn.jQCloud.defaults = { 678 - set: function(options) { 679 - XjQ.extend(true, jQCloud.DEFAULTS, options); 680 - }, 681 - get: function(key) { 682 - var options = jQCloud.DEFAULTS; 683 - if (key) { 684 - options = options[key]; 685 - } 686 - return XjQ.extend(true, {}, options); 687 - } 688 -}; 689 - 690 -var jQwords = [ 691 - {text: "Druckvorschau", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 692 - {text: "Link im Formular", weight: 6, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 693 - {text: "Kalenderwidget anpassen", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 694 - {text: "Optionale Daten einer Auswahl mitspeichern (col Attribute)", weight: 4, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 695 - {text: "Aktion vor Absenden ausführen", weight: 5, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 696 - {text: "Absenden ohne Speichern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 697 - {text: "Eigene Formularfeld-Validatoren (Regex)", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 698 - {text: "Wiederholende Felder (dynamic) im JS adressieren", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 699 - {text: "Events an dynamic Felder anhängen", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 700 - {text: "[Richtext-Editor (Ticket #4227)]", weight: 3, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 701 - {text: "Vorbelegung von Daten im Formular (extern)", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 702 - {text: "intiale Vorbelegung von Daten in Feldern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 703 - {text: "Formularfelder mit LDAP-Daten vorbelegen (Ticket 3701)", weight: 3, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 704 - {text: "Formulareingaben zurücksetzen", weight: 7, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 705 - {text: "Formulardaten lokal speichern und später wieder laden (Ticket #3964)", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 706 - {text: "Formular zwischenspeichern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 707 - {text: "Labeltext zur Laufzeit manipulieren (Ticket #3493)", weight: 5, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 708 - {text: "Mehrfachbedingungen im Designer", weight: 7, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 709 - {text: "zusätzliches JS und CSS in allen Formularen", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 710 - {text: "mehrseitige Formulare", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 711 - {text: "responive / mobile Ansicht", weight: 10, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 712 - {text: "andere Schriftart einbinden / Design ändern", weight: 9, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 713 - {text: "Java-Script API", weight: 8, group: 'Designer', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 714 - 715 - {text: "Datenquellen für Auswahllisten hinterlegen", weight: 8, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 716 - {text: "Datenquellen in Auswahllisten anhand von Parametern hinterlegen", weight: 6, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 717 - {text: "Leerer erster Eintrag bei SQL-Datenquelle (Ticket #4068)", weight: 5, group: 'Datenquellen', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 718 - 719 - {text: "Mehrfachbedingungen im Workflow", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 720 - {text: "Automatisiertes Löschen nach bestimmten Zeitraum", weight: 9, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 721 - {text: "Exportmöglichkeiten von Daten", weight: 6, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 722 - {text: "E-Mail Aktionen abhängig von Eingaben (Bedingungen) durchführen", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 723 - {text: "Bedingtes Einblenden von Elementen", weight: 7, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 724 - {text: "Mehrstufigen Workflow (Beispiel)", weight: 8, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 725 - {text: "Statuswechsel", weight: 10, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 726 - {text: "Vorgangs-ID im Druck (Word-Fill) anzeigen (Ticket #3813)", weight: 5, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 727 - {text: "iCal Datei erzeugen", weight: 3, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 728 - {text: "aktuelles Datum in der Verarbeitung", weight: 6, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 729 - {text: "Laufende Nummer aus Nummernkreis erzeugen (Ticket #3249)", weight: 3, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 730 - {text: "E-Mail-Versand", weight: 10, group: 'Statusverarbeitung', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 731 - 732 - {text: "Migrationsmöglichkeiten in Webseite", weight: 6, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 733 - {text: "Abschlussseite in Webseite anzeigen (inline)", weight: 5, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 734 - {text: "Generierte Dateien auf Abschlussseite anzeigen", weight: 7, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 735 - {text: "Benutzerdefinierte Abschlussseite", weight: 9, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 736 - {text: "Referenznummer (Ticket #3866)", weight: 5, group: 'Abschlusseite', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 737 - 738 - {text: "Vorgänge löschen", weight: 9, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 739 - {text: "Filtermöglichkeiten", weight: 8, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 740 - {text: "Stauswechsel im Postfach ermöglichen (notwendige Einstellungen)", weight: 6.5, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 741 - {text: "Postfach exportieren", weight: 7, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 742 - {text: "Berechtigungen/Sichtbarkeiten für Benutzer festlegen", weight: 6, group: 'Posteingang', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 743 - 744 - {text: "Update FORMCYCLE", weight: 4, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 745 - {text: "Zugriffseinschränkung - Möglichkeiten", weight: 3, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 746 - {text: "I-Frame automatisch Höhe anpassen", weight: 5, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 747 - {text: "Daten aus Formular werden nicht gespeichert (Disablede Felder)", weight: 6, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 748 - {text: "Double Opt-In", weight: 7, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/UserInterface/MyForms/DoubleOptIn/'}, 749 - {text: "[Übersicht von Lösungen bei Problemen mit z.B. DB (Ticket #3714, #3057)]", weight: 6, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 750 - {text: "[Tomcat Zugriff HTTPS - Zertifikat-Einrichtung (Ticket #3295)]", weight: 5, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 751 - {text: "Beispiele für Print CSS / Erläuterung was das PDF Print Plugin macht", weight: 7, group: 'Anderes', link: 'https://help.formcycle.eu/xwiki/bin/view/Formcycle/'}, 752 -]; 753 -##http://mistic100.github.io/jQCloud/demo.html#handlers 754 -/*XjQ('#jQArea').jQCloud(jQwords, { 755 - classPattern: null, 756 - colors: ["#176694", "#3480AD", "#5398c1", "#76b2d6", "#7ca2b9", "#889fad", "#8e979c", "#929596", "#babbbb"], 757 - fontSize: ['16px','15px','15px','14px','14px','13px','13px','12px','12px'], 758 - //width: 500, 759 - height: 500 760 -});*/ 761 - 762 -var jQButtons = XjQ('.jQButton'); 763 - 764 -jQButtons.click(function() { 765 - if (XjQ(this).attr('active') == 'true') { 766 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagInvisible); 767 - XjQ(this).attr('active', 'false'); 768 - } else { 769 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagVisible); 770 - XjQ(this).attr('active', 'true'); 771 - } 772 -}); 773 -function jQTagVisible() { 774 - XjQ(this).css('display', 'block'); 775 -} 776 -function jQTagInvisible() { 777 - XjQ(this).css('display', 'none'); 778 -} 779 - 780 -jQButtons.hover(function() { 781 - console.log("hover",XjQ(this)); 782 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagHighlighted); 783 -}, function() { 784 - console.log("unhover",XjQ(this)); 785 - XjQ('#jQArea').children('span[group="'+XjQ(this).attr('group')+'"]').each(jQTagNotHighlighted); 786 -}); 787 -function jQTagHighlighted() { 788 - XjQ(this).addClass('jqHighlight'); 789 -} 790 -function jQTagNotHighlighted() { 791 - XjQ(this).removeClass('jqHighlight'); 792 -} 793 -}); 794 -</script> 795 -<!-- 796 -<div class="row"> 797 - <div class="d-none d-md-block col-lg-12 card-main"> 798 - <div class="well" > 799 - <div id="jQButtons"> 800 - <div id="jQBtn1" class="jQButton" group="Designer" active="true"><span class="jQButton-icon"></span> Designer</div> 801 - <div id="jQBtn1" class="jQButton" group="Datenquellen" active="true"><span class="jQButton-icon"></span> Datenquellen</div> 802 - <div id="jQBtn1" class="jQButton" group="Statusverarbeitung" active="true"><span class="jQButton-icon"></span> Statusverarbeitung</div> 803 - <div id="jQBtn1" class="jQButton" group="Abschlusseite" active="true"><span class="jQButton-icon"></span> Abschlusseite</div> 804 - <div id="jQBtn1" class="jQButton" group="Posteingang" active="true"><span class="jQButton-icon"></span> Posteingang</div> 805 - <div id="jQBtn1" class="jQButton" group="Anderes" active="true"><span class="jQButton-icon"></span> Anderes</div> 806 - </div> 807 - <div id="jQArea"> 808 - </div> 809 - </div> 810 - </div> 811 -</div> 812 ---> 119 +{{html clean="false"}} 120 +#display4Cards($howToCards) 813 813 {{/html}} 814 814 {{/velocity}}
- XWiki.XWikiRights[0]
-
- Ebenen
-
... ... @@ -1,1 +1,1 @@ 1 -view ,script1 +view
- XWiki.XWikiRights[1]
-
- Ebenen
-
... ... @@ -1,1 +1,1 @@ 1 -view ,script1 +view
- XWiki.XWikiRights[2]
-
- Ebenen
-
... ... @@ -1,1 +1,1 @@ 1 -view ,comment,edit,script,delete1 +view