db->config['table_prefix']; $theme=$modx->db->select('setting_value', '`' . $tb_prefix . 'system_settings`', 'setting_name=\'manager_theme\'', ''); $theme=$modx->db->getRow($theme); $theme=($theme['setting_value'] <> '') ? '/' . $theme['setting_value'] : ''; // load text direction as seen in Doc manager if(isset($modx->config['manager_direction'])) $dir=($modx->config['manager_direction'] == 'rtl' ? 'dir="rtl"' : ''); else $dir=""; // load lang as seen in Doc Manager $lang=$modx->config['manager_language']; // get and set post and session vars: form controls if(isset($_POST['checkform'])) $checkform=$_POST['checkform']; else $checkform="load"; if(isset($_POST['update_session'])) $update_session=$_POST['update_session']; else $update_session=0; // get and set post and session vars: search fields if(isset($_POST['df_id']) or !empty($_SESSION['docfinder_id']) and !$update_session) $search['id']='checked="checked"'; else $search['id']=""; if(isset($_POST['pagetitle']) or !empty($_SESSION['docfinder_pagetitle']) and !$update_session) $search['pagetitle']='checked="checked"'; else $search['pagetitle']=""; if(isset($_POST['longtitle']) or !empty($_SESSION['docfinder_longtitle']) and !$update_session) $search['longtitle']='checked="checked"'; else $search['longtitle']=""; if(isset($_POST['description']) or !empty($_SESSION['docfinder_description']) and !$update_session) $search['description']='checked="checked"'; else $search['description']=""; if(isset($_POST['alias']) or !empty($_SESSION['docfinder_alias']) and !$update_session) $search['alias']='checked="checked"'; else $search['alias']=""; if(isset($_POST['introtext']) or !empty($_SESSION['docfinder_introtext']) and !$update_session) $search['introtext']='checked="checked"'; else $search['introtext']=""; if(isset($_POST['menutitle']) or !empty($_SESSION['docfinder_menutitle']) and !$update_session) $search['menutitle']='checked="checked"'; else $search['menutitle']=""; if(isset($_POST['content']) or !empty($_SESSION['docfinder_content']) and !$update_session) $search['content']='checked="checked"'; else $search['content']=""; if(isset($_POST['tvs']) or !empty($_SESSION['docfinder_tvs']) and !$update_session) $search['tvs']='checked="checked"'; else $search['tvs']=""; // get and set post and session vars: search options if(isset($_POST['advancedSearch']) and $_POST['advancedSearch']=="visible" or
include($modx->config['base_path']."assets/modules/docfinder/index.php");
include("../assets/modules/docfinder/index.php");