diff options
author | friendica <info@friendica.com> | 2013-11-18 18:37:38 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-18 18:37:38 -0800 |
commit | ed129f19b01f4f8f34129e297f93c9926e36548a (patch) | |
tree | e6dff694123c74dd903da95ae6170ba29d5c479d | |
parent | dc6cd8a701f2225070bf6c37833279768f1a3b10 (diff) | |
download | volse-hubzilla-ed129f19b01f4f8f34129e297f93c9926e36548a.tar.gz volse-hubzilla-ed129f19b01f4f8f34129e297f93c9926e36548a.tar.bz2 volse-hubzilla-ed129f19b01f4f8f34129e297f93c9926e36548a.zip |
fix plugin and them toggles for the colourblind, add theme info block and recent screenshot to redbasic
-rwxr-xr-x | include/plugin.php | 4 | ||||
-rw-r--r-- | view/theme/redbasic/css/style.css | 1 | ||||
-rw-r--r-- | view/theme/redbasic/img/screenshot.jpg | bin | 72559 -> 135205 bytes | |||
-rw-r--r-- | view/theme/redbasic/php/theme.php | 10 | ||||
-rwxr-xr-x | view/tpl/admin_plugins.tpl | 2 | ||||
-rwxr-xr-x | view/tpl/admin_plugins_details.tpl | 2 |
6 files changed, 15 insertions, 4 deletions
diff --git a/include/plugin.php b/include/plugin.php index ea88a61df..d90434b3a 100755 --- a/include/plugin.php +++ b/include/plugin.php @@ -298,10 +298,10 @@ function get_theme_info($theme){ 'name' => $theme, 'description' => "", 'author' => array(), - 'maintainer' => array(), 'version' => "", - 'credits' => "", 'compat' => "", + 'credits' => "", + 'maintainer' => array(), 'experimental' => false, 'unsupported' => false ); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 8e15d1eaf..d3779152d 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -3499,6 +3499,7 @@ margin-right: 50px; } .comment-icon, +.admin-icons, .jot-icons { font-size: 1.2em; color: $toolicon_colour; diff --git a/view/theme/redbasic/img/screenshot.jpg b/view/theme/redbasic/img/screenshot.jpg Binary files differindex 5f00ec39e..51d4cbb0d 100644 --- a/view/theme/redbasic/img/screenshot.jpg +++ b/view/theme/redbasic/img/screenshot.jpg diff --git a/view/theme/redbasic/php/theme.php b/view/theme/redbasic/php/theme.php index ca280ef6a..e68533bb4 100644 --- a/view/theme/redbasic/php/theme.php +++ b/view/theme/redbasic/php/theme.php @@ -1,5 +1,15 @@ <?php +/** + * * Name: Redbasic + * * Description: RedMatrix standard theme + * * Version: 1.0 + * * Author: Fabrixxm + * * Maintainer: Mike Macgirvin + * * Compat: Red [*] + * + */ + function redbasic_init(&$a) { } diff --git a/view/tpl/admin_plugins.tpl b/view/tpl/admin_plugins.tpl index 729ba5dc8..40821c534 100755 --- a/view/tpl/admin_plugins.tpl +++ b/view/tpl/admin_plugins.tpl @@ -4,7 +4,7 @@ <ul id='pluginslist'> {{foreach $plugins as $p}} <li class='plugin {{$p.1}}'> - <a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&t={{$form_security_token}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><span class='icon {{$p.1}}'></span></a> + <a class='toggleplugin' href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}?a=t&t={{$form_security_token}}' title="{{if $p.1==on}}Disable{{else}}Enable{{/if}}" ><i class='{{if $p.1==on}}icon-check{{else}}icon-check-empty{{/if}} admin-icons'></i></a> <a href='{{$baseurl}}/admin/{{$function}}/{{$p.0}}'><span class='name'>{{$p.2.name}}</span></a> - <span class="version">{{$p.2.version}}</span> {{if $p.2.experimental}} {{$experimental}} {{/if}}{{if $p.2.unsupported}} {{$unsupported}} {{/if}} diff --git a/view/tpl/admin_plugins_details.tpl b/view/tpl/admin_plugins_details.tpl index f72142e41..1c1a59879 100755 --- a/view/tpl/admin_plugins_details.tpl +++ b/view/tpl/admin_plugins_details.tpl @@ -1,7 +1,7 @@ <div class = "generic-content-wrapper" id='adminpage'> <h1>{{$title}} - {{$page}}</h1> - <p><span class='toggleplugin icon {{$status}}'></span> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a></p> + <p><i class='toggleplugin {{if $status==on}}icon-check{{else}}icon-check-empty{{/if}} admin-icons'></i> {{$info.name}} - {{$info.version}} : <a href="{{$baseurl}}/admin/{{$function}}/{{$plugin}}/?a=t&t={{$form_security_token}}">{{$action}}</a></p> <p>{{$info.description}}</p> <p class="author">{{$str_author}} |