summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-11 18:59:01 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-11 19:00:32 +0200
commit99790d68058b56e4a1faa0bba401287e5aa9eab1 (patch)
tree644f70c614bb64c0683879b2309605b39072df15 /apps
parentef5e253bf54fb3ec9f12d4d208fee18db05b16fe (diff)
downloadnextcloud-server-99790d68058b56e4a1faa0bba401287e5aa9eab1.tar.gz
nextcloud-server-99790d68058b56e4a1faa0bba401287e5aa9eab1.zip
lots of image changes, use svg EVERYWHERE POSSIBLE
Diffstat (limited to 'apps')
-rw-r--r--apps/contacts/appinfo/app.php2
-rw-r--r--apps/contacts/img/icon.pngbin741 -> 0 bytes
-rw-r--r--apps/contacts/templates/part.details.php4
-rw-r--r--apps/contacts/templates/part.property.php20
-rw-r--r--apps/media/appinfo/app.php2
-rw-r--r--apps/media/img/media.pngbin562 -> 0 bytes
6 files changed, 14 insertions, 14 deletions
diff --git a/apps/contacts/appinfo/app.php b/apps/contacts/appinfo/app.php
index 30aa0e1aaa1..4fbbd9c638c 100644
--- a/apps/contacts/appinfo/app.php
+++ b/apps/contacts/appinfo/app.php
@@ -14,5 +14,5 @@ OC_App::addNavigationEntry( array(
'id' => 'contacts_index',
'order' => 10,
'href' => OC_Helper::linkTo( 'contacts', 'index.php' ),
- 'icon' => OC_Helper::imagePath( 'contacts', 'icon.png' ),
+ 'icon' => OC_Helper::imagePath( 'admin', 'users.svg' ),
'name' => 'Contacts' ));
diff --git a/apps/contacts/img/icon.png b/apps/contacts/img/icon.png
deleted file mode 100644
index ea2ed9e3335..00000000000
--- a/apps/contacts/img/icon.png
+++ /dev/null
Binary files differ
diff --git a/apps/contacts/templates/part.details.php b/apps/contacts/templates/part.details.php
index e463459e78c..4277357b759 100644
--- a/apps/contacts/templates/part.details.php
+++ b/apps/contacts/templates/part.details.php
@@ -24,6 +24,6 @@
<?php endforeach; ?>
<div id="contacts_cardoptions">
- <a id="contacts_deletecard"><img src="../../core/img/actions/delete.png"></a>
- <a id="contacts_addproperty"><img src="../../core/img/actions/download.png"></a>
+ <a id="contacts_deletecard"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></a>
+ <a id="contacts_addproperty"><img class="svg" src="<?php echo image_path('', 'actions/download.svg'); ?>" /></a>
</div>
diff --git a/apps/contacts/templates/part.property.php b/apps/contacts/templates/part.property.php
index 1611e54b65f..06587269202 100644
--- a/apps/contacts/templates/part.property.php
+++ b/apps/contacts/templates/part.property.php
@@ -3,27 +3,27 @@
<div class="contacts_propertyname"><?php echo $l->t('Name'); ?></div>
<div class="contacts_propertyvalue">
<?php echo $_['property']['value']; ?>
- <span style="display:none;" data-use="edit"><img src="../../core/img/actions/rename.png"></span>
+ <span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
</div>
<?php elseif($_['property']['name'] == 'BDAY'): ?>
<div class="contacts_propertyname"><?php echo $l->t('Birthday'); ?></div>
<div class="contacts_propertyvalue">
<?php echo $l->l('date',new DateTime($_['property']['value'])); ?>
- <span style="display:none;" data-use="delete"><img src="../../core/img/actions/delete.png"></span>
+ <span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
</div>
<?php elseif($_['property']['name'] == 'ORG'): ?>
<div class="contacts_propertyname"><?php echo $l->t('Organisation'); ?></div>
<div class="contacts_propertyvalue">
<?php echo $_['property']['value']; ?>
- <span style="display:none;" data-use="edit"><img src="../../core/img/actions/rename.png"></span>
- <span style="display:none;" data-use="delete"><img src="../../core/img/actions/delete.png"></span>
+ <span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
+ <span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
</div>
<?php elseif($_['property']['name'] == 'EMAIL'): ?>
<div class="contacts_propertyname"><?php echo $l->t('Email'); ?></div>
<div class="contacts_propertyvalue">
<?php echo $_['property']['value']; ?>
- <span style="display:none;" data-use="edit"><img src="../../core/img/actions/rename.png"></span>
- <span style="display:none;" data-use="delete"><img src="../../core/img/actions/delete.png"></span>
+ <span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
+ <span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
</div>
<?php elseif($_['property']['name'] == 'TEL'): ?>
<div class="contacts_propertyname"><?php echo $l->t('Telephone'); ?></div>
@@ -32,8 +32,8 @@
<?php if(isset($_['property']['parameters']['TYPE'])): ?>
(<?php echo $l->t('tel_'.strtolower($_['property']['parameters']['TYPE'])); ?>)
<?php endif; ?>
- <span style="display:none;" data-use="edit"><img src="../../core/img/actions/rename.png"></span>
- <span style="display:none;" data-use="delete"><img src="../../core/img/actions/delete.png"></span>
+ <span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
+ <span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
</div>
<?php elseif($_['property']['name'] == 'ADR'): ?>
<div class="contacts_propertyname">
@@ -51,8 +51,8 @@
<?php echo $l->t('Region'); ?> <?php echo $_['property']['value'][4]; ?><br>
<?php echo $l->t('Postal Code'); ?> <?php echo $_['property']['value'][5]; ?><br>
<?php echo $l->t('Country'); ?> <?php echo $_['property']['value'][6]; ?>
- <span style="display:none;" data-use="edit"><img src="../../core/img/actions/rename.png"></span>
- <span style="display:none;" data-use="delete"><img src="../../core/img/actions/delete.png"></span>
+ <span style="display:none;" data-use="edit"><img class="svg" src="<?php echo image_path('', 'actions/rename.svg'); ?>" /></span>
+ <span style="display:none;" data-use="delete"><img class="svg" src="<?php echo image_path('', 'actions/delete.svg'); ?>" /></span>
</div>
<?php endif; ?>
</div>
diff --git a/apps/media/appinfo/app.php b/apps/media/appinfo/app.php
index ebd360eccb3..0d36217bd4d 100644
--- a/apps/media/appinfo/app.php
+++ b/apps/media/appinfo/app.php
@@ -28,5 +28,5 @@ OC_Util::addScript('media','loader');
OC_App::register( array( 'order' => 3, 'id' => 'media', 'name' => 'Media' ));
-OC_App::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo( 'media', 'index.php' ), 'icon' => OC_Helper::imagePath( 'media', 'media.png' ), 'name' => $l->t('Music') ));
+OC_App::addNavigationEntry( array( 'id' => 'media_index', 'order' => 2, 'href' => OC_Helper::linkTo( 'media', 'index.php' ), 'icon' => OC_Helper::imagePath( 'core', 'filetypes/audio.svg' ), 'name' => $l->t('Music') ));
?>
diff --git a/apps/media/img/media.png b/apps/media/img/media.png
deleted file mode 100644
index 6333b947f07..00000000000
--- a/apps/media/img/media.png
+++ /dev/null
Binary files differ