|
From: mdw c. <myd...@li...> - 2001-09-26 22:25:32
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/include Modified Files: gui.inc.php templates.inc.php Log Message: Well, I spent all my night to code for mydynaweb ! It was great. The main topic of this coding party was to release a new theme based on the enlightenment site, which is to my mind, really cute... Go there to see it if you don't know that beautiful HTML : http://www.enlightenment.org. The mydynaweb theme is now OK and I've released a tarball for previous user to get it (see files on sourceforge) I've stopped the access to the show_stats.php because of two reasons : 1 : the stats engine will be redo from scratch to enable each page count 2 : i didn't find why but hits weren't counted anymore... so that makes the show_stats srcipt bombs out... I've also bursted a lot of tiny bugs but I didn't remind what it was exactly. That's all for tonight :) =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- gui.inc.php 2001/09/11 20:46:56 1.30 +++ gui.inc.php 2001/09/26 22:25:00 1.31 @@ -462,7 +462,7 @@ { $BOX_HASH_TEMPLATE = read_template(THEMES_PATH . "/box.html"); - $sql = "select titre, icon + $sql = "select titre from item_box_titles where num_titre = $num_item_box"; $rqt = new query($DBH); @@ -482,17 +482,9 @@ $titre[0] = $titre_frags[1]; } - if (strlen($titre[1])) { - $VALUES['ICON'] = $titre[1]; - } - else { - $VALUES['ICON'] = "images/pixel.gif"; - } - $TABLE_TITRE = "<table width='100%' border='0' cellpadding='2' cellspacing='0'><tr> - <td align='center' valign='middle' width='20'><img src='".$VALUES['ICON']."' width='16' height='16'></td> - <td align='center' width='100'> + <td align='center'> <font size='-1'><b>$titre[0]</b></font></td></tr> </table>"; =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v retrieving revision 1.24 retrieving revision 1.25 diff -u -3 -r1.24 -r1.25 --- templates.inc.php 2001/09/11 20:46:56 1.24 +++ templates.inc.php 2001/09/26 22:25:00 1.25 @@ -169,9 +169,6 @@ $DBH,$c, $IP='', $REFER='', $MSG='', $ZONE=99, $PAGE=99); - // get the page name - count_one_more($DBH, $IP, $REFER); - $output = ""; $file = explode("\n", $template_hash_entry); @@ -214,9 +211,6 @@ { $VALUES = init_main_values($template_path, $content, $titre, $DBH,$c, $IP='', $REFER='', $MSG='', $ZONE=99, $PAGE=99); - - // get the page name - count_one_more($DBH, $IP, $REFER); $output = ""; |