<html>
<head>
- <title><!--~$title show {~-->~$host~ Admin: <!--~listings once_if {~-->Pages Listing<!--~}~--><!--~form {~--><!--~id {~-->Add a new page<!--~}~--><!--~id unset {~-->Edit page "~title html~"<!--~}~--><!--~}~--><!--~}~--></title>
+ <title><!--~$title show {~-->~$host~ Admin: <!--~listings once_if {~-->Manage pages<!--~}~--><!--~form {~--><!--~id {~-->Add a new page<!--~}~--><!--~id unset {~-->Edit page "~title html~"<!--~}~--><!--~}~--><!--~}~--></title>
<!--~$head {~-->
- <script src="inc/ckeditor/ckeditor.js"></script>
+ <script src="inc/ckeditor/ckeditor.js?t=F0RD"></script>
<style>
/* icon in cke buttons */
.cke_button_icon.cke_button__wfpl_images_icon {
- background-image: url(/inc/ckeditor/plugins/icons.png?t=D5AC);
- background-position: 0 -1504px;
+ background-image: url(/inc/ckeditor/plugins/icons.png?t=F0RD);
+ background-position: 0 -936px;
}
.cke_wfpl_images_dialog * {
white-space: normal !important;
{
thumb: "~image thumb_src jsdq~",
image: "~image image_src jsdq~",
- image_width: "~image image_width~",
- image_height: "~image image_height~",
+ image_width: ~image image_width~,
+ image_height: ~image image_height~,
sizes: "~sizes jsdq~",
caption: "~caption jsdq~"
}~ sep {~,~}~~}~
break;
}
CKEDITOR.dialog.getCurrent().hide();
- editor.insertElement(CKEDITOR.dom.element.createFromHtml(code));
+ CKEDITOR.currentInstance.insertElement(CKEDITOR.dom.element.createFromHtml(code));
}
CKEDITOR.plugins.add('wfpl_images', {
init: function (editor) {
function make_wysiwyg(name) {
CKEDITOR.replace(name, {
'contentsCss': 'style.css?m=~style.css mtime~',
- bodyId: '~$basename~' + '-wysiwyg-' + name,
'allowedContent': true,
+ bodyId: '~$basename~' + '_wysiwyg_' + name,
'stylesSet': [
{ name: 'Paragraph', element: 'p'},
{ name: 'Page Headline', element: 'h1'},
{ name: 'Subsection Headline', element: 'h3'},
{ name: 'Tagline (under headline)', element: 'h4', attributes: { class: 'tagline'}},
{ name: 'Quote', element: 'p', attributes: { class: 'quote'}},
- { name: 'Quote Author', element: 'p', attributes: { class: 'attrib'}}
+ { name: 'Quote Author', element: 'p', attributes: { class: 'attrib'}},
+ { name: 'div (generic box)', element: 'div'}
],
'uiColor': '#ccccff',
'removePlugins': 'forms,templates,smiley,pagebreak,save,newpage,preview,print',
<!--~$body show {~-->
<!--~form {~-->
+ <h1>~$host~ Admin Control Panel</h1>
+
<h2><!--~id unset {~-->Add a new page<!--~}~--><!--~id {~-->Edit page "~title html~"<!--~}~--></h2>
<form action="admin_pages" method="post"><!--~id {~--><div style="display: none"><input type="hidden" name="edit_id" value="~id attr~"></div><!--~}~-->
<!--~}~-->
<!--~listings once {~-->
+ <h1>~$host~ Admin Control Panel</h1>
+ <h2>Manage Pages</h2>
+
<!--~listings once_if {~-->
<p><a href="admin_pages?new=1">[Add a new page]</a></p>