Skip to content

Commit

Permalink
Мелкие правки в Default-шаблоне
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsite committed Jan 31, 2019
1 parent 6b87fd1 commit 3c843dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application/maxsite/templates/default/info.php
Expand Up @@ -8,7 +8,7 @@
$info = array(
'name' => 'Default',
'description' => t('Шаблон для MaxSite CMS'),
'version' => '2018.12',
'version' => '2019.01',
'author' => 'MAX',
'template_url' => 'http://max-3000.com/',
'author_url' => 'http://maxsite.org/',
Expand Down
Expand Up @@ -8,7 +8,7 @@

if ($thumb = thumb_generate($p->meta_val('image_for_page'), $_width, $_height))
{
$p->thumb = '<img class="w100 w400px-max" src="' . $thumb . '" alt="' . htmlspecialchars($p->val('page_title')) . '">';
$p->thumb = '<img class="w100" src="' . $thumb . '" alt="' . htmlspecialchars($p->val('page_title')) . '">';

$p->thumb = '<a class="my-hover-img" href="' . $p->page_url() . '">' . $p->thumb . '<div></div></a>';
}
Expand All @@ -30,11 +30,11 @@

$p->div_start('flex flex-wrap-phone bor1 bor-dotted-b bor-gray400 pad30-b mar10-t');

$p->div_start('flex-grow1 w400px pad5-t t-center-phone mar10-b');
$p->div_start('w30 w40-tablet w100-phone pad5-t t-center-phone mar10-b');
$p->line('[thumb]');
$p->div_end('');

$p->div_start('flex-grow5 pad30-l pad0-phone');
$p->div_start('w70 w60-tablet w100-phone pad30-l pad0-phone');
$p->line('[title]');
$p->content_chars(180, '', '<p class="mar10-tb">', '...</p>');
$p->line('<div class="mar10-t clearfix">[cat][date]</div>');
Expand Down

0 comments on commit 3c843dd

Please sign in to comment.