_screenshot.rhtml

Modify 1.1.1 for multi-language support, recovery <plugins directory>/app/views/issues/_screenshot.rhtmls - Fuyuan Cheng, 2011-03-10 18:26

Download (969 Bytes)

 
1
<p><label><%=l(:label_screenshot)%></label>
2
        <small><a href="#" onclick="Element.show('imageuploadapplet'); Element.show('uploaded_screenshot_fields'); document.imageuploadapplet.getImageFromClipboad(); return false;">
3
        <%=l(:label_drag_or_paste_from_clipboard)%></a></small><br />
4
                <applet archive="/plugin_assets/redmine_screenshot_paste/simageuploadapplet.jar"
5
                                          code="imageuploadapplet.Main"
6
                                          name="imageuploadapplet"
7
                                          id="imageuploadapplet"
8
                                          hspace="0" vspace="0" width="100%" height="350" align="middle"
9
                                          style="display:none;">
10
                </applet>
11
                <br />
12
                <span id="uploaded_screenshot_fields" style="display:none;">
13
                <small><%=l(:label_name_description)%></small><br />
14
                <input type="text" name="attachments[screenshot][name]" value="screenshot" />
15
                <input type="text" name="attachments[screenshot][description]" size="60" />
16
                </span>
17
</p>
18
<input type="hidden" name="attachments[screenshot][content]" id="image" />