| @@ 213-219 (lines=7) @@ | ||
| 210 | $sform->addElement($keywords); |
|
| 211 | ||
| 212 | // Insert tags if Tag-module is installed |
|
| 213 | if (xtubeIsModuleTagInstalled()) { |
|
| 214 | include_once XOOPS_ROOT_PATH . "/modules/tag/include/formtag.php"; |
|
| 215 | $text_tags = new XoopsFormTag("item_tag", 70, 255, $video_array['item_tag'], 0); |
|
| 216 | $sform->addElement($text_tags); |
|
| 217 | } else { |
|
| 218 | $sform->addElement(new XoopsFormHidden('item_tag', $video_array['item_tag'])); |
|
| 219 | } |
|
| 220 | ||
| 221 | // Video Publish Date |
|
| 222 | $sform->addElement(new XoopsFormDateTime(_AM_XOOPSTUBE_VIDEO_SETPUBLISHDATE, 'published', $size = 15, $published)); |
|
| @@ 349-358 (lines=10) @@ | ||
| 346 | $keywords->setDescription('<br /><span style="font-size: smaller;">' . _MD_XOOPSTUBE_KEYWORDS_NOTE . '</span>'); |
|
| 347 | $sform->addElement($keywords); |
|
| 348 | ||
| 349 | if ($xoopsModuleConfig['usercantag'] == 1) { |
|
| 350 | // Insert tags if Tag-module is installed |
|
| 351 | if (xtubeIsModuleTagInstalled()) { |
|
| 352 | include_once XOOPS_ROOT_PATH . '/modules/tag/include/formtag.php'; |
|
| 353 | $text_tags = new XoopsFormTag('item_tag', 70, 255, $video_array['item_tag'], 0); |
|
| 354 | $sform->addElement($text_tags); |
|
| 355 | } |
|
| 356 | } else { |
|
| 357 | $sform->addElement(new XoopsFormHidden('item_tag', $video_array['item_tag'])); |
|
| 358 | } |
|
| 359 | ||
| 360 | $submitter2 = (is_object($xoopsUser) && !empty($xoopsUser)) ? $xoopsUser->getVar('uid') : 0; |
|
| 361 | if ($submitter2 > 0) { |
|