You've already forked joomla_test
first commit
This commit is contained in:
25
modules/mod_k2_tools/tmpl/archive.php
Normal file
25
modules/mod_k2_tools/tmpl/archive.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: archive.php 1899 2013-02-08 18:57:03Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2ArchivesBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<ul>
|
||||
<?php foreach ($months as $month): ?>
|
||||
<li>
|
||||
<a href="<?php echo $month->link; ?>">
|
||||
<?php echo $month->name.' '.$month->y; ?>
|
||||
<?php if ($params->get('archiveItemsCounter')) echo '('.$month->numOfItems.')'; ?>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
44
modules/mod_k2_tools/tmpl/authors.php
Normal file
44
modules/mod_k2_tools/tmpl/authors.php
Normal file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: authors.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2AuthorsListBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<ul>
|
||||
<?php foreach ($authors as $author): ?>
|
||||
<li>
|
||||
<?php if ($params->get('authorAvatar')): ?>
|
||||
<a class="k2Avatar abAuthorAvatar" rel="author" href="<?php echo $author->link; ?>" title="<?php echo K2HelperUtilities::cleanHtml($author->name); ?>">
|
||||
<img src="<?php echo $author->avatar; ?>" alt="<?php echo K2HelperUtilities::cleanHtml($author->name); ?>" style="width:<?php echo $avatarWidth; ?>px;height:auto;" />
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
|
||||
<a class="abAuthorName" rel="author" href="<?php echo $author->link; ?>">
|
||||
<?php echo $author->name; ?>
|
||||
|
||||
<?php if ($params->get('authorItemsCounter')): ?>
|
||||
<span>(<?php echo $author->items; ?>)</span>
|
||||
<?php endif; ?>
|
||||
</a>
|
||||
|
||||
<?php if ($params->get('authorLatestItem')): ?>
|
||||
<a class="abAuthorLatestItem" href="<?php echo $author->latest->link; ?>" title="<?php echo K2HelperUtilities::cleanHtml($author->latest->title); ?>">
|
||||
<?php echo $author->latest->title; ?>
|
||||
<span class="abAuthorCommentsCount">
|
||||
(<?php echo $author->latest->numOfComments; ?> <?php if($author->latest->numOfComments=='1') echo JText::_('K2_MODK2TOOLS_COMMENT'); else echo JText::_('K2_MODK2TOOLS_COMMENTS'); ?>)
|
||||
</span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
43
modules/mod_k2_tools/tmpl/breadcrumbs.php
Normal file
43
modules/mod_k2_tools/tmpl/breadcrumbs.php
Normal file
@ -0,0 +1,43 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: breadcrumbs.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2BreadcrumbsBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<?php
|
||||
$output = '';
|
||||
if ($params->get('home')) {
|
||||
$output .= '<span class="bcTitle">'.JText::_('K2_YOU_ARE_HERE').'</span>';
|
||||
$output .= '<a href="'.JURI::root().'">'.$params->get('home',JText::_('K2_HOME')).'</a>';
|
||||
if (count($path)) {
|
||||
foreach ($path as $link) {
|
||||
$output .= '<span class="bcSeparator">'.$params->get('seperator','»').'</span>'.$link;
|
||||
}
|
||||
}
|
||||
if($title){
|
||||
$output .= '<span class="bcSeparator">'.$params->get('seperator','»').'</span>'.$title;
|
||||
}
|
||||
} else {
|
||||
if($title){
|
||||
$output .= '<span class="bcTitle">'.JText::_('K2_YOU_ARE_HERE').'</span>';
|
||||
}
|
||||
if (count($path)) {
|
||||
foreach ($path as $link) {
|
||||
$output .= $link.'<span class="bcSeparator">'.$params->get('seperator','»').'</span>';
|
||||
}
|
||||
}
|
||||
$output .= $title;
|
||||
}
|
||||
|
||||
echo $output;
|
||||
?>
|
||||
</div>
|
18
modules/mod_k2_tools/tmpl/calendar.php
Normal file
18
modules/mod_k2_tools/tmpl/calendar.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: calendar.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2CalendarBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<?php echo $calendar; ?>
|
||||
<div class="clr"></div>
|
||||
</div>
|
17
modules/mod_k2_tools/tmpl/categories.php
Normal file
17
modules/mod_k2_tools/tmpl/categories.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: categories.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2CategoriesListBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<?php echo $output; ?>
|
||||
</div>
|
17
modules/mod_k2_tools/tmpl/customcode.php
Normal file
17
modules/mod_k2_tools/tmpl/customcode.php
Normal file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: customcode.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2CustomCodeBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<?php echo $customcode; ?>
|
||||
</div>
|
49
modules/mod_k2_tools/tmpl/search.php
Normal file
49
modules/mod_k2_tools/tmpl/search.php
Normal file
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: search.php 1899 2013-02-08 18:57:03Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
/*
|
||||
Important note:
|
||||
If you wish to use the live search option, it's important that you maintain the same class names for wrapping elements, e.g. the wrapping div and form.
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2SearchBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); if($params->get('liveSearch')) echo ' k2LiveSearchBlock'; ?>">
|
||||
<form action="<?php echo $action; ?>" method="get" autocomplete="off" class="k2SearchBlockForm">
|
||||
|
||||
<input type="text" value="<?php echo $text; ?>" name="searchword" maxlength="<?php echo $maxlength; ?>" size="<?php echo $width; ?>" alt="<?php echo $button_text; ?>" class="inputbox" onblur="if(this.value=='') this.value='<?php echo $text; ?>';" onfocus="if(this.value=='<?php echo $text; ?>') this.value='';" />
|
||||
|
||||
<?php if($button): ?>
|
||||
<?php if($imagebutton): ?>
|
||||
<input type="image" value="<?php echo $button_text; ?>" class="button" onclick="this.form.searchword.focus();" src="<?php echo JURI::base(true); ?>/components/com_k2/images/fugue/search.png" />
|
||||
<?php else: ?>
|
||||
<input type="submit" value="<?php echo $button_text; ?>" class="button" onclick="this.form.searchword.focus();" />
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<input type="hidden" name="categories" value="<?php echo $categoryFilter; ?>" />
|
||||
<?php if(!$app->getCfg('sef')): ?>
|
||||
<input type="hidden" name="option" value="com_k2" />
|
||||
<input type="hidden" name="view" value="itemlist" />
|
||||
<input type="hidden" name="task" value="search" />
|
||||
<?php endif; ?>
|
||||
<?php if($params->get('liveSearch')): ?>
|
||||
<input type="hidden" name="format" value="html" />
|
||||
<input type="hidden" name="t" value="" />
|
||||
<input type="hidden" name="tpl" value="search" />
|
||||
<?php endif; ?>
|
||||
</form>
|
||||
|
||||
<?php if($params->get('liveSearch')): ?>
|
||||
<div class="k2LiveSearchResults"></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
24
modules/mod_k2_tools/tmpl/tags.php
Normal file
24
modules/mod_k2_tools/tmpl/tags.php
Normal file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
/**
|
||||
* @version $Id: tags.php 1812 2013-01-14 18:45:06Z lefteris.kavadas $
|
||||
* @package K2
|
||||
* @author JoomlaWorks http://www.joomlaworks.net
|
||||
* @copyright Copyright (c) 2006 - 2013 JoomlaWorks Ltd. All rights reserved.
|
||||
* @license GNU/GPL license: http://www.gnu.org/copyleft/gpl.html
|
||||
*/
|
||||
|
||||
// no direct access
|
||||
defined('_JEXEC') or die;
|
||||
|
||||
?>
|
||||
|
||||
<div id="k2ModuleBox<?php echo $module->id; ?>" class="k2TagCloudBlock<?php if($params->get('moduleclass_sfx')) echo ' '.$params->get('moduleclass_sfx'); ?>">
|
||||
<?php foreach ($tags as $tag): ?>
|
||||
<?php if(!empty($tag->tag)): ?>
|
||||
<a href="<?php echo $tag->link; ?>" style="font-size:<?php echo $tag->size; ?>%" title="<?php echo $tag->count.' '.JText::_('K2_ITEMS_TAGGED_WITH').' '.K2HelperUtilities::cleanHtml($tag->tag); ?>">
|
||||
<?php echo $tag->tag; ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
<div class="clr"></div>
|
||||
</div>
|
Reference in New Issue
Block a user