smarty->ext->_validateCompiled->decodeProperties($_smarty_tpl, array ( 'has_nocache_code' => false, 'version' => '3.1.29', 'unifunc' => 'content_56c862a5efce24_83205747', 'file_dependency' => array ( 'b21e1ae023e8764dee858d9f51874562b6419614' => array ( 0 => '/ow_plugins/usernotes/views/components/profile_widget.html', 1 => 1455043622, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_56c862a5efce24_83205747 ($_smarty_tpl) { if (!is_callable('smarty_function_text')) require_once '/ow_smarty/plugin/function.text.php'; ?> tpl_vars['noteExists']->value) {?> tpl_vars['i'] = new Smarty_Variable;$_smarty_tpl->tpl_vars['i']->step = 1;$_smarty_tpl->tpl_vars['i']->total = (int) ceil(($_smarty_tpl->tpl_vars['i']->step > 0 ? $_smarty_tpl->tpl_vars['totalnotes']->value+1 - (0) : 0-($_smarty_tpl->tpl_vars['totalnotes']->value)+1)/abs($_smarty_tpl->tpl_vars['i']->step)); if ($_smarty_tpl->tpl_vars['i']->total > 0) { for ($_smarty_tpl->tpl_vars['i']->value = 0, $_smarty_tpl->tpl_vars['i']->iteration = 1;$_smarty_tpl->tpl_vars['i']->iteration <= $_smarty_tpl->tpl_vars['i']->total;$_smarty_tpl->tpl_vars['i']->value += $_smarty_tpl->tpl_vars['i']->step, $_smarty_tpl->tpl_vars['i']->iteration++) { $_smarty_tpl->tpl_vars['i']->first = $_smarty_tpl->tpl_vars['i']->iteration == 1;$_smarty_tpl->tpl_vars['i']->last = $_smarty_tpl->tpl_vars['i']->iteration == $_smarty_tpl->tpl_vars['i']->total;?>
tpl_vars['notes']->value[$_smarty_tpl->tpl_vars['i']->value]['name'];?> @ tpl_vars['notes']->value[$_smarty_tpl->tpl_vars['i']->value]['time'];?>

tpl_vars['notes']->value[$_smarty_tpl->tpl_vars['i']->value]['message'];?>

tpl_vars['edit']->value) {?>'usernote+edit_note'),$_smarty_tpl);?> ')" class="ow_lbutton ow_red">'usernote+delete_note'),$_smarty_tpl);?>
tpl_vars['more']->value) {?>
'usernote+all_notes'),$_smarty_tpl);?>

'usernote+no_note_for_profile'),$_smarty_tpl);?>

'usernote+add_note'),$_smarty_tpl);?>
> var backurl = 'tpl_vars['backurl']->value;?> '; var titlevar = 'tpl_vars['edittitle']->value;?> '; var foldnote = 'tpl_vars['fold']->value;?> '; > > if(foldnote) { $('div.notebody').hide(100); } $('.noteedit').click(function(){ var clickid = $(this).attr('id'); window.OW.ajaxFloatBox('USERNOTE_CMP_EditNote',{id:clickid,url:backurl}, {width:440, iconClass: 'ow_ic_add',title:titlevar}); }); if(foldnote) { $('div.noteheader').toggle( function(){ oldsel = $(this); $(this).next('div').slideDown(400,function(){oldsel.addClass('un_project').removeClass('un_unproject');}); //console.log('first'); }, function(){ oldsel = $(this); $(this).next('div.notebody').slideUp(400,function(){oldsel.addClass('un_unproject').removeClass('un_project');}); //console.log('second'); }); } >