File: plugin_error.rhtml

package info (click to toggle)
tdiary 5.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,088 kB
  • sloc: ruby: 23,031; javascript: 1,029; xml: 325; makefile: 26; sh: 4
file content (27 lines) | stat: -rw-r--r-- 818 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta name="generator" content="<%=h TDIARY_VERSION %>">
	<title>Plugin Error</title>
</head>
<body>
<h1>Plugin Error</h1>
<%
	if self.kind_of?( TDiary::TDiaryAdmin ) and @date then
		update = %Q[<a href="#{h @conf.update}?edit=true;#{@date.strftime( 'year=%Y;month=%m;day=%d' )}">Edit(#{@date.strftime( '%Y-%m-%d' )})</a>]
	else
		update = %Q[<a href="#{h @conf.update}">Update</a>]
	end
%>
<p style="font-size: large;"><strong>
	Errors in plugins?
	Retry to <%= update %> or <a href="<%=h @conf.update %>?conf=default">Configure</a>.
</strong></p>
<blockquote>
	<strong><%=h $!.class %></strong><br>
	<pre><%=h $! %></pre>
	<pre><%=h $!.backtrace.join("\n") %></pre>
</blockquote>
</body>
</html>