<tr> <td class="admin" align="right" valign="top"> </td> <td class="admin"><label for="searchlist"><input type="checkbox" id="searchlist" name="searchlist" value="1"' . $searchlist . ' /> ' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_SEARCHLIST) . '</label></td> </tr>'; //if ASE module exists, add field indexation options if (class_exists('CMS_module_ase') && CMS_module_ase::isActive()) { $content .= ' <tr> <td class="admin" align="right" valign="top"> </td> <td class="admin"><label for="indexable"><input type="checkbox" id="indexable" name="indexable" value="1"' . $indexable . ' /> ' . $cms_language->getMessage(MESSAGE_PAGE_FIELD_INDEXABLE, false, MOD_POLYMOD_CODENAME) . '</label></td> </tr>'; } $content .= ' <tr> <td colspan="2"><input type="submit" class="admin_input_submit" value="' . $cms_language->getMessage(MESSAGE_BUTTON_VALIDATE) . '" /></td> </tr>'; } else { $content .= '</td> </tr>'; } $content .= ' </form> </table>'; $content .= ' <br /> ' . $cms_language->getMessage(MESSAGE_FORM_MANDATORY_FIELDS) . ' <br /><br /> '; $dialog->setContent($content); $dialog->show();
} else { $brothers = array($treeRoot); } foreach ($brothers as $aBrother) { if ($cms_user->hasPageClearance($aBrother->getID(), CLEARANCE_PAGE_VIEW)) { if (!in_array($aBrother->getID(), $displayed)) { $displayed[] = $aBrother->getID(); getBigTree($cms_user, $content, $aBrother, '0', $pl, $pageProperty, false); } } } } $content .= "</table>"; $dialog->setContent($content); if ($frame) { $dialog->show('arbo'); } else { $dialog->show(); } //recursive function : add the line HTML to $lines function getBigTree(&$user, &$lines, $page, $offset, $link, $pageProperty = false, $father) { global $cms_language; global $hideMenu; global $pageProperty; global $title; global $backLink; global $pageLink; global $onClick; global $heading; global $frame;