aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example_plugin.c
blob: a33907a8be2de19b44d2903fa7aff0eb2037cfe0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* 
 * This is the most simple possible BitlBee plugin. To use, compile it as 
 * a shared library and place it in the plugin directory: 
 *
 * gcc -o example.so -shared example.c `pkg-config --cflags bitlbee`
 * cp example.so /usr/local/lib/bitlbee
 */
#include <stdio.h>
#include <bitlbee.h>

void init_plugin(void)
{
	printf("I am a BitlBee plugin!\n");
}
alue='issues/2063-document-holding-pen'>issues/2063-document-holding-pen Unnamed repository; edit this file 'description' to name the repository.MimesBrønn
aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/admin_public_body/_tags.rhtml
blob: 26526f3041e141432f7b4d984c8cc8a782d9b74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% for t in body.tags %>
  <span class="label label-info tag">
    <% if t.value %>
        <%= link_to(h(t.name), list_public_bodies_path(:tag => t.name)) %>:<%= link_to(h(t.value), list_public_bodies_path(:tag => t.name_and_value)) %>
    <% else %>
        <%= link_to(h(t.name), list_public_bodies_path(:tag => t.name)) %>
    <% end %>
  </span>
<% end %>