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

Commit

Permalink
Merge pull request #110 from nooku/feature/102-templates
Browse files Browse the repository at this point in the history
Remove template edit functionality
  • Loading branch information
johanjanssens committed May 29, 2015
2 parents e74102c + 4ca4a11 commit 73f77d3
Show file tree
Hide file tree
Showing 15 changed files with 2 additions and 3,207 deletions.
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

0 comments on commit 73f77d3

Please sign in to comment.