diff options
author | Andrew Dolgov <[email protected]> | 2010-11-19 19:35:35 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-19 19:35:35 +0300 |
commit | 7b5e74c75c4d5f367f0c3bf79020021ee1a807b3 (patch) | |
tree | ac90118cbb662d1cb985c6ed2b0c59bb5dff2b48 /functions.php | |
parent | e5df6e9eb48f7a9bb33810fd678ce802e1400206 (diff) |
add popup menu for headlines
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/functions.php b/functions.php index db43487da..5f4a55229 100644 --- a/functions.php +++ b/functions.php @@ -5048,6 +5048,17 @@ print "<div class='$class' id='RROW-$id' $mouseover_attrs>"; + print "<div dojoType=\"dijit.Menu\" style=\"display: none;\" + targetNodeIds=\"RROW-$id\">"; + print "<div onclick=\"view($id)\" + dojoType=\"dijit.MenuItem\">".__('View article')."</div>"; + print "<div onclick=\"hlOpenInNewTab(event, $id)\" + dojoType=\"dijit.MenuItem\">".__('View in a new tab')."</div>"; + print "<div dojoType=\"dijit.MenuSeparator\"></div>"; + print "<div onclick=\"openArticleInNewWindow($id)\" + dojoType=\"dijit.MenuItem\">".__('Open original article')."</div>"; + print "</div>"; + print "<div class='hlUpdPic'>$update_pic</div>"; print "<div class='hlLeft'>"; @@ -5088,6 +5099,8 @@ print "</div>"; + + print "<div class=\"hlRight\">"; print "<span class=\"hlUpdated\">$updated_fmt</span>"; print $score_pic; |