示例#1
0
        default:
            icms_cp_header();
            icms::$module->displayAdminMenu(0, _AM_CONTENT_CONTENTS);
            $criteria = new icms_db_criteria_Compo();
            $criteria->add(new icms_db_criteria_Item('content_pid', $clean_content_pid));
            $objectTable = new icms_ipf_view_Table($content_content_handler, $criteria);
            $objectTable->addColumn(new icms_ipf_view_Column('content_title', false, false, 'getPreviewItemLink'));
            $objectTable->addColumn(new icms_ipf_view_Column('content_subs', 'center', 100));
            $objectTable->addColumn(new icms_ipf_view_Column('counter', 'center', 100));
            $objectTable->addColumn(new icms_ipf_view_Column('content_status', 'center', 150, 'getContent_statusControl'));
            $objectTable->addColumn(new icms_ipf_view_Column('content_visibility', 'center', 150, 'getContent_visibleControl'));
            $objectTable->addColumn(new icms_ipf_view_Column('content_published_date', 'center', 150));
            $objectTable->addActionButton('changedField', false, _SUBMIT);
            $objectTable->addCustomAction('getViewItemLink');
            $objectTable->addCustomAction('getCloneItemLink');
            $objectTable->addIntroButton('addcontent', 'content.php?op=mod' . ($clean_content_pid ? '&content_pid=' . $clean_content_pid : ''), _AM_CONTENT_CONTENT_CREATE);
            $objectTable->addQuickSearch(array('content_title', 'content_body'));
            $objectTable->addFilter('content_status', 'getContent_statusArray');
            $objectTable->addFilter('content_uid', 'getPostersArray');
            $objectTable->addFilter('content_pid', 'getContentList');
            $objectTable->addFilter('content_visibility', 'getContent_visibleArray');
            $objectTable->addFilter('content_tags', 'getContent_tagsArray');
            $objectTable->addHeader('<p style="margin-bottom: 10px;">' . $content_content_handler->getBreadcrumbForPid($clean_content_pid) . '</p>');
            $icmsAdminTpl->assign('content_content_table', $objectTable->fetch());
            $icmsAdminTpl->display('db:content_admin_content.html');
            break;
    }
    icms_cp_footer();
} else {
    redirect_header(ICMS_URL, 3, _NOPERM);
}
示例#2
0
        edituserrank(TRUE, $rank_id);
        break;
    case "clone":
        $rank_id = isset($_GET["rank_id"]) ? (int) $_GET["rank_id"] : 0;
        edituserrank(TRUE, $rank_id, TRUE);
        break;
    case "adduserrank":
        $controller = new icms_ipf_Controller($icms_userrank_handler);
        $controller->storeFromDefaultForm(_CO_ICMS_USERRANKS_CREATED, _CO_ICMS_USERRANKS_MODIFIED);
        break;
    case "del":
        $controller = new icms_ipf_Controller($icms_userrank_handler);
        $controller->handleObjectDeletion();
        break;
    default:
        icms_cp_header();
        $objectTable = new icms_ipf_view_Table($icms_userrank_handler);
        $objectTable->addColumn(new icms_ipf_view_Column("rank_title", _GLOBAL_LEFT, FALSE, "getRankTitle"));
        $objectTable->addColumn(new icms_ipf_view_Column("rank_min"));
        $objectTable->addColumn(new icms_ipf_view_Column("rank_max"));
        $objectTable->addColumn(new icms_ipf_view_Column("rank_image", "center", 200, "getRankPicture", FALSE, FALSE, FALSE));
        $objectTable->addIntroButton("adduserrank", "admin.php?fct=userrank&amp;op=mod", _CO_ICMS_USERRANKS_CREATE);
        $objectTable->addQuickSearch(array("rank_title"));
        $objectTable->addCustomAction("getCloneLink");
        $icmsAdminTpl->assign("icms_userrank_table", $objectTable->fetch());
        $icmsAdminTpl->assign("icms_userrank_explain", TRUE);
        $icmsAdminTpl->assign("icms_userrank_title", _CO_ICMS_USERRANKS_DSC);
        $icmsAdminTpl->display(ICMS_MODULES_PATH . "/system/templates/admin/userrank/system_adm_userrank.html");
        break;
}
icms_cp_footer();
示例#3
0
        case "mod":
            $profile_tribes_handler = icms_getModuleHandler('tribes', basename(dirname(dirname(__FILE__))), 'profile');
            $tribes = $profile_tribes_handler->getAllTribes();
            if (count($tribes) == 0) {
                redirect_header(PROFILE_ADMIN_URL . 'tribeuser.php', 3, _AM_PROFILE_TRIBEUSER_NOTTRIBESYET);
            }
            icms_cp_header();
            edittribeuser($clean_tribeuser_id);
            break;
        case "addtribeuser":
            $controller = new icms_ipf_Controller($profile_tribeuser_handler);
            $controller->storeFromDefaultForm(_AM_PROFILE_TRIBEUSER_CREATED, _AM_PROFILE_TRIBEUSER_MODIFIED);
            break;
        case "del":
            $controller = new icms_ipf_Controller($profile_tribeuser_handler);
            $controller->handleObjectDeletion();
            break;
        default:
            icms_cp_header();
            icms::$module->displayAdminMenu(8, _AM_PROFILE_TRIBEUSERS);
            $objectTable = new icms_ipf_view_Table($profile_tribeuser_handler);
            $objectTable->addColumn(new icms_ipf_view_Column('tribeuser_id', _GLOBAL_LEFT, false, 'getTribeuserId'));
            $objectTable->addColumn(new icms_ipf_view_Column('tribe_id', _GLOBAL_LEFT, false, 'getTribeName', false, false, false));
            $objectTable->addColumn(new icms_ipf_view_Column('user_id', _GLOBAL_LEFT, false, 'getTribeuserSender', false, false, false));
            $objectTable->addIntroButton('addtribeuser', 'tribeuser.php?op=mod', _AM_PROFILE_TRIBEUSER_CREATE);
            $icmsAdminTpl->assign('profile_tribeuser_table', $objectTable->fetch());
            $icmsAdminTpl->display('db:profile_admin_tribeuser.html');
            break;
    }
    icms_cp_footer();
}
示例#4
0
    case "clone":
        $autotasksid = isset($_GET['sat_id']) ? (int) $_GET['sat_id'] : 0;
        editautotasks(TRUE, $autotasksid, TRUE);
        break;
    case "addautotasks":
        $controller = new icms_ipf_Controller($icms_autotasks_handler);
        $controller->storeFromDefaultForm(_CO_ICMS_AUTOTASKS_CREATED, _CO_ICMS_AUTOTASKS_MODIFIED, ICMS_URL . '/modules/system/admin.php?fct=autotasks');
        break;
    case "del":
        $controller = new icms_ipf_Controller($icms_autotasks_handler);
        $controller->handleObjectDeletion();
        break;
    default:
        icms_cp_header();
        $objectTable = new icms_ipf_view_Table($icms_autotasks_handler, FALSE, array('edit'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_name', 'left', FALSE, 'getNameForDisplay'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_repeat', 'center', 80, 'getRepeatForDisplay'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_interval', 'center', 80, 'getIntervalForDisplay'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_enabled', 'center', 80, 'getEnableForDisplay'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_onfinish', 'center', 120, 'getOnFinishForDisplay'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_type', 'center', 120, 'getTypeForDisplay'));
        $objectTable->addColumn(new icms_ipf_view_Column('sat_lastruntime', 'center', 180, 'getLastRunTimeForDisplay'));
        $objectTable->addIntroButton('addautotasks', 'admin.php?fct=autotasks&amp;op=mod', _CO_ICMS_AUTOTASKS_CREATE);
        $objectTable->addQuickSearch(array('title', 'summary', 'description'));
        $objectTable->addCustomAction('getDeleteButtonForDisplay');
        $icmsAdminTpl->assign('icms_autotasks_table', $objectTable->fetch());
        $icmsAdminTpl->display('db:admin/autotasks/system_adm_autotasks.html');
        //echo $objectTable->fetch();
        break;
}
icms_cp_footer();
示例#5
0
    }
}
$op = isset($_POST['op']) ? trim(filter_input(INPUT_POST, 'op')) : (isset($_GET['op']) ? trim(filter_input(INPUT_GET, 'op')) : '');
switch ($op) {
    case "mod":
        $mimetypeid = isset($_GET['mimetypeid']) ? (int) $_GET['mimetypeid'] : 0;
        editmimetype(TRUE, $mimetypeid);
        break;
    case "addmimetype":
        $controller = new icms_ipf_Controller($icms_mimetype_handler);
        $controller->storeFromDefaultForm(_CO_ICMS_MIMETYPE_CREATED, _CO_ICMS_MIMETYPE_MODIFIED);
        break;
    case "del":
        $controller = new icms_ipf_Controller($icms_mimetype_handler);
        $controller->handleObjectDeletion();
        break;
    default:
        icms_cp_header();
        $objectTable = new icms_ipf_view_Table($icms_mimetype_handler);
        $objectTable->addColumn(new icms_ipf_view_Column('name', _GLOBAL_LEFT, 150));
        $objectTable->addColumn(new icms_ipf_view_Column('extension', _GLOBAL_LEFT, 150));
        $objectTable->addColumn(new icms_ipf_view_Column('types', _GLOBAL_LEFT));
        $objectTable->addIntroButton('addmimetype', 'admin.php?fct=mimetype&amp;op=mod', _CO_ICMS_MIMETYPE_CREATE);
        $objectTable->addQuickSearch(array('name', 'extension', 'types'));
        $icmsAdminTpl->assign('icms_mimetype_table', $objectTable->fetch());
        $icmsAdminTpl->assign('icms_mimetype_explain', TRUE);
        $icmsAdminTpl->assign('icms_mimetype_title', _CO_ICMS_MIMETYPES_DSC);
        $icmsAdminTpl->display(ICMS_MODULES_PATH . '/system/templates/admin/mimetype/system_adm_mimetype.html');
        break;
}
icms_cp_footer();
示例#6
0
                if ($categoryObj->getVar('cat_weight', 'e') != $_POST['cat_weight'][$k]) {
                    $categoryObj->setVar('cat_weight', (int) $_POST['cat_weight'][$k]);
                    $profile_category_handler->insert($categoryObj);
                }
            }
            redirect_header('category.php', 3, _AM_PROFILE_CATEGORY_MODIFIED);
            break;
        case "addcategory":
            $controller = new icms_ipf_Controller($profile_category_handler);
            $controller->storeFromDefaultForm(_AM_PROFILE_CATEGORY_CREATED, _AM_PROFILE_CATEGORY_MODIFIED);
            break;
        case "del":
            $controller = new icms_ipf_Controller($profile_category_handler);
            $controller->handleObjectDeletion();
            break;
        default:
            icms_cp_header();
            icms::$module->displayAdminMenu(1, _AM_PROFILE_CATEGORYS);
            $objectTable = new icms_ipf_view_Table($profile_category_handler);
            $objectTable->addColumn(new icms_ipf_view_Column('cat_title', _GLOBAL_LEFT, false, 'getCatTitle'));
            $objectTable->addColumn(new icms_ipf_view_Column('cat_description'));
            $objectTable->addColumn(new icms_ipf_view_Column('cat_weight', _CENTER, false, 'getCat_weightControl'));
            $objectTable->setDefaultSort('cat_weight');
            $objectTable->addIntroButton('addcategory', 'category.php?op=mod', _AM_PROFILE_CATEGORY_CREATE);
            $objectTable->addActionButton('changedField', false, _SUBMIT);
            $icmsAdminTpl->assign('profile_category_table', $objectTable->fetch());
            $icmsAdminTpl->display('db:profile_admin_category.html');
            break;
    }
    icms_cp_footer();
}
示例#7
0
    case "mod":
        $adsenseid = isset($_GET['adsenseid']) ? (int) $_GET['adsenseid'] : 0;
        editadsense(TRUE, $adsenseid);
        break;
    case "clone":
        $adsenseid = isset($_GET['adsenseid']) ? (int) $_GET['adsenseid'] : 0;
        editadsense(TRUE, $adsenseid, TRUE);
        break;
    case "addadsense":
        $controller = new icms_ipf_Controller($icms_adsense_handler);
        $controller->storeFromDefaultForm(_CO_ICMS_ADSENSES_CREATED, _CO_ICMS_ADSENSES_MODIFIED);
        break;
    case "del":
        $controller = new icms_ipf_Controller($icms_adsense_handler);
        $controller->handleObjectDeletion();
        break;
    default:
        icms_cp_header();
        $objectTable = new icms_ipf_view_Table($icms_adsense_handler);
        $objectTable->addColumn(new icms_ipf_view_Column('description', _GLOBAL_LEFT));
        $objectTable->addColumn(new icms_ipf_view_Column(_CO_ICMS_ADSENSE_TAG_CODE, 'center', 200, 'getXoopsCode'));
        $objectTable->addIntroButton('addadsense', 'admin.php?fct=adsense&amp;op=mod', _CO_ICMS_ADSENSES_CREATE);
        $objectTable->addQuickSearch(array('title', 'summary', 'description'));
        $objectTable->addCustomAction('getCloneLink');
        $icmsAdminTpl->assign('icms_adsense_table', $objectTable->fetch());
        $icmsAdminTpl->assign('icms_adsense_explain', TRUE);
        $icmsAdminTpl->assign('icms_adsense_title', _CO_ICMS_ADSENSES_DSC);
        $icmsAdminTpl->display(ICMS_ROOT_PATH . '/modules/system/templates/admin/adsense/system_adm_adsense.html');
        break;
}
icms_cp_footer();
            editslide($clean_slide_id);
            break;
        case "addslide":
            $controller = new icms_ipf_Controller($billboard_slide_handler);
            $controller->storeFromDefaultForm(_AM_BILLBOARD_SLIDE_CREATED, _AM_BILLBOARD_SLIDE_MODIFIED);
            break;
        case "del":
            $controller = new icms_ipf_Controller($billboard_slide_handler);
            $controller->handleObjectDeletion();
            break;
        case "view":
            $slideObj = $billboard_slide_handler->get($clean_slide_id);
            icms_cp_header();
            $slideObj->displaySingleObject();
            break;
        default:
            icms_cp_header();
            $icmsModule->displayAdminMenu(0, _AM_BILLBOARD_SLIDES);
            $objectTable = new icms_ipf_view_Table($billboard_slide_handler);
            $objectTable->addColumn(new icms_ipf_view_Column("title"));
            $objectTable->addIntroButton("addslide", "slide.php?op=mod", _AM_BILLBOARD_SLIDE_CREATE);
            $icmsAdminTpl->assign("billboard_slide_table", $objectTable->fetch());
            $icmsAdminTpl->display("db:billboard_admin_slide.html");
            break;
    }
    icms_cp_footer();
}
/**
 * If you want to have a specific action taken because the user input was invalid,
 * place it at this point. Otherwise, a blank page will be displayed
 */
示例#9
0
*/
if (in_array($clean_op, $valid_op, true)) {
    switch ($clean_op) {
        case "mod":
        case "changedField":
            icms_cp_header();
            editregstep($clean_regstep_id);
            break;
        case "addregstep":
            $controller = new icms_ipf_Controller($profile_regstep_handler);
            $controller->storeFromDefaultForm(_AM_PROFILE_REGSTEP_CREATED, _AM_PROFILE_REGSTEP_MODIFIED);
            break;
        case "del":
            $controller = new icms_ipf_Controller($profile_regstep_handler);
            $controller->handleObjectDeletion();
            break;
        default:
            icms_cp_header();
            icms::$module->displayAdminMenu(3, _AM_PROFILE_REGSTEPS);
            $objectTable = new icms_ipf_view_Table($profile_regstep_handler);
            $objectTable->addColumn(new icms_ipf_view_Column('step_order'));
            $objectTable->addColumn(new icms_ipf_view_Column('step_name', false, false, 'getCustomStepName'));
            $objectTable->addColumn(new icms_ipf_view_Column('step_save', 'center', false, 'getCustomStepSave'));
            $objectTable->addColumn(new icms_ipf_view_Column('step_intro'));
            $objectTable->addIntroButton('addregstep', 'regstep.php?op=mod', _AM_PROFILE_REGSTEP_CREATE);
            $icmsAdminTpl->assign('profile_regstep_table', $objectTable->fetch());
            $icmsAdminTpl->display('db:profile_admin_regstep.html');
            break;
    }
    icms_cp_footer();
}
示例#10
0
			editpage($clean_page_id);
			break;

		case "addpage" :
			$controller = new icms_ipf_Controller($icms_page_handler);
			$controller->storeFromDefaultForm(_AM_SYSTEM_PAGES_CREATED, _AM_SYSTEM_PAGES_MODIFIED);
			break;

		case "del" :
			$controller = new icms_ipf_Controller ($icms_page_handler);
			$controller->handleObjectDeletion();
			break;

		default :
			icms_cp_header();
			$objectTable = new icms_ipf_view_Table($icms_page_handler);
			$objectTable->addColumn(new icms_ipf_view_Column('page_status', 'center', FALSE, 'getCustomPageStatus'));
			$objectTable->addColumn(new icms_ipf_view_Column('page_title', _GLOBAL_LEFT, FALSE, 'getAdminViewItemLink'));
			$objectTable->addColumn(new icms_ipf_view_Column('page_url'));
			$objectTable->addColumn(new icms_ipf_view_Column('page_moduleid', 'center', FALSE, 'getCustomPageModuleid'));
			$objectTable->addIntroButton('addpost', 'admin.php?fct=pages&amp;op=mod', _AM_SYSTEM_PAGES_CREATE);
			$objectTable->addCustomAction('getViewItemLink');
			$objectTable->addQuickSearch(array ('page_title', 'page_url'));
			$objectTable->addFilter('page_moduleid', 'getModulesArray');
			$icmsAdminTpl->assign('icms_page_table', $objectTable->fetch());
			$icmsAdminTpl->assign('icms_page_title', _AM_SYSTEM_PAGES_TITLE);
			$icmsAdminTpl->display('db:admin/pages/system_adm_pagemanager_index.html');
			break;
	}
	icms_cp_footer();
}
示例#11
0
            redirect_header('field.php', 3, _AM_PROFILE_FIELD_MODIFIED);
            break;
        case "addfield":
            $controller = new icms_ipf_Controller($profile_field_handler);
            $controller->storeFromDefaultForm(_AM_PROFILE_FIELD_CREATED, _AM_PROFILE_FIELD_MODIFIED);
            break;
        case "del":
            $controller = new icms_ipf_Controller($profile_field_handler);
            $controller->handleObjectDeletion();
            break;
        default:
            icms_cp_header();
            icms::$module->displayAdminMenu(2, _AM_PROFILE_FIELDS);
            $objectTable = new icms_ipf_view_Table($profile_field_handler, false, array('edit'));
            $objectTable->addColumn(new icms_ipf_view_Column('field_show', _CENTER, FALSE, 'getShow'));
            $objectTable->addColumn(new icms_ipf_view_Column('catid', _GLOBAL_LEFT, false, 'getCatid', false, false, false));
            $objectTable->addColumn(new icms_ipf_view_Column('field_name', _GLOBAL_LEFT, false, 'getFieldName'));
            $objectTable->addColumn(new icms_ipf_view_Column('field_title'));
            $objectTable->addColumn(new icms_ipf_view_Column('field_description'));
            $objectTable->addColumn(new icms_ipf_view_Column('field_weight', _CENTER, false, 'getField_weightControl'));
            $objectTable->addFilter('catid', 'getCategoriesArray');
            $objectTable->addIntroButton('addfield', 'field.php?op=mod', _AM_PROFILE_FIELD_CREATE);
            $objectTable->addQuickSearch(array('field_name', 'field_title', 'field_description'));
            $objectTable->addCustomAction('getDeleteButtonForDisplay');
            $objectTable->addActionButton('changedField', false, _SUBMIT);
            $icmsAdminTpl->assign('profile_field_table', $objectTable->fetch());
            $icmsAdminTpl->display('db:profile_admin_field.html');
            break;
    }
    icms_cp_footer();
}
示例#12
0
            break;
        case "clone":
            $customtagid = isset($_GET["customtagid"]) ? (int) $_GET["customtagid"] : 0;
            editcustomtag($customtagid, TRUE);
            break;
        case "addcustomtag":
            $controller = new icms_ipf_Controller($icms_customtag_handler);
            $controller->storeFromDefaultForm(_CO_ICMS_CUSTOMTAG_CREATED, _CO_ICMS_CUSTOMTAG_MODIFIED);
            break;
        case "del":
            $controller = new icms_ipf_Controller($icms_customtag_handler);
            $controller->handleObjectDeletion();
            break;
        default:
            icms_cp_header();
            $objectTable = new icms_ipf_view_Table($icms_customtag_handler);
            $objectTable->addColumn(new icms_ipf_view_Column("name", _GLOBAL_LEFT, 150, "getCustomtagName"));
            $objectTable->addColumn(new icms_ipf_view_Column("description", _GLOBAL_LEFT));
            $objectTable->addColumn(new icms_ipf_view_Column(_CO_ICMS_CUSTOMTAGS_TAG_CODE, "center", 200, "getXoopsCode"));
            $objectTable->addColumn(new icms_ipf_view_Column("language", "center", 150));
            $objectTable->addIntroButton("addcustomtag", "admin.php?fct=customtag&amp;op=mod", _CO_ICMS_CUSTOMTAG_CREATE);
            $objectTable->addQuickSearch(array("title", "summary", "description"));
            $objectTable->addCustomAction("getCloneLink");
            $icmsAdminTpl->assign("icms_customtag_table", $objectTable->fetch());
            $icmsAdminTpl->assign("icms_custom_tag_explain", TRUE);
            $icmsAdminTpl->assign("icms_custom_tag_title", _CO_ICMS_CUSTOMTAGS_DSC);
            $icmsAdminTpl->display(ICMS_MODULES_PATH . "/system/templates/admin/customtag/system_adm_customtag.html");
            break;
    }
}
icms_cp_footer();
示例#13
0
            if (isset($_GET['rtn'])) {
                redirect_header(ICMS_URL . base64_decode($_GET['rtn']), 2, _AM_SYSTEM_BLOCKSADMIN_MODIFIED);
            } else {
                redirect_header(ICMS_URL . $rtn, 2, _AM_SYSTEM_BLOCKSADMIN_MODIFIED);
            }
            break;
        default:
            icms_cp_header();
            $objectTable = new icms_ipf_view_Table($icms_block_handler);
            $objectTable->addColumn(new icms_ipf_view_Column('visible', 'center'));
            $objectTable->addColumn(new icms_ipf_view_Column('name'));
            $objectTable->addColumn(new icms_ipf_view_Column('title', _GLOBAL_LEFT, FALSE, 'getAdminViewItemLink'));
            $objectTable->addColumn(new icms_ipf_view_Column('mid'));
            $objectTable->addColumn(new icms_ipf_view_Column('side', 'center', FALSE, 'getSideControl'));
            $objectTable->addColumn(new icms_ipf_view_Column('weight', 'center', FALSE, 'getWeightControl'));
            $objectTable->addIntroButton('addpost', 'admin.php?fct=blocksadmin&amp;op=mod', _AM_SYSTEM_BLOCKSADMIN_CREATE);
            $objectTable->addQuickSearch(array('title', 'name'));
            $objectTable->addFilter('mid', 'getModulesArray');
            $objectTable->addFilter('visible', 'getVisibleStatusArray');
            $objectTable->addFilter('side', 'getBlockPositionArray');
            $objectTable->addCustomAction('getBlankLink');
            $objectTable->addCustomAction('getUpActionLink');
            $objectTable->addCustomAction('getDownActionLink');
            $objectTable->addCustomAction('getCloneActionLink');
            $objectTable->addActionButton('change_blocks', FALSE, _SUBMIT);
            $icmsAdminTpl->assign('icms_block_table', $objectTable->fetch());
            $icmsAdminTpl->display('db:admin/blocksadmin/system_adm_blocksadmin.html');
            break;
    }
    icms_cp_footer();
}
示例#14
0
		case "addblockposition":
			$controller = new icms_ipf_Controller($icms_blockposition_handler);
			$controller->storeFromDefaultForm(_AM_SYSTEM_BLOCKSPADMIN_CREATED, _AM_SYSTEM_BLOCKSPADMIN_MODIFIED);
			break;

		case "del":
			$controller = new icms_ipf_Controller($icms_blockposition_handler);
			$controller->handleObjectDeletion();
			break;

		default:
			icms_cp_header();
			$objectTable = new icms_ipf_view_Table($icms_blockposition_handler, FALSE);
			$objectTable->addColumn(new icms_ipf_view_Column('pname'), 'center');
			$objectTable->addColumn(new icms_ipf_view_Column('title', FALSE, FALSE, 'getCustomTitle', FALSE, FALSE, FALSE));
			$objectTable->addColumn(new icms_ipf_view_Column('description'));

			$objectTable->addIntroButton('addblockposition', 'admin.php?fct=blockspadmin&amp;op=mod', _AM_SYSTEM_BLOCKSPADMIN_CREATE);
			$objectTable->addQuickSearch(array('pname', 'title', 'description'));

			$icmsAdminTpl->assign('icms_blockposition_table', $objectTable->fetch());

			$icmsAdminTpl->assign('lang_badmin', _AM_SYSTEM_BLOCKSPADMIN_TITLE);
			$icmsAdminTpl->assign('icms_blockposition_info', _AM_SYSTEM_BLOCKSPADMIN_INFO);

			$icmsAdminTpl->display('db:admin/blockspadmin/system_adm_blockspadmin.html');
			break;
	}
	icms_cp_footer();
}