MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 1,231: Line 1,231:


     $('#submit').click(function() {
     $('#submit').click(function() {
         var email = 'submit@softwear.directory'; // Replace with the recipient's email address
         var email = 'submit@softwear.directory';
         var subject = 'new entry to the softwear directory';
         var subject = 'new entry to the softwear directory';
         var body = '☺ the following content could be interesting for the directory:\n\n' +
         var body = '☺ the following content could be interesting for the directory:\n\n' +
                   '[ author / creator ]\n\n' +
                   '[ author / creator ]\n\n' +
                   '---\n\n' +
                   '___________________________________\n\n' +
                   '[ title ]\n\n' +
                   '[ title ]\n\n' +
                   '---\n\n' +
                   '___________________________________\n\n' +
                   '[ why should it be included? ]\n\n' +
                   '[ why should it be included? ]\n\n' +
                   '---\n\n' +
                   '___________________________________\n\n' +
                   '[ link or pdf ]\n\n' +
                   '[ link or pdf ]\n\n' +
                   '---\n\n' +
                   '___________________________________\n\n' +
                   '[ your name / contact / social ]\n\n' +
                   '[ your name / contact / social ]\n\n' +
                   '---';
                   '___________________________________';
      
      
         var mailtoLink = 'mailto:' + encodeURIComponent(email) +
         var mailtoLink = 'mailto:' + encodeURIComponent(email) +

Navigation menu