Changeset 216 in t29-www


Ignore:
Timestamp:
Nov 24, 2010, 6:29:57 PM (13 years ago)
Author:
heribert
Message:

Translation System: Name/Wohnort-Uebertragung

Location:
en/dev/translation
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • en/dev/translation/editor.js

    r209 r216  
    406406                        initial_html: t29.tr.initial_editor.html(),
    407407                        new_text: t29.tr.editor.text().replace(/\s+/g,' '),
    408                         new_html: t29.tr.editor.html()
     408                        new_html: t29.tr.editor.html(),
     409                        user_name: $("#tr-username").val(),
     410                        user_loc: $("#tr-userlocation").val()
    409411                }
    410412        });
  • en/dev/translation/messages.xml

    r209 r216  
    8989                                <div class="name">
    9090                                        If you want, you can publish your name at the end of this page.
    91                                         <br/>Your Name: <input type="text" name="name" class="defaultvalue" value="e.g. H. Omaba" />,
    92                                         your Location: <input type="text" name="location" class="defaultvalue" value="e.g. Chicago, IL" />
     91                                        <br/>Your Name: <input id="tr-username" type="text" name="name" class="defaultvalue" value="e.g. H. Omaba" />,
     92                                        your Location: <input id="tr-userlocation" type="text" name="location" class="defaultvalue" value="e.g. Chicago, IL" />
    9393                                        <span class="stored"></span>
    9494                                </div>
     
    9999                                        the backyard of technikum29 homepage engineering and translation.
    100100                                       
    101                                         <form method="post" action="http://dev.technikum29.de/cgi-bin/mail.php">
     101                                        <form method="post" action="http://dev.technikum29.de/cgi-bin/mail.php" target="_blank">
    102102                                                <input type="hidden" name="to" value="dev" />
    103103                                                <input type="hidden" name="subject" value="t29 translation system feedback" />
  • en/dev/translation/submit.php

    r189 r216  
    2424$new_text = get("new_text");
    2525$new_html = get("new_html");
     26$user_name = get("user_name", "not given");
     27$user_loc = get("user_loc", "not given");
    2628
    2729// spamschutz
     
    7577        Agent:   $_SERVER[HTTP_USER_AGENT]
    7678        IP:      $_SERVER[REMOTE_ADDR]
     79
     80User given credentials:
     81
     82        Name:   $user_name
     83        Loc:    $user_loc
    7784HERE;
    7885
Note: See TracChangeset for help on using the changeset viewer.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License