Project

General

Profile

PluginScreenshotPaste » _screenshot.rhtml

Modify 1.0.2 for multilanguage support and 0.9.3 tested - Ki Won Kim, 2010-03-23 06:48

 
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_wiki_description)%></small><br />
14
		<small><%=l(:label_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" />
(3-3/15)