moved skins/icon to assets/common/images/icons

This commit is contained in:
Florian BLOUET
2015-11-17 16:32:35 +01:00
parent f186091823
commit 0e97e4a0ae
368 changed files with 291 additions and 291 deletions

View File

@@ -37,7 +37,7 @@ class DataboxesController extends Controller
foreach ($sbasIds as $sbasId) { foreach ($sbasIds as $sbasId) {
$sbas[$sbasId] = [ $sbas[$sbasId] = [
'version' => 'unknown', 'version' => 'unknown',
'image' => '/skins/icons/db-remove.png', 'image' => '/assets/common/images/icons/db-remove.png',
'server_info' => '', 'server_info' => '',
'name' => $this->app->trans('Unreachable server') 'name' => $this->app->trans('Unreachable server')
]; ];
@@ -49,7 +49,7 @@ class DataboxesController extends Controller
$pdoConnection = $databox->get_connection()->getWrappedConnection(); $pdoConnection = $databox->get_connection()->getWrappedConnection();
$sbas[$sbasId] = [ $sbas[$sbasId] = [
'version' => $databox->get_version(), 'version' => $databox->get_version(),
'image' => '/skins/icons/foldph20close_0.gif', 'image' => '/assets/common/images/icons/foldph20close_0.gif',
'server_info' => $pdoConnection->getAttribute(\PDO::ATTR_SERVER_VERSION), 'server_info' => $pdoConnection->getAttribute(\PDO::ATTR_SERVER_VERSION),
'name' => \phrasea::sbas_labels($sbasId, $this->app) 'name' => \phrasea::sbas_labels($sbasId, $this->app)
]; ];

View File

@@ -138,7 +138,7 @@ class QueryController extends Controller
$explain = "<div id=\"explainResults\" class=\"myexplain\">"; $explain = "<div id=\"explainResults\" class=\"myexplain\">";
$explain .= "<img src=\"/skins/icons/answers.gif\" /><span><b>"; $explain .= "<img src=\"/assets/common/images/icons/answers.gif\" /><span><b>";
if ($result->getTotal() != $result->getAvailable()) { if ($result->getTotal() != $result->getAvailable()) {
$explain .= $this->app->trans('reponses:: %available% Resultats rappatries sur un total de %total% trouves', ['available' => $result->getAvailable(), '%total%' => $result->getTotal()]); $explain .= $this->app->trans('reponses:: %available% Resultats rappatries sur un total de %total% trouves', ['available' => $result->getAvailable(), '%total%' => $result->getTotal()]);

View File

@@ -843,7 +843,7 @@ class ArchiveJob extends AbstractJob
if (!($rep = $node->getAttribute('grp_representation'))) { if (!($rep = $node->getAttribute('grp_representation'))) {
try { try {
$app['filesystem']->copy($app['root.path'] . '/www/skins/icons/substitution/regroup_doc.png', $genericdoc = ($path . '/group.jpg'), true); $app['filesystem']->copy($app['root.path'] . '/www/assets/common/images/icons/substitution/regroup_doc.png', $genericdoc = ($path . '/group.jpg'), true);
} catch (IOException $e) { } catch (IOException $e) {
$this->log('debug', $e->getMessage()); $this->log('debug', $e->getMessage());
} }

View File

@@ -187,7 +187,7 @@ class PhraseanetExtension extends \Twig_Extension
{ {
$src = $title = ''; $src = $title = '';
if ($record->isStory()) { if ($record->isStory()) {
$src = '/skins/icons/icon_story.gif'; $src = '/assets/common/images/icons/icon_story.gif';
$title = $this->app['translator']->trans('reportage'); $title = $this->app['translator']->trans('reportage');
return sprintf('<img src="%s" title="%s" />', $src, $title); return sprintf('<img src="%s" title="%s" />', $src, $title);
@@ -195,23 +195,23 @@ class PhraseanetExtension extends \Twig_Extension
switch ($record->getType()) { switch ($record->getType()) {
case 'image': case 'image':
$src = '/skins/icons/icon_image.png'; $src = '/assets/common/images/icons/icon_image.png';
$title = $this->app['translator']->trans('image'); $title = $this->app['translator']->trans('image');
break; break;
case 'document': case 'document':
$src = '/skins/icons/icon_document.png'; $src = '/assets/common/images/icons/icon_document.png';
$title = $this->app['translator']->trans('document'); $title = $this->app['translator']->trans('document');
break; break;
case 'video': case 'video':
$src = '/skins/icons/icon_video.png'; $src = '/assets/common/images/icons/icon_video.png';
$title = $this->app['translator']->trans('reportage'); $title = $this->app['translator']->trans('reportage');
break; break;
case 'audio': case 'audio':
$src = '/skins/icons/icon_audio.png'; $src = '/assets/common/images/icons/icon_audio.png';
$title = $this->app['translator']->trans('audio'); $title = $this->app['translator']->trans('audio');
break; break;
case 'flash': case 'flash':
$src = '/skins/icons/icon_flash.png'; $src = '/assets/common/images/icons/icon_flash.png';
$title = $this->app['translator']->trans('flash'); $title = $this->app['translator']->trans('flash');
break; break;
} }
@@ -249,7 +249,7 @@ class PhraseanetExtension extends \Twig_Extension
} }
} }
$path = sprintf('/skins/icons/substitution/%s.png', $path = sprintf('/assets/common/images/icons/substitution/%s.png',
str_replace('/', '_', $record->getMimeType()) str_replace('/', '_', $record->getMimeType())
); );

View File

@@ -108,7 +108,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
*/ */
public function get_icon_url() public function get_icon_url()
{ {
return '/skins/icons/dailymotion-small.gif'; return '/assets/common/images/icons/dailymotion-small.gif';
} }
/** /**
@@ -117,7 +117,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
*/ */
public function get_image_url() public function get_image_url()
{ {
return '/skins/icons/dailymotion-logo.png'; return '/assets/common/images/icons/dailymotion-logo.png';
} }
/** /**

View File

@@ -90,7 +90,7 @@ class Bridge_Api_Flickr extends Bridge_Api_Abstract implements Bridge_Api_Interf
*/ */
public function get_icon_url() public function get_icon_url()
{ {
return '/skins/icons/flickr-small.gif'; return '/assets/common/images/icons/flickr-small.gif';
} }
/** /**
@@ -99,7 +99,7 @@ class Bridge_Api_Flickr extends Bridge_Api_Abstract implements Bridge_Api_Interf
*/ */
public function get_image_url() public function get_image_url()
{ {
return '/skins/icons/flickr.gif'; return '/assets/common/images/icons/flickr.gif';
} }
/** /**

View File

@@ -93,7 +93,7 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
*/ */
public function get_icon_url() public function get_icon_url()
{ {
return '/skins/icons/youtube-small.gif'; return '/assets/common/images/icons/youtube-small.gif';
} }
/** /**
@@ -102,7 +102,7 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
*/ */
public function get_image_url() public function get_image_url()
{ {
return '/skins/icons/youtube-white.gif'; return '/assets/common/images/icons/youtube-white.gif';
} }
/** /**

View File

@@ -19,7 +19,7 @@ class eventsmanager_notify_autoregister extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/user.png'; return '/assets/common/images/icons/user.png';
} }
/** /**

View File

@@ -19,7 +19,7 @@ class eventsmanager_notify_bridgeuploadfail extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/user.png'; return '/assets/common/images/icons/user.png';
} }
/** /**

View File

@@ -22,7 +22,7 @@ class eventsmanager_notify_downloadmailfail extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/user.png'; return '/assets/common/images/icons/user.png';
} }
/** /**

View File

@@ -19,7 +19,7 @@ class eventsmanager_notify_feed extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/rss16.png'; return '/assets/common/images/icons/rss16.png';
} }
/** /**

View File

@@ -19,7 +19,7 @@ class eventsmanager_notify_order extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/user.png'; return '/assets/common/images/icons/user.png';
} }
/** /**

View File

@@ -19,7 +19,7 @@ class eventsmanager_notify_push extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/push16.png'; return '/assets/common/images/icons/push16.png';
} }
/** /**

View File

@@ -19,7 +19,7 @@ class eventsmanager_notify_register extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/user.png'; return '/assets/common/images/icons/user.png';
} }
/** /**

View File

@@ -26,7 +26,7 @@ class eventsmanager_notify_validate extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/push16.png'; return '/assets/common/images/icons/push16.png';
} }
/** /**

View File

@@ -26,7 +26,7 @@ class eventsmanager_notify_validationdone extends eventsmanager_notifyAbstract
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/push16.png'; return '/assets/common/images/icons/push16.png';
} }
/** /**

View File

@@ -26,7 +26,7 @@ class eventsmanager_notify_validationreminder extends eventsmanager_notifyAbstra
*/ */
public function icon_url() public function icon_url()
{ {
return '/skins/icons/push16.png'; return '/assets/common/images/icons/push16.png';
} }
/** /**

View File

@@ -280,9 +280,9 @@ class media_subdef extends media_abstract implements cache_cacheableInterface
$this->mime = 'image/png'; $this->mime = 'image/png';
$this->width = 256; $this->width = 256;
$this->height = 256; $this->height = 256;
$this->path = $this->app['root.path'] . '/www/skins/icons/substitution/'; $this->path = $this->app['root.path'] . '/www/assets/common/images/icons/substitution/';
$this->file = 'regroup_thumb.png'; $this->file = 'regroup_thumb.png';
$this->url = Url::factory('/skins/icons/substitution/regroup_thumb.png'); $this->url = Url::factory('/assets/common/images/icons/substitution/regroup_thumb.png');
} else { } else {
$mime = $this->record->get_mime(); $mime = $this->record->get_mime();
$mime = trim($mime) != '' ? str_replace('/', '_', $mime) : 'application_octet-stream'; $mime = trim($mime) != '' ? str_replace('/', '_', $mime) : 'application_octet-stream';
@@ -290,17 +290,17 @@ class media_subdef extends media_abstract implements cache_cacheableInterface
$this->mime = 'image/png'; $this->mime = 'image/png';
$this->width = 256; $this->width = 256;
$this->height = 256; $this->height = 256;
$this->path = $this->app['root.path'] . '/www/skins/icons/substitution/'; $this->path = $this->app['root.path'] . '/www/assets/common/images/icons/substitution/';
$this->file = str_replace('+', '%20', $mime) . '.png'; $this->file = str_replace('+', '%20', $mime) . '.png';
$this->url = Url::factory('/skins/icons/substitution/' . $this->file); $this->url = Url::factory('/assets/common/images/icons/substitution/' . $this->file);
} }
$this->is_physically_present = false; $this->is_physically_present = false;
if ( ! file_exists($this->path . $this->file)) { if ( ! file_exists($this->path . $this->file)) {
$this->path = $this->app['root.path'] . '/www/skins/icons/'; $this->path = $this->app['root.path'] . '/www/assets/common/images/icons/';
$this->file = 'substitution.png'; $this->file = 'substitution.png';
$this->url = Url::factory('/skins/icons/' . $this->file); $this->url = Url::factory('/assets/common/images/icons/' . $this->file);
} }
return $this; return $this;

View File

@@ -835,7 +835,7 @@ form[name=registerForm] .multiselect-group {
} }
.geocompleter-input.input-loading { .geocompleter-input.input-loading {
background: url('/skins/icons/loader-black.gif') $black center right no-repeat; background: url('/assets/common/images/icons/loader-black.gif') $black center right no-repeat;
} }
/** IE Fixes */ /** IE Fixes */

View File

@@ -1,5 +1,5 @@
$fontAwesomePath: "../../common/font"; // dist path $fontAwesomePath: "../../common/font"; // dist path
$iconsPath: '../../../skins/icons/'; $iconsPath: '../../../assets/common/images/icons/';
@import '../../../../www/bower_components/normalize-css/normalize'; // not extension for inline import @import '../../../../www/bower_components/normalize-css/normalize'; // not extension for inline import
@import '../../vendors/bootstrap/bootstrap'; @import '../../vendors/bootstrap/bootstrap';
// @TODO enable importation of: @import "../../../../plugins/login.less"; // @TODO enable importation of: @import "../../../../plugins/login.less";

View File

@@ -1,5 +1,5 @@
$skinsPath: '../../../skins/'; $skinsPath: '../../../skins/';
$iconsPath: '../../../skins/icons/'; $iconsPath: '../../../assets/common/images/icons/';
@import '../../vendors/jquery.treeview/jquery.treeview'; // to inline import css file, don't put extension @import '../../vendors/jquery.treeview/jquery.treeview'; // to inline import css file, don't put extension
@import '../../../../www/bower_components/jquery-file-upload/css/jquery.fileupload-ui'; // to inline import css file, don't put extension @import '../../../../www/bower_components/jquery-file-upload/css/jquery.fileupload-ui'; // to inline import css file, don't put extension

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 903 B

After

Width:  |  Height:  |  Size: 903 B

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

Before

Width:  |  Height:  |  Size: 858 B

After

Width:  |  Height:  |  Size: 858 B

View File

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 106 B

View File

Before

Width:  |  Height:  |  Size: 601 B

After

Width:  |  Height:  |  Size: 601 B

View File

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 813 B

View File

Before

Width:  |  Height:  |  Size: 819 B

After

Width:  |  Height:  |  Size: 819 B

View File

Before

Width:  |  Height:  |  Size: 824 B

After

Width:  |  Height:  |  Size: 824 B

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 656 B

After

Width:  |  Height:  |  Size: 656 B

View File

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 182 B

View File

Before

Width:  |  Height:  |  Size: 695 B

After

Width:  |  Height:  |  Size: 695 B

View File

Before

Width:  |  Height:  |  Size: 207 B

After

Width:  |  Height:  |  Size: 207 B

View File

Before

Width:  |  Height:  |  Size: 201 B

After

Width:  |  Height:  |  Size: 201 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 165 B

View File

Before

Width:  |  Height:  |  Size: 173 B

After

Width:  |  Height:  |  Size: 173 B

View File

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 191 B

View File

Before

Width:  |  Height:  |  Size: 191 B

After

Width:  |  Height:  |  Size: 191 B

View File

Before

Width:  |  Height:  |  Size: 109 B

After

Width:  |  Height:  |  Size: 109 B

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 706 B

After

Width:  |  Height:  |  Size: 706 B

View File

Before

Width:  |  Height:  |  Size: 917 B

After

Width:  |  Height:  |  Size: 917 B

View File

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 451 B

View File

Before

Width:  |  Height:  |  Size: 77 B

After

Width:  |  Height:  |  Size: 77 B

View File

Before

Width:  |  Height:  |  Size: 85 B

After

Width:  |  Height:  |  Size: 85 B

View File

Before

Width:  |  Height:  |  Size: 94 B

After

Width:  |  Height:  |  Size: 94 B

View File

Before

Width:  |  Height:  |  Size: 101 B

After

Width:  |  Height:  |  Size: 101 B

View File

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 778 B

View File

Before

Width:  |  Height:  |  Size: 820 B

After

Width:  |  Height:  |  Size: 820 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 670 B

After

Width:  |  Height:  |  Size: 670 B

View File

Before

Width:  |  Height:  |  Size: 696 B

After

Width:  |  Height:  |  Size: 696 B

View File

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 564 B

View File

Before

Width:  |  Height:  |  Size: 64 B

After

Width:  |  Height:  |  Size: 64 B

View File

Before

Width:  |  Height:  |  Size: 168 B

After

Width:  |  Height:  |  Size: 168 B

View File

Before

Width:  |  Height:  |  Size: 92 B

After

Width:  |  Height:  |  Size: 92 B

View File

Before

Width:  |  Height:  |  Size: 942 B

After

Width:  |  Height:  |  Size: 942 B

View File

Before

Width:  |  Height:  |  Size: 778 B

After

Width:  |  Height:  |  Size: 778 B

View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

View File

Before

Width:  |  Height:  |  Size: 539 B

After

Width:  |  Height:  |  Size: 539 B

View File

Before

Width:  |  Height:  |  Size: 783 B

After

Width:  |  Height:  |  Size: 783 B

View File

Before

Width:  |  Height:  |  Size: 103 B

After

Width:  |  Height:  |  Size: 103 B

View File

Before

Width:  |  Height:  |  Size: 3.4 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

View File

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 396 B

View File

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

Before

Width:  |  Height:  |  Size: 899 B

After

Width:  |  Height:  |  Size: 899 B

View File

Before

Width:  |  Height:  |  Size: 888 B

After

Width:  |  Height:  |  Size: 888 B

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

Before

Width:  |  Height:  |  Size: 100 B

After

Width:  |  Height:  |  Size: 100 B

View File

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 489 B

View File

Before

Width:  |  Height:  |  Size: 346 B

After

Width:  |  Height:  |  Size: 346 B

View File

Before

Width:  |  Height:  |  Size: 318 B

After

Width:  |  Height:  |  Size: 318 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 632 B

After

Width:  |  Height:  |  Size: 632 B

View File

Before

Width:  |  Height:  |  Size: 56 B

After

Width:  |  Height:  |  Size: 56 B

View File

Before

Width:  |  Height:  |  Size: 54 B

After

Width:  |  Height:  |  Size: 54 B

View File

Before

Width:  |  Height:  |  Size: 111 B

After

Width:  |  Height:  |  Size: 111 B

View File

Before

Width:  |  Height:  |  Size: 335 B

After

Width:  |  Height:  |  Size: 335 B

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 635 B

After

Width:  |  Height:  |  Size: 635 B

View File

Before

Width:  |  Height:  |  Size: 630 B

After

Width:  |  Height:  |  Size: 630 B

View File

Before

Width:  |  Height:  |  Size: 55 B

After

Width:  |  Height:  |  Size: 55 B

View File

Before

Width:  |  Height:  |  Size: 847 B

After

Width:  |  Height:  |  Size: 847 B

View File

Before

Width:  |  Height:  |  Size: 97 B

After

Width:  |  Height:  |  Size: 97 B

View File

Before

Width:  |  Height:  |  Size: 166 B

After

Width:  |  Height:  |  Size: 166 B

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 595 B

After

Width:  |  Height:  |  Size: 595 B

Some files were not shown because too many files have changed in this diff Show More