AntonLV 7 gadi atpakaļ
vecāks
revīzija
4da5245d55
28 mainītis faili ar 131 papildinājumiem un 48 dzēšanām
  1. 56 12
      modules/base/text/classes/BxBaseModTextTemplate.php
  2. 1 14
      modules/base/text/template/author.html
  3. 1 1
      modules/boonex/albums/install/langs/en.xml
  4. 1 1
      modules/boonex/convos/classes/BxCnvTemplate.php
  5. 1 1
      modules/boonex/directory/install/langs/en.xml
  6. 1 1
      modules/boonex/files/install/langs/en.xml
  7. 1 1
      modules/boonex/glossary/install/langs/en.xml
  8. 1 1
      modules/boonex/market/install/langs/en.xml
  9. 1 1
      modules/boonex/photos/install/langs/en.xml
  10. 1 1
      modules/boonex/polls/install/langs/en.xml
  11. 1 1
      modules/boonex/posts/install/langs/en.xml
  12. 1 1
      modules/boonex/russian/data/langs/bx_albums/ru.xml
  13. 1 1
      modules/boonex/russian/data/langs/bx_files/ru.xml
  14. 1 1
      modules/boonex/russian/data/langs/bx_glossary/ru.xml
  15. 1 1
      modules/boonex/russian/data/langs/bx_market/ru.xml
  16. 1 1
      modules/boonex/russian/data/langs/bx_photos/ru.xml
  17. 1 1
      modules/boonex/russian/data/langs/bx_polls/ru.xml
  18. 1 1
      modules/boonex/russian/data/langs/bx_posts/ru.xml
  19. 1 1
      modules/boonex/russian/data/langs/bx_shopify/ru.xml
  20. 1 1
      modules/boonex/russian/data/langs/bx_snipcart/ru.xml
  21. 1 1
      modules/boonex/russian/data/langs/bx_videos/ru.xml
  22. 1 1
      modules/boonex/shopify/install/langs/en.xml
  23. 1 1
      modules/boonex/snipcart/install/langs/en.xml
  24. 1 1
      modules/boonex/videos/install/langs/en.xml
  25. 17 0
      template/author.html
  26. 3 0
      template/author_desc.html
  27. 3 0
      template/css/default.less
  28. 29 0
      template/css/general.css

+ 56 - 12
modules/base/text/classes/BxBaseModTextTemplate.php

@@ -72,7 +72,8 @@ class BxBaseModTextTemplate extends BxBaseModGeneralTemplate
             'author_unit' => $oProfile->getUnit(0, array('template' => 'unit_wo_info')),
             'author_title' => $sName,
             'author_title_attr' => bx_html_attribute($sName),
-            'author_desc' => $sFuncAuthorDesc ? $this->$sFuncAuthorDesc($aData) : '',
+            'author_desc' => $sFuncAuthorDesc ? $this->$sFuncAuthorDesc($aData, $oProfile) : '',
+            'author_profile_desc' => $this->getAuthorProfileDesc($aData, $oProfile),
             'bx_if:addon' => array (
                 'condition' => (bool)$sAddon,
                 'content' => array (
@@ -395,34 +396,77 @@ class BxBaseModTextTemplate extends BxBaseModGeneralTemplate
         return $aVars;
     }
 
-    function getAuthorDesc ($aData)
+    function getAuthorDesc($aData, $oProfile)
     {
-        if (!($a = $this->getAuthorSnippetMenu($aData)) || !isset($a['meta']))
+        $CNF = &$this->getModule()->_oConfig->CNF;
+
+        $aItem = array(
+            'bx_if:text' => array(
+                'condition' => false,
+                'content' => array(
+                    'content' => ''
+                )
+            ),
+            'bx_if:link' => array(
+                'condition' => false,
+                'content' => array(
+                    'link' => '',
+                    'content' => ''
+                )
+            )
+        );
+
+        $aTmplVarsItems = array();
+        if(!empty($CNF['FIELD_ADDED']) && !empty($aData[$CNF['FIELD_ADDED']]))
+            $aTmplVarsItems[] = array_merge($aItem, array('bx_if:text' => array(
+                'condition' => true,
+                'content' => array(
+                    'content' => bx_time_js($aData[$CNF['FIELD_ADDED']], BX_FORMAT_DATE)
+                )
+            )));
+
+        if(!empty($CNF['URI_AUTHOR_ENTRIES']))
+            $aTmplVarsItems[] = array_merge($aItem, array('bx_if:link' => array(
+                'condition' => true,
+                'content' => array(
+                    'link' => BxDolPermalinks::getInstance()->permalink('page.php?i=' . $CNF['URI_AUTHOR_ENTRIES'] . '&profile_id=' . $oProfile->id()),
+                    'content' => _t($CNF['T']['txt_all_entries_by'], $this->getModule()->_oDb->getEntriesNumByAuthor($oProfile->id()))
+                )
+            )));
+
+        return $this->parseHtmlByName('author_desc.html', array(
+            'bx_repeat:items' => $aTmplVarsItems
+        ));
+    }
+
+    function getAuthorProfileDesc ($aData, $oProfile)
+    {
+        $aSnippetMeta = $this->getProfileSnippetMenu($aData);
+        if(empty($aSnippetMeta) || !is_array($aSnippetMeta) || !isset($aSnippetMeta['meta']))
             return '';
-        return $a['meta'];
+
+        return $aSnippetMeta['meta'];
     }
-    
+
     function getContextDesc ($aData)
     {
         return '';
     }
 
-    function getAuthorSnippetMenu ($aData)
+    function getProfileSnippetMenu ($aData)
     {
         $CNF = &$this->getModule()->_oConfig->CNF;
         if (!($oProfile = BxDolProfile::getInstance($aData[$CNF['FIELD_AUTHOR']])))
             return array();
+
         return bx_srv($oProfile->getModule(), 'get_snippet_menu_vars', array($oProfile->id()));
     }
-    
+
     function getAuthorAddon ($aData, $oProfile)
     {
-        $CNF = &$this->getModule()->_oConfig->CNF;
-        $sUrl = 'page.php?i=' . $CNF['URI_AUTHOR_ENTRIES'] . '&profile_id=' . $oProfile->id();
-        $sUrl = BxDolPermalinks::getInstance()->permalink($sUrl);
-        return _t($CNF['T']['txt_all_entries_by'], $sUrl, $oProfile->getDisplayName(), $this->getModule()->_oDb->getEntriesNumByAuthor($oProfile->id()));
+        return '';
     }
-    
+
     function getContextAddon ($aData, $oProfile)
     {
         $CNF = &$this->getModule()->_oConfig->CNF;

+ 1 - 14
modules/base/text/template/author.html

@@ -1,14 +1 @@
-<div class="sys-author bx-def-unit absolute">
-    <div class="bx-def-unit-img">__author_unit__</div>
-    <div class="bx-def-unit-info bx-def-thumb-size-min-height bx-def-thumb-size-max-height bx-def-thumb-size-left-indent">
-        <div class="bx-def-unit-info-cnt bx-def-box-sizing">
-            <div class="bx-def-unit-line"><a class="bx-def-unit-info-title" href="__author_url__" title="__author_title_attr__">__author_title__</a></div>
-            <div class="bx-def-unit-line bx-def-font-grayed bx-def-font-small">__author_desc__</div>
-        </div>
-    </div>
-</div>
-<bx_if:addon>
-    <div class="bx-def-margin-sec-top">
-        __content__
-    </div>
-</bx_if:addon>
+<bx_include_base:../../../../template/author.html />

+ 1 - 1
modules/boonex/albums/install/langs/en.xml

@@ -236,7 +236,7 @@
     <string name="_bx_albums_search_extended_cmts"><![CDATA[Albums Comments Search]]></string>
     <string name="_bx_albums_search_extended_media_cmts"><![CDATA[Images Comments Search]]></string>
 
-    <string name="_bx_albums_txt_all_entries_by"><![CDATA[<a href="{0}">All Albums by {1} ({2})</a>]]></string>
+    <string name="_bx_albums_txt_all_entries_by"><![CDATA[{0} albums]]></string>
     <string name="_bx_albums_txt_all_entries_in"><![CDATA[<a href="{0}">All Albums in {1} ({2})</a>]]></string>
     <string name="_bx_albums_txt_sample_single"><![CDATA[album]]></string>
     <string name="_bx_albums_txt_sample_single_with_article"><![CDATA[an album]]></string>

+ 1 - 1
modules/boonex/convos/classes/BxCnvTemplate.php

@@ -97,7 +97,7 @@ class BxCnvTemplate extends BxBaseModTextTemplate
         return $this->parseHtmlByName('collaborators.html', $aVars);
     }
 
-    function getAuthorDesc ($aData)
+    function getAuthorDesc ($aData, $oProfile)
     {
         $oModule = BxDolModule::getInstance($this->MODULE);
         if ($aData['last_reply_timestamp'] == $aData[$oModule->_oConfig->CNF['FIELD_ADDED']])

+ 1 - 1
modules/boonex/directory/install/langs/en.xml

@@ -348,7 +348,7 @@
 
 
     <string name="_bx_directory_txt_all_entries_in"><![CDATA[<a href="{0}">All Ads in {1} ({2})</a>]]></string>
-    <string name="_bx_directory_txt_all_entries_by"><![CDATA[<a href="{0}">All Ads by {1} ({2})</a>]]></string>
+    <string name="_bx_directory_txt_all_entries_by"><![CDATA[{0} ads]]></string>
     <string name="_bx_directory_txt_sample_single"><![CDATA[ad]]></string>
     <string name="_bx_directory_txt_sample_single_with_article"><![CDATA[an ad]]></string>
     <string name="_bx_directory_txt_sample_comment_single"><![CDATA[comment to ad]]></string>

+ 1 - 1
modules/boonex/files/install/langs/en.xml

@@ -214,7 +214,7 @@
     <string name="_bx_files_cat_archive"><![CDATA[Archive]]></string>
     <string name="_bx_files_cat_backup"><![CDATA[Backup]]></string>
 
-    <string name="_bx_files_txt_all_entries_by"><![CDATA[<a href="{0}">All Files by {1} ({2})</a>]]></string>
+    <string name="_bx_files_txt_all_entries_by"><![CDATA[{0} files]]></string>
     <string name="_bx_files_txt_all_entries_in"><![CDATA[<a href="{0}">All Files in {1} ({2})</a>]]></string>
     <string name="_bx_files_txt_preview_not_available"><![CDATA[Preview isn't available, please download this file to view it]]></string>
     <string name="_bx_files_txt_sample_single"><![CDATA[file]]></string>

+ 1 - 1
modules/boonex/glossary/install/langs/en.xml

@@ -214,7 +214,7 @@
     <string name="_bx_glossary_item_admin_status_hidden"><![CDATA[Hidden]]></string>
     <string name="_bx_glossary_item_admin_status_pending"><![CDATA[Pending]]></string>
 
-    <string name="_bx_glossary_txt_all_entries_by"><![CDATA[<a href="{0}">All Terms by {1} ({2})</a>]]></string>
+    <string name="_bx_glossary_txt_all_entries_by"><![CDATA[{0} terms]]></string>
     <string name="_bx_glossary_txt_all_entries_in"><![CDATA[<a href="{0}">All Terms in {1} ({2})</a>]]></string>
     <string name="_bx_glossary_txt_sample_single"><![CDATA[term]]></string>
     <string name="_bx_glossary_txt_sample_single_with_article"><![CDATA[a term]]></string>

+ 1 - 1
modules/boonex/market/install/langs/en.xml

@@ -412,7 +412,7 @@
 	<string name="_bx_market_err_not_accept_payments_single"><![CDATA[You need to activate at least one payment provider, which is working with Shopping Cart. You may do it via My Account menu -> Settings page -> <a href="{0}">Payments</a> tab.]]></string>
 	<string name="_bx_market_err_not_accept_payments_recurring"><![CDATA[You need to activate at least one payment provider, which is working with Subscriptions. You may do it via My Account menu -> Settings page -> <a href="{0}">Payments</a> tab.]]></string>
 
-    <string name="_bx_market_txt_all_entries_by"><![CDATA[<a href="{0}">All Products by {1} ({2})</a>]]></string>
+    <string name="_bx_market_txt_all_entries_by"><![CDATA[{0} products]]></string>
     <string name="_bx_market_txt_all_entries_in"><![CDATA[<a href="{0}">All Products in {1} ({2})</a>]]></string>
     <string name="_bx_market_txt_category"><![CDATA[Category:]]></string>
     <string name="_bx_market_txt_most_current_version"><![CDATA[The most current version]]></string>

+ 1 - 1
modules/boonex/photos/install/langs/en.xml

@@ -217,7 +217,7 @@
     <string name="_bx_photos_cat_sports"><![CDATA[Sports]]></string>
     <string name="_bx_photos_cat_travel"><![CDATA[Travel]]></string>
 
-    <string name="_bx_photos_txt_all_entries_by"><![CDATA[<a href="{0}">All Photos by {1} ({2})</a>]]></string>
+    <string name="_bx_photos_txt_all_entries_by"><![CDATA[{0} photos]]></string>
     <string name="_bx_photos_txt_all_entries_in"><![CDATA[<a href="{0}">All Photos in {1} ({2})</a>]]></string>
     <string name="_bx_photos_txt_sample_single"><![CDATA[photo]]></string>
     <string name="_bx_photos_txt_sample_single_with_article"><![CDATA[a photo]]></string>

+ 1 - 1
modules/boonex/polls/install/langs/en.xml

@@ -223,7 +223,7 @@
     <string name="_bx_polls_cat_would_you_rather"><![CDATA[Would You Rather]]></string>
     <string name="_bx_polls_cat_yes_or_no"><![CDATA[Yes or No]]></string>
 
-    <string name="_bx_polls_txt_all_entries_by"><![CDATA[<a href="{0}">All Polls by {1} ({2})</a>]]></string>
+    <string name="_bx_polls_txt_all_entries_by"><![CDATA[{0} polls]]></string>
     <string name="_bx_polls_txt_all_entries_in"><![CDATA[<a href="{0}">All Polls in {1} ({2})</a>]]></string>
     <string name="_bx_polls_txt_sample_single"><![CDATA[poll]]></string>
     <string name="_bx_polls_txt_sample_single_with_article"><![CDATA[a poll]]></string>

+ 1 - 1
modules/boonex/posts/install/langs/en.xml

@@ -273,7 +273,7 @@
     <string name="_bx_posts_cat_Womens_Fashion"><![CDATA[Women's Fashion]]></string>
 
     <string name="_bx_posts_txt_all_entries_in"><![CDATA[<a href="{0}">All Posts in {1} ({2})</a>]]></string>
-    <string name="_bx_posts_txt_all_entries_by"><![CDATA[<a href="{0}">All Posts by {1} ({2})</a>]]></string>
+    <string name="_bx_posts_txt_all_entries_by"><![CDATA[{0} posts]]></string>
     <string name="_bx_posts_txt_sample_single"><![CDATA[post]]></string>
     <string name="_bx_posts_txt_sample_single_with_article"><![CDATA[a post]]></string>
     <string name="_bx_posts_txt_sample_comment_single"><![CDATA[comment to post]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_albums/ru.xml

@@ -234,7 +234,7 @@
     <string name="_bx_albums_search_extended_cmts"><![CDATA[Поиск комментариев к альбомам]]></string>
     <string name="_bx_albums_search_extended_media_cmts"><![CDATA[Поиск комментариев к изображениям]]></string>
 
-    <string name="_bx_albums_txt_all_entries_by"><![CDATA[<a href="{0}">Все альбомы от {1} ({2})</a>]]></string>
+    <string name="_bx_albums_txt_all_entries_by"><![CDATA[{0} альбомов]]></string>
     <string name="_bx_albums_txt_all_entries_in"><![CDATA[<a href="{0}">Все альбомы в {1} ({2})</a>]]></string>
     <string name="_bx_albums_txt_sample_single"><![CDATA[альбом]]></string>
     <string name="_bx_albums_txt_sample_single_with_article"><![CDATA[альбом]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_files/ru.xml

@@ -213,7 +213,7 @@
     <string name="_bx_files_cat_archive"><![CDATA[Архив]]></string>
     <string name="_bx_files_cat_backup"><![CDATA[Резервная копия]]></string>
 
-    <string name="_bx_files_txt_all_entries_by"><![CDATA[<a href="{0}">Все файлы от пользователя {1} ({2})</a>]]></string>
+    <string name="_bx_files_txt_all_entries_by"><![CDATA[{0} файлов]]></string>
     <string name="_bx_files_txt_all_entries_in"><![CDATA[<a href="{0}">Все файлы в {1} ({2})</a>]]></string>
     <string name="_bx_files_txt_preview_not_available"><![CDATA[Предварительный просмотр недоступен, пожалуйста скачайте этот файл, чтобы его посмотреть]]></string>
     <string name="_bx_files_txt_sample_single"><![CDATA[файл]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_glossary/ru.xml

@@ -217,7 +217,7 @@
     <string name="_bx_glossary_item_admin_status_hidden"><![CDATA[Скрытый]]></string>
     <string name="_bx_glossary_item_admin_status_pending"><![CDATA[Ожидающий]]></string>   
 
-    <string name="_bx_glossary_txt_all_entries_by"><![CDATA[<a href="{0}">Все термины от {1} ({2})</a>]]></string>
+    <string name="_bx_glossary_txt_all_entries_by"><![CDATA[{0} терминов]]></string>
     <string name="_bx_glossary_txt_all_entries_in"><![CDATA[<a href="{0}">Все термины в {1} ({2})</a>]]></string>
     <string name="_bx_glossary_txt_sample_single"><![CDATA[термин]]></string>
     <string name="_bx_glossary_txt_sample_single_with_article"><![CDATA[термин]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_market/ru.xml

@@ -410,7 +410,7 @@
 	<string name="_bx_market_err_not_accept_payments_single"><![CDATA[Вам необходимо активировать хотя бы одину платежную систему, работающую с корзиной. Вы можете сделать это через меню Мой аккаунт -> страница Заказы -> <a href="{0}">вкладка Настройки</a>.]]></string>
 	<string name="_bx_market_err_not_accept_payments_recurring"><![CDATA[Вам необходимо активировать хотя бы одину платежную систему, работающую с подписками. Вы можете сделать это через меню Мой аккаунт -> страница Заказы -> <a href="{0}">вкладка Настройки</a>.]]></string>
 
-    <string name="_bx_market_txt_all_entries_by"><![CDATA[<a href="{0}">Все продукты от {1} ({2})</a>]]></string>
+    <string name="_bx_market_txt_all_entries_by"><![CDATA[{0} продуктов]]></string>
     <string name="_bx_market_txt_all_entries_in"><![CDATA[<a href="{0}">Все продукты в {1} ({2})</a>]]></string>
     <string name="_bx_market_txt_category"><![CDATA[Категория:]]></string>
     <string name="_bx_market_txt_most_current_version"><![CDATA[Самая новая версия]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_photos/ru.xml

@@ -219,7 +219,7 @@
     <string name="_bx_photos_cat_sports"><![CDATA[Спорт]]></string>
     <string name="_bx_photos_cat_travel"><![CDATA[Путешествия]]></string>
 
-    <string name="_bx_photos_txt_all_entries_by"><![CDATA[<a href="{0}">Все фото от {1} ({2})</a>]]></string>
+    <string name="_bx_photos_txt_all_entries_by"><![CDATA[{0} фото]]></string>
     <string name="_bx_photos_txt_all_entries_in"><![CDATA[<a href="{0}">Все фото в {1} ({2})</a>]]></string>
     <string name="_bx_photos_txt_sample_single"><![CDATA[фото]]></string>
     <string name="_bx_photos_txt_sample_single_with_article"><![CDATA[фото]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_polls/ru.xml

@@ -222,7 +222,7 @@
     <string name="_bx_polls_cat_would_you_rather"><![CDATA[Вы бы лучше]]></string>
     <string name="_bx_polls_cat_yes_or_no"><![CDATA[Да или нет]]></string>
 
-    <string name="_bx_polls_txt_all_entries_by"><![CDATA[<a href="{0}">Все голосования от {1} ({2})</a>]]></string>
+    <string name="_bx_polls_txt_all_entries_by"><![CDATA[{0} голосований]]></string>
     <string name="_bx_polls_txt_all_entries_in"><![CDATA[<a href="{0}">Все голосования в {1} ({2})</a>]]></string>
     <string name="_bx_polls_txt_sample_single"><![CDATA[голосование]]></string>
     <string name="_bx_polls_txt_sample_single_with_article"><![CDATA[голосование]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_posts/ru.xml

@@ -272,7 +272,7 @@
     <string name="_bx_posts_cat_Weddings"><![CDATA[Свадьба]]></string>
     <string name="_bx_posts_cat_Womens_Fashion"><![CDATA[Женская мода]]></string>
 
-    <string name="_bx_posts_txt_all_entries_by"><![CDATA[<a href="{0}">Все публикации от {1} ({2})</a>]]></string>
+    <string name="_bx_posts_txt_all_entries_by"><![CDATA[{0} публикаций]]></string>
     <string name="_bx_posts_txt_all_entries_in"><![CDATA[<a href="{0}">Все публикации в {1} ({2})</a>]]></string>
     <string name="_bx_posts_txt_sample_single"><![CDATA[публикация]]></string>
     <string name="_bx_posts_txt_sample_single_with_article"><![CDATA[публикация]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_shopify/ru.xml

@@ -232,7 +232,7 @@
     <string name="_bx_shopify_err_load_collection"><![CDATA[Невозможно загрузить коллекцию. Пожалуйста, проверьте настройки вашего магазина.]]></string>
     <string name="_bx_shopify_err_purchase_product"><![CDATA[Невозможно купить продукт.]]></string>
 
-    <string name="_bx_shopify_txt_all_entries_by"><![CDATA[<a href="{0}">Все товары от {1} ({2})</a>]]></string>
+    <string name="_bx_shopify_txt_all_entries_by"><![CDATA[{0} товаров]]></string>
     <string name="_bx_shopify_txt_all_entries_in"><![CDATA[<a href="{0}">Все альбомы в {1} ({2})</a>]]></string>
     <string name="_bx_shopify_txt_sample_single"><![CDATA[товар]]></string>
     <string name="_bx_shopify_txt_sample_single_with_article"><![CDATA[товар]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_snipcart/ru.xml

@@ -250,7 +250,7 @@
     <string name="_bx_snipcart_err_save_settings"><![CDATA[Невозможно сохранить настройки.]]></string>
     <string name="_bx_snipcart_err_not_configured"><![CDATA[Сначала вам необходимо настроить магазин. <a href="{0}">Нажмите здесь</a>.]]></string>
 
-    <string name="_bx_snipcart_txt_all_entries_by"><![CDATA[<a href="{0}">Все товары от {1} ({2})</a>]]></string>
+    <string name="_bx_snipcart_txt_all_entries_by"><![CDATA[{0} товаров]]></string>
     <string name="_bx_snipcart_txt_all_entries_in"><![CDATA[<a href="{0}">Все товары в {1} ({2})</a>]]></string>
     <string name="_bx_snipcart_txt_sample_single"><![CDATA[товар]]></string>
     <string name="_bx_snipcart_txt_sample_single_with_article"><![CDATA[товар]]></string>

+ 1 - 1
modules/boonex/russian/data/langs/bx_videos/ru.xml

@@ -214,7 +214,7 @@
     <string name="_bx_videos_cat_sports"><![CDATA[Спорт]]></string>
     <string name="_bx_videos_cat_travel"><![CDATA[Путешествия]]></string>
 
-    <string name="_bx_videos_txt_all_entries_by"><![CDATA[<a href="{0}">Все видео от {1} ({2})</a>]]></string>
+    <string name="_bx_videos_txt_all_entries_by"><![CDATA[{0} видео]]></string>
     <string name="_bx_videos_txt_all_entries_in"><![CDATA[<a href="{0}">Все видео в {1} ({2})</a>]]></string>
     <string name="_bx_videos_txt_sample_single"><![CDATA[видео]]></string>
     <string name="_bx_videos_txt_sample_single_with_article"><![CDATA[видео]]></string>

+ 1 - 1
modules/boonex/shopify/install/langs/en.xml

@@ -231,7 +231,7 @@
     <string name="_bx_shopify_err_load_collection"><![CDATA[Cannot load collection. Please check your shop settings.]]></string>
     <string name="_bx_shopify_err_purchase_product"><![CDATA[Cannot purchase the product.]]></string>
 
-    <string name="_bx_shopify_txt_all_entries_by"><![CDATA[<a href="{0}">All Goods by {1} ({2})</a>]]></string>
+    <string name="_bx_shopify_txt_all_entries_by"><![CDATA[{0} goods]]></string>
     <string name="_bx_shopify_txt_all_entries_in"><![CDATA[<a href="{0}">All Goods in {1} ({2})</a>]]></string>
     <string name="_bx_shopify_txt_sample_single"><![CDATA[shop item]]></string>
     <string name="_bx_shopify_txt_sample_single_with_article"><![CDATA[a shop item]]></string>

+ 1 - 1
modules/boonex/snipcart/install/langs/en.xml

@@ -250,7 +250,7 @@
     <string name="_bx_snipcart_err_save_settings"><![CDATA[Cannot save settings.]]></string>
     <string name="_bx_snipcart_err_not_configured"><![CDATA[You need to configure shop settings first. <a href="{0}">Click here</a>.]]></string>
 
-    <string name="_bx_snipcart_txt_all_entries_by"><![CDATA[<a href="{0}">All Goods by {1} ({2})</a>]]></string>
+    <string name="_bx_snipcart_txt_all_entries_by"><![CDATA[{0} goods]]></string>
     <string name="_bx_snipcart_txt_all_entries_in"><![CDATA[<a href="{0}">All Goods in {1} ({2})</a>]]></string>
     <string name="_bx_snipcart_txt_sample_single"><![CDATA[shop item]]></string>
     <string name="_bx_snipcart_txt_sample_single_with_article"><![CDATA[a shop item]]></string>

+ 1 - 1
modules/boonex/videos/install/langs/en.xml

@@ -214,7 +214,7 @@
     <string name="_bx_videos_cat_sports"><![CDATA[Sports]]></string>
     <string name="_bx_videos_cat_travel"><![CDATA[Travel]]></string>
 
-    <string name="_bx_videos_txt_all_entries_by"><![CDATA[<a href="{0}">All Videos by {1} ({2})</a>]]></string>
+    <string name="_bx_videos_txt_all_entries_by"><![CDATA[{0} videos]]></string>
     <string name="_bx_videos_txt_all_entries_in"><![CDATA[<a href="{0}">All Videos in {1} ({2})</a>]]></string>
     <string name="_bx_videos_txt_sample_single"><![CDATA[video]]></string>
     <string name="_bx_videos_txt_sample_single_with_article"><![CDATA[a video]]></string>

+ 17 - 0
template/author.html

@@ -0,0 +1,17 @@
+<div class="sys-author-info">
+    <div class="sys-author bx-def-unit absolute">
+        <div class="bx-def-unit-img">__author_unit__</div>
+        <div class="bx-def-unit-info bx-def-ui-cols bx-def-thumb-size-min-height bx-def-thumb-size-max-height bx-def-thumb-size-left-indent">
+            <div class="bx-def-unit-info-cnt bx-def-box-sizing">
+                <div class="bx-def-unit-line"><a class="bx-def-unit-info-title" href="__author_url__" title="__author_title_attr__">__author_title__</a></div>
+                <div class="bx-def-unit-line bx-def-font-grayed bx-def-font-small">__author_desc__</div>
+            </div>
+        </div>
+    </div>
+    <div class="sys-author-profile bx-def-margin-thd-topbottom">__author_profile_desc__</div>
+</div>
+<bx_if:addon>
+    <div class="bx-def-margin-sec-top">
+        __content__
+    </div>
+</bx_if:addon>

+ 3 - 0
template/author_desc.html

@@ -0,0 +1,3 @@
+<bx_repeat:items>
+    <span class="bx-def-ui-div bx-def-font-grayed">&nbsp;&#183;&nbsp;</span><bx_if:text><span>__content__</span></bx_if:text><bx_if:link><a href="__link__">__content__</a></bx_if:link>
+</bx_repeat:items>

+ 3 - 0
template/css/default.less

@@ -583,6 +583,9 @@ h3,
     text-overflow:ellipsis;
     overflow:hidden;
 }
+.bx-def-unit.absolute .bx-def-unit-line .bx-def-ui-div:first-child {
+    display: none;
+}
 
 .bx-def-unit-alert,
 .bx-def-unit-alert-small,

+ 29 - 0
template/css/general.css

@@ -447,3 +447,32 @@ div.bx-account-unit-online {
     position: relative;
     overflow: visible;
 }
+
+
+/* --------------- Author Info */
+.sys-author-info {
+    display: -webkit-flex;
+    display: flex;
+    -webkit-align-items: center;
+    align-items: center;
+    -webkit-justify-content: space-between;
+    justify-content: space-between;
+    -webkit-flex-wrap: wrap;
+    flex-wrap: wrap;
+}
+.sys-author-profile ul.bx-menu-custom.bx-menu-hor {
+    line-height: 0.625rem;
+}
+.sys-author-profile ul.bx-menu-custom.bx-menu-hor > li.bx-menu-item-nl {
+    width: 100%;
+}
+.sys-author-profile .bx-menu-custom.bx-menu-hor > li > span {
+    margin-right: 0;
+}
+.sys-author-profile .bx-menu-custom.bx-menu-hor > li > span.bx-base-profile-unit-meta-item.bx-def-padding-thd-leftright {
+    padding-left: 0;
+    padding-right: 0.5rem;
+}
+.sys-author-profile .bx-menu-custom.bx-menu-hor > li:first-child .bx-base-general-unit-meta-div {
+    display: none;
+}