@@ 169-175 (lines=7) @@ | ||
166 | $sform->addElement($keywords); |
|
167 | ||
168 | // Insert tags if Tag-module is installed |
|
169 | if (WfLinksUtility::isTagModuleIncluded()) { |
|
170 | require_once XOOPS_ROOT_PATH . '/modules/tag/include/formtag.php'; |
|
171 | $text_tags = new TagFormTag('item_tag', 70, 255, $link_array['item_tag'], 0); |
|
172 | $sform->addElement($text_tags); |
|
173 | } else { |
|
174 | $sform->addElement(new XoopsFormHidden('item_tag', $link_array['item_tag'])); |
|
175 | } |
|
176 | ||
177 | // Screenshot |
|
178 | $graph_array = WflLists:: getListTypeAsArray(XOOPS_ROOT_PATH . '/' . $xoopsModuleConfig['screenshots'], $type = 'images'); |
@@ 306-314 (lines=9) @@ | ||
303 | $sform->addElement($keywords); |
|
304 | ||
305 | // Insert tags if Tag-module is installed and if user is allowed |
|
306 | if ($xoopsModuleConfig['usercantag']) { |
|
307 | if (WfLinksUtility::isTagModuleIncluded()) { |
|
308 | require_once XOOPS_ROOT_PATH . '/modules/tag/include/formtag.php'; |
|
309 | $text_tags = new TagFormTag('item_tag', 70, 255, $link_array['item_tag'], 0); |
|
310 | $sform->addElement($text_tags); |
|
311 | } else { |
|
312 | $sform->addElement(new XoopsFormHidden('item_tag', $link_array['item_tag'])); |
|
313 | } |
|
314 | } |
|
315 | if ($xoopsModuleConfig['useaddress']) { |
|
316 | $sform->insertBreak(_MD_WFL_LINK_CREATEADDRESS, 'even'); |
|
317 | // Google Maps |