[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Site updates -- live!



Salam,

After Nadim committed the modified patch to CVS, I went over to more
the javascript *puke* out of all the arabeyes pages and to restrict it
to one page only. This has proven to be a rather painful process (when
I wrote this site originally, I had the header stuff separate, now it
seems that the entire page is loaded based on one function call,
regardless of header/body/footer/etc. -- not sure that is a good
idea).

Anyway, it has also proven to be error prone (but all fixed). 

DisplayPage() now takes 4 arguments, the 4th being anything in the
head tag, which normally would be a javascript embedded there.

I also modified the people page to remove that redundant 'Status'
column (all of them say they are 'Active' -- otherwise they wouldn't
be displayed by default). I changed it back to how I originally wrote
it, which is to display the latest commit timestamp. I think that page
makes more sense now.

I also found that there is login.inc.php and credentials.inc.php lying
around and didn't understand what was going on. The live site
apparently uses _both_ which, incidentally, are identical to each
other. rss.php uses login.inc.php and the rest of the site uses
credentials.inc.php.. which, was never put in CVS. Very odd. So, I
nuked login.inc.php and added a dummy credentials.inc.php file.

What all this means is that, when you are grabbing a fresh copy from
CVS, you should edit credentials.inc.php and not arabeyes.php. It will
have stuff like the dbname, dbpass, etc.

I cleaned up the tables (votes,elections) and so we are starting afresh.

Enjoy!
-- 
-------------------------------------------------------
| Mohammed Elzubeir    | Visit us at:                 |
|                      |  http://www.arabeyes.org/    |
| Arabeyes Project     | Homepage:                    |
| Unix the 'right' way |  http://elzubeir.openius.com/|
-------------------------------------------------------