Jelajahi Sumber

#2382 dashboard adding

RomanL 7 tahun lalu
induk
melakukan
966ada157f

+ 62 - 0
inc/classes/BxDolAuditGrid.php

@@ -0,0 +1,62 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+* Copyright (c) UNA, Inc - https://una.io
+* MIT License - https://opensource.org/licenses/MIT
+*
+* @defgroup    UnaCore UNA Core
+* @{
+*/
+
+define('BX_DOL_MANAGE_TOOLS_ADMINISTRATION', 'administration');
+
+class BxDolAuditGrid extends BxTemplGrid
+{
+    protected $_sParamsDivider;
+    
+    protected $_sFilter1Name;
+	protected $_sFilter1Value;
+	protected $_aFilter1Values;
+    
+    public function __construct ($aOptions, $oTemplate = false)
+    {
+        $this->_sFilter1Name = 'module';
+
+        $aModules = BxDolModuleQuery::getInstance()->getModulesBy(array('type' => 'modules'));
+        $this->_aFilter1Values[''] = _t('_adm_txt_select_module');
+        foreach($aModules as $aModule){
+            $this->_aFilter1Values[$aModule['name']] = $aModule['title'];
+        }
+
+    	$sFilter1 = bx_get($this->_sFilter1Name);
+        if(!empty($sFilter1)) {
+            $this->_sFilter1Value = bx_process_input($sFilter1);
+            $this->_aQueryAppend[$this->_sFilter1Name] = $this->_sFilter1Value;
+        }
+        
+        parent::__construct ($aOptions, $oTemplate);
+
+        $this->_sParamsDivider = '#-#';
+        $this->_sDefaultSortingOrder = 'DESC';
+        
+        $this->oDb = new BxDolStudioFormsQuery();
+    }
+    
+	protected function _getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage)
+    {
+        if(strpos($sFilter, $this->_sParamsDivider) !== false)
+            list($this->_sFilter1Value, $sFilter) = explode($this->_sParamsDivider, $sFilter);
+
+        if($this->_sFilter1Value != '')
+            $this->_aOptions['source'] .= $this->oDb->prepareAsString(" AND `content_module` = ?", $this->_sFilter1Value);
+        if(bx_get('content_id') && is_numeric(bx_get('content_id')))
+            $this->_aOptions['source'] .= $this->oDb->prepareAsString(" AND `content_id` = ?", (int)bx_get('content_id'));
+        if(bx_get('actor_id')  && is_numeric(bx_get('actor_id')))
+            $this->_aOptions['source'] .= $this->oDb->prepareAsString(" AND `profile_id` = ?", (int)bx_get('actor_id'));
+        if(bx_get('context_id')  && is_numeric(bx_get('context_id')))
+            $this->_aOptions['source'] .= $this->oDb->prepareAsString(" AND `context_profile_id` = ?", (int)bx_get('context_id'));
+        
+        return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
+    }
+}
+
+/** @} */

+ 39 - 0
inc/js/classes/BxDolAuditManageTools.js

@@ -0,0 +1,39 @@
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaCore UNA Core
+ * @{
+ */
+
+function BxDolAuditManageTools(oOptions) {
+    this._iSearchTimeoutId = false;
+    this._sObjNameGrid = oOptions.sObjNameGrid;
+    this._sObjName = oOptions.sObjName == undefined ? 'oBxDolAuditManageTools' : oOptions.sObjName;
+
+    this._sAnimationEffect = oOptions.sAnimationEffect == undefined ? 'fade' : oOptions.sAnimationEffect;
+    this._iAnimationSpeed = oOptions.iAnimationSpeed == undefined ? 'slow' : oOptions.iAnimationSpeed;
+    this._sParamsDivider = oOptions.sParamsDivider == undefined ? '#-#' : oOptions.sParamsDivider;
+
+    this._aHtmlIds = oOptions.aHtmlIds == undefined ? {} : oOptions.aHtmlIds;
+    this._oRequestParams = oOptions.oRequestParams == undefined ? {} : oOptions.oRequestParams;
+
+}
+
+BxDolAuditManageTools.prototype.onChangeFilter = function (oFilter) {
+    var $this = this;
+    var oFilter1 = $('#bx-grid-module-' + this._sObjNameGrid);
+    var sValueFilter1 = oFilter1.length > 0 ? oFilter1.val() : '';
+
+    var oSearch = $('#bx-grid-search-' + this._sObjNameGrid);
+    var sValueSearch = oSearch.length > 0 ? oSearch.val() : '';
+    if (sValueSearch == _t('_sys_grid_search'))
+        sValueSearch = '';
+
+    clearTimeout($this._iSearchTimeoutId);
+    $this._iSearchTimeoutId = setTimeout(function () {
+        console.log(glGrids[$this._sObjNameGrid])
+        glGrids[$this._sObjNameGrid].setFilter(sValueFilter1 + $this._sParamsDivider + sValueSearch, true);
+    }, 500);
+};
+/** @} */

File diff ditekan karena terlalu besar
+ 12 - 11
install/sql/system.sql


+ 1 - 1
modules/base/general/classes/BxBaseModGeneralGridAdministration.php

@@ -75,7 +75,7 @@ class BxBaseModGeneralGridAdministration extends BxTemplGrid
             return;
     	
     	$CNF = &$this->_oModule->_oConfig->CNF;
-        $sUrl = BX_DOL_URL_ROOT . 'studio/audit.php?module=' . $this->_oModule->getName() . '&content_id=' . $aRow[$CNF['FIELD_ID']];
+        $sUrl = BX_DOL_URL_ROOT . 'page/audit-administration?module=' . $this->_oModule->getName() . '&content_id=' . $aRow[$CNF['FIELD_ID']];
 
     	$a['attr'] = array_merge($a['attr'], array(
     		"onclick" => "window.open('" . $sUrl . "','_audit');"

+ 1 - 1
modules/base/groups/classes/BxBaseModGroupsGridAdministration.php

@@ -27,7 +27,7 @@ class BxBaseModGroupsGridAdministration extends BxBaseModProfileGridAdministrati
     	
     	$CNF = &$this->_oModule->_oConfig->CNF;
         $oProfile = $this->_getProfileObject($aRow[$CNF['FIELD_ID']]);
-        $sUrl = BX_DOL_URL_ROOT . 'studio/audit.php?context_id=' . $oProfile->id();
+        $sUrl = BX_DOL_URL_ROOT . 'page/audit-administration?context_id=' . $oProfile->id();
 
     	$a['attr'] = array_merge($a['attr'], array(
     		"onclick" => "window.open('" . $sUrl . "','_audit');"

+ 1 - 1
modules/base/profile/classes/BxBaseModProfileGridAdministration.php

@@ -97,7 +97,7 @@ class BxBaseModProfileGridAdministration extends BxBaseModGeneralGridAdministrat
     	
     	$CNF = &$this->_oModule->_oConfig->CNF;
         $oProfile = $this->_getProfileObject($aRow[$CNF['FIELD_ID']]);
-        $sUrl = BX_DOL_URL_ROOT . 'studio/audit.php?actor_id=' . $oProfile->id();
+        $sUrl = BX_DOL_URL_ROOT . 'page/audit-administration?actor_id=' . $oProfile->id();
 
     	$a['attr'] = array_merge($a['attr'], array(
     		"onclick" => "window.open('" . $sUrl . "','_audit');"

+ 18 - 0
modules/boonex/decorous/data/template/system/scripts/BxTemplAuditGrid.php

@@ -0,0 +1,18 @@
+<?php
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+defined('BX_DOL') or die('hack attempt');
+
+class BxTemplAuditGrid extends BxBaseAuditGrid
+{
+    function __construct($sPage = '')
+    {
+        parent::__construct($sPage);
+    }
+}
+/** @} */

+ 21 - 0
modules/boonex/decorous/data/template/system/scripts/BxTemplAuditServices.php

@@ -0,0 +1,21 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+
+/**
+ * @see BxBaseCmtsServices
+ */
+class BxTemplAuditServices extends BxBaseAuditServices
+{
+    public function __construct()
+    {
+        parent::__construct();
+    }
+}
+
+/** @} */

+ 18 - 0
modules/boonex/lucid/data/template/system/scripts/BxTemplAuditGrid.php

@@ -0,0 +1,18 @@
+<?php
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+defined('BX_DOL') or die('hack attempt');
+
+class BxTemplAuditGrid extends BxBaseAuditGrid
+{
+    function __construct($sPage = '')
+    {
+        parent::__construct($sPage);
+    }
+}
+/** @} */

+ 21 - 0
modules/boonex/lucid/data/template/system/scripts/BxTemplAuditServices.php

@@ -0,0 +1,21 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+
+/**
+ * @see BxBaseCmtsServices
+ */
+class BxTemplAuditServices extends BxBaseAuditServices
+{
+    public function __construct()
+    {
+        parent::__construct();
+    }
+}
+
+/** @} */

+ 18 - 0
modules/boonex/ocean/data/template/system/scripts/BxTemplAuditGrid.php

@@ -0,0 +1,18 @@
+<?php
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+defined('BX_DOL') or die('hack attempt');
+
+class BxTemplAuditGrid extends BxBaseAuditGrid
+{
+    function __construct($sPage = '')
+    {
+        parent::__construct($sPage);
+    }
+}
+/** @} */

+ 21 - 0
modules/boonex/ocean/data/template/system/scripts/BxTemplAuditServices.php

@@ -0,0 +1,21 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+
+/**
+ * @see BxBaseCmtsServices
+ */
+class BxTemplAuditServices extends BxBaseAuditServices
+{
+    public function __construct()
+    {
+        parent::__construct();
+    }
+}
+
+/** @} */

+ 18 - 0
modules/boonex/protean/data/template/system/scripts/BxTemplAuditGrid.php

@@ -0,0 +1,18 @@
+<?php
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+defined('BX_DOL') or die('hack attempt');
+
+class BxTemplAuditGrid extends BxBaseAuditGrid
+{
+    function __construct($sPage = '')
+    {
+        parent::__construct($sPage);
+    }
+}
+/** @} */

+ 21 - 0
modules/boonex/protean/data/template/system/scripts/BxTemplAuditServices.php

@@ -0,0 +1,21 @@
+<?php defined('BX_DOL') or die('hack attempt');
+/**
+ * Copyright (c) UNA, Inc - https://una.io
+ * MIT License - https://opensource.org/licenses/MIT
+ *
+ * @defgroup    UnaTemplate UNA Template Classes
+ * @{
+ */
+
+/**
+ * @see BxBaseCmtsServices
+ */
+class BxTemplAuditServices extends BxBaseAuditServices
+{
+    public function __construct()
+    {
+        parent::__construct();
+    }
+}
+
+/** @} */

+ 0 - 42
studio/classes/BxDolStudioAuditGrid.php

@@ -1,42 +0,0 @@
-<?php defined('BX_DOL') or die('hack attempt');
-/**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup    UnaStudio UNA Studio
- * @{
- */
-
-class BxDolStudioAuditGrid extends BxTemplStudioGrid
-{
-    protected $sModule;
-    
-    public function __construct ($aOptions, $oTemplate = false)
-    {
-        parent::__construct ($aOptions, $oTemplate);
-        
-        $this->_sDefaultSortingOrder = 'DESC';
-        
-        $this->oDb = new BxDolStudioFormsQuery();
-
-        $sModule = bx_get('module');
-        if(!empty($sModule)) {
-            $this->sModule = bx_process_input($sModule);
-            $this->_aQueryAppend['module'] = $this->sModule;
-        }
-    }
-    
-    protected function _getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage)
-    {
-        $sModule = $this->sModule;
-        if(strpos($sFilter, $this->sParamsDivider) !== false)
-            list($sModule, $sFilter) = explode($this->sParamsDivider, $sFilter);
-
-        if($sModule != '')
-            $this->_aOptions['source'] .= $this->oDb->prepareAsString(" AND `content_module`=?", $sModule);
-        
-        return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
-    }
-}
-
-/** @} */

+ 0 - 49
studio/js/forms_audit.js

@@ -1,49 +0,0 @@
-/**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup    UnaStudio UNA Studio
- * @{
- */
-function BxDolStudioFormsAudit(oOptions) {
-    this.sActionsUrl = oOptions.sActionUrl;
-    this.sPageUrl = oOptions.sPageUrl;
-    this.sObjNameGrid = oOptions.sObjNameGrid;
-    this.sObjName = oOptions.sObjName == undefined ? 'oBxDolStudioFormsAudit' : oOptions.sObjName;
-    this.sAnimationEffect = oOptions.sAnimationEffect == undefined ? 'fade' : oOptions.sAnimationEffect;
-    this.iAnimationSpeed = oOptions.iAnimationSpeed == undefined ? 'slow' : oOptions.iAnimationSpeed;
-    this.sParamsDivider = oOptions.sParamsDivider == undefined ? '#-#' : oOptions.sParamsDivider;
-
-    this.sTextSearchInput = oOptions.sTextSearchInput == undefined ? '' : oOptions.sTextSearchInput;
-}
-
-BxDolStudioFormsAudit.prototype.onChangeModule = function () {
-    this.reloadGrid($('#bx-grid-module-' + this.sObjNameGrid).val());
-};
-
-BxDolStudioFormsAudit.prototype.reloadGrid = function (sModule) {
-    var bReload = false;
-    var oActions = $("[bx_grid_action_independent]");
-    if(!sModule){
-        oActions.addClass('bx-btn-disabled');
-    }
-    else {
-        oActions.removeClass('bx-btn-disabled');
-    }
-    console.log(glGrids);
-    console.log(2);
-    console.log(this.sObjNameGrid);
-    if (glGrids[this.sObjNameGrid]._oQueryAppend['module'] != sModule) {
-        glGrids[this.sObjNameGrid]._oQueryAppend['module'] = sModule;
-        bReload = true;
-    }
-
-    if (bReload) {
-        var sValueSearch = $('#bx-grid-search-' + this.sObjNameGrid).val();
-        if (sValueSearch == this.sTextSearchInput)
-            sValueSearch = '';
-
-        glGrids[this.sObjNameGrid].setFilter(sModule + this.sParamsDivider + sValueSearch, true);
-    }
-};
-/** @} */

+ 1 - 1
studio/template/forms_audit.html

@@ -1,6 +1,6 @@
 __content__
 <script type="text/javascript">
-    var __js_object__ = new BxDolStudioFormsAudit({
+    var __js_object__ = new BxDolAuditManageTools({
         sActionUrl: '<bx_url_root />audit.php',
         sPageUrl: '__page_url__',
         sObjNameGrid: '__grid_object__',

+ 9 - 6
studio/template/scripts/BxBaseStudioAudit.php

@@ -24,10 +24,6 @@ class BxBaseStudioAudit extends BxDolStudioAudit
             BX_DOL_STUDIO_AUD_TYPE_GENERAL => array('icon' => 'search'),
             BX_DOL_STUDIO_AUD_TYPE_SETTINGS => array('icon' => 'cogs'),
 	    );
-
-		$this->aGridObjects = array(
-        	'audit' => 'sys_studio_audit'
-    );
     }
 	
     function getPageCss()
@@ -92,13 +88,20 @@ class BxBaseStudioAudit extends BxDolStudioAudit
 
     protected function getGrid($sObjectName)
     {
-        $oGrid = BxDolGrid::getObjectInstance($sObjectName);
+        
+        $oGrid = BxDolGrid::getObjectInstance('sys_audit_administration');
         if(!$oGrid)
             return '';
 
+        $oTemplate = BxDolStudioTemplate::getInstance();
+        $oTemplate->addJs(array('BxDolAuditManageTools.js', 'BxDolGrid.js', 'jquery-ui.min.js', 'jquery.form.min.js', 'jquery-ui\jquery-ui.custom.min.js' , 'jquery-ui\jquery.ui.sortable.min.js'));
+        //$oForm = new BxTemplStudioFormView(array());
+        $oTemplate->addCss('grid.css');
+        $oTemplate->addJsTranslation(array('_sys_grid_search'));
+      
         return BxDolStudioTemplate::getInstance()->parseHtmlByName('audit.html', array(
             'content' => $this->getBlockCode(array(
-				'items' => $oGrid->getCode()
+				'items' =>$oGrid->getCode()
 			)),
             'js_content' => ''
         ));

+ 0 - 184
studio/template/scripts/BxBaseStudioAuditGrid.php

@@ -1,184 +0,0 @@
-<?php defined('BX_DOL') or die('hack attempt');
-/**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup    UnaView UNA Studio Representation classes
- * @ingroup     UnaStudio
- * @{
- */
-
-class BxBaseStudioAuditGrid extends BxDolStudioAuditGrid
-{
-    function __construct($aOptions, $oTemplate = false)
-    {
-        parent::__construct($aOptions, $oTemplate);
-    }
-    
-    protected function _addJsCss()
-    {
-        parent::_addJsCss();
-        $this->_oTemplate->addJs(array('jquery.form.min.js', 'forms_audit.js'));
-
-        $oForm = new BxTemplStudioFormView(array());
-        $oForm->addCssJs();
-    }
-    
-	protected function _getCellAdded($mixedValue, $sKey, $aField, $aRow)
-    {
-        return parent::_getCellDefault(bx_time_js($mixedValue), $sKey, $aField, $aRow);
-    }
-    
-    protected function _getCellAction ($mixedValue, $sKey, $aField, $aRow)
-    {
-        return parent::_getCellDefault(_t($aRow['action_lang_key'], $aRow['action_lang_key_params']), $sKey, $aField, $aRow);
-    }
-    
-    protected function _getCellContent ($mixedValue, $sKey, $aField, $aRow)
-    {
-        $mixedValue = '';
-        if ($aRow['content_id'] > 0 && $aRow['content_info_object'] != ''){
-            $oContentInfo = BxDolContentInfo::getObjectInstance($aRow['content_info_object']);
-            if ($oContentInfo){
-    	        $sTitle = bx_process_output($oContentInfo->getContentTitle($aRow['content_id']));
-                if ($sTitle != ''){
-                    $mixedValue =  $this->_oTemplate->parseHtmlByName('account_link.html', array(
-                        'href' => $oContentInfo->getContentLink($aRow['content_id']),
-                        'title' =>  $sTitle,
-                        'content' =>  $sTitle,
-                        'class' => 'bx-def-font-grayed'
-                    ));
-                }
-            }
-        }
-        if ($mixedValue == ''){
-            $mixedValue = bx_process_output($aRow['content_title']);
-        }
-        return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow);
-    }
-    
-    protected function _getCellContext ($mixedValue, $sKey, $aField, $aRow)
-    {
-        if ($aRow['context_profile_id'] > 0){
-    	    $oProfile = BxDolProfile::getInstance($aRow['context_profile_id']);
-            if ($oProfile){
-    	        $sProfile = $oProfile->getDisplayName();
-                $mixedValue =  $this->_oTemplate->parseHtmlByName('account_link.html', array(
-                    'href' => $oProfile->getUrl(),
-                    'title' => $sProfile,
-                    'content' => $sProfile,
-                    'class' => 'bx-def-font-grayed'
-                ));
-            }
-            else{
-                $mixedValue = $aRow['context_profile_title'];
-            }
-        }
-        else{
-            $mixedValue = '';
-        }
-        return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow);
-    }
-    
-    protected function _getCellModule ($mixedValue, $sKey, $aField, $aRow)
-    {
-        $oModule = bxDolModule::getInstance($aRow['content_module']);
-        if($oModule && $oModule instanceof iBxDolContentInfoService){
-            $mixedValue = $oModule->_aModule['title'];
-        }
-        else{
-            $mixedValue = $aRow['content_module'];
-        }
-        return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow);
-    }
-    
-    
-    protected function _getCellProfile ($mixedValue, $sKey, $aField, $aRow)
-    {
-        if ($aRow['profile_id'] > 0){
-    	    $oProfile = BxDolProfile::getInstance($aRow['profile_id']);
-            if ($oProfile){
-    	        $sProfile = $oProfile->getDisplayName();
-                $mixedValue =  $this->_oTemplate->parseHtmlByName('account_link.html', array(
-                    'href' => $oProfile->getUrl(),
-                    'title' => $sProfile,
-                    'content' => $sProfile,
-                    'class' => 'bx-def-font-grayed'
-                ));
-            }
-            else{
-                $mixedValue = $aRow['profile_title'];
-            }
-        }
-        else{
-            $mixedValue = '';
-        }
-        return parent::_getCellDefault($mixedValue, $sKey, $aField, $aRow);
-    }
-    
-    protected function _getFilterControls ()
-    {
-        parent::_getFilterControls();
-
-        $aInputModules = $this->getModulesSelectOneArray('getAudit', false, false);
-		$aInputModules['values'] = array_merge(array('' => _t('_adm_txt_select_module')), $aInputModules['values']);
-		$oForm = new BxTemplStudioFormView(array());
-        $sContent = $oForm->genRow($aInputModules);
-        $oForm = new BxTemplStudioFormView(array());
-
-        $aInputSearch = array(
-            'type' => 'text',
-            'name' => 'keyword',
-            'attrs' => array(
-                'id' => 'bx-grid-search-' . $this->_sObject,
-            ),
-            'tr_attrs' => array(
-                'style' => 'display:none;'
-            )
-        );
-        $sContent .= $oForm->genRow($aInputSearch);
-
-        return  $sContent;
-    }
-    
-    protected function _getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage)
-    {
-        $sFilterContent = bx_get('content_id');
-        if(!empty($sFilter2)) {
-            $sFilterContent = bx_process_input($sFilterContent);
-            $this->_aOptions['source'] .= " AND `content_id` = " .  $sFilterContent . 'AND `content_module` = ' . $this->sModule;
-        }
-        
-        $sFilterContext = bx_get('context_id');
-        if(!empty($sFilterContext)) {
-            $sFilterContext = bx_process_input($sFilterContext);
-            $this->_aOptions['source'] .= " AND `context_profile_id` = " .  $sFilterContext;
-        }
-        
-        $sPrifile = bx_get('profile_id');
-        if(!empty($sPrifile)) {
-            $sPrifile = bx_process_input($sPrifile);
-            $this->_aOptions['source'] .= " AND `profile_id` = " .  $sPrifile;
-        }
-
-
-        return parent::_getDataSql($sFilter, $sOrderField, $sOrderDir, $iStart, $iPerPage);
-    }
-    
-    function getJsObject()
-    {
-        return 'oBxDolStudioFormsAudit';
-    }
-    
-    function getCode($isDisplayHeader = true)
-    {
-        return $this->_oTemplate->parseHtmlByName('forms_audit.html', array(
-            'content' => parent::getCode($isDisplayHeader),
-            'js_object' => $this->getJsObject(),
-            'grid_object' => $this->_sObject,
-            'params_divider' => $this->sParamsDivider
-        ));
-    }
-}
-
-/** @} */

Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini