RE: [SM-USERS] Make $org_name Variable For All Pages

2003-10-09 Thread p dont think
> Knowing only simple hack, I did a grep on org_name in the src directory > and found that only the login.php had the org_name variable. > > If I can get accesss to it in the right_main.php, I can make a simple hack > like printing the domain somewhere on the page. Is it available through > one of

RE: [SM-USERS] Make $org_name Variable For All Pages

2003-10-08 Thread Chris Hilts
> If I can get accesss to it in the right_main.php, I can make a simple hack > like printing the domain somewhere on the page. Is it available through > one of the function call? It's a global. function some_silly_function($arg1,$arg2,$arg3="some arbitrary value") { global $username, $org_nam

RE: [SM-USERS] Make $org_name Variable For All Pages

2003-10-08 Thread rkl
Restated example, left_main.php so I can hack the logo like vlogin. -rkl > Knowing only simple hack, I did a grep on org_name in the src directory > and found that only the login.php had the org_name variable. > > If I can get accesss to it in the right_main.php, I can make a simple hack > like p

RE: [SM-USERS] Make $org_name Variable For All Pages

2003-10-08 Thread rkl
Knowing only simple hack, I did a grep on org_name in the src directory and found that only the login.php had the org_name variable. If I can get accesss to it in the right_main.php, I can make a simple hack like printing the domain somewhere on the page. Is it available through one of the functio

RE: [SM-USERS] Make $org_name Variable For All Pages

2003-10-07 Thread p dont think
> As discovered via the vlogin plugin, making the variable $org_name > available throughout all pages would make sm more flexible. > > That is, $org_name parse the url to something like abc.com or xyz.com. > > Atleast, for the virtual domain folks ;) > > Please make $org_name available throughou