מדיה ויקי:Gadget-FlowDeluxeLocal.js: הבדלים בין גרסאות בדף
אין תקציר עריכה |
אין תקציר עריכה |
||
| שורה 12: | שורה 12: | ||
//Options Flow Deluxe à inclure également : | //Options Flow Deluxe à inclure également : | ||
flowDeluxeBoutonsResumes = true; //Barre d'insertion rapide de modèles de résumé | flowDeluxeBoutonsResumes = true; //Barre d'insertion rapide de modèles de résumé | ||
flowDeluxeIndentationColors = true; //Indentation colorée comme dans l'ancien système de discussions | flowDeluxeIndentationColors = true; //Indentation colorée comme dans l'ancien système de discussions | ||
flowDeluxeButtonsInline = true; //Bouttons, historique, liens du sujet en une seule ligne | flowDeluxeButtonsInline = true; //Bouttons, historique, liens du sujet en une seule ligne | ||
*/ | */ | ||
/* local values */ | /* local values */ | ||
var flowDeluxeBoutonsResumesLocal = true; | var flowDeluxeBoutonsResumesLocal = true; | ||
var flowDeluxeIndentationColorsLocal = true; | var flowDeluxeIndentationColorsLocal = true; | ||
var flowDeluxeButtonsInlineLocal = true; | var flowDeluxeButtonsInlineLocal = true; | ||
var flowDeluxeBoutonsResumes = typeof window.flowDeluxeBoutonsResumes !== 'undefined' ? | var flowDeluxeBoutonsResumes = typeof window.flowDeluxeBoutonsResumes !== 'undefined' ? | ||
window.flowDeluxeBoutonsResumes : flowDeluxeBoutonsResumesLocal; | window.flowDeluxeBoutonsResumes : flowDeluxeBoutonsResumesLocal; | ||
var flowDeluxeIndentationColors = typeof window.flowDeluxeIndentationColors !== 'undefined' ? | var flowDeluxeIndentationColors = typeof window.flowDeluxeIndentationColors !== 'undefined' ? | ||
window.flowDeluxeIndentationColors : flowDeluxeIndentationColorsLocal; | window.flowDeluxeIndentationColors : flowDeluxeIndentationColorsLocal; | ||
var flowDeluxeButtonsInline = typeof window.flowDeluxeButtonsInline !== 'undefined' ? | var flowDeluxeButtonsInline = typeof window.flowDeluxeButtonsInline !== 'undefined' ? | ||
window.flowDeluxeButtonsInline : flowDeluxeButtonsInlineLocal; | window.flowDeluxeButtonsInline : flowDeluxeButtonsInlineLocal; | ||
| שורה 72: | שורה 61: | ||
} | } | ||
]; | ]; | ||
function ajouterResume(texte,parent){ | function ajouterResume(texte,parent){ | ||
| שורה 193: | שורה 173: | ||
//element.style.padding = "5px"; | //element.style.padding = "5px"; | ||
} | } | ||
} | } | ||
| שורה 232: | שורה 208: | ||
var datesSujets = document.getElementsByClassName('flow-timestamp'); | var datesSujets = document.getElementsByClassName('flow-timestamp'); | ||
if(flowDeluxeIndentationColors) | if(flowDeluxeIndentationColors) | ||
indentPostWithColors(); | indentPostWithColors(); | ||
if(flowDeluxeButtonsInline) | if(flowDeluxeButtonsInline) | ||
buttonsInline(); | buttonsInline(); | ||