Skip to content

Commit

Permalink
Navigation: workaround for published echo problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepwinter committed May 5, 2011
1 parent ae10cbe commit 7ec5d96
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion modules/navigation/views/navigationNode.php
@@ -1,7 +1,16 @@

<? $keys = array_keys($content);?>
<?// echo $keys[2];?>
<?// echo $content[$keys[2]];?>
<?// if($keys[2] == 'published'):?>
<?//=$content['published'];?>
<?//endif;?>
<?//=$content['published'];?>

<li class="node <?=$content['nodeType'];?> <?=$content['contentType'];?> clearFix" id="node_<?=$content['id'];?>">
<h5><?=$content['title'];?></h5>
<div class="methods">
<a class="icon togglePublish published" href="#" title="unpublish NodeTitle">publish</a>
<a class="icon togglePublish <?echo $content[$keys[2]]?'published':'';?> " href="#" title="unpublish <?=$content['title'];?>">publish</a>
<a class="icon removeNode" title="delete">delete</a>
</div>
</li>
Expand Down

0 comments on commit 7ec5d96

Please sign in to comment.