* * FLEXIcontent is a derivative work of the excellent QuickFAQ component * @copyright (C) 2008 Christoph Lukes * see www.schlu.net for more information * * FLEXIcontent is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ defined('_JEXEC') or die('Restricted access'); $tip_class = FLEXI_J30GE ? ' hasTooltip' : ' hasTip'; $btn_class = FLEXI_J30GE ? 'btn' : 'fc_button fcsimple'; $start_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>'; $end_text = '<div class="icon-arrow-up-2" title="' . JText::_('FLEXI_HIDE') . '" style="cursor: pointer;" onclick="fc_toggle_box_via_btn(\\\'mainChooseColBox\\\', document.getElementById(\\\'fc_mainChooseColBox_btn\\\'), \\\'btn-primary\\\');"></div>'; flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCfields', $start_text, $end_text); $edit_entry = JText::_('FLEXI_EDIT_FIELD', true); $user = JFactory::getUser(); $cparams = JComponentHelper::getParams('com_flexicontent'); $ctrl = FLEXI_J16GE ? 'fields.' : ''; $fields_task = FLEXI_J16GE ? 'task=fields.' : 'controller=fields&task='; //$field_model = JModel::getInstance('field', 'FlexicontentModel'); $flexi_yes = JText::_('FLEXI_YES'); $flexi_no = JText::_('FLEXI_NO'); $flexi_nosupport = JText::_('FLEXI_PROPERTY_NOT_SUPPORTED', true); $flexi_rebuild = JText::_('FLEXI_REBUILD_SEARCH_INDEX', true); $flexi_toggle = JText::_('FLEXI_CLICK_TO_TOGGLE', true); $ordering_draggable = $cparams->get('draggable_reordering', 1); if ($this->ordering) { $image_ordering_tip = '<img src="components/com_flexicontent/assets/images/warning.png" class="fc-man-icon-s ' . $tip_class . '" alt="Reordering" title="' . flexicontent_html::getToolTip('FLEXI_REORDERING', 'FLEXI_REORDERING_ENABLED_DESC', 1, 1) . '" /> '; $drag_handle_box = '<div class="fc_drag_handle%s" title="' . JText::_('FLEXI_ORDER_SAVE_WHEN_DONE', true) . '"></div>';
* @subpackage FLEXIcontent * @copyright (C) 2009 Emmanuel Danan - www.vistamedia.fr * @license GNU/GPL v2 * * FLEXIcontent is a derivative work of the excellent QuickFAQ component * @copyright (C) 2008 Christoph Lukes * see www.schlu.net for more information * * FLEXIcontent is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ defined('_JEXEC') or die('Restricted access'); $header_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span> ' . '<a onclick="alert(this.title);" title="' . str_replace("<br/>", "\\n", JText::_('FLEXI_CAN_ADD_CUSTOM_FIELD_COLUMNS_COMPONENT_AND_PER_TYPE', true)) . '" style="vertical-align:middle; font-size:12px; cursor:pointer;" href="javascript:;" >' . '<img src="components/com_flexicontent/assets/images/plus-button.png" /><sup>[5]</sup>' . '</a> '; flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCitems', $header_text); global $globalcats; $cparams = JComponentHelper::getParams('com_flexicontent'); $limit = $this->pagination->limit; $ctrl = FLEXI_J16GE ? 'items.' : ''; $items_task = FLEXI_J16GE ? 'task=items.' : 'controller=items&task='; $cats_task = FLEXI_J16GE ? 'task=category.' : 'controller=categories&task='; $db = JFactory::getDBO(); $config = JFactory::getConfig(); $nullDate = $db->getNullDate(); $user = JFactory::getUser(); $enable_translation_groups = $cparams->get("enable_translation_groups") && (FLEXI_J16GE || FLEXI_FISH); $autologin = ''; //$cparams->get('autoflogin', 1) ? '&fcu='.$user->username . '&fcp='.$user->password : ''; $items_list_cols = 15; if (FLEXI_J16GE || FLEXI_FISH) {
* @copyright (C) 2008 Christoph Lukes * see www.schlu.net for more information * * FLEXIcontent is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ defined('_JEXEC') or die('Restricted access'); $search_prefix = JComponentHelper::getParams('com_flexicontent')->get('add_search_prefix') ? 'vvv' : ''; // SEARCH WORD Prefix $tip_class = FLEXI_J30GE ? ' hasTooltip' : ' hasTip'; $btn_class = FLEXI_J30GE ? 'btn' : 'fc_button fcsimple'; $start_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>'; $end_text = '<div class="icon-arrow-up-2" title="' . JText::_('FLEXI_HIDE') . '" style="cursor: pointer;" onclick="fc_toggle_box_via_btn(\\\'mainChooseColBox\\\', document.getElementById(\\\'fc_mainChooseColBox_btn\\\'), \\\'btn-primary\\\');"></div>'; flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCsearch' . ($this->isADV ? '_advanced' : '_basic'), $start_text, $end_text); $edit_entry = JText::_('FLEXI_EDIT_TYPE', true); $list_total_cols = $this->isADV ? 10 : 5; ?> <script type="text/javascript"> // the function overloads joomla standard event function submitform(pressbutton) { form = document.adminForm; // Store the button task into the form if (pressbutton) { form.task.value=pressbutton; }
* @copyright (C) 2008 Christoph Lukes * see www.schlu.net for more information * * FLEXIcontent is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ defined('_JEXEC') or die('Restricted access'); $tip_class = FLEXI_J30GE ? ' hasTooltip' : ' hasTip'; $btn_class = FLEXI_J30GE ? 'btn' : 'fc_button fcsimple'; $hint_image = JHTML::image('administrator/components/com_flexicontent/assets/images/comment.png', JText::_('FLEXI_NOTES'), ''); $warn_image = JHTML::image('components/com_flexicontent/assets/images/warning.png', JText::_('FLEXI_NOTES'), ''); $start_text = '<span class="label">' . JText::_('FLEXI_COLUMNS', true) . '</span>'; $end_text = '<div class="icon-arrow-up-2" title="' . JText::_('FLEXI_HIDE') . '" style="cursor: pointer;" onclick="fc_toggle_box_via_btn(\\\'mainChooseColBox\\\', document.getElementById(\\\'fc_mainChooseColBox_btn\\\'), \\\'btn-primary\\\');"></div>'; flexicontent_html::jscode_to_showhide_table('mainChooseColBox', 'adminListTableFCfileselement_default' . $this->fieldid, $start_text, $end_text); $ctrl_task = FLEXI_J16GE ? 'task=filemanager.' : 'controller=filemanager&task='; $del_task = FLEXI_J16GE ? 'filemanager.remove' : 'remove'; $session = JFactory::getSession(); $document = JFactory::getDocument(); $cparams = JComponentHelper::getComponent('com_flexicontent')->params; $_folder_type_title = JText::_('FLEXI_URL_SECURE'); $_folder_type_desc = JText::_('FLEXI_URL_SECURE_DESC'); $secure_folder_tip = '<img src="components/com_flexicontent/assets/images/comment.png" data-placement="bottom" class="fc-man-icon-s ' . $tip_class . '" alt="' . $_folder_type_title . '" title="' . flexicontent_html::getToolTip($_folder_type_title, $_folder_type_desc, 0, 1) . '" />'; $close_btn = FLEXI_J30GE ? '<a class="close" data-dismiss="alert">×</a>' : '<a class="fc-close" onclick="this.parentNode.parentNode.removeChild(this.parentNode);">×</a>'; $alert_box = FLEXI_J30GE ? '<div %s class="alert alert-%s %s">' . $close_btn . '%s</div>' : '<div %s class="fc-mssg fc-%s %s">' . $close_btn . '%s</div>'; // Load JS tabber lib $document->addScriptVersion(JURI::root(true) . '/components/com_flexicontent/assets/js/tabber-minimized.js', FLEXI_VERSION); $document->addStyleSheetVersion(JURI::root(true) . '/components/com_flexicontent/assets/css/tabber.css', FLEXI_VERSION); $document->addScriptDeclaration(' document.write(\'<style type="text/css">.fctabber{display:none;}<\\/style>\'); '); // temporarily hide the tabbers until javascript runs