diff options
Diffstat (limited to 'plugins/SocialPhoto/SocialPhotoForm.php')
-rw-r--r-- | plugins/SocialPhoto/SocialPhotoForm.php | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/SocialPhoto/SocialPhotoForm.php b/plugins/SocialPhoto/SocialPhotoForm.php new file mode 100644 index 000000000..dbce1d1c2 --- /dev/null +++ b/plugins/SocialPhoto/SocialPhotoForm.php @@ -0,0 +1,23 @@ +<?php + +if (!defined('STATUSNET')) { + exit(1); +} + +require_once INSTALLDIR.'/plugins/SocialLayout/SocialObjectForm.php'; + +class SocialPhotoForm extends SocialObjectForm +{ + function showFormElements() + { + $this->out->element('label', + array('for' => 'notice_data-text'), sprintf(_('Photo'))); + $this->out->input('photo-title', _('Title')); + $this->element('textarea', array('rows' => 3, + 'cols' => 30, 'class' => 'photo-description')); + $this->out->input('mentions', _('Replies')); + $this->out->input('groups', _('Groups')); + $this->out->input('tags', _('Tags')); + } +} + |