Index: class.tx_templavoila_api.php =================================================================== --- class.tx_templavoila_api.php (revision 27850) +++ class.tx_templavoila_api.php (working copy) @@ -1393,6 +1393,7 @@ 'sys_language_uid' => $row['sys_language_uid'], 'l18n_parent' => $row['l18n_parent'], 'CType' => $row['CType'], + 'TO' => $row['tx_templavoila_to'], ); if ($this->includePreviewData) { @@ -1421,6 +1422,7 @@ if (is_array ($currentTemplateObject)) $templateMappingArr = unserialize($currentTemplateObject['templatemapping']); $tree['ds_is_found'] = is_array($rawDataStructureArr); $tree['ds_meta'] = $rawDataStructureArr['meta']; + $flexformContentArr = t3lib_div::xml2array($row['tx_templavoila_flex']); if (!is_array($flexformContentArr)) $flexformContentArr = array(); Index: mod1/class.tx_templavoila_mod1_clipboard.php =================================================================== --- mod1/class.tx_templavoila_mod1_clipboard.php (revision 27850) +++ mod1/class.tx_templavoila_mod1_clipboard.php (working copy) @@ -153,7 +153,7 @@ $copyIcon = 'pObj->doc->backPath,'gfx/clip_copy'.($clipActive_copy ? '_h':'').'.gif','').' title="'.$LANG->getLL ('copyrecord').'" border="0" alt="" />'; $cutIcon = 'pObj->doc->backPath,'gfx/clip_cut'.($clipActive_cut ? '_h':'').'.gif','').' title="'.$LANG->getLL ('cutrecord').'" border="0" alt="" />'; - $refIcon = 'pObj->doc->backPath,t3lib_extMgm::extRelPath('templavoila').'mod1/clip_ref'.($clipActive_ref ? '_h':'').'.gif','').' title="'.$LANG->getLL ('createreference').'" border="0" alt="" />'; + $refIcon = 'pObj->doc->backPath,t3lib_extMgm::extRelPath('templavoila').'mod1/clip_ref'.($clipActive_ref ? '_h':'').'.gif','').' title="'.$LANG->getLL ('createreference').'" vspace="2" hspace="2" alt="" />'; $removeElement = '&CB[removeAll]=normal'; $setElement = '&CB[el]['.rawurlencode('tt_content|'.$elementRecord['uid']).']=1'; @@ -223,8 +223,8 @@ // Prepare the ingredients for the different buttons: $pasteMode = isset ($this->t3libClipboardObj->clipData['normal']['flexMode']) ? $this->t3libClipboardObj->clipData['normal']['flexMode'] : ($this->t3libClipboardObj->clipData['normal']['mode'] == 'copy' ? 'copy' : 'cut'); - $pasteAfterIcon = 'pObj->doc->backPath,'gfx/clip_pasteafter.gif','').' style="text-align: center; vertical-align: middle;" hspace="1" vspace="5" border="0" title="'.$LANG->getLL ('pasterecord').'" alt="" />'; - $pasteSubRefIcon = ''; + $pasteAfterIcon = 'pObj->doc->backPath,'gfx/clip_pasteafter.gif','').' title="'.$LANG->getLL ('pasterecord').'" alt="" />'; + $pasteSubRefIcon = ''; $sourcePointerString = $this->pObj->apiObj->flexform_getStringFromPointer ($clipboardElementPointer); $destinationPointerString = $this->pObj->apiObj->flexform_getStringFromPointer ($destinationPointer); @@ -284,15 +284,16 @@ $elementRows[] = ' -
'.$LANG->getLL('inititemno_elementsNotBeingUsed','1').': | +' . $LANG->getLL('inititemno_elementsNotBeingUsed','1') . ': | ||||||
'.$deleteAll.' | +' . $deleteAll . ' |