|
From: Jochen M. <j.m...@om...> - 2004-12-08 22:39:04
|
Jochen Metzger schrieb:
Hi Joe,
unfortunaely this does not work like this. dunno why ...
So better leave it.
Jochen
> Hi Joe,
>
> could enhance the class-servers.php method like this:
>
>
> // ---------------------------------------------------------
> function init_new_server($server, $share) {
>
> foreach ($this->server_defs as $name => $value){ // Init remaining
> fields
> $this->servers["new"]["$name"] = '';
> }
>
> // security option, if user inserts "//" strip it
> if (substr($server,0,2) == "//")
> $server = substr($server,2);
>
>
>
> $this->servers["new"]["server"] = $server; // store values
> from "Create" input
> $this->servers["new"]["share"] = $share;
> return;
> }
>
>
> I haven't go access to cvs at present.
> Addon is for the case the user inserts "//MyServer" in admin gui
>
> THX
>
> Jochen
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> Bobs-devel mailing list
> Bob...@li...
> https://lists.sourceforge.net/lists/listinfo/bobs-devel
>
>
|