--- /dev/null
+<?php
+
+ $english = array(
+ 'thewire:add' => "Post to the wire",
+ 'thewire:write:desc' => 'This widget allows sending messages to the wire'
+ );
+ add_translation("en",$english);
--- /dev/null
+<?php
+
+ $spanish = array(
+ 'thewire:add' => "Enviar mensaje a la red",
+ 'thewire:write:desc' => 'Este widget permite enviar telegramas a la red'
+ );
+ add_translation("es",$spanish);
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<plugin_manifest xmlns="http://www.elgg.org/plugin_manifest/1.8">
+ <name>Extra profile widgets</name>
+ <author>Lorea developers</author>
+ <version>1.8</version>
+ <category>widget</category>
+ <description>Extra widgets for profile and dashboard.</description>
+ <copyright>(C) Lorea 2011</copyright>
+ <website>https://lorea.org/</website>
+ <license>GNU General Public License version 2</license>
+ <requires>
+ <type>elgg_release</type>
+ <version>1.8</version>
+ </requires>
+ <activate_on_install>true</activate_on_install>
+</plugin_manifest>
--- /dev/null
+<?php
+
+function profile_widgets_init() {
+ elgg_register_widget_type('thewirewrite', elgg_echo('thewire:add'), elgg_echo("thewire:yourdesc:write:desc"), 'dashboard');
+}
+
+elgg_register_event_handler('init', 'system', 'profile_widgets_init');
--- /dev/null
+<div class="contentWrapper">
+<?php
+
+ $form_vars = array('class' => 'thewire-form');
+ $content = elgg_view_form('thewire/add', $form_vars);
+ $content .= elgg_view('input/urlshortener');
+ $context = 'mine';
+ echo $content;
+?>
+</div>
+