123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- <?php
- if (!defined('STATUSNET')) {
- exit(1);
- }
- class BookmarkpopupAction extends NewbookmarkAction
- {
-
- function showTitle()
- {
- $this->element('title',
-
-
- null, sprintf(_m('Bookmark on %s'),
- common_config('site', 'name')));
- }
-
- function showHeader()
- {
- $this->elementStart('div', array('id' => 'header'));
- $this->elementStart('address');
- $this->element('a', array('class' => 'url',
- 'href' => common_local_url('top')),
- '');
- $this->elementEnd('address');
- if (common_logged_in()) {
- $form = new BookmarkForm($this,
- $this->title,
- $this->url);
- $form->show();
- }
- $this->elementEnd('div');
- }
-
- function showCore()
- {
- }
-
- function showFooter()
- {
- }
- function showScripts()
- {
- parent::showScripts();
- $this->script(Plugin::staticPath('Bookmark', 'bookmarkpopup.js'));
- }
- }
|