Version 4.5.0

This commit is contained in:
Neo committed 2025-12-19 05:51:58 -08:00
1 parent 1a0c7fd3c2
commit f79dcf067a
3791 files changed
+248032 -76372

No files matched your search

+49
View File
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<build>
<module key="admin/pages"><![CDATA[{"default_controller":"pages","protected":0,"default":1}]]></module>
<module key="admin/databases"><![CDATA[{"default_controller":"databases","protected":0,"default":0}]]></module>
<module key="front/pages"><![CDATA[{"default_controller":"page","protected":0,"default":1}]]></module>
<module key="front/database"><![CDATA[{"default_controller":"index","protected":0,"default":0}]]></module>
<task frequency="P0Y0M0DT0H10M0S">updaterecords</task>
<setting key="cms_error_page"><![CDATA[{"key":"cms_error_page","default":"0","report":"bool"}]]></setting>
<setting key="cms_promote_cat"><![CDATA[{"key":"cms_promote_cat","default":"0","report":"bool"}]]></setting>
<setting key="cms_promote_enabled"><![CDATA[{"key":"cms_promote_enabled","default":"0","report":"full"}]]></setting>
<setting key="cms_promote_groups"><![CDATA[{"key":"cms_promote_groups","default":"*","report":"bool"}]]></setting>
<setting key="cms_root_page_url"><![CDATA[{"key":"cms_root_page_url","default":"","report":"bool"}]]></setting>
<setting key="cms_root_path"><![CDATA[{"key":"cms_root_path","default":"","report":"bool"}]]></setting>
<setting key="page_extension"><![CDATA[{"key":"page_extension","default":".html","report":"full"}]]></setting>
<setting key="sitemap_databases_count"><![CDATA[{"key":"sitemap_databases_count","default":"-1","report":"full"}]]></setting>
<setting key="sitemap_databases_priority"><![CDATA[{"key":"sitemap_databases_priority","default":"1","report":"full"}]]></setting>
<setting key="sitemap_pages_count"><![CDATA[{"key":"sitemap_pages_count","default":"-1","report":"full"}]]></setting>
<setting key="sitemap_pages_priority"><![CDATA[{"key":"sitemap_pages_priority","default":"1","report":"full"}]]></setting>
<widget key="Database"><![CDATA[{"class":"\\IPS\\Widget","restrict":["cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":false}]]></widget>
<widget key="Wysiwyg"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":[],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":false}]]></widget>
<widget key="DatabaseFilters"><![CDATA[{"class":"\\IPS\\Widget","restrict":["cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":false}]]></widget>
<widget key="Categories"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":false}]]></widget>
<widget key="Blocks"><![CDATA[{"class":"\\IPS\\Widget","restrict":[],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":false}]]></widget>
<widget key="RecordFeed"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","embeddable":true}]]></widget>
<widget key="Rss"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":["cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
<widget key="pagebuildertext"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
<widget key="pagebuilderoembed"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
<widget key="pagebuilderupload"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"modal","embeddable":true}]]></widget>
<acpsearch key="app=cms&amp;module=databases&amp;controller=categories&amp;do=manage"><![CDATA[{"lang_key":"menu__cms_databases_categories","restriction":null,"keywords":["Articles Categories"]}]]></acpsearch>
<acpsearch key="app=cms&amp;module=databases&amp;controller=databases"><![CDATA[{"lang_key":"menu__cms_databases_databases","restriction":"databases_manage","keywords":["database","databases"]}]]></acpsearch>
<acpsearch key="app=cms&amp;module=databases&amp;controller=records&amp;do=manage"><![CDATA[{"lang_key":"menu__cms_databases_records","restriction":null,"keywords":["article","articles"]}]]></acpsearch>
<acpsearch key="app=cms&amp;module=pages&amp;controller=blocks"><![CDATA[{"lang_key":"menu__cms_pages_blocks","restriction":"block_manage","keywords":["blocks"]}]]></acpsearch>
<acpsearch key="app=cms&amp;module=pages&amp;controller=media"><![CDATA[{"lang_key":"menu__cms_pages_media","restriction":"media_manage","keywords":["media","media manager"]}]]></acpsearch>
<acpsearch key="app=cms&amp;module=pages&amp;controller=pages"><![CDATA[{"lang_key":"menu__cms_pages_pages","restriction":"page_manage","keywords":["add page","articles","pages"]}]]></acpsearch>
<acpsearch key="app=cms&amp;module=pages&amp;controller=templates"><![CDATA[{"lang_key":"menu__cms_pages_templates","restriction":"template_manage","keywords":["templates"]}]]></acpsearch>
<hook key="InternalUrl"><![CDATA[{"type":"C","class":"\\IPS\\Http\\Url\\Internal"}]]></hook>
<hook key="Forum"><![CDATA[{"type":"C","class":"\\IPS\\forums\\Forum"}]]></hook>
<hook key="forums"><![CDATA[{"type":"C","class":"\\IPS\\forums\\modules\\admin\\forums\\forums"}]]></hook>
<hook key="Url"><![CDATA[{"type":"C","class":"\\IPS\\Http\\Url"}]]></hook>
<hook key="Parser"><![CDATA[{"type":"C","class":"\\IPS\\Text\\Parser"}]]></hook>
<hook key="Post"><![CDATA[{"type":"C","class":"\\IPS\\forums\\Topic\\Post"}]]></hook>
<hook key="topics"><![CDATA[{"type":"S","class":"\\IPS\\Theme\\class_forums_front_topics"}]]></hook>
<hook key="Lang"><![CDATA[{"type":"C","class":"\\IPS\\Lang"}]]></hook>
<hook key="Database"><![CDATA[{"type":"C","class":"\\IPS\\Data\\Store\\Database"}]]></hook>
<hook key="Widget"><![CDATA[{"type":"C","class":"\\IPS\\Widget"}]]></hook>
<hook key="Topic"><![CDATA[{"type":"C","class":"\\IPS\\forums\\Topic"}]]></hook>
<hook key="FriendlyUrl"><![CDATA[{"type":"C","class":"\\IPS\\Http\\Url\\Friendly"}]]></hook>
<hook key="Output"><![CDATA[{"type":"C","class":"\\IPS\\Output"}]]></hook>
</build>
File diff suppressed because it is too large. Load diff
+16 -3
View File
@@ -740,14 +740,14 @@
},
"record_meta_data": {
"name": "record_meta_data",
"type": "BIT",
"type": "TINYINT",
"length": 1,
"decimals": null,
"values": null,
"allow_null": false,
"default": "0",
"comment": "",
"unsigned": false,
"unsigned": true,
"zerofill": false,
"auto_increment": false,
"binary": false
@@ -801,7 +801,8 @@
null
],
"columns": [
"category_id"
"category_id",
"record_last_comment"
]
},
"listing_look_up": {
@@ -837,6 +838,18 @@
"record_last_comment",
"record_last_review"
]
},
"future_entries": {
"type": "key",
"name": "future_entries",
"length": [
null,
null
],
"columns": [
"record_future_date",
"record_publish_date"
]
}
},
"comment": ""
+3 -3
View File
@@ -16,14 +16,14 @@
</div>
</td>
</tr>]]></template_content_html><template_data>$comment, $email</template_data><template_content_plaintext><![CDATA[{{$item = $comment->item();}}
{$email->language->addToStack("x_commented_cms", FALSE, array( 'sprintf' => array( $comment->author()->name, $item::database()->recordWord( 1 ) ) ) )}: {$comment->item()->_title} ({$comment->url()})
{$email->language->addToStack("x_commented_cms", FALSE, array( 'htmlsprintf' => array( $comment->author()->name, $item::database()->recordWord( 1 ) ) ) )}: {$comment->item()->_title} ({$comment->url()})
]]></template_content_plaintext><template_pinned>0</template_pinned></template><template><template_app>cms</template_app><template_name>digests__item</template_name><template_content_html><![CDATA[<tr style='border-bottom: 1px solid #eeeeee'>
<td dir='{dir}' width='40' align='center' valign='top' class=' '>
<img src='{$entry->author()->get_photo( true, true )}' width='32' height='32' style='border: 1px solid #000; vertical-align: middle;'>
</td>
<td dir='{dir}' align='left'>
<p style='font-family: "Helvetica Neue", helvetica, sans-serif; margin: 0; font-size: 13px; font-weight: bold'>
{$email->language->addToStack("x_created_cms_in", FALSE, array( 'sprintf' => array( $entry->author()->name, $entry::database()->recordWord( 1 ), $entry->container()->_title ) ) )}
{$email->language->addToStack("x_created_cms_in", FALSE, array( 'sprintf' => array( $entry->author()->name, $entry::database()->recordWord( 1 ), $entry->container()->getTitleForLanguage( $email->language ) ) ) )}
</p>
<h2 style="font-family: 'Helvetica Neue', helvetica, sans-serif; font-size: 18px; font-weight: 500 !important; margin: 0">
<a href='{$entry->url()}' style='text-decoration: none;'>{$entry->_title}</a>
@@ -33,5 +33,5 @@
{$email->parseTextForEmail( $entry->content(), $email->language )|raw}
</div>
</td>
</tr>]]></template_content_html><template_data>$entry, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_created_cms_in", FALSE, array( 'sprintf' => array( $entry->author()->name, $entry::database()->recordWord( 1 ), $entry->container()->_title ) ) )}: {$entry->_title} ({$entry->url()})
</tr>]]></template_content_html><template_data>$entry, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("x_created_cms_in", FALSE, array( 'htmlsprintf' => array( $entry->author()->name, $entry::database()->recordWord( 1 ), $entry->container()->getTitleForLanguage( $email->language ) ) ) )}: {$entry->_title} ({$entry->url()})
]]></template_content_plaintext><template_pinned>0</template_pinned></template></emails>
+63
View File
@@ -0,0 +1,63 @@
{
"core": {
"ContentRouter": {
"Pages": "IPS\\cms\\extensions\\core\\ContentRouter\\Pages",
"Records": "IPS\\cms\\extensions\\core\\ContentRouter\\Records"
},
"CreateMenu": {
"Records": "IPS\\cms\\extensions\\core\\CreateMenu\\Records"
},
"DesignersMode": {
"Cms": "IPS\\cms\\extensions\\core\\DesignersMode\\Cms"
},
"EditorLocations": {
"BlockContent": "IPS\\cms\\extensions\\core\\EditorLocations\\BlockContent",
"Records": "IPS\\cms\\extensions\\core\\EditorLocations\\Records",
"Widgets": "IPS\\cms\\extensions\\core\\EditorLocations\\Widgets"
},
"FileStorage": {
"Media": "IPS\\cms\\extensions\\core\\FileStorage\\Media",
"Pages": "IPS\\cms\\extensions\\core\\FileStorage\\Pages",
"Records": "IPS\\cms\\extensions\\core\\FileStorage\\Records"
},
"FrontNavigation": {
"Pages": "IPS\\cms\\extensions\\core\\FrontNavigation\\Pages"
},
"MemberSync": {
"Databases": "IPS\\cms\\extensions\\core\\MemberSync\\Databases"
},
"ModeratorPermissions": {
"Databases": "IPS\\cms\\extensions\\core\\ModeratorPermissions\\Databases"
},
"OutputPlugins": {
"Block": "IPS\\cms\\extensions\\core\\OutputPlugins\\Block",
"Database": "IPS\\cms\\extensions\\core\\OutputPlugins\\Database",
"Media": "IPS\\cms\\extensions\\core\\OutputPlugins\\Media",
"Pageurl": "IPS\\cms\\extensions\\core\\OutputPlugins\\Pageurl",
"Widget": "IPS\\cms\\extensions\\core\\OutputPlugins\\Widget"
},
"Queue": {
"ConvertPages": "IPS\\cms\\extensions\\core\\Queue\\ConvertPages",
"FixCommentAttachments": "IPS\\cms\\extensions\\core\\Queue\\FixCommentAttachments",
"MoveComments": "IPS\\cms\\extensions\\core\\Queue\\MoveComments",
"MoveSingleRecord": "IPS\\cms\\extensions\\core\\Queue\\MoveSingleRecord",
"RebuildCategories": "IPS\\cms\\extensions\\core\\Queue\\RebuildCategories",
"RebuildCommentLikes": "IPS\\cms\\extensions\\core\\Queue\\RebuildCommentLikes",
"RebuildEditorFields": "IPS\\cms\\extensions\\core\\Queue\\RebuildEditorFields",
"RebuildReciprocalMaps": "IPS\\cms\\extensions\\core\\Queue\\RebuildReciprocalMaps",
"RebuildRecords": "IPS\\cms\\extensions\\core\\Queue\\RebuildRecords",
"ResyncTopicContent": "IPS\\cms\\extensions\\core\\Queue\\ResyncTopicContent"
},
"RssImport": {
"RssImport": "IPS\\cms\\extensions\\core\\RssImport\\RssImport"
},
"Sitemap": {
"Databases": "IPS\\cms\\extensions\\core\\Sitemap\\Databases",
"Pages": "IPS\\cms\\extensions\\core\\Sitemap\\Pages"
},
"Uninstall": {
"Databases": "IPS\\cms\\extensions\\core\\Uninstall\\Databases",
"Widgets": "IPS\\cms\\extensions\\core\\Uninstall\\Widgets"
}
}
}
+40 -40
View File
@@ -1,4 +1,44 @@
{
"InternalUrl": {
"type": "C",
"class": "\\IPS\\Http\\Url\\Internal"
},
"Forum": {
"type": "C",
"class": "\\IPS\\forums\\Forum"
},
"forums": {
"type": "C",
"class": "\\IPS\\forums\\modules\\admin\\forums\\forums"
},
"Url": {
"type": "C",
"class": "\\IPS\\Http\\Url"
},
"Parser": {
"type": "C",
"class": "\\IPS\\Text\\Parser"
},
"Post": {
"type": "C",
"class": "\\IPS\\forums\\Topic\\Post"
},
"topics": {
"type": "S",
"class": "\\IPS\\Theme\\class_forums_front_topics"
},
"Lang": {
"type": "C",
"class": "\\IPS\\Lang"
},
"Database": {
"type": "C",
"class": "\\IPS\\Data\\Store\\Database"
},
"Widget": {
"type": "C",
"class": "\\IPS\\Widget"
},
"Topic": {
"type": "C",
"class": "\\IPS\\forums\\Topic"
@@ -10,45 +50,5 @@
"Output": {
"type": "C",
"class": "\\IPS\\Output"
},
"Database": {
"type": "C",
"class": "\\IPS\\Data\\Store\\Database"
},
"Widget": {
"type": "C",
"class": "\\IPS\\Widget"
},
"Lang": {
"type": "C",
"class": "\\IPS\\Lang"
},
"topics": {
"type": "S",
"class": "\\IPS\\Theme\\class_forums_front_topics"
},
"Post": {
"type": "C",
"class": "\\IPS\\forums\\Topic\\Post"
},
"Parser": {
"type": "C",
"class": "\\IPS\\Text\\Parser"
},
"Url": {
"type": "C",
"class": "\\IPS\\Http\\Url"
},
"forums": {
"type": "C",
"class": "\\IPS\\forums\\modules\\admin\\forums\\forums"
},
"InternalUrl": {
"type": "C",
"class": "\\IPS\\Http\\Url\\Internal"
},
"Forum": {
"type": "C",
"class": "\\IPS\\forums\\Forum"
}
}
+297 -46
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<javascript app="cms">
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/blocks" javascript_name="ips.blocks.form.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100"><![CDATA[/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/blocks" javascript_name="ips.blocks.form.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -142,7 +142,7 @@
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.download.js" javascript_type="controller" javascript_version="103038" javascript_position="1000150">/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.download.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -187,7 +187,7 @@
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.form.js" javascript_type="controller" javascript_version="103038" javascript_position="1000150">/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.form.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -197,17 +197,30 @@
*/
;( function($, _, undefined){
&quot;use strict&quot;;
"use strict";
ips.controller.register('cms.admin.databases.form', {
initialize: function () {
this.on( 'change', '[name=database_create_page]', this.toggle );
this.on( 'change', '[name=database_use_categories]', this.toggleUseCategories );
this.on( 'click', '[data-template-view]', this.goTemplates );
this.toggle();
this.toggleUseCategories();
},
/**
* Go view templates
*
* @param {event} e Event object
* @returns {void}
*/
goTemplates: function (e) {
e.preventDefault();
window.location = $( e.currentTarget ).attr('data-url') + '&t_group=' + $('[name="' + $( e.currentTarget ).attr('data-template-view') ).val();
},
/**
* Toggle use categories
*
@@ -249,8 +262,8 @@
} );
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/external" javascript_name="ips.external.communication.js" javascript_type="controller" javascript_version="103038" javascript_position="1000150"><![CDATA[/**
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/external" javascript_name="ips.external.communication.js" javascript_type="controller" javascript_version="105100" javascript_position="1000150"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -385,7 +398,7 @@
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/fields" javascript_name="ips.fields.form.js" javascript_type="controller" javascript_version="103038" javascript_position="1000200">/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/fields" javascript_name="ips.fields.form.js" javascript_type="controller" javascript_version="105100" javascript_position="1000200">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -422,7 +435,7 @@
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/media" javascript_name="ips.media.main.js" javascript_type="controller" javascript_version="103038" javascript_position="1000300"><![CDATA[/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/media" javascript_name="ips.media.main.js" javascript_type="controller" javascript_version="105100" javascript_position="1000300"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -689,11 +702,11 @@
item.addClass('cMedia_itemSelected');
this._switchToTab('overview');
} else if( metaPressed ) {
// If meta key is pressed, toggle the state of the clicked image
item.toggleClass( 'cMedia_itemSelected', ( !item.hasClass('cMedia_itemSelected') ) );
} else if( shiftPressed ) {
// If shift is pressed, select the whole run
// Find the first selected file
var all = this._fileListing.find('.cMedia_item');
var indexOfFirst = all.index( all.filter('.cMedia_itemSelected').first() );
@@ -1056,12 +1069,13 @@
*/
_switchToTab: function (tab) {
if( tab == 'overview' ){
this.scope.find('#elTab_overview').removeClass('ipsTabs_itemDisabled');
this.scope.find('#elTab_overview').click();
}
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.embed.js" javascript_type="controller" javascript_version="103038" javascript_position="1000250"><![CDATA[/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.embed.js" javascript_type="controller" javascript_version="105100" javascript_position="1000250"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1107,7 +1121,7 @@
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.form.js" javascript_type="controller" javascript_version="103038" javascript_position="1000250"><![CDATA[/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.form.js" javascript_type="controller" javascript_version="105100" javascript_position="1000250"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1124,6 +1138,7 @@
this.on( 'change', '#check_page_ipb_wrapper', this.toggleIPSWrapper );
this.on( 'change', '#elSelect_page_wrapper_template', this.toggleTemplate );
this.on( 'click', '[data-role=viewTemplate]', this.viewTemplate );
this.on( 'submit', '[data-role=wordForm]', this.submitWordForm );
/* View template */
if ( this.scope.find('#elSelect_page_wrapper_template').val() == '_none_' )
@@ -1142,6 +1157,34 @@
}
},
submitWordForm: function(e) {
e.preventDefault();
var form = $( e.currentTarget );
var url = form.attr('action');
ips.getAjax()( url, {
type: 'post',
data: form.serialize()
} )
.done( function( response, status, jqXHR ) {
var tagSource = $('div[data-tagSource]');
if ( !_.isUndefined( tagSource ) ) {
ips.getAjax()( tagSource.attr('data-tagSource') )
.done( function (response, status, jqXHR) {
$('ul[data-role="tagsList"]').html( response )
} );
}
var dialogObj = ips.ui.dialog.getObj( $( 'a[data-action="wordForm"]' ) );
if ( !_.isUndefined( dialogObj ) )
{
dialogObj.hide();
}
} );
},
/**
* View a template. As the title of the method suggests.
*
@@ -1200,7 +1243,7 @@
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.form.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100"><![CDATA[/**
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.form.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1312,7 +1355,7 @@
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.revisions.js" javascript_type="controller" javascript_version="103038" javascript_position="1000100">/**
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.revisions.js" javascript_type="controller" javascript_version="105100" javascript_position="1000100">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1345,8 +1388,8 @@
if( $(elem).attr('data-method') == 'merge' )
{
CodeMirror.MergeView( document.getElementById( $(elem).identify().attr('id') ), {
value: self.scope.find( '[data-original=&quot;' + $(elem).attr('data-key') + '&quot;]' ).val(),
origLeft: self.scope.find( '[data-current=&quot;' + $(elem).attr('data-key') + '&quot;]' ).val(),
value: self.scope.find( '[data-current=&quot;' + $(elem).attr('data-key') + '&quot;]' ).val(),
origLeft: self.scope.find( '[data-original=&quot;' + $(elem).attr('data-key') + '&quot;]' ).val(),
lineWrapping: true,
lineNumbers: false,
mode: 'htmlmixed',
@@ -1367,7 +1410,7 @@
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.addForm.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050">/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.addForm.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1417,7 +1460,7 @@
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.conflict.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050">/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.conflict.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1489,7 +1532,7 @@
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileEditor.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050"><![CDATA[/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileEditor.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -1603,9 +1646,12 @@
if( data.originalEvent ){
data.originalEvent.preventDefault();
}
if( data.triggerID == 'elTemplateEditor_preferences' ){
if( data.selectedItemID == 'wrap' ){
if ( data.selectedItemID == 'diff' ) {
this.toggleDiff();
}
else if( data.selectedItemID == 'wrap' ){
this._changeEditorPreference( !ips.utils.db.get('templateEditor', 'wrap'), 'wrap', 'lineWrapping' );
} else {
this._changeEditorPreference( !ips.utils.db.get('templateEditor', 'lines'), 'lines', 'lineNumbers' );
@@ -1637,7 +1683,12 @@
// Update all CM instances
for( var i in this._cmInstances ){
this._cmInstances[ i ].setOption( cmName, toValue );
if ( this._cmInstances[ i ] instanceof CodeMirror.MergeView ) {
this._cmInstances[ i ].edit.setOption( cmName, toValue );
this._cmInstances[ i ].left.orig.setOption( cmName, toValue );
} else {
this._cmInstances[ i ].setOption( cmName, toValue );
}
}
},
@@ -1668,10 +1719,10 @@
return;
}
var variablesValue = $.trim( active.tabPanel.find('[data-role="variables"]').val() );
var descriptionValue = $.trim( active.tabPanel.find('[data-role="description"]').val() );
var titleValue = $.trim( active.tabPanel.find('[data-role="title"]').val() );
var groupValue = $.trim( active.tabPanel.find('[data-role="group"]').val() );
var variablesValue = active.tabPanel.find('[data-role="variables"]').val().trim();
var descriptionValue = active.tabPanel.find('[data-role="description"]').val().trim();
var titleValue = active.tabPanel.find('[data-role="title"]').val().trim();
var groupValue = active.tabPanel.find('[data-role="group"]').val().trim();
data.dialog
.find('[data-role="variables"]')
@@ -1757,6 +1808,68 @@
this._updateTabLabel( data.fileID, data.title );
},
/**
* Toggle diff
*
* @returns {void}
*/
toggleDiff: function () {
var self = this;
var active = this._getActiveTab();
var panel = active.tabPanel;
var key = panel.attr('data-fileid');
// Toggle off
if ( self._cmInstances[ key ] instanceof CodeMirror.MergeView ) {
self.scope.find( '#editor_' + key ).val( this._cmInstances[ key ].edit.doc.getValue() );
panel.find('.CodeMirror-merge,.cTemplateMergeHeaders').remove();
self._initCodeMirror( key, panel.attr('data-type') );
}
// Toggle on
else {
// Get the contents from the current CodeMirror instance and remove it
self._cmInstances[ key ].save();
panel.find('.CodeMirror').remove();
panel.addClass('ipsLoading');
// Fire AJAX to get the original content
ips.getAjax()( this._normalURL + '&do=diffTemplate', {
dataType: 'json',
data: this._getParametersFromPanel( panel )
})
.done( function (response) {
// Initiate the merge view
self._cmInstances[ key ] = CodeMirror.MergeView( document.getElementById( panel.attr('id') ), {
value: self.scope.find( '#editor_' + key ).val(),
origLeft: response,
lineWrapping: self._editorPreferences['wrap'],
lineNumbers: self._editorPreferences['lines'],
mode: ( panel.attr('data-type') == 'templates' ? 'htmlmixed' : 'css' ),
} );
panel.removeClass('ipsLoading');
// Add headers
var headers = $( ips.templates.render( 'templates.editor.diffHeaders' ) );
panel.prepend( headers );
// Set size
var height = self._getTabContentHeight() - headers.outerHeight();
self._cmInstances[ key ].edit.setSize( null, height );
self._cmInstances[ key ].left.orig.setSize( null, height );
$( self._cmInstances[ key ].left.gap ).css( 'height', height );
// Add change handler
self._cmInstances[ key ].edit.on( 'change', function (doc, cm) {
self._setChanged( true, key );
});
});
}
},
/**
* Saves the contents of the editor
@@ -1779,8 +1892,13 @@
var save = this._getParametersFromPanel( panel );
// We call .save() on the CodeMirror instance, which will cause it to update the
// contents of the original textbox
this._cmInstances[ key ].save();
// contents of the original textbox, unless we're in merge view, when we have to
// do that ourselves
if ( this._cmInstances[ key ] instanceof CodeMirror.MergeView ) {
self.scope.find( '#editor_' + key ).val( this._cmInstances[ key ].edit.doc.getValue() );
} else {
this._cmInstances[ key ].save();
}
// Add it to the save object
save[ 'editor_' + key ] = this.scope.find( '#editor_' + key ).val();
@@ -2045,7 +2163,6 @@
});
// Remove the codemirrrrr element & instance
$( this._cmInstances[ key ].getWrapperElement() ).remove();
delete( this._cmInstances[ key ] );
// Find the next or prev tab, if this tab is active, and switch to it
@@ -2104,7 +2221,8 @@
var status = tabPanel.attr('data-inherited-value');
var type = tabPanel.attr('data-type');
var revert = this.scope.find('[data-action="revert"]');
var key = tabPanel.attr('data-fileid');
switch( status ){
case 'original':
case 'inherit':
@@ -2129,6 +2247,12 @@
$('#elTemplateEditor_variables').show();
$('#elTemplateEditor_attributes').hide();
if ( this._cmInstances[ key ] instanceof CodeMirror.MergeView ) {
$('[data-ipsmenuvalue="diff"]').addClass('ipsMenu_itemChecked');
} else {
$('[data-ipsmenuvalue="diff"]').removeClass('ipsMenu_itemChecked');
}
},
/**
@@ -2348,14 +2472,14 @@
_getTabContentHeight: function () {
var tabContentTop = this._tabContent.offset().top;
var windowHeight = $( window ).height();
var infoHeight = this.scope.find('#elTemplateEditor_info').outerHeight();
var infoHeight = $('#elTemplateEditor_info').outerHeight();
this._panelHeight = windowHeight - tabContentTop - infoHeight - 31;
this._panelHeight = windowHeight - tabContentTop - infoHeight;
return this._panelHeight;
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileList.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050"><![CDATA[/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileList.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -2411,10 +2535,11 @@
resizeFileList: function () {
// Get height of parts we want to exclude
var fileListTop = this._tabContent.offset().top;
var infoHeight = this.scope.find('#elTemplateEditor_info').height();
var infoHeight = $('#elTemplateEditor_info').height();
var newButtonHeight = this.scope.find('#elTemplateEditor_newButton').outerHeight();
var browserHeight = $( window ).height();
var fileListNewTop = browserHeight - fileListTop - infoHeight - 30;
var fileListNewTop = browserHeight - fileListTop - infoHeight - newButtonHeight;
this._tabContent.css({
height: fileListNewTop + 'px'
@@ -2697,7 +2822,7 @@
}
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.main.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050">/**
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.main.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -2707,11 +2832,21 @@
* Author: Rikki Tissier
*/
;( function($, _, undefined){
&quot;use strict&quot;;
"use strict";
ips.controller.register('cms.admin.templates.main', {
_timer: null,
_textField: null,
_lastValue: '',
_ajax: null,
initialize: function () {
this._textField = $(this.scope).find('[data-role="templateSearch"]');
this.on( document, 'focus', '[data-role="templateSearch"]', this.fieldFocus );
this.on( document, 'blur', '[data-role="templateSearch"]', this.fieldBlur );
this.on( 'menuItemSelected', this.menuSelected );
this.on( 'savingFile.templates', this.showLoading );
this.on( 'saveFileFinished.templates', this.hideLoading );
},
@@ -2723,7 +2858,7 @@
* @returns {void}
*/
showLoading: function (e) {
ips.utils.anim.go( 'fadeIn', this.scope.find('[data-role=&quot;loading&quot;]') );
ips.utils.anim.go( 'fadeIn', this.scope.find('[data-role="loading"]') );
},
/**
@@ -2733,12 +2868,126 @@
* @returns {void}
*/
hideLoading: function (e) {
ips.utils.anim.go( 'fadeOut', this.scope.find('[data-role=&quot;loading&quot;]') );
ips.utils.anim.go( 'fadeOut', this.scope.find('[data-role="loading"]') );
},
/**
* Event handler for focusing in the search box
* Set a timer going that will watch for value changes. If there's already a value,
* we'll show the results immediately
*
* @param {event} e Event object
* @returns {void}
*/
fieldFocus: function (e) {
this._timer = setInterval( _.bind( this._timerFocus, this ), 700 );
},
/**
* Event handler for field blur
*
* @param {event} e Event object
* @returns {void}
*/
fieldBlur: function (e) {
clearInterval( this._timer );
},
/**
* Timer callback from this.fieldFocus
* Compares current value to previous value, and shows/loads new results if it's changed
*
* @returns {void}
*/
_timerFocus: function () {
var currentValue = this._textField.val();
if( currentValue == this._lastValue ){
return;
}
this._lastValue = currentValue;
this._loadResults();
},
/**
* Event when tab is changed
*
* @returns {void}
*/
_swapTab: function (e,data) {
if ( data.barID == 'elTemplateEditor_typeTabs' ) {
this._loadResults();
}
},
/**
* Event handler for the filter menu
*
* @param {event} e Event object
* @param {object} data Event data object
* @returns {void}
*/
menuSelected: function (e, data) {
if( data.originalEvent ){
data.originalEvent.preventDefault();
}
this._loadResults();
},
/**
* Load results from the server
*
* @returns {void}
*/
_loadResults: function () {
if( this._ajax ){
this._ajax.abort();
}
if ( this._lastValue ) {
this._textField.addClass('ipsField_loading');
}
$('#elTemplateEditor_fileList').find('li').addClass('ipsHide');
var filters = [];
$('#elTemplateFilterMenu_menu .ipsMenu_itemChecked').each(function(){
filters.push( $(this).attr('data-ipsMenuValue') );
});
var self = this;
this._ajax = ips.getAjax()( $(this.scope).attr('data-ajaxURL') + '&do=search' + $('#elTemplateEditor_typeTabs').find('.ipsTabs_activeItem').attr('data-type') + '&term=' + encodeURIComponent( this._lastValue ) + '&filters=' + filters.join(',') ).done(function(response){
var i;
var j;
for ( j in response )
{
$('#elTemplateEditor_fileList').find('[data-location="' + j + '"]').removeClass('ipsHide');
var k;
for ( k in response[j] )
{
$('#elTemplateEditor_fileList').find('[data-location="' + j + '"] [data-group="' + k + '"]').removeClass('ipsHide');
var l;
for ( l in response[j][k] )
{
if( k == '.' ){
$('#elTemplateEditor_fileList').find('[data-location="' + j + '"] [data-name="' + response[j][k][l] + '"]').parent().removeClass('ipsHide');
} else {
$('#elTemplateEditor_fileList').find('[data-location="' + j + '"] [data-group="' + k + '"] [data-name="' + response[j][k][l] + '"]').parent().removeClass('ipsHide');
}
}
}
}
self._textField.removeClass('ipsField_loading');
});
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.variablesDialog.js" javascript_type="controller" javascript_version="103038" javascript_position="1000050">/**
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.variablesDialog.js" javascript_type="controller" javascript_version="105100" javascript_position="1000050">/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -2776,7 +3025,7 @@
}
});
}(jQuery, _));</file>
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.area.js" javascript_type="mixins" javascript_version="103038" javascript_position="1000050"><![CDATA[/**
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.area.js" javascript_type="mixins" javascript_version="105100" javascript_position="1000050"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -2845,7 +3094,7 @@
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.block.js" javascript_type="mixins" javascript_version="103038" javascript_position="1000050"><![CDATA[/**
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.block.js" javascript_type="mixins" javascript_version="105100" javascript_position="1000050"><![CDATA[/**
* Invision Community
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
*
@@ -2953,7 +3202,7 @@
});
}(jQuery, _));]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="templates" javascript_name="ips.templates.media.js" javascript_type="template" javascript_version="103038" javascript_position="1000050"><![CDATA[ips.templates.set( 'templates.media.grid', "\
<file javascript_app="cms" javascript_location="admin" javascript_path="templates" javascript_name="ips.templates.media.js" javascript_type="template" javascript_version="105100" javascript_position="1000050"><![CDATA[ips.templates.set( 'templates.media.grid', "\
<ul class='ipsGrid' data-ipsGrid data-ipsGrid-minItemSize='100' data-ipsGrid-maxItemSize='200'>\
{{{contents}}}\
</ul>\
@@ -2970,7 +3219,7 @@ ips.templates.set( 'templates.media.noSearchResults', "\
{{#lang}}mediaNoResults{{/lang}}\
</div>\
");]]></file>
<file javascript_app="cms" javascript_location="admin" javascript_path="templates" javascript_name="ips.templates.templates.js" javascript_type="template" javascript_version="103038" javascript_position="1000050"><![CDATA[/* TEMPLATE EDITOR TEMPLATES */
<file javascript_app="cms" javascript_location="admin" javascript_path="templates" javascript_name="ips.templates.templates.js" javascript_type="template" javascript_version="105100" javascript_position="1000050"><![CDATA[/* TEMPLATE EDITOR TEMPLATES */
/* TEMPLATECEPTION */
ips.templates.set('templates.editor.newTab', " \
<li data-fileid='{{fileid}}' data-location='{{location}}'>\
@@ -3009,9 +3258,11 @@ controllers</order>
jquery
mustache
jstz
IntersectionObserver
Debug.js
app.js</order>
<order app="global" path="/dev/js//library//jquery">jquery.js
jquery-migrate.js
jquery.history.js
jquery.transform.js</order>
<order app="global" path="/dev/js//library//linkify">linkify.min.js
+62 -15
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<language>
<app key="cms" version="103038">
<app key="cms" version="105100">
<word key="__app_cms" js="0">Pages</word>
<word key="menutab__cms" js="0">Pages</word>
<word key="menutab__cms_icon" js="0">files-o</word>
@@ -14,6 +14,9 @@
<word key="rebuilding_cms_database_reciprocal_map" js="0">Rebuilding %s reciprocal maps (field ID %s)</word>
<word key="rebuilding_cms_database_records" js="0">Rebuilding %s records</word>
<word key="rebuilding_cms_database_sync_topics" js="0">Rebuilding %s synchronized topics</word>
<word key="moving_database_comments" js="0">Moving %s comments</word>
<word key="moving_database_comments_single" js="0"><![CDATA[Moving <a href='%s' target='_blank'>%s</a> comments]]></word>
<word key="rebuilding_cms_comment_attachments" js="0">Rebuilding comment attachment maps</word>
<word key="cms_page" js="0">Page</word>
<word key="cms_pages_pageitem_pl" js="0">Pages</word>
<word key="cms_page_pl_lc" js="0">pages</word>
@@ -21,6 +24,8 @@
<word key="module_no_permission" js="0">No permission</word>
<word key="converting_pages_34x" js="0">Converting bbcode pages to HTML</word>
<word key="content_theme_dev_cannot_write_template" js="0">Could not write the file %s</word>
<word key="sitemap_databases_include" js="0">Include in Sitemap</word>
<word key="sitemap_pages_include" js="0">Include in Sitemap</word>
<word key="sitemap_cms_Databases" js="0">Database Records</word>
<word key="sitemap_cms_Pages" js="0">Pages</word>
<word key="sitemap_databases_count" js="0">Number of records to include</word>
@@ -190,6 +195,7 @@
<word key="content_template_editor_fields_title" js="0">Name</word>
<word key="content_templates_modified" js="0">Modified</word>
<word key="content_templates_custom" js="0">Custom</word>
<word key="content_templates_inherit" js="0">Inherited</word>
<word key="content_template_add_template_block" js="0"><![CDATA[Add <strong>block</strong> template]]></word>
<word key="content_template_add_template_page" js="0"><![CDATA[Add <strong>page</strong> template]]></word>
<word key="content_template_add_template_database" js="0"><![CDATA[Add <strong>database</strong> template]]></word>
@@ -233,6 +239,7 @@
<word key="cms_media_designer_mode_warning" js="0"><![CDATA[Media editing is currently unavailable in the ACP as you have designers' mode enabled.<br /><a href='%s'>Switch off designers' mode.</a>]]></word>
<word key="cms_templates_export_title" js="0">Download Templates</word>
<word key="cms_templates_export_description" js="0">Select the templates to export from the list below. These templates will be added to a single XML file that can be imported to other Invision Community communities.</word>
<word key="cms_templates_export_description_app" js="0">Select the templates to export from the list below. These templates will be included when you build your application/plugin.</word>
<word key="cms_templates_export_return" js="0">Return to the template editor</word>
<word key="templates_block" js="0">Blocks</word>
<word key="templates_database" js="0">Database</word>
@@ -245,6 +252,12 @@
<word key="cms_database_group_name" js="0">Group Name</word>
<word key="cms_database_group_name_desc" js="0">Please use only a-z and 0-9 without any special characters or spaces. The group name must start with a letter or underscore. You can use an underscore, which will show as a space when viewing templates.</word>
<word key="cms_database_template_used_in" js="0">This template is used by: %s</word>
<word key="cms_template_group_exists" js="0">That template group already exists.</word>
<word key="cms_template_title_exists" js="0">That template title already exists.</word>
<word key="database_form_template_link" js="0">Edit Templates</word>
<word key="cms_block_list_key" js="0">{block=&quot;%s&quot;}</word>
<word key="cms_theme_template_custom" js="0">Custom Templates</word>
<word key="cms_theme_template_default" js="0">Default Templates</word>
<word key="page_database_display" js="0">Contains database: %s</word>
<word key="content_edit_folder" js="0">Edit Folder</word>
<word key="content_add_folder" js="0">Add Folder</word>
@@ -279,6 +292,8 @@
<word key="content_edit_page_content_title" js="0">Editing page content for %s</word>
<word key="page_content" js="0">Content</word>
<word key="content_default_page" js="0">Make default page for this folder</word>
<word key="content_default_error_page" js="0">Make default error page</word>
<word key="content_remove_error_page" js="0">Remove as default error page</word>
<word key="content_database_form_options_page" js="0">Page</word>
<word key="content_database_form_options_page_msg" js="0">You may optionally create a page for this database. After creation, you may edit the page as normal.</word>
<word key="database_create_page" js="0">Database page</word>
@@ -312,27 +327,24 @@
<word key="page_wrapper_template_desc" js="0">Wrapper template for this page</word>
<word key="cms_page_wrapper_template_none" js="0">None</word>
<word key="cms_page_error_bad_syntax" js="0">The syntax of tags or HTML logic is badly formatted.</word>
<word key="cms_pages_settings" js="0">Advanced Settings</word>
<word key="cms_use_different_gateway" js="0">Use a gateway under your suite root?</word>
<word key="cms_use_different_gateway_desc" js="0"><![CDATA[You can enable this if you have your suite installed in a sub directory but want Pages to appear as your website root. <a href='{external.devdocs-pages_different_root}' target='_blank' rel='noopener'>More information</a>]]></word>
<word key="cms_root_page_url" js="0">URL to gateway file</word>
<word key="pages_gateway_url_not_exist" js="0">The URL could not be found.</word>
<word key="cms_pages_different_gateway_impossible" js="0">Your Invision Community suite is already installed at the root of your domain.</word>
<word key="pages_different_gateway_load_error" js="0">Could not load Pages in this location. Have you uploaded the 'index.php' file?</word>
<word key="pages_different_gateway_load_error_rewrite" js="0"><![CDATA[Could not load Pages in this location. Have you uploaded the 'index.php' file and installed the .htaccess file? <a href='{external.devdocs-pages_different_root}' target='_blank' rel='noopener'>More information</a>]]></word>
<word key="cms_root_page_url_rewrite_desc" js="0"><![CDATA[In order to support this you must <a href='{internal.app=cms&module=pages&controller=pages&do=htaccess}'><strong><u>download this file</u></strong></a>, rename it to '.htaccess' (with no file extension) and upload it to the same location as the special 'index.php' for Pages. If there is already a .htaccess file, add the contents of this one to the existing.<br>If you are not sure how to do this, contact technical support for assistance.]]></word>
<word key="cms_tag_blocks" js="0">Blocks</word>
<word key="cms_tag_databases" js="0">Databases</word>
<word key="cms_tag_pages" js="0">Pages</word>
<word key="cms_error_page" js="0">Error Page</word>
<word key="cms_error_page_desc" js="0">A custom error page will be shown when the suite displays an error. Page builder pages are not suitable for error pages.</word>
<word key="cms_error_page_none" js="0">Do not use a custom error page</word>
<word key="cms_tag_lang" js="0">Phrases</word>
<word key="cms_error_page_message" js="0">Error Message</word>
<word key="cms_error_page_code" js="0">Error Code</word>
<word key="cms_articles_homepage_form" js="0">Homepage Options</word>
<word key="cms_move_to_root" js="0">Move pages to root level (no folder)</word>
<word key="cms_move_pages" js="0">Move pages and folders to</word>
<word key="folder" js="0">Folder</word>
<word key="content_database_form_seo" js="0">SEO</word>
<word key="database_canonical_header" js="0">Canonical Tag</word>
<word key="database_canonical_flag" js="0">Strongly hint to search engines that</word>
<word key="database_canonical_flag_0" js="0">All pages should be considered the same</word>
<word key="database_canonical_flag_0_desc" js="0"><![CDATA[An example is a database that will be used to post long-form articles which are content rich, and you receive pages of comments.<br>In this example, the canonical tag will always be set to the first page as the original content is more important.]]></word>
<word key="database_canonical_flag_1" js="0">All pages should be considered different</word>
<word key="database_canonical_flag_1_desc" js="0"><![CDATA[An example is a database where you post a link or video for review, and receive pages of comments and reviews.<br>In this example, the canonical tag will be set to the current page as the page of user generated content is more important.]]></word>
<word key="add_word_reason_pages" js="0">Phrases you create here can be used in custom HTML pages and theme templates to provide content in different languages.</word>
<word key="menu_content_page" js="0">Page</word>
<word key="content_page_form_tab__menu" js="0">Menu</word>
<word key="page_add_to_menu" js="0">Add to front navigation menu</word>
@@ -740,6 +752,7 @@
<word key="database_rebuild_added" js="0">Rebuild task added to the queue.</word>
<word key="database_rebuild_commentcount_desc" js="0">This tool will add a background task to recount the number of comments and reviews for each item.</word>
<word key="database_rebuild_commentcount_button" js="0">Continue</word>
<word key="database_page_permissions_restrict" js="0"><![CDATA[Only groups with permission to view the page will be able to view content from this database regardless of the permissions set here. You may wish to adjust the <a href='{internal.app=cms&module=pages&controller=pages&do=permissions&subnode=1&id=}%s'>page's permissions</a> as well if you are attempting to adjust access to this database.]]></word>
<word key="menu__cms_pages_media" js="0">Media</word>
<word key="r__media" js="0">Media</word>
<word key="r__media_manage" js="0">View Media</word>
@@ -768,6 +781,8 @@
<word key="cms_media_key" js="0"><![CDATA[View page &amp; template tag]]></word>
<word key="cms_key_view" js="0"><![CDATA[This key can be used in blocks, pages and templates to fetch the URL of this media item.<br>The current URL for this item is: %s.]]></word>
<word key="cms_delete_folder_media" js="0">Delete Folder</word>
<word key="rss_import_record_open" js="0">Record Open/Closed?</word>
<word key="rss_import_record_hide" js="0">Record Hidden/Unhidden?</word>
<word key="content_categories_title" js="0">Categories</word>
<word key="content_subcategories_title" js="0">Subcategories</word>
<word key="x_records" js="0">%d %s</word>
@@ -804,6 +819,7 @@
<word key="content_locked_record" js="0">This record is locked</word>
<word key="content_record_last_comment" js="0">Last comment date</word>
<word key="sort_record_updated" js="0">Last Updated</word>
<word key="content_record_last_updated" js="0">Last Updated</word>
<word key="content_record_comments" js="0">Number of comments</word>
<word key="content_record_views" js="0">Number of views</word>
<word key="content_record_title" js="0">Title</word>
@@ -814,13 +830,14 @@
<word key="content_revision_record_title" js="0">All Revisions for '%s'</word>
<word key="content_revision_button_view" js="0"><![CDATA[View &amp; Restore]]></word>
<word key="content_revision_button_delete" js="0">Delete</word>
<word key="content_record_revision_title_revision" js="0">Revision</word>
<word key="content_record_revision_title_record" js="0">Current</word>
<word key="content_record_revision_title_revision" js="0">This Revision</word>
<word key="content_record_revision_title_record" js="0">Current Version</word>
<word key="content_record_revision_title" js="0">Revision from %s for '%s'</word>
<word key="content_conflict_use_this_revision" js="0">Restore from this revision</word>
<word key="content_conflict_use_this_record" js="0">Keep the current version</word>
<word key="content_revision_restore" js="0">Restore</word>
<word key="modlog__cms_revision_restored" js="0">Restored record '%s' with revision #%s</word>
<word key="content_revision_restored" js="0">Revision Restored</word>
<word key="content_view_record" js="0">View full %s</word>
<word key="cms_mark_read" js="0">Mark as read</word>
<word key="cms_add_new_record_button" js="0">Add new %s</word>
@@ -863,6 +880,7 @@
<word key="field_daterange_start_end" js="0">%s to %s</word>
<word key="field_daterange_start" js="0">From %s</word>
<word key="field_daterange_end" js="0">To %s</word>
<word key="cms_number_none" js="0">None</word>
<word key="cms_rf_database" js="0">Database</word>
<word key="cms_rf_database_desc" js="0">This cannot be changed. If you want to create a feed from a different database, please create a new custom block.</word>
<word key="cms_rf_database_description" js="0"><![CDATA[<br/>This cannot be changed. If you want to create a feed from a different database, please create a new custom block.]]></word>
@@ -923,10 +941,16 @@
<word key="block_rss_import_cache" js="0">Cache for</word>
<word key="block_rss_import_cache_suffix" js="0">minutes</word>
<word key="widget_feed_container_cms" js="0">Categories</word>
<word key="cms_record_i_started_sprintf" js="0">Show my %s only</word>
<word key="content_field_cms_record_i_started_on" js="0">On</word>
<word key="loc_cms_viewing_page" js="0">Viewing %s</word>
<word key="loc_cms_viewing_db_cat" js="0">Viewing %s category %s</word>
<word key="loc_cms_viewing_db_record" js="0">Viewing %s in category %s: %s</word>
<word key="loc_cms_viewing_db_record_no_cats" js="0">Viewing %s in %s</word>
<word key="loc_cms_viewing_page_action" js="0">%s is viewing %s</word>
<word key="loc_cms_viewing_db_cat_action" js="0">%s is viewing %s</word>
<word key="loc_cms_viewing_db_record_action" js="0">%s is viewing %s</word>
<word key="loc_cms_viewing_db_record_no_cats_action" js="0">%s is viewing %s</word>
<word key="content_err_page_404" js="0">Cannot find the page you requested</word>
<word key="content_err_page_403" js="0">You do not have permission to view this page</word>
<word key="content_err_page_500" js="0">The page could not be displayed at this time. Please try again later.</word>
@@ -959,6 +983,8 @@
<word key="__api_cms_comments" js="0">Database Comments</word>
<word key="__api_cms_records" js="0">Database Records</word>
<word key="__api_cms_reviews" js="0">Database Reviews</word>
<word key="__api_cms_databases" js="0">Databases</word>
<word key="__api_cms_categories" js="0">Database Categories</word>
<word key="copy_topic_to_database" js="0">Copy to Database</word>
<word key="copy_select_database" js="0">Select Database</word>
<word key="copy_select_category" js="0">Select Category</word>
@@ -973,6 +999,27 @@
<word key="comments_meta_message" js="0">Message</word>
<word key="comments_meta_color" js="0">Message color</word>
<word key="default_copyposts_message" js="0">Please be aware that these comments were copied here from another source and that the date and time shown for each comment may not be accurate.</word>
<word key="block_pagebuildertext" js="0">Page Builder: Text</word>
<word key="block_pagebuildertext_desc" js="0">Add simple text to the page</word>
<word key="block_pagebuilderoembed" js="0">Page Builder: Media Embed</word>
<word key="block_pagebuilderoembed_desc" js="0">Embed external content, such as YouTube, Vimeo, GIPHY and more</word>
<word key="block_pagebuilderupload" js="0">Page Builder: Upload Images</word>
<word key="block_pagebuilderupload_desc" js="0">Add a single image, or a carousel of images</word>
<word key="pagebuilderupload_upload" js="0">Upload</word>
<word key="pagebuilder_text" js="0">Text</word>
<word key="video_url" js="0">URL</word>
<word key="video_cannot_embed" js="0">This content cannot be embedded.</word>
<word key="block_testimonials" js="0">Testimonials</word>
<word key="block_testimonials_desc" js="0">Show a collection of testimonials displayed at random.</word>
<word key="widget_testimonials_name" js="0">Name</word>
<word key="widget_testimonials_content" js="0">Content</word>
<word key="testimonials" js="0">Testimonials</word>
<word key="pagebuilderupload_slideshow" js="0">Autoplay slideshow?</word>
<word key="pagebuilderupload_captions" js="0">Captions</word>
<word key="pagebuilderupload_captions_desc" js="0">These must be ordered the same as the uploaded photos</word>
<word key="pagebuilderupload_urls" js="0">URLs</word>
<word key="pagebuilderupload_urls_desc" js="0">These must be ordered the same as the uploaded photos</word>
<word key="pagebuilderupload_height" js="0">Block Height</word>
<word key="cms_download_db" js="1">Download Database</word>
<word key="cms_download_db_explain" js="1"><![CDATA[This will download a file with the database settings, templates, custom fields and categories which can be uploaded to another community.<br>Records are <em>not</em> included.]]></word>
<word key="index_as_categories" js="1">Show categories</word>
+8 -4
View File
@@ -2,21 +2,25 @@
"admin": {
"pages": {
"default_controller": "pages",
"protected": 0
"protected": 0,
"default": 1
},
"databases": {
"default_controller": "databases",
"protected": 0
"protected": 0,
"default": 0
}
},
"front": {
"pages": {
"default_controller": "page",
"protected": 0
"protected": 0,
"default": 1
},
"database": {
"default_controller": "index",
"protected": 0
"protected": 0,
"default": 0
}
}
}
+244 -19
View File
@@ -95,35 +95,49 @@
"zerofill": false
},
"store_current_id": {
"allow_null": true,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "store_current_id",
"type": "INT",
"length": 10,
"decimals": null,
"values": [],
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": true,
"zerofill": false,
"auto_increment": false,
"binary": false
"values": [],
"zerofill": false
},
"store_type": {
"allow_null": true,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 32,
"name": "store_type",
"type": "VARCHAR",
"length": 32,
"decimals": null,
"values": [],
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"zerofill": false,
"auto_increment": false,
"binary": false
"values": [],
"zerofill": false
}
},
"indexes": []
"indexes": {
"path_lookup": {
"type": "key",
"name": "path_lookup",
"length": [
28,
221
],
"columns": [
"store_type",
"store_path"
]
}
},
"collation": "utf8mb4_unicode_ci"
},
"cms_blocks": {
"name": "cms_blocks",
@@ -1052,6 +1066,20 @@
"zerofill": false,
"auto_increment": false,
"binary": false
},
"database_canonical_flag": {
"name": "database_canonical_flag",
"type": "TINYINT",
"length": 1,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": true,
"zerofill": false,
"auto_increment": false,
"binary": false
}
},
"indexes": {
@@ -1677,6 +1705,18 @@
null,
null
]
},
"forum_integration": {
"type": "key",
"name": "forum_integration",
"columns": [
"category_forum_record",
"category_forum_comments"
],
"length": [
null,
null
]
}
},
"comment": "",
@@ -3981,5 +4021,190 @@
},
"collation": "utf8_general_ci",
"engine": "InnoDB"
},
"cms_template_conflicts": {
"name": "cms_template_conflicts",
"columns": {
"conflict_id": {
"allow_null": false,
"auto_increment": true,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 10,
"name": "conflict_id",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_key": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 32,
"name": "conflict_key",
"type": "CHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_item_id": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "conflict_item_id",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_type": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "template",
"length": 10,
"name": "conflict_type",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_original_group": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 100,
"name": "conflict_original_group",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_group": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 100,
"name": "conflict_group",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_location": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 255,
"name": "conflict_location",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_title": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 255,
"name": "conflict_title",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_data": {
"allow_null": true,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 0,
"name": "conflict_data",
"type": "TEXT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_content": {
"allow_null": true,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 0,
"name": "conflict_content",
"type": "MEDIUMTEXT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_date": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "conflict_date",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"length": [
null
],
"columns": [
"conflict_id"
]
},
"conflict_key": {
"type": "key",
"name": "conflict_key",
"length": [
null,
null
],
"columns": [
"conflict_key",
"conflict_type"
]
}
},
"collation": "utf8_general_ci",
"engine": "InnoDB"
}
}
-5
View File
@@ -29,11 +29,6 @@
"default": "",
"report": "bool"
},
{
"key": "cms_use_different_gateway",
"default": "0",
"report": "full"
},
{
"key": "page_extension",
"default": ".html",
File diff suppressed because it is too large. Load diff
+93 -1
View File
@@ -291,5 +291,97 @@
"103035": "4.3.6",
"103036": "4.3.6",
"103037": "4.3.6",
"103038": "4.3.6"
"103038": "4.3.6",
"103039": "4.3.6",
"104000": "4.4.0 Beta 1",
"104001": "4.4.0 Beta 2",
"104002": "4.4.0 Beta 3",
"104004": "4.4.0 Beta 4",
"104003": "4.4.0 Beta 4",
"104005": "4.4.0",
"104006": "4.4.0",
"104007": "4.4.0",
"104008": "4.4.0",
"104009": "4.4.1",
"104010": "4.4.1 Beta 2",
"104011": "4.4.1",
"104012": "4.4.1",
"104013": "4.4.1",
"104014": "4.4.1",
"104015": "4.4.2 Beta 1",
"104016": "4.4.2",
"104017": "4.4.2",
"104018": "4.4.2",
"104019": "4.4.2",
"104020": "4.4.2",
"104021": "4.4.3 Beta 1",
"104022": "4.4.3 Beta 2",
"104023": "4.4.3",
"104024": "4.4.3",
"104025": "4.4.3",
"104026": "4.4.4 Beta 1",
"104027": "4.4.4",
"104028": "4.4.4",
"104029": "4.4.4",
"104030": "4.4.5 Beta 1",
"104031": "4.4.5 Beta 2",
"104032": "4.4.5 Beta 2",
"104033": "4.4.5",
"104034": "4.4.5",
"104035": "4.4.5",
"104036": "4.4.5",
"104037": "4.4.5",
"104038": "4.4.6",
"104039": "4.4.6",
"104040": "4.4.6",
"104041": "4.4.7 Beta 1",
"104042": "4.4.7 Beta 2",
"104043": "4.4.7 Beta 3",
"104044": "4.4.7",
"104045": "4.4.8 Beta 1",
"104046": "4.4.8 Beta 2",
"104047": "4.4.8",
"104048": "4.4.9 Beta 1",
"104049": "4.4.9",
"104050": "4.4.9",
"104051": "4.4.9",
"104052": "4.4.9",
"104053": "4.4.9.1",
"104054": "4.4.9.1",
"104055": "4.4.9.2",
"104056": "4.4.9.2",
"104057": "4.4.10 Beta 1",
"104058": "4.4.10 Beta 2",
"104059": "4.4.10 Beta 3",
"104060": "4.4.10 Beta 4",
"104061": "4.4.10",
"104062": "4.4.10",
"104063": "4.4.10",
"104064": "4.4.10",
"104065": "4.4.10",
"104066": "4.4.10",
"104067": "4.4.10",
"104068": "4.4.10",
"104069": "4.4.10",
"105013": "4.5.0 Beta 1",
"105014": "4.5.0 Beta 1",
"105015": "4.5.0 Beta 2",
"105016": "4.5.0 Beta 3",
"105017": "4.5.0 Beta 4",
"105018": "4.5.0 Beta 4",
"105019": "4.5.0 Beta 4",
"105020": "4.5.0 Beta 4",
"105021": "4.5.0 Beta 5",
"105022": "4.5.0 Beta 6",
"105023": "4.5.0 Beta 6",
"105024": "4.5.0 Beta 7",
"105025": "4.5.0 Beta 8",
"105026": "4.5.0 Beta 8",
"105027": "4.5.0 Beta 8",
"105028": "4.5.0 Beta 9",
"105029": "4.5.0 Beta 10",
"105030": "4.5.0 Beta 11",
"105031": "4.5.0 Beta 11",
"105032": "4.5.0 Beta 12",
"105100": "4.5.0"
}
+33
View File
@@ -64,5 +64,38 @@
"allow_reuse": true,
"menu_style": "modal",
"embeddable": true
},
"pagebuildertext": {
"class": "\\IPS\\Widget\\StaticCache",
"restrict": [
"sidebar",
"cms"
],
"default_area": "",
"allow_reuse": true,
"menu_style": "modal",
"embeddable": true
},
"pagebuilderoembed": {
"class": "\\IPS\\Widget\\StaticCache",
"restrict": [
"sidebar",
"cms"
],
"default_area": "",
"allow_reuse": true,
"menu_style": "modal",
"embeddable": true
},
"pagebuilderupload": {
"class": "\\IPS\\Widget\\StaticCache",
"restrict": [
"sidebar",
"cms"
],
"default_area": "",
"allow_reuse": true,
"menu_style": "modal",
"embeddable": true
}
}