src/UI/Analytics.php
public static function button($right = false)
    {
        global $LINK;
        if ( $right ) echo('<span style="position: fixed; right: 10px; top: 5px;">');
        echo('<button onclick="showModal(\''.__('Analytics').' '.htmlentities($LINK->title).'\',\'analytics_div\'); return false;" type="button" class="btn btn-default">');
        echo('<span class="glyphicon glyphicon-signal"></span></button>'."\n");
        if ( $right ) echo('</span>');
    }
public static function button($right = false)
    {
        global $LINK;
        if ( $right ) echo('<span style="position: fixed; right: 10px; top: 5px;">');
        echo('<button onclick="showModal(\''.__('Analytics').' '.htmlentities($LINK->title).'\',\'analytics_div\'); return false;" type="button" class="btn btn-default">');
        echo('<span class="glyphicon glyphicon-signal"></span></button>'."\n");
        if ( $right ) echo('</span>');
    }
public static function button ( $ right = false ) { global $ LINK ; if ( $ right ) echo ( '<span style="position: fixed; right: 10px; top: 5px;">' ) ; echo ( '<button onclick="showModal(\'' . __ ( 'Analytics' ) . ' ' . htmlentities ( $ LINK -> title ) . '\',\'analytics_div\'); return false;" type="button" class="btn btn-default">' ) ; echo ( '<span class="glyphicon glyphicon-signal"></span></button>' . "\n" ) ; if ( $ right ) echo ( '</span>' ) ; }
Emit a properly styled "settings" button

This is just the button, using the pencil icon.  Wrap in a
span or div tag if you want to move it around
Emit a properly styled settings button