Commit e618ed73 authored by Pat Kira's avatar Pat Kira Committed by Robert Lyon
Browse files

Remove whitespace classes (bug: 1465107)

behatnotneeded: styling only

Change-Id: Ie47b903e93816c7bac53437bdbb3842020a0effe
parent 51a0dd57
......@@ -144,7 +144,7 @@ EOF;
$value = pieform_element_date_get_timeperiod_value('minute', 0, 59, $element, $form);
$label = get_string('datepicker_minuteText');
$minute = '<label for="' . $name . '_minute" class="accessible-hidden sr-only">' . $label . '</label>';
$minute .= '<span class="picker mlxs"><select class="form-control select" name="' . $name . '_minute" id="' . $name . '_minute"'
$minute .= '<span class="picker date"><select class="form-control select" name="' . $name . '_minute" id="' . $name . '_minute"'
. (!$required && !$dateisset ? ' disabled="disabled"' : '')
. ' tabindex="' . Pieform::hsc($element['tabindex']) . '"';
if (isset($element['description'])) {
......
......@@ -71,7 +71,7 @@ function pieform_element_fieldset(Pieform $form, $element) {
$legendcontent = '<a href="#' . $openparam . '" data-toggle="collapse" aria-expanded="'.$ariaexpanded.'" aria-controls="' . $openparam . '" class="'.$triggerclass.'">';
if (!empty($element['iconclass'])){
$legendcontent .= '<span class="icon icon-'.$element['iconclass'].' prl type-icon"> </span>';
$legendcontent .= '<span class="icon-fieldset icon icon-'.$element['iconclass'].'"> </span>';
}
$legendcontent .= Pieform::hsc($element['legend']);
$legendcontent .= '<span class="icon icon-chevron-down collapse-indicator right pull-right"> </span> ';
......
......@@ -225,7 +225,6 @@ function general_account_prefs_form_elements($prefs) {
'type' => 'radio',
'defaultvalue' => $prefs->friendscontrol,
'title' => get_string('friendsdescr', 'account'),
'class' => 'mrs mls',
'options' => array(
'nobody' => get_string('friendsnobody', 'account'),
'auth' => get_string('friendsauth', 'account'),
......@@ -2120,6 +2119,7 @@ function friends_control_sideblock($returnto='myfriends') {
'elements' => array(
'friendscontrol' => array(
'type' => 'radio',
'class' => 'last',
'defaultvalue' => $USER->get_account_preference('friendscontrol'),
'options' => array(
'nobody' => get_string('friendsnobody', 'account'),
......@@ -2132,7 +2132,7 @@ function friends_control_sideblock($returnto='myfriends') {
),
'submit' => array(
'type' => 'submit',
'class' => 'btn-primary mts pull-right',
'class' => 'btn-primary',
'value' => get_string('save')
),
'returnto' => array(
......@@ -2251,7 +2251,7 @@ function addfriend_form($friendid) {
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-default last',
'value' => '<span class="icon icon-user-plus icon-lg prs"></span>' . get_string('addtofriendslist', 'group'),
'value' => '<span class="icon icon-user-plus icon-lg left"></span>' . get_string('addtofriendslist', 'group'),
),
'id' => array(
'type' => 'hidden',
......
......@@ -6297,7 +6297,7 @@ function create_view_form($group=null, $institution=null, $template=null, $colle
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-default',
'value' => '<span class="icon icon-plus icon-lg prs"></span>' . get_string('createview', 'view'),
'value' => '<span class="icon icon-plus icon-lg left"></span>' . get_string('createview', 'view'),
),
'submitcollection' => array(
'type' => 'hidden',
......@@ -6331,7 +6331,7 @@ function create_view_form($group=null, $institution=null, $template=null, $colle
$form['elements']['submitcollection'] = array(
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-sm btn-default mts',
'class' => 'btn-sm btn-default',
'value' => get_string('copycollection', 'collection'),
);
}
......@@ -6341,7 +6341,7 @@ function create_view_form($group=null, $institution=null, $template=null, $colle
'value' => $template,
);
$form['elements']['submit']['value'] = get_string('copyview', 'view');
$form['elements']['submit']['class'] = 'btn-default btn-sm mrm';
$form['elements']['submit']['class'] = 'btn-default btn-sm';
$form['name'] .= $template;
}
return $form;
......
......@@ -4047,7 +4047,7 @@ function build_pagination($params) {
// add ellipsis if pages skipped
$text = $i + 1;
if ($k != 0 && $prevpagenum < $i - 1) {
$text = $i + 1 . '<span class="pls metadata hidden-xs">...</span>';
$text = $i + 1 . '<span class="metadata hidden-xs">...</span>';
}
if ($i == $page) {
......
......@@ -58,7 +58,7 @@ $form = pieform(array(
'type' => 'button',
'usebuttontag' => true,
'class' => 'btn-primary input-group-btn',
'value' => '<span class="icon icon-filter prs"></span>' . get_string('filter'),
'value' => '<span class="icon icon-filter left"></span>' . get_string('filter'),
),
),
),
......
</div><!-- end main-column -->
</div><!-- mainmiddle -->
</main>
{if $SIDEBARS && $SIDEBLOCKS.right}
<div class="col-md-3 sidebar">
{include file="sidebar.tpl" blocks=$SIDEBLOCKS.right}
</div>
{/if}
{if $SIDEBARS && $SIDEBLOCKS.left}
<div class="col-md-3 col-md-pull-9 sidebar">
{include file="sidebar.tpl" blocks=$SIDEBLOCKS.left}
</div>
{/if}
</div><!-- row -->
</div><!-- container -->
</div><!-- middle-container-wrap -->
<footer class="{if $editing == true}editcontent{/if} footer container">
<div class="footer-inner">
<div id="powered-by" class="pull-left prl">
<a href="http://mahara.org/">
<img src="{theme_url filename='images/powered_by_mahara.png'}" alt="Powered by Mahara">
</a>
</div>
<!-- This site is powered by Mahara, an Open Source
ePortfolio system. See http://mahara.org/ for more
details.
NOTE: this image and link are a way that you can
support the Mahara project. Please consider
displaying them on your site to spread the word! -->
<ul class="nav nav-pills footer-nav pull-left">
{foreach from=$FOOTERMENU item=item name=footermenu}
<li class="">
<a href="{$item.url}">{$item.title}</a>
</li>
{/foreach}
</ul>
<div class="metadata pull-right ptm" id="version">
{mahara_version}
</div>
<div class="metadata text-center ptm fullwidth pull-left">
<!-- there is a div id="performance-info" wrapping this -->
{mahara_performance_info}
</div><!-- end main-column -->
</div><!-- mainmiddle -->
</main>
{if $SIDEBARS && $SIDEBLOCKS.right}
<div class="col-md-3 sidebar">
{include file="sidebar.tpl" blocks=$SIDEBLOCKS.right}
</div>
{/if}
{if $SIDEBARS && $SIDEBLOCKS.left}
<div class="col-md-3 col-md-pull-9 sidebar">
{include file="sidebar.tpl" blocks=$SIDEBLOCKS.left}
</div>
{/if}
</div><!-- row -->
</div><!-- container -->
</div><!-- middle-container-wrap -->
<footer class="{if $editing == true}editcontent{/if} footer container">
<div class="footer-inner">
<div id="powered-by" class="pull-left mahara-logo">
<a href="http://mahara.org/">
<img src="{theme_url filename='images/powered_by_mahara.png'}" alt="Powered by Mahara">
</a>
</div>
<!-- This site is powered by Mahara, an Open Source
ePortfolio system. See http://mahara.org/ for more
details.
NOTE: this image and link are a way that you can
support the Mahara project. Please consider
displaying them on your site to spread the word! -->
<ul class="nav nav-pills footer-nav pull-left">
{foreach from=$FOOTERMENU item=item name=footermenu}
<li class="">
<a href="{$item.url}">{$item.title}</a>
</li>
{/foreach}
</ul>
<div class="metadata pull-right mahara-version" id="version">
{mahara_version}
</div>
<div class="metadata text-center fullwidth site-performace">
<!-- there is a div id="performance-info" wrapping this -->
{mahara_performance_info}
</div>
</div>
<div class="clearfix">
</div>
</div>
</footer><!-- footer-wrap -->
{if $ADDITIONALHTMLFOOTER}{$ADDITIONALHTMLFOOTER|safe}{/if}
</footer><!-- footer-wrap -->
{if $ADDITIONALHTMLFOOTER}{$ADDITIONALHTMLFOOTER|safe}{/if}
</body>
</html>
......@@ -12,19 +12,19 @@
{if $USERMASQUERADING}
<div class="site-message alert alert-warning" role="alert">
<span class="icon icon-lg icon-exclamation-triangle prm"></span>
<span class="icon icon-lg icon-exclamation-triangle left"></span>
{$masqueradedetails} {$becomeyouagain|safe}
</div>
{/if}
{if !$PRODUCTIONMODE}
<div class="site-message alert alert-info" role="alert">
<span class="icon icon-lg icon-info-circle prm"></span>
<span class="icon icon-lg icon-info-circle left"></span>
{str tag=notproductionsite section=error}
</div>
{/if}
{if $SITECLOSED}
<div class="site-message alert alert-danger" role="alert">
<span class="icon icon-lg icon-lock prm"></span>
<span class="icon icon-lg icon-lock left"></span>
{if $SITECLOSED == 'logindisabled'}{str tag=siteclosedlogindisabled section=mahara arg1="`$WWWROOT`admin/upgrade.php"}{else}{str tag=siteclosed}{/if}
</div>
{/if}
......
......@@ -2,10 +2,10 @@
echo $form_tag;
?>
<div class="panel-items mb0 ml0">
<div class="panel-items panel-items-no-margin">
<div class="step step1 panel panel-default first" id="step1">
<h3 class="panel-heading"><?php echo get_string('usercreationmethod', 'admin'); ?></h3>
<div class="panel-body mbl">
<div class="panel-body">
<div class="choice">
<input type="radio" name="createmethod" class="ic"<?php if (!isset($_POST['createmethod']) || $_POST['createmethod'] == 'scratch') { ?> checked="checked"<?php } ?> id="createfromscratch" value="scratch">
<label for="createfromscratch"><?php echo get_string('createnewuserfromscratch', 'admin'); ?></label>
......@@ -22,12 +22,12 @@ echo $form_tag;
</div>
<?php } ?>
</div>
<div class="option-alt panel-body pt0 pbxl">
<div class="option-alt panel-body">
<span class="option-alt-divider" id="or">
<?php echo get_string('Or', 'admin'); ?>
</span>
<div class="choice ptm mtxl pbl">
<div class="choice">
<input type="radio" name="createmethod" class="ic"<?php if (isset($_POST['createmethod']) && $_POST['createmethod'] == 'leap2a') { ?> checked="checked"<?php } ?> id="uploadleap" value="leap2a"> <label for="uploadleap"><?php echo get_string('uploadleap2afile', 'admin'); ?></label> <?php echo get_help_icon('core', 'admin', 'adduser', 'leap2afile'); ?>
</div>
<?php echo $elements['leap2afile']['html']; ?>
......@@ -59,16 +59,17 @@ echo $form_tag;
<div class="step step3 panel panel-default">
<h3 class="panel-heading"><?php echo get_string('create', 'admin'); ?></h3>
<div class="panel-body">
<!-- Button trigger modal -->
<button type="button" class="btn btn-link pl0" data-toggle="modal-docked" data-target="#general-account-options">
<span class="icon icon-cog prs text-default"></span>
<?php echo get_string('accountoptionsdesc', 'account'); ?>
</button>
<div class="mtl">
<!-- Button trigger modal -->
<button type="button" class="btn btn-link" data-toggle="modal-docked" data-target="#general-account-options">
<span class="icon icon-cog left text-default"></span>
<?php echo get_string('accountoptionsdesc', 'account'); ?>
</button>
<div class="form-group">
<?php echo $elements['submit']['html']; ?>
</div>
<p class="metadata ptl"><?php echo get_string('userwillreceiveemailandhastochangepassword', 'admin'); ?></p>
<div class="metadata form-group html">
<?php echo get_string('userwillreceiveemailandhastochangepassword', 'admin'); ?>
</div>
</div>
</div>
</div>
......
......@@ -26,7 +26,7 @@ $output = '<div id="viewlayout_basic_container" class="basiclayoutfieldset form-
$output .= '<fieldset class="pieform-fieldset basiclayoutfieldset collapsible">'
. '<legend><h3><a href="#viewlayout_layoutselect_container" data-toggle="collapse" aria-expanded="true" aria-controls="#viewlayout_layoutselect_container" class="">'
. get_string('basicoptions', 'view')
. '<span class="icon icon-chevron-down pls collapse-indicator pull-right"></span></a></h3></legend>';
. '<span class="icon icon-chevron-down collapse-indicator pull-right"></span></a></h3></legend>';
$output .= '<div id="viewlayout_layoutselect_container" class="layoutselect fieldset-body collapse in">';
$output .= '<h4 class="title form-group">'
. get_string('viewlayoutpagedescription', 'view');
......@@ -37,19 +37,19 @@ $output .= '<span class="help" id="basiclayouthelp">'
. '</h4>';
// basic layout options
$output .= '<div id="basiclayoutoptions" class="clearfix ptl">';
$output .= '<div id="basiclayoutoptions" class="layoutoptions-container">';
foreach ($templatedata['basiclayoutoptions'] as $value => $data) {
$description = (isset($data['description'])) ? $data['description'] : '';
$text = Pieform::hsc($data['columns']);
$output .= '<div class="layoutoption thumbnail pull-left text-center mlm">'
$output .= '<div class="layoutoption"><div class="thumbnail text-center">'
. '<label class="accessible-hidden sr-only" for="radiolayout_' . Pieform::hsc($value) . '">' . $text . '</label>'
. ($description != '' ? '<div class="radio-description">' . $description . '</div>' : '')
. '<div class="layoutthumb">' . $data['layout'] . '</div>'
. '<input type="radio" id="radiolayout_' . Pieform::hsc($value) . '" name="layoutselect"'
. ' value="' . Pieform::hsc($value) . '"'
. (($templatedata['currentlayout'] == $value) ? ' checked="checked"' : '') . '>'
. '</div>';
. '</div></div>';
}
$output .= '</div>';
......@@ -61,7 +61,7 @@ $output .= '<div id="viewlayout_adv_container" class="advancedlayoutfieldset for
$output .= '<fieldset class="pieform-fieldset advancedlayoutfieldset collapsible collapsed">'
. '<legend><h3><a href="#viewlayout_advancedlayoutselect_container" data-toggle="collapse" aria-expanded="false" aria-controls="#viewlayout_advancedlayoutselect_container" class="collapsed">'
. get_string('advancedoptions', 'view')
. '<span class="icon icon-chevron-down pls collapse-indicator pull-right"> </span></a></h3></legend>';
. '<span class="icon icon-chevron-down collapse-indicator pull-right"> </span></a></h3></legend>';
$output .= '<div id="viewlayout_advancedlayoutselect_container" class="advancedlayoutselect fieldset-body collapse">';
for ($row = 0; $row < $templatedata['maxrows']; $row++) {
......@@ -72,14 +72,14 @@ for ($row = 0; $row < $templatedata['maxrows']; $row++) {
$output .= get_string('row', 'view');
$output .= '</h4>';
$output .= '<div class="clearfix" id="viewlayout_advancedlayoutselect_row' . ($row + 1) . '">';
$output .= '<div class="layoutoptions-container" id="viewlayout_advancedlayoutselect_row' . ($row + 1) . '">';
foreach ($templatedata['layoutoptions'] as $value => $data) {
if ($data['rows'] == $row+1) {
$description = (isset($data['description'])) ? $data['description'] : '';
$text = Pieform::hsc($data['columns']);
$output .= '<div class="layoutoption thumbnail pull-left text-center mlm">'
$output .= '<div class="layoutoption"><div class="thumbnail text-center">'
. '<label class="accessible-hidden sr-only" for="advancedlayout_' . Pieform::hsc($value) . '">' . $text . '</label>'
. ($description != '' ? '<div class="radio-description">' . $description . '</div>' : '')
......@@ -87,7 +87,7 @@ for ($row = 0; $row < $templatedata['maxrows']; $row++) {
. '<input type="radio" name="advancedlayoutselect" id="advancedlayout_' . Pieform::hsc($value) . '"'
. ' value="' . Pieform::hsc($value) . '"'
. (($templatedata['currentlayout'] == $value) ? ' checked="checked"' : '') . '>'
. '</div>';
. '</div></div>';
}
}
$output .= '</div>';
......@@ -97,7 +97,7 @@ $output .= '</fieldset>';
$output .= '<fieldset class="pieform-fieldset cretelayoutfieldset collapsible collapsed last">'
. '<legend><h3><a href="#viewlayout_createcustomlayout_container" data-toggle="collapse" aria-expanded="false" aria-controls="#viewlayout_createcustomlayout_container" class="collapsed">'
. get_string('createcustomlayout', 'view')
. '<span class="icon icon-chevron-down pls collapse-indicator pull-right"> </span></a></h3></legend>';
. '<span class="icon icon-chevron-down collapse-indicator pull-right"> </span></a></h3></legend>';
$output .= '<div id="viewlayout_createcustomlayout_container" class="createcustomlayout fieldset-body collapse">';
......@@ -146,8 +146,8 @@ $output .= '<div id="createcustomlayoutpane" class="row col-static">'
// 'Add row' button
$output .='<button type="button" name="addrow" class="btn btn-sm btn-default mtm" id="addrow" onclick="CustomLayoutManager.customlayout_add_row()">'
.'<span class="icon icon-lg icon-plus-circle prm"></span>'
$output .='<button type="button" name="addrow" class="btn btn-sm btn-default" id="addrow" onclick="CustomLayoutManager.customlayout_add_row()">'
.'<span class="icon icon-lg icon-plus-circle left"></span>'
. get_string('addarow', 'view')
.'</button>'
. '</div>';
......@@ -168,7 +168,7 @@ $output .= '<div id="previewcustomlayoutpane" class="panel-footer">'
// close 'createcustomlayoutpane' container
$output .= '</fieldset></div>';
echo $output;
echo '<div id="exportsubmitcontainer" class="mtxl">';
echo '<div id="exportsubmitcontainer" class="button">';
echo $elements['submit']['html'];
echo '</div>';
echo $hidden_elements;
......
<div class="panel-body">
<div class="panel-body flush">
{$text|clean_html|safe}
{if $artefact->get('tags')}
<div class="tags">{str tag=tags}: {list_tags owner=$artefact->get('owner') tags=$artefact->get('tags')}</div>
<div class="tags">
<strong>{str tag=tags}:</strong> {list_tags owner=$artefact->get('owner') tags=$artefact->get('tags')}
</div>
{/if}
</div>
{if $annotationfeedbackcount || $annotationfeedbackcount == 0}
{$annotationfeedback|safe}
{/if}
</div>
{if $addannotationscript}
<script type="application/javascript" src="{$addannotationscript}"></script>
......
......@@ -29,7 +29,7 @@
</div>
<div class="modal-body">
{if $allowfeedback && !$editing}
<div id="add_annotation_feedback_{$blockid}" class="mbxl">
<div id="add_annotation_feedback_{$blockid}">
{$addannotationfeedbackform|safe}
</div>
{/if}
......
{foreach from=$data item=item}
<li class="{cycle name=rows values='r0,r1'}{if $item->highlight} list-group-item-warning{/if}{if $item->makepublicform} list-group-item-warning{/if} list-group-item">
<div class="comment-heading clearfix">
<span class="user-icon small-icon pull-left mls mts mrm">
<li class="{if $item->highlight} list-group-item-warning{/if}{if $item->makepublicform} list-group-item-warning{/if} list-group-item">
<div class="usericon-heading">
<span class="user-icon small-icon pull-left">
{if $item->author}
<img src="{profile_icon_url user=$item->author maxheight=25 maxwidth=25}" alt="{str tag=profileimagetext arg1=$item->author|display_default_name}">
{else}
<img src="{profile_icon_url user=null maxheight=20 maxwidth=20}" alt="{str tag=profileimagetextanonymous}">
{/if}
</span>
<h5 class="pull-left mt0">
<h5 class="list-group-item-heading pull-left">
{if $item->author}
<a href="{$item->author->profileurl}">
{/if}
......@@ -40,11 +40,11 @@
</div>
{if $item->deletedmessage}
<div class="metadata">
<div class="metadata content-text">
{$item->deletedmessage}
</div>
{else}
<div>
<div class="content-text">
{$item->description|safe|clean_html}
</div>
......@@ -66,7 +66,7 @@
{/if}
{if $item->makepublicrequested}
<span class="icon icon-lock text-default prs"></span>
<span class="icon icon-lock text-default left"></span>
{/if}
</div>
{/if}
......
{if ($editing)}
{if (count($blogs) == 1)}
<a class="panel-footer {if (count($blogs) != 1)} hidden{/if}">
<span id="blog_{$blogs[0]->id}" class="icon icon-plus prs"></span>
<span id="blog_{$blogs[0]->id}" class="icon icon-plus left"></span>
{str tag='shortcutnewentry' section='artefact.blog'}
</a>
{else}
......@@ -16,7 +16,7 @@
</select>
<span class="input-group-btn">
<a class="btn btn-default btnshortcut">
<span class="icon icon-plus text-success prs"></span> {str tag='shortcutadd' section='artefact.blog'}
<span class="icon icon-plus text-success left"></span> {str tag='shortcutadd' section='artefact.blog'}
</a>
</span>
</div>
......@@ -26,17 +26,22 @@
<div class="recentblogpost list-group">
{foreach from=$mostrecent item=post}
<div class="list-group-item">
<h4 class="list-group-item-heading mb0">
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&amp;view={$view}" class="">
{$post->title}
</a>
{str tag='postedin' section='blocktype.blog/recentposts'}
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->parent}&amp;view={$view}">{$post->parenttitle}</a>
<span class="metadata">
{str tag='postedon' section='blocktype.blog/recentposts'}
{$post->displaydate}
</span>
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&amp;view={$view}" class="outer-link">
<span class="sr-only">{$post->title}</span>
</a>
<h4 class="list-group-item-heading text-inline">
{$post->title}
</h4>
<span class="text-small">
{str tag='postedin' section='blocktype.blog/recentposts'}
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->parent}&amp;view={$view}" class="inner-link">
{$post->parenttitle}
</a>
</span>
<span class="metadata">
{str tag='postedon' section='blocktype.blog/recentposts'}
{$post->displaydate}
</span>
</div>
{/foreach}
</div>
......@@ -9,20 +9,20 @@
<input class="select" type="hidden" value="{$tagselect}">
<span class="input-group-btn">
<a class="btn btnshortcut btn-default">
<span class="icon icon-plus text-success prs"></span>
<span class="icon icon-plus text-success left"></span>
{str tag='shortcutadd' section='artefact.blog'}
</a>
</span>
</div>
</div>
<a class="btn btnshortcut feedback panel-footer mtl {if (count($blogs) != 1)} hidden{/if}">
<span class="icon icon-plus prs"></span>
<span class="icon icon-plus left"></span>
{str tag='shortcutnewentry' section='artefact.blog'}
</a>
</div>
{/if}
<p class="taggedpost-title text-lighttone mtm">
<div class="taggedpost-title text-lighttone panel-body flush">
{$blockheading|clean_html|safe}
{if $viewowner}
{$tag} {str tag='by' section='artefact.blog'}
......@@ -30,7 +30,7 @@
{else}
<a href="{$WWWROOT}tags.php?tag={$tag}&sort=name&type=text">{$tag}</a>
{/if}
</p>
</div>
{if $configerror}
<span class="text-lighttone">{str tag='configerror' section='blocktype.blog/taggedposts'}</span>
......@@ -38,81 +38,83 @@
<span class="text-lighttone">{str tag='notags' section='blocktype.blog/taggedposts' arg1=$badtag}</span>
{elseif $full}
<div id="blogdescription">
<div id="postlist_{$blockid}" class="postlist list-group list-group-unbordered">
{foreach from=$results item=post}
<div class="post list-group-item">
<h4 class="title">
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&view={$view}">
{$post->title}
</a>
</h4>
<div class="postdetails metadata">
<span class="icon icon-calendar mrs"></span>
{$post->postedbyon}
</div>
<div class="tags metadata">
<span class="icon icon-tags"></span>
<strong>{str tag=tags}:</strong>
{list_tags owner=$post->owner tags=$post->taglist}
</div>
<div id="postlist_{$blockid}" class="list-group">
{foreach from=$results item=post}
<div class="post list-group-item">
<h4 class="list-group-heading">
<a href="{$WWWROOT}artefact/artefact.php?artefact={$post->id}&view={$view}">
{$post->title}
</a>
</h4>
<div class="postdetails metadata">
<span class="icon icon-calendar left"></span>