author | Dan Fuhry <dan@enanocms.org> |
Wed, 10 Nov 2010 13:55:24 -0500 | |
changeset 4 | f8d8b3ef32e0 |
parent 3 | 1e6929f9978b |
permissions | -rw-r--r-- |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
1 |
<?php |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
2 |
/**!info** |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
3 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
4 |
"Plugin Name" : "GUI Editor", |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
5 |
"Plugin URI" : "http://enanocms.org/plugin/guieditor", |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
6 |
"Description" : "Adds a toolbar to the editor interface, allowing point-and-click insertion of most formatting elements", |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
7 |
"Author" : "Dan Fuhry", |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
8 |
"Version" : "0.1", |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
9 |
"Author URI" : "http://enanocms.org/", |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
10 |
"Version list" : ['0.1'] |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
11 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
12 |
**!*/ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
13 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
14 |
$plugins->attachHook('compile_template', 'guied_attach_script();'); |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
15 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
16 |
function guied_attach_script() |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
17 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
18 |
global $template; |
2
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
19 |
$template->add_header_js('<style type="text/css"> |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
20 |
select.guied_dropdown { |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
21 |
font-size: 10px; |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
22 |
padding: 0; |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
23 |
border: 1px solid #aaaaff; |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
24 |
background-color: white; |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
25 |
color: #202020; |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
26 |
} |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
27 |
</style><script type="text/javascript" src="' . scriptPath . '/plugins/guieditor/editor.js"></script>'); |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
28 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
29 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
30 |
// |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
31 |
// Image search autofill |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
32 |
// |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
33 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
34 |
$plugins->attachHook('autofill_json_request', 'guied_image_autofill($dataset);'); |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
35 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
36 |
function guied_image_autofill(&$dataset) |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
37 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
38 |
global $db, $session, $paths, $template, $plugins; // Common objects |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
39 |
if ( $_GET['type'] == 'guied_image' ) |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
40 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
41 |
$results = perform_search($_GET['userinput'], $warnings, false, $word_list); |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
42 |
foreach ( $results as $i => $result ) |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
43 |
{ |
1
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
44 |
if ( $result['namespace'] != 'File' || !preg_match('/\.(png|jpeg|jpg|gif)$/i', $result['page_id']) ) |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
45 |
unset($results[$i]); |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
46 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
47 |
if ( count($results) > 5 ) |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
48 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
49 |
$results = array_slice($results, 0, 5); |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
50 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
51 |
foreach ( $results as $result ) |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
52 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
53 |
$dataset[] = array( |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
54 |
0 => $result['page_id'], |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
55 |
'title' => str_replace(array('<highlight>', '</highlight>'), array('<b>', '</b>'), $result['page_name']), |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
56 |
'thumbnail' => makeUrlNS('Special', "DownloadFile/{$result['page_id']}", "preview&width=80&height=80"), |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
57 |
'score' => $result['score'], |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
58 |
'type' => isset($result['page_note']) ? $result['page_note'] : '', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
59 |
'size' => $result['page_length'], |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
60 |
); |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
61 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
62 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
63 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
64 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
65 |
/**!language** |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
66 |
<code> |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
67 |
{ |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
68 |
eng: { |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
69 |
categories: ['meta', 'guied'], |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
70 |
strings: { |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
71 |
meta: { |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
72 |
guied: 'GUI Editor', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
73 |
}, |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
74 |
guied: { |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
75 |
btn_bold: 'Bold', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
76 |
btn_italic: 'Italic', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
77 |
btn_underline: 'Underline', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
78 |
btn_intlink: 'Internal link', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
79 |
btn_extlink: 'External link', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
80 |
btn_image: 'Image', |
2
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
81 |
btn_table: 'Table', |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
82 |
btn_ulist: 'Bulleted list', |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
83 |
btn_olist: 'Numbered list', |
3
1e6929f9978b
And signature. Also hid labels for image and table buttons, so the toolbar doesn't wrap at 1024x768 in Enanium.
Dan Fuhry <dan@enanocms.org>
parents:
2
diff
changeset
|
84 |
btn_signature: 'Signature', |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
85 |
|
2
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
86 |
sample_heading: 'Heading', |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
87 |
sample_bold: 'Bold text', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
88 |
sample_italic: 'Italic text', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
89 |
sample_underline: 'Underlined text', |
2
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
90 |
// translators: translating this may be easier if you understand wiki-table syntax |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
91 |
sample_table: '|-\n! Column header 1\n! Column header 2\n|-\n| Row 1, column 1\n| Row 1, column 2\n|-\n| Row 2, column 1\n| Row 2, column 2', |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
92 |
sample_ulist: '\n* Bulleted list\n** Sub-level\n*** Deeper indent\n* Back to one indent', |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
93 |
sample_olist: '\n# Numbered list\n## Sub-level\n### Deeper indent\n# Back to one indent', |
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
94 |
|
307591683f3b
Added olist, ulist, table and heading
Dan Fuhry <dan@enanocms.org>
parents:
1
diff
changeset
|
95 |
lbl_heading: 'Heading', |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
96 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
97 |
intlink_title: 'Insert internal link', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
98 |
intlink_lbl_page: 'Page:', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
99 |
intlink_lbl_text: 'Link text:', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
100 |
intlink_af_hint: 'Type a few letters to search.', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
101 |
intlink_text_hint: 'If left blank, the title of the page linked to will be displayed.', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
102 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
103 |
extlink_title: 'Insert external link', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
104 |
extlink_lbl_link: 'Link:', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
105 |
extlink_lbl_text: 'Link text: ', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
106 |
extlink_link_hint: 'Supported link types: http, https, irc, mailto, ftp', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
107 |
extlink_text_hint: 'If left blank, the link URL will be displayed.', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
108 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
109 |
image_title: 'Insert image', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
110 |
image_lbl_image: 'Image file:', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
111 |
image_btn_upload: 'Upload a file', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
112 |
image_lbl_caption: 'Caption:', |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
113 |
image_af_hint: 'Type a few letters to search.', |
1
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
114 |
image_lbl_resize: 'Resize image:', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
115 |
image_checkbox_resize: 'Resize', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
116 |
image_lbl_dimensions: 'Dimensions:', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
117 |
image_resize_or: 'Or', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
118 |
image_resize_lbl_default: 'Use default preview size', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
119 |
image_msg_preserve_aspect: 'The image\'s aspect ratio will be preserved.', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
120 |
image_lbl_mode: 'Display mode:', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
121 |
image_lbl_framed: 'Framed', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
122 |
image_lbl_inline: 'Inline', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
123 |
image_lbl_raw: 'Raw', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
124 |
image_mode_hint_framed: 'Display the image off to the left or right in a frame.', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
125 |
image_mode_hint_inline: 'Display the image in the middle of the paragraph.', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
126 |
image_mode_hint_raw: 'Display just the image without linking to the file page - useful for putting images into links.', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
127 |
image_framed_lbl_side: 'Display on:', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
128 |
image_framed_left: 'Left side', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
129 |
image_framed_right: 'Right side', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
130 |
image_lbl_alttext: 'Alternate text:', |
960c1572df75
Better icons, and finished the image tool.
Dan Fuhry <dan@enanocms.org>
parents:
0
diff
changeset
|
131 |
image_raw_msg_noopt: 'No additional options for raw image display.', |
0
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
132 |
|
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
133 |
btn_insert: 'Insert' |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
134 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
135 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
136 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
137 |
} |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
138 |
</code> |
640e15974415
First revision. Largely unfinished; all buttons but Image work, but missing many features. Image is partially implemented.
Dan Fuhry <dan@enanocms.org>
parents:
diff
changeset
|
139 |
**!*/ |