A tumblelog CMS built on AJAX, PHP and MySQL.

template_add_link.htm 1.4KB

12345678910111213141516171819202122232425262728
  1. <legend>Add a Link</legend>
  2. <p>
  3. <label for="title"><strong>Name</strong>&nbsp;<em>(optional)</em></label>
  4. <input class="input-text" type="text" name="title" id="title" size="80" />
  5. </p>
  6. <p>
  7. <label for="url"><strong>URL</strong></label>
  8. <input class="input-text" type="text" name="url" id="url" size="80" />
  9. </p>
  10. <p>
  11. <div id="add_link_description" style="margin-top:20px;">
  12. <a href="#" onclick="document.getElementById('link_description').style.display = ''; document.getElementById('add_link_description').style.display = 'none'; return false;" style="font-size:11px;">Add a description</a>
  13. </div>
  14. <div id="link_description" style="display:none;">
  15. <label for="description"><strong>Description</strong></label><br />
  16. <textarea rows="12" cols="84" name="description" id="description"></textarea>
  17. <script type="text/javascript">
  18. //<!--
  19. init_tynimce('description', 'url');
  20. //-->
  21. </script>
  22. </div>
  23. </p>
  24. <input type="hidden" name="type" id="type" value="{type}" />
  25. <input type="hidden" name="date" id="date" value="{date}" />
  26. <input type="hidden" name="id_user" id="id_user" value="{id_user}" />