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