Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Remove template edit functionality #110

Merged
merged 2 commits into from
May 29, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,7 @@ protected function addToolbar()

if ($canDo->get('core.admin'))
{
// Add install languages link to the lang installer component
$bar = JToolbar::getInstance('toolbar');
$bar->appendButton('Link', 'upload', 'COM_LANGUAGES_INSTALL', 'index.php?option=com_installer&view=languages');
JToolbarHelper::divider();

JToolbarHelper::preferences('com_languages');
JToolbarHelper::preferences('com_languages');
JToolbarHelper::divider();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ protected function addToolbar()

if ($canDo->get('core.admin'))
{
// Add install languages link to the lang installer component
$bar = JToolbar::getInstance('toolbar');
$bar->appendButton('Link', 'upload', 'COM_LANGUAGES_INSTALL', 'index.php?option=com_installer&view=languages');
JToolbarHelper::divider();

JToolbarHelper::preferences('com_languages');
JToolbarHelper::divider();
}
Expand Down
45 changes: 0 additions & 45 deletions administrator/components/com_templates/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,51 +16,6 @@
<option value="0">JDISABLED</option>
</field>

<field
name="upload_limit" type="text"
label="COM_TEMPLATES_CONFIG_UPLOAD_LABEL"
description="COM_TEMPLATES_CONFIG_UPLOAD_DESC"
default="2"
extension="com_templates"
/>

<field
name="warning" type="note"
label="COM_TEMPLATES_CONFIG_SUPPORTED_LABEL"
description="COM_TEMPLATES_CONFIG_SUPPORTED_DESC"
default="zip"
extension="com_templates"
/>

<field
name="image_formats" type="text"
label="COM_TEMPLATES_CONFIG_IMAGE_LABEL"
description="COM_TEMPLATES_CONFIG_IMAGE_DESC"
default="gif,bmp,jpg,jpeg"
extension="com_templates"
/>

<field
name="source_formats" type="text"
label="COM_TEMPLATES_CONFIG_SOURCE_LABEL"
description="COM_TEMPLATES_CONFIG_SOURCE_DESC"
default="txt,less,ini,xml,js,php,css"
extension="com_templates"
/>

<field
name="font_formats" type="text"
label="COM_TEMPLATES_CONFIG_FONT_LABEL"
description="COM_TEMPLATES_CONFIG_FONT_DESC"
default="woff,ttf,otf"
extension="com_templates"
/>

<field
name="compressed_formats" type="hidden"
default="zip"
extension="com_templates"
/>
</fieldset>

<fieldset
Expand Down
Loading