list.php 1.1 KB

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright (c) 2011 Marvin Thomas Rabe <mrabe@marvinrabe.de>
  4. * Copyright (c) 2011 Arthur Schiwon <blizzz@arthur-schiwon.de>
  5. * This file is licensed under the Affero General Public License version 3 or
  6. * later.
  7. * See the COPYING-README file.
  8. */
  9. ?>
  10. <input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo OCP\Util::sanitizeHTML($_GET['tag']); ?>" />
  11. <div id="controls">
  12. <input type="hidden" id="bookmark_add_id" value="0" />
  13. <input type="text" id="bookmark_add_url" placeholder="<?php echo $l->t('Address'); ?>" class="bookmarks_input" />
  14. <input type="text" id="bookmark_add_title" placeholder="<?php echo $l->t('Title'); ?>" class="bookmarks_input" />
  15. <input type="text" id="bookmark_add_tags" placeholder="<?php echo $l->t('Tags'); ?>" class="bookmarks_input" />
  16. <input type="submit" value="<?php echo $l->t('Save bookmark'); ?>" id="bookmark_add_submit" />
  17. </div>
  18. <div class="bookmarks_list">
  19. </div>
  20. <div id="firstrun" style="display: none;">
  21. <?php
  22. echo $l->t('You have no bookmarks');
  23. require_once(OC_App::getAppPath('bookmarks') .'/templates/bookmarklet.php');
  24. createBookmarklet();
  25. ?>
  26. </div>