1 |
3 |
ahitrov@rambler.ru |
<html> |
2 |
|
|
<head> |
3 |
|
|
<META http-equiv="Content-Type" content="text/html; charset=KOI8-R"> |
4 |
|
|
<style> |
5 |
|
|
body { |
6 |
|
|
background-color: #FFFFFF; |
7 |
|
|
margin: 0px; |
8 |
|
|
} |
9 |
|
|
form { |
10 |
|
|
margin: 0px; |
11 |
|
|
padding: 0px; |
12 |
|
|
} |
13 |
|
|
input, select, textarea { |
14 |
|
|
font-family: Tahoma, Arial, sans-serif; |
15 |
|
|
font-size:9pt; |
16 |
|
|
} |
17 |
|
|
a { |
18 |
|
|
color:#0000ee; |
19 |
|
|
} |
20 |
|
|
a:visited.v { |
21 |
|
|
color:#0000ee; |
22 |
|
|
} |
23 |
|
|
|
24 |
|
|
fieldset {padding:6px;margin-bottom:10px;border:2px solid #8093B0;} |
25 |
|
|
fieldset legend {font-size:8pt;font-weight:bold;font-family:Tahoma;padding:3px 6px 3px 6px;margin-bottom:6px;color:#ffffff;background-color:#8093B0;} |
26 |
|
|
|
27 |
|
|
.tatop {font-size:70%;font-family:Tahoma;color:#ffffff;} |
28 |
|
|
.tatop a {color:#ffffff;} |
29 |
|
|
.npath {font-size:70%;font-family:Tahoma;padding:8px;} |
30 |
|
|
|
31 |
|
|
.textnorm { font-size:70%; font-family:Tahoma; } |
32 |
|
|
.input_btn {background-color:#930300;color:#FFFFFF;height:2.4em;} |
33 |
|
|
|
34 |
|
|
table.tlistdocs { margin-top:10px; margin-bottom:10px; border-right:1px solid #d9d9d9;border-bottom:1px solid #d9d9d9; } |
35 |
|
|
table.tlistdocs td, table.tlistdocs th { border:1px solid #d9d9d9; border-right:0px; border-bottom:0px; } |
36 |
|
|
table.tlistdocs td {font-size:70%;font-family:Tahoma;} |
37 |
|
|
table.tlistdocs table td {border:0px;} |
38 |
|
|
|
39 |
|
|
table.tform th, table.tform td { |
40 |
|
|
font-size: 70%; |
41 |
|
|
font-family: Tahoma; |
42 |
|
|
text-align: left; |
43 |
|
|
} |
44 |
|
|
|
45 |
|
|
th {font-size:70%;font-family:Tahoma;text-align:left;} |
46 |
|
|
|
47 |
|
|
h5, .hdr5 {font-size:70%;font-family:Tahoma;font-weight:bold;padding-top:10px;padding-bottom:5px;} |
48 |
|
|
|
49 |
|
|
|
50 |
|
|
.hiddensect { color:#909090; } |
51 |
|
|
.hiddensect a { color:#909090; } |
52 |
|
|
|
53 |
|
|
.btn {font-size:9pt;} |
54 |
|
|
|
55 |
|
|
.bb { |
56 |
|
|
border: solid 1px #000000; |
57 |
|
|
} |
58 |
|
|
.gb { |
59 |
|
|
background-color: #D8D8D8; |
60 |
|
|
} |
61 |
|
|
.undo { |
62 |
|
|
font-family: Tahoma; |
63 |
|
|
font-size: 9pt; |
64 |
|
|
background-color: #FFD8D8; |
65 |
|
|
} |
66 |
|
|
.link_string { font: 12px Tahoma; padding:5px 10px; border-bottom:1px solid gray; } |
67 |
|
|
.link_string p { margin:0; padding:0; } |
68 |
|
|
|
69 |
|
|
</style> |
70 |
|
|
<title>������������ ���������<% (length($title) > 0) ? " | $title" : "" %></title> |
71 |
|
|
<script language="javascript" type="text/javascript" src="/contenido/i/js/jquery-1.3.2.min.js"></script> |
72 |
|
|
<% $m->comp_exists('/contenido/components/custom_head.msn') ? $m->comp('/contenido/components/custom_head.msn') : '' %> |
73 |
|
|
<script language="javascript" type="text/javascript" src="/contenido/i/js/links.js"></script> |
74 |
|
|
<script language="javascript" type="text/javascript" src="/contenido/i/js/tiny_mce/jquery.tinymce.js"></script> |
75 |
|
|
<script language="javascript" type="text/javascript"> |
76 |
|
|
var WYSIWYGControls = new Array(); |
77 |
|
|
var sDocumentClass; |
78 |
|
|
var nDocumentID; |
79 |
|
|
$().ready(function() { |
80 |
|
|
var sControls; |
81 |
|
|
$('textarea.tinymce').tinymce({ |
82 |
|
|
// Location of TinyMCE script |
83 |
|
|
script_url : '/contenido/i/js/tiny_mce/tiny_mce.js', |
84 |
|
|
|
85 |
|
|
// General options |
86 |
|
|
theme : "advanced", |
87 |
|
|
plugins : "style,layer,table,advhr,advimage,advlink,inlinepopups,preview,media,contextmenu,paste,noneditable,visualchars,nonbreaking,template,advlist", |
88 |
|
|
|
89 |
|
|
// Theme options |
90 |
|
|
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,formatselect,fontselect,fontsizeselect,|,forecolor,backcolor,|,undo,redo,|,preview,help,code", |
91 |
|
|
theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,outdent,indent,blockquote,|,link,unlink,anchor,image,|,tablecontrols", |
92 |
|
|
theme_advanced_buttons3 : "cleanup,removeformat,visualaid,|,sub,sup,|,charmap,media,hr,advhr,|,insertlayer,moveforward,movebackward,absolute,|,styleprops,|,visualchars,nonbreaking", |
93 |
|
|
theme_advanced_toolbar_location : "top", |
94 |
|
|
theme_advanced_toolbar_align : "left", |
95 |
|
|
theme_advanced_statusbar_location : "bottom", |
96 |
|
|
theme_advanced_resizing : true, |
97 |
|
|
|
98 |
|
|
convert_urls : false, |
99 |
|
|
|
100 |
|
|
paste_create_paragraphs : false, |
101 |
|
|
paste_create_linebreaks : false, |
102 |
|
|
paste_auto_cleanup_on_paste : true, |
103 |
|
|
paste_convert_middot_lists : false, |
104 |
|
|
|
105 |
|
|
// Example content CSS (should be your site CSS) |
106 |
|
|
//content_css : "css/content.css", |
107 |
|
|
|
108 |
|
|
// Drop lists for link/image/media/template dialogs |
109 |
|
|
//template_external_list_url : "lists/template_list.js", |
110 |
|
|
//external_link_list_url : "lists/link_list.js", |
111 |
|
|
//external_image_list_url : "lists/image_list.js", |
112 |
|
|
//media_external_list_url : "lists/media_list.js" |
113 |
|
|
external_image_list_url : "/contenido/image_list.js?class=" + sDocumentClass + "&id=" + nDocumentID |
114 |
|
|
|
115 |
|
|
}); |
116 |
|
|
<%doc> |
117 |
|
|
if ( WYSIWYGControls.length ) { |
118 |
|
|
sControls = WYSIWYGControls.join(','); |
119 |
|
|
$('textarea.tinymce').tinymce({ |
120 |
|
|
// Location of TinyMCE script |
121 |
|
|
script_url : '/contenido/i/js/tiny_mce/tiny_mce.js', |
122 |
|
|
|
123 |
|
|
theme : "advanced", |
124 |
|
|
plugins : "safari,paste,advimage,table", |
125 |
|
|
paste_create_paragraphs : false, |
126 |
|
|
paste_create_linebreaks : false, |
127 |
|
|
paste_use_dialog : true, |
128 |
|
|
paste_auto_cleanup_on_paste : true, |
129 |
|
|
paste_convert_middot_lists : false, |
130 |
|
|
paste_unindented_list_class : "unindentedList", |
131 |
|
|
paste_convert_headers_to_strong : true, |
132 |
|
|
paste_insert_word_content_callback : "convertWord", |
133 |
|
|
theme_advanced_buttons3_add : "pastetext,pasteword,selectall,|,forecolor,backcolor,|,tablecontrols", |
134 |
|
|
convert_urls : false, |
135 |
|
|
|
136 |
|
|
external_image_list_url : "/contenido/image_list.js?class=" + sDocumentClass + "&id=" + nDocumentID |
137 |
|
|
}); |
138 |
|
|
} |
139 |
|
|
</%doc> |
140 |
|
|
}); |
141 |
|
|
<%doc> |
142 |
|
|
function convertWord(type, content) { |
143 |
|
|
switch (type) { |
144 |
|
|
// Gets executed before the built in logic performes it's cleanups |
145 |
|
|
case "before": |
146 |
|
|
//content = content.toLowerCase(); // Some dummy logic |
147 |
|
|
break; |
148 |
|
|
|
149 |
|
|
// Gets executed after the built in logic performes it's cleanups |
150 |
|
|
case "after": |
151 |
|
|
//content = content.toLowerCase(); // Some dummy logic |
152 |
|
|
break; |
153 |
|
|
} |
154 |
|
|
|
155 |
|
|
return content; |
156 |
|
|
} |
157 |
|
|
</%doc> |
158 |
|
|
|
159 |
|
|
</script> |
160 |
|
|
</head> |
161 |
|
|
<body> |
162 |
|
|
|
163 |
|
|
<%args> |
164 |
|
|
|
165 |
|
|
$style => undef |
166 |
|
|
$title => undef |
167 |
|
|
|
168 |
|
|
</%args> |
169 |
|
|
<%init> |
170 |
|
|
my $pn = $state->project_name(); |
171 |
|
|
my ($pn_name, $pn_domen) = split(/\./, $pn); |
172 |
|
|
</%init> |