Поменял локальную авторизацию на UID пользователи и выбрал старую версию
надпись вход через uid хочу убрать использую
<script type="text/javascript">
window.onload = function () {
document.getElementById('uidLogButton').style.display='none';
document.getElementById('baseLogForm').style.display='block';
}
</script>
Но минус в том, что он работает только псле полной загрузки страницы, и очень сильно бросается на глаза.
Решил сделать по другому как указано в ответе на вопрос и прописал в CSS
.uid-login {display:none !important;}
Окно авторизации размещено в глобальном блоке, там нет ссылки на CSS как её правильно прпоисать? Не сталкивался с этим.
Для входа на сайт использую следующий код :
<table style="width: 230px;" align="center" border="0" cellpadding="0" cellspacing="1" width="">
<tbody><tr align="center"><td style="background-image: url("http://alfadom.ucoz.ru/three_0.gif"); background-repeat: repeat; background-attachment: scroll; background-position: left top; background-clip: border-box; background-origin: padding-box; background-size: auto auto; letter-spacing: 0px; word-spacing: 0px; text-align: center; vertical-align: middle;" height="21"><span style="color: rgb(255, 255, 255); font-weight: bold;">
Личный кабинет</span><br></td></tr>
<tr><td style="background: none repeat scroll 0% 0% rgb(255, 255, 0); border-color: rgb(0, 100, 0); border-width: 3px; border-style: none solid solid; text-align: left; vertical-align: middle; letter-spacing: 0pt; word-spacing: 0pt; width: 230px;"><!-- <bc> --><div align="center">
<?if($USER_AVATAR_URL$)?><div align="center">
<img style="margin-top: 5px;" alt="" class="userAvatar" title="$USERNAME$" src="$USER_AVATAR_URL$" height="200" width="200">
</div><?else?><?if($USER_LOGGED_IN$)?><?else?><?endif?><?endif?><?if($USER_LOGGED_IN$)?><span style="font-weight: bold;"><div align="center"><div align="left"><strong><span style="font-size: 8pt;"></span></strong><br>
<div align="center"><span style="font-weight: bold; font-size: 8pt;">
<strong><b>$USER_GROUP$</b></strong></span><span style="font-weight: bold; font-size: 8pt;"><strong><span style="font-size: 8pt;"><b><br>
$USER_FULL_NAME$</b></span></strong></span><br></div> <br><span style="font-size: 8pt;">
» Вы здесь: <span style="font-weight: bold; color: rgb(255, 0, 0); font-size: 8pt;">
$USER_REG_DAYS$</span>-й день<br> <a href="/index/11">» Редактировать
данные</a><br>
<a href="/board/0-0-$USER_ID$-0-17">» Мои объявления</a><br>
<span style="font-weight: bold; font-size: 8pt;"> <a href="$ADD_ENTRY_LINK$">
» Добавить объявление</a></span><br><span style="font-weight: bold; font-size: 8pt;"> <a href="$LOGOUT_LINK$">
»</a></span><a href="$LOGOUT_LINK$"> Выход</a>
</span><!--%IFTH6%2% uzzscript type="text/javascript">function flashit(id,cl){var c=document.getElementById(id);if (c.style.color=='red'){c.style.color=cl;}else {c.style.color='red';}}setInterval("flashit('upml2','')",500)</script>%IFEN6%2%--> </div>
<script language=javascript type=text/javascript>
function openOnClick(client_type)
{
if(client_type=="mail")clientWindow = window.open("$PM_URL$","pmw","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
if(client_type=="send")clientWindow = window.open("/index/14-999-0-1","pms","scrollbars=1,top=0,left=0,resizable=1,width=850,height=350") || alert("Отключите блокировку всплывающих окон!");
if(client_type=="options")clientWindow = window.open("/index/11","options","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
if(client_type=="users")clientWindow = window.open("$USERS_LIST_URL$","users","scrollbars=1,top=0,left=0,resizable=1,width=680,height=350") || alert("Отключите блокировку всплывающих окон!");
}
</script>
<?else?><div style="text-align: center;">Гость, мы рады вас видеть. Пожалуйста
зарегистрируйтесь или авторизуйтесь!
</div><?endif?></div><div style="text-align: center;">
<table style="width: 100%; border-collapse: collapse;" align="center"><tbody><tr>
<td style="padding-top: 5px; padding-bottom: 5px; letter-spacing: 0pt; word-spacing: 0pt; padding-right: 5px;" class="<script type="text/javascript"> "><div align="center"><span style="font-weight: bold;">
$LOGIN_FORM$</span></div></td></tr></tbody></table><!-- </bc> --></div></span></div></td></tr>
</tbody></table>