@@ 57-60 (lines=4) @@ | ||
54 | $entryID = (int)$myrow['entryID']; |
|
55 | $term = ucfirst($myts->displayTarea($myrow['term'])); |
|
56 | ||
57 | if (!XOOPS_USE_MULTIBYTES) { |
|
58 | $deftemp = xoops_substr($myrow['definition'], 0, $lxConfig['rndlength'] - 1); |
|
59 | $definition = $myts->displayTarea($deftemp, 1, 1, 1, 1, 1); |
|
60 | } |
|
61 | ||
62 | $categoryID = $myrow['categoryID']; |
|
63 | $result_cat = $xoopsDB->query('SELECT categoryID, name FROM ' . $xoopsDB->prefix('lxcategories') . " WHERE categoryID = $categoryID"); |
@@ 64-67 (lines=4) @@ | ||
61 | $syndication = array(); |
|
62 | $syndication['id'] = $myrow['entryID']; |
|
63 | $syndication['term'] = ucfirst($myrow['term']); |
|
64 | if (!XOOPS_USE_MULTIBYTES) { |
|
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'] . ' '); |