Version 4.2.0
This commit is contained in:
1 parent
0dc2aee5ed
commit
96997ddd8e
2074 files changed
+125454
-55780
No files matched your search
@@ -43,6 +43,7 @@
|
||||
"categories_manage": "categories_manage",
|
||||
"categories_add": "categories_add",
|
||||
"categories_edit": "categories_edit",
|
||||
"categories_massManageContent": "categories_massManageContent",
|
||||
"categories_delete": "categories_delete"
|
||||
},
|
||||
"records": {
|
||||
|
||||
+527
-319
File diff suppressed because it is too large.
Load diff
@@ -737,6 +737,20 @@
|
||||
|
||||
],
|
||||
"zerofill": false
|
||||
},
|
||||
"record_meta_data": {
|
||||
"name": "record_meta_data",
|
||||
"type": "BIT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "0",
|
||||
"comment": "",
|
||||
"unsigned": false,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
|
||||
@@ -31,12 +31,12 @@
|
||||
"type": "C",
|
||||
"class": "\\IPS\\Lang"
|
||||
},
|
||||
"websiteUrl": {
|
||||
"type": "S",
|
||||
"class": "\\IPS\\Theme\\class_core_front_global"
|
||||
},
|
||||
"Output": {
|
||||
"type": "C",
|
||||
"class": "\\IPS\\Output"
|
||||
},
|
||||
"topics": {
|
||||
"type": "S",
|
||||
"class": "\\IPS\\Theme\\class_forums_front_topics"
|
||||
}
|
||||
}
|
||||
@@ -1,8 +1,8 @@
|
||||
<?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="101099" javascript_position="1000050"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/blocks" javascript_name="ips.blocks.form.js" javascript_type="controller" javascript_version="102002" javascript_position="1000050"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.blocks.form.js
|
||||
*
|
||||
@@ -142,9 +142,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.download.js" javascript_type="controller" javascript_version="101099" javascript_position="1000100">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2014 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.download.js" javascript_type="controller" javascript_version="102002" javascript_position="1000100">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.databases.download.js - Present an alert to the user asking them if they want to build the app first
|
||||
*
|
||||
@@ -187,9 +187,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.form.js" javascript_type="controller" javascript_version="101099" javascript_position="1000100">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2014 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/databases" javascript_name="ips.databases.form.js" javascript_type="controller" javascript_version="102002" javascript_position="1000100">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.databases.form.js
|
||||
*
|
||||
@@ -250,9 +250,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/external" javascript_name="ips.external.communication.js" javascript_type="controller" javascript_version="101099" javascript_position="1000050"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/external" javascript_name="ips.external.communication.js" javascript_type="controller" javascript_version="102002" javascript_position="1000050"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.external.communication.js - External communication widget - sends messages to the parent window
|
||||
*
|
||||
@@ -385,9 +385,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/fields" javascript_name="ips.fields.form.js" javascript_type="controller" javascript_version="101099" javascript_position="1000150">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/fields" javascript_name="ips.fields.form.js" javascript_type="controller" javascript_version="102002" javascript_position="1000150">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.fields.form.js
|
||||
*
|
||||
@@ -422,9 +422,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/media" javascript_name="ips.media.main.js" javascript_type="controller" javascript_version="101099" javascript_position="1000200"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/media" javascript_name="ips.media.main.js" javascript_type="controller" javascript_version="102002" javascript_position="1000200"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.media.main.js - Main media controller
|
||||
*
|
||||
@@ -451,6 +451,7 @@
|
||||
this.on( 'click', '[data-action="deleteSelected"]', this.deleteSelected );
|
||||
this.on( 'keydown', '[data-role="mediaSearch"]', this.searchKeyPress );
|
||||
this.on( 'submitDialog', '[data-role="uploadButton"]', this.dialogSubmitted );
|
||||
this.on( window, 'resize', this.resizePanels );
|
||||
this.setup();
|
||||
},
|
||||
|
||||
@@ -470,6 +471,25 @@
|
||||
|
||||
this.scope.find('[data-role="uploadButton"]').attr('href', this._uploadURL + '&media_parent=0' );
|
||||
this.scope.find('[data-role="folderButton"]').attr('href', this._newFolderURL + '&media_parent=0' );
|
||||
|
||||
this.resizePanels();
|
||||
},
|
||||
|
||||
/**
|
||||
* Resize panels
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
resizePanels: function () {
|
||||
var windowHeight = $( window ).height();
|
||||
|
||||
this.scope.find('#elMedia_sidebar, #elMedia_fileList, #elMedia_searchResults').each( function () {
|
||||
var top = $( this ).offset().top;
|
||||
|
||||
$( this ).css({
|
||||
height: ( windowHeight - top ) + 'px'
|
||||
});
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -990,9 +1010,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.embed.js" javascript_type="controller" javascript_version="101099" javascript_position="1000250"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.embed.js" javascript_type="controller" javascript_version="102002" javascript_position="1000250"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.pages.embed.js - Pages embed dialog
|
||||
*
|
||||
@@ -1036,9 +1056,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.form.js" javascript_type="controller" javascript_version="101099" javascript_position="1000250"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2014 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/pages" javascript_name="ips.pages.form.js" javascript_type="controller" javascript_version="102002" javascript_position="1000250"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.pages.form.js - Page Form Stuff That I Can't Be Bothered To Type Out Here
|
||||
*
|
||||
@@ -1129,9 +1149,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.form.js" javascript_type="controller" javascript_version="101099" javascript_position="1000100"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2014 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.form.js" javascript_type="controller" javascript_version="102002" javascript_position="1000100"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.databases.form.js
|
||||
*
|
||||
@@ -1241,9 +1261,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.revisions.js" javascript_type="controller" javascript_version="101099" javascript_position="1000100">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2014 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="controllers/records" javascript_name="ips.records.revisions.js" javascript_type="controller" javascript_version="102002" javascript_position="1000100">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.databases.revisions.js
|
||||
*
|
||||
@@ -1296,9 +1316,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.addForm.js" javascript_type="controller" javascript_version="101099" javascript_position="1000300">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.addForm.js" javascript_type="controller" javascript_version="102002" javascript_position="1000300">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.templates.addForm.js - Controller for the 'add' form in the template editor
|
||||
*
|
||||
@@ -1346,9 +1366,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.conflict.js" javascript_type="controller" javascript_version="101099" javascript_position="1000300">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.conflict.js" javascript_type="controller" javascript_version="102002" javascript_position="1000300">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.templates.conflict.js - Templates: Parent controller for the template conflict manager
|
||||
*
|
||||
@@ -1418,9 +1438,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileEditor.js" javascript_type="controller" javascript_version="101099" javascript_position="1000300"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileEditor.js" javascript_type="controller" javascript_version="102002" javascript_position="1000300"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.templates.fileEditor.js - Templates: controller for the tabbed file editor
|
||||
*
|
||||
@@ -1457,6 +1477,8 @@
|
||||
this.on( 'openDialog', this.openedDialog );
|
||||
this.on( 'menuItemSelected', this.menuSelected );
|
||||
|
||||
var debounce = _.debounce( _.bind( this._recalculatePanelWrapper, this ), 100 );
|
||||
this.on( window, 'resize', debounce );
|
||||
|
||||
// Other setup
|
||||
this.setup();
|
||||
@@ -2229,10 +2251,6 @@
|
||||
// Get height of the tab bar
|
||||
var tabHeight = this._tabBar.outerHeight();
|
||||
|
||||
if( tabHeight == this._currentHeight ){
|
||||
return;
|
||||
}
|
||||
|
||||
// Set the top value of the panel
|
||||
this._tabContent.css( { top: tabHeight + 'px' } );
|
||||
|
||||
@@ -2277,13 +2295,18 @@
|
||||
* @returns {number}
|
||||
*/
|
||||
_getTabContentHeight: function () {
|
||||
return this._tabContent.outerHeight();
|
||||
var tabContentTop = this._tabContent.offset().top;
|
||||
var windowHeight = $( window ).height();
|
||||
var infoHeight = this.scope.find('#elTemplateEditor_info').outerHeight();
|
||||
|
||||
this._panelHeight = windowHeight - tabContentTop - infoHeight - 31;
|
||||
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="101099" javascript_position="1000300"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.fileList.js" javascript_type="controller" javascript_version="102002" javascript_position="1000300"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.templates.fileList.js - Templates: controller for the file listing component of the template manager
|
||||
*
|
||||
@@ -2311,6 +2334,9 @@
|
||||
this.on( document, 'addedFile.templates', this.refreshFileList );
|
||||
this.on( document, 'deletedFile.templates', this.refreshFileList );
|
||||
|
||||
var debounce = _.debounce( _.bind( this.resizeFileList, this ), 100 );
|
||||
this.on( window, 'resize', debounce );
|
||||
|
||||
// Other setup
|
||||
this.setup();
|
||||
},
|
||||
@@ -2323,8 +2349,27 @@
|
||||
setup: function () {
|
||||
this._tabBar = this.scope.find('#elTemplateEditor_typeTabs');
|
||||
this._tabContent = this.scope.find('#elTemplateEditor_fileList');
|
||||
this.resizeFileList();
|
||||
},
|
||||
|
||||
/**
|
||||
* Resizes the file list to full height
|
||||
*
|
||||
* @returns {void}
|
||||
*/
|
||||
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 browserHeight = $( window ).height();
|
||||
|
||||
var fileListNewTop = browserHeight - fileListTop - infoHeight - 30;
|
||||
|
||||
this._tabContent.css({
|
||||
height: fileListNewTop + 'px'
|
||||
});
|
||||
},
|
||||
|
||||
/**
|
||||
* Something has changed in the file list, so we refresh it and try and remember
|
||||
* the position we were at. If a new file ID is provided, we'll also select it.
|
||||
@@ -2601,9 +2646,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.main.js" javascript_type="controller" javascript_version="101099" javascript_position="1000300">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.main.js" javascript_type="controller" javascript_version="102002" javascript_position="1000300">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.templates.main.js - Templates: Parent controller for the template editor
|
||||
* Simply manages showing the loading thingy based on events coming from within
|
||||
@@ -2642,9 +2687,9 @@
|
||||
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.variablesDialog.js" javascript_type="controller" javascript_version="101099" javascript_position="1000300">/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="controllers/templates" javascript_name="ips.templates.variablesDialog.js" javascript_type="controller" javascript_version="102002" javascript_position="1000300">/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.templates.variablesDialog.js - Controller for the variables dialog
|
||||
*
|
||||
@@ -2680,9 +2725,9 @@
|
||||
}
|
||||
});
|
||||
}(jQuery, _));</file>
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.area.js" javascript_type="mixins" javascript_version="101099" javascript_position="1000150"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.area.js" javascript_type="mixins" javascript_version="102002" javascript_position="1000150"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.cms.builder.area.js - Front-end mixin for tables
|
||||
*
|
||||
@@ -2749,9 +2794,9 @@
|
||||
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.block.js" javascript_type="mixins" javascript_version="101099" javascript_position="1000150"><![CDATA[/**
|
||||
* IPS Community Suite 4
|
||||
* (c) 2013 Invision Power Services - http://www.invisionpower.com
|
||||
<file javascript_app="cms" javascript_location="front" javascript_path="mixins" javascript_name="ips.cms.builder.block.js" javascript_type="mixins" javascript_version="102002" javascript_position="1000150"><![CDATA[/**
|
||||
* Invision Community
|
||||
* (c) Invision Power Services, Inc. - https://www.invisioncommunity.com
|
||||
*
|
||||
* ips.cms.builder.block.js - Front-end mixin for CMS sidebar
|
||||
*
|
||||
@@ -2857,7 +2902,7 @@
|
||||
|
||||
});
|
||||
}(jQuery, _));]]></file>
|
||||
<file javascript_app="cms" javascript_location="admin" javascript_path="templates" javascript_name="ips.templates.media.js" javascript_type="template" javascript_version="101099" javascript_position="1000300"><![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="102002" javascript_position="1000300"><![CDATA[ips.templates.set( 'templates.media.grid', "\
|
||||
<ul class='ipsGrid' data-ipsGrid data-ipsGrid-minItemSize='100' data-ipsGrid-maxItemSize='200'>\
|
||||
{{{contents}}}\
|
||||
</ul>\
|
||||
@@ -2874,7 +2919,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="101099" javascript_position="1000300"><![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="102002" javascript_position="1000300"><![CDATA[/* TEMPLATE EDITOR TEMPLATES */
|
||||
/* TEMPLATECEPTION */
|
||||
ips.templates.set('templates.editor.newTab', " \
|
||||
<li data-fileid='{{fileid}}' data-location='{{location}}'>\
|
||||
@@ -2918,4 +2963,6 @@ app.js</order>
|
||||
<order app="global" path="/dev/js//library//jquery">jquery.js
|
||||
jquery.history.js
|
||||
jquery.transform.js</order>
|
||||
<order app="global" path="/dev/js//library//linkify">linkify.min.js
|
||||
linkify-jquery.min.js</order>
|
||||
</javascript>
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<language>
|
||||
<app key="cms" version="101099">
|
||||
<app key="cms" version="102002">
|
||||
<word key="__app_cms" js="0">Pages</word>
|
||||
<word key="menutab__cms" js="0">Pages</word>
|
||||
<word key="menutab__cms_icon" js="0">book</word>
|
||||
<word key="menutab__cms_icon" js="0">files-o</word>
|
||||
<word key="__indefart_content_db_lang_sl" js="0">a %s</word>
|
||||
<word key="__indefart_content_record_comments_title" js="0">a comment</word>
|
||||
<word key="__indefart_content_record_reviews_title" js="0">a review</word>
|
||||
@@ -33,6 +33,7 @@
|
||||
<word key="can_unhide_record" js="0">Can unhide %s?</word>
|
||||
<word key="can_view_hidden_record" js="0">Can view a hidden %s?</word>
|
||||
<word key="can_move_record" js="0">Can move %s?</word>
|
||||
<word key="can_move_record_desc" js="0">Will be able to move only between the categories they have permission to moderate, not to any other category.</word>
|
||||
<word key="can_lock_record" js="0">Can lock %s?</word>
|
||||
<word key="can_unlock_record" js="0">Can unlock %s?</word>
|
||||
<word key="can_reply_to_locked_record" js="0">Can reply to a locked %s?</word>
|
||||
@@ -50,6 +51,13 @@
|
||||
<word key="can_unhide_rreview" js="0">Can unhide a %s review?</word>
|
||||
<word key="can_view_hidden_rreview" js="0">Can view a hidden %s review?</word>
|
||||
<word key="can_delete_rreview" js="0">Can delete a %s review?</word>
|
||||
<word key="can_feature_comments_record" js="0">Can recommend comments on %s?</word>
|
||||
<word key="can_unfeature_comments_record" js="0">Can remove comments recommendations on %s?</word>
|
||||
<word key="can_add_item_message_record" js="0">Can add messages to %s?</word>
|
||||
<word key="can_edit_item_message_record" js="0">Can edit messages on %S?</word>
|
||||
<word key="can_delete_item_message_record" js="0">Can delete messages on %s?</word>
|
||||
<word key="can_copy_topic_database" js="0">Can copy topics to a database?</word>
|
||||
<word key="can_copy_topic_database_desc" js="0">If enabled, then the user can copy topics in forums they are allowed to moderate in, to databases they are allowed to create records in</word>
|
||||
<word key="r__page_add" js="0">Can create pages?</word>
|
||||
<word key="r__page_edit" js="0">Can edit pages?</word>
|
||||
<word key="r__page_delete" js="0">Can delete pages?</word>
|
||||
@@ -122,9 +130,9 @@
|
||||
<word key="content_block_add_type_custom_desc" js="0">You can author HTML or PHP for advertisements, javascript widgets (e.g. stock tickers, gamer feeds, etc.) and notices/announcements.</word>
|
||||
<word key="content_block_add_custom_type_wysiwyg" js="0">Editor</word>
|
||||
<word key="content_block_add_custom_type_html" js="0">Manual HTML</word>
|
||||
<word key="content_block_add_custom_type_html_desc" js="0">Allows use of HTML and IPS4 template logic that you'll enter manually</word>
|
||||
<word key="content_block_add_custom_type_html_desc" js="0">Allows use of HTML and Invision Community template logic that you'll enter manually</word>
|
||||
<word key="content_block_add_custom_type_php" js="0">Manual PHP</word>
|
||||
<word key="content_block_add_custom_type_php_desc" js="0"><![CDATA[Allows use of raw PHP that you'll enter manually. Note: don't include <?php ?> tags; IPS4 will handle this for you.]]></word>
|
||||
<word key="content_block_add_custom_type_php_desc" js="0"><![CDATA[Allows use of raw PHP that you'll enter manually. Note: don't include <?php ?> tags; Invision Community will handle this for you.]]></word>
|
||||
<word key="content_block_add_custom_type" js="0">Content Editor</word>
|
||||
<word key="content_block_form_tab__details" js="0">Details</word>
|
||||
<word key="content_block_form_tab__content" js="0">Content</word>
|
||||
@@ -215,9 +223,10 @@
|
||||
<word key="template_group_new" js="0">New Group</word>
|
||||
<word key="template_group_new_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.</word>
|
||||
<word key="template_title_desc" js="0">Please use only a-z and 0-9 without any special characters or spaces. The title must start with a letter or underscore.</word>
|
||||
<word key="template_reserved_word" js="0">The template name may not be any of the following: %s</word>
|
||||
<word key="cms_theme_designer_mode_warning" js="0"><![CDATA[Theme editing is currently unavailabe 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 IPS4 communities.</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="templates_block" js="0">Blocks</word>
|
||||
<word key="templates_database" js="0">Database</word>
|
||||
<word key="templates_page" js="0">Pages</word>
|
||||
@@ -301,7 +310,7 @@
|
||||
<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'>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 IPS 4 suite is already installed at the root of your domain.</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'>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>
|
||||
@@ -315,7 +324,8 @@
|
||||
<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 to</word>
|
||||
<word key="cms_move_pages" js="0">Move pages and folders to</word>
|
||||
<word key="folder" js="0">Folder</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>
|
||||
@@ -406,10 +416,10 @@
|
||||
<word key="field_display_display_json_badge" js="0">Display View Format</word>
|
||||
<word key="field_display_custom" js="0">Custom</word>
|
||||
<word key="field_display_display_json_custom" js="0">Display Custom Format</word>
|
||||
<word key="field_display_display_json_custom_desc" js="0"><![CDATA[Use {$label} to show the field label, {$value} to show the display field value and {$formValue} to show the value from the form.<br />For example, your dropdown may use a key of 'open' with a value of 'Open Record'. In this example, {$formValue} would contain 'open' and {$value} would contain 'Open Record'. You may need to add the '|raw' modifier to preserve HTML, i.e. {$value|raw}, but this can introduce security issues if not used carefully. You may use IPS4 template logic such as {{if}}.<br>If using an Address field, you can show a map by using {map} and the address with {address}.<br>If using mulitple uploads, $value is an array of File Objects.]]></word>
|
||||
<word key="field_display_display_json_custom_desc" js="0"><![CDATA[Use {$label} to show the field label, {$value} to show the display field value and {$formValue} to show the value from the form.<br />For example, your dropdown may use a key of 'open' with a value of 'Open Record'. In this example, {$formValue} would contain 'open' and {$value} would contain 'Open Record'. You may need to add the '|raw' modifier to preserve HTML, i.e. {$value|raw}, but this can introduce security issues if not used carefully. You may use Invision Community template logic such as {{if}}.<br>If using an Address field, you can show a map by using {map} and the address with {address}.<br>If using mulitple uploads, $value is an array of File Objects.]]></word>
|
||||
<word key="field_display_listing_json_badge" js="0">Listing View Format</word>
|
||||
<word key="field_display_listing_json_custom" js="0">Listing Custom Format</word>
|
||||
<word key="field_display_listing_json_custom_desc" js="0"><![CDATA[Use {$label} to show the field label, {$value} to show the display field value and {$formValue} to show the value from the form.<br />For example, your dropdown may use a key of 'open' with a value of 'Open Record'. In this example, {$formValue} would contain 'open' and {$value} would contain 'Open Record'. You may need to add the '|raw' modifier to preserve HTML, i.e. {$value|raw}, but this can introduce security issues if not used carefully. You may use IPS4 template logic such as {{if}}.<br>If using an Address field, you can show a map by using {map} and the address with {address}.<br>If using mulitple uploads, $value is an array of File Objects.]]></word>
|
||||
<word key="field_display_listing_json_custom_desc" js="0"><![CDATA[Use {$label} to show the field label, {$value} to show the display field value and {$formValue} to show the value from the form.<br />For example, your dropdown may use a key of 'open' with a value of 'Open Record'. In this example, {$formValue} would contain 'open' and {$value} would contain 'Open Record'. You may need to add the '|raw' modifier to preserve HTML, i.e. {$value|raw}, but this can introduce security issues if not used carefully. You may use Invision Community template logic such as {{if}}.<br>If using an Address field, you can show a map by using {map} and the address with {address}.<br>If using mulitple uploads, $value is an array of File Objects.]]></word>
|
||||
<word key="field_display_listing_json_badge_right" js="0">Show to the right of the listing area</word>
|
||||
<word key="cms_field_error_bad_syntax" js="0">The HTML syntax for the custom format is incorrect.</word>
|
||||
<word key="field_key" js="0">Template Key</word>
|
||||
@@ -460,6 +470,9 @@
|
||||
<word key="field_date_tz_utc" js="0">UTC</word>
|
||||
<word key="field_date_tz_set" js="0">Manually select a timezone</word>
|
||||
<word key="field_date_tz_user" js="0">Use the viewing member's timezone</word>
|
||||
<word key="field_allow_attachments" js="0">Allow attachments?</word>
|
||||
<word key="field_upload_thumb" js="0">Thumbnail</word>
|
||||
<word key="field_upload_thumb_none" js="0">Do not create a thumbnail</word>
|
||||
<word key="content_content_form_tab__config" js="0">Configuration</word>
|
||||
<word key="content_cat_db_title" js="0">%s Categories</word>
|
||||
<word key="content_cat_furl_not_unique" js="0">The FURL slug is not unique</word>
|
||||
@@ -903,16 +916,21 @@
|
||||
<word key="loc_cms_viewing_db_record_no_cats" js="0">Viewing %s in %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>
|
||||
<word key="content_err_page_500_admin" js="0">There is a parse error in the page.</word>
|
||||
<word key="cms_delete_linked_topic" js="0">This topic is used for %s comments and cannot be deleted</word>
|
||||
<word key="digest_area_cms_cms" js="0">%s</word>
|
||||
<word key="x_created_cms_in" js="0">%s posted a %s in %s</word>
|
||||
<word key="x_created_cms_in_embed" js="0">%s posted %s in %s</word>
|
||||
<word key="x_commented_cms" js="0">%s commented on a %s</word>
|
||||
<word key="x_commented_cms_embed" js="0">%s commented on %s</word>
|
||||
<word key="x_reviewed_cms_embed" js="0">%s reviewed %s</word>
|
||||
<word key="acplogs__cms_added_database" js="0">Added Database: %s</word>
|
||||
<word key="acplogs__cms_edited_database" js="0">Edited Database: %s</word>
|
||||
<word key="acplogs__cms_deleted_database" js="0">Deleted Database: %s</word>
|
||||
<word key="block_embed_options" js="0">External embed</word>
|
||||
<word key="block_embed_title" js="0">External Embed</word>
|
||||
<word key="embed_message" js="0"><![CDATA[This feature allows you to embed this block on an external page that <strong>isn't</strong> part of your IPS Community Suite. For pages created within the IPS Community Suite, use the normal embedding method instead.]]></word>
|
||||
<word key="embed_message" js="0"><![CDATA[This feature allows you to embed this block on an external page that <strong>isn't</strong> part of your Invision Community. For pages created within Invision Community, use the normal embedding method instead.]]></word>
|
||||
<word key="embed_1_title" js="0">Embedding this block</word>
|
||||
<word key="embed_1_desc" js="0">To embed this block, paste the following code in your page where you'd like it to display. You can optionally have the block automatically inherit some styles (font family, link color, etc.) from the page it appears on.</word>
|
||||
<word key="embed_1_toggle" js="0">Inherit key styles from the parent page</word>
|
||||
@@ -927,6 +945,15 @@
|
||||
<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="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>
|
||||
<word key="record_category_id" js="0">Category</word>
|
||||
<word key="copy_comments" js="0">Copy posts?</word>
|
||||
<word key="copy_comments_desc" js="0">Setting this to Yes will also copy all posts on the topic and add them as comments on the new %s</word>
|
||||
<word key="copy_author" js="0">Use original author?</word>
|
||||
<word key="copy_author_desc" js="0">Setting this to Yes will make the author of the new %s the same as the topic. Otherwise, your account will be used</word>
|
||||
<word key="copying_comments" js="0">Copying Comments...</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>
|
||||
|
||||
@@ -2264,6 +2264,20 @@
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
},
|
||||
"field_allow_attachments": {
|
||||
"name": "field_allow_attachments",
|
||||
"type": "TINYINT",
|
||||
"length": 1,
|
||||
"decimals": null,
|
||||
"values": null,
|
||||
"allow_null": false,
|
||||
"default": "1",
|
||||
"comment": "",
|
||||
"unsigned": true,
|
||||
"zerofill": false,
|
||||
"auto_increment": false,
|
||||
"binary": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
@@ -2869,7 +2883,7 @@
|
||||
],
|
||||
"length": [
|
||||
null,
|
||||
250
|
||||
191
|
||||
]
|
||||
}
|
||||
},
|
||||
@@ -3808,5 +3822,80 @@
|
||||
},
|
||||
"collation": "utf8mb4_unicode_ci",
|
||||
"engine": "InnoDB"
|
||||
},
|
||||
"cms_database_fields_thumbnails": {
|
||||
"name": "cms_database_fields_thumbnails",
|
||||
"columns": {
|
||||
"thumb_original_location": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "",
|
||||
"length": 255,
|
||||
"name": "thumb_original_location",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"thumb_location": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "",
|
||||
"length": 255,
|
||||
"name": "thumb_location",
|
||||
"type": "VARCHAR",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"thumb_field_id": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 10,
|
||||
"name": "thumb_field_id",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
},
|
||||
"thumb_database_id": {
|
||||
"allow_null": false,
|
||||
"auto_increment": false,
|
||||
"binary": false,
|
||||
"comment": "",
|
||||
"decimals": null,
|
||||
"default": "0",
|
||||
"length": 10,
|
||||
"name": "thumb_database_id",
|
||||
"type": "INT",
|
||||
"unsigned": false,
|
||||
"values": [],
|
||||
"zerofill": false
|
||||
}
|
||||
},
|
||||
"indexes": {
|
||||
"PRIMARY": {
|
||||
"type": "primary",
|
||||
"name": "PRIMARY",
|
||||
"length": [
|
||||
null
|
||||
],
|
||||
"columns": [
|
||||
"thumb_original_location"
|
||||
]
|
||||
}
|
||||
},
|
||||
"collation": "utf8_general_ci",
|
||||
"engine": "InnoDB"
|
||||
}
|
||||
}
|
||||
+349
-173
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<theme name="Default" author_name="Invision Power Services, Inc" author_url="http://www.invisionpower.com">
|
||||
<theme name="Default" author_name="Invision Power Services, Inc" author_url="https://www.invisioncommunity.com">
|
||||
<template template_group="blocks" template_name="embedCode" template_data="$block, $embedKey" template_location="admin" template_app="cms"><![CDATA[
|
||||
<div class="ipsMessage ipsMessage_info">
|
||||
{lang="embed_message"}
|
||||
@@ -86,15 +86,13 @@
|
||||
</div>
|
||||
</form>
|
||||
</div>]]></template>
|
||||
<template template_group="blocks" template_name="previewBlock" template_data="" template_location="admin" template_app="cms"><![CDATA[<li class="ipsFieldRow">
|
||||
<div id="elPages_block_preview_wrapper">
|
||||
<template template_group="blocks" template_name="previewBlock" template_data="" template_location="admin" template_app="cms"><![CDATA[<li class="ipsFieldRow ipsFieldRow_noFlex">
|
||||
<div id="elPages_block_preview_wrapper" class='ipsSpacer_bottom'>
|
||||
<iframe class='loading' src='{url="app=cms&module=pages&controller=builder&do=previewBlock" base="front" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}' data-base-url="{url="app=cms&module=pages&controller=builder&do=previewBlock" base="front" protocol="\IPS\Http\Url::PROTOCOL_RELATIVE"}" frameborder="0" name="elpages_block_preview" id="elpages_block_preview"></iframe>
|
||||
<p class='ipsType_reset'>
|
||||
<span data-role="refreshPreview" class="ipsButton ipsButton_light ipsButton_small">{lang="cms_block_preview_refresh"}</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="ipsPos_right">
|
||||
<span data-role="refreshPreview" class="ipsButton ipsButton_light ipsButton_small">{lang="cms_block_preview_refresh"}</span>
|
||||
</div>
|
||||
<br />
|
||||
<br />
|
||||
<li>]]></template>
|
||||
<template template_group="blocks" template_name="previewTemplateLink" template_data="$plugin" template_location="admin" template_app="cms"><![CDATA[<span data-role="viewTemplate" data-plugin="{$plugin}" class='ipsButton ipsButton_light ipsButton_verySmall'>{lang="cms_block_view_template"}</span>]]></template>
|
||||
<template template_group="databases" template_name="downloadDialog" template_data="$database" template_location="admin" template_app="cms"><![CDATA[<div class='ipsBox ipsPad'>
|
||||
@@ -108,10 +106,11 @@
|
||||
</div>]]></template>
|
||||
<template template_group="databases" template_name="fieldsWrapper" template_data="$tree" template_location="admin" template_app="cms"><![CDATA[<br />
|
||||
<br />
|
||||
<div class='acpBlock_title'>{lang="content_fields_fixed_title"}</div>
|
||||
{$tree|raw}]]></template>
|
||||
<template template_group="databases" template_name="manageDatabaseName" template_data="$database, $row, $page" template_location="admin" template_app="cms"><![CDATA[{{;}}
|
||||
<strong>{$database->_title}</strong>
|
||||
<div class='ipsBox'>
|
||||
<div class='ipsBox_titleBar'>{lang="content_fields_fixed_title"}</div>
|
||||
{$tree|raw}
|
||||
</div>]]></template>
|
||||
<template template_group="databases" template_name="manageDatabaseName" template_data="$database, $row, $page" template_location="admin" template_app="cms"><![CDATA[<strong>{$database->_title}</strong>
|
||||
{{if $page}}
|
||||
<a class="ipsPos_right ipsBadge ipsBadge_style1" href="{$page->url()}" target="_blank">{lang="cms_db_used_on_page" sprintf="$page->_title"}</a>
|
||||
{{endif}}
|
||||
@@ -132,7 +131,7 @@
|
||||
{{$idField = $record::$databaseColumnId;}}
|
||||
<div>
|
||||
<h3 class='ipsType_sectionHead'>
|
||||
<div class='ipsType_break ipsContained'>
|
||||
<span class='ipsType_break ipsContained'>
|
||||
{{if $record->unread()}}
|
||||
<a href='{$record->url( 'getNewComment' )}' title='{lang="first_unread_post"}' data-ipsTooltip>
|
||||
<span class='ipsItemStatus'><i class="fa {{if in_array( $record->$idField, $iposted )}}fa-star{{else}}fa-circle{{endif}}"></i></span>
|
||||
@@ -147,9 +146,141 @@
|
||||
{{if $record->container()->allow_rating}}
|
||||
{template="rating" group="global" location="front" app="core" params="'large', $record->rating_hits ? ( $record->rating_total / $record->rating_hits ) : 0"}
|
||||
{{endif}}
|
||||
</div>
|
||||
</span>
|
||||
</h3>
|
||||
<p class='ipsType_normal ipsType_light ipsType_blendLinks ipsType_reset'>{lang="in"} <a href='{$record->container()->url()}'>{$record->container()->_title}</a></p>
|
||||
</div>]]></template>
|
||||
<template template_group="global" template_name="embedRecord" template_data="$item, $url" template_location="front" template_app="cms"><![CDATA[
|
||||
{{$image = NULL;}}
|
||||
<div data-embedInfo-maxSize='500' class='ipsRichEmbed'>
|
||||
{template="embedHeader" group="embed" app="core" params="$item, \IPS\Member::loggedIn()->language()->addToStack( 'x_created_cms_in_embed', FALSE, array( 'sprintf' => array( $item->author()->name, $item->indefiniteArticle(), $item->container()->_title ) ) ), $item->mapped('date')"}
|
||||
{{if $item->record_image}}
|
||||
{{$image = \IPS\File::get( "cms_Records", $item->record_image );}}
|
||||
{{elseif count( $item->contentImages() )}}
|
||||
{{$attachType = key( $item->contentImages()[0] );}}
|
||||
{{$image = \IPS\File::get( $attachType, $item->contentImages()[0][ $attachType ] );}}
|
||||
{{endif}}
|
||||
|
||||
{{if $image}}
|
||||
<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center'>
|
||||
<a href='{$item->url()}' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $image->url )"}" )'>
|
||||
<img src='{$image->url}' class='ipsHide' alt=''>
|
||||
</a>
|
||||
</div>
|
||||
{{endif}}
|
||||
<div class='ipsPad'>
|
||||
<h3 class='ipsRichEmbed_itemTitle ipsTruncate ipsTruncate_line ipsType_blendLinks'>
|
||||
<a href='{$item->url()}' title="{$item->mapped('title')}">{$item->mapped('title')}</a>
|
||||
</h3>
|
||||
<div class='ipsType_richText ipsType_medium ipsSpacer_top ipsSpacer_half' data-truncate='3'>
|
||||
{$item->truncated(TRUE)|raw}
|
||||
</div>
|
||||
|
||||
{{if count( $item->customFieldsForDisplay('listing') )}}
|
||||
<div class='ipsSpacer_top ipsSpacer_half ipsClearfix'>
|
||||
{{foreach $item->customFieldsForDisplay('listing') as $fieldId => $fieldValue}}
|
||||
{{if $fieldValue}}
|
||||
{$fieldValue|raw}
|
||||
{{endif}}
|
||||
{{endforeach}}
|
||||
</div>
|
||||
{{endif}}
|
||||
|
||||
{template="embedItemStats" group="embed" app="core" params="$item"}
|
||||
</div>
|
||||
</div>]]></template>
|
||||
<template template_group="global" template_name="embedRecordComment" template_data="$comment, $item, $url" template_location="front" template_app="cms"><![CDATA[
|
||||
<div data-embedInfo-maxSize='500' class='ipsRichEmbed'>
|
||||
{template="embedHeader" group="embed" app="core" params="$comment, \IPS\Member::loggedIn()->language()->addToStack( 'x_commented_cms_embed', FALSE, array( 'sprintf' => array( $comment->author()->name, $item->indefiniteArticle() ) ) ), $comment->mapped('date')"}
|
||||
<div class='ipsPad'>
|
||||
<div class='ipsRichEmbed_originalItem ipsAreaBackground_reset ipsSpacer_bottom ipsType_blendLinks'>
|
||||
<div>
|
||||
{{if $item->record_image}}
|
||||
{{$image = \IPS\File::get( "cms_Records", $item->record_image );}}
|
||||
{{elseif count( $item->contentImages() )}}
|
||||
{{$attachType = key( $item->contentImages()[0] );}}
|
||||
{{$image = \IPS\File::get( $attachType, $item->contentImages()[0][ $attachType ] );}}
|
||||
{{endif}}
|
||||
|
||||
{{if $image}}
|
||||
<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center'>
|
||||
<a href='{$item->url()}' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $image->url )"}" )'>
|
||||
<img src='{$image->url}' class='ipsHide' alt=''>
|
||||
</a>
|
||||
</div>
|
||||
{{endif}}
|
||||
<div class='ipsPad'>
|
||||
{template="embedOriginalItem" group="embed" app="core" params="$item, TRUE, \IPS\Theme::i()->getTemplate( 'global', 'cms' )->embedRecordItemSnippet( $item ) "}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='ipsType_richText ipsType_medium' data-truncate='3'>
|
||||
{$comment->truncated(TRUE)|raw}
|
||||
</div>
|
||||
|
||||
{{if \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and count( $comment->reactions() ) and settings.reputation_enabled}}
|
||||
<ul class='ipsList_inline ipsSpacer_top ipsSpacer_half'>
|
||||
<li>
|
||||
{template="reactionOverview" app="core" group="global" params="$comment, TRUE, 'small'"}
|
||||
</li>
|
||||
</ul>
|
||||
{{endif}}
|
||||
</div>
|
||||
</div>]]></template>
|
||||
<template template_group="global" template_name="embedRecordItemSnippet" template_data="$item" template_location="front" template_app="cms"><![CDATA[
|
||||
{{if count( $item->customFieldsForDisplay('listing') )}}
|
||||
<div class='ipsSpacer_top ipsSpacer_half ipsClearfix'>
|
||||
{{foreach $item->customFieldsForDisplay('listing') as $fieldId => $fieldValue}}
|
||||
{{if $fieldValue}}
|
||||
{$fieldValue|raw}
|
||||
{{endif}}
|
||||
{{endforeach}}
|
||||
</div>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="global" template_name="embedRecordReview" template_data="$comment, $item, $url" template_location="front" template_app="cms"><![CDATA[
|
||||
<div data-embedInfo-maxSize='500' class='ipsRichEmbed'>
|
||||
{template="embedHeader" group="embed" app="core" params="$comment, \IPS\Member::loggedIn()->language()->addToStack( 'x_reviewed_cms_embed', FALSE, array( 'sprintf' => array( $comment->author()->name, $item->indefiniteArticle() ) ) ), $comment->mapped('date')"}
|
||||
<div class='ipsPad'>
|
||||
<div class='ipsRichEmbed_originalItem ipsAreaBackground_reset ipsSpacer_bottom ipsType_blendLinks'>
|
||||
<div>
|
||||
{{if $item->record_image}}
|
||||
{{$image = \IPS\File::get( "cms_Records", $item->record_image );}}
|
||||
{{elseif count( $item->contentImages() )}}
|
||||
{{$attachType = key( $item->contentImages()[0] );}}
|
||||
{{$image = \IPS\File::get( $attachType, $item->contentImages()[0][ $attachType ] );}}
|
||||
{{endif}}
|
||||
|
||||
{{if $image}}
|
||||
<div class='ipsRichEmbed_masthead ipsRichEmbed_mastheadBg ipsType_center'>
|
||||
<a href='{$item->url()}' style='background-image: url( "{expression="str_replace( array( '(', ')' ), array( '\(', '\)' ), $image->url )"}" )'>
|
||||
<img src='{$image->url}' class='ipsHide' alt=''>
|
||||
</a>
|
||||
</div>
|
||||
{{endif}}
|
||||
<div class='ipsPad'>
|
||||
{template="embedOriginalItem" group="embed" app="core" params="$item, TRUE, \IPS\Theme::i()->getTemplate( 'global', 'cms' )->embedRecordItemSnippet( $item ) "}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{template="rating" app="core" params="'veryLarge', $comment->mapped('rating')" group="global"}
|
||||
{{if $comment->mapped('votes_total')}}
|
||||
<p class='ipsType_reset ipsType_medium'>{$comment->helpfulLine()|raw}</p>
|
||||
{{endif}}
|
||||
<hr class='ipsHr'>
|
||||
<div class='ipsType_richText ipsType_medium ipsSpacer_top ipsSpacer_half' data-truncate='3'>
|
||||
{$comment->truncated(TRUE)|raw}
|
||||
</div>
|
||||
|
||||
{{if \IPS\IPS::classUsesTrait( $comment, 'IPS\Content\Reactable' ) and count( $comment->reactions() ) and settings.reputation_enabled}}
|
||||
<ul class='ipsList_inline ipsSpacer_top ipsSpacer_half'>
|
||||
<li>
|
||||
{template="reactionOverview" app="core" group="global" params="$comment, TRUE, 'small'"}
|
||||
</li>
|
||||
</ul>
|
||||
{{endif}}
|
||||
</div>
|
||||
</div>]]></template>
|
||||
<template template_group="global" template_name="uploadDisplay" template_data="$file, $record, $downloadUrl" template_location="front" template_app="cms"><![CDATA[{{if $file->isImage()}}
|
||||
<img src="$file->url" class="ipsImage" data-ipsLightbox>
|
||||
@@ -186,19 +317,81 @@
|
||||
{{$rootButtons = call_user_func( $tree->getRootButtons );}}
|
||||
|
||||
<div data-controller='cms.admin.media.main' class='cMedia_manager'>
|
||||
<div class='acpBlock_title acpBlock_titleDark ipsAreaBackground_dark ipsPad'>
|
||||
<div class='ipsColumns ipsColumns_collapsePhone'>
|
||||
<div class='ipsColumn ipsColumn_wide'>
|
||||
<div class='ipsColumns ipsColumns_collapsePhone'>
|
||||
<div class='ipsColumn ipsColumn_wide'>
|
||||
<div class='cMedia_managerToolbar'>
|
||||
{{if $rootButtons['add_folder']}}
|
||||
<a href='{$rootButtons['add_folder']['link']}' data-ipsDialog data-ipsDialog-title='{lang="cms_add_media_folder"}' class='ipsButton ipsButton_light ipsButton_small' data-role='folderButton'><i class='fa fa-plus'></i> {lang="cms_add_media_folder"}</a>
|
||||
<a href='{$rootButtons['add_folder']['link']}' data-ipsDialog data-ipsDialog-title='{lang="cms_add_media_folder"}' class='ipsButton ipsButton_light ipsButton_small ipsButton_fullWidth' data-role='folderButton'><i class='fa fa-plus'></i> {lang="cms_add_media_folder"}</a>
|
||||
{{endif}}
|
||||
</div>
|
||||
<div class='ipsColumn ipsColumn_fluid'>
|
||||
<div class="ipsTabs ipsTabs_stretch ipsClearfix acpFormTabBar" id="elMedia_sidebarTabs" data-ipsTabBar data-ipsTabBar-contentarea="#elMedia_sidebar" data-ipstabbar-updateurl="false">
|
||||
<a href="#elMedia_sidebarTabs" data-action="expandTabs"><i class="fa fa-caret-down"></i></a>
|
||||
<ul role='tablist'>
|
||||
<li>
|
||||
<a href="#" class="ipsTabs_item ipsTabs_activeItem" data-type="templates" id="elTab_folders" aria-selected="true">{lang="media_folders"}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="ipsTabs_item ipsTabs_itemDisabled" id='elTab_overview' data-type="css">{lang="media_file_overview"}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id='elMedia_sidebar' class='ipsAreaBackground_reset ipsScrollbar'>
|
||||
<div id='ipsTabs_elMedia_sidebarTabs_elTab_folders_panel' class='ipsTabs_panel'>
|
||||
{{$roots = call_user_func( $tree->getRoots );}}
|
||||
<ul class='ipsTreeList' data-role='folderList'>
|
||||
<li class='ipsTreeList_activeBranch ipsTreeList_activeNode' data-role="mediaFolder" data-folderID='0' data-loaded='true'>
|
||||
<a href='{$tree->url->setQueryString( array('root' => 0 ) )}'>{lang="media_root_folder"}</a>
|
||||
<ul>
|
||||
{{foreach $roots as $id => $row}}
|
||||
{template="folderRow" group="media" app="cms" params="$tree->url, $row"}
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id='ipsTabs_elMedia_sidebarTabs_elTab_overview_panel' class='ipsTabs_panel ipsPad' data-role='mediaSidebar'>
|
||||
<div data-role='itemInformation'>
|
||||
<div class='ipsAreaBackground_light cMedia_preview ipsType_center' data-role='itemPreview'></div>
|
||||
|
||||
<div class='ipsSpacer_top'>
|
||||
<strong class='ipsType_minorHeading'>{lang="media_tag_title"}</strong>
|
||||
<input type='text' class='ipsField_fullWidth' value='' data-role='itemTag'>
|
||||
<p class='ipsType_small ipsType_light'>{lang="media_tag_desc"}</p>
|
||||
</div>
|
||||
<hr class='ipsHr'>
|
||||
|
||||
<ul class='ipsList_reset ipsSpacer_top'>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_filename"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium ipsType_break' data-role='itemFilename'></p>
|
||||
</li>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_uploaded"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemUploaded'></p>
|
||||
</li>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_size"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemFilesize'></p>
|
||||
</li>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half' data-role='itemDimensionsRow'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_dims"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemDimensions'></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div data-role='multipleItems'>
|
||||
<div class='ipsPad ipsType_large ipsType_light ipsType_center ipsSpacer_top ipsSpacer_double' data-role='multipleItemsMessage'></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='ipsColumn ipsColumn_fluid'>
|
||||
<div class='cMedia_managerToolbar'>
|
||||
<ul class='ipsToolList ipsToolList_horizontal'>
|
||||
{{if $rootButtons['add_page']}}
|
||||
<li class='ipsPos_left'><a href='{url="app=cms&module=pages&controller=media&do=upload"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-remoteSubmit data-ipsDialog-title='{lang="cms_add_media"}' class='ipsButton ipsButton_normal ipsButton_small ipsButton_fullWidth' data-role='uploadButton'><i class='fa fa-cloud-upload'></i> {lang="cms_add_media"}</a></li>
|
||||
{{endif}}
|
||||
<li class='ipsPos_left ipsHide' data-action='deleteFolder'><a href='{url="app=cms&module=pages&controller=media&do=delete&deleteNode=1"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-remoteVerify="false" data-ipsDialog-title='{lang="delete"}' class='ipsButton ipsButton_negative ipsButton_small ipsButton_fullWidth'><i class='fa fa-times'></i> {lang="cms_delete_folder_media"}</a></li>
|
||||
<li class='ipsPos_left ipsHide' data-action='deleteFolder'><a href='{url="app=cms&module=pages&controller=media&do=delete"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-remoteVerify="false" data-ipsDialog-title='{lang="delete"}' class='ipsButton ipsButton_negative ipsButton_small ipsButton_fullWidth'><i class='fa fa-times'></i> {lang="cms_delete_folder_media"}</a></li>
|
||||
<li class='ipsPos_left ipsHide' data-action='deleteSelected'><a href='#' class='ipsButton ipsButton_negative ipsButton_small ipsButton_fullWidth'><i class='fa fa-times'></i> {lang="cms_delete_selected_media"}</a></li>
|
||||
<li class='ipsResponsive_showPhone ipsResponsive_block'><hr class='ipsHr'></li>
|
||||
<li class='ipsPos_right'>
|
||||
@@ -206,83 +399,14 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='ipsAreaBackground ipsPad'>
|
||||
<div class='ipsColumns ipsColumns_collapsePhone'>
|
||||
<div class='ipsColumn ipsColumn_wide'>
|
||||
<div class="ipsTabs ipsTabs_stretch ipsClearfix acpFormTabBar" id="elMedia_sidebarTabs" data-ipsTabBar data-ipsTabBar-contentarea="#elMedia_sidebar" data-ipstabbar-updateurl="false">
|
||||
<a href="#elMedia_sidebarTabs" data-action="expandTabs"><i class="fa fa-caret-down"></i></a>
|
||||
<ul role='tablist'>
|
||||
<li>
|
||||
<a href="#" class="ipsTabs_item ipsTabs_activeItem" data-type="templates" id="elTab_folders" aria-selected="true">{lang="media_folders"}</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" class="ipsTabs_item ipsTabs_itemDisabled" id='elTab_overview' data-type="css">{lang="media_file_overview"}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id='elMedia_sidebar' class='ipsAreaBackground_reset ipsScrollbar'>
|
||||
<div id='ipsTabs_elMedia_sidebarTabs_elTab_folders_panel' class='ipsTabs_panel ipsPad'>
|
||||
{{$roots = call_user_func( $tree->getRoots );}}
|
||||
<ul class='ipsTreeList' data-role='folderList'>
|
||||
<li class='ipsTreeList_activeBranch ipsTreeList_activeNode' data-role="mediaFolder" data-folderID='0' data-loaded='true'>
|
||||
<a href='{$tree->url->setQueryString( array('root' => 0 ) )}'>{lang="media_root_folder"}</a>
|
||||
<ul>
|
||||
{{foreach $roots as $id => $row}}
|
||||
{template="folderRow" group="media" app="cms" params="$tree->url, $row"}
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id='ipsTabs_elMedia_sidebarTabs_elTab_overview_panel' class='ipsTabs_panel ipsPad' data-role='mediaSidebar'>
|
||||
<div data-role='itemInformation'>
|
||||
<div class='ipsAreaBackground_light cMedia_preview ipsType_center' data-role='itemPreview'></div>
|
||||
|
||||
<div class='ipsSpacer_top'>
|
||||
<strong class='ipsType_minorHeading'>{lang="media_tag_title"}</strong>
|
||||
<input type='text' class='ipsField_fullWidth' value='' data-role='itemTag'>
|
||||
<p class='ipsType_small ipsType_light'>{lang="media_tag_desc"}</p>
|
||||
</div>
|
||||
<hr class='ipsHr'>
|
||||
|
||||
<ul class='ipsList_reset ipsSpacer_top'>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_filename"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemFilename'></p>
|
||||
</li>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_uploaded"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemUploaded'></p>
|
||||
</li>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_size"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemFilesize'></p>
|
||||
</li>
|
||||
<li class='ipsSpacer_bottom ipsSpacer_half' data-role='itemDimensionsRow'>
|
||||
<h3 class='ipsType_minorHeading'>{lang="media_dims"}</h3>
|
||||
<p class='ipsType_reset ipsType_medium' data-role='itemDimensions'></p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div data-role='multipleItems'>
|
||||
<div class='ipsPad ipsType_large ipsType_light ipsType_center ipsSpacer_top ipsSpacer_double' data-role='multipleItemsMessage'></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class='ipsColumn ipsColumn_fluid'>
|
||||
<div class='ipsPad ipsAreaBackground_reset ipsScrollbar' data-role="fileListing" id='elMedia_fileList' data-showing='root'>
|
||||
<ul class='ipsGrid' data-ipsGrid data-ipsGrid-minItemSize='100' data-ipsGrid-maxItemSize='200'>
|
||||
{{foreach $roots as $id => $data}}
|
||||
{template="fileListing" group="media" app="cms" params="$tree->url, $data"}
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class='ipsPad ipsAreaBackground_reset ipsScrollbar ipsHide' data-role="searchResults" id='elMedia_searchResults'></div>
|
||||
<div class='ipsPad ipsAreaBackground_reset ipsScrollbar' data-role="fileListing" id='elMedia_fileList' data-showing='root'>
|
||||
<ul class='ipsGrid' data-ipsGrid data-ipsGrid-minItemSize='100' data-ipsGrid-maxItemSize='200'>
|
||||
{{foreach $roots as $id => $data}}
|
||||
{template="fileListing" group="media" app="cms" params="$tree->url, $data"}
|
||||
{{endforeach}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class='ipsPad ipsAreaBackground_reset ipsScrollbar ipsHide' data-role="searchResults" id='elMedia_searchResults'></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>]]></template>
|
||||
@@ -295,7 +419,7 @@
|
||||
<ul class='ipsList_reset'>
|
||||
{{if isset( $widgets[ $id ] )}}
|
||||
{{foreach $widgets[ $id ] as $widget}}
|
||||
<li class='{{if get_class( $widget ) != 'IPS\cms\widgets\Database'}}ipsWidget ipsWidget_{$orientation}{{endif}}' data-blockTitle="{$widget->title()}" data-blockID='{{if isset($widget->app)}}app_{$widget->app}_{{else}}plugin_{$widget->plugin}_{{endif}}{$widget->key}_{$widget->uniqueKey}'{{if $widget->hasConfiguration()}} data-blockConfig="true"{{endif}} data-controller='core.front.widgets.block'>{$widget|raw}</li>
|
||||
<li class='{{if get_class( $widget ) != 'IPS\cms\widgets\Database'}}ipsWidget ipsWidget_{$orientation}{{endif}}' data-blockTitle="{$widget->title()}" data-blockID='{{if isset($widget->app)}}app_{$widget->app}_{{else}}plugin_{$widget->plugin}_{{endif}}{$widget->key}_{$widget->uniqueKey}'{{if $widget->hasConfiguration()}} data-blockConfig="true"{{endif}} data-blockErrorMessage="{lang="$widget->errorMessage" escape="true"}" data-controller='core.front.widgets.block'>{$widget|raw}</li>
|
||||
{{endforeach}}
|
||||
{{endif}}
|
||||
</ul>
|
||||
@@ -394,8 +518,8 @@
|
||||
</div>]]></template>
|
||||
<template template_group="records" template_name="fieldBadge" template_data="$label, $value, $classes" template_location="global" template_app="cms"><![CDATA[<span class='ipsBadge {$classes}'>{$label}: {$value|raw}</span>]]></template>
|
||||
<template template_group="records" template_name="fieldDefault" template_data="$label, $value" template_location="global" template_app="cms"><![CDATA[<div class='ipsType_reset ipsType_light'><strong>{$label}:</strong> {$value|raw}</div>]]></template>
|
||||
<template template_group="records" template_name="soundcloud" template_data="$url, $params" template_location="global" template_app="cms"><![CDATA[<iframe {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} scrolling="no" frameborder="no" src="https://w.soundcloud.com/player/?url={$url}&color=ff5500"></iframe>]]></template>
|
||||
<template template_group="records" template_name="spotify" template_data="$url, $params" template_location="global" template_app="cms"><![CDATA[<iframe src="https://embed.spotify.com/?uri={$url}" {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} frameborder="0" allowtransparency="true"></iframe>]]></template>
|
||||
<template template_group="records" template_name="soundcloud" template_data="$url, $params" template_location="global" template_app="cms"><![CDATA[<iframe {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} src="https://w.soundcloud.com/player/?url={$url}&color=ff5500"></iframe>]]></template>
|
||||
<template template_group="records" template_name="spotify" template_data="$url, $params" template_location="global" template_app="cms"><![CDATA[<iframe src="https://embed.spotify.com/?uri={$url}" {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} allowtransparency="true"></iframe>]]></template>
|
||||
<template template_group="records" template_name="title" template_data="$row, $title" template_location="admin" template_app="cms"><![CDATA[{{if $row['record_future_date'] or $row['record_approved'] === -1 or $row['record_approved'] === 0 or $row['record_pinned'] === 1 or $row['record_featured'] === 1}}
|
||||
<span class='ipsPos_right'>
|
||||
{{if $row['record_future_date']}}
|
||||
@@ -417,7 +541,7 @@
|
||||
</span>
|
||||
{{endif}}
|
||||
{$title}]]></template>
|
||||
<template template_group="records" template_name="youtube" template_data="$url, $params" template_location="global" template_app="cms"><![CDATA[<div class='ipsEmbeddedVideo {{if \IPS\Settings::i()->max_video_width > 0}}ipsEmbeddedVideo_limited{{endif}}' contenteditable="false"><div><iframe id="ytplayer" type="text/html" {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} src="$url" frameborder="0"></iframe></div></div>]]></template>
|
||||
<template template_group="records" template_name="youtube" template_data="$url, $params" template_location="global" template_app="cms"><![CDATA[<div class='ipsEmbeddedVideo {{if \IPS\Settings::i()->max_video_width > 0}}ipsEmbeddedVideo_limited{{endif}}' contenteditable="false"><div><iframe id="ytplayer" type="text/html" {{foreach $params as $k => $v }}{$k}="{$v}" {{endforeach}} src="$url"></iframe></div></div>]]></template>
|
||||
<template template_group="revisions" template_name="rows" template_data="$table, $headers, $rows" template_location="front" template_app="cms"><![CDATA[{{foreach $rows as $row}}
|
||||
<article class='ipsComment ipsComment_parent ipsClearfix ipsClear'>
|
||||
<div class='ipsComment_header ipsPhotoPanel ipsPhotoPanel_mini ipsPhotoPanel_notPhone'>
|
||||
@@ -742,12 +866,12 @@
|
||||
<input type="hidden" name="t_key" value="{$current->key}">
|
||||
<input type="hidden" name="t_id" value="{$current->id}">
|
||||
|
||||
<div class='ipsAreaBackground ipsPad' id='elTemplateEditor' data-controller='cms.admin.templates.main' data-normalURL="{url="app=cms&module=pages&controller=templates"}" data-ajaxURL="{url="app=cms&module=pages&controller=ajax"}">
|
||||
<div id='elTemplateEditor' data-controller='cms.admin.templates.main' data-normalURL="{url="app=cms&module=pages&controller=templates"}" data-ajaxURL="{url="app=cms&module=pages&controller=ajax"}">
|
||||
<div class='ipsColumns'>
|
||||
<div class='ipsColumn ipsColumn_wide' data-role="fileList" data-controller='cms.admin.templates.fileList'>
|
||||
<ul class='ipsList_inline ipsClearfix'>
|
||||
<li><a href='#elTemplateEditor_newItemMenu_menu' id='elTemplateEditor_newItemMenu' class='ipsButton ipsButton_normal ipsButton_small' data-ipsMenu>{lang="theme_template_new"} <i class='fa fa-caret-down'></i></a></li>
|
||||
</ul>
|
||||
<div class='cTemplateControls' id='elTemplateEditor_fileListControls'>
|
||||
<a href='#elTemplateEditor_newItemMenu_menu' id='elTemplateEditor_newItemMenu' class='ipsButton ipsButton_normal ipsButton_small ipsButton_fullWidth' data-ipsMenu>{lang="theme_template_new"} <i class='fa fa-caret-down'></i></a>
|
||||
</div>
|
||||
<ul id='elTemplateEditor_newItemMenu_menu' role='menu' class='ipsMenu ipsMenu_auto ipsMenu_withStem ipsHide'>
|
||||
<li class='ipsMenu_item'><a role='menuitem' href='{url="app=cms&module=pages&controller=templates&do=addTemplate&type=block"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="content_template_add_template_block_title"}'>{lang="content_template_add_template_block"}</a></li>
|
||||
<li class='ipsMenu_item'><a role='menuitem' href='{url="app=cms&module=pages&controller=templates&do=addTemplate&type=page"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="content_template_add_template_page_title""}'>{lang="content_template_add_template_page"}</a></li>
|
||||
@@ -769,21 +893,22 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class='ipsColumn ipsColumn_fluid' data-controller='cms.admin.templates.fileEditor'>
|
||||
<ul class='ipsList_inline ipsClearfix' id='elTemplateEditor_panelToolbar'>
|
||||
<li class='ipsPos_right'>
|
||||
<a href='#' id='elTemplateEditor_variables' class='ipsButton ipsButton_veryLight ipsButton_small' data-ipsDialog data-ipsDialog-title='{lang="content_template_editor_fields_title"}' data-ipsDialog-content="#elTemplateEditor_attributesDialog" data-ipsDialog-size='narrow'>{lang="theme_attributes"}</a>
|
||||
</li>
|
||||
<li class='ipsPos_right'>
|
||||
<a href='{url="app=cms&module=pages&controller=templates&do=delete&t_location={$current->location}&t_key={$current->id}"}' class='ipsButton ipsButton_veryLight ipsButton_small {{if $current->user_edited == 'original'}}ipsButton_disabled{{endif}}' data-action="revert">{{if ! $current->user_edited}}{lang="delete"}{{else}}{lang="revert"}{{endif}}</a>
|
||||
</li>
|
||||
<li>
|
||||
<button type='submit' class='ipsButton ipsButton_primary ipsButton_small' data-action="save">{lang="save"}</button>
|
||||
</li>
|
||||
<li>
|
||||
<span data-role='loading' class='ipsHide'><i class='icon-spinner2 ipsLoading_tinyIcon'></i> {lang="loading"}</span>
|
||||
</li>
|
||||
</ul>
|
||||
<br>
|
||||
<div class='cTemplateControls'>
|
||||
<ul class='ipsList_inline ipsClearfix' id='elTemplateEditor_panelToolbar'>
|
||||
<li class='ipsPos_right'>
|
||||
<a href='#' id='elTemplateEditor_variables' class='ipsButton ipsButton_veryLight ipsButton_small' data-ipsDialog data-ipsDialog-title='{lang="content_template_editor_fields_title"}' data-ipsDialog-content="#elTemplateEditor_attributesDialog" data-ipsDialog-size='narrow'>{lang="theme_attributes"}</a>
|
||||
</li>
|
||||
<li class='ipsPos_right'>
|
||||
<a href='{url="app=cms&module=pages&controller=templates&do=delete&t_location={$current->location}&t_key={$current->id}"}' class='ipsButton ipsButton_veryLight ipsButton_small {{if $current->user_edited == 'original'}}ipsButton_disabled{{endif}}' data-action="revert">{{if ! $current->user_edited}}{lang="delete"}{{else}}{lang="revert"}{{endif}}</a>
|
||||
</li>
|
||||
<li>
|
||||
<button type='submit' class='ipsButton ipsButton_primary ipsButton_small' data-action="save">{lang="save"}</button>
|
||||
</li>
|
||||
<li>
|
||||
<span data-role='loading' class='ipsHide'><i class='icon-spinner2 ipsLoading_tinyIcon'></i> {lang="loading"}</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id='elTemplateEditor_outerPanelWrap'>
|
||||
<div id='elTemplateEditor_panelWrap'>
|
||||
<ul id='elTemplateEditor_tabbar' class='ipsTabs ipsClearfix acpFormTabBar' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_panels'>
|
||||
@@ -798,11 +923,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<ul class='ipsList_inline ipsType_light ipsType_small'>
|
||||
<li class='cTemplateState_changed'> {lang="content_templates_modified"}</li>
|
||||
<li class='cTemplateState_custom'> {lang="content_templates_custom"}</li>
|
||||
</ul>
|
||||
<div id='elTemplateEditor_attributesDialog' class='ipsHide'>
|
||||
<div data-controller='cms.admin.templates.variablesDialog'>
|
||||
<div class='ipsPad'>
|
||||
@@ -837,7 +957,11 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>]]></template>
|
||||
</form>
|
||||
<ul class='ipsList_inline ipsType_light ipsType_small' id='elTemplateEditor_info'>
|
||||
<li class='cTemplateState_changed'> {lang="content_templates_modified"}</li>
|
||||
<li class='cTemplateState_custom'> {lang="content_templates_custom"}</li>
|
||||
</ul>]]></template>
|
||||
<template template_group="templates" template_name="viewTemplate" template_data="$template" template_location="admin" template_app="cms"><![CDATA[<div class='ipsPad'>
|
||||
<strong>{lang="content_template_editor_fields_params"}:</strong> <span class='ipsType_monospace'>{$template['template_params']}</span>
|
||||
<pre data-controller='core.global.editor.customtags' class='ipsType_monospace ipsTemplate_box' data-control="codemirror" data-mode="htmlmixed">
|
||||
@@ -902,7 +1026,7 @@
|
||||
{template="userPhoto" group="global" app="core" params="$record->author(), 'tiny'"}
|
||||
</div>
|
||||
<div class='ipsDataItem_main cWidgetComments'>
|
||||
<div class="ipsCommentCount ipsPos_right {{if ( $record->record_comments ) === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="replies_number" pluralize="$record->record_comments"}'>{expression="$record->record_comments"}</div>
|
||||
<div class="ipsCommentCount ipsPos_right {{if ( $record->record_comments ) === 0}}ipsFaded{{endif}}" data-ipsTooltip title='{lang="num_replies" pluralize="$record->record_comments"}'>{expression="$record->record_comments"}</div>
|
||||
<div class='ipsType_break ipsContained'>
|
||||
<a href="{$record->url()->setQueryString( 'do', 'getLastComment' )}" title='{lang="view_this_cmsrecord" sprintf="\IPS\Member::loggedIn()->language()->addToStack( 'content_db_lang_sl_' . $record::$customDatabaseId, FALSE ), $record->_title"}' class='ipsDataItem_title'>{$record->_title}</a>
|
||||
</div>
|
||||
@@ -938,7 +1062,7 @@
|
||||
</ul>
|
||||
</div>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="widgets" template_name="Wysiwyg" template_data="$content, $orientation='horizontal'" template_location="front" template_app="cms"><![CDATA[<div class='ipsWidget_inner {{if $orientation == 'vertical'}}ipsPad{{endif}}'>
|
||||
<template template_group="widgets" template_name="Wysiwyg" template_data="$content, $orientation='horizontal'" template_location="front" template_app="cms"><![CDATA[<div class='ipsWidget_inner ipsPad ipsType_richText'>
|
||||
{$content|raw}
|
||||
</div>
|
||||
]]></template>
|
||||
@@ -946,10 +1070,12 @@
|
||||
#elPages_block_preview_wrapper {
|
||||
background: transparent;
|
||||
z-index: 1;
|
||||
margin-left: 355px;
|
||||
}
|
||||
|
||||
#elpages_block_preview {
|
||||
width: 100%;
|
||||
max-width: 600px;
|
||||
min-width: 450px;
|
||||
min-height: 230px;
|
||||
margin: 10px 0;
|
||||
@@ -963,23 +1089,10 @@
|
||||
z-index: 0;
|
||||
}</css>
|
||||
<css css_location="front" css_app="cms" css_attributes="" css_path="database_index" css_name="featured.css">/* ----- */
|
||||
.cCmsCategoryFeaturedEntry
|
||||
{
|
||||
border-bottom: 2px solid #ebebeb;
|
||||
padding: 20px 0 30px 0;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry:last-child
|
||||
{
|
||||
border-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry .cCmsRecord_image {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
margin-top: 4px;
|
||||
border: 4px solid #e2e2e2;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry .cCmsRecord_image img {
|
||||
@@ -1006,17 +1119,6 @@
|
||||
max-width: 150px;
|
||||
}
|
||||
|
||||
.cmsCategory2col .ipsGrid_span6:nth-of-type(1) {
|
||||
border-right: 1px solid #e2e2e2;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.cmsCategory2col .cCmsCategoryFeaturedEntry
|
||||
{
|
||||
border-bottom: 0px;
|
||||
padding: 0px 0 30px 0;
|
||||
}
|
||||
|
||||
.cmsCategory2col {
|
||||
margin-top: 20px;
|
||||
}
|
||||
@@ -1044,12 +1146,6 @@
|
||||
margin-top: 20px;
|
||||
}
|
||||
|
||||
.cmsCategory3col .ipsGrid_span4:nth-of-type(1),
|
||||
.cmsCategory3col .ipsGrid_span4:nth-of-type(2) {
|
||||
border-right: 1px solid #e2e2e2;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
/* 2 col featured image */
|
||||
.cCmsCategoryFeaturedEntry.cms2ColImageFeature .cCmsRecord_image {
|
||||
width: 100%;
|
||||
@@ -1087,8 +1183,37 @@
|
||||
.cCmsCategoryFeaturedEntry.cms3ColImageFeature .ipsType_pageTitle {
|
||||
font-size: 14px;
|
||||
}</css>
|
||||
<css css_location="admin" css_app="cms" css_attributes="" css_path="media" css_name="media.css"><![CDATA[.cMedia_manager .ipsToolList li {
|
||||
margin-top: 0 !important;
|
||||
<css css_location="admin" css_app="cms" css_attributes="" css_path="media" css_name="media.css"><![CDATA[.cMedia_manager {
|
||||
margin: -30px;
|
||||
}
|
||||
|
||||
.cMedia_managerToolbar {
|
||||
background: #c1c1c7;
|
||||
height: 66px;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.cMedia_manager > .ipsColumns > .ipsColumn {
|
||||
padding: 0;
|
||||
background: #fff;
|
||||
}
|
||||
html[dir="ltr"] .cMedia_manager > .ipsColumns > .ipsColumn_wide {
|
||||
border-right: 4px solid #c1c1c7;
|
||||
}
|
||||
html[dir="rtl"] .cMedia_manager > .ipsColumns > .ipsColumn_wide {
|
||||
border-left: 4px solid #c1c1c7;
|
||||
}
|
||||
|
||||
.cMedia_manager > .ipsColumns > .ipsColumn_wide .cMedia_managerToolbar {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
html[dir="ltr"] .cMedia_manager > .ipsColumns > .ipsColumn_fluid .cMedia_managerToolbar {
|
||||
padding-right: 15px;
|
||||
}
|
||||
html[dir="rtl"] .cMedia_manager > .ipsColumns > .ipsColumn_fluid .cMedia_managerToolbar {
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
/* TABS */
|
||||
@@ -1104,21 +1229,22 @@
|
||||
|
||||
#elMedia_sidebarTabs .ipsTabs_activeItem {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#elMedia_sidebar {
|
||||
height: 550px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#elMedia_fileList,
|
||||
#elMedia_searchResults {
|
||||
height: 587px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#elMedia_searchField {
|
||||
color: #333;
|
||||
line-height: 34px;
|
||||
padding: 0 7px;
|
||||
}
|
||||
|
||||
.cMedia_item {
|
||||
@@ -1197,8 +1323,10 @@
|
||||
}]]></css>
|
||||
<css css_location="front" css_app="cms" css_attributes="" css_path="pages" css_name="page.css">/* ----- */
|
||||
|
||||
.ipsWidget.ipsWidget_horizontal[data-blockid^="app_cms"]:not(.ipsBox) {
|
||||
.ipsWidget.ipsWidget_horizontal[data-blockid^="app_cms"] {
|
||||
padding: 0px !important;
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#elCmsPageWrap .cWidgetContainer_managing ul {
|
||||
@@ -1280,16 +1408,65 @@ div[data-controller="core.front.core.commentsWrapper"] .ipsTabs {
|
||||
max-width: 20px;
|
||||
}</css>
|
||||
<css css_location="admin" css_app="cms" css_attributes="" css_path="templates" css_name="templates.css"><![CDATA[/* ----- */
|
||||
#elTemplateEditor {
|
||||
margin: -30px;
|
||||
}
|
||||
|
||||
.cTemplateControls {
|
||||
background: #c1c1c7;
|
||||
height: 66px;
|
||||
padding-top: 15px;
|
||||
}
|
||||
|
||||
.cTemplateControls .ipsButton.ipsButton_disabled {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
#elTemplateEditor_fileListControls {
|
||||
padding-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
html[dir="ltr"] #elTemplateEditor_panelWrap,
|
||||
html[dir="ltr"] #elTemplateEditor_panelToolbar {
|
||||
margin-left: 15px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
html[dir="rtl"] #elTemplateEditor_panelWrap,
|
||||
html[dir="rtl"] #elTemplateEditor_panelToolbar {
|
||||
margin-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
#elTemplateEditor > .ipsColumns > .ipsColumn {
|
||||
padding: 0;
|
||||
}
|
||||
html[dir="ltr"] #elTemplateEditor > .ipsColumns > .ipsColumn_wide {
|
||||
border-right: 4px solid #c1c1c7;
|
||||
}
|
||||
html[dir="rtl"] #elTemplateEditor > .ipsColumns > .ipsColumn_wide {
|
||||
border-left: 4px solid #c1c1c7;
|
||||
}
|
||||
|
||||
#elTemplateEditor_info {
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
background: #fff;
|
||||
text-align: center;
|
||||
padding: 7px;
|
||||
border-top: 1px solid rgba(0,0,0,0.2);
|
||||
}
|
||||
html[dir="ltr"] #elTemplateEditor_info {
|
||||
left: 270px;
|
||||
right: 0;
|
||||
}
|
||||
html[dir="ltr"] body.cAdminHideMenu #elTemplateEditor_info {
|
||||
left: 70px;
|
||||
}
|
||||
html[dir="rtl"] #elTemplateEditor_info {
|
||||
right: 270px;
|
||||
left: 0;
|
||||
}
|
||||
html[dir="rtl"] body.cAdminHideMenu #elTemplateEditor_info {
|
||||
right: 70px;
|
||||
}
|
||||
|
||||
#elTemplateEditor .ipsTabs {
|
||||
padding: 0;
|
||||
}
|
||||
@@ -1299,6 +1476,11 @@ html[dir="rtl"] #elTemplateEditor_panelToolbar {
|
||||
text-overflow: clip !important;
|
||||
}
|
||||
|
||||
#elTemplateEditor .ipsTabs_item.ipsTabs_activeItem {
|
||||
background: #fff;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
#elTemplateEditor [data-role="editor"],
|
||||
#elTemplateEditor .CodeMirror {
|
||||
border-width: 0px !important;
|
||||
@@ -1325,7 +1507,6 @@ html[dir="rtl"] #elTemplateEditor_panelToolbar {
|
||||
|
||||
#elTemplateEditor_outerPanelWrap {
|
||||
position: relative;
|
||||
height: 590px;
|
||||
}
|
||||
|
||||
#elTemplateEditor [data-role="templatePanelWrap"] {
|
||||
@@ -1361,14 +1542,9 @@ html[dir="rtl"] #elTemplateEditor_panelToolbar {
|
||||
|
||||
/* FILE LISTING STYLES */
|
||||
#elTemplateEditor_fileList {
|
||||
height: 550px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#elTemplateEditor [data-role="fileList"] .ipsTabs {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.cTemplateList a:not(.ipsCms_templateOptions) {
|
||||
padding: 5px 0;
|
||||
display: block;
|
||||
@@ -1459,7 +1635,7 @@ a.ipsCms_templateOptions {
|
||||
}
|
||||
|
||||
.cTemplateList li.cTemplateList_activeNode > a:not(.ipsCms_templateOptions) {
|
||||
background: #748391;
|
||||
background: #2E3D49;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
|
||||
@@ -185,5 +185,26 @@
|
||||
"101096": "4.1.19.2",
|
||||
"101097": "4.1.19.2",
|
||||
"101098": "4.1.19.3",
|
||||
"101099": "4.1.19.4"
|
||||
"101099": "4.1.19.4",
|
||||
"101100": "4.2.0 Beta 1",
|
||||
"101101": "4.2.0 Beta 1",
|
||||
"101102": "4.2.0 Beta 1",
|
||||
"101103": "4.2.0 Beta 1",
|
||||
"101104": "4.2.0 Beta 2",
|
||||
"101105": "4.2.0 Beta 3",
|
||||
"101106": "4.2.0 Beta 3a",
|
||||
"101107": "4.2.0 Beta 4",
|
||||
"101108": "4.2.0 Beta 4",
|
||||
"101109": "4.2.0 Beta 5",
|
||||
"101110": "4.2.0 Beta 5a",
|
||||
"101111": "4.2.0 Beta 6",
|
||||
"101112": "4.2.0 Beta 6a",
|
||||
"101113": "4.2.0 Beta 6a",
|
||||
"101114": "4.2.0 Beta 7",
|
||||
"101115": "4.2.0 Beta 7a",
|
||||
"101116": "4.2.0 Beta 8",
|
||||
"101117": "4.2.0 Beta 8",
|
||||
"102000": "4.2.0",
|
||||
"102001": "4.2.0",
|
||||
"102002": "4.2.0"
|
||||
}
|
||||
Reference in new issue
Block a user