Version 4.1.2
This commit is contained in:
1 parent
3ba79295ee
commit
28bd025b35
1131 files changed
+63658
-20579
No files matched your search
+391
-52
@@ -1,5 +1,38 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<theme name="Default" author_name="Invision Power Services, Inc" author_url="http://www.invisionpower.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"}
|
||||
</div>
|
||||
|
||||
<div data-controller='cms.admin.pages.embed'>
|
||||
<div class='ipsPhotoPanel ipsPhotoPanel_mini ipsSpacer_top ipsSpacer_double'>
|
||||
<span class='ipsPos_left ipsBadge ipsBadge_large ipsBadge_icon ipsBadge_positive'>1</span>
|
||||
<div>
|
||||
<h2 class='ipsType_sectionHead'>{lang="embed_1_title"}</h2>
|
||||
<p>{lang="embed_1_desc"}</p>
|
||||
|
||||
<div class='ipsAreaBackground ipsPad'>
|
||||
<input type='checkbox' id='elEmbedInherit' checked> <span class='ipsType_medium'>{lang="embed_1_toggle"}</span>
|
||||
<textarea rows='2' spellcheck='false' class='ipsType_monospace ipsSpacer_top ipsSpacer_half' data-role='blockCode'><div id='block_{$embedKey}' data-blockID='{$block->key}' class='ipsExternalWidget' data-inheritStyle='true'></div></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr class='ipsHr'>
|
||||
|
||||
<div class='ipsPhotoPanel ipsPhotoPanel_mini'>
|
||||
<span class='ipsPos_left ipsBadge ipsBadge_large ipsBadge_icon ipsBadge_positive'>2</span>
|
||||
<div>
|
||||
<h2 class='ipsType_sectionHead'>{lang="embed_2_title"}</h2>
|
||||
<p>{lang="embed_2_desc"}</p>
|
||||
|
||||
<div class='ipsAreaBackground ipsPad'>
|
||||
<textarea rows='2' spellcheck='false' class='ipsType_monospace'><script type='text/javascript' src='{url="applications/cms/interface/external/external.js" base="none"}' id='ipsWidgetLoader'></script></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>]]></template>
|
||||
<template template_group="blocks" template_name="pluginSelector" template_data="$plugins, $id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $formClass='', $attributes=array(), $sidebar=''" template_location="admin" template_app="cms"><![CDATA[<div class='acpBlock'>
|
||||
<form accept-charset='utf-8' action="{$action}" method="post">
|
||||
<input type="hidden" name="{$id}_submitted" value="1">
|
||||
@@ -83,6 +116,9 @@
|
||||
<a class="ipsPos_right ipsBadge ipsBadge_style1" href="{$page->url()}" target="_blank">{lang="cms_db_used_on_page" sprintf="$page->_title"}</a>
|
||||
{{endif}}
|
||||
<p class='ipsType_light'>{$database->_description}</p>]]></template>
|
||||
<template template_group="global" template_name="basicRelationship" template_data="$items" template_location="front" template_app="cms"><![CDATA[{{foreach $items as $id => $item}}
|
||||
<a href="{$item->url()}">{$item->_title}</a>
|
||||
{{endforeach}}]]></template>
|
||||
<template template_group="global" template_name="commentTableHeader" template_data="$comment, $record" template_location="front" template_app="cms"><![CDATA[{{$iposted = $record->container()->contentPostedIn();}}
|
||||
{{$idField = $record::$databaseColumnId;}}
|
||||
<div>
|
||||
@@ -102,27 +138,6 @@
|
||||
{{endif}}
|
||||
</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="snippet" template_data="$activity, $type='activity'" template_location="front" template_app="cms"><![CDATA[<div class='cSearchActivity_info ipsContained'>
|
||||
{{if in_array( 'IPS\cms\Records', class_parents( $activity ) )}}
|
||||
{{if $type != 'search'}}<a href='{$activity->url()}' class='ipsType_normal ipsType_break'>{$activity->mapped('title')}</a>{{endif}}
|
||||
<div class='ipsType_medium ipsType_richText ipsContained {{if $type != 'search'}}ipsSpacer_both{{else}}ipsSpacer_bottom{{endif}} ipsSpacer_half' data-ipsTruncate data-ipsTruncate-size='3 lines' data-ipsTruncate-type='remove'>
|
||||
{$activity->truncated()|raw}
|
||||
</div>
|
||||
<ul class='ipsList_inline ipsType_light'>
|
||||
<li>{lang="replies_number" pluralize="$activity->mapped('num_comments')"}</li>
|
||||
<li>{lang="num_views_with_number" pluralize="$activity->mapped('views')"}</li>
|
||||
</ul>
|
||||
{{else}}
|
||||
<div class='ipsType_medium ipsType_richText ipsContained ipsSpacer_bottom ipsSpacer_half' data-ipsTruncate data-ipsTruncate-size='3 lines' data-ipsTruncate-type='remove'>
|
||||
{$activity->truncated()|raw}
|
||||
</div>
|
||||
{{if $type != 'search' and $activity instanceof \IPS\Content\Reputation and settings.reputation_enabled}}
|
||||
<ul class='ipsList_inline ipsType_light'>
|
||||
<li>{template="reputationMini" group="global" app="core" params="$activity, '', NULL, TRUE"}</li>
|
||||
</ul>
|
||||
{{endif}}
|
||||
{{endif}}
|
||||
</div>]]></template>
|
||||
<template template_group="global" template_name="uploadDisplay" template_data="$file, $record" template_location="front" template_app="cms"><![CDATA[{{if $file->isImage()}}
|
||||
<img src="$file->url" class="ipsImage" data-ipsLightbox>
|
||||
@@ -133,6 +148,131 @@
|
||||
<a href="{$file->url}">{$file->originalFilename}</a>
|
||||
{{endif}}
|
||||
{{endif}}]]></template>
|
||||
<template template_group="media" template_name="fileListing" template_data="$url, $item" template_location="admin" template_app="cms"><![CDATA[
|
||||
{{if $item instanceof \IPS\cms\Media}}
|
||||
<li class='ipsGrid_span4' data-role='mediaItem' data-fileid='{$item->id}' data-uploaded='{datetime="$item->added" dateonly="true"}' data-path='{$item->full_path}' data-filename='{$item->filename}' data-url='{$item->url()}' {{if $item->is_image}}data-isImage{{endif}}>
|
||||
<div class='cMedia_item {{if $item->is_image}}cMedia_itemImage{{endif}}'>
|
||||
<div class='ipsAreaBackground_light'>
|
||||
{{if $item->is_image}}
|
||||
<img src='{$item->url()}'>
|
||||
{{else}}
|
||||
<div class='ipsNoThumb'></div>
|
||||
{{endif}}
|
||||
</div>
|
||||
<p class='cMedia_filename ipsType_reset ipsTruncate ipsTruncate_line'>{$item->filename}</p>
|
||||
</div>
|
||||
</li>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="media" template_name="folderRow" template_data="$url, $row" template_location="admin" template_app="cms"><![CDATA[
|
||||
{{if !( $row instanceof \IPS\cms\Media )}}
|
||||
<li class='ipsTreeList_inactiveBranch' data-role="mediaFolder" data-folderID='{$row->id}'>
|
||||
<a href='{$url->setQueryString( array( 'root' => $row->id ) )}'>{$row->name}</a>
|
||||
<ul></ul>
|
||||
</li>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="media" template_name="media" template_data="$tree" template_location="admin" template_app="cms"><![CDATA[
|
||||
{{$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'>
|
||||
{{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>
|
||||
{{endif}}
|
||||
</div>
|
||||
<div class='ipsColumn ipsColumn_fluid'>
|
||||
<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='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'>
|
||||
<input type='search' class='' data-role='mediaSearch' id='elMedia_searchField' placeholder='{lang="cms_search_media"}'>
|
||||
</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>
|
||||
</div>
|
||||
</div>
|
||||
</div>]]></template>
|
||||
<template template_group="pages" template_name="globalWrap" template_data="$navigation, $content, $page" template_location="front" template_app="cms"><![CDATA[<div id="elCmsPageWrap" data-pageid="{$page->id}">
|
||||
{$content|raw}
|
||||
</div>]]></template>
|
||||
@@ -156,7 +296,8 @@
|
||||
<div class='ipsPad'>
|
||||
{$form|raw}
|
||||
</div>]]></template>
|
||||
<template template_group="records" template_name="commentTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="cms"><![CDATA[<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
|
||||
<template template_group="records" template_name="commentTemplate" template_data="$id, $action, $elements, $hiddenValues, $actionButtons, $uploadField, $class=''" template_location="front" template_app="cms"><![CDATA[{{$minimized = false;}}
|
||||
<form accept-charset='utf-8' class="ipsForm {$class}" action="{$action}" method="post" {{if $uploadField}}enctype="multipart/form-data"{{endif}}>
|
||||
<input type="hidden" name="{$id}_submitted" value="1">
|
||||
{{foreach $hiddenValues as $k => $v}}
|
||||
<input type="hidden" name="{$k}" value="{$v}">
|
||||
@@ -185,6 +326,9 @@
|
||||
{{foreach $elements as $collection}}
|
||||
{{foreach $collection as $input}}
|
||||
{{if $input instanceof \IPS\Helpers\Form\Editor}}
|
||||
{{if $input->options['minimize'] !== NULL}}
|
||||
{{$minimized = true;}}
|
||||
{{endif}}
|
||||
{$input->html( TRUE )|raw}
|
||||
{{if $input->error}}
|
||||
<br>
|
||||
@@ -193,7 +337,7 @@
|
||||
{{endif}}
|
||||
{{endforeach}}
|
||||
{{endforeach}}
|
||||
<ul class='ipsToolList ipsToolList_horizontal ipsClear ipsClearfix' data-ipsEditor-toolList>
|
||||
<ul class='ipsToolList ipsToolList_horizontal ipsClear ipsClearfix {{if $minimized}}ipsJS_hide{{endif}}' data-ipsEditor-toolList>
|
||||
{{foreach $elements as $collection}}
|
||||
{{foreach $collection as $input}}
|
||||
{{if !($input instanceof \IPS\Helpers\Form\Editor) && $input->name != 'guest_name' and ! mb_stristr( $input->name, 'content_field_' )}}
|
||||
@@ -224,11 +368,10 @@
|
||||
<button data-ipsCancel class="ipsHide ipsButton ipsButton_veryVerySmall">{lang="cancel"}</button>
|
||||
</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[<span class='ipsType_reset ipsType_light'>{$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="title" template_data="$row, $title" template_location="admin" template_app="cms"><![CDATA[{$title}
|
||||
{{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}}
|
||||
<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']}}
|
||||
{{$time = \IPS\DateTime::ts( $row['record_publish_date'] );}}
|
||||
@@ -248,7 +391,7 @@
|
||||
{{endif}}
|
||||
</span>
|
||||
{{endif}}
|
||||
]]></template>
|
||||
{$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="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'>
|
||||
@@ -569,11 +712,13 @@
|
||||
<li class='ipsMenu_item'><a role='menuitem' href='{url="app=cms&module=pages&controller=templates&do=addTemplate&type=js"}' data-ipsDialog data-ipsDialog-forceReload data-ipsDialog-title='{lang="content_template_add_template_js_title""}'>{lang="content_template_add_template_js"}</a></li>
|
||||
</ul>
|
||||
<div class='ipsAreaBackground_reset'>
|
||||
<ul class='ipsTabs ipsClearfix' id='elTemplateEditor_typeTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_fileList' data-ipsTabBar-updateURL='false'>
|
||||
<li><a href='{url="app=cms&module=pages&controller=templates&do=manage&t_type=templates"}' class='ipsTabs_item {{if $current->type == 'templates'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=cms&module=pages&controller=ajax&do=loadMenu&t_type=templates"}' data-type='templates'>{lang="theme_html"}</a></li>
|
||||
<li><a href='{url="app=cms&module=pages&controller=templates&do=manage&t_type=css"}' class='ipsTabs_item {{if $current->type == 'css'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=cms&module=pages&controller=ajax&do=loadMenu&t_type=css"}' data-type='css'>{lang="theme_css"}</a></li>
|
||||
<li><a href='{url="app=cms&module=pages&controller=templates&do=manage&t_type=js"}' class='ipsTabs_item {{if $current->type == 'js'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=cms&module=pages&controller=ajax&do=loadMenu&t_type=js"}' data-type='css'>{lang="theme_js"}</a></li>
|
||||
</ul>
|
||||
<div class='ipsTabs ipsClearfix ipsTabs_stretch acpFormTabBar' id='elTemplateEditor_typeTabs' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_fileList' data-ipsTabBar-updateURL='false'>
|
||||
<ul role="tablist">
|
||||
<li><a href='{url="app=cms&module=pages&controller=templates&do=manage&t_type=templates"}' class='ipsTabs_item ipsType_center {{if $current->type == 'templates'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=cms&module=pages&controller=ajax&do=loadMenu&t_type=templates"}' data-type='templates'>{lang="theme_html"}</a></li>
|
||||
<li><a href='{url="app=cms&module=pages&controller=templates&do=manage&t_type=css"}' class='ipsTabs_item ipsType_center {{if $current->type == 'css'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=cms&module=pages&controller=ajax&do=loadMenu&t_type=css"}' data-type='css'>{lang="theme_css"}</a></li>
|
||||
<li><a href='{url="app=cms&module=pages&controller=templates&do=manage&t_type=js"}' class='ipsTabs_item ipsType_center {{if $current->type == 'js'}}ipsTabs_activeItem{{endif}}' data-tabURL='{url="app=cms&module=pages&controller=ajax&do=loadMenu&t_type=js"}' data-type='css'>{lang="theme_js"}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<section id='elTemplateEditor_fileList'>
|
||||
{template="menu" params="$templates, $current, $request" app="cms" location="admin" group="templates"}
|
||||
</section>
|
||||
@@ -597,7 +742,7 @@
|
||||
<br>
|
||||
<div id='elTemplateEditor_outerPanelWrap'>
|
||||
<div id='elTemplateEditor_panelWrap'>
|
||||
<ul id='elTemplateEditor_tabbar' class='ipsTabs ipsClearfix' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_panels'>
|
||||
<ul id='elTemplateEditor_tabbar' class='ipsTabs ipsClearfix acpFormTabBar' data-ipsTabBar data-ipsTabBar-contentArea='#elTemplateEditor_panels'>
|
||||
<li data-fileid='{$current->key}' data-type="{$current->type}" data-location='{$current->location}' data-group="{$current->group}">
|
||||
<a href='#' class='ipsTabs_item' id='tab_{$current->key}'>{$current->title} <span data-action='closeTab'><i class='fa fa-times'></i></span></a>
|
||||
</li>
|
||||
@@ -661,7 +806,6 @@
|
||||
<template template_group="widgets" template_name="Categories" template_data="$url" template_location="front" template_app="cms"><![CDATA[{{$catClass = '\IPS\cms\Categories' . \IPS\cms\Databases\Dispatcher::i()->databaseId;}}
|
||||
{{$categories = $catClass::roots();}}
|
||||
{{if !empty( $categories )}}
|
||||
<div class='ipsBox'>
|
||||
<h3 class='ipsWidget_title ipsType_reset'>{lang="categories"}</h3>
|
||||
<div class='ipsSideMenu ipsAreaBackground_reset ipsPad_half'>
|
||||
<ul class='ipsSideMenu_list'>
|
||||
@@ -689,7 +833,6 @@
|
||||
<a href='{$url->setQueryString('show','categories')}' class=''>{lang="cms_show_categories"} <i class='fa fa-caret-right'></i></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
{{endif}}]]></template>
|
||||
<template template_group="widgets" template_name="Database" template_data="$database" template_location="front" template_app="cms"><![CDATA[{database="$database->id" title="$database->title"}]]></template>
|
||||
<template template_group="widgets" template_name="DatabaseFilters" template_data="$database, $category, $form, $orientation='vertical'" template_location="front" template_app="cms"><![CDATA[<h3 class='ipsWidget_title ipsType_reset'>{lang="block_DatabaseFilters_title" sprintf="$category->_title"}</h3>
|
||||
@@ -702,8 +845,8 @@
|
||||
{$content|raw}
|
||||
</div>
|
||||
]]></template>
|
||||
<template template_group="widgets" template_name="RecordFeed" template_data="$database, $records, $orientation='vertical'" template_location="front" template_app="cms"><![CDATA[{{if !empty( $records ) }}
|
||||
<h3 class='ipsWidget_title ipsType_reset'>{lang="block_latest_records" sprintf="$database->recordWord( 2, TRUE )"}</h3>
|
||||
<template template_group="widgets" template_name="RecordFeed" template_data="$records, $title, $orientation='vertical'" template_location="front" template_app="cms"><![CDATA[{{if !empty( $records ) }}
|
||||
<h3 class='ipsWidget_title ipsType_reset'>{$title}</h3>
|
||||
{{if $orientation == 'vertical'}}
|
||||
<div class='ipsPad_half ipsWidget_inner'>
|
||||
<ul class='ipsDataList ipsDataList_reducedSpacing'>
|
||||
@@ -781,24 +924,226 @@
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry .cCmsRecord_image
|
||||
{
|
||||
max-height: 200px;
|
||||
max-width: 200px;
|
||||
.cCmsCategoryFeaturedEntry .cCmsRecord_image {
|
||||
float: left;
|
||||
margin-right: 6px;
|
||||
margin-right: 15px;
|
||||
margin-top: 4px;
|
||||
border: 4px solid #e2e2e2;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry .cCmsRecord_image img {
|
||||
max-width: 200px;
|
||||
max-height: 200px;
|
||||
max-width: 190px;
|
||||
max-height: 190px;
|
||||
}
|
||||
|
||||
.ipsDataItem_meta span.ipsBadge.ipsPos_right {
|
||||
margin-left: 4px;
|
||||
float: none;
|
||||
}
|
||||
|
||||
/* 2 col */
|
||||
.cmsCategory2col .ipsType_pageTitle {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.cmsCategory2col .cmsInformation {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cmsCategory2col .cCmsRecord_image img {
|
||||
max-height: 150px;
|
||||
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;
|
||||
}
|
||||
|
||||
/* 3 col */
|
||||
.cmsCategory3col .ipsType_pageTitle {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.cmsCategory3col .cmsInformation {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.cmsCategory3col .cCmsRecord_image img {
|
||||
max-height: 100px;
|
||||
max-width: 100px;
|
||||
}
|
||||
.cmsCategory3col .cCmsCategoryFeaturedEntry
|
||||
{
|
||||
border-bottom: 0px;
|
||||
padding: 0px 0 30px 0;
|
||||
}
|
||||
|
||||
.cmsCategory3col {
|
||||
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%;
|
||||
max-width: none;
|
||||
max-height: 250px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry.cms2ColImageFeature .cCmsRecord_image img {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry.cms2ColImageFeature .ipsType_pageTitle {
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
/* 3 col featured image */
|
||||
.cCmsCategoryFeaturedEntry.cms3ColImageFeature .cCmsRecord_image {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
max-height: 150px;
|
||||
overflow: hidden;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.cCmsCategoryFeaturedEntry.cms3ColImageFeature .cCmsRecord_image img {
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
/* TABS */
|
||||
#elMedia_sidebarTabs {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#elMedia_sidebarTabs .ipsTabs_item {
|
||||
border: 0 !important;
|
||||
text-align: center;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#elMedia_sidebarTabs .ipsTabs_activeItem {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
#elMedia_sidebar {
|
||||
height: 550px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#elMedia_fileList,
|
||||
#elMedia_searchResults {
|
||||
height: 587px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
#elMedia_searchField {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.cMedia_item {
|
||||
padding: 15px 0 0;
|
||||
text-align: center;
|
||||
{prefix="transition" value="transform 0.1s ease-in-out"}
|
||||
}
|
||||
|
||||
.cMedia_item:hover {
|
||||
{prefix="transform" value="scale(1.05)"}
|
||||
}
|
||||
|
||||
.cMedia_filename {
|
||||
line-height: 22px;
|
||||
border-radius: 22px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.cMedia_item > div {
|
||||
width: 100%;
|
||||
height: 112px;
|
||||
text-align: center;
|
||||
margin: 0 auto;
|
||||
padding: 5px;
|
||||
margin-bottom: 7px;
|
||||
line-height: 100px;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.cMedia_itemImage > div > img,
|
||||
.cMedia_item > div > .ipsNoThumb {
|
||||
max-width: 100%;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
.cMedia_itemSelected > div {
|
||||
background: rgba( 84, 144, 192, 0.2 );
|
||||
border: 1px solid rgba( 84, 144, 192, 0.5 );
|
||||
box-shadow: 0px 0px 10px rgba( 84, 144, 192, 0.2 );
|
||||
}
|
||||
|
||||
.cMedia_itemSelected .cMedia_filename {
|
||||
background: #417ba3;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.cMedia_itemDisabled,
|
||||
.cMedia_treeDisabled {
|
||||
opacity: 0.3;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
/* Sidebar */
|
||||
.cMedia_preview img,
|
||||
.cMedia_preview .ipsNoThumb {
|
||||
max-width: 100%;
|
||||
max-height: 200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.cMedia_preview img {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
|
||||
/* ----- */
|
||||
.ipsMedia_preview {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ipsMedia_preview img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.ipsMedia_key input[type=text] {
|
||||
max-width: none;
|
||||
}]]></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) {
|
||||
@@ -850,8 +1195,8 @@
|
||||
float: left;
|
||||
max-width: 300px;
|
||||
max-height: 300px;
|
||||
margin-right: 8px;
|
||||
margin-bottom: 8px;
|
||||
margin-right: 30px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.cCmsRecord_image img {
|
||||
@@ -878,7 +1223,6 @@ html[dir="rtl"] #elTemplateEditor_panelToolbar {
|
||||
}
|
||||
|
||||
#elTemplateEditor .ipsTabs {
|
||||
background: #d6d6d6;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@@ -956,11 +1300,6 @@ html[dir="rtl"] #elTemplateEditor_panelToolbar {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
#elTemplateEditor [data-role="fileList"] .ipsTabs_item {
|
||||
width: 33.3%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.cTemplateList a {
|
||||
padding: 5px 0;
|
||||
display: block;
|
||||
|
||||
Reference in new issue
Block a user