mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 03:30:48 +03:00
fix #819
This commit is contained in:
parent
34de88cb7f
commit
7d4842e8bf
|
@ -241,7 +241,7 @@ class ModuleBlog_EntityBlog extends Entity
|
||||||
if ($sPath = $this->getAvatar()) {
|
if ($sPath = $this->getAvatar()) {
|
||||||
return $this->Media_GetImageWebPath($sPath, $iSize);
|
return $this->Media_GetImageWebPath($sPath, $iSize);
|
||||||
} else {
|
} 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -486,7 +486,7 @@ class ModuleUser_EntityUser extends Entity
|
||||||
if ($this->getProfileAvatar()) {
|
if ($this->getProfileAvatar()) {
|
||||||
return $this->Media_GetImageWebPath($this->getProfileAvatar(), $iSize);
|
return $this->Media_GetImageWebPath($this->getProfileAvatar(), $iSize);
|
||||||
} else {
|
} 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);
|
$iSize);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -528,7 +528,7 @@ class ModuleUser_EntityUser extends Entity
|
||||||
*/
|
*/
|
||||||
public function getProfileFotoDefault()
|
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';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
{* Участники диалога *}
|
{* Участники диалога *}
|
||||||
{if $usersCount > 2}
|
{if $usersCount > 2}
|
||||||
<a href="{router page='talk'}read/{$talk->getId()}/" class="talk-list-item-info-avatar">
|
<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>
|
</a>
|
||||||
|
|
||||||
{lang name='talk.participants' count=$usersCount plural=true}
|
{lang name='talk.participants' count=$usersCount plural=true}
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
{* Участники диалога *}
|
{* Участники диалога *}
|
||||||
{if $usersCount > 2}
|
{if $usersCount > 2}
|
||||||
<a href="{router page='talk'}read/{$talk->getId()}/" class="talk-list-item-info-avatar">
|
<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>
|
</a>
|
||||||
|
|
||||||
{lang name='talk.participants' count=$usersCount plural=true}
|
{lang name='talk.participants' count=$usersCount plural=true}
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block 'layout_head_styles' append}
|
{block 'layout_head_styles' append}
|
||||||
<link href="http://fonts.googleapis.com/css?family=PT+Sans:400,700&subset=latin,cyrillic" rel="stylesheet" type="text/css">
|
<link href="//fonts.googleapis.com/css?family=PT+Sans:400,700&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')}" />
|
<link rel="search" type="application/opensearchdescription+xml" href="{router page='search'}opensearch/" title="{Config::Get('view.name')}" />
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
@ -200,7 +200,7 @@
|
||||||
{hook run='copyright'}
|
{hook run='copyright'}
|
||||||
|
|
||||||
<div class="layout-footer-design-by">
|
<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>
|
Design by <a href="http://xeoart.com">xeoart</a>
|
||||||
<div>2012</div>
|
<div>2012</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>Установка LiveStreet <?php echo VERSION; ?></title>
|
<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/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/helpers.css"/>
|
||||||
<link rel="stylesheet" type="text/css" href="./frontend/template/assets/css/button.css"/>
|
<link rel="stylesheet" type="text/css" href="./frontend/template/assets/css/button.css"/>
|
||||||
|
|
Loading…
Reference in a new issue