yet another template
This commit is contained in:
parent
c98ed12e10
commit
5641532936
|
@ -234,7 +234,7 @@ function display_content(&$a) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
|
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
|
||||||
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id']));
|
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
|
||||||
else
|
else
|
||||||
$drop = replace_macros(load_view_file('view/wall_fake_drop.tpl'), array('$id' => $item['id']));
|
$drop = replace_macros(load_view_file('view/wall_fake_drop.tpl'), array('$id' => $item['id']));
|
||||||
|
|
||||||
|
|
|
@ -354,7 +354,7 @@ function network_content(&$a, $update = 0) {
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id']));
|
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1148,7 +1148,7 @@ function photos_content(&$a) {
|
||||||
$drop = '';
|
$drop = '';
|
||||||
|
|
||||||
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
|
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
|
||||||
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id']));
|
$drop = replace_macros(load_view_file('view/wall_item_drop.tpl'), array('$id' => $item['id'], '$delete' => t('Delete')));
|
||||||
|
|
||||||
|
|
||||||
$o .= replace_macros($template,array(
|
$o .= replace_macros($template,array(
|
||||||
|
|
|
@ -339,7 +339,7 @@ function profile_content(&$a, $update = 0) {
|
||||||
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
|
if(($item['contact-id'] == remote_user()) || ($item['uid'] == local_user()))
|
||||||
$dropping = true;
|
$dropping = true;
|
||||||
|
|
||||||
$drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id']));
|
$drop = replace_macros((($dropping)? $droptpl : $fakedrop), array('$id' => $item['id'], '$delete' => t('Delete')));
|
||||||
|
|
||||||
|
|
||||||
$like = ((isset($alike[$item['id']])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : '');
|
$like = ((isset($alike[$item['id']])) ? format_like($alike[$item['id']],$alike[$item['id'] . '-l'],'like',$item['id']) : '');
|
||||||
|
|
|
@ -1,4 +0,0 @@
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" ><a
|
|
||||||
href="item/drop/$id" onclick="return confirmDelete();" ><img
|
|
||||||
src="images/b_drophide.gif" alt="Löschen" title="Löschen" id="wall-item-delete-icon-$id" class="wall-item-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div>
|
|
||||||
<div class="wall-item-delete-end"></div>
|
|
|
@ -1,2 +0,0 @@
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" ><a href="item/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="Delete" title="Delete" id="wall-item-delete-icon-$id" class="wall-item-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div>
|
|
||||||
<div class="wall-item-delete-end"></div>
|
|
|
@ -1,2 +0,0 @@
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" ><a href="item/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="Delete" title="Delete" id="wall-item-delete-icon-$id" class="wall-item-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div>
|
|
||||||
<div class="wall-item-delete-end"></div>
|
|
|
@ -1,9 +0,0 @@
|
||||||
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" >
|
|
||||||
<a href="item/drop/$id" onclick="return confirmDelete();" >
|
|
||||||
<img src="images/b_drophide.gif" alt="Cancella" title="Cancella" id="wall-item-delete-icon-$id" class="wall-item-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" >
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="wall-item-delete-end">
|
|
||||||
</div>
|
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" ><a href="item/drop/$id" onclick="return confirmDelete();" ><img src="images/b_drophide.gif" alt="$delete" title="$delete" id="wall-item-delete-icon-$id" class="wall-item-delete-icon" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a></div>
|
||||||
|
<div class="wall-item-delete-end"></div>
|
Loading…
Reference in New Issue
Block a user