Simple status box for the sidebar.
[elgg_plugins.git] / explode / add-form.php
blob58adc7a17f3c8d32c2803404f918b7d44c245774
1 <?php
3 /*
4 * Form to include if the user wants to add a new service
5 * @author Curverider <dave@curverider.co.uk>
6 */
9 $body .= '<div class=\"presentation-contentslist\">';
10 $body .= '<div id="add-service"><a href=javascript:toggleVisibility(\'add_a_service\')>Add a service:</a></div>';
12 $body .= <<<END
13 <div id="add_a_service"><br />
14 <form action="" method="POST">
15 <!-- <p>Add a service:</p> -->
16 <p><select name="explode_serviceName">
17 <option value="flickr">Flickr</option>
18 <option value="youtube">Youtube</option>
19 <option value="livejournal">Livejournal</option>
20 <option value="vox">Vox</option>
21 <option value="twitter">Twitter</option>
22 <option value="jaiku">Jaiku</option>
23 <option value="explode">Explode</option>
24 <option value="43things">43things</option>
25 <option value="rucku">Rucku</option>
26 <option value="tribe">Tribe</option>
27 </select></p>
28 <p>Your username:<br /><input type="textbox" name="explode_service_username" value="" /></p>
29 <p><select name="explode_numberToDisplay">
30 <option value="2">2</option>
31 <option value="4">4</option>
32 <option value="6">6</option>
33 <option value="8">8</option>
34 <option value="10">10</option>
35 <option value="12">12</option>
36 <option value="24">24</option>
37 </select></p>
38 <p><input type="hidden" name="explode:add" value="true">
39 <input type="submit" value="submit" name="submit"></p>
40 </form>
41 </div>
42 <script type="text/javascript">
43 <!--
44 toggleVisibility('add_a_service');
45 // -->
46 </script>
47 END;