Index: site/tpl/UserDoc/index.tpl =================================================================== --- site/tpl/UserDoc/index.tpl (revision 5496) +++ site/tpl/UserDoc/index.tpl (revision 5497) @@ -13,6 +13,7 @@ {if $head.base} {* однинарні лапки фіксять баг хрома: http://code.google.com/p/chromium/issues/detail?id=120408 *} {/if} +{include file=$DOC->getTemplate('publisher-link.tpl')} {assign var = 'SITE_REVISION_SUFFIX' value = ""}{if $SITE_REVISION}{assign var = 'SITE_REVISION_SUFFIX' value = "-`$SITE_REVISION`"}{/if} Index: site/tpl/Doc/publisher-link.tpl =================================================================== --- site/tpl/Doc/publisher-link.tpl (revision 0) +++ site/tpl/Doc/publisher-link.tpl (revision 5497) @@ -0,0 +1,5 @@ +{assign var = 'googlePlusUrl' value = 'googlePlusUrl'|settings} +{if $googlePlusUrl} + + +{/if} \ No newline at end of file Index: site/tpl/Doc/index.tpl =================================================================== --- site/tpl/Doc/index.tpl (revision 5496) +++ site/tpl/Doc/index.tpl (revision 5497) @@ -17,6 +17,7 @@ {if $head.base} {* однинарні лапки фіксять баг хрома: http://code.google.com/p/chromium/issues/detail?id=120408 *} {/if} +{include file=$DOC->getTemplate('publisher-link.tpl')} {assign var = 'SITE_REVISION_SUFFIX' value = ""}{if $SITE_REVISION}{assign var = 'SITE_REVISION_SUFFIX' value = "-`$SITE_REVISION`"}{/if} Index: .updates/publisher.sql =================================================================== --- .updates/publisher.sql (revision 0) +++ .updates/publisher.sql (revision 5497) @@ -0,0 +1,6 @@ +INSERT INTO `qs_Settings` (`name`, `idCategory`, `fieldType`, `label`, `value`, `options`, `description`, `required`, `system`, `sorter`, `added`, `changed`) VALUES +('googlePlusUrl', 1, 'text', 'Google Plus URL', '', '', 'Example: http://plus.google.com/+YourPage', 'n', 'n', 831, NOW(), NOW()); + +INSERT INTO `qs_SettingsOptions` (`name`, `variable`, `value`, `type`, `sorter`) VALUES +('googlePlusUrl', 'validators[0]', 'Url', 'string', NULL); +