';
break;
case 2:
// set buttons to top left of the view
- $this->fileContentDynamic[$viewName]['###SITE_TOP_BUTTON###'] = 'toolbar->render(); ?>';
+ $this->fileContentDynamic[$viewName][$this->hhh . 'SITE_TOP_BUTTON' . $this->hhh] = 'toolbar->render(); ?>';
break;
case 3:
// set buttons to buttom right of the view
- $this->fileContentDynamic[$viewName]['###SITE_BOTTOM_BUTTON###'] = '
Upgrade to Version " . $this->fileContentStatic[$this->hhh . 'ACTUALVERSION' . $this->hhh] . " Was Successful! Let us know if anything is not working as expected.
";
-
- $add = false;
- }
- else
- {
- // start building the links
- $link = '&id=id; ?>';
- // check if custom links should be added to this list views
- if (isset($this->customAdminViewListLink[$viewName_list]) && ComponentbuilderHelper::checkArray($this->customAdminViewListLink[$viewName_list]) && $firstTimeBeingAdded)
- {
- // make sure the custom links are only added once
- $firstTimeBeingAdded = false;
- // start building the links
- $customAdminView = PHP_EOL . "\t\t\t" . '
';
}
// now build the template
foreach ($bucket as $tabCodeName => $posions)
@@ -6983,9 +7181,9 @@ class Interpretation extends Fields
{
case 1: // left
case 2: // right
- $main .= PHP_EOL . "\t\t\t" . '
";
// check if left has been set
if (strlen($leftside) > 0)
@@ -7320,32 +7518,32 @@ class Interpretation extends Fields
{
// set view name
$fadein[] = "";
- $fadein[] = "
';
// check if this view has fields that should not be escaped
$doNotEscape = false;
if (isset($this->doNotEscape[$viewName_list]))
@@ -7572,266 +7774,81 @@ class Interpretation extends Fields
// start adding the dynamic
foreach ($this->listBuilder[$viewName_list] as $item)
{
+ // set the ref
+ $ref = '&ref=' . $refview . '&refid=';
+ // set some defaults
+ $customAdminViewButtons = '';
+ // set the item row
+ $itemRow = $this->getListItemBuilder($item, $viewName_single, $viewName_list, $itemClass, $doNotEscape, $coreLoad, $core, false, $ref, '$displayData->escape', '$user', $refview);
+ // check if buttons was aready added
+ if ($firstTimeBeingAdded) // TODO we must improve this to allow more items to be targeted instead of just the first item :)
+ {
+ // get custom admin view buttons
+ $customAdminViewButtons = $this->getCustomAdminViewButtons($item, $viewName_single, $viewName_list, $coreLoad, $ref);
+ // make sure the custom admin view buttons are only added once
+ $firstTimeBeingAdded = false;
+ }
+ // add row to body
+ $body .= PHP_EOL . $this->_t(2) . "
';
// set the tab to insure correct spacing
- $tab = "\t\t\t";
+ $tab = $this->_t(3);
// change the name of the main tab
$mainAccordianName = 'Control Panel';
$loadTabs = true;
@@ -12338,60 +12408,60 @@ class Interpretation extends Fields
}
// set dashboard display
$display[] = $tab . '
configFieldSets[] = $this->_t(2) . 'name="' . $tabCode . '"';
+ $this->configFieldSets[] = $this->_t(2) . 'label="' . $lang . '_' . $tabUpper . '">';
// set the fields
$this->configFieldSets[] = implode("", $bucket);
// close field set
- $this->configFieldSets[] = "\t
";
+ $this->configFieldSets[] = $this->_t(1) . "
";
}
// remove after loading
unset($this->configFieldSetsCustomField[$tab]);
@@ -13164,10 +13234,10 @@ class Interpretation extends Fields
if (isset($this->setGroupControl) && ComponentbuilderHelper::checkArray($this->setGroupControl))
{
// start building field set for config
- $this->configFieldSets[] = "\t
";
+ $this->configFieldSets[] = $this->_t(1) . "";
}
public function setUikitConfigFieldsets($lang)
@@ -13538,10 +13608,10 @@ class Interpretation extends Fields
// main lang prefix
$lang = $lang . '';
// start building field set for uikit functions
- $this->configFieldSets[] = "\t