File: highlight.rb

package info (click to toggle)
tdiary 2.2.1%2Bdfsg1-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 14,044 kB
  • ctags: 2,796
  • sloc: ruby: 32,562; lisp: 514; makefile: 83; sh: 72; sql: 40
file content (22 lines) | stat: -rw-r--r-- 636 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Japanese resource of highlight.rb
#

def highlight_conf_label; 'ϥ饤'; end

def highlight_conf_html
	<<-HTML
	<h3 class="subtitle">ϥ饤Ȥο</h3>
	<p>פΥ֥ȥ<span style="color: #{h @conf['highlight.color']}; background: #{h @conf['highlight.background']}">ץ</span>Τ褦˥ϥ饤Ȥޤ</p>

	<table>
		<tr>
			<th>ϥ饤Ȥʸ</th>
			<td><input name="highlight.color" value="#{h @conf['highlight.color']}"></td>
		</tr>
		<tr>
			<th>ϥ饤Ȥطʿ</th>
			<td><input name="highlight.background" value="#{h @conf['highlight.background']}"></td>
		</tr>
	</table>
	HTML
end