בדוקי עריכות אוטומטית, אינטערפעיס רעדאקטארן, אינטערפעיס אדמיניסטראַטאָרן, סיסאפן, מייבאים, מעדכנים, מייבא, אספקלריה רעדאקטארן
46,595
רעדאגירונגען
(וואס געשעט למשל?) |
(אידיש) |
||
| שורה 7: | שורה 7: | ||
var constants = ["", | var constants = ["", | ||
"שם המחבר", | "שם המחבר", | ||
" | "ארטיקל קעפל", | ||
" | "נומער (ווי ערשיינט אינעם לינק)", | ||
" | "נאך אינפארמאציע, למשל דאטום. פרובירט היטן אויפן פארמאט 'אוגוסט 30, 1958'", | ||
"מספר הסדרה", | "מספר הסדרה", | ||
"נתיב הדף - כמו שמופיע בקישור", | "נתיב הדף - כמו שמופיע בקישור", | ||
| שורה 92: | שורה 92: | ||
{t: 'Onlife', p: [1,2,3,4], r: /onlife\.co\.il\/([^\/]+)\/(.*)/i, rp: [1,3], op: [3]}, | {t: 'Onlife', p: [1,2,3,4], r: /onlife\.co\.il\/([^\/]+)\/(.*)/i, rp: [1,3], op: [3]}, | ||
{t: 'ynet', p: [1,2,3,4], def: {6: 0, 7: 'articles'}, r: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00.html/i, rp: [7,6,3], bm: 1, op: [3,4,5,6]}, | {t: 'ynet', p: [1,2,3,4], def: {6: 0, 7: 'articles'}, r: /ynet\.co\.il\/([^\/]+)\/(\d+),7340,L-(\d+),00.html/i, rp: [7,6,3], bm: 1, op: [3,4,5,6]}, | ||
{t: 'וואלה!', p: [1,2,3,4,0,26], r: /\?w=\/(\d+)\/(\d+)/i, rp: [6,3], bm: 1, op: [3,4,5]}, | {t: 'וואלה!', p: [1,2,3,4,0,26], r: /\?w=\/(\d+)\/(\d+)/i, rp: [6,3], bm: 1, op: [3,4,5]}, | ||
{t: 'גלובס', p: [1,2,3,4], r: /\/news\/article.aspx\?did=(\d+)/i, rp: [3], bm: 1, op: [3]}, | {t: 'גלובס', p: [1,2,3,4], r: /\/news\/article.aspx\?did=(\d+)/i, rp: [3], bm: 1, op: [3]}, | ||
| שורה 225: | שורה 224: | ||
if (f[i].hasClass('ltw_required') && $.trim(f[i].val()).length == 0) | if (f[i].hasClass('ltw_required') && $.trim(f[i].val()).length == 0) | ||
canOK = 'disable'; | canOK = 'disable'; | ||
$(".ui-dialog-buttonpane button:contains(' | $(".ui-dialog-buttonpane button:contains('באשטעטיג')").button(canOK); | ||
$('#ltw2_list').attr('disabled', $('#ltw2_ref').prop('checked'));//disable list if ref | $('#ltw2_list').attr('disabled', $('#ltw2_ref').prop('checked'));//disable list if ref | ||
$('#ltw2_ref').attr('disabled', $('#ltw2_list').prop('checked'));//disable ref if list | $('#ltw2_ref').attr('disabled', $('#ltw2_list').prop('checked'));//disable ref if list | ||
| שורה 264: | שורה 263: | ||
if (template.bm) | if (template.bm) | ||
dialog.append($('<p>', {title: ' | dialog.append($('<p>', {title: 'זעט בלאט "הילף:בוקמרקלטים"'}).css({color: 'red', fontWeight: 'bold'}) | ||
.text(' | .text('עס עקזיסטירט בוקמארקלעט וואס שאפט אויטאטאמאטיש מוסטער "' + template.t + '". ביטע באטראכט דאס צו ניצן (זעט "הילף:בוקמרקלטים").')) | ||
.append($('<hr>')); | .append($('<hr>')); | ||
if (template.r) | if (template.r) | ||
dialog.append($('<span>').text(' | dialog.append($('<span>').text('פעיסט אריין דא דעם לינק:').css({width: '20em'})) | ||
.append($('<input>', {type: "text", id: 'ltw_urlinput', maxLength: 600}).css({width: '26em'}).on('paste cut drop input change', extractParamsFromURL)) | .append($('<input>', {type: "text", id: 'ltw_urlinput', maxLength: 600}).css({width: '26em'}).on('paste cut drop input change', extractParamsFromURL)) | ||
.append($('<hr>')) | .append($('<hr>')) | ||
| שורה 277: | שורה 276: | ||
.append(table) | .append(table) | ||
.append($('<p>').css({height: '2em'})) | .append($('<p>').css({height: '2em'})) | ||
.append($('<label>').text(' | .append($('<label>').text(' רעפערענץ ')) | ||
.append($('<input>', {type: 'checkbox', id: 'ltw2_ref'}).change(updatePreview)) | .append($('<input>', {type: 'checkbox', id: 'ltw2_ref'}).change(updatePreview)) | ||
.append($('<label>').css({width: '12em'}).text( ' | .append($('<label>').css({width: '12em'}).text( ' אייטעם אין א ליסטע ')) | ||
.append($('<input>', {type: 'checkbox', id: 'ltw2_list'}).change(updatePreview)) | .append($('<input>', {type: 'checkbox', id: 'ltw2_list'}).change(updatePreview)) | ||
.append($('<p>').css({height: '1.5em'})) | .append($('<p>').css({height: '1.5em'})) | ||
| שורה 372: | שורה 371: | ||
templateDialog(dialog, templates(this.value)); | templateDialog(dialog, templates(this.value)); | ||
}); | }); | ||
selector.append($('<option>', {text: ' | selector.append($('<option>', {text: 'וועלט מוסטער פון ליסטע'})); | ||
for (var i in allTemplates) | for (var i in allTemplates) | ||
selector.append($('<option>', {text: allTemplates[i], value: allTemplates[i]})); | selector.append($('<option>', {text: allTemplates[i], value: allTemplates[i]})); | ||
dialog.append(selector); | dialog.append(selector); | ||
dialog.append($('<p>', {'class': 'ltw_disposable'}).text(' | dialog.append($('<p>', {'class': 'ltw_disposable'}).text('אדער פעיסט אריין א מוסטער צו רעדאגירן:')); | ||
dialog.append($('<input>', {type: 'text', maxLength: 1000, 'class': 'ltw_disposable'}).css({width: '14em'}).on('paste cut drop input change', function() {fromTemplate(this.value);})); | dialog.append($('<input>', {type: 'text', maxLength: 1000, 'class': 'ltw_disposable'}).css({width: '14em'}).on('paste cut drop input change', function() {fromTemplate(this.value);})); | ||
} | } | ||
רעדאגירונגען