Skip to content

Commit

Permalink
changed name,titl
Browse files Browse the repository at this point in the history
  • Loading branch information
turnermm committed Sep 8, 2017
1 parent 63a6271 commit 996e310
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 25 deletions.
14 changes: 7 additions & 7 deletions action.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,20 +148,20 @@ function action_link(&$event, $param)
if($type == 'page') {
$display = "Index";
}

if ($INFO['perm'] > AUTH_READ) {
$title = 'Our index';
$name = 'Overlay Index';
$title = 'New index';
$name = 'New Overlay Index';
$edclass = 'ovlpagetool';
}
else {
$title = 'Their Index';
$name = 'Overlay Index';
$title = 'New Index';
$name = 'New Overlay Index';
$edclass = 'oltool';
}
$title = $display;
$link = '<a href="' . wl($ID, $params) . '" class="action ' . $edclass . '" rel="nofollow" title="' . $title . '"><span>' . $name . '</span></a>';


$link = '<a href="javascript:jQuery(\'#overlay\').toggle();void(0);" class="ovlpagetool" rel="nofollow" title="' .$title. '"><span>'. $name .'</span></a>';
if($param[0] == 'page') {
$link = '<li class = "dwedit">' . $link .'</li>';
}
Expand Down
19 changes: 1 addition & 18 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -80,22 +80,5 @@ a.overlaytools {}
background-position: right -45px;
}

/* oltool icon */
#dokuwiki__pagetools ul li a.oltool {
background-position: right 0;
}
#dokuwiki__pagetools ul li a.oltool:before {
content: url(ovl_sprite.png);
margin-top: 0;
}
#dokuwiki__pagetools:hover ul li a.oltool,
#dokuwiki__pagetools ul li a.oltool:focus,
#dokuwiki__pagetools ul li a.oltool:active {
background-image: url(ovl_sprite.png);
}
#dokuwiki__pagetools ul li a.oltool:hover,
#dokuwiki__pagetools ul li a.oltool:active,
#dokuwiki__pagetools ul li a.oltool:focus {
background-position: right -45px;
}


0 comments on commit 996e310

Please sign in to comment.