New folders block nav
++ search field : select on focus Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
@@ -1,10 +1,17 @@
|
||||
<section class="mylists">
|
||||
<div class="mylists">
|
||||
<?php foreach ($lists as $name => $list): ?>
|
||||
<?php //dsm($list, 'list');?>
|
||||
<h2 class="listname <?php print $list['list']->name; ?>">
|
||||
<span><?php print $list['list']->title.' ('.count($list['content']).')'; ?></span>
|
||||
<a class="open-list" href="<?php print $list['list']->path; ?>"><?php print t('open this @name', array('@name'=>variable_get('flag_lists_name', 'list'))) ;?></a>
|
||||
</h2>
|
||||
<div class="flaged <?php print $list['list']->name; ?>"> <?php print render(entity_view('node', $list['content'], $viewmode)); ?> </div>
|
||||
<section class="flag-list <?php print $list['list']->name; ?>">
|
||||
<?php //dsm($list, 'list');?>
|
||||
<h2 class="listname">
|
||||
<span class="listname">
|
||||
<?php print $list['list']->title.' ('.count($list['content']).')'; ?>
|
||||
</span>
|
||||
<a class="open-list" href="<?php print $list['list']->path; ?>">
|
||||
<?php //print t('open this @name', array('@name'=>variable_get('flag_lists_name', 'list'))) ;?>
|
||||
<?php print t('open'); ?>
|
||||
</a>
|
||||
</h2>
|
||||
<div class="flaged <?php print $list['list']->name; ?>"> <?php print render(entity_view('node', $list['content'], $viewmode)); ?> </div>
|
||||
</section>
|
||||
<?php endforeach; ?>
|
||||
</section>
|
||||
</div>
|
@@ -1,7 +1,10 @@
|
||||
<section class="mylists">
|
||||
<ul>
|
||||
<?php foreach ($flags as $name => $flag): ?>
|
||||
<li class="flaglist <?php print $flag->name; ?>"><?php print $flag->title; ?></li>
|
||||
<?php //dsm($flag, 'flag') ;?>
|
||||
<li class="flaglist <?php print $flag->name; ?>">
|
||||
<?php print l($flag->title . '<span class="count">('.count($flag->flaged_content).')</span>', 'lists/'.$flag->fid, array('html'=>true,'attributes'=>array('class'=>array('open-list', $flag->name)))); ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</section>
|
@@ -33,18 +33,20 @@
|
||||
?>
|
||||
<?php //dsm($index, 'index'); ?>
|
||||
<?php //dsm($search_performance, 'search_performance'); ?>
|
||||
<?php //dsm($result_count, 'result_count'); ?>
|
||||
|
||||
<?php if (!empty($result_count)) : ?>
|
||||
<?php //if (!empty($result_count)) : ?>
|
||||
<div class="materiobase-results <?php print ' view-mode-' . $variables['view_mode'];?>">
|
||||
<?php if ($result_count) : ?>
|
||||
<p class="search-performance"><?php print render($search_performance); ?></p>
|
||||
<?php //print render($spellcheck); ?>
|
||||
<div class="search-results">
|
||||
<?php //dsm($items, '$items'); ?>
|
||||
<?php print render(entity_view($index->item_type, $items, $variables['view_mode'])); ?>
|
||||
</div>
|
||||
<?php print $pager; ?>
|
||||
<?php else : ?>
|
||||
<h2><?php print t('Your search yielded no results.');?></h2>
|
||||
<p class="search-noresults"><?php print t('Your search yielded no results.');?></p>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php //endif; ?>
|
||||
|
Reference in New Issue
Block a user