equal
deleted
inserted
replaced
35 var dom = ed.dom; |
35 var dom = ed.dom; |
36 |
36 |
37 each(dom.select('div', o.node), function(e) { |
37 each(dom.select('div', o.node), function(e) { |
38 if (dom.hasClass(e, 'mceTmpl')) { |
38 if (dom.hasClass(e, 'mceTmpl')) { |
39 each(dom.select('*', e), function(e) { |
39 each(dom.select('*', e), function(e) { |
40 if (dom.hasClass(e, ed.getParam('template_mdate_classes').replace(/\s+/g, '|'))) |
40 if (dom.hasClass(e, ed.getParam('template_mdate_classes', 'mdate').replace(/\s+/g, '|'))) |
41 e.innerHTML = t._getDateTime(new Date(), ed.getParam("template_mdate_format", ed.getLang("template.mdate_format"))); |
41 e.innerHTML = t._getDateTime(new Date(), ed.getParam("template_mdate_format", ed.getLang("template.mdate_format"))); |
42 }); |
42 }); |
43 |
43 |
44 t._replaceVals(e); |
44 t._replaceVals(e); |
45 } |
45 } |