|
From: mdw c. <myd...@li...> - 2001-10-31 10:55:59
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/tools/admin
Modified Files:
script_creator.php
Log Message:
Fixing a bug in the news submission.
now the long_text field is filled with the whole text the user put.
there was a bug before that stopped the string.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/tools/admin/script_creator.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- script_creator.php 2001/10/04 21:00:17 1.9
+++ script_creator.php 2001/10/31 10:55:58 1.10
@@ -227,8 +227,8 @@
$rqt = new query($this->db);
$rqt->query($this->db, $sql) or $this->alert->sql_error($sql, $rqt->error());
- print "OK";
-
+ send_success("OKay !");
+
return(1);
}
|
|
From: mdw c. <myd...@li...> - 2001-10-31 10:56:29
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
gui.inc.php templates.inc.php
Log Message:
Fixing a bug in the news submission.
now the long_text field is filled with the whole text the user put.
there was a bug before that stopped the string.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -3 -r1.38 -r1.39
--- gui.inc.php 2001/10/23 22:07:56 1.38
+++ gui.inc.php 2001/10/31 10:55:58 1.39
@@ -222,11 +222,13 @@
if ($seek) {
$VALUES['TITLE'] = translate('SEARCH', $DBH);
- $VALUES['CONTENT'] = "<FORM name=\"seek\" action=\"seek.php3\">
- <font size='-1'>
- <input type=\"text\" size=\"13\" name=\"kw\">
- </font>
- </FORM>";
+ $VALUES['CONTENT'] = " <DIV align='center'>
+ <FORM name=\"seek\" action=\"seek.php3\">
+ <font size='-1'>
+ <input type=\"text\" size=\"13\" name=\"kw\">
+ </font>
+ </FORM>
+ </DIV>";
$pannel = get_hash_template($BOX_HASH_TEMPLATE["HEAD"], $VALUES) .
get_hash_template($BOX_HASH_TEMPLATE["LINE"], $VALUES) .
get_hash_template($BOX_HASH_TEMPLATE["FOOT"], $VALUES);
@@ -271,8 +273,7 @@
</table>
</form>";
} else {
- $VALUES['CONTENT'] = translate('LOGGED_IN_AS', $DBH) .
- " $login<br><a href=\"logout.php\">[" .
+ $VALUES['CONTENT'] = translate('LOGGED_IN_AS', $DBH) . " $login<br><a href=\"logout.php\">[" .
translate('LOGOUT', $DBH) . "]</a>";
}
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- templates.inc.php 2001/09/26 22:25:00 1.25
+++ templates.inc.php 2001/10/31 10:55:58 1.26
@@ -210,7 +210,7 @@
////////////////////////////////////////////////////////
{
- $VALUES = init_main_values($template_path, $content, $titre, $DBH,$c, $IP='', $REFER='', $MSG='', $ZONE=99, $PAGE=99);
+ $VALUES = init_main_values($template_path, $content, $titre, $DBH,$c, $IP='', $REFER='', $MSG='', $ZONE, $PAGE);
$output = "";
|
|
From: mdw c. <myd...@li...> - 2001-10-31 10:56:29
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs
Modified Files:
add_news.php3 comment.php news.php3 seek.php3
show_da_topics.php3
Log Message:
Fixing a bug in the news submission.
now the long_text field is filled with the whole text the user put.
there was a bug before that stopped the string.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/add_news.php3,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -3 -r1.17 -r1.18
--- add_news.php3 2001/10/09 14:21:39 1.17
+++ add_news.php3 2001/10/31 10:55:58 1.18
@@ -14,7 +14,7 @@
$list_families = get_fam_box($DBH, USER_FAM, '');
$liste_topics = get_topics_box($DBH);
-$formulaire = "<FORM name=\"f\" action=\"save_news.php3\">
+$formulaire = "<FORM name=\"f\" action=\"save_news.php3\" method='POST'>
<table align=\"center\" width=\"480\" cellpadding=0 cellspacing=0 border=0>
<tr>
<td align=\"left\"> <b><i>".translate("TITLE",$DBH)."</i></b><br>
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/comment.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -3 -r1.9 -r1.10
--- comment.php 2001/10/10 12:29:37 1.9
+++ comment.php 2001/10/31 10:55:58 1.10
@@ -61,6 +61,6 @@
$CONTENT = get_page(translate("COMMENT_RELATED",$DBH)." <EM>$news_titre</EM>", translate("THERE_ARE",$DBH)." $num_cmt ".translate("COMMENTS_REC",$DBH), $PAGE, $DBH);
-print_template(THEMES_PATH."/main.html", $CONTENT, $row[1], $DBH,"COMMENT.$news", $REMOTE_ADDR);
+print_template(THEMES_PATH."/main.html", $CONTENT, $row[1], $DBH,"COMMENT.$news", $REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, 50);
}
?>
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/news.php3,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -3 -r1.40 -r1.41
--- news.php3 2001/10/09 14:21:39 1.40
+++ news.php3 2001/10/31 10:55:58 1.41
@@ -7,6 +7,7 @@
$DBH->open($dbName, $dbServer, $dbUser, $dbPass);
$ca= new cache($DBH);
+$page = 10;
if ($file_name=$ca->is_cached("NEWS.$q.$old.$num.$fam", USER_LANG, ACTIVE_THEME))
{
@@ -42,11 +43,13 @@
if (strlen($num)) {
$option = "AND num_news=$num";
$cond = "";
+ $page = 50;
}
if (strlen($readmore)) {
$option = "AND num_news=$readmore";
$cond = "";
+ $page=50;
}
@@ -151,7 +154,7 @@
$HTML = get_piece_of_news($full_title, ($full_header . '<br>' . $full_page), $row[4], $row[5], "news.php3?q=$row[6]", $row[nbhit], $row[0], $row2[0], strlen($full_page), $DBH);
print_template(THEMES_PATH."/main.html", $HTML, translate("NEWS",$DBH),
- $DBH,"NEWS.$q.$old.$num.$fam",$REMOTE_ADDR, $MSG, 0, 0);
+ $DBH,"NEWS.$q.$old.$num.$fam",$REMOTE_ADDR, $MSG, 10, 50);
die();
}
else {
@@ -213,12 +216,12 @@
$HTML = get_page(translate($page_title, $DBH), translate($page_header, $DBH), $PAGE, $DBH);
print_template(THEMES_PATH."/main.html", $HTML, translate("NEWS",$DBH),
- $DBH,"NEWS.$q.$old.$num.$fam",$REMOTE_ADDR, $HTTP_REFERER, $MSG, 0, 0);
+ $DBH,"NEWS.$q.$old.$num.$fam",$REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, 20);
}
else {
print_template(THEMES_PATH."/main.html", $PAGE, translate("NEWS",$DBH),
- $DBH,"NEWS.$q.$old.$num.$fam",$REMOTE_ADDR, $HTTP_REFERER, $MSG, 0, 0);
+ $DBH,"NEWS.$q.$old.$num.$fam",$REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, $page);
}
}
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/seek.php3,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- seek.php3 2001/09/26 22:25:00 1.10
+++ seek.php3 2001/10/31 10:55:58 1.11
@@ -59,7 +59,7 @@
$title=translate("SEARCH_ENG",$DBH);
$PAGE = get_page($title, $chapeau, $texte,$DBH);
- print_template(THEMES_PATH."/main.html", $PAGE, $title, $DBH, "SEEK");
+ print_template(THEMES_PATH."/main.html", $PAGE, $title, $DBH, "SEEK", $REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, 40);
}
@@ -104,12 +104,12 @@
}
$PAGE = get_page(translate('ADVANCED_SEARCH', $DBH), translate('SEARCH_RESULTS', $DBH) . " : <br> $msg", $texte, $DBH);
- print_template(THEMES_PATH."/main.html", $PAGE, translate('SEARCH_RESULTS', $DBH), $DBH, "SEEK");
+ print_template(THEMES_PATH."/main.html", $PAGE, translate('SEARCH_RESULTS', $DBH), $DBH, "SEEK", $REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, 40);
} else {
$PAGE = get_page(translate('ADVANCED_SEARCH', $DBH),
translate('SEARCH_RESULTS', $DBH),
translate('NO_NEWS_MATCH_YOUR_CRITERIA', $DBH), $DBH);
- print_template(THEMES_PATH."/main.html", $PAGE, translate('SEARCH_RESULTS', $DBH), $DBH, "SEEK");
+ print_template(THEMES_PATH."/main.html", $PAGE, translate('SEARCH_RESULTS', $DBH), $DBH, "SEEK", $REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, 40);
}
}
@@ -186,7 +186,7 @@
</FORM>
";
- print_template(THEMES_PATH."/main.html", $FORM, translate('ADVANCED_SEARCH', $DBH), $DBH, "SEEK");
+ print_template(THEMES_PATH."/main.html", $FORM, translate('ADVANCED_SEARCH', $DBH), $DBH, "SEEK", $REMOTE_ADDR, $HTTP_REFERER, $MSG, 10, 40);
}
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/show_da_topics.php3,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -3 -r1.15 -r1.16
--- show_da_topics.php3 2001/09/28 09:18:37 1.15
+++ show_da_topics.php3 2001/10/31 10:55:58 1.16
@@ -61,7 +61,7 @@
$PAGE = get_page(translate("TOPICS", $DBH), translate("TOP_TEXT", $DBH), $gallerie,$DBH);
- print_template(THEMES_PATH."/main.html", $PAGE, translate("TOPICS",$DBH), $DBH,"NEWS_TOPICS", $REMOTE_ADDR, '', '',10, 4);
+ print_template(THEMES_PATH."/main.html", $PAGE, translate("TOPICS",$DBH), $DBH,"NEWS_TOPICS", $REMOTE_ADDR, $HTTP_REFERER, $MSG,10, 30);
}
|
|
From: mdw c. <myd...@li...> - 2001-10-31 11:56:59
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs
Modified Files:
comment.php news.php3
Log Message:
*** BEHAVIOR CHANGE ***
Topic : counting the news hits
Now we don't increase hits on the homepage of the news (news.php3).
We only upgrade the count number when people click on the "Read More" link.
This is much more persistant I think.
In the old way, clicking on the homepage of the news, I give +1 to all the news item...
Now I give +1 only if I look at this news particularly...
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/comment.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- comment.php 2001/10/31 10:55:58 1.10
+++ comment.php 2001/10/31 11:56:58 1.11
@@ -32,6 +32,13 @@
$rqt2->query($DBH, $sql);
$row2 = $rqt2->getrow();
+// here we can increase the hit number
+$row[nbhit]++;
+$sql = ("UPDATE news set nbhit=".$row[nbhit]." where num_news = $row[0]");
+$rqt2 = new query($DBH);
+$rqt2->query($DBH, $sql) or send_sql_error($PHP_SELF, $sql, $rqt->error());
+
+
$PAGE = get_piece_of_news($row[1], '<i>' . $row['texte'] . '</i><br><br>' .
$row['long_text'], $row[4], translate($row[5],$DBH), "news.php3?q=$row[6]", $row[nbhit], $row[0], $row2[0], strlen($row['long_text']) * 8, $DBH);
$PAGE .= "<P><a href='add_comment.php?num_news=$news'>".translate("COMMENT_NEWS",$DBH)."</a></P>";
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/news.php3,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -3 -r1.41 -r1.42
--- news.php3 2001/10/31 10:55:58 1.41
+++ news.php3 2001/10/31 11:56:58 1.42
@@ -174,8 +174,8 @@
$email = $row2[0];
}
- // to begin with, we update the hit count
- $new_nbhit = $row[8] + 1;
+ // CHANGE : we don't increase the hit nr here
+ $new_nbhit = $row[8];
$sql = "update news set nbhit = $new_nbhit
where num_news = $row[0]";
$rqt2 = new query($DBH);
|
|
From: mdw c. <myd...@li...> - 2001-11-02 15:12:49
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/dynadot Modified Files: box.html calendar.html main.html Log Message: The theme is much better now, with some spaces between boxes. It is really readable with a 1024x768 screen resolution. have fun :-) =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/box.html,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- box.html 2001/10/24 07:19:40 1.5 +++ box.html 2001/11/02 15:12:48 1.6 @@ -1,5 +1,5 @@ <!-- BLOCK:HEAD --> -<table WIDTH="200" BORDER="0" CELLPADDING="0" CELLSPACING="0"> +<table WIDTH="150" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <tr VALIGN="TOP" BGCOLOR="#006666"> <td><font FACE="arial,helvetica" SIZE="4" COLOR="#FFFFFF"><b> <font COLOR="#FFFFFF">~TITLE~</font></b></font></td> =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/calendar.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- calendar.html 2001/10/23 22:07:56 1.2 +++ calendar.html 2001/11/02 15:12:48 1.3 @@ -1,5 +1,5 @@ <!-- BLOCK:HEAD --> -<table class="calendar" cellpadding="0" cellspacing="0" border="0" width="200"> +<table class="calendar" cellpadding="0" cellspacing="0" border="0" width="150"> <tr> <td align="center" valign="top">~MONTH_PREV~</td> <td bgcolor="#006666"> =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/main.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -3 -r1.9 -r1.10 --- main.html 2001/10/23 22:07:56 1.9 +++ main.html 2001/11/02 15:12:48 1.10 @@ -100,7 +100,7 @@ <table CELLPADDING=5 WIDTH="100%"> <tr><td> -<table CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="99%" ALIGN="CENTER" BGCOLOR="#FFFFFF"> +<TAble CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="99%" ALIGN="CENTER" BGCOLOR="#FFFFFF"> <tr><td> @@ -132,7 +132,7 @@ <B><font color="#006666" size="+1">~PAGE_TITLE~</font></B> <p> -<table width="100%" cellpading="0" cellspacing="0" border="0"> +<table width="100%" cellpading="0" cellspacing="5" border="0"> <!--<tr> <td> @@ -150,20 +150,34 @@ <p> <a href="http://mydynaweb.sf.net"><img src="images/poweredbymydynaweb.gif" border="0"></a> </td> +<td> + +</td> <td align="center" valign="top"> <!-- CONTENT --> ~CONTENT~ <!-- end CONTENT --> <br> </td> +<td> + +</td> <td align="center" valign="top" bgcolor="#ffffff"> -~LOGIN~ <!-- CALENDAR --> -~CALENDAR~ <!-- end CALENDAR --> - <br> -~HEADLINES~ -<!-- end HEADLINES --> +~LOGIN~ +<p> +<!-- STATBOX --> +~STATBOX~ +<!-- end STATBOX --> +<!-- CONTROL PANNEL --> +<p> +~CONTROL_PANNEL~ +<!-- end CONTROL PANNEL --> +<!-- HEADLINES --> +<p> +~CALENDAR~ +<p> </td> </tr> <tr> |
|
From: mdw c. <myd...@li...> - 2001-11-02 16:02:47
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/include Modified Files: templates.inc.php Log Message: Adding the what's up box. To use it add in main.html : ~WHATSUP_BOX~ it shows the last news posted and the last comment posted enjoy ! =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v retrieving revision 1.26 retrieving revision 1.27 diff -u -3 -r1.26 -r1.27 --- templates.inc.php 2001/10/31 10:55:58 1.26 +++ templates.inc.php 2001/11/02 16:02:17 1.27 @@ -24,6 +24,7 @@ } $VALUES['STATBOX'] = get_global_stats_box($DBH, $hash_box); + $VALUES['WHATSUP_BOX'] = get_whatsup_box($DBH, $hash_box); $VALUES["TOPBAR"] = top_bar($DBH,$c); $VALUES["NEWS_LETTER"] = get_newsletter_form($DBH); $VALUES["SITE_TITLE"] = SITE_TITLE; |
|
From: mdw c. <myd...@li...> - 2001-11-02 16:02:48
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/tools/events
Modified Files:
stats.php
Log Message:
Adding the what's up box.
To use it add in main.html :
~WHATSUP_BOX~
it shows the last news posted and the last comment posted
enjoy !
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/tools/events/stats.php,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -3 -r1.10 -r1.11
--- stats.php 2001/10/04 21:00:42 1.10
+++ stats.php 2001/11/02 16:02:17 1.11
@@ -151,7 +151,7 @@
return(1);
}
-function get_whatsup_box($DBH)
+function get_whatsup_box($DBH, $hash_box)
/*
This function returns the "What's Up Box".
That box would contains
@@ -161,6 +161,39 @@
*/
{
$BOX = '';
+
+ // last news
+ $sql = "select titre, num_news
+ from news
+ where lang = '".USER_LANG."'
+ order by num_news desc";
+ $rqt = new query($DBH);
+ $rqt->query($DBH, $sql);
+ $row = $rqt->getrow();
+ $ELEMS["LAST_NEWS"] = (translate('DERNIERE_NEWS', $DBH) . " : <a href='comment.php?news=$row[1]'>".$row[0]."</a>");
+
+ // last comment
+ $sql = "select title, news.num_news, titre
+ from comments, news
+ where news.lang = '".USER_LANG."'
+ and news.num_news = comments._num_news
+ order by comments.num_cmt desc";
+ $rqt = new query($DBH);
+ $rqt->query($DBH, $sql);
+ $row = $rqt->getrow();
+ $ELEMS["LAST_COMMENT"] = (translate('DERNIER_COMMENTAIRE', $DBH) . " : <a href='comment.php?news=$row[1]'>".$row[0]."</a> ($row[2])");
+
+ $tokens['TITLE'] = translate('WHAZAA', $DBH);
+ $BOX = get_hash_template($hash_box['HEAD'], $tokens);
+
+ $tokens['CONTENT'] = $ELEMS["LAST_NEWS"];
+ $BOX .= get_hash_template($hash_box['LINE'], $tokens);
+
+ $tokens['CONTENT'] = $ELEMS['LAST_COMMENT'];
+ $BOX .= get_hash_template($hash_box['LINE'], $tokens);
+
+ $BOX .= get_hash_template($hash_box['FOOT'], $tokens);
+
return ($BOX);
}
|
|
From: mdw c. <myd...@li...> - 2001-11-06 12:41:25
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/include Modified Files: gui.inc.php templates.inc.php Log Message: Adding a new box : the sponsors box: it goes take the HTML code located in include/sponsors.txt and send a box with the result of the code inside. example : http://mydynaweb.sf.net =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v retrieving revision 1.39 retrieving revision 1.40 diff -u -3 -r1.39 -r1.40 --- gui.inc.php 2001/10/31 10:55:58 1.39 +++ gui.inc.php 2001/11/06 12:41:24 1.40 @@ -406,6 +406,38 @@ } +////////////////////////////////////////////////////// +// +// Get the code of sponsors TAG in the file +// $DYNAROOT/include/sponsors.txt +// +///////////////////////////////////////////////////// + +function get_sponsors($DBH) { + + $BOX_HASH_TEMPLATE = read_template(THEMES_PATH . "/box.html"); + $SPONSORS_CODES = read_template(DYNA_ROOT . "/include/sponsors.txt"); + + // getting the head of the box + $VALUES['TITLE'] = translate("SPONSORS", $DBH); + $PAGE = get_hash_template($BOX_HASH_TEMPLATE["HEAD"], $VALUES); + + // putting the lines + foreach ($SPONSORS_CODES as $BLOCK => $CODE ) { + $VALUES['CONTENT'] = "<p>$CODE</P>\n"; + $PAGE .= get_hash_template($BOX_HASH_TEMPLATE["LINE"], $VALUES) ; + } + + $PAGE .= get_hash_template($BOX_HASH_TEMPLATE["FOOT"], $VALUES); + + + + return($PAGE); + +} + + + =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v retrieving revision 1.27 retrieving revision 1.28 diff -u -3 -r1.27 -r1.28 --- templates.inc.php 2001/11/02 16:02:17 1.27 +++ templates.inc.php 2001/11/06 12:41:24 1.28 @@ -23,6 +23,7 @@ $VALUES["HEADLINES"] .= get_headlines($DBH, $news_sites[$i]); } + $VALUES['SPONSORS'] = get_sponsors($DBH, $hash_box); $VALUES['STATBOX'] = get_global_stats_box($DBH, $hash_box); $VALUES['WHATSUP_BOX'] = get_whatsup_box($DBH, $hash_box); $VALUES["TOPBAR"] = top_bar($DBH,$c); |
|
From: mdw c. <myd...@li...> - 2001-11-07 14:13:54
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/dynadot Modified Files: box.html main.html news.html Log Message: adding the corner in the news and boxes =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/box.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- box.html 2001/11/02 15:12:48 1.6 +++ box.html 2001/11/07 14:13:53 1.7 @@ -1,13 +1,14 @@ <!-- BLOCK:HEAD --> <table WIDTH="150" BORDER="0" CELLPADDING="0" CELLSPACING="0"> <tr VALIGN="TOP" BGCOLOR="#006666"> -<td><font FACE="arial,helvetica" SIZE="4" COLOR="#FFFFFF"><b> +<td BGCOLOR="#006666" valign="top"><img src="templates/dynadot/img/slc.gif"></td> +<td bgcolor="#006666"><font FACE="arial,helvetica" SIZE="4" COLOR="#FFFFFF"><b> <font COLOR="#FFFFFF">~TITLE~</font></b></font></td> </tr> <!-- BLOCK:LINE --> -<tr><td BGCOLOR="#CCCCCC"> +<tr><td BGCOLOR="#CCCCCC" colspan="2"> <font SIZE="2" COLOR="#000000"> -<li>~CONTENT~</li> + ~CONTENT~ </font> <!-- BLOCK:FOOT --> </td></tr></table> =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/main.html,v retrieving revision 1.10 retrieving revision 1.11 diff -u -3 -r1.10 -r1.11 --- main.html 2001/11/02 15:12:48 1.10 +++ main.html 2001/11/07 14:13:53 1.11 @@ -133,22 +133,11 @@ <B><font color="#006666" size="+1">~PAGE_TITLE~</font></B> <p> <table width="100%" cellpading="0" cellspacing="5" border="0"> -<!--<tr> -<td> - -</td> -</tr> ---> <tr> <td valign="top" align="center" bgcolor="#ffffff"> <!-- LINK BOXES --> ~LINK_BOXES~ -<!-- end LINK BOXES --> -~CONTROL_PANNEL~ -~STATBOX~ - -<p> -<a href="http://mydynaweb.sf.net"><img src="images/poweredbymydynaweb.gif" border="0"></a> +~SPONSORS~ </td> <td> @@ -163,19 +152,9 @@ </td> <td align="center" valign="top" bgcolor="#ffffff"> -<!-- CALENDAR --> -<!-- end CALENDAR --> +~WHATSUP_BOX~ ~LOGIN~ -<p> -<!-- STATBOX --> -~STATBOX~ -<!-- end STATBOX --> -<!-- CONTROL PANNEL --> -<p> ~CONTROL_PANNEL~ -<!-- end CONTROL PANNEL --> -<!-- HEADLINES --> -<p> ~CALENDAR~ <p> </td> =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/news.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- news.html 2001/10/08 08:25:28 1.2 +++ news.html 2001/11/07 14:13:53 1.3 @@ -1,12 +1,14 @@ <TABLE width="550" cellpadding=0 cellspacing=0 border=0> <TR> <TD valign=top bgcolor="#006666"> - <IMG src="http://images.slashdot.org/slc.gif" width=13 height="100%" alt="" valign=top> + <IMG src="templates/dynadot/img/slc.gif" width=13 alt="" valign=top> +</td> +<td bgcolor="#006666"> <FONT size=4 color="#FFFFFF" face="arial,helvetica"><B>~TITLE~</B></FONT> </TD> </TR> <TR> -<TD> +<TD colspan="2" bgcolor="#FFFFFF"> <A HREF="~LINK~"><IMG SRC="~IMAGE~" BORDER="0" ALIGN="RIGHT" HSPACE="20" VSPACE="10" ALT="~ALT~"></A> ~TEXT~ </TD> |
|
From: mdw c. <myd...@li...> - 2001-11-07 14:14:15
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/dynadot/img Added Files: slc.gif Log Message: adding the corner in the news and boxes |
|
From: mdw c. <myd...@li...> - 2001-11-14 11:32:52
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs Modified Files: print.php3 Added Files: topics.php Removed Files: show_da_topics.php Log Message: Renaming of show_da_topics.php into topics.php |
|
From: mdw c. <myd...@li...> - 2001-11-14 14:41:34
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/smarty Log Message: Directory /cvsroot/mydynaweb/mydynaweb/htdocs/templates/smarty added to the repository |
|
From: mdw c. <myd...@li...> - 2001-11-14 14:42:50
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/smarty Added Files: INSTALL bar.html box.html calendar.html comment.html login.html main.html news.html page.html topbar.html Log Message: A new theme based on sukria-green (http://sukria.net) but in purple/blue colors schemes. Nice to see. Fast to load. Cool to use. |
|
From: mdw c. <myd...@li...> - 2001-11-14 15:47:05
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/tools/events
Modified Files:
session.php
Log Message:
There was a big bug before :
when you were logged as a member of the site, you couldn't log in the admin section (as super user).
Indeed, the user cookie was not removed and the superuser cookie was never seen by the browser.
No the session library manage properly cookies :
when it set a cookie, it first removes the previous one.
It works fine now : you can log in as member and just after log in as super user.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/tools/events/session.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- session.php 2001/10/10 21:28:17 1.3
+++ session.php 2001/11/14 15:47:03 1.4
@@ -33,7 +33,8 @@
$rqt->query($DBH, $sql) or send_sql_error($PHP_SELF, $sql, $rqt->error());
// we put a cookie with this session ID on the computer
- setcookie('DYNA_SESSION', $session, 0);
+ setcookie('DYNA_SESSION'); //delete the previous cookie if exists
+ setcookie('DYNA_SESSION', $session, 0, '/'); //set the new one
return(1);
}
|
|
From: mdw c. <myd...@li...> - 2001-11-14 16:50:40
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs Added Files: logout.php Log Message: logout script |
|
From: mdw c. <myd...@li...> - 2001-11-16 12:01:00
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs Added Files: topnews.php Log Message: A script to print out the top of the news Only the query is done, we have to format its output in a nice way... |
|
From: mdw c. <myd...@li...> - 2001-11-19 11:15:22
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/help/building Added Files: box.FR.html Log Message: french help file for boxes (not finished) |
|
From: mdw c. <myd...@li...> - 2001-11-19 16:56:20
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
utils.inc.php gui.inc.php
Log Message:
Some updates for new admin script organization (update boxes)
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/utils.inc.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- utils.inc.php 2001/11/08 03:11:12 1.19
+++ utils.inc.php 2001/11/19 16:56:18 1.20
@@ -234,25 +234,31 @@
function get_link_popup($num, $DBH)
{
- $str = "";
- $sql = "select idpage, titre from page";
+
+ $str = "<div align='left'><h2>".translate('PAGES', $DBH)."</H2>\n";
+ $sql = "select idpage, titre, lang from page order by lang,titre desc";
$rqt_page = new query($DBH);
$rqt_page->query($DBH, $sql);
while ($row = $rqt_page->getrow()) {
- $str .= "<a href=\"#\" onclick=\"set_link($num, '$row[1]', 'print.php?c=$row[0]', '_self');return(false);\">[PAGE] $row[1]</a><br>\n";
+ $str .= " <font color='#778899'>$row[2]</font> <a href=\"#\" onclick=\"set_link($num, '$row[1]', 'print.php?c=$row[0]', '_self');return(false);\"> $row[1]</a><br>\n";
}
+ $str .= "<p> </p>";
+ $str .= "<h2>".translate('PICTURES', $DBH)."</h2>";
$sql = "select titre from pics_titre";
$rqt_pics = new query($DBH);
$rqt_pics->query($DBH, $sql);
while ($row = $rqt_pics->getrow()) {
- $str .= "<a href=\"#\" onclick=\"set_link($num, '$row[0]', 'show_da_pics.php?pics=$row[0]', '_self');return(false);\">[GALLERY] $row[0]</a><br>\n";
+ $str .= "<a href=\"#\" onclick=\"set_link($num, '$row[0]', 'show_da_pics.php?pics=$row[0]', '_self');return(false);\"> $row[0]</a> <i>$row[1]</i><br>\n";
}
+ $str .= "<p> </p>";
+ $str .= "<h2>".translate('NEWS', $DBH)."</h2>";
+
$str .= "<a href=\"#\" onclick=\"set_link($num,'Fresh News','news.php', '_self');return(false);\">Fresh News</a><br>\n";
$str .= "<a href=\"#\" onclick=\"set_link($num,'Old News','news.php?old=yes', '_self');return(false);\">Old News</a><br>\n";
- $str .= "<a href=\"#\" onclick=\"set_link($num,'Topics','show_da_topics.php','_self');return(false);\">Topics</a><br>\n";
+ $str .= "<a href=\"#\" onclick=\"set_link($num,'Topics','topics.php','_self');return(false);\">Topics</a><br>\n";
return($str);
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -3 -r1.42 -r1.43
--- gui.inc.php 2001/11/17 11:36:36 1.42
+++ gui.inc.php 2001/11/19 16:56:18 1.43
@@ -660,17 +660,27 @@
</TABLE></body></html>";
}
-function Admin_popup_header ($title, $javascript)
+function Admin_popup_header ($title, $javascript, $jsscript='')
{
- $css = get_css();
- print "<HTML>
+ if (strlen($jsscript)) {
+ $JAVASCRIPT_CODE_OR_SRC = "<script language='JavaScript' src='$jsscript'></script>";
+ }
+
+
+ $JAVASCRIPT_CODE_OR_SRC .= "
+ <SCRIPT language=\"JavaScript\">
+ $javascript
+ </SCRIPT>
+ ";
+
+
+
+
+print "<HTML>
<HEAD>
<TITLE>$title</TITLE>
- <SCRIPT language=\"JavaScript\">
- $javascript
- </SCRIPT>
-
- $css
+
+ $JAVASCRIPT_CODE_OR_SRC
</HEAD>
@@ -682,7 +692,7 @@
<P> </P>
- <center>
+ <center>
";
}
|
|
From: mdw c. <myd...@li...> - 2001-11-19 16:58:28
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/admin
Modified Files:
add_box.php show_news.php show_settings.php
Log Message:
I've worked on the boxes admin script.
It is much better to use now :
- every strings have been replced by a call of translate (we have now to do the translation in th DB)
- the standard link popup is better to use (align to left, classify by page type)
- the list of news able for modification is better too
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/admin/add_box.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- add_box.php 2001/11/08 03:11:12 1.1
+++ add_box.php 2001/11/19 16:58:27 1.2
@@ -1,6 +1,7 @@
<?
include('../include/mydynaweb.init.php');
include(DYNA_ROOT . '/include/mydynaweb.libs.php');
+include(DYNA_ROOT . '/include/admin-libs.php');
$DBH = new db();
@@ -40,7 +41,7 @@
print "
<center>
<br><br><br>
- <H2><font color=\"#DDDDDD\">Please enter the number of items you want...</font></H2>
+ <H2><font color=\"#DDDDDD\">".translate('ENTER_NUMBER_OF_ITEMS', $DBH)."</font></H2>
</center>";
Admin_page_footer ();
die();
@@ -50,7 +51,7 @@
if (! strlen($num_box)) {
$languages = get_languages_box($DBH, "EN");
- Admin_popup_header ("Add a link box", '');
+ Admin_popup_header (translate("ADD_LINK_BOX", $DBH), '', 'js/utils.js');
}
else {
$sql = "SELECT num_titre, titre, lang from item_box_titles \nWHERE num_titre=$num_box";
@@ -58,10 +59,16 @@
$rqt->query($DBH, $sql) or send_sql_error($PHP_SELF, $sql, $rqt->error());
$box_row = $rqt->getrow();
$languages = get_languages_box($DBH, $box_row[2]);
- Admin_popup_header ("Update the '$box_row[1]' box", $js);
+ Admin_popup_header ("Update the '$box_row[1]' box", $js, 'js/utils.js');
}
+
+
+$helplink = ("<a href='#' onClick=\"open_popup('".popup_help_url('building', 'box')."');return(false);\">" . translate("HELP", $DBH) . "</a>");
+
+print "<p>$helplink</p>";
+
?>
<form name="links" action="save_new_box.php">
@@ -71,7 +78,7 @@
<table border=0>
<tr>
<td>
- Title : <input type="text" name="titre" value="<? echo $box_row[1];?>"><br>
+ <? echo translate('BOX_TITLE', $DBH) ?> : <input type="text" name="titre" value="<? echo $box_row[1];?>"><br>
</td>
<td>
<?
@@ -83,7 +90,11 @@
<table width='550'>
<tr>
-<td> <b>Item Titles </td><td> Item Links</b></td><td>Target</td><td>Links</td><td>Remove</td>
+<td> <? echo translate('ITEM_TITLE', $DBH) ?> </td>
+<td> <? echo translate('ITEM_LINK', $DBH) ?></td>
+<td> <? echo translate('ITEM_TARGET', $DBH) ?> </td>
+<td> <? echo translate('ITEM_PREDEFINED', $DBH) ?></td>
+<td> <? echo translate('ITEM_REMOVE', $DBH); ?></td>
</tr>
@@ -104,7 +115,7 @@
<input type=\"text\" name=\"item$i\" value=\"$row[1]\"></td>
<td><input type=\"text\" name=\"link$i\" value=\"$row[2]\"></td>
<td><input type=\"text\" name=\"target$i\" size=\"5\" value=\"$row[3]\"></td>
- <td><a href=\"#\" onclick=\"window.open('link_help.php?num=$i','dyna','scrollbars=yes,resizable=yes,width=300,height=300');\">Help</td>
+ <td><a href=\"#\" onclick=\"window.open('link_help.php?num=$i','dyna','scrollbars=yes,resizable=yes,width=300,height=300');\">".translate('CHOOSE', $DBH)."</td>
<td>[<a href=\"#\" onClick=\"confirm_delete($row[0], $box_row[0]);return(false);\">X</a>]</td>
</tr>";
++$i;
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/admin/show_news.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- show_news.php 2001/11/08 03:11:12 1.1
+++ show_news.php 2001/11/19 16:58:27 1.2
@@ -20,28 +20,30 @@
}
}";
-Admin_popup_header("Updating News", $js);
+Admin_popup_header(translate("UPDATING_NEWS", $DBH), $js);
?>
-<table align="center">
+<table align="center" cellpadding="5" cellspacing="5" border="0">
<tr>
- <td align="center"><h2>
+ <td align="center" colspan="3">
<?
if ($act == "mod")
{
- echo "Modifying an existing piece of news";
+ echo translate("YOU_CAN_MODIFY_NEWS", $DBH);
}
else
{
- echo "Deleting a piece of news";
+ echo translate("YOU_CAN_DELETE_NEWS", $DBH);
}
+
+
?>
-</h2> </td>
+</td>
</tr>
<?
@@ -53,20 +55,30 @@
$rqt = new query($DBH);
$rqt->query($DBH,$sql) or send_sql_error($PHP_SELF, $sql, $rqt->error());
+$i=0;
+
while ($infos_page = $rqt->getrow()) {
+
+$i++;
+if ($i%2 == 0) {
+ $bg = '#DDDDEE';
+} else {
+ $bg = '#FFFFFF';
+}
+
if ($act == "mod") {
- print "<tr>
- <td>$infos_page[2] - $infos_page[3] :
- <a href=\"update_news.php?num_news=$infos_page[0]\">$infos_page[1]</a>
- </td>
- </tr>";
+ print "<tr bgcolor='$bg'>
+ <td><a href=\"update_news.php?num_news=$infos_page[0]\">$infos_page[1]</a></td>
+ <td>$infos_page[2] </td>
+ <td>$infos_page[3] </td>
+ </tr>\n";
}
else {
- print "<tr>
- <td>
- <a href=\"#\" onclick=\"confirm_go_to('del_news.php?num_news=$infos_page[0]', 'Are you sure you want to delete news #$infos_page[0] ?');return(false);\">$infos_page[1]</a>
- </td>
- </tr>";
+ print "<tr bgcolor='$bg'>
+ <td><a href=\"#\" onclick=\"confirm_go_to('del_news.php?num_news=$infos_page[0]', 'Are you sure you want to delete news #$infos_page[0] ?');return(false);\">$infos_page[1]</a></td>
+ <td>$infos_page[2] </td>
+ <td>$infos_page[3] </td>
+ </tr>\n";
}
}
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/admin/show_settings.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- show_settings.php 2001/11/18 05:20:06 1.3
+++ show_settings.php 2001/11/19 16:58:27 1.4
@@ -11,15 +11,7 @@
die();
}
-$js = "function confirm_go_to (url, question)
- {
- if (confirm(question))
- {
- this.location = url;
- }
- }";
-
-Admin_popup_header (translate("SETTINGS_MANAGEMENT",$DBH), $js);
+Admin_popup_header (translate("SETTINGS_MANAGEMENT",$DBH), '', 'js/utils.js');
?>
|
|
From: mdw c. <myd...@li...> - 2001-11-21 16:24:54
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
gui.inc.php mydynaweb.libs.php
Added Files:
modules.init.php
Log Message:
*** IMPORTANT FEATURE FOR DEVELOERS ***
*** HOW TO CODE A MODULE FOR MYDYNAWEB ***
Right Now modules develoment is provided by the use of the 'module' object.
To develop a module do as following :
The main aim of modules in mydynaweb is to enable the function overload.
For instance, you need for your module to change the behavior of a specific
function provided by gui.inc.php (get_login_box) => just create the new
function get_login_box in the class of your module and add the code #1 (bottom
of the log) in the function definition in gui.inc.php.
Note that a new file appears : include/modules.init.php
this is here that you should put instances of the modules you want in the array
called $ACTIVE_MODULES.
A module hello world has been released to show how to code it in mydynaweb.
Its only feature is to print "HEllo World' in the search engine box.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v
retrieving revision 1.43
retrieving revision 1.44
diff -u -3 -r1.43 -r1.44
--- gui.inc.php 2001/11/19 16:56:18 1.43
+++ gui.inc.php 2001/11/21 16:24:53 1.44
@@ -216,7 +216,24 @@
function get_searchengine($seek, $DBH)
{
+
+ global $ACTIVE_MODULES;
+
+ // look for module specific function ///////////////////////////////
+ if (sizeof($ACTIVE_MODULES)) {
+ foreach ($ACTIVE_MODULES as $mod) {
+ if (method_exists ($mod, 'get_searchengine')) {
+ return ($mod->get_searchengine($seek, $DBH));
+ }
+ }
+ }
+ else {
+ print "<b>MyDynaWeb Warning : </b> No modules found !";
+ }
+ ////////////////////////////////////////////////////////////////////
+
+
$BOX_HASH_TEMPLATE = read_template(THEMES_PATH . "/box.html");
if ($seek) {
@@ -243,6 +260,17 @@
function get_login_box($session, $show_login, $DBH)
{
+ // look for module specific function
+ if (isset($ACTIVE_MODULES)) {
+
+ foreach ($ACTIVE_MODULES as $mod) {
+ if (method_exists ($mod, 'get_login_box')) {
+ return ($mod.get_login_box($session, $show_login, $DBH));
+ }
+ }
+
+ }
+
$BOX_HASH_TEMPLATE = read_template(THEMES_PATH . "/box.html");
$login_box = "";
@@ -273,8 +301,10 @@
</table>
</form>";
} else {
- $VALUES['CONTENT'] = translate('LOGGED_IN_AS', $DBH) . " $login<br><a href=\"logout.php\">[" .
- translate('LOGOUT', $DBH) . "]</a>";
+ $VALUES['CONTENT'] = ("<a href='members.php3'>".
+ translate('LOGGED_IN_AS', $DBH) .
+ "</a> $login<br>
+ <a href=\"logout.php\">[".translate('LOGOUT', $DBH)."]</a>");
}
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/mydynaweb.libs.php,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -3 -r1.28 -r1.29
--- mydynaweb.libs.php 2001/11/21 03:29:13 1.28
+++ mydynaweb.libs.php 2001/11/21 16:24:53 1.29
@@ -8,6 +8,7 @@
//include('./include/mydynaweb.init.php');
include DYNA_ROOT . "/$db_file";
+include DYNA_ROOT . "/include/modules.init.php";
include DYNA_ROOT . "/include/templates.inc.php";
include DYNA_ROOT . "/include/datatypes.php";
include DYNA_ROOT . "/include/gui.inc.php";
|
|
From: mdw c. <myd...@li...> - 2001-11-21 16:27:30
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/modules/hello Log Message: Directory /cvsroot/mydynaweb/mydynaweb/htdocs/modules/hello added to the repository |
|
From: mdw c. <myd...@li...> - 2001-11-21 16:29:42
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/modules Added Files: modules.class.php Log Message: The hello world module to enable it put in modules.init.php this line : $ACTIVE_MODULES = array(new hello_module()); to disable it, put in modules.init.php this line : $ACTIVE_MODULES = array(); |
|
From: mdw c. <myd...@li...> - 2001-11-21 16:29:43
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/modules/hello Added Files: hello.class.php Log Message: The hello world module to enable it put in modules.init.php this line : $ACTIVE_MODULES = array(new hello_module()); to disable it, put in modules.init.php this line : $ACTIVE_MODULES = array(); |
|
From: mdw c. <myd...@li...> - 2001-11-23 10:48:13
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs Added Files: count.php Log Message: The new stat counter program. ... in stage of development ... |
|
From: mdw c. <myd...@li...> - 2001-11-23 11:46:50
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/smarty
Modified Files:
main.html
Log Message:
First shoot of the new counting system !
The template main.html has now a tag :
<img src='count.php'>
I makes a call to the counter.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/smarty/main.html,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- main.html 2001/11/17 11:49:27 1.2
+++ main.html 2001/11/23 11:46:49 1.3
@@ -58,7 +58,10 @@
<!--nav table outer table (borde)-->
~LINK_BOXES~
-
+ ~SPONSORS~
+
+
+
<br>
</TD>
@@ -109,7 +112,7 @@
<font face="tahoma,helvetica,arial" size="-1">~QUOTATION~</font>
</td>
<td align="right">
- <a href="http://mydynaweb.sf.net"><img src="images/poweredbymydynaweb.gif" border="0"></a>
+ <a href="http://mydynaweb.sf.net"><img src="count.php" border="0"></a>
</td>
</tr>
</table>
|