Esempio n. 1
0
<?php

/**
 * @package Component cedTag for Joomla! 2.5
 * @author waltercedric.com
 * @copyright (C) 2012 http://www.waltercedric.com 2010- http://www.joomlatags.org
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 **/
defined('_JEXEC') or die('Restricted access');
$limitstart = JRequest::getVar('limitstart', 0, '', 'int');
$mainframe = JFactory::getApplication();
$search = $mainframe->getUserStateFromRequest('articleelement.search', 'search', '', 'string');
$search = JString::strtolower($search);
$rows = $this->termList->list;
require_once JPATH_SITE . '/components/com_cedtag/helpers/suggest.php';
$CedTagSuggest = new CedTagSuggest();
$CedTagSuggest->addAdminJs(array(), null);
?>

<form action="<?php 
echo JRoute::_('index.php?controller=term&option=com_cedtag');
?>
" method="post" name="adminForm" id="adminForm">
    <fieldset id="filter-bar">
        <div class="filter-search fltlft">
            <label for="search"><input
                    type="text"
                    placeholder="<?php 
echo JText::_('Filter by Term');
?>
"
Esempio n. 2
0
<?php

/**
 * @package Component cedTag for Joomla! 2.5
 * @author waltercedric.com
 * @copyright (C) 2012 http://www.waltercedric.com 2010- http://www.joomlatags.org
 * @license GNU/GPL http://www.gnu.org/copyleft/gpl.html
 **/
defined('_JEXEC') or die('Restricted access');
require_once JPATH_SITE . '/components/com_cedtag/helpers/suggest.php';
$id = strval(intval(JRequest::getString('article_id')));
$CedTagSuggest = new CedTagSuggest();
$CedTagSuggest->addAdminJs($this->tags, $id);
?>

<h1><?php 
echo JText::_('Joomla cedTag');
?>
</h1>

<form method="post" name="adminForm" id="adminForm">
    <?php 
echo JText::_('You type tags and when you hit Enter, Comma or Space they will become a little nice formatted box with the value. You can click on the boxes to remove them (a little x on the corner).');
echo JText::_('You can also remove already typed tags with Backspace.');
echo JText::_('There is also a autocomplete, so if you type, say "jav" it will appear java and javascript (for example).');
?>
    <div class="clr"></div>

    <ul id="tags<?php 
echo $id;
?>
Esempio n. 3
0
        ?>
                <?php 
        echo $item->language_title ? $this->escape($item->language_title) : JText::_('JUNDEFINED');
        ?>
                <?php 
    }
    ?>
            </td>
            <td class="center">
                <?php 
    echo (int) $item->id;
    ?>
            </td>
            <td class="center">
                <?php 
    $CedTagSuggest = new CedTagSuggest();
    $CedTagSuggest->addAdminJs($item->tagit, $item->id, $tabindex++);
    ?>
                <ul id="tags<?php 
    echo (int) $item->id;
    ?>
" class="tags" style="width: 400px;"></ul>

            </td>
        </tr>
            <?php 
}
?>
        </tbody>
    </table>