예제 #1
0
 * ------------------------------------------------------------------------
 * JUDownload for Joomla 2.5, 3.x
 * ------------------------------------------------------------------------
 *
 * @copyright      Copyright (C) 2010-2015 JoomUltra Co., Ltd. All Rights Reserved.
 * @license        GNU General Public License version 2 or later; see LICENSE.txt
 * @author         JoomUltra Co., Ltd
 * @website        http://www.joomultra.com
 * @----------------------------------------------------------------------@
 */
// No direct access to this file
defined('_JEXEC') or die('Restricted access');
?>
<div class="category-tree">
	<?php 
echo JUDownloadHelper::getCategoryDTree();
?>
</div>

<div id="judl-search" style="margin-top: 15px;">
	<form name="search-form" id="search-form" action="index.php?option=com_judownload" method="POST">
		<fieldset>
			<div class="input-append">
				<input type="text" name="searchword" class="input-medium" size="20" maxlength="250" value="<?php 
echo $this->searchword;
?>
" placeholder="<?php 
echo JText::_('COM_JUDOWNLOAD_SEARCH');
?>
" />
				<button type="submit" name="submit_simple_search" class="btn"><i class="icon-search"></i>&nbsp;</button>
예제 #2
0
    }
}
if ($actions->get("judl.category.create")) {
    if ($this->catGroupCanDoManage) {
        echo "<li><a class='add-category' href='index.php?option=com_judownload&task=category.add&parent_id={$cat_id}'><i class='icon-folder-plus'></i>" . JText::_('COM_JUDOWNLOAD_ADD_CATEGORY') . "</a></li>";
    }
}
if (JUDownloadHelper::checkGroupPermission(null, "pendingdocuments") && JUDLPROVERSION) {
    echo "<li><a class='approved' href='index.php?option=com_judownload&view=pendingdocuments'><i class='icon-clock'></i>" . JText::sprintf('COM_JUDOWNLOAD_PENDING_DOCUMENTS_N', JUDownloadHelper::getTotalPendingDocuments()) . "</a></li>";
}
?>
</ul>

<div class="category-tree">
	<?php 
echo JUDownloadHelper::getCategoryDTree($cat_id);
?>
</div>

<div id="judl-search" style="margin-top: 15px;">
	<form name="search-form" id="search-form" action="index.php?option=com_judownload" method="POST">
		<fieldset>
			<div class="input-append">
				<input type="text" name="searchword" class="input-medium" size="20" maxlength="250" value="" placeholder="<?php 
echo JText::_('COM_JUDOWNLOAD_SEARCH');
?>
" />
				<button type="submit" name="submit_simple_search" class="btn"><i class="icon-search"></i>&nbsp;</button>
			</div>
		</fieldset>