From: Joe C. <jo...@sw...> - 2001-01-26 19:21:45
|
Egads. You're right. Now I feel silly. (I didn't spot it, because my mind was seeing the (auth...) bit above and equating the calamaris link to it, wrt number of parantheses.) Now it appears in the Squid index page. Beautiful. Thanks, Jamie. Jamie Cameron wrote: > Joe Cooper wrote: > >> Hi folks, >> >> Ok, I've added a submodule to the Squid module, that provides user >> tracking data (ie, who visited what and when). I've got everything >> working great...but I can't make it appear in the Squid mainpage. >> >> I've editted the index.cgi to include a reference to it in each page >> layout section (i.e. basic, simple, all options). I just copied the >> stuff that was already there so I guess it's OK. I've put an icon in >> the images dir, and I've added the necessary entries in lang/en. >> >> Here's an example of the modified lines in index.cgi, just in case I did >> something wrong: >> @otitles = ( $text{'index_portsnets'}, $text{'index_mdusage'}, >> $text{'index_actrl'}, >> ($auth ? ( $text{'index_proxyauth'} ) : ( ) ), >> $text{'index_rebuild'}, >> $calamaris ? ( $text{'index_calamaris'} ) : ( ) ), >> $text{'index_usertrack'}; >> @olinks = ( "edit_sports.cgi", "edit_smem.cgi", "edit_acl.cgi", >> ($auth == 1 ? ( "edit_auth.cgi" ) : >> $auth == 2 ? ( "edit_nauth.cgi" ) : ( ) ), >> "clear.cgi", >> $calamaris ? ( "calamaris.cgi" ) : ( ) ), >> "usertrack.cgi"; >> } >> >> So what am I missing here? How do I make it show up? >> >> Thanks for any enlightenment anyone can provide. > > > Shouldn't the $text{'index_usertrack'} go inside the bracket before it? > Same for "usertrack.cgi" .. otherwise you are creating a comma expression > those meaning I am unsure of :) > > - Jamie > > - > Forwarded by the Webmin mailing list at web...@we... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-devel -- -- Joe Cooper <jo...@sw...> Affordable Web Caching Proxy Appliances http://www.swelltech.com |