Uz news moduli, un meklējam šo <?if($MODER_PANEL$)?><div style="float:right">$MODER_PANEL$</div><?endif?> mainam pret šo:
Code
<?if($MODER_PANEL$)?>
<div class="dd_edit_news">
<a href="#" class="drop"><img alt="edit news" title="Rediģēšana" src="/ico_edit_news.png"></a>
<div class="dd_cell_n1">
<span class="dd_ugol_n1"></span>
<div class="dd_content_en">
<?if($NOT_ACTIVE$)?> <a href="javascript://" rel="nofollow" onclick="_entrRem('aib$ID$','/index/91-4-$ID$','http://ucoz-script.do.am','Aktivizēt materiālu?');return false;"><img id="aib$ID$" src="/ico_activate.png" title="Materiāla aktivizācija" align="absmiddle" border="0" height="18" width="18"></a> <?endif?>
<a href="javascript://" rel="nofollow" onclick="new _uWnd('TgEd',' ',-450,-100,{autosize:1,closeonesc:1,resize:0},{url:'/index/52-2-$ID$'});return false;"><img alt="tag" title="Materiāla tegi" src="/ico_tag.png" border="0" height="18" width="18"></a>
<a href="javascript://" rel="nofollow" onclick="new _uWnd('cntEd',' ',-280,-100,{autosize:1,closeonesc:1,resize:0},{url:'/index/87-2-$ID$'});return false;"><img alt="counters" title="Skatītāju vadība" src="/ico_counters.png" border="0" height="18" width="18"></a>
<a href="/news/0-0-0-$ID$-10"><img alt="edit" title="Rediģēt" src="/ico_edit.png" border="0" height="18" width="18"></a>
<a href="javascript://" onclick="if(confirm('Vai tiešām vēlaties dzēst šo materiālu?'))$.get('/index/92-4-$ID$-<?substr($MODER_PANEL$, strrpos($MODER_PANEL$,"','h")-8,8)?>',function(){setTimeout(function(){_uWnd.alert('Materiāls tika veiksmīgi dzēsts!!','Uzmanību',{w: 300, h: 60, tm: 1000000});$('#entryID$ID$').fadeOut('slow');},2000)});"><img onclick="_entrRem('dib$ID$','/index/92-4-$ID$','http://ucoz-script.do.am','Vai esat pārliecināts dzēst?');return false;" alt="remove" title="Dzēst materiālu" src="l/ico_remove.png" border="0" height="18" width="18"></a>
</div>
</div>
</div>
<?endif?>
CSS:
Code
.dd_edit_news {
float:right;
display:block;
position:relative;
}
.dd_edit_news .drop {padding: 0px 7px;}
.dd_cell_n1,
.dd_ugol_n1 {width:35px;}
.dd_cell_n1 {
left:-999em;
z-index:998;
position:absolute;
margin: 0 -2px 0 auto;
}
.dd_content_en {
margin:0;
width:35px;
text-align:center;
overflow:hidden;
background:#333;
}
.dd_content_en a:link,
.dd_content_en a:visited {
float:left;
width:35px;
padding: 5px 0px 3px 0px;
border-bottom: 1px solid #888;
}
.dd_content_en a:hover {background:#5f5f5f;}
.no_bb:link,
.no_bb:visited {border-bottom:none!important;}
.dd_edit_news:hover .dd_cell_n1{
top:27px;
right:0;
left:auto;
}
.dd_ugol_n1 {
height:7px;
top: -7px;
position:absolute;
background:url(/fon_ugol_news.png) no-repeat center bottom;
}
SCreen:
Piebilde: šo vietu mainat uz savu web - /index/91-4-$ID$','http://ucoz-script.do.am','Aktivizēt materiālu?')
Pielikumā bildites!