| @@ 68-73 (lines=6) @@ | ||
| 65 | $syndication['definition'] = $myts->displayTarea(xoops_substr($myrow['definition'], 0, $xoopsModuleConfig['rndlength'] - 3), 1, 1, 1, 1, 1); |
|
| 66 | // note: if the definitions are too long try : $xoopsModuleConfig['rndlength'] -20 ) and decrease font-size:x-small below ... |
|
| 67 | } |
|
| 68 | if ($xoopsModuleConfig['multicats'] == 1) { |
|
| 69 | $syndication['catID'] = $myrow['categoryID']; |
|
| 70 | $resultY = $xoopsDB->query('SELECT categoryID, name FROM ' . $xoopsDB->prefix('lxcategories') . ' WHERE categoryID = ' . $myrow['categoryID'] . ' '); |
|
| 71 | list($categoryID, $name) = $xoopsDB->fetchRow($resultY); |
|
| 72 | $syndication['categoryname'] = $myts->displayTarea($name); |
|
| 73 | } |
|
| 74 | } |
|
| 75 | $tpl->assign('syndication', $syndication); |
|
| 76 | } |
|
| @@ 160-166 (lines=7) @@ | ||
| 157 | $random['definition'] = $myts->displayTarea(xoops_substr($myrow['definition'], 0, $rndlength - 1), $myrow['html'], $myrow['smiley'], $myrow['xcodes'], 1, $myrow['breaks']); |
|
| 158 | } |
|
| 159 | ||
| 160 | if ($xoopsModuleConfig['multicats'] == 1) { |
|
| 161 | $random['categoryID'] = $myrow['categoryID']; |
|
| 162 | ||
| 163 | $resultY = $xoopsDB->query('SELECT categoryID, name FROM ' . $xoopsDB->prefix('lxcategories') . ' WHERE categoryID = ' . $myrow['categoryID'] . ' '); |
|
| 164 | list($categoryID, $name) = $xoopsDB->fetchRow($resultY); |
|
| 165 | $random['categoryname'] = $myts->displayTarea($name); |
|
| 166 | } |
|
| 167 | } |
|
| 168 | $microlinks = LexikonUtility::getServiceLinks($random); |
|
| 169 | $xoopsTpl->assign('random', $random); |
|