[Isis-users] Default settings in ABCD entry page

Guilda Ascencio gascencio at msinfo.info
Tue Dec 7 12:54:44 CET 2010


Edit the htdocs->index.php and add the lines

   login="your_default_login"
   password="your_default_
password"

 after

function Enviar(){
   login=Trim(document.administra.login.value)
   password=Trim(document.administra.password.value)
   ---- ADD THE LINES HERE -----

In this way the login and password will the filled with your default values.

If you want to have the possiblity of login with differents login but to
show allways the default login and password,  the the change have to be made
in:

<?php
if (isset($arrHttp["login"]) and $arrHttp["login"]=="N"){
        echo "
            <input type=\"text\" name=\"login\" id=\"user\" value=\"\"
class=\"textEntry superTextEntry inputAlert\" onfocus=\"this.className =
'textEntry superTextEntry inputAlert textEntryFocus';\"
onblur=\"this.className = 'textEntry superTextEntry inputAlert';\"
*value="\default_login\"
*/>\n";
}else{
        echo "
            <input type=\"text\" name=\"login\" id=\"user\" value=\"\"
class=\"textEntry superTextEntry\" onfocus=\"this.className = 'textEntry
superTextEntry textEntryFocus';\" onblur=\"this.className = 'textEntry
superTextEntry';\" *value="\default_login\"* />\n";
}
?>


and in

<input type="password" name="password" id="pwd" value="" class="textEntry
superTextEntry" onfocus="this.className = 'textEntry superTextEntry
textEntryFocus';" onblur="this.className = 'textEntry superTextEntry';"   *
value="\default_password\"*  />


Get a backup of index.php script before doing any change.



2010/12/7 Leyla Schön <l.schoen at bzfo.de>

>  Dear list members,
>
> is there a possibility to set this login in our entry page<http://bib.bzfo.de/htdocs/>
> as default in ABCD???
>
>
>
>
> Thank you very much in advance!
>
> Best regards
>
> Leyla Schön
> mail:    l.schoen at bzfo.dewww.bzfo.de
> tel:     030/ 30 39 06 -16   fax: 030/ 30 61 43 -71
>
>
>
> _______________________________________________
> isis-users mailing list
> isis-users at iccisis.org
> http://lists.iccisis.org/listinfo/isis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20101207/4fa3cbe1/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 20244 bytes
Desc: not available
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20101207/4fa3cbe1/attachment-0001.jpeg>


More information about the isis-users mailing list