1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-16 14:50:48 +03:00
This commit is contained in:
Mzhelskiy Maxim 2017-01-30 11:35:05 +07:00
parent 34de88cb7f
commit 7d4842e8bf
6 changed files with 8 additions and 8 deletions

View file

@ -241,7 +241,7 @@ class ModuleBlog_EntityBlog extends Entity
if ($sPath = $this->getAvatar()) {
return $this->Media_GetImageWebPath($sPath, $iSize);
} else {
return $this->Media_GetImagePathBySize(Config::Get('path.skin.assets.web') . '/images/avatars/avatar_blog.png', $iSize);
return $this->Media_GetImagePathBySize(Router::GetFixPathWeb(Config::Get('path.skin.assets.web')) . '/images/avatars/avatar_blog.png', $iSize);
}
}

View file

@ -486,7 +486,7 @@ class ModuleUser_EntityUser extends Entity
if ($this->getProfileAvatar()) {
return $this->Media_GetImageWebPath($this->getProfileAvatar(), $iSize);
} else {
return $this->Media_GetImagePathBySize(Config::Get('path.skin.assets.web') . '/images/avatars/avatar_' . ($this->getProfileSex() == 'woman' ? 'female' : 'male') . '.png',
return $this->Media_GetImagePathBySize(Router::GetFixPathWeb(Config::Get('path.skin.assets.web')) . '/images/avatars/avatar_' . ($this->getProfileSex() == 'woman' ? 'female' : 'male') . '.png',
$iSize);
}
}
@ -528,7 +528,7 @@ class ModuleUser_EntityUser extends Entity
*/
public function getProfileFotoDefault()
{
return Config::Get('path.skin.assets.web') . '/images/avatars/user_photo_' . ($this->getProfileSex() == 'woman' ? 'female' : 'male') . '.png';
return Router::GetFixPathWeb(Config::Get('path.skin.assets.web')) . '/images/avatars/user_photo_' . ($this->getProfileSex() == 'woman' ? 'female' : 'male') . '.png';
}
/**

View file

@ -71,7 +71,7 @@
{* Участники диалога *}
{if $usersCount > 2}
<a href="{router page='talk'}read/{$talk->getId()}/" class="talk-list-item-info-avatar">
<img src="{Config::Get('path.skin.web')}/assets/images/avatars/avatar_male_64x64crop.png" />
<img src="{cfg name='path.skin.web'}/assets/images/avatars/avatar_male_64x64crop.png" />
</a>
{lang name='talk.participants' count=$usersCount plural=true}

View file

@ -71,7 +71,7 @@
{* Участники диалога *}
{if $usersCount > 2}
<a href="{router page='talk'}read/{$talk->getId()}/" class="talk-list-item-info-avatar">
<img src="{Config::Get('path.skin.web')}/assets/images/avatars/group_64x64.png" />
<img src="{cfg name='path.skin.web'}/assets/images/avatars/group_64x64.png" />
</a>
{lang name='talk.participants' count=$usersCount plural=true}

View file

@ -15,7 +15,7 @@
{/block}
{block 'layout_head_styles' append}
<link href="http://fonts.googleapis.com/css?family=PT+Sans:400,700&amp;subset=latin,cyrillic" rel="stylesheet" type="text/css">
<link href="//fonts.googleapis.com/css?family=PT+Sans:400,700&amp;subset=latin,cyrillic" rel="stylesheet" type="text/css">
<link rel="search" type="application/opensearchdescription+xml" href="{router page='search'}opensearch/" title="{Config::Get('view.name')}" />
{/block}
@ -200,7 +200,7 @@
{hook run='copyright'}
<div class="layout-footer-design-by">
<img src="{cfg name='path.static.skin'}/assets/images/xeoart.png" alt="xeoart" />
<img src="{cfg name='path.skin.assets.web'}/images/xeoart.png" alt="xeoart" />
Design by <a href="http://xeoart.com">xeoart</a>
<div>2012</div>
</div>

View file

@ -5,7 +5,7 @@
<meta charset="UTF-8">
<title>Установка LiveStreet <?php echo VERSION; ?></title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=cyrillic,latin' rel='stylesheet' type='text/css'>
<link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=cyrillic,latin' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="./frontend/template/assets/css/reset.css"/>
<link rel="stylesheet" type="text/css" href="./frontend/template/assets/css/helpers.css"/>
<link rel="stylesheet" type="text/css" href="./frontend/template/assets/css/button.css"/>