X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=libertree%2Flibertree.php;h=56dc946c32a2c9f26a4ec3231185e7a4f0c181c9;hb=4f5390c09ef469e966be4f66113078823066da1f;hp=2809adee3702856ba7aa11b410ba5e6d6022cf49;hpb=a3de3d8008f6f90a378a1f8adf2b8b5720d3b2cb;p=friendica-addons.git diff --git a/libertree/libertree.php b/libertree/libertree.php index 2809adee..56dc946c 100755 --- a/libertree/libertree.php +++ b/libertree/libertree.php @@ -50,8 +50,8 @@ function libertree_settings(&$a,&$s) { /* Get the current state of our config variables */ $enabled = get_pconfig(local_user(),'libertree','post'); - $checked = (($enabled) ? ' checked="checked" ' : ''); + $css = (($enabled) ? '' : '-disabled'); $def_enabled = get_pconfig(local_user(),'libertree','post_by_default'); @@ -63,8 +63,14 @@ function libertree_settings(&$a,&$s) { /* Add some HTML to the existing form */ - $s .= '