diff options
| author | lsces <lester@lsces.co.uk> | 2025-08-29 13:38:13 +0100 |
|---|---|---|
| committer | lsces <lester@lsces.co.uk> | 2025-08-29 13:38:13 +0100 |
| commit | 0c1b1eef6c68e10d14ef34dae6aff79e48bf8a60 (patch) | |
| tree | 0e866e40ab65ea7ac67f273852aad0e1e4aee560 /templates | |
| parent | d5583faba3041486476eaeedee7714add9bd063b (diff) | |
| download | kernel-0c1b1eef6c68e10d14ef34dae6aff79e48bf8a60.tar.gz kernel-0c1b1eef6c68e10d14ef34dae6aff79e48bf8a60.tar.bz2 kernel-0c1b1eef6c68e10d14ef34dae6aff79e48bf8a60.zip | |
Extra templates
Diffstat (limited to 'templates')
| -rwxr-xr-x | templates/bot_logo_bar.tpl | 11 | ||||
| -rwxr-xr-x | templates/bot_stats_bar.tpl | 29 | ||||
| -rwxr-xr-x | templates/top_banner.tpl | 8 |
3 files changed, 48 insertions, 0 deletions
diff --git a/templates/bot_logo_bar.tpl b/templates/bot_logo_bar.tpl new file mode 100755 index 0000000..f5169ae --- /dev/null +++ b/templates/bot_logo_bar.tpl @@ -0,0 +1,11 @@ + <div class="floatleft"> + <a href="http://www.bitweaver.org/">{biticon ipackage="liberty" iname="bitweaver" ipath="bitweaver/" iexplain="Powered by bitweaver" iforce=icon}</a> + <a href="http://php.net/">{biticon ipackage="liberty" iname="php" ipath="bitweaver/" iexplain="Powered by PHP" iforce=icon}</a> + <a href="http://smarty.php.net/">{biticon ipackage="liberty" iname="smarty" ipath="bitweaver/" iexplain="Powered by Smarty" iforce=icon}</a> + <a href="http://adodb.sourceforge.net/">{biticon ipackage="liberty" iname="adodb" ipath="bitweaver/" iexplain="Powered by Adodb" iforce=icon}</a> + <a href="http://www.firebirdsql.org/">{biticon ipackage="liberty" iname="firebird" ipath="bitweaver/" iexplain="Powered by Firebird" iforce=icon}</a> + </div> + <div class="floatright"> + Web Hosting By <a href="http://rainbowdigitalmedia.co.uk">Rainbow Digital Media <img src="/config/images/rdm-logo32.png" alt="RDM Small Logo" height="32" width="32"></a> + </div> + diff --git a/templates/bot_stats_bar.tpl b/templates/bot_stats_bar.tpl new file mode 100755 index 0000000..d55e2aa --- /dev/null +++ b/templates/bot_stats_bar.tpl @@ -0,0 +1,29 @@ +<div class="col-md-12"> +{if $gBitSystem->isFeatureActive( 'messages_site_contact' )} + <a href="{$smarty.const.MESSAGES_PKG_URL}contact.php">{booticon iname="icon-envelope" ilocation=menu iexplain="Contact Us"}</a> +{/if} + <a id="poweredby" class="external pull-right" href="http://www.bitweaver.org"><img src="/liberty/icons/bitweaver/bitweaver.gif" alt="Bitweaver" title="Bitweaver" class="icon"></a> {$version_info.local} + {if $gBitUser->isAdmin()} <strong>{$gBitSystem->getBitVersion()}</strong> + {assign var=version_info value=$gBitSystem->checkBitVersion()} + {if $version_info.compare lt 0} + {tr}Upgrade to{/tr} <strong>{$version_info.upgrade}</strong> + {elseif $version_info.compare gt 0} + {tr}Latest Version{/tr} <strong>{$version_info.upgrade}</strong> + {/if} + + {if $version_info.release} + {tr}Latest Release{/tr} <strong>{$version_info.release}</strong> + {/if} + + {if $version_info.error.number ne 0} + {$version_info.error.string} + {elseif $version_info.compare eq 0 and !$version_info.release} + {tr}Your version is up to date.{/tr} + {elseif $version_info.compare lt 0 or $version_info.release} + {tr}Your version is not up to date.{/tr} + {elseif $version_info.compare gt 0 or $version_info.release} + {tr}Seems you are using a test version.{/tr} + {/if} +</div> +{include file="bitpackage:kernel/server_stats_inc.tpl"} +{/if} diff --git a/templates/top_banner.tpl b/templates/top_banner.tpl new file mode 100755 index 0000000..92f138d --- /dev/null +++ b/templates/top_banner.tpl @@ -0,0 +1,8 @@ +{strip} +<div id="banner"> + <h1><a href="{$smarty.const.BIT_ROOT_URL}">{$gBitSystem->getConfig('site_title')}</a></h1> + {if $gBitSystem->getConfig('site_slogan')} + <h3>{$gBitSystem->getConfig('site_slogan')}</h3> + {/if} +</div> +{/strip}
\ No newline at end of file |
