Custom Live! icons hack

Hello, People!
My hack is simple, but very useful. It would be nice to have this setting on the widget.
http://sproger.ru/wp-content/uploads/2011/10/piwic-live.png

I fixed a few lines in the file /piwic/plugins/Live/templates/lastVisits.tpl

Before


{if $action.type == 'action'}
   <img src="plugins/Live/templates/images/file{php} echo $col; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />

After


{if $action.type == 'action'}
  {if strpos($action.url, "day") !== false}
      <img src="plugins/Live/templates/images/file{php} echo "_day"; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />
  {elseif strpos($action.url, "groups") !== false}
      <img src="plugins/Live/templates/images/file{php} echo "_week"; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />
  {elseif strpos($action.url, "inst/") !== false}
      <img src="plugins/Live/templates/images/file{php} echo "_inst"; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />
  {elseif strpos($action.url, "fac/") !== false}
      <img src="plugins/Live/templates/images/file{php} echo "_fac"; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />
  {elseif strpos($action.url, "rings/") !== false}
      <img src="plugins/Live/templates/images/file{php} echo "_rings"; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />
  {else}
      <img src="plugins/Live/templates/images/file{php} echo $col; {/php}.png" title="{if !empty($action.pageTitle)}{$action.pageTitle}{/if} - {$action.serverTimePretty|escape:'html'}" />
  {/if}

Very nice, simple and usefull… thank’s
Luca