33
0
mirror of https://github.com/joomla-extensions/patchtester.git synced 2024-12-22 10:58:58 +00:00

Move assets to media folder

This commit is contained in:
Michael Babker 2015-02-22 18:33:36 -05:00
parent ee8f6be6b2
commit 74ed342217
10 changed files with 16 additions and 11 deletions

View File

@ -12,7 +12,7 @@
\JHtml::_('behavior.modal'); \JHtml::_('behavior.modal');
\JHtml::_('formbehavior.chosen', 'select'); \JHtml::_('formbehavior.chosen', 'select');
\JFactory::getDocument()->addStyleSheet(\JUri::base() . '/components/com_patchtester/assets/octicons/octicons.css'); \JHtml::_('stylesheet', 'com_patchtester/octicons.css', array(), true);
$listOrder = $this->escape($this->state->get('list.ordering')); $listOrder = $this->escape($this->state->get('list.ordering'));
$listDirn = $this->escape($this->state->get('list.direction')); $listDirn = $this->escape($this->state->get('list.direction'));

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<extension type="component" version="3.1" method="upgrade"> <extension type="component" version="3.3" method="upgrade">
<name>com_patchtester</name> <name>com_patchtester</name>
<author>Joomla! Project</author> <author>Joomla! Project</author>
<creationDate>October 2011</creationDate> <creationDate>October 2011</creationDate>
@ -31,11 +31,15 @@
<schemapath type="sqlsrv">install/sql/updates/sqlsrv</schemapath> <schemapath type="sqlsrv">install/sql/updates/sqlsrv</schemapath>
</schemas> </schemas>
</update> </update>
<media destination="com_patchtester" folder="media">
<folder>css</folder>
<folder>fonts</folder>
<folder>images</folder>
</media>
<administration> <administration>
<menu img="components/com_patchtester/assets/images/icon-16-patchtester.png">com_patchtester</menu> <menu img="../media/com_patchtester/images/icon-16-patchtester.png">com_patchtester</menu>
<files folder="admin"> <files folder="admin">
<folder>PatchTester</folder> <folder>PatchTester</folder>
<folder>assets</folder>
<folder>backups</folder> <folder>backups</folder>
<folder>install</folder> <folder>install</folder>
<folder>language</folder> <folder>language</folder>

View File

@ -3,10 +3,11 @@ rm -rf ../packaging && mkdir ../packaging
rm -rf ../packages && mkdir ../packages rm -rf ../packages && mkdir ../packages
cp -r ../../administrator/components/com_patchtester ../packaging/admin cp -r ../../administrator/components/com_patchtester ../packaging/admin
cp -r ../../administrator/templates/hathor/html/com_patchtester ../packaging/hathor cp -r ../../administrator/templates/hathor/html/com_patchtester ../packaging/hathor
cp -r ../../media/com_patchtester ../packaging/media
rm -rf ../packaging/admin/backups/*.txt rm -rf ../packaging/admin/backups/*.txt
mv ../packaging/admin/patchtester.xml ../packaging/patchtester.xml mv ../packaging/admin/patchtester.xml ../packaging/patchtester.xml
mv ../packaging/admin/script.php ../packaging/script.php mv ../packaging/admin/script.php ../packaging/script.php
cd ../packaging cd ../packaging
tar jcf ../packages/com_patchtester.tar.bz2 admin/ hathor/ patchtester.xml script.php tar jcf ../packages/com_patchtester.tar.bz2 admin/ hathor/ media/ patchtester.xml script.php
tar zcf ../packages/com_patchtester.tar.gz admin/ hathor/ patchtester.xml script.php tar zcf ../packages/com_patchtester.tar.gz admin/ hathor/ media/ patchtester.xml script.php
zip -r ../packages/com_patchtester.zip admin/ hathor/ patchtester.xml script.php zip -r ../packages/com_patchtester.zip admin/ hathor/ media/ patchtester.xml script.php

View File

@ -1,9 +1,9 @@
@font-face { @font-face {
font-family: 'octicons'; font-family: 'octicons';
src: url('octicons.eot?#iefix') format('embedded-opentype'), src: url('../fonts/octicons.eot?#iefix') format('embedded-opentype'),
url('octicons.woff') format('woff'), url('../fonts/octicons.woff') format('woff'),
url('octicons.ttf') format('truetype'), url('../fonts/octicons.ttf') format('truetype'),
url('octicons.svg#octicons') format('svg'); url('../fonts/octicons.svg#octicons') format('svg');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }

View File

Before

Width:  |  Height:  |  Size: 85 KiB

After

Width:  |  Height:  |  Size: 85 KiB

View File

Before

Width:  |  Height:  |  Size: 733 B

After

Width:  |  Height:  |  Size: 733 B

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB