_screenshot.rhtml

Anonymous, 2010-07-01 21:35

Download (934 Bytes)

 
1
<p><label>Screenshot</label>
2
        <small><a href="#" onclick="Element.show('imageuploadapplet'); Element.show('uploaded_screenshot_fields'); document.imageuploadapplet.getImageFromClipboad(); return false;">
3
        Drag or paste from clipboard</a></small><br />
4
                <applet codebase="/plugin_assets/redmine_screenshot_paste/"
5
                                          archive="simageuploadapplet.jar"
6
                                          code="imageuploadapplet.Main"
7
                                          name="imageuploadapplet"
8
                                          id="imageuploadapplet"
9
                                          hspace="0" vspace="0" width="400" height="200" align="middle"
10
                                          style="display:none;">
11
                </applet>
12
                <br />
13
                <span id="uploaded_screenshot_fields" style="display:none;">
14
                <small>Name / Description:</small><br />
15
                <input type="text" name="uploaded_screenshot[name]" value="screenshot" />
16
                <input type="text" name="uploaded_screenshot[description]" size="60" />
17
                </span>
18
</p>
19
<input type="hidden" name="uploaded_screenshot[content]" id="image" />