Merge lp:~sebool/pluck-cms/sebool-base into lp:pluck-cms
- sebool-base
- Merge into release-4.7
Proposed by
Sebastian Sala (SebOOl)
Status: | Needs review |
---|---|
Proposed branch: | lp:~sebool/pluck-cms/sebool-base |
Merge into: | lp:pluck-cms |
Diff against target: |
14115 lines 79 files modified
data/inc/editpage.php (+10/-1) data/inc/functions.admin.php (+10/-4) data/inc/functions.site.php (+33/-34) data/inc/lang/en.php (+6/-0) data/inc/lang/pl.php (+6/-0) data/inc/lang/pt.php (+1/-1) data/inc/lang/pt_br.php (+2/-2) data/inc/lib/lytebox/lytebox.css (+92/-92) data/inc/lib/tiny_mce/license.txt (+504/-504) data/inc/lib/tiny_mce/plugins/advhr/css/advhr.css (+5/-5) data/inc/lib/tiny_mce/plugins/advhr/rule.htm (+62/-62) data/inc/lib/tiny_mce/plugins/advimage/css/advimage.css (+13/-13) data/inc/lib/tiny_mce/plugins/advimage/image.htm (+237/-237) data/inc/lib/tiny_mce/plugins/advlink/css/advlink.css (+8/-8) data/inc/lib/tiny_mce/plugins/advlink/link.htm (+338/-338) data/inc/lib/tiny_mce/plugins/emotions/emotions.htm (+40/-40) data/inc/lib/tiny_mce/plugins/example/dialog.htm (+27/-27) data/inc/lib/tiny_mce/plugins/fullpage/css/fullpage.css (+181/-181) data/inc/lib/tiny_mce/plugins/fullpage/fullpage.htm (+576/-576) data/inc/lib/tiny_mce/plugins/fullscreen/fullscreen.htm (+110/-110) data/inc/lib/tiny_mce/plugins/inlinepopups/template.htm (+387/-387) data/inc/lib/tiny_mce/plugins/media/css/content.css (+6/-6) data/inc/lib/tiny_mce/plugins/media/css/media.css (+16/-16) data/inc/lib/tiny_mce/plugins/media/media.htm (+822/-822) data/inc/lib/tiny_mce/plugins/paste/pastetext.htm (+32/-32) data/inc/lib/tiny_mce/plugins/paste/pasteword.htm (+27/-27) data/inc/lib/tiny_mce/plugins/preview/example.html (+28/-28) data/inc/lib/tiny_mce/plugins/preview/preview.html (+17/-17) data/inc/lib/tiny_mce/plugins/searchreplace/css/searchreplace.css (+6/-6) data/inc/lib/tiny_mce/plugins/searchreplace/searchreplace.htm (+104/-104) data/inc/lib/tiny_mce/plugins/spellchecker/css/content.css (+1/-1) data/inc/lib/tiny_mce/plugins/style/css/props.css (+13/-13) data/inc/lib/tiny_mce/plugins/table/cell.htm (+183/-183) data/inc/lib/tiny_mce/plugins/table/css/cell.css (+16/-16) data/inc/lib/tiny_mce/plugins/table/css/row.css (+25/-25) data/inc/lib/tiny_mce/plugins/table/css/table.css (+13/-13) data/inc/lib/tiny_mce/plugins/table/merge_cells.htm (+37/-37) data/inc/lib/tiny_mce/plugins/table/row.htm (+160/-160) data/inc/lib/tiny_mce/plugins/table/table.htm (+192/-192) data/inc/lib/tiny_mce/plugins/template/blank.htm (+12/-12) data/inc/lib/tiny_mce/plugins/template/css/template.css (+23/-23) data/inc/lib/tiny_mce/plugins/template/template.htm (+38/-38) data/inc/lib/tiny_mce/plugins/xhtmlxtras/abbr.htm (+148/-148) data/inc/lib/tiny_mce/plugins/xhtmlxtras/acronym.htm (+148/-148) data/inc/lib/tiny_mce/plugins/xhtmlxtras/attributes.htm (+153/-153) data/inc/lib/tiny_mce/plugins/xhtmlxtras/cite.htm (+148/-148) data/inc/lib/tiny_mce/plugins/xhtmlxtras/css/attributes.css (+11/-11) data/inc/lib/tiny_mce/plugins/xhtmlxtras/css/popup.css (+9/-9) data/inc/lib/tiny_mce/plugins/xhtmlxtras/del.htm (+169/-169) data/inc/lib/tiny_mce/plugins/xhtmlxtras/ins.htm (+169/-169) data/inc/lib/tiny_mce/themes/advanced/about.htm (+56/-56) data/inc/lib/tiny_mce/themes/advanced/anchor.htm (+31/-31) data/inc/lib/tiny_mce/themes/advanced/charmap.htm (+53/-53) data/inc/lib/tiny_mce/themes/advanced/color_picker.htm (+75/-75) data/inc/lib/tiny_mce/themes/advanced/image.htm (+85/-85) data/inc/lib/tiny_mce/themes/advanced/link.htm (+63/-63) data/inc/lib/tiny_mce/themes/advanced/skins/default/content.css (+32/-32) data/inc/lib/tiny_mce/themes/advanced/skins/default/dialog.css (+115/-115) data/inc/lib/tiny_mce/themes/advanced/skins/default/ui.css (+214/-214) data/inc/lib/tiny_mce/themes/advanced/skins/o2k7/content.css (+32/-32) data/inc/lib/tiny_mce/themes/advanced/skins/o2k7/dialog.css (+115/-115) data/inc/lib/tiny_mce/themes/advanced/skins/o2k7/ui.css (+215/-215) data/inc/lib/tiny_mce/themes/advanced/skins/o2k7/ui_black.css (+7/-7) data/inc/lib/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css (+5/-5) data/inc/lib/tiny_mce/themes/advanced/source_editor.htm (+31/-31) data/inc/lib/tiny_mce/themes/simple/skins/default/content.css (+25/-25) data/inc/lib/tiny_mce/themes/simple/skins/default/ui.css (+32/-32) data/inc/lib/tiny_mce/themes/simple/skins/o2k7/content.css (+17/-17) data/inc/lib/tiny_mce/themes/simple/skins/o2k7/ui.css (+35/-35) data/inc/newpage.php (+8/-1) data/inc/page_editmeta.php (+4/-2) data/inc/settings.php (+14/-1) data/inc/variables.all.php (+6/-1) data/modules/albums/albums.site.php (+58/-25) data/modules/viewsite/viewsite.php (+8/-3) data/settings/langpref.php (+3/-1) htaccess.txt (+15/-0) index.php (+53/-0) install.php (+14/-6) |
To merge this branch: | bzr merge lp:~sebool/pluck-cms/sebool-base |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Anders G. Jørgensen | Disapprove | ||
Review via email: mp+13924@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Revision history for this message
Anders G. Jørgensen (spirit55555) wrote : | # |
Look at the mailing list.
review:
Disapprove
Unmerged revisions
- 299. By Sebastian Sala (SebOOl)
-
Added extended title to install.php
- 298. By Sebastian Sala (SebOOl)
-
main branch sync
- 297. By Sebastian Sala (SebOOl)
-
'cleanup'
- 296. By Sebastian Sala (SebOOl)
-
viewpage on rewrite FIX + htacces cleanup
- 295. By Sebastian Sala (SebOOl) <email address hidden>
-
htaccess added to branch
- 294. By Sebastian Sala (SebOOl) <email address hidden>
-
SEO fix after main branch sync + support for white spaces (not tested on linux yet) + inside content img path rewrite to BASE_URL/
images/ file - 293. By Sebastian Sala (SebOOl) <email address hidden>
-
Main branch sync and extended title crash
- 292. By IThelper.pl <IThelper.pl@IThelperpl-PC>
-
SEO DIR FIX - Windows and Linux Dirs
- 291. By root <email address hidden>
-
SEO Extended Page Title added - draft (but should work), FIX metadata save on page edit
- 290. By root <email address hidden>
-
SEO Gallery mod + Active ID Fix + Added new BASE_URL constant
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'data/inc/editpage.php' |
2 | --- data/inc/editpage.php 2009-10-12 16:18:54 +0000 |
3 | +++ data/inc/editpage.php 2009-10-25 20:25:23 +0000 |
4 | @@ -30,7 +30,7 @@ |
5 | $keywords = ''; |
6 | |
7 | //Save the page. |
8 | - $seoname = save_page($cont1, $cont2, $cont4, $cont5, $description, $keywords, $cont3, $var1); |
9 | + $seoname = save_page($cont1, $cont2, $cont4, $cont5, $description, $keywords, $cont3, $var1, $cont6); |
10 | |
11 | //Redirect to the new title only if it is a plain save. |
12 | if (isset($_POST['save'])) { |
13 | @@ -57,6 +57,8 @@ |
14 | } |
15 | unset($module); |
16 | |
17 | +if (!isset($title_extended)) |
18 | + $title_extended = ''; |
19 | //Generate the menu on the right. |
20 | ?> |
21 | <div class="rightmenu"> |
22 | @@ -72,6 +74,13 @@ |
23 | <br /> |
24 | <input name="cont1" id="cont1" type="text" value="<?php echo $title; ?>" /> |
25 | </p> |
26 | + <p> |
27 | + <label class="kop2" for="cont6"><?php echo $lang['page']['title_extended'] ?></label> |
28 | + <br /> |
29 | + <input name="cont6" id="cont6" type="text" value="<?php echo $title_extended; ?>" /> |
30 | + <br /> |
31 | + <span class="kop4"><?php echo $lang['page']['title_extended_desc'] ?></span> |
32 | + </p> |
33 | <span class="kop2"><?php echo $lang['general']['contents']; ?></span> |
34 | <br /> |
35 | <textarea class="tinymce" name="cont2" cols="70" rows="20"><?php echo htmlspecialchars($content) ?></textarea> |
36 | |
37 | === modified file 'data/inc/functions.admin.php' |
38 | --- data/inc/functions.admin.php 2009-10-25 16:36:27 +0000 |
39 | +++ data/inc/functions.admin.php 2009-10-25 20:25:23 +0000 |
40 | @@ -333,12 +333,13 @@ |
41 | |
42 | //Function: save the options. |
43 | //------------------- |
44 | -function save_options($title, $email, $xhtml) { |
45 | +function save_options($title, $email, $rewriteenable, $xhtml) { |
46 | $title = sanitize($title); |
47 | $email = sanitize($email); |
48 | $data = '<?php'."\n" |
49 | .'$sitetitle = \''.$title.'\';'."\n" |
50 | .'$email = \''.$email.'\';'."\n" |
51 | + .'$rewriteenable = \''.$rewriteenable.'\';'."\n" |
52 | .'$xhtmlruleset = \''.$xhtml.'\';'."\n" |
53 | .'?>'; |
54 | save_file('data/settings/options.php', $data); |
55 | @@ -368,7 +369,8 @@ |
56 | * @param array $modules If there are any modules on the page. |
57 | * @param string $current_seoname If we want to edit a page. |
58 | */ |
59 | -function save_page($title, $content, $hidden, $subpage, $description = null, $keywords = null, $modules = null, $current_seoname = null) { |
60 | + |
61 | +function save_page($title, $content, $hidden, $subpage, $description = null, $keywords = null, $modules = null, $current_seoname = null, $title_extended = null) { |
62 | //Run a few hooks. |
63 | run_hook('admin_save_page', array(&$title, &$content)); |
64 | run_hook('admin_save_page_meta', array(&$description, &$keywords)); |
65 | @@ -461,8 +463,12 @@ |
66 | |
67 | //Save the title, content and hidden status. |
68 | $data = '<?php'."\n" |
69 | - .'$title = \''.$title.'\';'."\n" |
70 | - .'$content = \''.$content.'\';'."\n" |
71 | + .'$title = \''.$title.'\';'."\n"; |
72 | + if ($title_extended != null) |
73 | + $data .= '$title_extended = \''.$title_extended.'\';'."\n"; |
74 | + |
75 | + $data .= |
76 | + '$content = \''.$content.'\';'."\n" |
77 | .'$hidden = \''.$hidden.'\';'; |
78 | |
79 | //Save the description and keywords, if any. |
80 | |
81 | === modified file 'data/inc/functions.site.php' |
82 | --- data/inc/functions.site.php 2009-10-25 16:36:27 +0000 |
83 | +++ data/inc/functions.site.php 2009-10-25 20:25:23 +0000 |
84 | @@ -30,35 +30,11 @@ |
85 | |
86 | //Check if we want to get the title for a page, and check whether the page exists. |
87 | if (defined('CURRENT_PAGE_FILENAME')) { |
88 | - if (strpos(CURRENT_PAGE_FILENAME, '/') !== false) { |
89 | - $parts = explode('/', CURRENT_PAGE_FILENAME); |
90 | - $count = count($parts); |
91 | - unset($parts[$count -1]); |
92 | - |
93 | - $pages = $parts; |
94 | - include ('data/settings/pages/'.CURRENT_PAGE_FILENAME); |
95 | - $titles[] = $title; |
96 | - |
97 | - foreach ($parts as $part) { |
98 | - $page = implode('/', $pages); |
99 | - include ('data/settings/pages/'.get_page_filename($page)); |
100 | - $titles[] = $title; |
101 | - $pages = explode('/', $page); |
102 | - $count = count($pages); |
103 | - unset($pages[$count -1]); |
104 | - } |
105 | - |
106 | - $final_title = ''; |
107 | - foreach ($titles as $title) |
108 | - $final_title .= ' · '.$title; |
109 | - |
110 | - $page_title = ltrim($final_title, '· '); |
111 | - } |
112 | - |
113 | - else { |
114 | - include ('data/settings/pages/'.CURRENT_PAGE_FILENAME); |
115 | - $page_title = $title; |
116 | - } |
117 | + include ('data/settings/pages/'.CURRENT_PAGE_FILENAME); |
118 | + if (isset($title_extended)) |
119 | + $page_title = $title_extended; |
120 | + else |
121 | + $page_title = $title; |
122 | |
123 | //Get the title if we are looking at a module page |
124 | if (defined('CURRENT_MODULE_DIR') && module_is_compatible($module) && function_exists($module.'_page_site_list')) { |
125 | @@ -97,10 +73,10 @@ |
126 | |
127 | echo '<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />'."\n"; |
128 | echo '<meta name="generator" content="pluck '.PLUCK_VERSION.'" />'."\n"; |
129 | - echo '<title>'.PAGE_TITLE.' - '.SITE_TITLE.'</title>'."\n"; |
130 | + echo '<title>'.PAGE_TITLE.'</title>'."\n"; |
131 | if ($reset_css) |
132 | echo '<link href="data/reset.css" rel="stylesheet" type="text/css" media="screen" />'."\n"; |
133 | - echo '<link href="'.$cssfile.'" rel="stylesheet" type="text/css" media="screen" />'."\n"; |
134 | + echo '<link href="'.BASE_URL.$cssfile.'" rel="stylesheet" type="text/css" media="screen" />'."\n"; |
135 | echo '<meta name="language" content="'.LANG.'" />'."\n"; |
136 | |
137 | //If we are not looking at a module: include metatag information |
138 | @@ -137,6 +113,7 @@ |
139 | } |
140 | |
141 | function theme_menu_data($block, $inline, $active_id, $level, $dir) { |
142 | + global $rewriteenable; |
143 | //if there is no sub-pages, just return. |
144 | if (!is_dir($dir)) |
145 | return; |
146 | @@ -161,8 +138,11 @@ |
147 | |
148 | else |
149 | echo '<'.$inline.'>'; |
150 | - |
151 | - echo '<a href="?file='.$file.'" title="'.$title.'">'.$title.'</a>'; |
152 | + |
153 | + if ($rewriteenable == 'true') |
154 | + echo '<a href="'.BASE_URL.$file.'.html" title="'.$title.'">'.$title.'</a>'; // seo link (mod_rewrite) |
155 | + else |
156 | + echo '<a href="'.BASE_URL.'?file='.$file.'" title="'.$title.'">'.$title.'</a>'; |
157 | |
158 | preg_match_all('|\/|', $file, $page_level); |
159 | $page_level = count($page_level[0]); |
160 | @@ -189,7 +169,7 @@ |
161 | //--------------------------------- |
162 | function theme_content() { |
163 | //Get needed variables |
164 | - global $lang; |
165 | + global $lang, $rewriteenable; |
166 | |
167 | //Get the contents only if we are looking at a normal page |
168 | if (defined('CURRENT_PAGE_SEONAME') && !defined('CURRENT_MODULE_DIR')) { |
169 | @@ -198,7 +178,26 @@ |
170 | include ('data/settings/pages/'.CURRENT_PAGE_FILENAME); |
171 | run_hook('theme_content_before'); |
172 | run_hook('theme_content', array(&$content)); |
173 | + //Check if seo links (mod_rewrite are enabled) |
174 | + if ($rewriteenable == 'true'){ |
175 | + //rewrite local inside links from ?file=file-name to filename.html |
176 | + preg_match_all('/href="index.php\?file=[a-zA-Z0-9\-\_]*/', $content, $matches); |
177 | + for ($i=0; $i<sizeof($matches); $i++){ |
178 | + $matches[$i] = preg_replace('/href="index.php\?file=/', '', $matches[$i]); |
179 | + } |
180 | + for($i=0; $i < count($matches[0]); $i++){ |
181 | + $content = preg_replace('/href="index.php\?file='.$matches[0][$i].'/', 'href="'.BASE_URL.$matches[0][$i].'.html', $content); |
182 | + } |
183 | + //rewrite local images src in content to absolute paths with BASE_URL |
184 | + preg_match_all('/img src="images\//', $content, $matches); |
185 | + for($i=0; $i < count($matches[0]); $i++){ |
186 | + $parts = explode('"', $matches[0][$i]); |
187 | + $content = preg_replace('/img src="images\//', 'img src="'.BASE_URL.$parts[1], $content); |
188 | + } |
189 | + } |
190 | + |
191 | echo $content; |
192 | + |
193 | run_hook('theme_content_after'); |
194 | } |
195 | |
196 | |
197 | === modified file 'data/inc/lang/en.php' |
198 | --- data/inc/lang/en.php 2009-10-25 20:13:22 +0000 |
199 | +++ data/inc/lang/en.php 2009-10-25 20:25:23 +0000 |
200 | @@ -143,6 +143,9 @@ |
201 | $lang['page']['in_menu'] = 'show page in menu'; |
202 | $lang['page']['sub_page'] = 'sub-page of'; |
203 | $lang['page']['name_exists'] = 'A page with the same or similar title already exists.<br />Please change the title of this page or the other.'; |
204 | +$lang['page']['title_desc'] = 'Menu link title'; |
205 | +$lang['page']['title_extended'] = 'Full title'; |
206 | +$lang['page']['title_extended_desc'] = '(optional - if it is blank then title of the page is equal to menu link title)'; |
207 | |
208 | //Editmeta |
209 | $lang['editmeta']['title'] = 'edit page information'; |
210 | @@ -184,6 +187,9 @@ |
211 | $lang['settings']['changing_settings'] = 'Changing the general settings...'; |
212 | $lang['settings']['fill_name'] = 'You have to fill in a name for your website, it can\'t be empty.'; |
213 | $lang['settings']['email_invalid'] = 'The emailaddress you entered is invalid!'; |
214 | +$lang['settings']['rewrite_header'] = 'Enable rewrite engine SEO links'; |
215 | +$lang['settings']['rewrite_desc'] = 'Genearate links in file.html format (requires apache and mod_rewrite). You have to rename htaccess.txt file to .htaccess'; |
216 | +$lang['settings']['rewrite_enable'] = 'Enable SEO links '; |
217 | |
218 | //Modules_manage |
219 | $lang['modules_manage']['title'] = 'manage modules'; |
220 | |
221 | === modified file 'data/inc/lang/pl.php' |
222 | --- data/inc/lang/pl.php 2009-09-16 18:11:39 +0000 |
223 | +++ data/inc/lang/pl.php 2009-10-25 20:25:23 +0000 |
224 | @@ -143,6 +143,9 @@ |
225 | $lang['page']['in_menu'] = 'pokaż stronę w menu'; |
226 | $lang['page']['sub_page'] = 'podstrona strony'; |
227 | $lang['page']['name_exists'] = 'Strona o tej samej lub podobnej nazwie już istnieje.<br />Zmień tytuł tej lub tamtej strony.'; |
228 | +$lang['page']['title_desc'] = 'Tytuł linka w menu'; |
229 | +$lang['page']['title_extended'] = 'Pełny tytuł'; |
230 | +$lang['page']['title_extended_desc'] = '(opcjonlanie jeżeli nie podany to tytuł strony jest taki sam jak nazwa linka)'; |
231 | |
232 | //Editmeta |
233 | $lang['editmeta']['title'] = 'edytuj informacje o stronie'; |
234 | @@ -184,6 +187,9 @@ |
235 | $lang['settings']['changing_settings'] = 'Zmieniam ustawienia globalne...'; |
236 | $lang['settings']['fill_name'] = 'Musisz wprowadzić nazwę strony, to pole nie może być puste.'; |
237 | $lang['settings']['email_invalid'] = 'Adres e-mail który podałeś nie jest prawidłowy!'; |
238 | +$lang['settings']['rewrite_header'] = 'Linki przyjazne przeglądarką SEO'; |
239 | +$lang['settings']['rewrite_desc'] = 'Generuje linki w formacie plik.html (wymaga apache oraz mod_Rewrite). Musisz zmienić nazwę pliku htacess.txt na .htaccess'; |
240 | +$lang['settings']['rewrite_enable'] = 'Włącz przyjazne linki'; |
241 | |
242 | //Modules_manage |
243 | $lang['modules_manage']['title'] = 'ustawiania modułów'; |
244 | |
245 | === modified file 'data/inc/lang/pt.php' |
246 | --- data/inc/lang/pt.php 2009-04-24 16:41:30 +0000 |
247 | +++ data/inc/lang/pt.php 2009-10-25 20:25:23 +0000 |
248 | @@ -49,7 +49,7 @@ |
249 | $lang_install13 = "Gravar"; |
250 | $lang_install14 = "Cancelar"; |
251 | $lang_install15 = "Tem de dar um título!"; |
252 | -$lang_install16 = "Aqui pode editar a homepage do seu site. Escolha um título e edite o conteúdo. |
253 | +$lang_install16 = "Aqui pode editar a homepage do seu site. Escolha um título e edite o conteúdo. |
254 | "; |
255 | $lang_install17 = "título"; |
256 | $lang_install18 = "conteúdo"; |
257 | |
258 | === modified file 'data/inc/lang/pt_br.php' |
259 | --- data/inc/lang/pt_br.php 2009-04-24 16:41:30 +0000 |
260 | +++ data/inc/lang/pt_br.php 2009-10-25 20:25:23 +0000 |
261 | @@ -180,7 +180,7 @@ |
262 | $lang_blog5 = "escolha um nome para sua nova categoria, depois clique em \"salvar\""; |
263 | $lang_blog6 = "deletar categoria"; |
264 | $lang_blog7 = "editar categoria"; |
265 | -$lang_blog8 = "Aqui você pode escrever novos artigos para adicionar a essa categoria. |
266 | +$lang_blog8 = "Aqui você pode escrever novos artigos para adicionar a essa categoria. |
267 | Artigos serão automaticamente organizados pela data."; |
268 | $lang_blog9 = "Artigos Existentes"; |
269 | $lang_blog10 = "escrever novo artigo"; |
270 | @@ -201,7 +201,7 @@ |
271 | $lang_trash2 = "Movendo item para a lixeira..."; |
272 | $lang_trash3 = "Itens enviados para a lixeira"; |
273 | $lang_trash4 = "A lixeira já contém um arquivo com esse nome."; |
274 | -$lang_trash5 = "Os itens deletados são listados aqui. |
275 | +$lang_trash5 = "Os itens deletados são listados aqui. |
276 | Você pode restaurá-los ou deletá-los permanentemente."; |
277 | $lang_trash6 = "esvaziar a lixeira"; |
278 | $lang_trash7 = "visualizar item"; |
279 | |
280 | === modified file 'data/inc/lib/lytebox/lytebox.css' |
281 | --- data/inc/lib/lytebox/lytebox.css 2009-08-22 12:41:23 +0000 |
282 | +++ data/inc/lib/lytebox/lytebox.css 2009-10-25 20:25:23 +0000 |
283 | @@ -1,93 +1,93 @@ |
284 | -#lbOverlay { position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; } |
285 | - #lbOverlay.grey { background-color: #000000; } |
286 | - #lbOverlay.red { background-color: #330000; } |
287 | - #lbOverlay.green { background-color: #003300; } |
288 | - #lbOverlay.blue { background-color: #011D50; } |
289 | - #lbOverlay.gold { background-color: #666600; } |
290 | - |
291 | -#lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; } |
292 | -#lbMain a img { border: none; } |
293 | - |
294 | -#lbOuterContainer { position: relative; background-color: #fff; width: 200px; height: 200px; margin: 0 auto; } |
295 | - #lbOuterContainer.grey { border: 3px solid #888888; } |
296 | - #lbOuterContainer.red { border: 3px solid #DD0000; } |
297 | - #lbOuterContainer.green { border: 3px solid #00B000; } |
298 | - #lbOuterContainer.blue { border: 3px solid #5F89D8; } |
299 | - #lbOuterContainer.gold { border: 3px solid #B0B000; } |
300 | - |
301 | -#lbDetailsContainer { font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; width: 100%; line-height: 1.4em; overflow: auto; margin: 0 auto; } |
302 | - #lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; } |
303 | - #lbDetailsContainer.red { border: 3px solid #DD0000; border-top: none; } |
304 | - #lbDetailsContainer.green { border: 3px solid #00B000; border-top: none; } |
305 | - #lbDetailsContainer.blue { border: 3px solid #5F89D8; border-top: none; } |
306 | - #lbDetailsContainer.gold { border: 3px solid #B0B000; border-top: none; } |
307 | - |
308 | -#lbImageContainer, #lbIframeContainer { padding: 10px; } |
309 | -#lbLoading { |
310 | - position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url(images/loading.gif) center no-repeat; |
311 | -} |
312 | - |
313 | -#lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; } |
314 | -#lbImageContainer>#lbHoverNav { left: 0; } |
315 | -#lbHoverNav a { outline: none; } |
316 | - |
317 | -#lbPrev { width: 49%; height: 100%; background: transparent url(images/blank.gif) no-repeat; display: block; left: 0; float: left; } |
318 | - #lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url(images/prev_grey.gif) left 15% no-repeat; } |
319 | - #lbPrev.red:hover, #lbPrev.red:visited:hover { background: url(images/prev_red.gif) left 15% no-repeat; } |
320 | - #lbPrev.green:hover, #lbPrev.green:visited:hover { background: url(images/prev_green.gif) left 15% no-repeat; } |
321 | - #lbPrev.blue:hover, #lbPrev.blue:visited:hover { background: url(images/prev_blue.gif) left 15% no-repeat; } |
322 | - #lbPrev.gold:hover, #lbPrev.gold:visited:hover { background: url(images/prev_gold.gif) left 15% no-repeat; } |
323 | - |
324 | -#lbNext { width: 49%; height: 100%; background: transparent url(images/blank.gif) no-repeat; display: block; right: 0; float: right; } |
325 | - #lbNext.grey:hover, #lbNext.grey:visited:hover { background: url(images/next_grey.gif) right 15% no-repeat; } |
326 | - #lbNext.red:hover, #lbNext.red:visited:hover { background: url(images/next_red.gif) right 15% no-repeat; } |
327 | - #lbNext.green:hover, #lbNext.green:visited:hover { background: url(images/next_green.gif) right 15% no-repeat; } |
328 | - #lbNext.blue:hover, #lbNext.blue:visited:hover { background: url(images/next_blue.gif) right 15% no-repeat; } |
329 | - #lbNext.gold:hover, #lbNext.gold:visited:hover { background: url(images/next_gold.gif) right 15% no-repeat; } |
330 | - |
331 | -#lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; } |
332 | - #lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; } |
333 | - #lbPrev2.red, #lbNext2.red, #lbSpacer.red { color: #620000; } |
334 | - #lbPrev2.green, #lbNext2.green, #lbSpacer.green { color: #003300; } |
335 | - #lbPrev2.blue, #lbNext2.blue, #lbSpacer.blue { color: #01379E; } |
336 | - #lbPrev2.gold, #lbNext2.gold, #lbSpacer.gold { color: #666600; } |
337 | - |
338 | -#lbPrev2_Off, #lbNext2_Off { font-weight: bold; } |
339 | - #lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; } |
340 | - #lbPrev2_Off.red, #lbNext2_Off.red { color: #FFCCCC; } |
341 | - #lbPrev2_Off.green, #lbNext2_Off.green { color: #82FF82; } |
342 | - #lbPrev2_Off.blue, #lbNext2_Off.blue { color: #B7CAEE; } |
343 | - #lbPrev2_Off.gold, #lbNext2_Off.gold { color: #E1E100; } |
344 | - |
345 | -#lbDetailsData { padding: 0 10px; } |
346 | - #lbDetailsData.grey { color: #333333; } |
347 | - #lbDetailsData.red { color: #620000; } |
348 | - #lbDetailsData.green { color: #003300; } |
349 | - #lbDetailsData.blue { color: #01379E; } |
350 | - #lbDetailsData.gold { color: #666600; } |
351 | - |
352 | -#lbDetails { width: 60%; float: left; text-align: left; } |
353 | -#lbCaption { display: block; font-weight: bold; } |
354 | -#lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; } |
355 | -#lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; } |
356 | - |
357 | -#lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; } |
358 | - #lbClose.grey { background: url(images/close_grey.png) no-repeat; } |
359 | - #lbClose.red { background: url(images/close_red.png) no-repeat; } |
360 | - #lbClose.green { background: url(images/close_green.png) no-repeat; } |
361 | - #lbClose.blue { background: url(images/close_blue.png) no-repeat; } |
362 | - #lbClose.gold { background: url(images/close_gold.png) no-repeat; } |
363 | - |
364 | -#lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; } |
365 | - #lbPlay.grey { background: url(images/play_grey.png) no-repeat; } |
366 | - #lbPlay.red { background: url(images/play_red.png) no-repeat; } |
367 | - #lbPlay.green { background: url(images/play_green.png) no-repeat; } |
368 | - #lbPlay.blue { background: url(images/play_blue.png) no-repeat; } |
369 | - #lbPlay.gold { background: url(images/play_gold.png) no-repeat; } |
370 | - |
371 | -#lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; } |
372 | - #lbPause.grey { background: url(images/pause_grey.png) no-repeat; } |
373 | - #lbPause.red { background: url(images/pause_red.png) no-repeat; } |
374 | - #lbPause.green { background: url(images/pause_green.png) no-repeat; } |
375 | - #lbPause.blue { background: url(images/pause_blue.png) no-repeat; } |
376 | +#lbOverlay { position: fixed; top: 0; left: 0; z-index: 99998; width: 100%; height: 500px; } |
377 | + #lbOverlay.grey { background-color: #000000; } |
378 | + #lbOverlay.red { background-color: #330000; } |
379 | + #lbOverlay.green { background-color: #003300; } |
380 | + #lbOverlay.blue { background-color: #011D50; } |
381 | + #lbOverlay.gold { background-color: #666600; } |
382 | + |
383 | +#lbMain { position: absolute; left: 0; width: 100%; z-index: 99999; text-align: center; line-height: 0; } |
384 | +#lbMain a img { border: none; } |
385 | + |
386 | +#lbOuterContainer { position: relative; background-color: #fff; width: 200px; height: 200px; margin: 0 auto; } |
387 | + #lbOuterContainer.grey { border: 3px solid #888888; } |
388 | + #lbOuterContainer.red { border: 3px solid #DD0000; } |
389 | + #lbOuterContainer.green { border: 3px solid #00B000; } |
390 | + #lbOuterContainer.blue { border: 3px solid #5F89D8; } |
391 | + #lbOuterContainer.gold { border: 3px solid #B0B000; } |
392 | + |
393 | +#lbDetailsContainer { font: 10px Verdana, Helvetica, sans-serif; background-color: #fff; width: 100%; line-height: 1.4em; overflow: auto; margin: 0 auto; } |
394 | + #lbDetailsContainer.grey { border: 3px solid #888888; border-top: none; } |
395 | + #lbDetailsContainer.red { border: 3px solid #DD0000; border-top: none; } |
396 | + #lbDetailsContainer.green { border: 3px solid #00B000; border-top: none; } |
397 | + #lbDetailsContainer.blue { border: 3px solid #5F89D8; border-top: none; } |
398 | + #lbDetailsContainer.gold { border: 3px solid #B0B000; border-top: none; } |
399 | + |
400 | +#lbImageContainer, #lbIframeContainer { padding: 10px; } |
401 | +#lbLoading { |
402 | + position: absolute; top: 45%; left: 0%; height: 32px; width: 100%; text-align: center; line-height: 0; background: url(images/loading.gif) center no-repeat; |
403 | +} |
404 | + |
405 | +#lbHoverNav { position: absolute; top: 0; left: 0; height: 100%; width: 100%; z-index: 10; } |
406 | +#lbImageContainer>#lbHoverNav { left: 0; } |
407 | +#lbHoverNav a { outline: none; } |
408 | + |
409 | +#lbPrev { width: 49%; height: 100%; background: transparent url(images/blank.gif) no-repeat; display: block; left: 0; float: left; } |
410 | + #lbPrev.grey:hover, #lbPrev.grey:visited:hover { background: url(images/prev_grey.gif) left 15% no-repeat; } |
411 | + #lbPrev.red:hover, #lbPrev.red:visited:hover { background: url(images/prev_red.gif) left 15% no-repeat; } |
412 | + #lbPrev.green:hover, #lbPrev.green:visited:hover { background: url(images/prev_green.gif) left 15% no-repeat; } |
413 | + #lbPrev.blue:hover, #lbPrev.blue:visited:hover { background: url(images/prev_blue.gif) left 15% no-repeat; } |
414 | + #lbPrev.gold:hover, #lbPrev.gold:visited:hover { background: url(images/prev_gold.gif) left 15% no-repeat; } |
415 | + |
416 | +#lbNext { width: 49%; height: 100%; background: transparent url(images/blank.gif) no-repeat; display: block; right: 0; float: right; } |
417 | + #lbNext.grey:hover, #lbNext.grey:visited:hover { background: url(images/next_grey.gif) right 15% no-repeat; } |
418 | + #lbNext.red:hover, #lbNext.red:visited:hover { background: url(images/next_red.gif) right 15% no-repeat; } |
419 | + #lbNext.green:hover, #lbNext.green:visited:hover { background: url(images/next_green.gif) right 15% no-repeat; } |
420 | + #lbNext.blue:hover, #lbNext.blue:visited:hover { background: url(images/next_blue.gif) right 15% no-repeat; } |
421 | + #lbNext.gold:hover, #lbNext.gold:visited:hover { background: url(images/next_gold.gif) right 15% no-repeat; } |
422 | + |
423 | +#lbPrev2, #lbNext2 { text-decoration: none; font-weight: bold; } |
424 | + #lbPrev2.grey, #lbNext2.grey, #lbSpacer.grey { color: #333333; } |
425 | + #lbPrev2.red, #lbNext2.red, #lbSpacer.red { color: #620000; } |
426 | + #lbPrev2.green, #lbNext2.green, #lbSpacer.green { color: #003300; } |
427 | + #lbPrev2.blue, #lbNext2.blue, #lbSpacer.blue { color: #01379E; } |
428 | + #lbPrev2.gold, #lbNext2.gold, #lbSpacer.gold { color: #666600; } |
429 | + |
430 | +#lbPrev2_Off, #lbNext2_Off { font-weight: bold; } |
431 | + #lbPrev2_Off.grey, #lbNext2_Off.grey { color: #CCCCCC; } |
432 | + #lbPrev2_Off.red, #lbNext2_Off.red { color: #FFCCCC; } |
433 | + #lbPrev2_Off.green, #lbNext2_Off.green { color: #82FF82; } |
434 | + #lbPrev2_Off.blue, #lbNext2_Off.blue { color: #B7CAEE; } |
435 | + #lbPrev2_Off.gold, #lbNext2_Off.gold { color: #E1E100; } |
436 | + |
437 | +#lbDetailsData { padding: 0 10px; } |
438 | + #lbDetailsData.grey { color: #333333; } |
439 | + #lbDetailsData.red { color: #620000; } |
440 | + #lbDetailsData.green { color: #003300; } |
441 | + #lbDetailsData.blue { color: #01379E; } |
442 | + #lbDetailsData.gold { color: #666600; } |
443 | + |
444 | +#lbDetails { width: 60%; float: left; text-align: left; } |
445 | +#lbCaption { display: block; font-weight: bold; } |
446 | +#lbNumberDisplay { float: left; display: block; padding-bottom: 1.0em; } |
447 | +#lbNavDisplay { float: left; display: block; padding-bottom: 1.0em; } |
448 | + |
449 | +#lbClose { width: 64px; height: 28px; float: right; margin-bottom: 1px; } |
450 | + #lbClose.grey { background: url(images/close_grey.png) no-repeat; } |
451 | + #lbClose.red { background: url(images/close_red.png) no-repeat; } |
452 | + #lbClose.green { background: url(images/close_green.png) no-repeat; } |
453 | + #lbClose.blue { background: url(images/close_blue.png) no-repeat; } |
454 | + #lbClose.gold { background: url(images/close_gold.png) no-repeat; } |
455 | + |
456 | +#lbPlay { width: 64px; height: 28px; float: right; margin-bottom: 1px; } |
457 | + #lbPlay.grey { background: url(images/play_grey.png) no-repeat; } |
458 | + #lbPlay.red { background: url(images/play_red.png) no-repeat; } |
459 | + #lbPlay.green { background: url(images/play_green.png) no-repeat; } |
460 | + #lbPlay.blue { background: url(images/play_blue.png) no-repeat; } |
461 | + #lbPlay.gold { background: url(images/play_gold.png) no-repeat; } |
462 | + |
463 | +#lbPause { width: 64px; height: 28px; float: right; margin-bottom: 1px; } |
464 | + #lbPause.grey { background: url(images/pause_grey.png) no-repeat; } |
465 | + #lbPause.red { background: url(images/pause_red.png) no-repeat; } |
466 | + #lbPause.green { background: url(images/pause_green.png) no-repeat; } |
467 | + #lbPause.blue { background: url(images/pause_blue.png) no-repeat; } |
468 | #lbPause.gold { background: url(images/pause_gold.png) no-repeat; } |
469 | \ No newline at end of file |
470 | |
471 | === modified file 'data/inc/lib/tiny_mce/license.txt' |
472 | --- data/inc/lib/tiny_mce/license.txt 2009-08-22 12:41:23 +0000 |
473 | +++ data/inc/lib/tiny_mce/license.txt 2009-10-25 20:25:23 +0000 |
474 | @@ -1,504 +1,504 @@ |
475 | - GNU LESSER GENERAL PUBLIC LICENSE |
476 | - Version 2.1, February 1999 |
477 | - |
478 | - Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
479 | - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
480 | - Everyone is permitted to copy and distribute verbatim copies |
481 | - of this license document, but changing it is not allowed. |
482 | - |
483 | -[This is the first released version of the Lesser GPL. It also counts |
484 | - as the successor of the GNU Library Public License, version 2, hence |
485 | - the version number 2.1.] |
486 | - |
487 | - Preamble |
488 | - |
489 | - The licenses for most software are designed to take away your |
490 | -freedom to share and change it. By contrast, the GNU General Public |
491 | -Licenses are intended to guarantee your freedom to share and change |
492 | -free software--to make sure the software is free for all its users. |
493 | - |
494 | - This license, the Lesser General Public License, applies to some |
495 | -specially designated software packages--typically libraries--of the |
496 | -Free Software Foundation and other authors who decide to use it. You |
497 | -can use it too, but we suggest you first think carefully about whether |
498 | -this license or the ordinary General Public License is the better |
499 | -strategy to use in any particular case, based on the explanations below. |
500 | - |
501 | - When we speak of free software, we are referring to freedom of use, |
502 | -not price. Our General Public Licenses are designed to make sure that |
503 | -you have the freedom to distribute copies of free software (and charge |
504 | -for this service if you wish); that you receive source code or can get |
505 | -it if you want it; that you can change the software and use pieces of |
506 | -it in new free programs; and that you are informed that you can do |
507 | -these things. |
508 | - |
509 | - To protect your rights, we need to make restrictions that forbid |
510 | -distributors to deny you these rights or to ask you to surrender these |
511 | -rights. These restrictions translate to certain responsibilities for |
512 | -you if you distribute copies of the library or if you modify it. |
513 | - |
514 | - For example, if you distribute copies of the library, whether gratis |
515 | -or for a fee, you must give the recipients all the rights that we gave |
516 | -you. You must make sure that they, too, receive or can get the source |
517 | -code. If you link other code with the library, you must provide |
518 | -complete object files to the recipients, so that they can relink them |
519 | -with the library after making changes to the library and recompiling |
520 | -it. And you must show them these terms so they know their rights. |
521 | - |
522 | - We protect your rights with a two-step method: (1) we copyright the |
523 | -library, and (2) we offer you this license, which gives you legal |
524 | -permission to copy, distribute and/or modify the library. |
525 | - |
526 | - To protect each distributor, we want to make it very clear that |
527 | -there is no warranty for the free library. Also, if the library is |
528 | -modified by someone else and passed on, the recipients should know |
529 | -that what they have is not the original version, so that the original |
530 | -author's reputation will not be affected by problems that might be |
531 | -introduced by others. |
532 | - |
533 | - Finally, software patents pose a constant threat to the existence of |
534 | -any free program. We wish to make sure that a company cannot |
535 | -effectively restrict the users of a free program by obtaining a |
536 | -restrictive license from a patent holder. Therefore, we insist that |
537 | -any patent license obtained for a version of the library must be |
538 | -consistent with the full freedom of use specified in this license. |
539 | - |
540 | - Most GNU software, including some libraries, is covered by the |
541 | -ordinary GNU General Public License. This license, the GNU Lesser |
542 | -General Public License, applies to certain designated libraries, and |
543 | -is quite different from the ordinary General Public License. We use |
544 | -this license for certain libraries in order to permit linking those |
545 | -libraries into non-free programs. |
546 | - |
547 | - When a program is linked with a library, whether statically or using |
548 | -a shared library, the combination of the two is legally speaking a |
549 | -combined work, a derivative of the original library. The ordinary |
550 | -General Public License therefore permits such linking only if the |
551 | -entire combination fits its criteria of freedom. The Lesser General |
552 | -Public License permits more lax criteria for linking other code with |
553 | -the library. |
554 | - |
555 | - We call this license the "Lesser" General Public License because it |
556 | -does Less to protect the user's freedom than the ordinary General |
557 | -Public License. It also provides other free software developers Less |
558 | -of an advantage over competing non-free programs. These disadvantages |
559 | -are the reason we use the ordinary General Public License for many |
560 | -libraries. However, the Lesser license provides advantages in certain |
561 | -special circumstances. |
562 | - |
563 | - For example, on rare occasions, there may be a special need to |
564 | -encourage the widest possible use of a certain library, so that it becomes |
565 | -a de-facto standard. To achieve this, non-free programs must be |
566 | -allowed to use the library. A more frequent case is that a free |
567 | -library does the same job as widely used non-free libraries. In this |
568 | -case, there is little to gain by limiting the free library to free |
569 | -software only, so we use the Lesser General Public License. |
570 | - |
571 | - In other cases, permission to use a particular library in non-free |
572 | -programs enables a greater number of people to use a large body of |
573 | -free software. For example, permission to use the GNU C Library in |
574 | -non-free programs enables many more people to use the whole GNU |
575 | -operating system, as well as its variant, the GNU/Linux operating |
576 | -system. |
577 | - |
578 | - Although the Lesser General Public License is Less protective of the |
579 | -users' freedom, it does ensure that the user of a program that is |
580 | -linked with the Library has the freedom and the wherewithal to run |
581 | -that program using a modified version of the Library. |
582 | - |
583 | - The precise terms and conditions for copying, distribution and |
584 | -modification follow. Pay close attention to the difference between a |
585 | -"work based on the library" and a "work that uses the library". The |
586 | -former contains code derived from the library, whereas the latter must |
587 | -be combined with the library in order to run. |
588 | - |
589 | - GNU LESSER GENERAL PUBLIC LICENSE |
590 | - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
591 | - |
592 | - 0. This License Agreement applies to any software library or other |
593 | -program which contains a notice placed by the copyright holder or |
594 | -other authorized party saying it may be distributed under the terms of |
595 | -this Lesser General Public License (also called "this License"). |
596 | -Each licensee is addressed as "you". |
597 | - |
598 | - A "library" means a collection of software functions and/or data |
599 | -prepared so as to be conveniently linked with application programs |
600 | -(which use some of those functions and data) to form executables. |
601 | - |
602 | - The "Library", below, refers to any such software library or work |
603 | -which has been distributed under these terms. A "work based on the |
604 | -Library" means either the Library or any derivative work under |
605 | -copyright law: that is to say, a work containing the Library or a |
606 | -portion of it, either verbatim or with modifications and/or translated |
607 | -straightforwardly into another language. (Hereinafter, translation is |
608 | -included without limitation in the term "modification".) |
609 | - |
610 | - "Source code" for a work means the preferred form of the work for |
611 | -making modifications to it. For a library, complete source code means |
612 | -all the source code for all modules it contains, plus any associated |
613 | -interface definition files, plus the scripts used to control compilation |
614 | -and installation of the library. |
615 | - |
616 | - Activities other than copying, distribution and modification are not |
617 | -covered by this License; they are outside its scope. The act of |
618 | -running a program using the Library is not restricted, and output from |
619 | -such a program is covered only if its contents constitute a work based |
620 | -on the Library (independent of the use of the Library in a tool for |
621 | -writing it). Whether that is true depends on what the Library does |
622 | -and what the program that uses the Library does. |
623 | - |
624 | - 1. You may copy and distribute verbatim copies of the Library's |
625 | -complete source code as you receive it, in any medium, provided that |
626 | -you conspicuously and appropriately publish on each copy an |
627 | -appropriate copyright notice and disclaimer of warranty; keep intact |
628 | -all the notices that refer to this License and to the absence of any |
629 | -warranty; and distribute a copy of this License along with the |
630 | -Library. |
631 | - |
632 | - You may charge a fee for the physical act of transferring a copy, |
633 | -and you may at your option offer warranty protection in exchange for a |
634 | -fee. |
635 | - |
636 | - 2. You may modify your copy or copies of the Library or any portion |
637 | -of it, thus forming a work based on the Library, and copy and |
638 | -distribute such modifications or work under the terms of Section 1 |
639 | -above, provided that you also meet all of these conditions: |
640 | - |
641 | - a) The modified work must itself be a software library. |
642 | - |
643 | - b) You must cause the files modified to carry prominent notices |
644 | - stating that you changed the files and the date of any change. |
645 | - |
646 | - c) You must cause the whole of the work to be licensed at no |
647 | - charge to all third parties under the terms of this License. |
648 | - |
649 | - d) If a facility in the modified Library refers to a function or a |
650 | - table of data to be supplied by an application program that uses |
651 | - the facility, other than as an argument passed when the facility |
652 | - is invoked, then you must make a good faith effort to ensure that, |
653 | - in the event an application does not supply such function or |
654 | - table, the facility still operates, and performs whatever part of |
655 | - its purpose remains meaningful. |
656 | - |
657 | - (For example, a function in a library to compute square roots has |
658 | - a purpose that is entirely well-defined independent of the |
659 | - application. Therefore, Subsection 2d requires that any |
660 | - application-supplied function or table used by this function must |
661 | - be optional: if the application does not supply it, the square |
662 | - root function must still compute square roots.) |
663 | - |
664 | -These requirements apply to the modified work as a whole. If |
665 | -identifiable sections of that work are not derived from the Library, |
666 | -and can be reasonably considered independent and separate works in |
667 | -themselves, then this License, and its terms, do not apply to those |
668 | -sections when you distribute them as separate works. But when you |
669 | -distribute the same sections as part of a whole which is a work based |
670 | -on the Library, the distribution of the whole must be on the terms of |
671 | -this License, whose permissions for other licensees extend to the |
672 | -entire whole, and thus to each and every part regardless of who wrote |
673 | -it. |
674 | - |
675 | -Thus, it is not the intent of this section to claim rights or contest |
676 | -your rights to work written entirely by you; rather, the intent is to |
677 | -exercise the right to control the distribution of derivative or |
678 | -collective works based on the Library. |
679 | - |
680 | -In addition, mere aggregation of another work not based on the Library |
681 | -with the Library (or with a work based on the Library) on a volume of |
682 | -a storage or distribution medium does not bring the other work under |
683 | -the scope of this License. |
684 | - |
685 | - 3. You may opt to apply the terms of the ordinary GNU General Public |
686 | -License instead of this License to a given copy of the Library. To do |
687 | -this, you must alter all the notices that refer to this License, so |
688 | -that they refer to the ordinary GNU General Public License, version 2, |
689 | -instead of to this License. (If a newer version than version 2 of the |
690 | -ordinary GNU General Public License has appeared, then you can specify |
691 | -that version instead if you wish.) Do not make any other change in |
692 | -these notices. |
693 | - |
694 | - Once this change is made in a given copy, it is irreversible for |
695 | -that copy, so the ordinary GNU General Public License applies to all |
696 | -subsequent copies and derivative works made from that copy. |
697 | - |
698 | - This option is useful when you wish to copy part of the code of |
699 | -the Library into a program that is not a library. |
700 | - |
701 | - 4. You may copy and distribute the Library (or a portion or |
702 | -derivative of it, under Section 2) in object code or executable form |
703 | -under the terms of Sections 1 and 2 above provided that you accompany |
704 | -it with the complete corresponding machine-readable source code, which |
705 | -must be distributed under the terms of Sections 1 and 2 above on a |
706 | -medium customarily used for software interchange. |
707 | - |
708 | - If distribution of object code is made by offering access to copy |
709 | -from a designated place, then offering equivalent access to copy the |
710 | -source code from the same place satisfies the requirement to |
711 | -distribute the source code, even though third parties are not |
712 | -compelled to copy the source along with the object code. |
713 | - |
714 | - 5. A program that contains no derivative of any portion of the |
715 | -Library, but is designed to work with the Library by being compiled or |
716 | -linked with it, is called a "work that uses the Library". Such a |
717 | -work, in isolation, is not a derivative work of the Library, and |
718 | -therefore falls outside the scope of this License. |
719 | - |
720 | - However, linking a "work that uses the Library" with the Library |
721 | -creates an executable that is a derivative of the Library (because it |
722 | -contains portions of the Library), rather than a "work that uses the |
723 | -library". The executable is therefore covered by this License. |
724 | -Section 6 states terms for distribution of such executables. |
725 | - |
726 | - When a "work that uses the Library" uses material from a header file |
727 | -that is part of the Library, the object code for the work may be a |
728 | -derivative work of the Library even though the source code is not. |
729 | -Whether this is true is especially significant if the work can be |
730 | -linked without the Library, or if the work is itself a library. The |
731 | -threshold for this to be true is not precisely defined by law. |
732 | - |
733 | - If such an object file uses only numerical parameters, data |
734 | -structure layouts and accessors, and small macros and small inline |
735 | -functions (ten lines or less in length), then the use of the object |
736 | -file is unrestricted, regardless of whether it is legally a derivative |
737 | -work. (Executables containing this object code plus portions of the |
738 | -Library will still fall under Section 6.) |
739 | - |
740 | - Otherwise, if the work is a derivative of the Library, you may |
741 | -distribute the object code for the work under the terms of Section 6. |
742 | -Any executables containing that work also fall under Section 6, |
743 | -whether or not they are linked directly with the Library itself. |
744 | - |
745 | - 6. As an exception to the Sections above, you may also combine or |
746 | -link a "work that uses the Library" with the Library to produce a |
747 | -work containing portions of the Library, and distribute that work |
748 | -under terms of your choice, provided that the terms permit |
749 | -modification of the work for the customer's own use and reverse |
750 | -engineering for debugging such modifications. |
751 | - |
752 | - You must give prominent notice with each copy of the work that the |
753 | -Library is used in it and that the Library and its use are covered by |
754 | -this License. You must supply a copy of this License. If the work |
755 | -during execution displays copyright notices, you must include the |
756 | -copyright notice for the Library among them, as well as a reference |
757 | -directing the user to the copy of this License. Also, you must do one |
758 | -of these things: |
759 | - |
760 | - a) Accompany the work with the complete corresponding |
761 | - machine-readable source code for the Library including whatever |
762 | - changes were used in the work (which must be distributed under |
763 | - Sections 1 and 2 above); and, if the work is an executable linked |
764 | - with the Library, with the complete machine-readable "work that |
765 | - uses the Library", as object code and/or source code, so that the |
766 | - user can modify the Library and then relink to produce a modified |
767 | - executable containing the modified Library. (It is understood |
768 | - that the user who changes the contents of definitions files in the |
769 | - Library will not necessarily be able to recompile the application |
770 | - to use the modified definitions.) |
771 | - |
772 | - b) Use a suitable shared library mechanism for linking with the |
773 | - Library. A suitable mechanism is one that (1) uses at run time a |
774 | - copy of the library already present on the user's computer system, |
775 | - rather than copying library functions into the executable, and (2) |
776 | - will operate properly with a modified version of the library, if |
777 | - the user installs one, as long as the modified version is |
778 | - interface-compatible with the version that the work was made with. |
779 | - |
780 | - c) Accompany the work with a written offer, valid for at |
781 | - least three years, to give the same user the materials |
782 | - specified in Subsection 6a, above, for a charge no more |
783 | - than the cost of performing this distribution. |
784 | - |
785 | - d) If distribution of the work is made by offering access to copy |
786 | - from a designated place, offer equivalent access to copy the above |
787 | - specified materials from the same place. |
788 | - |
789 | - e) Verify that the user has already received a copy of these |
790 | - materials or that you have already sent this user a copy. |
791 | - |
792 | - For an executable, the required form of the "work that uses the |
793 | -Library" must include any data and utility programs needed for |
794 | -reproducing the executable from it. However, as a special exception, |
795 | -the materials to be distributed need not include anything that is |
796 | -normally distributed (in either source or binary form) with the major |
797 | -components (compiler, kernel, and so on) of the operating system on |
798 | -which the executable runs, unless that component itself accompanies |
799 | -the executable. |
800 | - |
801 | - It may happen that this requirement contradicts the license |
802 | -restrictions of other proprietary libraries that do not normally |
803 | -accompany the operating system. Such a contradiction means you cannot |
804 | -use both them and the Library together in an executable that you |
805 | -distribute. |
806 | - |
807 | - 7. You may place library facilities that are a work based on the |
808 | -Library side-by-side in a single library together with other library |
809 | -facilities not covered by this License, and distribute such a combined |
810 | -library, provided that the separate distribution of the work based on |
811 | -the Library and of the other library facilities is otherwise |
812 | -permitted, and provided that you do these two things: |
813 | - |
814 | - a) Accompany the combined library with a copy of the same work |
815 | - based on the Library, uncombined with any other library |
816 | - facilities. This must be distributed under the terms of the |
817 | - Sections above. |
818 | - |
819 | - b) Give prominent notice with the combined library of the fact |
820 | - that part of it is a work based on the Library, and explaining |
821 | - where to find the accompanying uncombined form of the same work. |
822 | - |
823 | - 8. You may not copy, modify, sublicense, link with, or distribute |
824 | -the Library except as expressly provided under this License. Any |
825 | -attempt otherwise to copy, modify, sublicense, link with, or |
826 | -distribute the Library is void, and will automatically terminate your |
827 | -rights under this License. However, parties who have received copies, |
828 | -or rights, from you under this License will not have their licenses |
829 | -terminated so long as such parties remain in full compliance. |
830 | - |
831 | - 9. You are not required to accept this License, since you have not |
832 | -signed it. However, nothing else grants you permission to modify or |
833 | -distribute the Library or its derivative works. These actions are |
834 | -prohibited by law if you do not accept this License. Therefore, by |
835 | -modifying or distributing the Library (or any work based on the |
836 | -Library), you indicate your acceptance of this License to do so, and |
837 | -all its terms and conditions for copying, distributing or modifying |
838 | -the Library or works based on it. |
839 | - |
840 | - 10. Each time you redistribute the Library (or any work based on the |
841 | -Library), the recipient automatically receives a license from the |
842 | -original licensor to copy, distribute, link with or modify the Library |
843 | -subject to these terms and conditions. You may not impose any further |
844 | -restrictions on the recipients' exercise of the rights granted herein. |
845 | -You are not responsible for enforcing compliance by third parties with |
846 | -this License. |
847 | - |
848 | - 11. If, as a consequence of a court judgment or allegation of patent |
849 | -infringement or for any other reason (not limited to patent issues), |
850 | -conditions are imposed on you (whether by court order, agreement or |
851 | -otherwise) that contradict the conditions of this License, they do not |
852 | -excuse you from the conditions of this License. If you cannot |
853 | -distribute so as to satisfy simultaneously your obligations under this |
854 | -License and any other pertinent obligations, then as a consequence you |
855 | -may not distribute the Library at all. For example, if a patent |
856 | -license would not permit royalty-free redistribution of the Library by |
857 | -all those who receive copies directly or indirectly through you, then |
858 | -the only way you could satisfy both it and this License would be to |
859 | -refrain entirely from distribution of the Library. |
860 | - |
861 | -If any portion of this section is held invalid or unenforceable under any |
862 | -particular circumstance, the balance of the section is intended to apply, |
863 | -and the section as a whole is intended to apply in other circumstances. |
864 | - |
865 | -It is not the purpose of this section to induce you to infringe any |
866 | -patents or other property right claims or to contest validity of any |
867 | -such claims; this section has the sole purpose of protecting the |
868 | -integrity of the free software distribution system which is |
869 | -implemented by public license practices. Many people have made |
870 | -generous contributions to the wide range of software distributed |
871 | -through that system in reliance on consistent application of that |
872 | -system; it is up to the author/donor to decide if he or she is willing |
873 | -to distribute software through any other system and a licensee cannot |
874 | -impose that choice. |
875 | - |
876 | -This section is intended to make thoroughly clear what is believed to |
877 | -be a consequence of the rest of this License. |
878 | - |
879 | - 12. If the distribution and/or use of the Library is restricted in |
880 | -certain countries either by patents or by copyrighted interfaces, the |
881 | -original copyright holder who places the Library under this License may add |
882 | -an explicit geographical distribution limitation excluding those countries, |
883 | -so that distribution is permitted only in or among countries not thus |
884 | -excluded. In such case, this License incorporates the limitation as if |
885 | -written in the body of this License. |
886 | - |
887 | - 13. The Free Software Foundation may publish revised and/or new |
888 | -versions of the Lesser General Public License from time to time. |
889 | -Such new versions will be similar in spirit to the present version, |
890 | -but may differ in detail to address new problems or concerns. |
891 | - |
892 | -Each version is given a distinguishing version number. If the Library |
893 | -specifies a version number of this License which applies to it and |
894 | -"any later version", you have the option of following the terms and |
895 | -conditions either of that version or of any later version published by |
896 | -the Free Software Foundation. If the Library does not specify a |
897 | -license version number, you may choose any version ever published by |
898 | -the Free Software Foundation. |
899 | - |
900 | - 14. If you wish to incorporate parts of the Library into other free |
901 | -programs whose distribution conditions are incompatible with these, |
902 | -write to the author to ask for permission. For software which is |
903 | -copyrighted by the Free Software Foundation, write to the Free |
904 | -Software Foundation; we sometimes make exceptions for this. Our |
905 | -decision will be guided by the two goals of preserving the free status |
906 | -of all derivatives of our free software and of promoting the sharing |
907 | -and reuse of software generally. |
908 | - |
909 | - NO WARRANTY |
910 | - |
911 | - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
912 | -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
913 | -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
914 | -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
915 | -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
916 | -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
917 | -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
918 | -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
919 | -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
920 | - |
921 | - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
922 | -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
923 | -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
924 | -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
925 | -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
926 | -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
927 | -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
928 | -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
929 | -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
930 | -DAMAGES. |
931 | - |
932 | - END OF TERMS AND CONDITIONS |
933 | - |
934 | - How to Apply These Terms to Your New Libraries |
935 | - |
936 | - If you develop a new library, and you want it to be of the greatest |
937 | -possible use to the public, we recommend making it free software that |
938 | -everyone can redistribute and change. You can do so by permitting |
939 | -redistribution under these terms (or, alternatively, under the terms of the |
940 | -ordinary General Public License). |
941 | - |
942 | - To apply these terms, attach the following notices to the library. It is |
943 | -safest to attach them to the start of each source file to most effectively |
944 | -convey the exclusion of warranty; and each file should have at least the |
945 | -"copyright" line and a pointer to where the full notice is found. |
946 | - |
947 | - <one line to give the library's name and a brief idea of what it does.> |
948 | - Copyright (C) <year> <name of author> |
949 | - |
950 | - This library is free software; you can redistribute it and/or |
951 | - modify it under the terms of the GNU Lesser General Public |
952 | - License as published by the Free Software Foundation; either |
953 | - version 2.1 of the License, or (at your option) any later version. |
954 | - |
955 | - This library is distributed in the hope that it will be useful, |
956 | - but WITHOUT ANY WARRANTY; without even the implied warranty of |
957 | - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
958 | - Lesser General Public License for more details. |
959 | - |
960 | - You should have received a copy of the GNU Lesser General Public |
961 | - License along with this library; if not, write to the Free Software |
962 | - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
963 | - |
964 | -Also add information on how to contact you by electronic and paper mail. |
965 | - |
966 | -You should also get your employer (if you work as a programmer) or your |
967 | -school, if any, to sign a "copyright disclaimer" for the library, if |
968 | -necessary. Here is a sample; alter the names: |
969 | - |
970 | - Yoyodyne, Inc., hereby disclaims all copyright interest in the |
971 | - library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
972 | - |
973 | - <signature of Ty Coon>, 1 April 1990 |
974 | - Ty Coon, President of Vice |
975 | - |
976 | -That's all there is to it! |
977 | - |
978 | - |
979 | + GNU LESSER GENERAL PUBLIC LICENSE |
980 | + Version 2.1, February 1999 |
981 | + |
982 | + Copyright (C) 1991, 1999 Free Software Foundation, Inc. |
983 | + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
984 | + Everyone is permitted to copy and distribute verbatim copies |
985 | + of this license document, but changing it is not allowed. |
986 | + |
987 | +[This is the first released version of the Lesser GPL. It also counts |
988 | + as the successor of the GNU Library Public License, version 2, hence |
989 | + the version number 2.1.] |
990 | + |
991 | + Preamble |
992 | + |
993 | + The licenses for most software are designed to take away your |
994 | +freedom to share and change it. By contrast, the GNU General Public |
995 | +Licenses are intended to guarantee your freedom to share and change |
996 | +free software--to make sure the software is free for all its users. |
997 | + |
998 | + This license, the Lesser General Public License, applies to some |
999 | +specially designated software packages--typically libraries--of the |
1000 | +Free Software Foundation and other authors who decide to use it. You |
1001 | +can use it too, but we suggest you first think carefully about whether |
1002 | +this license or the ordinary General Public License is the better |
1003 | +strategy to use in any particular case, based on the explanations below. |
1004 | + |
1005 | + When we speak of free software, we are referring to freedom of use, |
1006 | +not price. Our General Public Licenses are designed to make sure that |
1007 | +you have the freedom to distribute copies of free software (and charge |
1008 | +for this service if you wish); that you receive source code or can get |
1009 | +it if you want it; that you can change the software and use pieces of |
1010 | +it in new free programs; and that you are informed that you can do |
1011 | +these things. |
1012 | + |
1013 | + To protect your rights, we need to make restrictions that forbid |
1014 | +distributors to deny you these rights or to ask you to surrender these |
1015 | +rights. These restrictions translate to certain responsibilities for |
1016 | +you if you distribute copies of the library or if you modify it. |
1017 | + |
1018 | + For example, if you distribute copies of the library, whether gratis |
1019 | +or for a fee, you must give the recipients all the rights that we gave |
1020 | +you. You must make sure that they, too, receive or can get the source |
1021 | +code. If you link other code with the library, you must provide |
1022 | +complete object files to the recipients, so that they can relink them |
1023 | +with the library after making changes to the library and recompiling |
1024 | +it. And you must show them these terms so they know their rights. |
1025 | + |
1026 | + We protect your rights with a two-step method: (1) we copyright the |
1027 | +library, and (2) we offer you this license, which gives you legal |
1028 | +permission to copy, distribute and/or modify the library. |
1029 | + |
1030 | + To protect each distributor, we want to make it very clear that |
1031 | +there is no warranty for the free library. Also, if the library is |
1032 | +modified by someone else and passed on, the recipients should know |
1033 | +that what they have is not the original version, so that the original |
1034 | +author's reputation will not be affected by problems that might be |
1035 | +introduced by others. |
1036 | + |
1037 | + Finally, software patents pose a constant threat to the existence of |
1038 | +any free program. We wish to make sure that a company cannot |
1039 | +effectively restrict the users of a free program by obtaining a |
1040 | +restrictive license from a patent holder. Therefore, we insist that |
1041 | +any patent license obtained for a version of the library must be |
1042 | +consistent with the full freedom of use specified in this license. |
1043 | + |
1044 | + Most GNU software, including some libraries, is covered by the |
1045 | +ordinary GNU General Public License. This license, the GNU Lesser |
1046 | +General Public License, applies to certain designated libraries, and |
1047 | +is quite different from the ordinary General Public License. We use |
1048 | +this license for certain libraries in order to permit linking those |
1049 | +libraries into non-free programs. |
1050 | + |
1051 | + When a program is linked with a library, whether statically or using |
1052 | +a shared library, the combination of the two is legally speaking a |
1053 | +combined work, a derivative of the original library. The ordinary |
1054 | +General Public License therefore permits such linking only if the |
1055 | +entire combination fits its criteria of freedom. The Lesser General |
1056 | +Public License permits more lax criteria for linking other code with |
1057 | +the library. |
1058 | + |
1059 | + We call this license the "Lesser" General Public License because it |
1060 | +does Less to protect the user's freedom than the ordinary General |
1061 | +Public License. It also provides other free software developers Less |
1062 | +of an advantage over competing non-free programs. These disadvantages |
1063 | +are the reason we use the ordinary General Public License for many |
1064 | +libraries. However, the Lesser license provides advantages in certain |
1065 | +special circumstances. |
1066 | + |
1067 | + For example, on rare occasions, there may be a special need to |
1068 | +encourage the widest possible use of a certain library, so that it becomes |
1069 | +a de-facto standard. To achieve this, non-free programs must be |
1070 | +allowed to use the library. A more frequent case is that a free |
1071 | +library does the same job as widely used non-free libraries. In this |
1072 | +case, there is little to gain by limiting the free library to free |
1073 | +software only, so we use the Lesser General Public License. |
1074 | + |
1075 | + In other cases, permission to use a particular library in non-free |
1076 | +programs enables a greater number of people to use a large body of |
1077 | +free software. For example, permission to use the GNU C Library in |
1078 | +non-free programs enables many more people to use the whole GNU |
1079 | +operating system, as well as its variant, the GNU/Linux operating |
1080 | +system. |
1081 | + |
1082 | + Although the Lesser General Public License is Less protective of the |
1083 | +users' freedom, it does ensure that the user of a program that is |
1084 | +linked with the Library has the freedom and the wherewithal to run |
1085 | +that program using a modified version of the Library. |
1086 | + |
1087 | + The precise terms and conditions for copying, distribution and |
1088 | +modification follow. Pay close attention to the difference between a |
1089 | +"work based on the library" and a "work that uses the library". The |
1090 | +former contains code derived from the library, whereas the latter must |
1091 | +be combined with the library in order to run. |
1092 | + |
1093 | + GNU LESSER GENERAL PUBLIC LICENSE |
1094 | + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION |
1095 | + |
1096 | + 0. This License Agreement applies to any software library or other |
1097 | +program which contains a notice placed by the copyright holder or |
1098 | +other authorized party saying it may be distributed under the terms of |
1099 | +this Lesser General Public License (also called "this License"). |
1100 | +Each licensee is addressed as "you". |
1101 | + |
1102 | + A "library" means a collection of software functions and/or data |
1103 | +prepared so as to be conveniently linked with application programs |
1104 | +(which use some of those functions and data) to form executables. |
1105 | + |
1106 | + The "Library", below, refers to any such software library or work |
1107 | +which has been distributed under these terms. A "work based on the |
1108 | +Library" means either the Library or any derivative work under |
1109 | +copyright law: that is to say, a work containing the Library or a |
1110 | +portion of it, either verbatim or with modifications and/or translated |
1111 | +straightforwardly into another language. (Hereinafter, translation is |
1112 | +included without limitation in the term "modification".) |
1113 | + |
1114 | + "Source code" for a work means the preferred form of the work for |
1115 | +making modifications to it. For a library, complete source code means |
1116 | +all the source code for all modules it contains, plus any associated |
1117 | +interface definition files, plus the scripts used to control compilation |
1118 | +and installation of the library. |
1119 | + |
1120 | + Activities other than copying, distribution and modification are not |
1121 | +covered by this License; they are outside its scope. The act of |
1122 | +running a program using the Library is not restricted, and output from |
1123 | +such a program is covered only if its contents constitute a work based |
1124 | +on the Library (independent of the use of the Library in a tool for |
1125 | +writing it). Whether that is true depends on what the Library does |
1126 | +and what the program that uses the Library does. |
1127 | + |
1128 | + 1. You may copy and distribute verbatim copies of the Library's |
1129 | +complete source code as you receive it, in any medium, provided that |
1130 | +you conspicuously and appropriately publish on each copy an |
1131 | +appropriate copyright notice and disclaimer of warranty; keep intact |
1132 | +all the notices that refer to this License and to the absence of any |
1133 | +warranty; and distribute a copy of this License along with the |
1134 | +Library. |
1135 | + |
1136 | + You may charge a fee for the physical act of transferring a copy, |
1137 | +and you may at your option offer warranty protection in exchange for a |
1138 | +fee. |
1139 | + |
1140 | + 2. You may modify your copy or copies of the Library or any portion |
1141 | +of it, thus forming a work based on the Library, and copy and |
1142 | +distribute such modifications or work under the terms of Section 1 |
1143 | +above, provided that you also meet all of these conditions: |
1144 | + |
1145 | + a) The modified work must itself be a software library. |
1146 | + |
1147 | + b) You must cause the files modified to carry prominent notices |
1148 | + stating that you changed the files and the date of any change. |
1149 | + |
1150 | + c) You must cause the whole of the work to be licensed at no |
1151 | + charge to all third parties under the terms of this License. |
1152 | + |
1153 | + d) If a facility in the modified Library refers to a function or a |
1154 | + table of data to be supplied by an application program that uses |
1155 | + the facility, other than as an argument passed when the facility |
1156 | + is invoked, then you must make a good faith effort to ensure that, |
1157 | + in the event an application does not supply such function or |
1158 | + table, the facility still operates, and performs whatever part of |
1159 | + its purpose remains meaningful. |
1160 | + |
1161 | + (For example, a function in a library to compute square roots has |
1162 | + a purpose that is entirely well-defined independent of the |
1163 | + application. Therefore, Subsection 2d requires that any |
1164 | + application-supplied function or table used by this function must |
1165 | + be optional: if the application does not supply it, the square |
1166 | + root function must still compute square roots.) |
1167 | + |
1168 | +These requirements apply to the modified work as a whole. If |
1169 | +identifiable sections of that work are not derived from the Library, |
1170 | +and can be reasonably considered independent and separate works in |
1171 | +themselves, then this License, and its terms, do not apply to those |
1172 | +sections when you distribute them as separate works. But when you |
1173 | +distribute the same sections as part of a whole which is a work based |
1174 | +on the Library, the distribution of the whole must be on the terms of |
1175 | +this License, whose permissions for other licensees extend to the |
1176 | +entire whole, and thus to each and every part regardless of who wrote |
1177 | +it. |
1178 | + |
1179 | +Thus, it is not the intent of this section to claim rights or contest |
1180 | +your rights to work written entirely by you; rather, the intent is to |
1181 | +exercise the right to control the distribution of derivative or |
1182 | +collective works based on the Library. |
1183 | + |
1184 | +In addition, mere aggregation of another work not based on the Library |
1185 | +with the Library (or with a work based on the Library) on a volume of |
1186 | +a storage or distribution medium does not bring the other work under |
1187 | +the scope of this License. |
1188 | + |
1189 | + 3. You may opt to apply the terms of the ordinary GNU General Public |
1190 | +License instead of this License to a given copy of the Library. To do |
1191 | +this, you must alter all the notices that refer to this License, so |
1192 | +that they refer to the ordinary GNU General Public License, version 2, |
1193 | +instead of to this License. (If a newer version than version 2 of the |
1194 | +ordinary GNU General Public License has appeared, then you can specify |
1195 | +that version instead if you wish.) Do not make any other change in |
1196 | +these notices. |
1197 | + |
1198 | + Once this change is made in a given copy, it is irreversible for |
1199 | +that copy, so the ordinary GNU General Public License applies to all |
1200 | +subsequent copies and derivative works made from that copy. |
1201 | + |
1202 | + This option is useful when you wish to copy part of the code of |
1203 | +the Library into a program that is not a library. |
1204 | + |
1205 | + 4. You may copy and distribute the Library (or a portion or |
1206 | +derivative of it, under Section 2) in object code or executable form |
1207 | +under the terms of Sections 1 and 2 above provided that you accompany |
1208 | +it with the complete corresponding machine-readable source code, which |
1209 | +must be distributed under the terms of Sections 1 and 2 above on a |
1210 | +medium customarily used for software interchange. |
1211 | + |
1212 | + If distribution of object code is made by offering access to copy |
1213 | +from a designated place, then offering equivalent access to copy the |
1214 | +source code from the same place satisfies the requirement to |
1215 | +distribute the source code, even though third parties are not |
1216 | +compelled to copy the source along with the object code. |
1217 | + |
1218 | + 5. A program that contains no derivative of any portion of the |
1219 | +Library, but is designed to work with the Library by being compiled or |
1220 | +linked with it, is called a "work that uses the Library". Such a |
1221 | +work, in isolation, is not a derivative work of the Library, and |
1222 | +therefore falls outside the scope of this License. |
1223 | + |
1224 | + However, linking a "work that uses the Library" with the Library |
1225 | +creates an executable that is a derivative of the Library (because it |
1226 | +contains portions of the Library), rather than a "work that uses the |
1227 | +library". The executable is therefore covered by this License. |
1228 | +Section 6 states terms for distribution of such executables. |
1229 | + |
1230 | + When a "work that uses the Library" uses material from a header file |
1231 | +that is part of the Library, the object code for the work may be a |
1232 | +derivative work of the Library even though the source code is not. |
1233 | +Whether this is true is especially significant if the work can be |
1234 | +linked without the Library, or if the work is itself a library. The |
1235 | +threshold for this to be true is not precisely defined by law. |
1236 | + |
1237 | + If such an object file uses only numerical parameters, data |
1238 | +structure layouts and accessors, and small macros and small inline |
1239 | +functions (ten lines or less in length), then the use of the object |
1240 | +file is unrestricted, regardless of whether it is legally a derivative |
1241 | +work. (Executables containing this object code plus portions of the |
1242 | +Library will still fall under Section 6.) |
1243 | + |
1244 | + Otherwise, if the work is a derivative of the Library, you may |
1245 | +distribute the object code for the work under the terms of Section 6. |
1246 | +Any executables containing that work also fall under Section 6, |
1247 | +whether or not they are linked directly with the Library itself. |
1248 | + |
1249 | + 6. As an exception to the Sections above, you may also combine or |
1250 | +link a "work that uses the Library" with the Library to produce a |
1251 | +work containing portions of the Library, and distribute that work |
1252 | +under terms of your choice, provided that the terms permit |
1253 | +modification of the work for the customer's own use and reverse |
1254 | +engineering for debugging such modifications. |
1255 | + |
1256 | + You must give prominent notice with each copy of the work that the |
1257 | +Library is used in it and that the Library and its use are covered by |
1258 | +this License. You must supply a copy of this License. If the work |
1259 | +during execution displays copyright notices, you must include the |
1260 | +copyright notice for the Library among them, as well as a reference |
1261 | +directing the user to the copy of this License. Also, you must do one |
1262 | +of these things: |
1263 | + |
1264 | + a) Accompany the work with the complete corresponding |
1265 | + machine-readable source code for the Library including whatever |
1266 | + changes were used in the work (which must be distributed under |
1267 | + Sections 1 and 2 above); and, if the work is an executable linked |
1268 | + with the Library, with the complete machine-readable "work that |
1269 | + uses the Library", as object code and/or source code, so that the |
1270 | + user can modify the Library and then relink to produce a modified |
1271 | + executable containing the modified Library. (It is understood |
1272 | + that the user who changes the contents of definitions files in the |
1273 | + Library will not necessarily be able to recompile the application |
1274 | + to use the modified definitions.) |
1275 | + |
1276 | + b) Use a suitable shared library mechanism for linking with the |
1277 | + Library. A suitable mechanism is one that (1) uses at run time a |
1278 | + copy of the library already present on the user's computer system, |
1279 | + rather than copying library functions into the executable, and (2) |
1280 | + will operate properly with a modified version of the library, if |
1281 | + the user installs one, as long as the modified version is |
1282 | + interface-compatible with the version that the work was made with. |
1283 | + |
1284 | + c) Accompany the work with a written offer, valid for at |
1285 | + least three years, to give the same user the materials |
1286 | + specified in Subsection 6a, above, for a charge no more |
1287 | + than the cost of performing this distribution. |
1288 | + |
1289 | + d) If distribution of the work is made by offering access to copy |
1290 | + from a designated place, offer equivalent access to copy the above |
1291 | + specified materials from the same place. |
1292 | + |
1293 | + e) Verify that the user has already received a copy of these |
1294 | + materials or that you have already sent this user a copy. |
1295 | + |
1296 | + For an executable, the required form of the "work that uses the |
1297 | +Library" must include any data and utility programs needed for |
1298 | +reproducing the executable from it. However, as a special exception, |
1299 | +the materials to be distributed need not include anything that is |
1300 | +normally distributed (in either source or binary form) with the major |
1301 | +components (compiler, kernel, and so on) of the operating system on |
1302 | +which the executable runs, unless that component itself accompanies |
1303 | +the executable. |
1304 | + |
1305 | + It may happen that this requirement contradicts the license |
1306 | +restrictions of other proprietary libraries that do not normally |
1307 | +accompany the operating system. Such a contradiction means you cannot |
1308 | +use both them and the Library together in an executable that you |
1309 | +distribute. |
1310 | + |
1311 | + 7. You may place library facilities that are a work based on the |
1312 | +Library side-by-side in a single library together with other library |
1313 | +facilities not covered by this License, and distribute such a combined |
1314 | +library, provided that the separate distribution of the work based on |
1315 | +the Library and of the other library facilities is otherwise |
1316 | +permitted, and provided that you do these two things: |
1317 | + |
1318 | + a) Accompany the combined library with a copy of the same work |
1319 | + based on the Library, uncombined with any other library |
1320 | + facilities. This must be distributed under the terms of the |
1321 | + Sections above. |
1322 | + |
1323 | + b) Give prominent notice with the combined library of the fact |
1324 | + that part of it is a work based on the Library, and explaining |
1325 | + where to find the accompanying uncombined form of the same work. |
1326 | + |
1327 | + 8. You may not copy, modify, sublicense, link with, or distribute |
1328 | +the Library except as expressly provided under this License. Any |
1329 | +attempt otherwise to copy, modify, sublicense, link with, or |
1330 | +distribute the Library is void, and will automatically terminate your |
1331 | +rights under this License. However, parties who have received copies, |
1332 | +or rights, from you under this License will not have their licenses |
1333 | +terminated so long as such parties remain in full compliance. |
1334 | + |
1335 | + 9. You are not required to accept this License, since you have not |
1336 | +signed it. However, nothing else grants you permission to modify or |
1337 | +distribute the Library or its derivative works. These actions are |
1338 | +prohibited by law if you do not accept this License. Therefore, by |
1339 | +modifying or distributing the Library (or any work based on the |
1340 | +Library), you indicate your acceptance of this License to do so, and |
1341 | +all its terms and conditions for copying, distributing or modifying |
1342 | +the Library or works based on it. |
1343 | + |
1344 | + 10. Each time you redistribute the Library (or any work based on the |
1345 | +Library), the recipient automatically receives a license from the |
1346 | +original licensor to copy, distribute, link with or modify the Library |
1347 | +subject to these terms and conditions. You may not impose any further |
1348 | +restrictions on the recipients' exercise of the rights granted herein. |
1349 | +You are not responsible for enforcing compliance by third parties with |
1350 | +this License. |
1351 | + |
1352 | + 11. If, as a consequence of a court judgment or allegation of patent |
1353 | +infringement or for any other reason (not limited to patent issues), |
1354 | +conditions are imposed on you (whether by court order, agreement or |
1355 | +otherwise) that contradict the conditions of this License, they do not |
1356 | +excuse you from the conditions of this License. If you cannot |
1357 | +distribute so as to satisfy simultaneously your obligations under this |
1358 | +License and any other pertinent obligations, then as a consequence you |
1359 | +may not distribute the Library at all. For example, if a patent |
1360 | +license would not permit royalty-free redistribution of the Library by |
1361 | +all those who receive copies directly or indirectly through you, then |
1362 | +the only way you could satisfy both it and this License would be to |
1363 | +refrain entirely from distribution of the Library. |
1364 | + |
1365 | +If any portion of this section is held invalid or unenforceable under any |
1366 | +particular circumstance, the balance of the section is intended to apply, |
1367 | +and the section as a whole is intended to apply in other circumstances. |
1368 | + |
1369 | +It is not the purpose of this section to induce you to infringe any |
1370 | +patents or other property right claims or to contest validity of any |
1371 | +such claims; this section has the sole purpose of protecting the |
1372 | +integrity of the free software distribution system which is |
1373 | +implemented by public license practices. Many people have made |
1374 | +generous contributions to the wide range of software distributed |
1375 | +through that system in reliance on consistent application of that |
1376 | +system; it is up to the author/donor to decide if he or she is willing |
1377 | +to distribute software through any other system and a licensee cannot |
1378 | +impose that choice. |
1379 | + |
1380 | +This section is intended to make thoroughly clear what is believed to |
1381 | +be a consequence of the rest of this License. |
1382 | + |
1383 | + 12. If the distribution and/or use of the Library is restricted in |
1384 | +certain countries either by patents or by copyrighted interfaces, the |
1385 | +original copyright holder who places the Library under this License may add |
1386 | +an explicit geographical distribution limitation excluding those countries, |
1387 | +so that distribution is permitted only in or among countries not thus |
1388 | +excluded. In such case, this License incorporates the limitation as if |
1389 | +written in the body of this License. |
1390 | + |
1391 | + 13. The Free Software Foundation may publish revised and/or new |
1392 | +versions of the Lesser General Public License from time to time. |
1393 | +Such new versions will be similar in spirit to the present version, |
1394 | +but may differ in detail to address new problems or concerns. |
1395 | + |
1396 | +Each version is given a distinguishing version number. If the Library |
1397 | +specifies a version number of this License which applies to it and |
1398 | +"any later version", you have the option of following the terms and |
1399 | +conditions either of that version or of any later version published by |
1400 | +the Free Software Foundation. If the Library does not specify a |
1401 | +license version number, you may choose any version ever published by |
1402 | +the Free Software Foundation. |
1403 | + |
1404 | + 14. If you wish to incorporate parts of the Library into other free |
1405 | +programs whose distribution conditions are incompatible with these, |
1406 | +write to the author to ask for permission. For software which is |
1407 | +copyrighted by the Free Software Foundation, write to the Free |
1408 | +Software Foundation; we sometimes make exceptions for this. Our |
1409 | +decision will be guided by the two goals of preserving the free status |
1410 | +of all derivatives of our free software and of promoting the sharing |
1411 | +and reuse of software generally. |
1412 | + |
1413 | + NO WARRANTY |
1414 | + |
1415 | + 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO |
1416 | +WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. |
1417 | +EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR |
1418 | +OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY |
1419 | +KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE |
1420 | +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
1421 | +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE |
1422 | +LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME |
1423 | +THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
1424 | + |
1425 | + 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN |
1426 | +WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY |
1427 | +AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU |
1428 | +FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR |
1429 | +CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE |
1430 | +LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING |
1431 | +RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A |
1432 | +FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF |
1433 | +SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH |
1434 | +DAMAGES. |
1435 | + |
1436 | + END OF TERMS AND CONDITIONS |
1437 | + |
1438 | + How to Apply These Terms to Your New Libraries |
1439 | + |
1440 | + If you develop a new library, and you want it to be of the greatest |
1441 | +possible use to the public, we recommend making it free software that |
1442 | +everyone can redistribute and change. You can do so by permitting |
1443 | +redistribution under these terms (or, alternatively, under the terms of the |
1444 | +ordinary General Public License). |
1445 | + |
1446 | + To apply these terms, attach the following notices to the library. It is |
1447 | +safest to attach them to the start of each source file to most effectively |
1448 | +convey the exclusion of warranty; and each file should have at least the |
1449 | +"copyright" line and a pointer to where the full notice is found. |
1450 | + |
1451 | + <one line to give the library's name and a brief idea of what it does.> |
1452 | + Copyright (C) <year> <name of author> |
1453 | + |
1454 | + This library is free software; you can redistribute it and/or |
1455 | + modify it under the terms of the GNU Lesser General Public |
1456 | + License as published by the Free Software Foundation; either |
1457 | + version 2.1 of the License, or (at your option) any later version. |
1458 | + |
1459 | + This library is distributed in the hope that it will be useful, |
1460 | + but WITHOUT ANY WARRANTY; without even the implied warranty of |
1461 | + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1462 | + Lesser General Public License for more details. |
1463 | + |
1464 | + You should have received a copy of the GNU Lesser General Public |
1465 | + License along with this library; if not, write to the Free Software |
1466 | + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
1467 | + |
1468 | +Also add information on how to contact you by electronic and paper mail. |
1469 | + |
1470 | +You should also get your employer (if you work as a programmer) or your |
1471 | +school, if any, to sign a "copyright disclaimer" for the library, if |
1472 | +necessary. Here is a sample; alter the names: |
1473 | + |
1474 | + Yoyodyne, Inc., hereby disclaims all copyright interest in the |
1475 | + library `Frob' (a library for tweaking knobs) written by James Random Hacker. |
1476 | + |
1477 | + <signature of Ty Coon>, 1 April 1990 |
1478 | + Ty Coon, President of Vice |
1479 | + |
1480 | +That's all there is to it! |
1481 | + |
1482 | + |
1483 | |
1484 | === modified file 'data/inc/lib/tiny_mce/plugins/advhr/css/advhr.css' |
1485 | --- data/inc/lib/tiny_mce/plugins/advhr/css/advhr.css 2009-08-22 12:41:23 +0000 |
1486 | +++ data/inc/lib/tiny_mce/plugins/advhr/css/advhr.css 2009-10-25 20:25:23 +0000 |
1487 | @@ -1,5 +1,5 @@ |
1488 | -input.radio {border:1px none #000; background:transparent; vertical-align:middle;} |
1489 | -.panel_wrapper div.current {height:80px;} |
1490 | -#width {width:50px; vertical-align:middle;} |
1491 | -#width2 {width:50px; vertical-align:middle;} |
1492 | -#size {width:100px;} |
1493 | +input.radio {border:1px none #000; background:transparent; vertical-align:middle;} |
1494 | +.panel_wrapper div.current {height:80px;} |
1495 | +#width {width:50px; vertical-align:middle;} |
1496 | +#width2 {width:50px; vertical-align:middle;} |
1497 | +#size {width:100px;} |
1498 | |
1499 | === modified file 'data/inc/lib/tiny_mce/plugins/advhr/rule.htm' |
1500 | --- data/inc/lib/tiny_mce/plugins/advhr/rule.htm 2009-08-22 12:41:23 +0000 |
1501 | +++ data/inc/lib/tiny_mce/plugins/advhr/rule.htm 2009-10-25 20:25:23 +0000 |
1502 | @@ -1,62 +1,62 @@ |
1503 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1504 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
1505 | -<head> |
1506 | - <title>{#advhr.advhr_desc}</title> |
1507 | - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
1508 | - <script type="text/javascript" src="js/rule.js"></script> |
1509 | - <script type="text/javascript" src="../../utils/mctabs.js"></script> |
1510 | - <script type="text/javascript" src="../../utils/form_utils.js"></script> |
1511 | - <link href="css/advhr.css" rel="stylesheet" type="text/css" /> |
1512 | -</head> |
1513 | -<body> |
1514 | -<form onsubmit="AdvHRDialog.update();return false;" action="#"> |
1515 | - <div class="tabs"> |
1516 | - <ul> |
1517 | - <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advhr.advhr_desc}</a></span></li> |
1518 | - </ul> |
1519 | - </div> |
1520 | - |
1521 | - <div class="panel_wrapper"> |
1522 | - <div id="general_panel" class="panel current"> |
1523 | - <table border="0" cellpadding="4" cellspacing="0"> |
1524 | - <tr> |
1525 | - <td><label for="width">{#advhr_dlg.width}</label></td> |
1526 | - <td class="nowrap"> |
1527 | - <input id="width" name="width" type="text" value="" class="mceFocus" /> |
1528 | - <select name="width2" id="width2"> |
1529 | - <option value="">px</option> |
1530 | - <option value="%">%</option> |
1531 | - </select> |
1532 | - </td> |
1533 | - </tr> |
1534 | - <tr> |
1535 | - <td><label for="size">{#advhr_dlg.size}</label></td> |
1536 | - <td><select id="size" name="size"> |
1537 | - <option value="">Normal</option> |
1538 | - <option value="1">1</option> |
1539 | - <option value="2">2</option> |
1540 | - <option value="3">3</option> |
1541 | - <option value="4">4</option> |
1542 | - <option value="5">5</option> |
1543 | - </select></td> |
1544 | - </tr> |
1545 | - <tr> |
1546 | - <td><label for="noshade">{#advhr_dlg.noshade}</label></td> |
1547 | - <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td> |
1548 | - </tr> |
1549 | - </table> |
1550 | - </div> |
1551 | - </div> |
1552 | - |
1553 | - <div class="mceActionPanel"> |
1554 | - <div style="float: left"> |
1555 | - <input type="submit" id="insert" name="insert" value="{#insert}" /> |
1556 | - </div> |
1557 | - |
1558 | - <div style="float: right"> |
1559 | - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
1560 | - </div> |
1561 | - </div> |
1562 | -</form> |
1563 | -</body> |
1564 | -</html> |
1565 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1566 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
1567 | +<head> |
1568 | + <title>{#advhr.advhr_desc}</title> |
1569 | + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
1570 | + <script type="text/javascript" src="js/rule.js"></script> |
1571 | + <script type="text/javascript" src="../../utils/mctabs.js"></script> |
1572 | + <script type="text/javascript" src="../../utils/form_utils.js"></script> |
1573 | + <link href="css/advhr.css" rel="stylesheet" type="text/css" /> |
1574 | +</head> |
1575 | +<body> |
1576 | +<form onsubmit="AdvHRDialog.update();return false;" action="#"> |
1577 | + <div class="tabs"> |
1578 | + <ul> |
1579 | + <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advhr.advhr_desc}</a></span></li> |
1580 | + </ul> |
1581 | + </div> |
1582 | + |
1583 | + <div class="panel_wrapper"> |
1584 | + <div id="general_panel" class="panel current"> |
1585 | + <table border="0" cellpadding="4" cellspacing="0"> |
1586 | + <tr> |
1587 | + <td><label for="width">{#advhr_dlg.width}</label></td> |
1588 | + <td class="nowrap"> |
1589 | + <input id="width" name="width" type="text" value="" class="mceFocus" /> |
1590 | + <select name="width2" id="width2"> |
1591 | + <option value="">px</option> |
1592 | + <option value="%">%</option> |
1593 | + </select> |
1594 | + </td> |
1595 | + </tr> |
1596 | + <tr> |
1597 | + <td><label for="size">{#advhr_dlg.size}</label></td> |
1598 | + <td><select id="size" name="size"> |
1599 | + <option value="">Normal</option> |
1600 | + <option value="1">1</option> |
1601 | + <option value="2">2</option> |
1602 | + <option value="3">3</option> |
1603 | + <option value="4">4</option> |
1604 | + <option value="5">5</option> |
1605 | + </select></td> |
1606 | + </tr> |
1607 | + <tr> |
1608 | + <td><label for="noshade">{#advhr_dlg.noshade}</label></td> |
1609 | + <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td> |
1610 | + </tr> |
1611 | + </table> |
1612 | + </div> |
1613 | + </div> |
1614 | + |
1615 | + <div class="mceActionPanel"> |
1616 | + <div style="float: left"> |
1617 | + <input type="submit" id="insert" name="insert" value="{#insert}" /> |
1618 | + </div> |
1619 | + |
1620 | + <div style="float: right"> |
1621 | + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
1622 | + </div> |
1623 | + </div> |
1624 | +</form> |
1625 | +</body> |
1626 | +</html> |
1627 | |
1628 | === modified file 'data/inc/lib/tiny_mce/plugins/advimage/css/advimage.css' |
1629 | --- data/inc/lib/tiny_mce/plugins/advimage/css/advimage.css 2009-08-22 12:41:23 +0000 |
1630 | +++ data/inc/lib/tiny_mce/plugins/advimage/css/advimage.css 2009-10-25 20:25:24 +0000 |
1631 | @@ -1,13 +1,13 @@ |
1632 | -#src_list, #over_list, #out_list {width:280px;} |
1633 | -.mceActionPanel {margin-top:7px;} |
1634 | -.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;} |
1635 | -.checkbox {border:0;} |
1636 | -.panel_wrapper div.current {height:305px;} |
1637 | -#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;} |
1638 | -#align, #classlist {width:150px;} |
1639 | -#width, #height {vertical-align:middle; width:50px; text-align:center;} |
1640 | -#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;} |
1641 | -#class_list {width:180px;} |
1642 | -input {width: 280px;} |
1643 | -#constrain, #onmousemovecheck {width:auto;} |
1644 | -#id, #dir, #lang, #usemap, #longdesc {width:200px;} |
1645 | +#src_list, #over_list, #out_list {width:280px;} |
1646 | +.mceActionPanel {margin-top:7px;} |
1647 | +.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;} |
1648 | +.checkbox {border:0;} |
1649 | +.panel_wrapper div.current {height:305px;} |
1650 | +#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;} |
1651 | +#align, #classlist {width:150px;} |
1652 | +#width, #height {vertical-align:middle; width:50px; text-align:center;} |
1653 | +#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;} |
1654 | +#class_list {width:180px;} |
1655 | +input {width: 280px;} |
1656 | +#constrain, #onmousemovecheck {width:auto;} |
1657 | +#id, #dir, #lang, #usemap, #longdesc {width:200px;} |
1658 | |
1659 | === modified file 'data/inc/lib/tiny_mce/plugins/advimage/image.htm' |
1660 | --- data/inc/lib/tiny_mce/plugins/advimage/image.htm 2009-08-22 12:41:23 +0000 |
1661 | +++ data/inc/lib/tiny_mce/plugins/advimage/image.htm 2009-10-25 20:25:24 +0000 |
1662 | @@ -1,237 +1,237 @@ |
1663 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1664 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
1665 | -<head> |
1666 | - <title>{#advimage_dlg.dialog_title}</title> |
1667 | - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
1668 | - <script type="text/javascript" src="../../utils/mctabs.js"></script> |
1669 | - <script type="text/javascript" src="../../utils/form_utils.js"></script> |
1670 | - <script type="text/javascript" src="../../utils/validate.js"></script> |
1671 | - <script type="text/javascript" src="../../utils/editable_selects.js"></script> |
1672 | - <script type="text/javascript" src="js/image.js"></script> |
1673 | - <link href="css/advimage.css" rel="stylesheet" type="text/css" /> |
1674 | -</head> |
1675 | -<body id="advimage" style="display: none"> |
1676 | - <form onsubmit="ImageDialog.insert();return false;" action="#"> |
1677 | - <div class="tabs"> |
1678 | - <ul> |
1679 | - <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li> |
1680 | - <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li> |
1681 | - <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li> |
1682 | - </ul> |
1683 | - </div> |
1684 | - |
1685 | - <div class="panel_wrapper"> |
1686 | - <div id="general_panel" class="panel current"> |
1687 | - <fieldset> |
1688 | - <legend>{#advimage_dlg.general}</legend> |
1689 | - |
1690 | - <table class="properties"> |
1691 | - <tr> |
1692 | - <td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td> |
1693 | - <td colspan="2"><table border="0" cellspacing="0" cellpadding="0"> |
1694 | - <tr> |
1695 | - <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" /></td> |
1696 | - <td id="srcbrowsercontainer"> </td> |
1697 | - </tr> |
1698 | - </table></td> |
1699 | - </tr> |
1700 | - <tr> |
1701 | - <td><label for="src_list">{#advimage_dlg.image_list}</label></td> |
1702 | - <td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"><option value=""></option></select></td> |
1703 | - </tr> |
1704 | - <tr> |
1705 | - <td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td> |
1706 | - <td colspan="2"><input id="alt" name="alt" type="text" value="" /></td> |
1707 | - </tr> |
1708 | - <tr> |
1709 | - <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td> |
1710 | - <td colspan="2"><input id="title" name="title" type="text" value="" /></td> |
1711 | - </tr> |
1712 | - </table> |
1713 | - </fieldset> |
1714 | - |
1715 | - <fieldset> |
1716 | - <legend>{#advimage_dlg.preview}</legend> |
1717 | - <div id="prev"></div> |
1718 | - </fieldset> |
1719 | - </div> |
1720 | - |
1721 | - <div id="appearance_panel" class="panel"> |
1722 | - <fieldset> |
1723 | - <legend>{#advimage_dlg.tab_appearance}</legend> |
1724 | - |
1725 | - <table border="0" cellpadding="4" cellspacing="0"> |
1726 | - <tr> |
1727 | - <td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td> |
1728 | - <td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();"> |
1729 | - <option value="">{#not_set}</option> |
1730 | - <option value="baseline">{#advimage_dlg.align_baseline}</option> |
1731 | - <option value="top">{#advimage_dlg.align_top}</option> |
1732 | - <option value="middle">{#advimage_dlg.align_middle}</option> |
1733 | - <option value="bottom">{#advimage_dlg.align_bottom}</option> |
1734 | - <option value="text-top">{#advimage_dlg.align_texttop}</option> |
1735 | - <option value="text-bottom">{#advimage_dlg.align_textbottom}</option> |
1736 | - <option value="left">{#advimage_dlg.align_left}</option> |
1737 | - <option value="right">{#advimage_dlg.align_right}</option> |
1738 | - </select> |
1739 | - </td> |
1740 | - <td rowspan="6" valign="top"> |
1741 | - <div class="alignPreview"> |
1742 | - <img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" /> |
1743 | - Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam |
1744 | - nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum |
1745 | - edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam |
1746 | - erat volutpat. |
1747 | - </div> |
1748 | - </td> |
1749 | - </tr> |
1750 | - |
1751 | - <tr> |
1752 | - <td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td> |
1753 | - <td class="nowrap"> |
1754 | - <input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" /> x |
1755 | - <input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" /> px |
1756 | - </td> |
1757 | - </tr> |
1758 | - |
1759 | - <tr> |
1760 | - <td> </td> |
1761 | - <td><table border="0" cellpadding="0" cellspacing="0"> |
1762 | - <tr> |
1763 | - <td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td> |
1764 | - <td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td> |
1765 | - </tr> |
1766 | - </table></td> |
1767 | - </tr> |
1768 | - |
1769 | - <tr> |
1770 | - <td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td> |
1771 | - <td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" /> |
1772 | - </td> |
1773 | - </tr> |
1774 | - |
1775 | - <tr> |
1776 | - <td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td> |
1777 | - <td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" /></td> |
1778 | - </tr> |
1779 | - |
1780 | - <tr> |
1781 | - <td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td> |
1782 | - <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" /></td> |
1783 | - </tr> |
1784 | - |
1785 | - <tr> |
1786 | - <td><label for="class_list">{#class_name}</label></td> |
1787 | - <td colspan="2"><select id="class_list" name="class_list" class="mceEditableSelect"><option value=""></option></select></td> |
1788 | - </tr> |
1789 | - |
1790 | - <tr> |
1791 | - <td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td> |
1792 | - <td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td> |
1793 | - </tr> |
1794 | - |
1795 | - <!-- <tr> |
1796 | - <td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td> |
1797 | - <td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
1798 | - </tr> --> |
1799 | - </table> |
1800 | - </fieldset> |
1801 | - </div> |
1802 | - |
1803 | - <div id="advanced_panel" class="panel"> |
1804 | - <fieldset> |
1805 | - <legend>{#advimage_dlg.swap_image}</legend> |
1806 | - |
1807 | - <input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" /> |
1808 | - <label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label> |
1809 | - |
1810 | - <table border="0" cellpadding="4" cellspacing="0" width="100%"> |
1811 | - <tr> |
1812 | - <td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td> |
1813 | - <td><table border="0" cellspacing="0" cellpadding="0"> |
1814 | - <tr> |
1815 | - <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> |
1816 | - <td id="onmouseoversrccontainer"> </td> |
1817 | - </tr> |
1818 | - </table></td> |
1819 | - </tr> |
1820 | - <tr> |
1821 | - <td><label for="over_list">{#advimage_dlg.image_list}</label></td> |
1822 | - <td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td> |
1823 | - </tr> |
1824 | - <tr> |
1825 | - <td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td> |
1826 | - <td class="column2"><table border="0" cellspacing="0" cellpadding="0"> |
1827 | - <tr> |
1828 | - <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> |
1829 | - <td id="onmouseoutsrccontainer"> </td> |
1830 | - </tr> |
1831 | - </table></td> |
1832 | - </tr> |
1833 | - <tr> |
1834 | - <td><label for="out_list">{#advimage_dlg.image_list}</label></td> |
1835 | - <td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td> |
1836 | - </tr> |
1837 | - </table> |
1838 | - </fieldset> |
1839 | - |
1840 | - <fieldset> |
1841 | - <legend>{#advimage_dlg.misc}</legend> |
1842 | - |
1843 | - <table border="0" cellpadding="4" cellspacing="0"> |
1844 | - <tr> |
1845 | - <td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td> |
1846 | - <td><input id="id" name="id" type="text" value="" /></td> |
1847 | - </tr> |
1848 | - |
1849 | - <tr> |
1850 | - <td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td> |
1851 | - <td> |
1852 | - <select id="dir" name="dir" onchange="ImageDialog.changeAppearance();"> |
1853 | - <option value="">{#not_set}</option> |
1854 | - <option value="ltr">{#advimage_dlg.ltr}</option> |
1855 | - <option value="rtl">{#advimage_dlg.rtl}</option> |
1856 | - </select> |
1857 | - </td> |
1858 | - </tr> |
1859 | - |
1860 | - <tr> |
1861 | - <td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td> |
1862 | - <td> |
1863 | - <input id="lang" name="lang" type="text" value="" /> |
1864 | - </td> |
1865 | - </tr> |
1866 | - |
1867 | - <tr> |
1868 | - <td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td> |
1869 | - <td> |
1870 | - <input id="usemap" name="usemap" type="text" value="" /> |
1871 | - </td> |
1872 | - </tr> |
1873 | - |
1874 | - <tr> |
1875 | - <td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td> |
1876 | - <td><table border="0" cellspacing="0" cellpadding="0"> |
1877 | - <tr> |
1878 | - <td><input id="longdesc" name="longdesc" type="text" value="" /></td> |
1879 | - <td id="longdesccontainer"> </td> |
1880 | - </tr> |
1881 | - </table></td> |
1882 | - </tr> |
1883 | - </table> |
1884 | - </fieldset> |
1885 | - </div> |
1886 | - </div> |
1887 | - |
1888 | - <div class="mceActionPanel"> |
1889 | - <div style="float: left"> |
1890 | - <input type="submit" id="insert" name="insert" value="{#insert}" /> |
1891 | - </div> |
1892 | - |
1893 | - <div style="float: right"> |
1894 | - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
1895 | - </div> |
1896 | - </div> |
1897 | - </form> |
1898 | -</body> |
1899 | -</html> |
1900 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
1901 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
1902 | +<head> |
1903 | + <title>{#advimage_dlg.dialog_title}</title> |
1904 | + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
1905 | + <script type="text/javascript" src="../../utils/mctabs.js"></script> |
1906 | + <script type="text/javascript" src="../../utils/form_utils.js"></script> |
1907 | + <script type="text/javascript" src="../../utils/validate.js"></script> |
1908 | + <script type="text/javascript" src="../../utils/editable_selects.js"></script> |
1909 | + <script type="text/javascript" src="js/image.js"></script> |
1910 | + <link href="css/advimage.css" rel="stylesheet" type="text/css" /> |
1911 | +</head> |
1912 | +<body id="advimage" style="display: none"> |
1913 | + <form onsubmit="ImageDialog.insert();return false;" action="#"> |
1914 | + <div class="tabs"> |
1915 | + <ul> |
1916 | + <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advimage_dlg.tab_general}</a></span></li> |
1917 | + <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#advimage_dlg.tab_appearance}</a></span></li> |
1918 | + <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advimage_dlg.tab_advanced}</a></span></li> |
1919 | + </ul> |
1920 | + </div> |
1921 | + |
1922 | + <div class="panel_wrapper"> |
1923 | + <div id="general_panel" class="panel current"> |
1924 | + <fieldset> |
1925 | + <legend>{#advimage_dlg.general}</legend> |
1926 | + |
1927 | + <table class="properties"> |
1928 | + <tr> |
1929 | + <td class="column1"><label id="srclabel" for="src">{#advimage_dlg.src}</label></td> |
1930 | + <td colspan="2"><table border="0" cellspacing="0" cellpadding="0"> |
1931 | + <tr> |
1932 | + <td><input name="src" type="text" id="src" value="" class="mceFocus" onchange="ImageDialog.showPreviewImage(this.value);" /></td> |
1933 | + <td id="srcbrowsercontainer"> </td> |
1934 | + </tr> |
1935 | + </table></td> |
1936 | + </tr> |
1937 | + <tr> |
1938 | + <td><label for="src_list">{#advimage_dlg.image_list}</label></td> |
1939 | + <td><select id="src_list" name="src_list" onchange="document.getElementById('src').value=this.options[this.selectedIndex].value;document.getElementById('alt').value=this.options[this.selectedIndex].text;document.getElementById('title').value=this.options[this.selectedIndex].text;ImageDialog.showPreviewImage(this.options[this.selectedIndex].value);"><option value=""></option></select></td> |
1940 | + </tr> |
1941 | + <tr> |
1942 | + <td class="column1"><label id="altlabel" for="alt">{#advimage_dlg.alt}</label></td> |
1943 | + <td colspan="2"><input id="alt" name="alt" type="text" value="" /></td> |
1944 | + </tr> |
1945 | + <tr> |
1946 | + <td class="column1"><label id="titlelabel" for="title">{#advimage_dlg.title}</label></td> |
1947 | + <td colspan="2"><input id="title" name="title" type="text" value="" /></td> |
1948 | + </tr> |
1949 | + </table> |
1950 | + </fieldset> |
1951 | + |
1952 | + <fieldset> |
1953 | + <legend>{#advimage_dlg.preview}</legend> |
1954 | + <div id="prev"></div> |
1955 | + </fieldset> |
1956 | + </div> |
1957 | + |
1958 | + <div id="appearance_panel" class="panel"> |
1959 | + <fieldset> |
1960 | + <legend>{#advimage_dlg.tab_appearance}</legend> |
1961 | + |
1962 | + <table border="0" cellpadding="4" cellspacing="0"> |
1963 | + <tr> |
1964 | + <td class="column1"><label id="alignlabel" for="align">{#advimage_dlg.align}</label></td> |
1965 | + <td><select id="align" name="align" onchange="ImageDialog.updateStyle('align');ImageDialog.changeAppearance();"> |
1966 | + <option value="">{#not_set}</option> |
1967 | + <option value="baseline">{#advimage_dlg.align_baseline}</option> |
1968 | + <option value="top">{#advimage_dlg.align_top}</option> |
1969 | + <option value="middle">{#advimage_dlg.align_middle}</option> |
1970 | + <option value="bottom">{#advimage_dlg.align_bottom}</option> |
1971 | + <option value="text-top">{#advimage_dlg.align_texttop}</option> |
1972 | + <option value="text-bottom">{#advimage_dlg.align_textbottom}</option> |
1973 | + <option value="left">{#advimage_dlg.align_left}</option> |
1974 | + <option value="right">{#advimage_dlg.align_right}</option> |
1975 | + </select> |
1976 | + </td> |
1977 | + <td rowspan="6" valign="top"> |
1978 | + <div class="alignPreview"> |
1979 | + <img id="alignSampleImg" src="img/sample.gif" alt="{#advimage_dlg.example_img}" /> |
1980 | + Lorem ipsum, Dolor sit amet, consectetuer adipiscing loreum ipsum edipiscing elit, sed diam |
1981 | + nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.Loreum ipsum |
1982 | + edipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam |
1983 | + erat volutpat. |
1984 | + </div> |
1985 | + </td> |
1986 | + </tr> |
1987 | + |
1988 | + <tr> |
1989 | + <td class="column1"><label id="widthlabel" for="width">{#advimage_dlg.dimensions}</label></td> |
1990 | + <td class="nowrap"> |
1991 | + <input name="width" type="text" id="width" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeHeight();" /> x |
1992 | + <input name="height" type="text" id="height" value="" size="5" maxlength="5" class="size" onchange="ImageDialog.changeWidth();" /> px |
1993 | + </td> |
1994 | + </tr> |
1995 | + |
1996 | + <tr> |
1997 | + <td> </td> |
1998 | + <td><table border="0" cellpadding="0" cellspacing="0"> |
1999 | + <tr> |
2000 | + <td><input id="constrain" type="checkbox" name="constrain" class="checkbox" /></td> |
2001 | + <td><label id="constrainlabel" for="constrain">{#advimage_dlg.constrain_proportions}</label></td> |
2002 | + </tr> |
2003 | + </table></td> |
2004 | + </tr> |
2005 | + |
2006 | + <tr> |
2007 | + <td class="column1"><label id="vspacelabel" for="vspace">{#advimage_dlg.vspace}</label></td> |
2008 | + <td><input name="vspace" type="text" id="vspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('vspace');ImageDialog.changeAppearance();" /> |
2009 | + </td> |
2010 | + </tr> |
2011 | + |
2012 | + <tr> |
2013 | + <td class="column1"><label id="hspacelabel" for="hspace">{#advimage_dlg.hspace}</label></td> |
2014 | + <td><input name="hspace" type="text" id="hspace" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('hspace');ImageDialog.changeAppearance();" /></td> |
2015 | + </tr> |
2016 | + |
2017 | + <tr> |
2018 | + <td class="column1"><label id="borderlabel" for="border">{#advimage_dlg.border}</label></td> |
2019 | + <td><input id="border" name="border" type="text" value="" size="3" maxlength="3" class="number" onchange="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" onblur="ImageDialog.updateStyle('border');ImageDialog.changeAppearance();" /></td> |
2020 | + </tr> |
2021 | + |
2022 | + <tr> |
2023 | + <td><label for="class_list">{#class_name}</label></td> |
2024 | + <td colspan="2"><select id="class_list" name="class_list" class="mceEditableSelect"><option value=""></option></select></td> |
2025 | + </tr> |
2026 | + |
2027 | + <tr> |
2028 | + <td class="column1"><label id="stylelabel" for="style">{#advimage_dlg.style}</label></td> |
2029 | + <td colspan="2"><input id="style" name="style" type="text" value="" onchange="ImageDialog.changeAppearance();" /></td> |
2030 | + </tr> |
2031 | + |
2032 | + <!-- <tr> |
2033 | + <td class="column1"><label id="classeslabel" for="classes">{#advimage_dlg.classes}</label></td> |
2034 | + <td colspan="2"><input id="classes" name="classes" type="text" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
2035 | + </tr> --> |
2036 | + </table> |
2037 | + </fieldset> |
2038 | + </div> |
2039 | + |
2040 | + <div id="advanced_panel" class="panel"> |
2041 | + <fieldset> |
2042 | + <legend>{#advimage_dlg.swap_image}</legend> |
2043 | + |
2044 | + <input type="checkbox" id="onmousemovecheck" name="onmousemovecheck" class="checkbox" onclick="ImageDialog.setSwapImage(this.checked);" /> |
2045 | + <label id="onmousemovechecklabel" for="onmousemovecheck">{#advimage_dlg.alt_image}</label> |
2046 | + |
2047 | + <table border="0" cellpadding="4" cellspacing="0" width="100%"> |
2048 | + <tr> |
2049 | + <td class="column1"><label id="onmouseoversrclabel" for="onmouseoversrc">{#advimage_dlg.mouseover}</label></td> |
2050 | + <td><table border="0" cellspacing="0" cellpadding="0"> |
2051 | + <tr> |
2052 | + <td><input id="onmouseoversrc" name="onmouseoversrc" type="text" value="" /></td> |
2053 | + <td id="onmouseoversrccontainer"> </td> |
2054 | + </tr> |
2055 | + </table></td> |
2056 | + </tr> |
2057 | + <tr> |
2058 | + <td><label for="over_list">{#advimage_dlg.image_list}</label></td> |
2059 | + <td><select id="over_list" name="over_list" onchange="document.getElementById('onmouseoversrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td> |
2060 | + </tr> |
2061 | + <tr> |
2062 | + <td class="column1"><label id="onmouseoutsrclabel" for="onmouseoutsrc">{#advimage_dlg.mouseout}</label></td> |
2063 | + <td class="column2"><table border="0" cellspacing="0" cellpadding="0"> |
2064 | + <tr> |
2065 | + <td><input id="onmouseoutsrc" name="onmouseoutsrc" type="text" value="" /></td> |
2066 | + <td id="onmouseoutsrccontainer"> </td> |
2067 | + </tr> |
2068 | + </table></td> |
2069 | + </tr> |
2070 | + <tr> |
2071 | + <td><label for="out_list">{#advimage_dlg.image_list}</label></td> |
2072 | + <td><select id="out_list" name="out_list" onchange="document.getElementById('onmouseoutsrc').value=this.options[this.selectedIndex].value;"><option value=""></option></select></td> |
2073 | + </tr> |
2074 | + </table> |
2075 | + </fieldset> |
2076 | + |
2077 | + <fieldset> |
2078 | + <legend>{#advimage_dlg.misc}</legend> |
2079 | + |
2080 | + <table border="0" cellpadding="4" cellspacing="0"> |
2081 | + <tr> |
2082 | + <td class="column1"><label id="idlabel" for="id">{#advimage_dlg.id}</label></td> |
2083 | + <td><input id="id" name="id" type="text" value="" /></td> |
2084 | + </tr> |
2085 | + |
2086 | + <tr> |
2087 | + <td class="column1"><label id="dirlabel" for="dir">{#advimage_dlg.langdir}</label></td> |
2088 | + <td> |
2089 | + <select id="dir" name="dir" onchange="ImageDialog.changeAppearance();"> |
2090 | + <option value="">{#not_set}</option> |
2091 | + <option value="ltr">{#advimage_dlg.ltr}</option> |
2092 | + <option value="rtl">{#advimage_dlg.rtl}</option> |
2093 | + </select> |
2094 | + </td> |
2095 | + </tr> |
2096 | + |
2097 | + <tr> |
2098 | + <td class="column1"><label id="langlabel" for="lang">{#advimage_dlg.langcode}</label></td> |
2099 | + <td> |
2100 | + <input id="lang" name="lang" type="text" value="" /> |
2101 | + </td> |
2102 | + </tr> |
2103 | + |
2104 | + <tr> |
2105 | + <td class="column1"><label id="usemaplabel" for="usemap">{#advimage_dlg.map}</label></td> |
2106 | + <td> |
2107 | + <input id="usemap" name="usemap" type="text" value="" /> |
2108 | + </td> |
2109 | + </tr> |
2110 | + |
2111 | + <tr> |
2112 | + <td class="column1"><label id="longdesclabel" for="longdesc">{#advimage_dlg.long_desc}</label></td> |
2113 | + <td><table border="0" cellspacing="0" cellpadding="0"> |
2114 | + <tr> |
2115 | + <td><input id="longdesc" name="longdesc" type="text" value="" /></td> |
2116 | + <td id="longdesccontainer"> </td> |
2117 | + </tr> |
2118 | + </table></td> |
2119 | + </tr> |
2120 | + </table> |
2121 | + </fieldset> |
2122 | + </div> |
2123 | + </div> |
2124 | + |
2125 | + <div class="mceActionPanel"> |
2126 | + <div style="float: left"> |
2127 | + <input type="submit" id="insert" name="insert" value="{#insert}" /> |
2128 | + </div> |
2129 | + |
2130 | + <div style="float: right"> |
2131 | + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
2132 | + </div> |
2133 | + </div> |
2134 | + </form> |
2135 | +</body> |
2136 | +</html> |
2137 | |
2138 | === modified file 'data/inc/lib/tiny_mce/plugins/advlink/css/advlink.css' |
2139 | --- data/inc/lib/tiny_mce/plugins/advlink/css/advlink.css 2009-08-22 12:41:23 +0000 |
2140 | +++ data/inc/lib/tiny_mce/plugins/advlink/css/advlink.css 2009-10-25 20:25:24 +0000 |
2141 | @@ -1,8 +1,8 @@ |
2142 | -.mceLinkList, .mceAnchorList, #targetlist {width:280px;} |
2143 | -.mceActionPanel {margin-top:7px;} |
2144 | -.panel_wrapper div.current {height:320px;} |
2145 | -#classlist, #title, #href {width:280px;} |
2146 | -#popupurl, #popupname {width:200px;} |
2147 | -#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;} |
2148 | -#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;} |
2149 | -#events_panel input {width:200px;} |
2150 | +.mceLinkList, .mceAnchorList, #targetlist {width:280px;} |
2151 | +.mceActionPanel {margin-top:7px;} |
2152 | +.panel_wrapper div.current {height:320px;} |
2153 | +#classlist, #title, #href {width:280px;} |
2154 | +#popupurl, #popupname {width:200px;} |
2155 | +#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;} |
2156 | +#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;} |
2157 | +#events_panel input {width:200px;} |
2158 | |
2159 | === modified file 'data/inc/lib/tiny_mce/plugins/advlink/link.htm' |
2160 | --- data/inc/lib/tiny_mce/plugins/advlink/link.htm 2009-08-22 12:41:23 +0000 |
2161 | +++ data/inc/lib/tiny_mce/plugins/advlink/link.htm 2009-10-25 20:25:24 +0000 |
2162 | @@ -1,338 +1,338 @@ |
2163 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2164 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
2165 | -<head> |
2166 | - <title>{#advlink_dlg.title}</title> |
2167 | - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
2168 | - <script type="text/javascript" src="../../utils/mctabs.js"></script> |
2169 | - <script type="text/javascript" src="../../utils/form_utils.js"></script> |
2170 | - <script type="text/javascript" src="../../utils/validate.js"></script> |
2171 | - <script type="text/javascript" src="js/advlink.js"></script> |
2172 | - <link href="css/advlink.css" rel="stylesheet" type="text/css" /> |
2173 | -</head> |
2174 | -<body id="advlink" style="display: none"> |
2175 | - <form onsubmit="insertAction();return false;" action="#"> |
2176 | - <div class="tabs"> |
2177 | - <ul> |
2178 | - <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li> |
2179 | - <li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li> |
2180 | - <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li> |
2181 | - <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li> |
2182 | - </ul> |
2183 | - </div> |
2184 | - |
2185 | - <div class="panel_wrapper"> |
2186 | - <div id="general_panel" class="panel current"> |
2187 | - <fieldset> |
2188 | - <legend>{#advlink_dlg.general_props}</legend> |
2189 | - |
2190 | - <table border="0" cellpadding="4" cellspacing="0"> |
2191 | - <tr> |
2192 | - <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td> |
2193 | - <td><table border="0" cellspacing="0" cellpadding="0"> |
2194 | - <tr> |
2195 | - <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td> |
2196 | - <td id="hrefbrowsercontainer"> </td> |
2197 | - </tr> |
2198 | - </table></td> |
2199 | - </tr> |
2200 | - <tr id="linklisthrefrow"> |
2201 | - <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td> |
2202 | - <td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td> |
2203 | - </tr> |
2204 | - <tr> |
2205 | - <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td> |
2206 | - <td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td> |
2207 | - </tr> |
2208 | - <tr> |
2209 | - <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td> |
2210 | - <td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td> |
2211 | - </tr> |
2212 | - <tr> |
2213 | - <td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td> |
2214 | - <td><input id="title" name="title" type="text" value="" /></td> |
2215 | - </tr> |
2216 | - <tr> |
2217 | - <td><label id="classlabel" for="classlist">{#class_name}</label></td> |
2218 | - <td> |
2219 | - <select id="classlist" name="classlist" onchange="changeClass();"> |
2220 | - <option value="" selected="selected">{#not_set}</option> |
2221 | - </select> |
2222 | - </td> |
2223 | - </tr> |
2224 | - </table> |
2225 | - </fieldset> |
2226 | - </div> |
2227 | - |
2228 | - <div id="popup_panel" class="panel"> |
2229 | - <fieldset> |
2230 | - <legend>{#advlink_dlg.popup_props}</legend> |
2231 | - |
2232 | - <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" /> |
2233 | - <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label> |
2234 | - |
2235 | - <table border="0" cellpadding="0" cellspacing="4"> |
2236 | - <tr> |
2237 | - <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label> </td> |
2238 | - <td> |
2239 | - <table border="0" cellspacing="0" cellpadding="0"> |
2240 | - <tr> |
2241 | - <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td> |
2242 | - <td id="popupurlbrowsercontainer"> </td> |
2243 | - </tr> |
2244 | - </table> |
2245 | - </td> |
2246 | - </tr> |
2247 | - <tr> |
2248 | - <td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label> </td> |
2249 | - <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td> |
2250 | - </tr> |
2251 | - <tr> |
2252 | - <td class="nowrap"><label>{#advlink_dlg.popup_size}</label> </td> |
2253 | - <td class="nowrap"> |
2254 | - <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x |
2255 | - <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px |
2256 | - </td> |
2257 | - </tr> |
2258 | - <tr> |
2259 | - <td class="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label> </td> |
2260 | - <td class="nowrap"> |
2261 | - <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> / |
2262 | - <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center) |
2263 | - </td> |
2264 | - </tr> |
2265 | - </table> |
2266 | - |
2267 | - <fieldset> |
2268 | - <legend>{#advlink_dlg.popup_opts}</legend> |
2269 | - |
2270 | - <table border="0" cellpadding="0" cellspacing="4"> |
2271 | - <tr> |
2272 | - <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td> |
2273 | - <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td> |
2274 | - <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td> |
2275 | - <td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td> |
2276 | - </tr> |
2277 | - <tr> |
2278 | - <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td> |
2279 | - <td class="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td> |
2280 | - <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td> |
2281 | - <td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td> |
2282 | - </tr> |
2283 | - <tr> |
2284 | - <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td> |
2285 | - <td class="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td> |
2286 | - <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td> |
2287 | - <td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td> |
2288 | - </tr> |
2289 | - <tr> |
2290 | - <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td> |
2291 | - <td class="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td> |
2292 | - <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td> |
2293 | - <td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td> |
2294 | - </tr> |
2295 | - </table> |
2296 | - </fieldset> |
2297 | - </fieldset> |
2298 | - </div> |
2299 | - |
2300 | - <div id="advanced_panel" class="panel"> |
2301 | - <fieldset> |
2302 | - <legend>{#advlink_dlg.advanced_props}</legend> |
2303 | - |
2304 | - <table border="0" cellpadding="0" cellspacing="4"> |
2305 | - <tr> |
2306 | - <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td> |
2307 | - <td><input id="id" name="id" type="text" value="" /></td> |
2308 | - </tr> |
2309 | - |
2310 | - <tr> |
2311 | - <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td> |
2312 | - <td><input type="text" id="style" name="style" value="" /></td> |
2313 | - </tr> |
2314 | - |
2315 | - <tr> |
2316 | - <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td> |
2317 | - <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
2318 | - </tr> |
2319 | - |
2320 | - <tr> |
2321 | - <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td> |
2322 | - <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td> |
2323 | - </tr> |
2324 | - |
2325 | - <tr> |
2326 | - <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td> |
2327 | - <td> |
2328 | - <select id="dir" name="dir"> |
2329 | - <option value="">{#not_set}</option> |
2330 | - <option value="ltr">{#advlink_dlg.ltr}</option> |
2331 | - <option value="rtl">{#advlink_dlg.rtl}</option> |
2332 | - </select> |
2333 | - </td> |
2334 | - </tr> |
2335 | - |
2336 | - <tr> |
2337 | - <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td> |
2338 | - <td><input type="text" id="hreflang" name="hreflang" value="" /></td> |
2339 | - </tr> |
2340 | - |
2341 | - <tr> |
2342 | - <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td> |
2343 | - <td> |
2344 | - <input id="lang" name="lang" type="text" value="" /> |
2345 | - </td> |
2346 | - </tr> |
2347 | - |
2348 | - <tr> |
2349 | - <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td> |
2350 | - <td><input type="text" id="charset" name="charset" value="" /></td> |
2351 | - </tr> |
2352 | - |
2353 | - <tr> |
2354 | - <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td> |
2355 | - <td><input type="text" id="type" name="type" value="" /></td> |
2356 | - </tr> |
2357 | - |
2358 | - <tr> |
2359 | - <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td> |
2360 | - <td><select id="rel" name="rel"> |
2361 | - <option value="">{#not_set}</option> |
2362 | - <option value="lightbox">Lightbox</option> |
2363 | - <option value="alternate">Alternate</option> |
2364 | - <option value="designates">Designates</option> |
2365 | - <option value="stylesheet">Stylesheet</option> |
2366 | - <option value="start">Start</option> |
2367 | - <option value="next">Next</option> |
2368 | - <option value="prev">Prev</option> |
2369 | - <option value="contents">Contents</option> |
2370 | - <option value="index">Index</option> |
2371 | - <option value="glossary">Glossary</option> |
2372 | - <option value="copyright">Copyright</option> |
2373 | - <option value="chapter">Chapter</option> |
2374 | - <option value="subsection">Subsection</option> |
2375 | - <option value="appendix">Appendix</option> |
2376 | - <option value="help">Help</option> |
2377 | - <option value="bookmark">Bookmark</option> |
2378 | - <option value="nofollow">No Follow</option> |
2379 | - <option value="tag">Tag</option> |
2380 | - </select> |
2381 | - </td> |
2382 | - </tr> |
2383 | - |
2384 | - <tr> |
2385 | - <td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td> |
2386 | - <td><select id="rev" name="rev"> |
2387 | - <option value="">{#not_set}</option> |
2388 | - <option value="alternate">Alternate</option> |
2389 | - <option value="designates">Designates</option> |
2390 | - <option value="stylesheet">Stylesheet</option> |
2391 | - <option value="start">Start</option> |
2392 | - <option value="next">Next</option> |
2393 | - <option value="prev">Prev</option> |
2394 | - <option value="contents">Contents</option> |
2395 | - <option value="index">Index</option> |
2396 | - <option value="glossary">Glossary</option> |
2397 | - <option value="copyright">Copyright</option> |
2398 | - <option value="chapter">Chapter</option> |
2399 | - <option value="subsection">Subsection</option> |
2400 | - <option value="appendix">Appendix</option> |
2401 | - <option value="help">Help</option> |
2402 | - <option value="bookmark">Bookmark</option> |
2403 | - </select> |
2404 | - </td> |
2405 | - </tr> |
2406 | - |
2407 | - <tr> |
2408 | - <td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td> |
2409 | - <td><input type="text" id="tabindex" name="tabindex" value="" /></td> |
2410 | - </tr> |
2411 | - |
2412 | - <tr> |
2413 | - <td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td> |
2414 | - <td><input type="text" id="accesskey" name="accesskey" value="" /></td> |
2415 | - </tr> |
2416 | - </table> |
2417 | - </fieldset> |
2418 | - </div> |
2419 | - |
2420 | - <div id="events_panel" class="panel"> |
2421 | - <fieldset> |
2422 | - <legend>{#advlink_dlg.event_props}</legend> |
2423 | - |
2424 | - <table border="0" cellpadding="0" cellspacing="4"> |
2425 | - <tr> |
2426 | - <td class="column1"><label for="onfocus">onfocus</label></td> |
2427 | - <td><input id="onfocus" name="onfocus" type="text" value="" /></td> |
2428 | - </tr> |
2429 | - |
2430 | - <tr> |
2431 | - <td class="column1"><label for="onblur">onblur</label></td> |
2432 | - <td><input id="onblur" name="onblur" type="text" value="" /></td> |
2433 | - </tr> |
2434 | - |
2435 | - <tr> |
2436 | - <td class="column1"><label for="onclick">onclick</label></td> |
2437 | - <td><input id="onclick" name="onclick" type="text" value="" /></td> |
2438 | - </tr> |
2439 | - |
2440 | - <tr> |
2441 | - <td class="column1"><label for="ondblclick">ondblclick</label></td> |
2442 | - <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td> |
2443 | - </tr> |
2444 | - |
2445 | - <tr> |
2446 | - <td class="column1"><label for="onmousedown">onmousedown</label></td> |
2447 | - <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td> |
2448 | - </tr> |
2449 | - |
2450 | - <tr> |
2451 | - <td class="column1"><label for="onmouseup">onmouseup</label></td> |
2452 | - <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td> |
2453 | - </tr> |
2454 | - |
2455 | - <tr> |
2456 | - <td class="column1"><label for="onmouseover">onmouseover</label></td> |
2457 | - <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td> |
2458 | - </tr> |
2459 | - |
2460 | - <tr> |
2461 | - <td class="column1"><label for="onmousemove">onmousemove</label></td> |
2462 | - <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td> |
2463 | - </tr> |
2464 | - |
2465 | - <tr> |
2466 | - <td class="column1"><label for="onmouseout">onmouseout</label></td> |
2467 | - <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td> |
2468 | - </tr> |
2469 | - |
2470 | - <tr> |
2471 | - <td class="column1"><label for="onkeypress">onkeypress</label></td> |
2472 | - <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td> |
2473 | - </tr> |
2474 | - |
2475 | - <tr> |
2476 | - <td class="column1"><label for="onkeydown">onkeydown</label></td> |
2477 | - <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td> |
2478 | - </tr> |
2479 | - |
2480 | - <tr> |
2481 | - <td class="column1"><label for="onkeyup">onkeyup</label></td> |
2482 | - <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td> |
2483 | - </tr> |
2484 | - </table> |
2485 | - </fieldset> |
2486 | - </div> |
2487 | - </div> |
2488 | - |
2489 | - <div class="mceActionPanel"> |
2490 | - <div style="float: left"> |
2491 | - <input type="submit" id="insert" name="insert" value="{#insert}" /> |
2492 | - </div> |
2493 | - |
2494 | - <div style="float: right"> |
2495 | - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
2496 | - </div> |
2497 | - </div> |
2498 | - </form> |
2499 | -</body> |
2500 | -</html> |
2501 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2502 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
2503 | +<head> |
2504 | + <title>{#advlink_dlg.title}</title> |
2505 | + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
2506 | + <script type="text/javascript" src="../../utils/mctabs.js"></script> |
2507 | + <script type="text/javascript" src="../../utils/form_utils.js"></script> |
2508 | + <script type="text/javascript" src="../../utils/validate.js"></script> |
2509 | + <script type="text/javascript" src="js/advlink.js"></script> |
2510 | + <link href="css/advlink.css" rel="stylesheet" type="text/css" /> |
2511 | +</head> |
2512 | +<body id="advlink" style="display: none"> |
2513 | + <form onsubmit="insertAction();return false;" action="#"> |
2514 | + <div class="tabs"> |
2515 | + <ul> |
2516 | + <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advlink_dlg.general_tab}</a></span></li> |
2517 | + <li id="popup_tab"><span><a href="javascript:mcTabs.displayTab('popup_tab','popup_panel');" onmousedown="return false;">{#advlink_dlg.popup_tab}</a></span></li> |
2518 | + <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#advlink_dlg.events_tab}</a></span></li> |
2519 | + <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#advlink_dlg.advanced_tab}</a></span></li> |
2520 | + </ul> |
2521 | + </div> |
2522 | + |
2523 | + <div class="panel_wrapper"> |
2524 | + <div id="general_panel" class="panel current"> |
2525 | + <fieldset> |
2526 | + <legend>{#advlink_dlg.general_props}</legend> |
2527 | + |
2528 | + <table border="0" cellpadding="4" cellspacing="0"> |
2529 | + <tr> |
2530 | + <td class="nowrap"><label id="hreflabel" for="href">{#advlink_dlg.url}</label></td> |
2531 | + <td><table border="0" cellspacing="0" cellpadding="0"> |
2532 | + <tr> |
2533 | + <td><input id="href" name="href" type="text" class="mceFocus" value="" onchange="selectByValue(this.form,'linklisthref',this.value);" /></td> |
2534 | + <td id="hrefbrowsercontainer"> </td> |
2535 | + </tr> |
2536 | + </table></td> |
2537 | + </tr> |
2538 | + <tr id="linklisthrefrow"> |
2539 | + <td class="column1"><label for="linklisthref">{#advlink_dlg.list}</label></td> |
2540 | + <td colspan="2" id="linklisthrefcontainer"><select id="linklisthref"><option value=""></option></select></td> |
2541 | + </tr> |
2542 | + <tr> |
2543 | + <td class="column1"><label for="anchorlist">{#advlink_dlg.anchor_names}</label></td> |
2544 | + <td colspan="2" id="anchorlistcontainer"><select id="anchorlist"><option value=""></option></select></td> |
2545 | + </tr> |
2546 | + <tr> |
2547 | + <td><label id="targetlistlabel" for="targetlist">{#advlink_dlg.target}</label></td> |
2548 | + <td id="targetlistcontainer"><select id="targetlist"><option value=""></option></select></td> |
2549 | + </tr> |
2550 | + <tr> |
2551 | + <td class="nowrap"><label id="titlelabel" for="title">{#advlink_dlg.titlefield}</label></td> |
2552 | + <td><input id="title" name="title" type="text" value="" /></td> |
2553 | + </tr> |
2554 | + <tr> |
2555 | + <td><label id="classlabel" for="classlist">{#class_name}</label></td> |
2556 | + <td> |
2557 | + <select id="classlist" name="classlist" onchange="changeClass();"> |
2558 | + <option value="" selected="selected">{#not_set}</option> |
2559 | + </select> |
2560 | + </td> |
2561 | + </tr> |
2562 | + </table> |
2563 | + </fieldset> |
2564 | + </div> |
2565 | + |
2566 | + <div id="popup_panel" class="panel"> |
2567 | + <fieldset> |
2568 | + <legend>{#advlink_dlg.popup_props}</legend> |
2569 | + |
2570 | + <input type="checkbox" id="ispopup" name="ispopup" class="radio" onclick="setPopupControlsDisabled(!this.checked);buildOnClick();" /> |
2571 | + <label id="ispopuplabel" for="ispopup">{#advlink_dlg.popup}</label> |
2572 | + |
2573 | + <table border="0" cellpadding="0" cellspacing="4"> |
2574 | + <tr> |
2575 | + <td class="nowrap"><label for="popupurl">{#advlink_dlg.popup_url}</label> </td> |
2576 | + <td> |
2577 | + <table border="0" cellspacing="0" cellpadding="0"> |
2578 | + <tr> |
2579 | + <td><input type="text" name="popupurl" id="popupurl" value="" onchange="buildOnClick();" /></td> |
2580 | + <td id="popupurlbrowsercontainer"> </td> |
2581 | + </tr> |
2582 | + </table> |
2583 | + </td> |
2584 | + </tr> |
2585 | + <tr> |
2586 | + <td class="nowrap"><label for="popupname">{#advlink_dlg.popup_name}</label> </td> |
2587 | + <td><input type="text" name="popupname" id="popupname" value="" onchange="buildOnClick();" /></td> |
2588 | + </tr> |
2589 | + <tr> |
2590 | + <td class="nowrap"><label>{#advlink_dlg.popup_size}</label> </td> |
2591 | + <td class="nowrap"> |
2592 | + <input type="text" id="popupwidth" name="popupwidth" value="" onchange="buildOnClick();" /> x |
2593 | + <input type="text" id="popupheight" name="popupheight" value="" onchange="buildOnClick();" /> px |
2594 | + </td> |
2595 | + </tr> |
2596 | + <tr> |
2597 | + <td class="nowrap" id="labelleft"><label>{#advlink_dlg.popup_position}</label> </td> |
2598 | + <td class="nowrap"> |
2599 | + <input type="text" id="popupleft" name="popupleft" value="" onchange="buildOnClick();" /> / |
2600 | + <input type="text" id="popuptop" name="popuptop" value="" onchange="buildOnClick();" /> (c /c = center) |
2601 | + </td> |
2602 | + </tr> |
2603 | + </table> |
2604 | + |
2605 | + <fieldset> |
2606 | + <legend>{#advlink_dlg.popup_opts}</legend> |
2607 | + |
2608 | + <table border="0" cellpadding="0" cellspacing="4"> |
2609 | + <tr> |
2610 | + <td><input type="checkbox" id="popuplocation" name="popuplocation" class="checkbox" onchange="buildOnClick();" /></td> |
2611 | + <td class="nowrap"><label id="popuplocationlabel" for="popuplocation">{#advlink_dlg.popup_location}</label></td> |
2612 | + <td><input type="checkbox" id="popupscrollbars" name="popupscrollbars" class="checkbox" onchange="buildOnClick();" /></td> |
2613 | + <td class="nowrap"><label id="popupscrollbarslabel" for="popupscrollbars">{#advlink_dlg.popup_scrollbars}</label></td> |
2614 | + </tr> |
2615 | + <tr> |
2616 | + <td><input type="checkbox" id="popupmenubar" name="popupmenubar" class="checkbox" onchange="buildOnClick();" /></td> |
2617 | + <td class="nowrap"><label id="popupmenubarlabel" for="popupmenubar">{#advlink_dlg.popup_menubar}</label></td> |
2618 | + <td><input type="checkbox" id="popupresizable" name="popupresizable" class="checkbox" onchange="buildOnClick();" /></td> |
2619 | + <td class="nowrap"><label id="popupresizablelabel" for="popupresizable">{#advlink_dlg.popup_resizable}</label></td> |
2620 | + </tr> |
2621 | + <tr> |
2622 | + <td><input type="checkbox" id="popuptoolbar" name="popuptoolbar" class="checkbox" onchange="buildOnClick();" /></td> |
2623 | + <td class="nowrap"><label id="popuptoolbarlabel" for="popuptoolbar">{#advlink_dlg.popup_toolbar}</label></td> |
2624 | + <td><input type="checkbox" id="popupdependent" name="popupdependent" class="checkbox" onchange="buildOnClick();" /></td> |
2625 | + <td class="nowrap"><label id="popupdependentlabel" for="popupdependent">{#advlink_dlg.popup_dependent}</label></td> |
2626 | + </tr> |
2627 | + <tr> |
2628 | + <td><input type="checkbox" id="popupstatus" name="popupstatus" class="checkbox" onchange="buildOnClick();" /></td> |
2629 | + <td class="nowrap"><label id="popupstatuslabel" for="popupstatus">{#advlink_dlg.popup_statusbar}</label></td> |
2630 | + <td><input type="checkbox" id="popupreturn" name="popupreturn" class="checkbox" onchange="buildOnClick();" checked="checked" /></td> |
2631 | + <td class="nowrap"><label id="popupreturnlabel" for="popupreturn">{#advlink_dlg.popup_return}</label></td> |
2632 | + </tr> |
2633 | + </table> |
2634 | + </fieldset> |
2635 | + </fieldset> |
2636 | + </div> |
2637 | + |
2638 | + <div id="advanced_panel" class="panel"> |
2639 | + <fieldset> |
2640 | + <legend>{#advlink_dlg.advanced_props}</legend> |
2641 | + |
2642 | + <table border="0" cellpadding="0" cellspacing="4"> |
2643 | + <tr> |
2644 | + <td class="column1"><label id="idlabel" for="id">{#advlink_dlg.id}</label></td> |
2645 | + <td><input id="id" name="id" type="text" value="" /></td> |
2646 | + </tr> |
2647 | + |
2648 | + <tr> |
2649 | + <td><label id="stylelabel" for="style">{#advlink_dlg.style}</label></td> |
2650 | + <td><input type="text" id="style" name="style" value="" /></td> |
2651 | + </tr> |
2652 | + |
2653 | + <tr> |
2654 | + <td><label id="classeslabel" for="classes">{#advlink_dlg.classes}</label></td> |
2655 | + <td><input type="text" id="classes" name="classes" value="" onchange="selectByValue(this.form,'classlist',this.value,true);" /></td> |
2656 | + </tr> |
2657 | + |
2658 | + <tr> |
2659 | + <td><label id="targetlabel" for="target">{#advlink_dlg.target_name}</label></td> |
2660 | + <td><input type="text" id="target" name="target" value="" onchange="selectByValue(this.form,'targetlist',this.value,true);" /></td> |
2661 | + </tr> |
2662 | + |
2663 | + <tr> |
2664 | + <td class="column1"><label id="dirlabel" for="dir">{#advlink_dlg.langdir}</label></td> |
2665 | + <td> |
2666 | + <select id="dir" name="dir"> |
2667 | + <option value="">{#not_set}</option> |
2668 | + <option value="ltr">{#advlink_dlg.ltr}</option> |
2669 | + <option value="rtl">{#advlink_dlg.rtl}</option> |
2670 | + </select> |
2671 | + </td> |
2672 | + </tr> |
2673 | + |
2674 | + <tr> |
2675 | + <td><label id="hreflanglabel" for="hreflang">{#advlink_dlg.target_langcode}</label></td> |
2676 | + <td><input type="text" id="hreflang" name="hreflang" value="" /></td> |
2677 | + </tr> |
2678 | + |
2679 | + <tr> |
2680 | + <td class="column1"><label id="langlabel" for="lang">{#advlink_dlg.langcode}</label></td> |
2681 | + <td> |
2682 | + <input id="lang" name="lang" type="text" value="" /> |
2683 | + </td> |
2684 | + </tr> |
2685 | + |
2686 | + <tr> |
2687 | + <td><label id="charsetlabel" for="charset">{#advlink_dlg.encoding}</label></td> |
2688 | + <td><input type="text" id="charset" name="charset" value="" /></td> |
2689 | + </tr> |
2690 | + |
2691 | + <tr> |
2692 | + <td><label id="typelabel" for="type">{#advlink_dlg.mime}</label></td> |
2693 | + <td><input type="text" id="type" name="type" value="" /></td> |
2694 | + </tr> |
2695 | + |
2696 | + <tr> |
2697 | + <td><label id="rellabel" for="rel">{#advlink_dlg.rel}</label></td> |
2698 | + <td><select id="rel" name="rel"> |
2699 | + <option value="">{#not_set}</option> |
2700 | + <option value="lightbox">Lightbox</option> |
2701 | + <option value="alternate">Alternate</option> |
2702 | + <option value="designates">Designates</option> |
2703 | + <option value="stylesheet">Stylesheet</option> |
2704 | + <option value="start">Start</option> |
2705 | + <option value="next">Next</option> |
2706 | + <option value="prev">Prev</option> |
2707 | + <option value="contents">Contents</option> |
2708 | + <option value="index">Index</option> |
2709 | + <option value="glossary">Glossary</option> |
2710 | + <option value="copyright">Copyright</option> |
2711 | + <option value="chapter">Chapter</option> |
2712 | + <option value="subsection">Subsection</option> |
2713 | + <option value="appendix">Appendix</option> |
2714 | + <option value="help">Help</option> |
2715 | + <option value="bookmark">Bookmark</option> |
2716 | + <option value="nofollow">No Follow</option> |
2717 | + <option value="tag">Tag</option> |
2718 | + </select> |
2719 | + </td> |
2720 | + </tr> |
2721 | + |
2722 | + <tr> |
2723 | + <td><label id="revlabel" for="rev">{#advlink_dlg.rev}</label></td> |
2724 | + <td><select id="rev" name="rev"> |
2725 | + <option value="">{#not_set}</option> |
2726 | + <option value="alternate">Alternate</option> |
2727 | + <option value="designates">Designates</option> |
2728 | + <option value="stylesheet">Stylesheet</option> |
2729 | + <option value="start">Start</option> |
2730 | + <option value="next">Next</option> |
2731 | + <option value="prev">Prev</option> |
2732 | + <option value="contents">Contents</option> |
2733 | + <option value="index">Index</option> |
2734 | + <option value="glossary">Glossary</option> |
2735 | + <option value="copyright">Copyright</option> |
2736 | + <option value="chapter">Chapter</option> |
2737 | + <option value="subsection">Subsection</option> |
2738 | + <option value="appendix">Appendix</option> |
2739 | + <option value="help">Help</option> |
2740 | + <option value="bookmark">Bookmark</option> |
2741 | + </select> |
2742 | + </td> |
2743 | + </tr> |
2744 | + |
2745 | + <tr> |
2746 | + <td><label id="tabindexlabel" for="tabindex">{#advlink_dlg.tabindex}</label></td> |
2747 | + <td><input type="text" id="tabindex" name="tabindex" value="" /></td> |
2748 | + </tr> |
2749 | + |
2750 | + <tr> |
2751 | + <td><label id="accesskeylabel" for="accesskey">{#advlink_dlg.accesskey}</label></td> |
2752 | + <td><input type="text" id="accesskey" name="accesskey" value="" /></td> |
2753 | + </tr> |
2754 | + </table> |
2755 | + </fieldset> |
2756 | + </div> |
2757 | + |
2758 | + <div id="events_panel" class="panel"> |
2759 | + <fieldset> |
2760 | + <legend>{#advlink_dlg.event_props}</legend> |
2761 | + |
2762 | + <table border="0" cellpadding="0" cellspacing="4"> |
2763 | + <tr> |
2764 | + <td class="column1"><label for="onfocus">onfocus</label></td> |
2765 | + <td><input id="onfocus" name="onfocus" type="text" value="" /></td> |
2766 | + </tr> |
2767 | + |
2768 | + <tr> |
2769 | + <td class="column1"><label for="onblur">onblur</label></td> |
2770 | + <td><input id="onblur" name="onblur" type="text" value="" /></td> |
2771 | + </tr> |
2772 | + |
2773 | + <tr> |
2774 | + <td class="column1"><label for="onclick">onclick</label></td> |
2775 | + <td><input id="onclick" name="onclick" type="text" value="" /></td> |
2776 | + </tr> |
2777 | + |
2778 | + <tr> |
2779 | + <td class="column1"><label for="ondblclick">ondblclick</label></td> |
2780 | + <td><input id="ondblclick" name="ondblclick" type="text" value="" /></td> |
2781 | + </tr> |
2782 | + |
2783 | + <tr> |
2784 | + <td class="column1"><label for="onmousedown">onmousedown</label></td> |
2785 | + <td><input id="onmousedown" name="onmousedown" type="text" value="" /></td> |
2786 | + </tr> |
2787 | + |
2788 | + <tr> |
2789 | + <td class="column1"><label for="onmouseup">onmouseup</label></td> |
2790 | + <td><input id="onmouseup" name="onmouseup" type="text" value="" /></td> |
2791 | + </tr> |
2792 | + |
2793 | + <tr> |
2794 | + <td class="column1"><label for="onmouseover">onmouseover</label></td> |
2795 | + <td><input id="onmouseover" name="onmouseover" type="text" value="" /></td> |
2796 | + </tr> |
2797 | + |
2798 | + <tr> |
2799 | + <td class="column1"><label for="onmousemove">onmousemove</label></td> |
2800 | + <td><input id="onmousemove" name="onmousemove" type="text" value="" /></td> |
2801 | + </tr> |
2802 | + |
2803 | + <tr> |
2804 | + <td class="column1"><label for="onmouseout">onmouseout</label></td> |
2805 | + <td><input id="onmouseout" name="onmouseout" type="text" value="" /></td> |
2806 | + </tr> |
2807 | + |
2808 | + <tr> |
2809 | + <td class="column1"><label for="onkeypress">onkeypress</label></td> |
2810 | + <td><input id="onkeypress" name="onkeypress" type="text" value="" /></td> |
2811 | + </tr> |
2812 | + |
2813 | + <tr> |
2814 | + <td class="column1"><label for="onkeydown">onkeydown</label></td> |
2815 | + <td><input id="onkeydown" name="onkeydown" type="text" value="" /></td> |
2816 | + </tr> |
2817 | + |
2818 | + <tr> |
2819 | + <td class="column1"><label for="onkeyup">onkeyup</label></td> |
2820 | + <td><input id="onkeyup" name="onkeyup" type="text" value="" /></td> |
2821 | + </tr> |
2822 | + </table> |
2823 | + </fieldset> |
2824 | + </div> |
2825 | + </div> |
2826 | + |
2827 | + <div class="mceActionPanel"> |
2828 | + <div style="float: left"> |
2829 | + <input type="submit" id="insert" name="insert" value="{#insert}" /> |
2830 | + </div> |
2831 | + |
2832 | + <div style="float: right"> |
2833 | + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
2834 | + </div> |
2835 | + </div> |
2836 | + </form> |
2837 | +</body> |
2838 | +</html> |
2839 | |
2840 | === modified file 'data/inc/lib/tiny_mce/plugins/emotions/emotions.htm' |
2841 | --- data/inc/lib/tiny_mce/plugins/emotions/emotions.htm 2009-08-22 12:41:23 +0000 |
2842 | +++ data/inc/lib/tiny_mce/plugins/emotions/emotions.htm 2009-10-25 20:25:24 +0000 |
2843 | @@ -1,40 +1,40 @@ |
2844 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2845 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
2846 | -<head> |
2847 | - <title>{#emotions_dlg.title}</title> |
2848 | - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
2849 | - <script type="text/javascript" src="js/emotions.js"></script> |
2850 | -</head> |
2851 | -<body style="display: none"> |
2852 | - <div align="center"> |
2853 | - <div class="title">{#emotions_dlg.title}:<br /><br /></div> |
2854 | - |
2855 | - <table border="0" cellspacing="0" cellpadding="4"> |
2856 | - <tr> |
2857 | - <td><a href="javascript:EmotionsDialog.insert('smiley-cool.gif','emotions_dlg.cool');"><img src="img/smiley-cool.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cool}" title="{#emotions_dlg.cool}" /></a></td> |
2858 | - <td><a href="javascript:EmotionsDialog.insert('smiley-cry.gif','emotions_dlg.cry');"><img src="img/smiley-cry.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cry}" title="{#emotions_dlg.cry}" /></a></td> |
2859 | - <td><a href="javascript:EmotionsDialog.insert('smiley-embarassed.gif','emotions_dlg.embarassed');"><img src="img/smiley-embarassed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.embarassed}" title="{#emotions_dlg.embarassed}" /></a></td> |
2860 | - <td><a href="javascript:EmotionsDialog.insert('smiley-foot-in-mouth.gif','emotions_dlg.foot_in_mouth');"><img src="img/smiley-foot-in-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.foot_in_mouth}" title="{#emotions_dlg.foot_in_mouth}" /></a></td> |
2861 | - </tr> |
2862 | - <tr> |
2863 | - <td><a href="javascript:EmotionsDialog.insert('smiley-frown.gif','emotions_dlg.frown');"><img src="img/smiley-frown.gif" width="18" height="18" border="0" alt="{#emotions_dlg.frown}" title="{#emotions_dlg.frown}" /></a></td> |
2864 | - <td><a href="javascript:EmotionsDialog.insert('smiley-innocent.gif','emotions_dlg.innocent');"><img src="img/smiley-innocent.gif" width="18" height="18" border="0" alt="{#emotions_dlg.innocent}" title="{#emotions_dlg.innocent}" /></a></td> |
2865 | - <td><a href="javascript:EmotionsDialog.insert('smiley-kiss.gif','emotions_dlg.kiss');"><img src="img/smiley-kiss.gif" width="18" height="18" border="0" alt="{#emotions_dlg.kiss}" title="{#emotions_dlg.kiss}" /></a></td> |
2866 | - <td><a href="javascript:EmotionsDialog.insert('smiley-laughing.gif','emotions_dlg.laughing');"><img src="img/smiley-laughing.gif" width="18" height="18" border="0" alt="{#emotions_dlg.laughing}" title="{#emotions_dlg.laughing}" /></a></td> |
2867 | - </tr> |
2868 | - <tr> |
2869 | - <td><a href="javascript:EmotionsDialog.insert('smiley-money-mouth.gif','emotions_dlg.money_mouth');"><img src="img/smiley-money-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.money_mouth}" title="{#emotions_dlg.money_mouth}" /></a></td> |
2870 | - <td><a href="javascript:EmotionsDialog.insert('smiley-sealed.gif','emotions_dlg.sealed');"><img src="img/smiley-sealed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.sealed}" title="{#emotions_dlg.sealed}" /></a></td> |
2871 | - <td><a href="javascript:EmotionsDialog.insert('smiley-smile.gif','emotions_dlg.smile');"><img src="img/smiley-smile.gif" width="18" height="18" border="0" alt="{#emotions_dlg.smile}" title="{#emotions_dlg.smile}" /></a></td> |
2872 | - <td><a href="javascript:EmotionsDialog.insert('smiley-surprised.gif','emotions_dlg.surprised');"><img src="img/smiley-surprised.gif" width="18" height="18" border="0" alt="{#emotions_dlg.surprised}" title="{#emotions_dlg.surprised}" /></a></td> |
2873 | - </tr> |
2874 | - <tr> |
2875 | - <td><a href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{#emotions_dlg.tongue-out}" title="{#emotions_dlg.tongue_out}" /></a></td> |
2876 | - <td><a href="javascript:EmotionsDialog.insert('smiley-undecided.gif','emotions_dlg.undecided');"><img src="img/smiley-undecided.gif" width="18" height="18" border="0" alt="{#emotions_dlg.undecided}" title="{#emotions_dlg.undecided}" /></a></td> |
2877 | - <td><a href="javascript:EmotionsDialog.insert('smiley-wink.gif','emotions_dlg.wink');"><img src="img/smiley-wink.gif" width="18" height="18" border="0" alt="{#emotions_dlg.wink}" title="{#emotions_dlg.wink}" /></a></td> |
2878 | - <td><a href="javascript:EmotionsDialog.insert('smiley-yell.gif','emotions_dlg.yell');"><img src="img/smiley-yell.gif" width="18" height="18" border="0" alt="{#emotions_dlg.yell}" title="{#emotions_dlg.yell}" /></a></td> |
2879 | - </tr> |
2880 | - </table> |
2881 | - </div> |
2882 | -</body> |
2883 | -</html> |
2884 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2885 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
2886 | +<head> |
2887 | + <title>{#emotions_dlg.title}</title> |
2888 | + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
2889 | + <script type="text/javascript" src="js/emotions.js"></script> |
2890 | +</head> |
2891 | +<body style="display: none"> |
2892 | + <div align="center"> |
2893 | + <div class="title">{#emotions_dlg.title}:<br /><br /></div> |
2894 | + |
2895 | + <table border="0" cellspacing="0" cellpadding="4"> |
2896 | + <tr> |
2897 | + <td><a href="javascript:EmotionsDialog.insert('smiley-cool.gif','emotions_dlg.cool');"><img src="img/smiley-cool.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cool}" title="{#emotions_dlg.cool}" /></a></td> |
2898 | + <td><a href="javascript:EmotionsDialog.insert('smiley-cry.gif','emotions_dlg.cry');"><img src="img/smiley-cry.gif" width="18" height="18" border="0" alt="{#emotions_dlg.cry}" title="{#emotions_dlg.cry}" /></a></td> |
2899 | + <td><a href="javascript:EmotionsDialog.insert('smiley-embarassed.gif','emotions_dlg.embarassed');"><img src="img/smiley-embarassed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.embarassed}" title="{#emotions_dlg.embarassed}" /></a></td> |
2900 | + <td><a href="javascript:EmotionsDialog.insert('smiley-foot-in-mouth.gif','emotions_dlg.foot_in_mouth');"><img src="img/smiley-foot-in-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.foot_in_mouth}" title="{#emotions_dlg.foot_in_mouth}" /></a></td> |
2901 | + </tr> |
2902 | + <tr> |
2903 | + <td><a href="javascript:EmotionsDialog.insert('smiley-frown.gif','emotions_dlg.frown');"><img src="img/smiley-frown.gif" width="18" height="18" border="0" alt="{#emotions_dlg.frown}" title="{#emotions_dlg.frown}" /></a></td> |
2904 | + <td><a href="javascript:EmotionsDialog.insert('smiley-innocent.gif','emotions_dlg.innocent');"><img src="img/smiley-innocent.gif" width="18" height="18" border="0" alt="{#emotions_dlg.innocent}" title="{#emotions_dlg.innocent}" /></a></td> |
2905 | + <td><a href="javascript:EmotionsDialog.insert('smiley-kiss.gif','emotions_dlg.kiss');"><img src="img/smiley-kiss.gif" width="18" height="18" border="0" alt="{#emotions_dlg.kiss}" title="{#emotions_dlg.kiss}" /></a></td> |
2906 | + <td><a href="javascript:EmotionsDialog.insert('smiley-laughing.gif','emotions_dlg.laughing');"><img src="img/smiley-laughing.gif" width="18" height="18" border="0" alt="{#emotions_dlg.laughing}" title="{#emotions_dlg.laughing}" /></a></td> |
2907 | + </tr> |
2908 | + <tr> |
2909 | + <td><a href="javascript:EmotionsDialog.insert('smiley-money-mouth.gif','emotions_dlg.money_mouth');"><img src="img/smiley-money-mouth.gif" width="18" height="18" border="0" alt="{#emotions_dlg.money_mouth}" title="{#emotions_dlg.money_mouth}" /></a></td> |
2910 | + <td><a href="javascript:EmotionsDialog.insert('smiley-sealed.gif','emotions_dlg.sealed');"><img src="img/smiley-sealed.gif" width="18" height="18" border="0" alt="{#emotions_dlg.sealed}" title="{#emotions_dlg.sealed}" /></a></td> |
2911 | + <td><a href="javascript:EmotionsDialog.insert('smiley-smile.gif','emotions_dlg.smile');"><img src="img/smiley-smile.gif" width="18" height="18" border="0" alt="{#emotions_dlg.smile}" title="{#emotions_dlg.smile}" /></a></td> |
2912 | + <td><a href="javascript:EmotionsDialog.insert('smiley-surprised.gif','emotions_dlg.surprised');"><img src="img/smiley-surprised.gif" width="18" height="18" border="0" alt="{#emotions_dlg.surprised}" title="{#emotions_dlg.surprised}" /></a></td> |
2913 | + </tr> |
2914 | + <tr> |
2915 | + <td><a href="javascript:EmotionsDialog.insert('smiley-tongue-out.gif','emotions_dlg.tongue_out');"><img src="img/smiley-tongue-out.gif" width="18" height="18" border="0" alt="{#emotions_dlg.tongue-out}" title="{#emotions_dlg.tongue_out}" /></a></td> |
2916 | + <td><a href="javascript:EmotionsDialog.insert('smiley-undecided.gif','emotions_dlg.undecided');"><img src="img/smiley-undecided.gif" width="18" height="18" border="0" alt="{#emotions_dlg.undecided}" title="{#emotions_dlg.undecided}" /></a></td> |
2917 | + <td><a href="javascript:EmotionsDialog.insert('smiley-wink.gif','emotions_dlg.wink');"><img src="img/smiley-wink.gif" width="18" height="18" border="0" alt="{#emotions_dlg.wink}" title="{#emotions_dlg.wink}" /></a></td> |
2918 | + <td><a href="javascript:EmotionsDialog.insert('smiley-yell.gif','emotions_dlg.yell');"><img src="img/smiley-yell.gif" width="18" height="18" border="0" alt="{#emotions_dlg.yell}" title="{#emotions_dlg.yell}" /></a></td> |
2919 | + </tr> |
2920 | + </table> |
2921 | + </div> |
2922 | +</body> |
2923 | +</html> |
2924 | |
2925 | === modified file 'data/inc/lib/tiny_mce/plugins/example/dialog.htm' |
2926 | --- data/inc/lib/tiny_mce/plugins/example/dialog.htm 2009-08-22 12:41:23 +0000 |
2927 | +++ data/inc/lib/tiny_mce/plugins/example/dialog.htm 2009-10-25 20:25:24 +0000 |
2928 | @@ -1,27 +1,27 @@ |
2929 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2930 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
2931 | -<head> |
2932 | - <title>{#example_dlg.title}</title> |
2933 | - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
2934 | - <script type="text/javascript" src="js/dialog.js"></script> |
2935 | -</head> |
2936 | -<body> |
2937 | - |
2938 | -<form onsubmit="ExampleDialog.insert();return false;" action="#"> |
2939 | - <p>Here is a example dialog.</p> |
2940 | - <p>Selected text: <input id="someval" name="someval" type="text" class="text" /></p> |
2941 | - <p>Custom arg: <input id="somearg" name="somearg" type="text" class="text" /></p> |
2942 | - |
2943 | - <div class="mceActionPanel"> |
2944 | - <div style="float: left"> |
2945 | - <input type="button" id="insert" name="insert" value="{#insert}" onclick="ExampleDialog.insert();" /> |
2946 | - </div> |
2947 | - |
2948 | - <div style="float: right"> |
2949 | - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
2950 | - </div> |
2951 | - </div> |
2952 | -</form> |
2953 | - |
2954 | -</body> |
2955 | -</html> |
2956 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
2957 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
2958 | +<head> |
2959 | + <title>{#example_dlg.title}</title> |
2960 | + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
2961 | + <script type="text/javascript" src="js/dialog.js"></script> |
2962 | +</head> |
2963 | +<body> |
2964 | + |
2965 | +<form onsubmit="ExampleDialog.insert();return false;" action="#"> |
2966 | + <p>Here is a example dialog.</p> |
2967 | + <p>Selected text: <input id="someval" name="someval" type="text" class="text" /></p> |
2968 | + <p>Custom arg: <input id="somearg" name="somearg" type="text" class="text" /></p> |
2969 | + |
2970 | + <div class="mceActionPanel"> |
2971 | + <div style="float: left"> |
2972 | + <input type="button" id="insert" name="insert" value="{#insert}" onclick="ExampleDialog.insert();" /> |
2973 | + </div> |
2974 | + |
2975 | + <div style="float: right"> |
2976 | + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
2977 | + </div> |
2978 | + </div> |
2979 | +</form> |
2980 | + |
2981 | +</body> |
2982 | +</html> |
2983 | |
2984 | === modified file 'data/inc/lib/tiny_mce/plugins/fullpage/css/fullpage.css' |
2985 | --- data/inc/lib/tiny_mce/plugins/fullpage/css/fullpage.css 2009-08-22 12:41:23 +0000 |
2986 | +++ data/inc/lib/tiny_mce/plugins/fullpage/css/fullpage.css 2009-10-25 20:25:24 +0000 |
2987 | @@ -1,182 +1,182 @@ |
2988 | -/* Hide the advanced tab */ |
2989 | -#advanced_tab { |
2990 | - display: none; |
2991 | -} |
2992 | - |
2993 | -#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { |
2994 | - width: 280px; |
2995 | -} |
2996 | - |
2997 | -#doctype, #docencoding { |
2998 | - width: 200px; |
2999 | -} |
3000 | - |
3001 | -#langcode { |
3002 | - width: 30px; |
3003 | -} |
3004 | - |
3005 | -#bgimage { |
3006 | - width: 220px; |
3007 | -} |
3008 | - |
3009 | -#fontface { |
3010 | - width: 240px; |
3011 | -} |
3012 | - |
3013 | -#leftmargin, #rightmargin, #topmargin, #bottommargin { |
3014 | - width: 50px; |
3015 | -} |
3016 | - |
3017 | -.panel_wrapper div.current { |
3018 | - height: 400px; |
3019 | -} |
3020 | - |
3021 | -#stylesheet, #style { |
3022 | - width: 240px; |
3023 | -} |
3024 | - |
3025 | -/* Head list classes */ |
3026 | - |
3027 | -.headlistwrapper { |
3028 | - width: 100%; |
3029 | -} |
3030 | - |
3031 | -.addbutton, .removebutton, .moveupbutton, .movedownbutton { |
3032 | - border-top: 1px solid; |
3033 | - border-left: 1px solid; |
3034 | - border-bottom: 1px solid; |
3035 | - border-right: 1px solid; |
3036 | - border-color: #F0F0EE; |
3037 | - cursor: default; |
3038 | - display: block; |
3039 | - width: 20px; |
3040 | - height: 20px; |
3041 | -} |
3042 | - |
3043 | -#doctypes { |
3044 | - width: 200px; |
3045 | -} |
3046 | - |
3047 | -.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover { |
3048 | - border: 1px solid #0A246A; |
3049 | - background-color: #B6BDD2; |
3050 | -} |
3051 | - |
3052 | -.addbutton { |
3053 | - background-image: url('../images/add.gif'); |
3054 | - float: left; |
3055 | - margin-right: 3px; |
3056 | -} |
3057 | - |
3058 | -.removebutton { |
3059 | - background-image: url('../images/remove.gif'); |
3060 | - float: left; |
3061 | -} |
3062 | - |
3063 | -.moveupbutton { |
3064 | - background-image: url('../images/move_up.gif'); |
3065 | - float: left; |
3066 | - margin-right: 3px; |
3067 | -} |
3068 | - |
3069 | -.movedownbutton { |
3070 | - background-image: url('../images/move_down.gif'); |
3071 | - float: left; |
3072 | -} |
3073 | - |
3074 | -.selected { |
3075 | - border: 1px solid #0A246A; |
3076 | - background-color: #B6BDD2; |
3077 | -} |
3078 | - |
3079 | -.toolbar { |
3080 | - width: 100%; |
3081 | -} |
3082 | - |
3083 | -#headlist { |
3084 | - width: 100%; |
3085 | - margin-top: 3px; |
3086 | - font-size: 11px; |
3087 | -} |
3088 | - |
3089 | -#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { |
3090 | - display: none; |
3091 | -} |
3092 | - |
3093 | -#addmenu { |
3094 | - position: absolute; |
3095 | - border: 1px solid gray; |
3096 | - display: none; |
3097 | - z-index: 100; |
3098 | - background-color: white; |
3099 | -} |
3100 | - |
3101 | -#addmenu a { |
3102 | - display: block; |
3103 | - width: 100%; |
3104 | - line-height: 20px; |
3105 | - text-decoration: none; |
3106 | - background-color: white; |
3107 | -} |
3108 | - |
3109 | -#addmenu a:hover { |
3110 | - background-color: #B6BDD2; |
3111 | - color: black; |
3112 | -} |
3113 | - |
3114 | -#addmenu span { |
3115 | - padding-left: 10px; |
3116 | - padding-right: 10px; |
3117 | -} |
3118 | - |
3119 | -#updateElementPanel { |
3120 | - display: none; |
3121 | -} |
3122 | - |
3123 | -#script_element .panel_wrapper div.current { |
3124 | - height: 108px; |
3125 | -} |
3126 | - |
3127 | -#style_element .panel_wrapper div.current { |
3128 | - height: 108px; |
3129 | -} |
3130 | - |
3131 | -#link_element .panel_wrapper div.current { |
3132 | - height: 140px; |
3133 | -} |
3134 | - |
3135 | -#element_script_value { |
3136 | - width: 100%; |
3137 | - height: 100px; |
3138 | -} |
3139 | - |
3140 | -#element_comment_value { |
3141 | - width: 100%; |
3142 | - height: 120px; |
3143 | -} |
3144 | - |
3145 | -#element_style_value { |
3146 | - width: 100%; |
3147 | - height: 100px; |
3148 | -} |
3149 | - |
3150 | -#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { |
3151 | - width: 250px; |
3152 | -} |
3153 | - |
3154 | -.updateElementButton { |
3155 | - margin-top: 3px; |
3156 | -} |
3157 | - |
3158 | -/* MSIE specific styles */ |
3159 | - |
3160 | -* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { |
3161 | - width: 22px; |
3162 | - height: 22px; |
3163 | -} |
3164 | - |
3165 | -textarea { |
3166 | - height: 55px; |
3167 | -} |
3168 | - |
3169 | +/* Hide the advanced tab */ |
3170 | +#advanced_tab { |
3171 | + display: none; |
3172 | +} |
3173 | + |
3174 | +#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright { |
3175 | + width: 280px; |
3176 | +} |
3177 | + |
3178 | +#doctype, #docencoding { |
3179 | + width: 200px; |
3180 | +} |
3181 | + |
3182 | +#langcode { |
3183 | + width: 30px; |
3184 | +} |
3185 | + |
3186 | +#bgimage { |
3187 | + width: 220px; |
3188 | +} |
3189 | + |
3190 | +#fontface { |
3191 | + width: 240px; |
3192 | +} |
3193 | + |
3194 | +#leftmargin, #rightmargin, #topmargin, #bottommargin { |
3195 | + width: 50px; |
3196 | +} |
3197 | + |
3198 | +.panel_wrapper div.current { |
3199 | + height: 400px; |
3200 | +} |
3201 | + |
3202 | +#stylesheet, #style { |
3203 | + width: 240px; |
3204 | +} |
3205 | + |
3206 | +/* Head list classes */ |
3207 | + |
3208 | +.headlistwrapper { |
3209 | + width: 100%; |
3210 | +} |
3211 | + |
3212 | +.addbutton, .removebutton, .moveupbutton, .movedownbutton { |
3213 | + border-top: 1px solid; |
3214 | + border-left: 1px solid; |
3215 | + border-bottom: 1px solid; |
3216 | + border-right: 1px solid; |
3217 | + border-color: #F0F0EE; |
3218 | + cursor: default; |
3219 | + display: block; |
3220 | + width: 20px; |
3221 | + height: 20px; |
3222 | +} |
3223 | + |
3224 | +#doctypes { |
3225 | + width: 200px; |
3226 | +} |
3227 | + |
3228 | +.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover { |
3229 | + border: 1px solid #0A246A; |
3230 | + background-color: #B6BDD2; |
3231 | +} |
3232 | + |
3233 | +.addbutton { |
3234 | + background-image: url('../images/add.gif'); |
3235 | + float: left; |
3236 | + margin-right: 3px; |
3237 | +} |
3238 | + |
3239 | +.removebutton { |
3240 | + background-image: url('../images/remove.gif'); |
3241 | + float: left; |
3242 | +} |
3243 | + |
3244 | +.moveupbutton { |
3245 | + background-image: url('../images/move_up.gif'); |
3246 | + float: left; |
3247 | + margin-right: 3px; |
3248 | +} |
3249 | + |
3250 | +.movedownbutton { |
3251 | + background-image: url('../images/move_down.gif'); |
3252 | + float: left; |
3253 | +} |
3254 | + |
3255 | +.selected { |
3256 | + border: 1px solid #0A246A; |
3257 | + background-color: #B6BDD2; |
3258 | +} |
3259 | + |
3260 | +.toolbar { |
3261 | + width: 100%; |
3262 | +} |
3263 | + |
3264 | +#headlist { |
3265 | + width: 100%; |
3266 | + margin-top: 3px; |
3267 | + font-size: 11px; |
3268 | +} |
3269 | + |
3270 | +#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element { |
3271 | + display: none; |
3272 | +} |
3273 | + |
3274 | +#addmenu { |
3275 | + position: absolute; |
3276 | + border: 1px solid gray; |
3277 | + display: none; |
3278 | + z-index: 100; |
3279 | + background-color: white; |
3280 | +} |
3281 | + |
3282 | +#addmenu a { |
3283 | + display: block; |
3284 | + width: 100%; |
3285 | + line-height: 20px; |
3286 | + text-decoration: none; |
3287 | + background-color: white; |
3288 | +} |
3289 | + |
3290 | +#addmenu a:hover { |
3291 | + background-color: #B6BDD2; |
3292 | + color: black; |
3293 | +} |
3294 | + |
3295 | +#addmenu span { |
3296 | + padding-left: 10px; |
3297 | + padding-right: 10px; |
3298 | +} |
3299 | + |
3300 | +#updateElementPanel { |
3301 | + display: none; |
3302 | +} |
3303 | + |
3304 | +#script_element .panel_wrapper div.current { |
3305 | + height: 108px; |
3306 | +} |
3307 | + |
3308 | +#style_element .panel_wrapper div.current { |
3309 | + height: 108px; |
3310 | +} |
3311 | + |
3312 | +#link_element .panel_wrapper div.current { |
3313 | + height: 140px; |
3314 | +} |
3315 | + |
3316 | +#element_script_value { |
3317 | + width: 100%; |
3318 | + height: 100px; |
3319 | +} |
3320 | + |
3321 | +#element_comment_value { |
3322 | + width: 100%; |
3323 | + height: 120px; |
3324 | +} |
3325 | + |
3326 | +#element_style_value { |
3327 | + width: 100%; |
3328 | + height: 100px; |
3329 | +} |
3330 | + |
3331 | +#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title { |
3332 | + width: 250px; |
3333 | +} |
3334 | + |
3335 | +.updateElementButton { |
3336 | + margin-top: 3px; |
3337 | +} |
3338 | + |
3339 | +/* MSIE specific styles */ |
3340 | + |
3341 | +* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton { |
3342 | + width: 22px; |
3343 | + height: 22px; |
3344 | +} |
3345 | + |
3346 | +textarea { |
3347 | + height: 55px; |
3348 | +} |
3349 | + |
3350 | .panel_wrapper div.current {height:420px;} |
3351 | \ No newline at end of file |
3352 | |
3353 | === modified file 'data/inc/lib/tiny_mce/plugins/fullpage/fullpage.htm' |
3354 | --- data/inc/lib/tiny_mce/plugins/fullpage/fullpage.htm 2009-08-22 12:41:23 +0000 |
3355 | +++ data/inc/lib/tiny_mce/plugins/fullpage/fullpage.htm 2009-10-25 20:25:24 +0000 |
3356 | @@ -1,576 +1,576 @@ |
3357 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
3358 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
3359 | -<head> |
3360 | - <title>{#fullpage_dlg.title}</title> |
3361 | - <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
3362 | - <script type="text/javascript" src="../../utils/mctabs.js"></script> |
3363 | - <script type="text/javascript" src="../../utils/form_utils.js"></script> |
3364 | - <script type="text/javascript" src="js/fullpage.js"></script> |
3365 | - <link href="css/fullpage.css" rel="stylesheet" type="text/css" /> |
3366 | -</head> |
3367 | -<body id="advlink" style="display: none"> |
3368 | - <form onsubmit="updateAction();return false;" name="fullpage" action="#"> |
3369 | - <div class="tabs"> |
3370 | - <ul> |
3371 | - <li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{#fullpage_dlg.meta_tab}</a></span></li> |
3372 | - <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#fullpage_dlg.appearance_tab}</a></span></li> |
3373 | - <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#fullpage_dlg.advanced_tab}</a></span></li> |
3374 | - </ul> |
3375 | - </div> |
3376 | - |
3377 | - <div class="panel_wrapper"> |
3378 | - <div id="meta_panel" class="panel current"> |
3379 | - <fieldset> |
3380 | - <legend>{#fullpage_dlg.meta_props}</legend> |
3381 | - |
3382 | - <table border="0" cellpadding="4" cellspacing="0"> |
3383 | - <tr> |
3384 | - <td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label> </td> |
3385 | - <td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td> |
3386 | - </tr> |
3387 | - <tr> |
3388 | - <td class="nowrap"><label for="metakeywords">{#fullpage_dlg.meta_keywords}</label> </td> |
3389 | - <td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td> |
3390 | - </tr> |
3391 | - <tr> |
3392 | - <td class="nowrap"><label for="metadescription">{#fullpage_dlg.meta_description}</label> </td> |
3393 | - <td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td> |
3394 | - </tr> |
3395 | - <tr> |
3396 | - <td class="nowrap"><label for="metaauthor">{#fullpage_dlg.author}</label> </td> |
3397 | - <td><input type="text" id="metaauthor" name="metaauthor" value="" /></td> |
3398 | - </tr> |
3399 | - <tr> |
3400 | - <td class="nowrap"><label for="metacopyright">{#fullpage_dlg.copyright}</label> </td> |
3401 | - <td><input type="text" id="metacopyright" name="metacopyright" value="" /></td> |
3402 | - </tr> |
3403 | - <tr> |
3404 | - <td class="nowrap"><label for="metarobots">{#fullpage_dlg.meta_robots}</label> </td> |
3405 | - <td> |
3406 | - <select id="metarobots" name="metarobots"> |
3407 | - <option value="">{#not_set}</option> |
3408 | - <option value="index,follow">{#fullpage_dlg.meta_index_follow}</option> |
3409 | - <option value="index,nofollow">{#fullpage_dlg.meta_index_nofollow}</option> |
3410 | - <option value="noindex,follow">{#fullpage_dlg.meta_noindex_follow}</option> |
3411 | - <option value="noindex,nofollow">{#fullpage_dlg.meta_noindex_nofollow}</option> |
3412 | - </select> |
3413 | - </td> |
3414 | - </tr> |
3415 | - </table> |
3416 | - </fieldset> |
3417 | - |
3418 | - <fieldset> |
3419 | - <legend>{#fullpage_dlg.langprops}</legend> |
3420 | - |
3421 | - <table border="0" cellpadding="4" cellspacing="0"> |
3422 | - <tr> |
3423 | - <td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td> |
3424 | - <td> |
3425 | - <select id="docencoding" name="docencoding"> |
3426 | - <option value="">{#not_set}</option> |
3427 | - </select> |
3428 | - </td> |
3429 | - </tr> |
3430 | - <tr> |
3431 | - <td class="nowrap"><label for="doctypes">{#fullpage_dlg.doctypes}</label> </td> |
3432 | - <td> |
3433 | - <select id="doctypes" name="doctypes"> |
3434 | - <option value="">{#not_set}</option> |
3435 | - </select> |
3436 | - </td> |
3437 | - </tr> |
3438 | - <tr> |
3439 | - <td class="nowrap"><label for="langcode">{#fullpage_dlg.langcode}</label> </td> |
3440 | - <td><input type="text" id="langcode" name="langcode" value="" /></td> |
3441 | - </tr> |
3442 | - <tr> |
3443 | - <td class="column1"><label for="langdir">{#fullpage_dlg.langdir}</label></td> |
3444 | - <td> |
3445 | - <select id="langdir" name="langdir"> |
3446 | - <option value="">{#not_set}</option> |
3447 | - <option value="ltr">{#fullpage_dlg.ltr}</option> |
3448 | - <option value="rtl">{#fullpage_dlg.rtl}</option> |
3449 | - </select> |
3450 | - </td> |
3451 | - </tr> |
3452 | - <tr> |
3453 | - <td class="nowrap"><label for="xml_pi">{#fullpage_dlg.xml_pi}</label> </td> |
3454 | - <td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td> |
3455 | - </tr> |
3456 | - </table> |
3457 | - </fieldset> |
3458 | - </div> |
3459 | - |
3460 | - <div id="appearance_panel" class="panel"> |
3461 | - <fieldset> |
3462 | - <legend>{#fullpage_dlg.appearance_textprops}</legend> |
3463 | - |
3464 | - <table border="0" cellpadding="4" cellspacing="0"> |
3465 | - <tr> |
3466 | - <td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td> |
3467 | - <td> |
3468 | - <select id="fontface" name="fontface" onchange="changedStyleField(this);"> |
3469 | - <option value="">{#not_set}</option> |
3470 | - </select> |
3471 | - </td> |
3472 | - </tr> |
3473 | - |
3474 | - <tr> |
3475 | - <td class="column1"><label for="fontsize">{#fullpage_dlg.fontsize}</label></td> |
3476 | - <td> |
3477 | - <select id="fontsize" name="fontsize" onchange="changedStyleField(this);"> |
3478 | - <option value="">{#not_set}</option> |
3479 | - </select> |
3480 | - </td> |
3481 | - </tr> |
3482 | - |
3483 | - <tr> |
3484 | - <td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td> |
3485 | - <td> |
3486 | - <table border="0" cellpadding="0" cellspacing="0"> |
3487 | - <tr> |
3488 | - <td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');changedStyleField(this);" /></td> |
3489 | - <td id="textcolor_pickcontainer"> </td> |
3490 | - </tr> |
3491 | - </table> |
3492 | - </td> |
3493 | - </tr> |
3494 | - </table> |
3495 | - </fieldset> |
3496 | - |
3497 | - <fieldset> |
3498 | - <legend>{#fullpage_dlg.appearance_bgprops}</legend> |
3499 | - |
3500 | - <table border="0" cellpadding="4" cellspacing="0"> |
3501 | - <tr> |
3502 | - <td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td> |
3503 | - <td> |
3504 | - <table border="0" cellpadding="0" cellspacing="0"> |
3505 | - <tr> |
3506 | - <td><input id="bgimage" name="bgimage" type="text" value="" onchange="changedStyleField(this);" /></td> |
3507 | - <td id="bgimage_pickcontainer"> </td> |
3508 | - </tr> |
3509 | - </table> |
3510 | - </td> |
3511 | - </tr> |
3512 | - <tr> |
3513 | - <td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td> |
3514 | - <td> |
3515 | - <table border="0" cellpadding="0" cellspacing="0"> |
3516 | - <tr> |
3517 | - <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedStyleField(this);" /></td> |
3518 | - <td id="bgcolor_pickcontainer"> </td> |
3519 | - </tr> |
3520 | - </table> |
3521 | - </td> |
3522 | - </tr> |
3523 | - </table> |
3524 | - </fieldset> |
3525 | - |
3526 | - <fieldset> |
3527 | - <legend>{#fullpage_dlg.appearance_marginprops}</legend> |
3528 | - |
3529 | - <table border="0" cellpadding="4" cellspacing="0"> |
3530 | - <tr> |
3531 | - <td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td> |
3532 | - <td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
3533 | - <td class="column1"><label for="rightmargin">{#fullpage_dlg.right_margin}</label></td> |
3534 | - <td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
3535 | - </tr> |
3536 | - <tr> |
3537 | - <td class="column1"><label for="topmargin">{#fullpage_dlg.top_margin}</label></td> |
3538 | - <td><input id="topmargin" name="topmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
3539 | - <td class="column1"><label for="bottommargin">{#fullpage_dlg.bottom_margin}</label></td> |
3540 | - <td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
3541 | - </tr> |
3542 | - </table> |
3543 | - </fieldset> |
3544 | - |
3545 | - <fieldset> |
3546 | - <legend>{#fullpage_dlg.appearance_linkprops}</legend> |
3547 | - |
3548 | - <table border="0" cellpadding="4" cellspacing="0"> |
3549 | - <tr> |
3550 | - <td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td> |
3551 | - <td> |
3552 | - <table border="0" cellpadding="0" cellspacing="0"> |
3553 | - <tr> |
3554 | - <td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');changedStyleField(this);" /></td> |
3555 | - <td id="link_color_pickcontainer"> </td> |
3556 | - </tr> |
3557 | - </table> |
3558 | - </td> |
3559 | - |
3560 | - <td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td> |
3561 | - <td> |
3562 | - <table border="0" cellpadding="0" cellspacing="0"> |
3563 | - <tr> |
3564 | - <td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');changedStyleField(this);" /></td> |
3565 | - <td id="visited_color_pickcontainer"> </td> |
3566 | - </tr> |
3567 | - </table> |
3568 | - </td> |
3569 | - </tr> |
3570 | - |
3571 | - <tr> |
3572 | - <td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td> |
3573 | - <td> |
3574 | - <table border="0" cellpadding="0" cellspacing="0"> |
3575 | - <tr> |
3576 | - <td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');changedStyleField(this);" /></td> |
3577 | - <td id="active_color_pickcontainer"> </td> |
3578 | - </tr> |
3579 | - </table> |
3580 | - </td> |
3581 | - |
3582 | - <td> </td> |
3583 | - <td> </td> |
3584 | - |
3585 | -<!-- <td class="column1"><label for="hover_color">{#fullpage_dlg.hover_color}</label></td> |
3586 | - <td> |
3587 | - <table border="0" cellpadding="0" cellspacing="0"> |
3588 | - <tr> |
3589 | - <td><input id="hover_color" name="hover_color" type="text" value="" size="9" onchange="changedStyleField(this);" /></td> |
3590 | - <td id="hover_color_pickcontainer"> </td> |
3591 | - </tr> |
3592 | - </table> |
3593 | - </td> --> |
3594 | - </tr> |
3595 | - </table> |
3596 | - </fieldset> |
3597 | - |
3598 | - <fieldset> |
3599 | - <legend>{#fullpage_dlg.appearance_style}</legend> |
3600 | - |
3601 | - <table border="0" cellpadding="4" cellspacing="0"> |
3602 | - <tr> |
3603 | - <td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td> |
3604 | - <td><table border="0" cellpadding="0" cellspacing="0"> |
3605 | - <tr> |
3606 | - <td><input id="stylesheet" name="stylesheet" type="text" value="" /></td> |
3607 | - <td id="stylesheet_browsercontainer"> </td> |
3608 | - </tr> |
3609 | - </table></td> |
3610 | - </tr> |
3611 | - <tr> |
3612 | - <td class="column1"><label for="style">{#fullpage_dlg.style}</label></td> |
3613 | - <td><input id="style" name="style" type="text" value="" onchange="changedStyleField(this);" /></td> |
3614 | - </tr> |
3615 | - </table> |
3616 | - </fieldset> |
3617 | - </div> |
3618 | - |
3619 | - <div id="advanced_panel" class="panel"> |
3620 | - <div id="addmenu"> |
3621 | - <table border="0" cellpadding="0" cellspacing="0"> |
3622 | - <tr><td><a href="javascript:addHeadElm('title');" onmousedown="return false;"><span>{#fullpage_dlg.add_title}</span></a></td></tr> |
3623 | - <tr><td><a href="javascript:addHeadElm('meta');" onmousedown="return false;"><span>{#fullpage_dlg.add_meta}</span></a></td></tr> |
3624 | - <tr><td><a href="javascript:addHeadElm('script');" onmousedown="return false;"><span>{#fullpage_dlg.add_script}</span></a></td></tr> |
3625 | - <tr><td><a href="javascript:addHeadElm('style');" onmousedown="return false;"><span>{#fullpage_dlg.add_style}</span></a></td></tr> |
3626 | - <tr><td><a href="javascript:addHeadElm('link');" onmousedown="return false;"><span>{#fullpage_dlg.add_link}</span></a></td></tr> |
3627 | - <tr><td><a href="javascript:addHeadElm('base');" onmousedown="return false;"><span>{#fullpage_dlg.add_base}</span></a></td></tr> |
3628 | - <tr><td><a href="javascript:addHeadElm('comment');" onmousedown="return false;"><span>{#fullpage_dlg.add_comment}</span></a></td></tr> |
3629 | - </table> |
3630 | - </div> |
3631 | - |
3632 | - <fieldset> |
3633 | - <legend>{#fullpage_dlg.head_elements}</legend> |
3634 | - |
3635 | - <div class="headlistwrapper"> |
3636 | - <div class="toolbar"> |
3637 | - <div style="float: left"> |
3638 | - <a id="addbutton" href="javascript:showAddMenu();" onmousedown="return false;" class="addbutton" title="{#fullpage_dlg.add}"></a> |
3639 | - <a href="#" onmousedown="return false;" class="removebutton" title="{#fullpage_dlg.remove}"></a> |
3640 | - </div> |
3641 | - <div style="float: right"> |
3642 | - <a href="#" onmousedown="return false;" class="moveupbutton" title="{#fullpage_dlg.moveup}"></a> |
3643 | - <a href="#" onmousedown="return false;" class="movedownbutton" title="{#fullpage_dlg.movedown}"></a> |
3644 | - </div> |
3645 | - <br style="clear: both" /> |
3646 | - </div> |
3647 | - <select id="headlist" size="26" onchange="updateHeadElm(this.options[this.selectedIndex].value);"> |
3648 | - <option value="title_0"><title>Some title bla bla bla</title></option> |
3649 | - <option value="meta_1"><meta name="keywords">Some bla bla bla</meta></option> |
3650 | - <option value="meta_2"><meta name="description">Some bla bla bla bla bla bla bla bla bla</meta></option> |
3651 | - <option value="script_3"><script language="javascript">...</script></option> |
3652 | - <option value="style_4"><style>...</style></option> |
3653 | - <option value="base_5"><base href="." /></option> |
3654 | - <option value="comment_6"><!-- ... --></option> |
3655 | - <option value="link_7"><link href="." /></option> |
3656 | - </select> |
3657 | - </div> |
3658 | - </fieldset> |
3659 | - |
3660 | - <fieldset id="meta_element"> |
3661 | - <legend>{#fullpage_dlg.meta_element}</legend> |
3662 | - |
3663 | - <table border="0" cellpadding="4" cellspacing="0"> |
3664 | - <tr> |
3665 | - <td class="column1"><label for="element_meta_type">{#fullpage_dlg.type}</label></td> |
3666 | - <td><select id="element_meta_type"> |
3667 | - <option value="name">name</option> |
3668 | - <option value="http-equiv">http-equiv</option> |
3669 | - </select></td> |
3670 | - </tr> |
3671 | - <tr> |
3672 | - <td class="column1"><label for="element_meta_name">{#fullpage_dlg.name}</label></td> |
3673 | - <td><input id="element_meta_name" name="element_meta_name" type="text" value="" /></td> |
3674 | - </tr> |
3675 | - <tr> |
3676 | - <td class="column1"><label for="element_meta_content">{#fullpage_dlg.content}</label></td> |
3677 | - <td><input id="element_meta_content" name="element_meta_content" type="text" value="" /></td> |
3678 | - </tr> |
3679 | - </table> |
3680 | - |
3681 | - <input type="button" id="meta_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3682 | - </fieldset> |
3683 | - |
3684 | - <fieldset id="title_element"> |
3685 | - <legend>{#fullpage_dlg.title_element}</legend> |
3686 | - |
3687 | - <table border="0" cellpadding="4" cellspacing="0"> |
3688 | - <tr> |
3689 | - <td class="column1"><label for="element_title">{#fullpage_dlg.meta_title}</label></td> |
3690 | - <td><input id="element_title" name="element_title" type="text" value="" /></td> |
3691 | - </tr> |
3692 | - </table> |
3693 | - |
3694 | - <input type="button" id="title_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3695 | - </fieldset> |
3696 | - |
3697 | - <fieldset id="script_element"> |
3698 | - <legend>{#fullpage_dlg.script_element}</legend> |
3699 | - |
3700 | - <div class="tabs"> |
3701 | - <ul> |
3702 | - <li id="script_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('script_props_tab','script_props_panel');" onmousedown="return false;">{#fullpage_dlg.properties}</a></span></li> |
3703 | - <li id="script_value_tab"><span><a href="javascript:mcTabs.displayTab('script_value_tab','script_value_panel');" onmousedown="return false;">{#fullpage_dlg.value}</a></span></li> |
3704 | - </ul> |
3705 | - </div> |
3706 | - |
3707 | - <br style="clear: both" /> |
3708 | - |
3709 | - <div class="panel_wrapper"> |
3710 | - <div id="script_props_panel" class="panel current"> |
3711 | - <table border="0" cellpadding="4" cellspacing="0"> |
3712 | - <tr> |
3713 | - <td class="column1"><label for="element_script_type">{#fullpage_dlg.type}</label></td> |
3714 | - <td><select id="element_script_type"> |
3715 | - <option value="text/javascript">text/javascript</option> |
3716 | - <option value="text/jscript">text/jscript</option> |
3717 | - <option value="text/vbscript">text/vbscript</option> |
3718 | - <option value="text/vbs">text/vbs</option> |
3719 | - <option value="text/ecmascript">text/ecmascript</option> |
3720 | - <option value="text/xml">text/xml</option> |
3721 | - </select></td> |
3722 | - </tr> |
3723 | - <tr> |
3724 | - <td class="column1"><label for="element_script_src">{#fullpage_dlg.src}</label></td> |
3725 | - <td><table border="0" cellpadding="0" cellspacing="0"> |
3726 | - <tr> |
3727 | - <td><input id="element_script_src" name="element_script_src" type="text" value="" /></td> |
3728 | - <td id="script_src_pickcontainer"> </td> |
3729 | - </tr> |
3730 | - </table></td> |
3731 | - </tr> |
3732 | - <tr> |
3733 | - <td class="column1"><label for="element_script_charset">{#fullpage_dlg.charset}</label></td> |
3734 | - <td><select id="element_script_charset"><option value="">{#not_set}</option></select></td> |
3735 | - </tr> |
3736 | - <tr> |
3737 | - <td class="column1"><label for="element_script_defer">{#fullpage_dlg.defer}</label></td> |
3738 | - <td><input type="checkbox" id="element_script_defer" name="element_script_defer" class="checkbox" /></td> |
3739 | - </tr> |
3740 | - </table> |
3741 | - </div> |
3742 | - |
3743 | - <div id="script_value_panel" class="panel"> |
3744 | - <textarea id="element_script_value"></textarea> |
3745 | - </div> |
3746 | - </div> |
3747 | - |
3748 | - <input type="button" id="script_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3749 | - </fieldset> |
3750 | - |
3751 | - <fieldset id="style_element"> |
3752 | - <legend>{#fullpage_dlg.style_element}</legend> |
3753 | - |
3754 | - <div class="tabs"> |
3755 | - <ul> |
3756 | - <li id="style_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('style_props_tab','style_props_panel');" onmousedown="return false;">{#fullpage_dlg.properties}</a></span></li> |
3757 | - <li id="style_value_tab"><span><a href="javascript:mcTabs.displayTab('style_value_tab','style_value_panel');" onmousedown="return false;">{#fullpage_dlg.value}</a></span></li> |
3758 | - </ul> |
3759 | - </div> |
3760 | - |
3761 | - <br style="clear: both" /> |
3762 | - |
3763 | - <div class="panel_wrapper"> |
3764 | - <div id="style_props_panel" class="panel current"> |
3765 | - <table border="0" cellpadding="4" cellspacing="0"> |
3766 | - <tr> |
3767 | - <td class="column1"><label for="element_style_type">{#fullpage_dlg.type}</label></td> |
3768 | - <td><select id="element_style_type"> |
3769 | - <option value="text/css">text/css</option> |
3770 | - </select></td> |
3771 | - </tr> |
3772 | - <tr> |
3773 | - <td class="column1"><label for="element_style_media">{#fullpage_dlg.media}</label></td> |
3774 | - <td><select id="element_style_media"></select></td> |
3775 | - </tr> |
3776 | - </table> |
3777 | - </div> |
3778 | - |
3779 | - <div id="style_value_panel" class="panel"> |
3780 | - <textarea id="element_style_value"></textarea> |
3781 | - </div> |
3782 | - </div> |
3783 | - |
3784 | - <input type="button" id="style_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3785 | - </fieldset> |
3786 | - |
3787 | - <fieldset id="base_element"> |
3788 | - <legend>{#fullpage_dlg.base_element}</legend> |
3789 | - |
3790 | - <table border="0" cellpadding="4" cellspacing="0"> |
3791 | - <tr> |
3792 | - <td class="column1"><label for="element_base_href">{#fullpage_dlg.href}</label></td> |
3793 | - <td><input id="element_base_href" name="element_base_href" type="text" value="" /></td> |
3794 | - </tr> |
3795 | - <tr> |
3796 | - <td class="column1"><label for="element_base_target">{#fullpage_dlg.target}</label></td> |
3797 | - <td><input id="element_base_target" name="element_base_target" type="text" value="" /></td> |
3798 | - </tr> |
3799 | - </table> |
3800 | - |
3801 | - <input type="button" id="base_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3802 | - </fieldset> |
3803 | - |
3804 | - <fieldset id="link_element"> |
3805 | - <legend>{#fullpage_dlg.link_element}</legend> |
3806 | - |
3807 | - <div class="tabs"> |
3808 | - <ul> |
3809 | - <li id="link_general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('link_general_tab','link_general_panel');" onmousedown="return false;">{#fullpage_dlg.general_props}</a></span></li> |
3810 | - <li id="link_advanced_tab"><span><a href="javascript:mcTabs.displayTab('link_advanced_tab','link_advanced_panel');" onmousedown="return false;">{#fullpage_dlg.advanced_props}</a></span></li> |
3811 | - </ul> |
3812 | - </div> |
3813 | - |
3814 | - <br style="clear: both" /> |
3815 | - |
3816 | - <div class="panel_wrapper"> |
3817 | - <div id="link_general_panel" class="panel current"> |
3818 | - <table border="0" cellpadding="4" cellspacing="0"> |
3819 | - <tr> |
3820 | - <td class="column1"><label for="element_link_href">{#fullpage_dlg.href}</label></td> |
3821 | - <td><table border="0" cellpadding="0" cellspacing="0"> |
3822 | - <tr> |
3823 | - <td><input id="element_link_href" name="element_link_href" type="text" value="" /></td> |
3824 | - <td id="link_href_pickcontainer"> </td> |
3825 | - </tr> |
3826 | - </table></td> |
3827 | - </tr> |
3828 | - <tr> |
3829 | - <td class="column1"><label for="element_link_title">{#fullpage_dlg.meta_title}</label></td> |
3830 | - <td><input id="element_link_title" name="element_link_title" type="text" value="" /></td> |
3831 | - </tr> |
3832 | - <tr> |
3833 | - <td class="column1"><label for="element_link_type">{#fullpage_dlg.type}</label></td> |
3834 | - <td><select id="element_link_type" name="element_link_type"> |
3835 | - <option value="text/css">text/css</option> |
3836 | - <option value="text/javascript">text/javascript</option> |
3837 | - </select></td> |
3838 | - </tr> |
3839 | - <tr> |
3840 | - <td class="column1"><label for="element_link_media">{#fullpage_dlg.media}</label></td> |
3841 | - <td><select id="element_link_media" name="element_link_media"></select></td> |
3842 | - </tr> |
3843 | - <tr> |
3844 | - <td><label for="element_style_rel">{#fullpage_dlg.rel}</label></td> |
3845 | - <td><select id="element_style_rel" name="element_style_rel"> |
3846 | - <option value="">{#not_set}</option> |
3847 | - <option value="stylesheet">Stylesheet</option> |
3848 | - <option value="alternate">Alternate</option> |
3849 | - <option value="designates">Designates</option> |
3850 | - <option value="start">Start</option> |
3851 | - <option value="next">Next</option> |
3852 | - <option value="prev">Prev</option> |
3853 | - <option value="contents">Contents</option> |
3854 | - <option value="index">Index</option> |
3855 | - <option value="glossary">Glossary</option> |
3856 | - <option value="copyright">Copyright</option> |
3857 | - <option value="chapter">Chapter</option> |
3858 | - <option value="subsection">Subsection</option> |
3859 | - <option value="appendix">Appendix</option> |
3860 | - <option value="help">Help</option> |
3861 | - <option value="bookmark">Bookmark</option> |
3862 | - </select> |
3863 | - </td> |
3864 | - </tr> |
3865 | - </table> |
3866 | - </div> |
3867 | - |
3868 | - <div id="link_advanced_panel" class="panel"> |
3869 | - <table border="0" cellpadding="4" cellspacing="0"> |
3870 | - <tr> |
3871 | - <td class="column1"><label for="element_link_charset">{#fullpage_dlg.charset}</label></td> |
3872 | - <td><select id="element_link_charset"><option value="">{#not_set}</option></select></td> |
3873 | - </tr> |
3874 | - <tr> |
3875 | - <td class="column1"><label for="element_link_hreflang">{#fullpage_dlg.hreflang}</label></td> |
3876 | - <td><input id="element_link_hreflang" name="element_link_hreflang" type="text" value="" /></td> |
3877 | - </tr> |
3878 | - <tr> |
3879 | - <td class="column1"><label for="element_link_target">{#fullpage_dlg.target}</label></td> |
3880 | - <td><input id="element_link_target" name="element_link_target" type="text" value="" /></td> |
3881 | - </tr> |
3882 | - <tr> |
3883 | - <td><label for="element_style_rev">{#fullpage_dlg.rev}</label></td> |
3884 | - <td><select id="element_style_rev" name="element_style_rev"> |
3885 | - <option value="">{#not_set}</option> |
3886 | - <option value="alternate">Alternate</option> |
3887 | - <option value="designates">Designates</option> |
3888 | - <option value="stylesheet">Stylesheet</option> |
3889 | - <option value="start">Start</option> |
3890 | - <option value="next">Next</option> |
3891 | - <option value="prev">Prev</option> |
3892 | - <option value="contents">Contents</option> |
3893 | - <option value="index">Index</option> |
3894 | - <option value="glossary">Glossary</option> |
3895 | - <option value="copyright">Copyright</option> |
3896 | - <option value="chapter">Chapter</option> |
3897 | - <option value="subsection">Subsection</option> |
3898 | - <option value="appendix">Appendix</option> |
3899 | - <option value="help">Help</option> |
3900 | - <option value="bookmark">Bookmark</option> |
3901 | - </select> |
3902 | - </td> |
3903 | - </tr> |
3904 | - </table> |
3905 | - </div> |
3906 | - </div> |
3907 | - |
3908 | - <input type="button" id="link_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3909 | - </fieldset> |
3910 | - |
3911 | - <fieldset id="comment_element"> |
3912 | - <legend>{#fullpage_dlg.comment_element}</legend> |
3913 | - |
3914 | - <textarea id="element_comment_value"></textarea> |
3915 | - |
3916 | - <input type="button" id="comment_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
3917 | - </fieldset> |
3918 | - </div> |
3919 | - </div> |
3920 | - |
3921 | - <div class="mceActionPanel"> |
3922 | - <div style="float: left"> |
3923 | - <input type="submit" id="insert" name="update" value="{#update}" /> |
3924 | - </div> |
3925 | - |
3926 | - <div style="float: right"> |
3927 | - <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
3928 | - </div> |
3929 | - </div> |
3930 | - </form> |
3931 | -</body> |
3932 | -</html> |
3933 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
3934 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
3935 | +<head> |
3936 | + <title>{#fullpage_dlg.title}</title> |
3937 | + <script type="text/javascript" src="../../tiny_mce_popup.js"></script> |
3938 | + <script type="text/javascript" src="../../utils/mctabs.js"></script> |
3939 | + <script type="text/javascript" src="../../utils/form_utils.js"></script> |
3940 | + <script type="text/javascript" src="js/fullpage.js"></script> |
3941 | + <link href="css/fullpage.css" rel="stylesheet" type="text/css" /> |
3942 | +</head> |
3943 | +<body id="advlink" style="display: none"> |
3944 | + <form onsubmit="updateAction();return false;" name="fullpage" action="#"> |
3945 | + <div class="tabs"> |
3946 | + <ul> |
3947 | + <li id="meta_tab" class="current"><span><a href="javascript:mcTabs.displayTab('meta_tab','meta_panel');" onmousedown="return false;">{#fullpage_dlg.meta_tab}</a></span></li> |
3948 | + <li id="appearance_tab"><span><a href="javascript:mcTabs.displayTab('appearance_tab','appearance_panel');" onmousedown="return false;">{#fullpage_dlg.appearance_tab}</a></span></li> |
3949 | + <li id="advanced_tab"><span><a href="javascript:mcTabs.displayTab('advanced_tab','advanced_panel');" onmousedown="return false;">{#fullpage_dlg.advanced_tab}</a></span></li> |
3950 | + </ul> |
3951 | + </div> |
3952 | + |
3953 | + <div class="panel_wrapper"> |
3954 | + <div id="meta_panel" class="panel current"> |
3955 | + <fieldset> |
3956 | + <legend>{#fullpage_dlg.meta_props}</legend> |
3957 | + |
3958 | + <table border="0" cellpadding="4" cellspacing="0"> |
3959 | + <tr> |
3960 | + <td class="nowrap"><label for="metatitle">{#fullpage_dlg.meta_title}</label> </td> |
3961 | + <td><input type="text" id="metatitle" name="metatitle" value="" class="mceFocus" /></td> |
3962 | + </tr> |
3963 | + <tr> |
3964 | + <td class="nowrap"><label for="metakeywords">{#fullpage_dlg.meta_keywords}</label> </td> |
3965 | + <td><textarea id="metakeywords" name="metakeywords" rows="4"></textarea></td> |
3966 | + </tr> |
3967 | + <tr> |
3968 | + <td class="nowrap"><label for="metadescription">{#fullpage_dlg.meta_description}</label> </td> |
3969 | + <td><textarea id="metadescription" name="metadescription" rows="4"></textarea></td> |
3970 | + </tr> |
3971 | + <tr> |
3972 | + <td class="nowrap"><label for="metaauthor">{#fullpage_dlg.author}</label> </td> |
3973 | + <td><input type="text" id="metaauthor" name="metaauthor" value="" /></td> |
3974 | + </tr> |
3975 | + <tr> |
3976 | + <td class="nowrap"><label for="metacopyright">{#fullpage_dlg.copyright}</label> </td> |
3977 | + <td><input type="text" id="metacopyright" name="metacopyright" value="" /></td> |
3978 | + </tr> |
3979 | + <tr> |
3980 | + <td class="nowrap"><label for="metarobots">{#fullpage_dlg.meta_robots}</label> </td> |
3981 | + <td> |
3982 | + <select id="metarobots" name="metarobots"> |
3983 | + <option value="">{#not_set}</option> |
3984 | + <option value="index,follow">{#fullpage_dlg.meta_index_follow}</option> |
3985 | + <option value="index,nofollow">{#fullpage_dlg.meta_index_nofollow}</option> |
3986 | + <option value="noindex,follow">{#fullpage_dlg.meta_noindex_follow}</option> |
3987 | + <option value="noindex,nofollow">{#fullpage_dlg.meta_noindex_nofollow}</option> |
3988 | + </select> |
3989 | + </td> |
3990 | + </tr> |
3991 | + </table> |
3992 | + </fieldset> |
3993 | + |
3994 | + <fieldset> |
3995 | + <legend>{#fullpage_dlg.langprops}</legend> |
3996 | + |
3997 | + <table border="0" cellpadding="4" cellspacing="0"> |
3998 | + <tr> |
3999 | + <td class="column1"><label for="docencoding">{#fullpage_dlg.encoding}</label></td> |
4000 | + <td> |
4001 | + <select id="docencoding" name="docencoding"> |
4002 | + <option value="">{#not_set}</option> |
4003 | + </select> |
4004 | + </td> |
4005 | + </tr> |
4006 | + <tr> |
4007 | + <td class="nowrap"><label for="doctypes">{#fullpage_dlg.doctypes}</label> </td> |
4008 | + <td> |
4009 | + <select id="doctypes" name="doctypes"> |
4010 | + <option value="">{#not_set}</option> |
4011 | + </select> |
4012 | + </td> |
4013 | + </tr> |
4014 | + <tr> |
4015 | + <td class="nowrap"><label for="langcode">{#fullpage_dlg.langcode}</label> </td> |
4016 | + <td><input type="text" id="langcode" name="langcode" value="" /></td> |
4017 | + </tr> |
4018 | + <tr> |
4019 | + <td class="column1"><label for="langdir">{#fullpage_dlg.langdir}</label></td> |
4020 | + <td> |
4021 | + <select id="langdir" name="langdir"> |
4022 | + <option value="">{#not_set}</option> |
4023 | + <option value="ltr">{#fullpage_dlg.ltr}</option> |
4024 | + <option value="rtl">{#fullpage_dlg.rtl}</option> |
4025 | + </select> |
4026 | + </td> |
4027 | + </tr> |
4028 | + <tr> |
4029 | + <td class="nowrap"><label for="xml_pi">{#fullpage_dlg.xml_pi}</label> </td> |
4030 | + <td><input type="checkbox" id="xml_pi" name="xml_pi" class="checkbox" /></td> |
4031 | + </tr> |
4032 | + </table> |
4033 | + </fieldset> |
4034 | + </div> |
4035 | + |
4036 | + <div id="appearance_panel" class="panel"> |
4037 | + <fieldset> |
4038 | + <legend>{#fullpage_dlg.appearance_textprops}</legend> |
4039 | + |
4040 | + <table border="0" cellpadding="4" cellspacing="0"> |
4041 | + <tr> |
4042 | + <td class="column1"><label for="fontface">{#fullpage_dlg.fontface}</label></td> |
4043 | + <td> |
4044 | + <select id="fontface" name="fontface" onchange="changedStyleField(this);"> |
4045 | + <option value="">{#not_set}</option> |
4046 | + </select> |
4047 | + </td> |
4048 | + </tr> |
4049 | + |
4050 | + <tr> |
4051 | + <td class="column1"><label for="fontsize">{#fullpage_dlg.fontsize}</label></td> |
4052 | + <td> |
4053 | + <select id="fontsize" name="fontsize" onchange="changedStyleField(this);"> |
4054 | + <option value="">{#not_set}</option> |
4055 | + </select> |
4056 | + </td> |
4057 | + </tr> |
4058 | + |
4059 | + <tr> |
4060 | + <td class="column1"><label for="textcolor">{#fullpage_dlg.textcolor}</label></td> |
4061 | + <td> |
4062 | + <table border="0" cellpadding="0" cellspacing="0"> |
4063 | + <tr> |
4064 | + <td><input id="textcolor" name="textcolor" type="text" value="" size="9" onchange="updateColor('textcolor_pick','textcolor');changedStyleField(this);" /></td> |
4065 | + <td id="textcolor_pickcontainer"> </td> |
4066 | + </tr> |
4067 | + </table> |
4068 | + </td> |
4069 | + </tr> |
4070 | + </table> |
4071 | + </fieldset> |
4072 | + |
4073 | + <fieldset> |
4074 | + <legend>{#fullpage_dlg.appearance_bgprops}</legend> |
4075 | + |
4076 | + <table border="0" cellpadding="4" cellspacing="0"> |
4077 | + <tr> |
4078 | + <td class="column1"><label for="bgimage">{#fullpage_dlg.bgimage}</label></td> |
4079 | + <td> |
4080 | + <table border="0" cellpadding="0" cellspacing="0"> |
4081 | + <tr> |
4082 | + <td><input id="bgimage" name="bgimage" type="text" value="" onchange="changedStyleField(this);" /></td> |
4083 | + <td id="bgimage_pickcontainer"> </td> |
4084 | + </tr> |
4085 | + </table> |
4086 | + </td> |
4087 | + </tr> |
4088 | + <tr> |
4089 | + <td class="column1"><label for="bgcolor">{#fullpage_dlg.bgcolor}</label></td> |
4090 | + <td> |
4091 | + <table border="0" cellpadding="0" cellspacing="0"> |
4092 | + <tr> |
4093 | + <td><input id="bgcolor" name="bgcolor" type="text" value="" size="9" onchange="updateColor('bgcolor_pick','bgcolor');changedStyleField(this);" /></td> |
4094 | + <td id="bgcolor_pickcontainer"> </td> |
4095 | + </tr> |
4096 | + </table> |
4097 | + </td> |
4098 | + </tr> |
4099 | + </table> |
4100 | + </fieldset> |
4101 | + |
4102 | + <fieldset> |
4103 | + <legend>{#fullpage_dlg.appearance_marginprops}</legend> |
4104 | + |
4105 | + <table border="0" cellpadding="4" cellspacing="0"> |
4106 | + <tr> |
4107 | + <td class="column1"><label for="leftmargin">{#fullpage_dlg.left_margin}</label></td> |
4108 | + <td><input id="leftmargin" name="leftmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
4109 | + <td class="column1"><label for="rightmargin">{#fullpage_dlg.right_margin}</label></td> |
4110 | + <td><input id="rightmargin" name="rightmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
4111 | + </tr> |
4112 | + <tr> |
4113 | + <td class="column1"><label for="topmargin">{#fullpage_dlg.top_margin}</label></td> |
4114 | + <td><input id="topmargin" name="topmargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
4115 | + <td class="column1"><label for="bottommargin">{#fullpage_dlg.bottom_margin}</label></td> |
4116 | + <td><input id="bottommargin" name="bottommargin" type="text" value="" onchange="changedStyleField(this);" /></td> |
4117 | + </tr> |
4118 | + </table> |
4119 | + </fieldset> |
4120 | + |
4121 | + <fieldset> |
4122 | + <legend>{#fullpage_dlg.appearance_linkprops}</legend> |
4123 | + |
4124 | + <table border="0" cellpadding="4" cellspacing="0"> |
4125 | + <tr> |
4126 | + <td class="column1"><label for="link_color">{#fullpage_dlg.link_color}</label></td> |
4127 | + <td> |
4128 | + <table border="0" cellpadding="0" cellspacing="0"> |
4129 | + <tr> |
4130 | + <td><input id="link_color" name="link_color" type="text" value="" size="9" onchange="updateColor('link_color_pick','link_color');changedStyleField(this);" /></td> |
4131 | + <td id="link_color_pickcontainer"> </td> |
4132 | + </tr> |
4133 | + </table> |
4134 | + </td> |
4135 | + |
4136 | + <td class="column1"><label for="visited_color">{#fullpage_dlg.visited_color}</label></td> |
4137 | + <td> |
4138 | + <table border="0" cellpadding="0" cellspacing="0"> |
4139 | + <tr> |
4140 | + <td><input id="visited_color" name="visited_color" type="text" value="" size="9" onchange="updateColor('visited_color_pick','visited_color');changedStyleField(this);" /></td> |
4141 | + <td id="visited_color_pickcontainer"> </td> |
4142 | + </tr> |
4143 | + </table> |
4144 | + </td> |
4145 | + </tr> |
4146 | + |
4147 | + <tr> |
4148 | + <td class="column1"><label for="active_color">{#fullpage_dlg.active_color}</label></td> |
4149 | + <td> |
4150 | + <table border="0" cellpadding="0" cellspacing="0"> |
4151 | + <tr> |
4152 | + <td><input id="active_color" name="active_color" type="text" value="" size="9" onchange="updateColor('active_color_pick','active_color');changedStyleField(this);" /></td> |
4153 | + <td id="active_color_pickcontainer"> </td> |
4154 | + </tr> |
4155 | + </table> |
4156 | + </td> |
4157 | + |
4158 | + <td> </td> |
4159 | + <td> </td> |
4160 | + |
4161 | +<!-- <td class="column1"><label for="hover_color">{#fullpage_dlg.hover_color}</label></td> |
4162 | + <td> |
4163 | + <table border="0" cellpadding="0" cellspacing="0"> |
4164 | + <tr> |
4165 | + <td><input id="hover_color" name="hover_color" type="text" value="" size="9" onchange="changedStyleField(this);" /></td> |
4166 | + <td id="hover_color_pickcontainer"> </td> |
4167 | + </tr> |
4168 | + </table> |
4169 | + </td> --> |
4170 | + </tr> |
4171 | + </table> |
4172 | + </fieldset> |
4173 | + |
4174 | + <fieldset> |
4175 | + <legend>{#fullpage_dlg.appearance_style}</legend> |
4176 | + |
4177 | + <table border="0" cellpadding="4" cellspacing="0"> |
4178 | + <tr> |
4179 | + <td class="column1"><label for="stylesheet">{#fullpage_dlg.stylesheet}</label></td> |
4180 | + <td><table border="0" cellpadding="0" cellspacing="0"> |
4181 | + <tr> |
4182 | + <td><input id="stylesheet" name="stylesheet" type="text" value="" /></td> |
4183 | + <td id="stylesheet_browsercontainer"> </td> |
4184 | + </tr> |
4185 | + </table></td> |
4186 | + </tr> |
4187 | + <tr> |
4188 | + <td class="column1"><label for="style">{#fullpage_dlg.style}</label></td> |
4189 | + <td><input id="style" name="style" type="text" value="" onchange="changedStyleField(this);" /></td> |
4190 | + </tr> |
4191 | + </table> |
4192 | + </fieldset> |
4193 | + </div> |
4194 | + |
4195 | + <div id="advanced_panel" class="panel"> |
4196 | + <div id="addmenu"> |
4197 | + <table border="0" cellpadding="0" cellspacing="0"> |
4198 | + <tr><td><a href="javascript:addHeadElm('title');" onmousedown="return false;"><span>{#fullpage_dlg.add_title}</span></a></td></tr> |
4199 | + <tr><td><a href="javascript:addHeadElm('meta');" onmousedown="return false;"><span>{#fullpage_dlg.add_meta}</span></a></td></tr> |
4200 | + <tr><td><a href="javascript:addHeadElm('script');" onmousedown="return false;"><span>{#fullpage_dlg.add_script}</span></a></td></tr> |
4201 | + <tr><td><a href="javascript:addHeadElm('style');" onmousedown="return false;"><span>{#fullpage_dlg.add_style}</span></a></td></tr> |
4202 | + <tr><td><a href="javascript:addHeadElm('link');" onmousedown="return false;"><span>{#fullpage_dlg.add_link}</span></a></td></tr> |
4203 | + <tr><td><a href="javascript:addHeadElm('base');" onmousedown="return false;"><span>{#fullpage_dlg.add_base}</span></a></td></tr> |
4204 | + <tr><td><a href="javascript:addHeadElm('comment');" onmousedown="return false;"><span>{#fullpage_dlg.add_comment}</span></a></td></tr> |
4205 | + </table> |
4206 | + </div> |
4207 | + |
4208 | + <fieldset> |
4209 | + <legend>{#fullpage_dlg.head_elements}</legend> |
4210 | + |
4211 | + <div class="headlistwrapper"> |
4212 | + <div class="toolbar"> |
4213 | + <div style="float: left"> |
4214 | + <a id="addbutton" href="javascript:showAddMenu();" onmousedown="return false;" class="addbutton" title="{#fullpage_dlg.add}"></a> |
4215 | + <a href="#" onmousedown="return false;" class="removebutton" title="{#fullpage_dlg.remove}"></a> |
4216 | + </div> |
4217 | + <div style="float: right"> |
4218 | + <a href="#" onmousedown="return false;" class="moveupbutton" title="{#fullpage_dlg.moveup}"></a> |
4219 | + <a href="#" onmousedown="return false;" class="movedownbutton" title="{#fullpage_dlg.movedown}"></a> |
4220 | + </div> |
4221 | + <br style="clear: both" /> |
4222 | + </div> |
4223 | + <select id="headlist" size="26" onchange="updateHeadElm(this.options[this.selectedIndex].value);"> |
4224 | + <option value="title_0"><title>Some title bla bla bla</title></option> |
4225 | + <option value="meta_1"><meta name="keywords">Some bla bla bla</meta></option> |
4226 | + <option value="meta_2"><meta name="description">Some bla bla bla bla bla bla bla bla bla</meta></option> |
4227 | + <option value="script_3"><script language="javascript">...</script></option> |
4228 | + <option value="style_4"><style>...</style></option> |
4229 | + <option value="base_5"><base href="." /></option> |
4230 | + <option value="comment_6"><!-- ... --></option> |
4231 | + <option value="link_7"><link href="." /></option> |
4232 | + </select> |
4233 | + </div> |
4234 | + </fieldset> |
4235 | + |
4236 | + <fieldset id="meta_element"> |
4237 | + <legend>{#fullpage_dlg.meta_element}</legend> |
4238 | + |
4239 | + <table border="0" cellpadding="4" cellspacing="0"> |
4240 | + <tr> |
4241 | + <td class="column1"><label for="element_meta_type">{#fullpage_dlg.type}</label></td> |
4242 | + <td><select id="element_meta_type"> |
4243 | + <option value="name">name</option> |
4244 | + <option value="http-equiv">http-equiv</option> |
4245 | + </select></td> |
4246 | + </tr> |
4247 | + <tr> |
4248 | + <td class="column1"><label for="element_meta_name">{#fullpage_dlg.name}</label></td> |
4249 | + <td><input id="element_meta_name" name="element_meta_name" type="text" value="" /></td> |
4250 | + </tr> |
4251 | + <tr> |
4252 | + <td class="column1"><label for="element_meta_content">{#fullpage_dlg.content}</label></td> |
4253 | + <td><input id="element_meta_content" name="element_meta_content" type="text" value="" /></td> |
4254 | + </tr> |
4255 | + </table> |
4256 | + |
4257 | + <input type="button" id="meta_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4258 | + </fieldset> |
4259 | + |
4260 | + <fieldset id="title_element"> |
4261 | + <legend>{#fullpage_dlg.title_element}</legend> |
4262 | + |
4263 | + <table border="0" cellpadding="4" cellspacing="0"> |
4264 | + <tr> |
4265 | + <td class="column1"><label for="element_title">{#fullpage_dlg.meta_title}</label></td> |
4266 | + <td><input id="element_title" name="element_title" type="text" value="" /></td> |
4267 | + </tr> |
4268 | + </table> |
4269 | + |
4270 | + <input type="button" id="title_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4271 | + </fieldset> |
4272 | + |
4273 | + <fieldset id="script_element"> |
4274 | + <legend>{#fullpage_dlg.script_element}</legend> |
4275 | + |
4276 | + <div class="tabs"> |
4277 | + <ul> |
4278 | + <li id="script_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('script_props_tab','script_props_panel');" onmousedown="return false;">{#fullpage_dlg.properties}</a></span></li> |
4279 | + <li id="script_value_tab"><span><a href="javascript:mcTabs.displayTab('script_value_tab','script_value_panel');" onmousedown="return false;">{#fullpage_dlg.value}</a></span></li> |
4280 | + </ul> |
4281 | + </div> |
4282 | + |
4283 | + <br style="clear: both" /> |
4284 | + |
4285 | + <div class="panel_wrapper"> |
4286 | + <div id="script_props_panel" class="panel current"> |
4287 | + <table border="0" cellpadding="4" cellspacing="0"> |
4288 | + <tr> |
4289 | + <td class="column1"><label for="element_script_type">{#fullpage_dlg.type}</label></td> |
4290 | + <td><select id="element_script_type"> |
4291 | + <option value="text/javascript">text/javascript</option> |
4292 | + <option value="text/jscript">text/jscript</option> |
4293 | + <option value="text/vbscript">text/vbscript</option> |
4294 | + <option value="text/vbs">text/vbs</option> |
4295 | + <option value="text/ecmascript">text/ecmascript</option> |
4296 | + <option value="text/xml">text/xml</option> |
4297 | + </select></td> |
4298 | + </tr> |
4299 | + <tr> |
4300 | + <td class="column1"><label for="element_script_src">{#fullpage_dlg.src}</label></td> |
4301 | + <td><table border="0" cellpadding="0" cellspacing="0"> |
4302 | + <tr> |
4303 | + <td><input id="element_script_src" name="element_script_src" type="text" value="" /></td> |
4304 | + <td id="script_src_pickcontainer"> </td> |
4305 | + </tr> |
4306 | + </table></td> |
4307 | + </tr> |
4308 | + <tr> |
4309 | + <td class="column1"><label for="element_script_charset">{#fullpage_dlg.charset}</label></td> |
4310 | + <td><select id="element_script_charset"><option value="">{#not_set}</option></select></td> |
4311 | + </tr> |
4312 | + <tr> |
4313 | + <td class="column1"><label for="element_script_defer">{#fullpage_dlg.defer}</label></td> |
4314 | + <td><input type="checkbox" id="element_script_defer" name="element_script_defer" class="checkbox" /></td> |
4315 | + </tr> |
4316 | + </table> |
4317 | + </div> |
4318 | + |
4319 | + <div id="script_value_panel" class="panel"> |
4320 | + <textarea id="element_script_value"></textarea> |
4321 | + </div> |
4322 | + </div> |
4323 | + |
4324 | + <input type="button" id="script_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4325 | + </fieldset> |
4326 | + |
4327 | + <fieldset id="style_element"> |
4328 | + <legend>{#fullpage_dlg.style_element}</legend> |
4329 | + |
4330 | + <div class="tabs"> |
4331 | + <ul> |
4332 | + <li id="style_props_tab" class="current"><span><a href="javascript:mcTabs.displayTab('style_props_tab','style_props_panel');" onmousedown="return false;">{#fullpage_dlg.properties}</a></span></li> |
4333 | + <li id="style_value_tab"><span><a href="javascript:mcTabs.displayTab('style_value_tab','style_value_panel');" onmousedown="return false;">{#fullpage_dlg.value}</a></span></li> |
4334 | + </ul> |
4335 | + </div> |
4336 | + |
4337 | + <br style="clear: both" /> |
4338 | + |
4339 | + <div class="panel_wrapper"> |
4340 | + <div id="style_props_panel" class="panel current"> |
4341 | + <table border="0" cellpadding="4" cellspacing="0"> |
4342 | + <tr> |
4343 | + <td class="column1"><label for="element_style_type">{#fullpage_dlg.type}</label></td> |
4344 | + <td><select id="element_style_type"> |
4345 | + <option value="text/css">text/css</option> |
4346 | + </select></td> |
4347 | + </tr> |
4348 | + <tr> |
4349 | + <td class="column1"><label for="element_style_media">{#fullpage_dlg.media}</label></td> |
4350 | + <td><select id="element_style_media"></select></td> |
4351 | + </tr> |
4352 | + </table> |
4353 | + </div> |
4354 | + |
4355 | + <div id="style_value_panel" class="panel"> |
4356 | + <textarea id="element_style_value"></textarea> |
4357 | + </div> |
4358 | + </div> |
4359 | + |
4360 | + <input type="button" id="style_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4361 | + </fieldset> |
4362 | + |
4363 | + <fieldset id="base_element"> |
4364 | + <legend>{#fullpage_dlg.base_element}</legend> |
4365 | + |
4366 | + <table border="0" cellpadding="4" cellspacing="0"> |
4367 | + <tr> |
4368 | + <td class="column1"><label for="element_base_href">{#fullpage_dlg.href}</label></td> |
4369 | + <td><input id="element_base_href" name="element_base_href" type="text" value="" /></td> |
4370 | + </tr> |
4371 | + <tr> |
4372 | + <td class="column1"><label for="element_base_target">{#fullpage_dlg.target}</label></td> |
4373 | + <td><input id="element_base_target" name="element_base_target" type="text" value="" /></td> |
4374 | + </tr> |
4375 | + </table> |
4376 | + |
4377 | + <input type="button" id="base_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4378 | + </fieldset> |
4379 | + |
4380 | + <fieldset id="link_element"> |
4381 | + <legend>{#fullpage_dlg.link_element}</legend> |
4382 | + |
4383 | + <div class="tabs"> |
4384 | + <ul> |
4385 | + <li id="link_general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('link_general_tab','link_general_panel');" onmousedown="return false;">{#fullpage_dlg.general_props}</a></span></li> |
4386 | + <li id="link_advanced_tab"><span><a href="javascript:mcTabs.displayTab('link_advanced_tab','link_advanced_panel');" onmousedown="return false;">{#fullpage_dlg.advanced_props}</a></span></li> |
4387 | + </ul> |
4388 | + </div> |
4389 | + |
4390 | + <br style="clear: both" /> |
4391 | + |
4392 | + <div class="panel_wrapper"> |
4393 | + <div id="link_general_panel" class="panel current"> |
4394 | + <table border="0" cellpadding="4" cellspacing="0"> |
4395 | + <tr> |
4396 | + <td class="column1"><label for="element_link_href">{#fullpage_dlg.href}</label></td> |
4397 | + <td><table border="0" cellpadding="0" cellspacing="0"> |
4398 | + <tr> |
4399 | + <td><input id="element_link_href" name="element_link_href" type="text" value="" /></td> |
4400 | + <td id="link_href_pickcontainer"> </td> |
4401 | + </tr> |
4402 | + </table></td> |
4403 | + </tr> |
4404 | + <tr> |
4405 | + <td class="column1"><label for="element_link_title">{#fullpage_dlg.meta_title}</label></td> |
4406 | + <td><input id="element_link_title" name="element_link_title" type="text" value="" /></td> |
4407 | + </tr> |
4408 | + <tr> |
4409 | + <td class="column1"><label for="element_link_type">{#fullpage_dlg.type}</label></td> |
4410 | + <td><select id="element_link_type" name="element_link_type"> |
4411 | + <option value="text/css">text/css</option> |
4412 | + <option value="text/javascript">text/javascript</option> |
4413 | + </select></td> |
4414 | + </tr> |
4415 | + <tr> |
4416 | + <td class="column1"><label for="element_link_media">{#fullpage_dlg.media}</label></td> |
4417 | + <td><select id="element_link_media" name="element_link_media"></select></td> |
4418 | + </tr> |
4419 | + <tr> |
4420 | + <td><label for="element_style_rel">{#fullpage_dlg.rel}</label></td> |
4421 | + <td><select id="element_style_rel" name="element_style_rel"> |
4422 | + <option value="">{#not_set}</option> |
4423 | + <option value="stylesheet">Stylesheet</option> |
4424 | + <option value="alternate">Alternate</option> |
4425 | + <option value="designates">Designates</option> |
4426 | + <option value="start">Start</option> |
4427 | + <option value="next">Next</option> |
4428 | + <option value="prev">Prev</option> |
4429 | + <option value="contents">Contents</option> |
4430 | + <option value="index">Index</option> |
4431 | + <option value="glossary">Glossary</option> |
4432 | + <option value="copyright">Copyright</option> |
4433 | + <option value="chapter">Chapter</option> |
4434 | + <option value="subsection">Subsection</option> |
4435 | + <option value="appendix">Appendix</option> |
4436 | + <option value="help">Help</option> |
4437 | + <option value="bookmark">Bookmark</option> |
4438 | + </select> |
4439 | + </td> |
4440 | + </tr> |
4441 | + </table> |
4442 | + </div> |
4443 | + |
4444 | + <div id="link_advanced_panel" class="panel"> |
4445 | + <table border="0" cellpadding="4" cellspacing="0"> |
4446 | + <tr> |
4447 | + <td class="column1"><label for="element_link_charset">{#fullpage_dlg.charset}</label></td> |
4448 | + <td><select id="element_link_charset"><option value="">{#not_set}</option></select></td> |
4449 | + </tr> |
4450 | + <tr> |
4451 | + <td class="column1"><label for="element_link_hreflang">{#fullpage_dlg.hreflang}</label></td> |
4452 | + <td><input id="element_link_hreflang" name="element_link_hreflang" type="text" value="" /></td> |
4453 | + </tr> |
4454 | + <tr> |
4455 | + <td class="column1"><label for="element_link_target">{#fullpage_dlg.target}</label></td> |
4456 | + <td><input id="element_link_target" name="element_link_target" type="text" value="" /></td> |
4457 | + </tr> |
4458 | + <tr> |
4459 | + <td><label for="element_style_rev">{#fullpage_dlg.rev}</label></td> |
4460 | + <td><select id="element_style_rev" name="element_style_rev"> |
4461 | + <option value="">{#not_set}</option> |
4462 | + <option value="alternate">Alternate</option> |
4463 | + <option value="designates">Designates</option> |
4464 | + <option value="stylesheet">Stylesheet</option> |
4465 | + <option value="start">Start</option> |
4466 | + <option value="next">Next</option> |
4467 | + <option value="prev">Prev</option> |
4468 | + <option value="contents">Contents</option> |
4469 | + <option value="index">Index</option> |
4470 | + <option value="glossary">Glossary</option> |
4471 | + <option value="copyright">Copyright</option> |
4472 | + <option value="chapter">Chapter</option> |
4473 | + <option value="subsection">Subsection</option> |
4474 | + <option value="appendix">Appendix</option> |
4475 | + <option value="help">Help</option> |
4476 | + <option value="bookmark">Bookmark</option> |
4477 | + </select> |
4478 | + </td> |
4479 | + </tr> |
4480 | + </table> |
4481 | + </div> |
4482 | + </div> |
4483 | + |
4484 | + <input type="button" id="link_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4485 | + </fieldset> |
4486 | + |
4487 | + <fieldset id="comment_element"> |
4488 | + <legend>{#fullpage_dlg.comment_element}</legend> |
4489 | + |
4490 | + <textarea id="element_comment_value"></textarea> |
4491 | + |
4492 | + <input type="button" id="comment_updateelement" class="updateElementButton" name="update" value="{#update}" onclick="updateElement();" /> |
4493 | + </fieldset> |
4494 | + </div> |
4495 | + </div> |
4496 | + |
4497 | + <div class="mceActionPanel"> |
4498 | + <div style="float: left"> |
4499 | + <input type="submit" id="insert" name="update" value="{#update}" /> |
4500 | + </div> |
4501 | + |
4502 | + <div style="float: right"> |
4503 | + <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" /> |
4504 | + </div> |
4505 | + </div> |
4506 | + </form> |
4507 | +</body> |
4508 | +</html> |
4509 | |
4510 | === modified file 'data/inc/lib/tiny_mce/plugins/fullscreen/fullscreen.htm' |
4511 | --- data/inc/lib/tiny_mce/plugins/fullscreen/fullscreen.htm 2009-08-22 12:41:23 +0000 |
4512 | +++ data/inc/lib/tiny_mce/plugins/fullscreen/fullscreen.htm 2009-10-25 20:25:24 +0000 |
4513 | @@ -1,110 +1,110 @@ |
4514 | -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
4515 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
4516 | -<head> |
4517 | - <title></title> |
4518 | - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
4519 | - <script type="text/javascript" src="../../tiny_mce.js"></script> |
4520 | - <script type="text/javascript"> |
4521 | - function patchCallback(settings, key) { |
4522 | - if (settings[key]) |
4523 | - settings[key] = "window.opener." + settings[key]; |
4524 | - } |
4525 | - |
4526 | - var settings = {}, paSe = window.opener.tinyMCE.activeEditor.settings, oeID = window.opener.tinyMCE.activeEditor.id; |
4527 | - |
4528 | - // Clone array |
4529 | - for (var n in paSe) |
4530 | - settings[n] = paSe[n]; |
4531 | - |
4532 | - // Override options for fullscreen |
4533 | - for (var n in paSe.fullscreen_settings) |
4534 | - settings[n] = paSe.fullscreen_settings[n]; |
4535 | - |
4536 | - // Patch callbacks, make them point to window.opener |
4537 | - patchCallback(settings, 'urlconverter_callback'); |
4538 | - patchCallback(settings, 'insertlink_callback'); |
4539 | - patchCallback(settings, 'insertimage_callback'); |
4540 | - patchCallback(settings, 'setupcontent_callback'); |
4541 | - patchCallback(settings, 'save_callback'); |
4542 | - patchCallback(settings, 'onchange_callback'); |
4543 | - patchCallback(settings, 'init_instance_callback'); |
4544 | - patchCallback(settings, 'file_browser_callback'); |
4545 | - patchCallback(settings, 'cleanup_callback'); |
4546 | - patchCallback(settings, 'execcommand_callback'); |
4547 | - patchCallback(settings, 'oninit'); |
4548 | - |
4549 | - // Set options |
4550 | - delete settings.id; |
4551 | - settings['mode'] = 'exact'; |
4552 | - settings['elements'] = 'fullscreenarea'; |
4553 | - settings['add_unload_trigger'] = false; |
4554 | - settings['ask'] = false; |
4555 | - settings['document_base_url'] = window.opener.tinyMCE.activeEditor.documentBaseURI.getURI(); |
4556 | - settings['fullscreen_is_enabled'] = true; |
4557 | - settings['fullscreen_editor_id'] = oeID; |
4558 | - settings['theme_advanced_resizing'] = false; |
4559 | - settings['strict_loading_mode'] = true; |
4560 | - |
4561 | - settings.save_onsavecallback = function() { |
4562 | - window.opener.tinyMCE.get(oeID).setContent(tinyMCE.get('fullscreenarea').getContent({format : 'raw'}), {format : 'raw'}); |
4563 | - window.opener.tinyMCE.get(oeID).execCommand('mceSave'); |
4564 | - window.close(); |
4565 | - }; |
4566 | - |
4567 | - function unloadHandler(e) { |
4568 | - moveContent(); |
4569 | - } |
4570 | - |
4571 | - function moveContent() { |
4572 | - window.opener.tinyMCE.get(oeID).setContent(tinyMCE.activeEditor.getContent()); |
4573 | - } |
4574 | - |
4575 | - function closeFullscreen() { |
4576 | - moveContent(); |
4577 | - window.close(); |
4578 | - } |
4579 | - |
4580 | - function doParentSubmit() { |
4581 | - moveContent(); |
4582 | - |
4583 | - if (window.opener.tinyMCE.selectedInstance.formElement.form) |
4584 | - window.opener.tinyMCE.selectedInstance.formElement.form.submit(); |
4585 | - |
4586 | - window.close(); |
4587 | - |
4588 | - return false; |
4589 | - } |
4590 | - |
4591 | - function render() { |
4592 | - var e = document.getElementById('fullscreenarea'), vp, ed, ow, oh, dom = tinymce.DOM; |
4593 | - |
4594 | - e.value = window.opener.tinyMCE.get(oeID).getContent(); |
4595 | - |
4596 | - vp = dom.getViewPort(); |
4597 | - settings.width = vp.w; |
4598 | - settings.height = vp.h - 15; |
4599 | - |
4600 | - tinymce.dom.Event.add(window, 'resize', function() { |
4601 | - var vp = dom.getViewPort(); |
4602 | - |
4603 | - tinyMCE.activeEditor.theme.resizeTo(vp.w, vp.h); |
4604 | - }); |
4605 | - |
4606 | - tinyMCE.init(settings); |
4607 | - } |
4608 | - |
4609 | - // Add onunload |
4610 | - tinymce.dom.Event.add(window, "beforeunload", unloadHandler); |
4611 | - </script> |
4612 | -</head> |
4613 | -<body style="margin:0;overflow:hidden;width:100%;height:100%" scrolling="no" scroll="no"> |
4614 | -<form onsubmit="doParentSubmit();"> |
4615 | -<textarea id="fullscreenarea" style="width:100%; height:100%"></textarea> |
4616 | -</form> |
4617 | - |
4618 | -<script type="text/javascript"> |
4619 | - render(); |
4620 | -</script> |
4621 | - |
4622 | -</body> |
4623 | -</html> |
4624 | +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
4625 | +<html xmlns="http://www.w3.org/1999/xhtml"> |
4626 | +<head> |
4627 | + <title></title> |
4628 | + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> |
4629 | + <script type="text/javascript" src="../../tiny_mce.js"></script> |
4630 | + <script type="text/javascript"> |
4631 | + function patchCallback(settings, key) { |
4632 | + if (settings[key]) |
4633 | + settings[key] = "window.opener." + settings[key]; |
4634 | + } |
4635 | + |
4636 | + var settings = {}, paSe = window.opener.tinyMCE.activeEditor.settings, oeID = window.opener.tinyMCE.activeEditor.id; |
4637 | + |
4638 | + // Clone array |
4639 | + for (var n in paSe) |
4640 | + settings[n] = paSe[n]; |
4641 | + |
4642 | + // Override options for fullscreen |
4643 | + for (var n in paSe.fullscreen_settings) |
4644 | + settings[n] = paSe.fullscreen_settings[n]; |
4645 | + |
4646 | + // Patch callbacks, make them point to window.opener |
4647 | + patchCallback(settings, 'urlconverter_callback'); |
4648 | + patchCallback(settings, 'insertlink_callback'); |
4649 | + patchCallback(settings, 'insertimage_callback'); |
4650 | + patchCallback(settings, 'setupcontent_callback'); |
4651 | + patchCallback(settings, 'save_callback'); |
4652 | + patchCallback(settings, 'onchange_callback'); |
4653 | + patchCallback(settings, 'init_instance_callback'); |
4654 | + patchCallback(settings, 'file_browser_callback'); |
4655 | + patchCallback(settings, 'cleanup_callback'); |
4656 | + patchCallback(settings, 'execcommand_callback'); |
4657 | + patchCallback(settings, 'oninit'); |
4658 | + |
4659 | + // Set options |
4660 | + delete settings.id; |
4661 | + settings['mode'] = 'exact'; |
4662 | + settings['elements'] = 'fullscreenarea'; |
4663 | + settings['add_unload_trigger'] = false; |
4664 | + settings['ask'] = false; |
4665 | + settings['document_base_url'] = window.opener.tinyMCE.activeEditor.documentBaseURI.getURI(); |
4666 | + settings['fullscreen_is_enabled'] = true; |
4667 | + settings['fullscreen_editor_id'] = oeID; |
4668 | + settings['theme_advanced_resizing'] = false; |
4669 | + settings['strict_loading_mode'] = true; |
4670 | + |
4671 | + settings.save_onsavecallback = function() { |
4672 | + window.opener.tinyMCE.get(oeID).setContent(tinyMCE.get('fullscreenarea').getContent({format : 'raw'}), {format : 'raw'}); |
4673 | + window.opener.tinyMCE.get(oeID).execCommand('mceSave'); |
4674 | + window.close(); |
4675 | + }; |
4676 | + |
4677 | + function unloadHandler(e) { |
4678 | + moveContent(); |
4679 | + } |
4680 | + |
4681 | + function moveContent() { |
4682 | + window.opener.tinyMCE.get(oeID).setContent(tinyMCE.activeEditor.getContent()); |
4683 | + } |
4684 | + |
4685 | + function closeFullscreen() { |
4686 | + moveContent(); |
4687 | + window.close(); |
4688 | + } |
4689 | + |
4690 | + function doParentSubmit() { |
4691 | + moveContent(); |
4692 | + |
4693 | + if (window.opener.tinyMCE.selectedInstance.formElement.form) |
4694 | + window.opener.tinyMCE.selectedInstance.formElement.form.submit(); |
4695 | + |
4696 | + window.close(); |
4697 | + |
4698 | + return false; |
4699 | + } |
4700 | + |
4701 | + function render() { |
4702 | + var e = document.getElementById('fullscreenarea'), vp, ed, ow, oh, dom = tinymce.DOM; |
4703 | + |
4704 | + e.value = window.opener.tinyMCE.get(oeID).getContent(); |
4705 | + |
4706 | + vp = dom.getViewPort(); |
4707 | + settings.width = vp.w; |
4708 | + settings.height = vp.h - 15; |
4709 | + |
4710 | + tinymce.dom.Event.add(window, 'resize', function() { |
4711 | + var vp = dom.getViewPort(); |
4712 | + |
4713 | + tinyMCE.activeEditor.theme.resizeTo(vp.w, vp.h); |
4714 | + }); |
4715 | + |
4716 | + tinyMCE.init(settings); |
4717 | + } |
4718 | + |
4719 | + // Add onunload |
4720 | + tinymce.dom.Event.add(window, "beforeunload", unloadHandler); |
4721 | + </script> |
4722 | +</head> |
4723 | +<body style="margin:0;overflow:hidden;width:100%;height:100%" scrolling="no" scroll="no"> |
4724 | +<form onsubmit="doParentSubmit();"> |
4725 | +<textarea id="fullscreenarea" style="width:100%; height:100%"></textarea> |
4726 | +</form> |
4727 | + |
4728 | +<script type="text/javascript"> |
4729 | + render(); |
4730 | +</script> |
4731 | + |
4732 | +</body> |
4733 | +</html> |
4734 | |
4735 | === modified file 'data/inc/lib/tiny_mce/plugins/inlinepopups/template.htm' |
4736 | --- data/inc/lib/tiny_mce/plugins/inlinepopups/template.htm 2009-08-22 12:41:23 +0000 |
4737 | +++ data/inc/lib/tiny_mce/plugins/inlinepopups/template.htm 2009-10-25 20:25:24 +0000 |
4738 | @@ -1,387 +1,387 @@ |
4739 | -<!-- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> --> |
4740 | -<html xmlns="http://www.w3.org/1999/xhtml"> |
4741 | -<head> |
4742 | -<title>Template for dialogs</title> |
4743 | -<link rel="stylesheet" type="text/css" href="skins/clearlooks2/window.css" /> |
4744 | -</head> |
4745 | -<body> |
4746 | - |
4747 | -<div class="mceEditor"> |
4748 | - <div class="clearlooks2" style="width:400px; height:100px; left:10px;"> |
4749 | - <div class="mceWrapper"> |
4750 | - <div class="mceTop"> |
4751 | - <div class="mceLeft"></div> |
4752 | - <div class="mceCenter"></div> |
4753 | - <div class="mceRight"></div> |
4754 | - <span>Blured</span> |
4755 | - </div> |
4756 | - |
4757 | - <div class="mceMiddle"> |
4758 | - <div class="mceLeft"></div> |
4759 | - <span>Content</span> |
4760 | - <div class="mceRight"></div> |
4761 | - </div> |
4762 | - |
4763 | - <div class="mceBottom"> |
4764 | - <div class="mceLeft"></div> |
4765 | - <div class="mceCenter"></div> |
4766 | - <div class="mceRight"></div> |
4767 | - <span>Statusbar text.</span> |
4768 | - </div> |
4769 | - |
4770 | - <a class="mceMove" href="#"></a> |
4771 | - <a class="mceMin" href="#"></a> |
4772 | - <a class="mceMax" href="#"></a> |
4773 | - <a class="mceMed" href="#"></a> |
4774 | - <a class="mceClose" href="#"></a> |
4775 | - <a class="mceResize mceResizeN" href="#"></a> |
4776 | - <a class="mceResize mceResizeS" href="#"></a> |
4777 | - <a class="mceResize mceResizeW" href="#"></a> |
4778 | - <a class="mceResize mceResizeE" href="#"></a> |
4779 | - <a class="mceResize mceResizeNW" href="#"></a> |
4780 | - <a class="mceResize mceResizeNE" href="#"></a> |
4781 | - <a class="mceResize mceResizeSW" href="#"></a> |
4782 | - <a class="mceResize mceResizeSE" href="#"></a> |
4783 | - </div> |
4784 | - </div> |
4785 | - |
4786 | - <div class="clearlooks2" style="width:400px; height:100px; left:420px;"> |
4787 | - <div class="mceWrapper mceMovable mceFocus"> |
4788 | - <div class="mceTop"> |
4789 | - <div class="mceLeft"></div> |
4790 | - <div class="mceCenter"></div> |
4791 | - <div class="mceRight"></div> |
4792 | - <span>Focused</span> |
4793 | - </div> |
4794 | - |
4795 | - <div class="mceMiddle"> |
4796 | - <div class="mceLeft"></div> |
4797 | - <span>Content</span> |
4798 | - <div class="mceRight"></div> |
4799 | - </div> |
4800 | - |
4801 | - <div class="mceBottom"> |
4802 | - <div class="mceLeft"></div> |
4803 | - <div class="mceCenter"></div> |
4804 | - <div class="mceRight"></div> |
4805 | - <span>Statusbar text.</span> |
4806 | - </div> |
4807 | - |
4808 | - <a class="mceMove" href="#"></a> |
4809 | - <a class="mceMin" href="#"></a> |
4810 | - <a class="mceMax" href="#"></a> |
4811 | - <a class="mceMed" href="#"></a> |
4812 | - <a class="mceClose" href="#"></a> |
4813 | - <a class="mceResize mceResizeN" href="#"></a> |
4814 | - <a class="mceResize mceResizeS" href="#"></a> |
4815 | - <a class="mceResize mceResizeW" href="#"></a> |
4816 | - <a class="mceResize mceResizeE" href="#"></a> |
4817 | - <a class="mceResize mceResizeNW" href="#"></a> |
4818 | - <a class="mceResize mceResizeNE" href="#"></a> |
4819 | - <a class="mceResize mceResizeSW" href="#"></a> |
4820 | - <a class="mceResize mceResizeSE" href="#"></a> |
4821 | - </div> |
4822 | - </div> |
4823 | - |
4824 | - <div class="clearlooks2" style="width:400px; height:100px; left:10px; top:120px;"> |
4825 | - <div class="mceWrapper mceMovable mceFocus mceStatusbar"> |
4826 | - <div class="mceTop"> |
4827 | - <div class="mceLeft"></div> |
4828 | - <div class="mceCenter"></div> |
4829 | - <div class="mceRight"></div> |
4830 | - <span>Statusbar</span> |
4831 | - </div> |
4832 | - |
4833 | - <div class="mceMiddle"> |
4834 | - <div class="mceLeft"></div> |
4835 | - <span>Content</span> |
4836 | - <div class="mceRight"></div> |
4837 | - </div> |
4838 | - |
4839 | - <div class="mceBottom"> |
4840 | - <div class="mceLeft"></div> |
4841 | - <div class="mceCenter"></div> |
4842 | - <div class="mceRight"></div> |
4843 | - <span>Statusbar text.</span> |
4844 | - </div> |
4845 | - |
4846 | - <a class="mceMove" href="#"></a> |
4847 | - <a class="mceMin" href="#"></a> |
4848 | - <a class="mceMax" href="#"></a> |
4849 | - <a class="mceMed" href="#"></a> |
4850 | - <a class="mceClose" href="#"></a> |
4851 | - <a class="mceResize mceResizeN" href="#"></a> |
4852 | - <a class="mceResize mceResizeS" href="#"></a> |
4853 | - <a class="mceResize mceResizeW" href="#"></a> |
4854 | - <a class="mceResize mceResizeE" href="#"></a> |
4855 | - <a class="mceResize mceResizeNW" href="#"></a> |
4856 | - <a class="mceResize mceResizeNE" href="#"></a> |
4857 | - <a class="mceResize mceResizeSW" href="#"></a> |
4858 | - <a class="mceResize mceResizeSE" href="#"></a> |
4859 | - </div> |
4860 | - </div> |
4861 | - |
4862 | - <div class="clearlooks2" style="width:400px; height:100px; left:420px; top:120px;"> |
4863 | - <div class="mceWrapper mceMovable mceFocus mceStatusbar mceResizable"> |
4864 | - <div class="mceTop"> |
4865 | - <div class="mceLeft"></div> |
4866 | - <div class="mceCenter"></div> |
4867 | - <div class="mceRight"></div> |
4868 | - <span>Statusbar, Resizable</span> |
4869 | - </div> |
4870 | - |
4871 | - <div class="mceMiddle"> |
4872 | - <div class="mceLeft"></div> |
4873 | - <span>Content</span> |
4874 | - <div class="mceRight"></div> |
4875 | - </div> |
4876 | - |
4877 | - <div class="mceBottom"> |
4878 | - <div class="mceLeft"></div> |
4879 | - <div class="mceCenter"></div> |
4880 | - <div class="mceRight"></div> |
4881 | - <span>Statusbar text.</span> |
4882 | - </div> |
4883 | - |
4884 | - <a class="mceMove" href="#"></a> |
4885 | - <a class="mceMin" href="#"></a> |
4886 | - <a class="mceMax" href="#"></a> |
4887 | - <a class="mceMed" href="#"></a> |
4888 | - <a class="mceClose" href="#"></a> |
4889 | - <a class="mceResize mceResizeN" href="#"></a> |
4890 | - <a class="mceResize mceResizeS" href="#"></a> |
4891 | - <a class="mceResize mceResizeW" href="#"></a> |
4892 | - <a class="mceResize mceResizeE" href="#"></a> |
4893 | - <a class="mceResize mceResizeNW" href="#"></a> |
4894 | - <a class="mceResize mceResizeNE" href="#"></a> |
4895 | - <a class="mceResize mceResizeSW" href="#"></a> |
4896 | - <a class="mceResize mceResizeSE" href="#"></a> |
4897 | - </div> |
4898 | - </div> |
4899 | - |
4900 | - <div class="clearlooks2" style="width:400px; height:100px; left:10px; top:230px;"> |
4901 | - <div class="mceWrapper mceMovable mceFocus mceResizable mceMaximizable"> |
4902 | - <div class="mceTop"> |
4903 | - <div class="mceLeft"></div> |
4904 | - <div class="mceCenter"></div> |
4905 | - <div class="mceRight"></div> |
4906 | - <span>Resizable, Maximizable</span> |
4907 | - </div> |
4908 | - |
4909 | - <div class="mceMiddle"> |
4910 | - <div class="mceLeft"></div> |
4911 | - <span>Content</span> |
4912 | - <div class="mceRight"></div> |
4913 | - </div> |
4914 | - |
4915 | - <div class="mceBottom"> |
4916 | - <div class="mceLeft"></div> |
4917 | - <div class="mceCenter"></div> |
4918 | - <div class="mceRight"></div> |
4919 | - <span>Statusbar text.</span> |
4920 | - </div> |
4921 | - |
4922 | - <a class="mceMove" href="#"></a> |
4923 | - <a class="mceMin" href="#"></a> |
4924 | - <a class="mceMax" href="#"></a> |
4925 | - <a class="mceMed" href="#"></a> |
4926 | - <a class="mceClose" href="#"></a> |
4927 | - <a class="mceResize mceResizeN" href="#"></a> |
4928 | - <a class="mceResize mceResizeS" href="#"></a> |
4929 | - <a class="mceResize mceResizeW" href="#"></a> |
4930 | - <a class="mceResize mceResizeE" href="#"></a> |
4931 | - <a class="mceResize mceResizeNW" href="#"></a> |
4932 | - <a class="mceResize mceResizeNE" href="#"></a> |
4933 | - <a class="mceResize mceResizeSW" href="#"></a> |
4934 | - <a class="mceResize mceResizeSE" href="#"></a> |
4935 | - </div> |
4936 | - </div> |
4937 | - |
4938 | - <div class="clearlooks2" style="width:400px; height:100px; left:420px; top:230px;"> |
4939 | - <div class="mceWrapper mceMovable mceStatusbar mceResizable mceMaximizable"> |
4940 | - <div class="mceTop"> |
4941 | - <div class="mceLeft"></div> |
4942 | - <div class="mceCenter"></div> |
4943 | - <div class="mceRight"></div> |
4944 | - <span>Blurred, Maximizable, Statusbar, Resizable</span> |
4945 | - </div> |
4946 | - |
4947 | - <div class="mceMiddle"> |
4948 | - <div class="mceLeft"></div> |
4949 | - <span>Content</span> |
4950 | - <div class="mceRight"></div> |
4951 | - </div> |
4952 | - |
4953 | - <div class="mceBottom"> |
4954 | - <div class="mceLeft"></div> |
4955 | - <div class="mceCenter"></div> |
4956 | - <div class="mceRight"></div> |
4957 | - <span>Statusbar text.</span> |
4958 | - </div> |
4959 | - |
4960 | - <a class="mceMove" href="#"></a> |
4961 | - <a class="mceMin" href="#"></a> |
4962 | - <a class="mceMax" href="#"></a> |
4963 | - <a class="mceMed" href="#"></a> |
4964 | - <a class="mceClose" href="#"></a> |
4965 | - <a class="mceResize mceResizeN" href="#"></a> |
4966 | - <a class="mceResize mceResizeS" href="#"></a> |
4967 | - <a class="mceResize mceResizeW" href="#"></a> |
4968 | - <a class="mceResize mceResizeE" href="#"></a> |
4969 | - <a class="mceResize mceResizeNW" href="#"></a> |
4970 | - <a class="mceResize mceResizeNE" href="#"></a> |
4971 | - <a class="mceResize mceResizeSW" href="#"></a> |
4972 | - <a class="mceResize mceResizeSE" href="#"></a> |
4973 | - </div> |
4974 | - </div> |
4975 | - |
4976 | - <div class="clearlooks2" style="width:400px; height:100px; left:10px; top:340px;"> |
4977 | - <div class="mceWrapper mceMovable mceFocus mceResizable mceMaximized mceMinimizable mceMaximizable"> |
4978 | - <div class="mceTop"> |
4979 | - <div class="mceLeft"></div> |
4980 | - <div class="mceCenter"></div> |
4981 | - <div class="mceRight"></div> |
4982 | - <span>Maximized, Maximizable, Minimizable</span> |
4983 | - </div> |
4984 | - |
4985 | - <div class="mceMiddle"> |
4986 | - <div class="mceLeft"></div> |
4987 | - <span>Content</span> |
4988 | - <div class="mceRight"></div> |
4989 | - </div> |
4990 | - |
4991 | - <div class="mceBottom"> |
4992 | - <div class="mceLeft"></div> |
4993 | - <div class="mceCenter"></div> |
4994 | - <div class="mceRight"></div> |
4995 | - <span>Statusbar text.</span> |
4996 | - </div> |
4997 | - |
4998 | - <a class="mceMove" href="#"></a> |
4999 | - <a class="mceMin" href="#"></a> |
5000 | - <a class="mceMax" href="#"></a> |
The diff has been truncated for viewing.
SEF links with mod_rewrite and SEO site titles.