|
From: mdw c. <myd...@li...> - 2001-12-13 23:04:57
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay/img Log Message: Directory /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/img added to the repository |
|
From: mdw c. <myd...@li...> - 2001-12-13 23:08:20
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay Added Files: bar.html box.html brown.css calendar.html comment.html default.css main.html news.html page.html topbar.html Log Message: Merry Chrismas ! (yes I know that's not really the time for that but here it's like Chrismas ! :) I've released a new funckin' theme which is, to me, one of the smartest to see. It has been done from the site http://lnx.dk which is really nice to look at and, furthermore, well HTML written. Well, just cvs update and add "deekay" to your theme list. Then .... enjoy !!!! |
|
From: mdw c. <myd...@li...> - 2001-12-13 23:08:50
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs Modified Files: news.php Log Message: Merry Chrismas ! (yes I know that's not really the time for that but here it's like Chrismas ! :) I've released a new funckin' theme which is, to me, one of the smartest to see. It has been done from the site http://lnx.dk which is really nice to look at and, furthermore, well HTML written. Well, just cvs update and add "deekay" to your theme list. Then .... enjoy !!!! =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/news.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- news.php 2001/11/08 03:11:12 1.1 +++ news.php 2001/12/13 23:08:20 1.2 @@ -190,7 +190,7 @@ ///////////////////////////////// // creation of the title - $news_tt = "<b><font size='+1' color='#FFFFFF'>$row[1]</font></b>"; + $news_tt = "<b><font size='+1'>$row[1]</font></b>"; $intro = "<font size='-1'><i>".translate("POSTED_BY", $DBH). " $row[7], $da_formated_date<br>" . translate('FROM_THE_CATEGORY', $DBH) . |
|
From: mdw c. <myd...@li...> - 2001-12-13 23:08:50
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/include Modified Files: gui.inc.php Log Message: Merry Chrismas ! (yes I know that's not really the time for that but here it's like Chrismas ! :) I've released a new funckin' theme which is, to me, one of the smartest to see. It has been done from the site http://lnx.dk which is really nice to look at and, furthermore, well HTML written. Well, just cvs update and add "deekay" to your theme list. Then .... enjoy !!!! =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v retrieving revision 1.45 retrieving revision 1.46 diff -u -3 -r1.45 -r1.46 --- gui.inc.php 2001/11/21 18:54:16 1.45 +++ gui.inc.php 2001/12/13 23:08:20 1.46 @@ -244,7 +244,6 @@ } } else { - print "<b>MyDynaWeb Warning : </b> No modules found !"; } //////////////////////////////////////////////////////////////////// |
|
From: mdw c. <myd...@li...> - 2001-12-13 23:14:32
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay Modified Files: main.html Log Message: Well, its better with the good CSS link ;) =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/main.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- main.html 2001/12/13 23:08:20 1.1 +++ main.html 2001/12/13 23:14:31 1.2 @@ -4,8 +4,8 @@ <HEAD> <TITLE>~SITE_TITLE~ - ~PAGE_TITLE~</TITLE> -<link rel="stylesheet" href="templates/pale/default.css" type="text/css"> -<link rel="stylesheet" href="templates/pale/brown.css" type="text/css"> +<link rel="stylesheet" href="templates/deekay/default.css" type="text/css"> +<link rel="stylesheet" href="templates/deekay/brown.css" type="text/css"> </HEAD> |
|
From: mdw c. <myd...@li...> - 2001-12-14 08:13:40
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay Modified Files: main.html Log Message: The title of the site is much better like that :) =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/main.html,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- main.html 2001/12/13 23:14:31 1.2 +++ main.html 2001/12/14 08:13:39 1.3 @@ -17,8 +17,17 @@ <!-- ENTETE --> <center> - <div id="head"><font size="+4"><b>~SITE_TITLE~</b></font></div> + +<div id="head"> +<table cellpadding="3" cellspacing="0" border="0" bgcolor="#afadac"><tr><td> +<table cellpadding="0" cellspacing="7" border="0" bgcolor="#f2f0ef"><tr><td> +<font color="#afadac" size="+4"> <b>~SITE_TITLE~</b> </font> +</td></tr></table> +</td></tr></table> +</div> + ~TOPBAR~ + </center> |
|
From: mdw c. <myd...@li...> - 2001-12-14 09:30:22
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/tools/content
Modified Files:
rdf_grabber.php
Log Message:
Fixed the damned bug with headlines !
I've replaced fsockopen by fopen.
It works fine for me.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/tools/content/rdf_grabber.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- rdf_grabber.php 2001/12/09 16:02:28 1.23
+++ rdf_grabber.php 2001/12/14 09:30:20 1.24
@@ -1,7 +1,7 @@
<?
//!! RDF Import/Export tools
//! Load rdf files from a given list and produce the headlines for MDW
-// $Id: rdf_grabber.php,v 1.23 2001/12/09 16:02:28 bligneri Exp $
+// $Id: rdf_grabber.php,v 1.24 2001/12/14 09:30:20 sukria Exp $
/*!TODO
@@ -196,7 +196,7 @@
if (ereg("<title>(.*)</title>",$lines[$i],$regs)) {
if ($regs[1] == $exclude) {$i+=1; break;}
$title = $regs[1];
- $title = ereg_replace("&apos;","'",$title);
+ $title = ereg_replace("'","'",$title);
}
else if (ereg("<$linkstr>(.*)</$linkstr>",$lines[$i],$regs)) {
$links[$title] = $regs[1];
@@ -209,7 +209,11 @@
/*! \private
- Return contents of a web url as an array or false if timeout
+ Return contents of a web url as an array or false if timeout
+ Major Change by sukria, 2001/12/14 : now we use fopen instead of making the HTTP 1.0 GET
+ query ourselves. We do that because there was a bug (unknown cause...) on several dynaweb
+ sites : they were unable to grab to headlines... with fopen it works fine.
+ The other point is that fopen manage to get rdf files from virtual hosts as the old method could not.
\in
string : $url : Address of the rdf file.
@@ -223,10 +227,8 @@
$server = ereg_replace("http://","",$url);
$file = strstr($server,"/");
$server = ereg_replace("$file","",$server);
- $fp = fsockopen($server, 80, &$errno, &$errstr);
+ $fp = fopen("http://$server/$file", 'r');
if ($fp) {
- fputs($fp,"GET $file HTTP/1.0\nHost: $server\n\n");
- socket_set_timeout($fp,$socket_timeout);
while ($line = fgets($fp, 4096)) {
$lines[] = $line;
}
|
|
From: mdw c. <myd...@li...> - 2001-12-14 09:44:21
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/tools/content
Modified Files:
rdf_grabber.php
Log Message:
Warning instead of dyning when unable to grab
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/tools/content/rdf_grabber.php,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -3 -r1.24 -r1.25
--- rdf_grabber.php 2001/12/14 09:30:20 1.24
+++ rdf_grabber.php 2001/12/14 09:44:20 1.25
@@ -1,7 +1,7 @@
<?
//!! RDF Import/Export tools
//! Load rdf files from a given list and produce the headlines for MDW
-// $Id: rdf_grabber.php,v 1.24 2001/12/14 09:30:20 sukria Exp $
+// $Id: rdf_grabber.php,v 1.25 2001/12/14 09:44:20 sukria Exp $
/*!TODO
@@ -141,7 +141,7 @@
$links = $this->getLinksSite($which); // try from site again
if (!$links) {
$url = $this->sites[$which][1].$this->sites[$which][2];
- die("<b>error</b>: unable to get links for $which<br><a href=\"$url\">$url</a>");
+ print("<font size=\"-1\"><b>MyDynaWeb Warning</b>: unable to get links for $which<br><a href=\"$url\">$url</a><br>Hint: you should remove '$which' from your HEADLINES until you fix the problem.</font><br>");
}
}
@@ -227,7 +227,7 @@
$server = ereg_replace("http://","",$url);
$file = strstr($server,"/");
$server = ereg_replace("$file","",$server);
- $fp = fopen("http://$server/$file", 'r');
+ $fp = @fopen("http://$server/$file", 'r');
if ($fp) {
while ($line = fgets($fp, 4096)) {
$lines[] = $line;
|
|
From: mdw c. <myd...@li...> - 2001-12-14 11:03:59
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay Modified Files: main.html Log Message: Added the quotation tag. =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/main.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- main.html 2001/12/14 08:13:39 1.3 +++ main.html 2001/12/14 11:03:59 1.4 @@ -69,9 +69,14 @@ <!-- PIED DE PAGE --> <div id="footer"> +<font size="3" >~QUOTATION~</font> + +<p> + +</p> + This site is powered by <a href="http://mydynaweb.sf.net">MyDynaWeb</a>, the free web site builder.<br> - The current HTML output has been generated from the pretty smart <A href="http://lnx.dk">lnx dot dk</A> web site. - + The current HTML output has been generated from the pretty smart <A href="http://lnx.dk">lnx dot dk</A> web site. </div> </body> |
|
From: mdw c. <myd...@li...> - 2001-12-17 09:43:56
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/deekay
Modified Files:
default.css main.html news.html
Log Message:
some minor bugfixes in the theme
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/default.css,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- default.css 2001/12/13 23:08:20 1.1
+++ default.css 2001/12/17 09:43:55 1.2
@@ -11,7 +11,13 @@
}
a:hover {
border: 0px;
+ text-decoration: underline;
}
+
+img {
+ border: 1px solid #000000;
+}
+
pre a {
color: #333333;
text-decoration: none;
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/main.html,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -3 -r1.4 -r1.5
--- main.html 2001/12/14 11:03:59 1.4
+++ main.html 2001/12/17 09:43:55 1.5
@@ -38,7 +38,7 @@
<tr>
<!-- COLONNE GAUCHE -->
- <td width="150" valign="top">
+ <td width="20%" valign="top">
<div id="bar">
~LINK_BOXES~
~SPONSORS~
@@ -46,12 +46,12 @@
</td>
<!-- CENTRE -->
- <td valign="top">
+ <td valign="top" width="60%">
~CONTENT~
</td>
<!-- COLONNE DROITE -->
- <td width="150" valign="top">
+ <td width="20%" valign="top">
<div id="bar">
~LOGIN~
~SEARCH~
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/news.html,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -3 -r1.1 -r1.2
--- news.html 2001/12/13 23:08:20 1.1
+++ news.html 2001/12/17 09:43:55 1.2
@@ -3,7 +3,7 @@
~TEXT~
- <table width="100%"><tr>
+ <table ><tr>
<td align="left">
<font size="-1" color="#777777"><b>·:[ ~NBHIT~ hits - ~NBCOMMENT~ ~COMMENTS~ ]:·</b></font>
</td>
|
|
From: mdw c. <myd...@li...> - 2001-12-17 09:45:16
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/datas/FR Modified Files: fortunes.txt Log Message: des citations franchouillardes :) =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/datas/FR/fortunes.txt,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- fortunes.txt 2001/12/11 10:36:55 1.2 +++ fortunes.txt 2001/12/17 09:45:15 1.3 @@ -1,11 +1,24 @@ KDE est au window manager ce que Mandrake est à Linux ; un mauvais simulacre. - Anonyme (quelqu'un qui n'aime visiblement pas KDE :) %%% +"On est des jedi mais on n'est pas Yoda !" +- Enric Joffrion +%%% L'expansion de l'univers est un coredump en cours... - Anonyme %%% Les deux principales inventions qui ont été faîtes faîtes à Berkley sont le LSD et UNIX. Il est impossible que cela soit une coïncidence... +%%% +Weborama, les killers du Web ! +%%% +Une citation, c'est une phrase pleine d'originalité, comme celle là... +%%% +"Tout ce qui brille n'est pas or" +- J.R.R. Tolkien +%%% +"L'homme et le monde sont deux systèmes toxiques l'un pour l'autre" +- Philip K. Dick - Anonyme %%% L'avenir m'intéresse beaucoup car c'est ici que je compte passer le reste de mes jours. |
|
From: mdw c. <myd...@li...> - 2001-12-18 09:40:32
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/deekay
Modified Files:
default.css main.html
Log Message:
some css fixes
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/default.css,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- default.css 2001/12/17 09:43:55 1.2
+++ default.css 2001/12/18 09:40:29 1.3
@@ -90,7 +90,6 @@
padding: 10px;
font-size: 11px;
line-height: 200%;
- text-align: justify;
}
#sidebar {
visibility: visible;
@@ -144,16 +143,16 @@
-moz-opacity: 40%;
border: 1px solid #000000;
}
-#meText {
- top: 80px;
- width: 420px;
- height: 360px;
+#layerIn {
+ top: 100px;
+ width: 400px;
+ height: 340px;
border: 1px solid #666666;
background-color: #dddddd;
}
-#meText img{
+#layerIn img{
border: 1px solid #000000;
}
-#meText a:hover {
+#layerIn a:hover {
border: 0px;
}
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/main.html,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- main.html 2001/12/17 09:43:55 1.5
+++ main.html 2001/12/18 09:40:29 1.6
@@ -6,6 +6,7 @@
<link rel="stylesheet" href="templates/deekay/default.css" type="text/css">
<link rel="stylesheet" href="templates/deekay/brown.css" type="text/css">
+<script language="JavaScript" src="templates/deekay/layer.js"></script>
</HEAD>
@@ -27,7 +28,7 @@
</div>
~TOPBAR~
-
+
</center>
@@ -79,15 +80,19 @@
The current HTML output has been generated from the pretty smart <A href="http://lnx.dk">lnx dot dk</A> web site.
</div>
+<div align="center" id="layer" valign="center" style="position:absolute; top:100px; width:100%; height:auto; visibility: hidden">
+<div id="layerIn">
+<p>
+<center>
+<h2>Dernière Minute</h2>
+<img src="/images/t_gandalf.jpg">
+<p>
+Une nouvelle sur le Seigneur des Anneaux vous attend et propose divers liens en rapport avec l'univers merveilleux de Tolkien...
+<br><br>
+<a href="#" onClick="hide('layer');return(false);">Fermer</a>
+</center>
+</div>
+</div>
+
</body>
</html>
-
-
-
-
-
-
-
-
-
-
|
|
From: mdw c. <myd...@li...> - 2001-12-18 09:44:28
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay Added Files: layer.js Log Message: This JavaScript file was taken from http://lnx.dk It manages layer through 2 functions really easy to use : show('divID'); // to display the layer callded divID hide('divID'); // to hide it The layer should have been defined like that : === file : main.html ==== <html> ... <body> [...] <div id="divID" [layer options]> here my content </div> </body> </html> Actually I've done ,nothing to integreate it in MyDynaWeb but I'm working on an admin section that would enable to display last piece of news whenever someone come on a page of the site for the first time.... |
|
From: mdw c. <myd...@li...> - 2001-12-18 09:45:52
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/tools/events
Modified Files:
stats.php
Log Message:
A new feature has been added in the "What's Up ?" box :
the most read piece of news : it shows the piece of news which has the max number of hit.
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/tools/events/stats.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- stats.php 2001/11/04 13:18:03 1.12
+++ stats.php 2001/12/18 09:45:51 1.13
@@ -171,8 +171,18 @@
$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>");
+ $ELEMS["LAST_NEWS"] = ("<li>" . translate('DERNIERE_NEWS', $DBH) . " : <a href='comment.php?news=$row[1]'>".$row[0]."</a></li>");
+ // best news
+ $sql = "select titre, num_news, nbhit
+ from news
+ where lang = '".USER_LANG."'
+ order by nbhit desc";
+ $rqt = new query($DBH);
+ $rqt->query($DBH, $sql);
+ $row = $rqt->getrow();
+ $ELEMS["BEST_NEWS"] = ("<li>" . translate('BEST_NEWS', $DBH) . " : <a href='comment.php?news=$row[1]'>".$row[0]."</a> ($row[2] hits)</li>");
+
// last comment
$sql = "select title, news.num_news, titre
from comments, news
@@ -182,7 +192,7 @@
$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])");
+ $ELEMS["LAST_COMMENT"] = ("<li>" . translate('DERNIER_COMMENTAIRE', $DBH) . " : <a href='comment.php?news=$row[1]'>".$row[0]."</a> ($row[2])</li>");
$tokens['TITLE'] = translate('WHAZAA', $DBH);
$BOX = get_hash_template($hash_box['HEAD'], $tokens);
@@ -192,6 +202,10 @@
$tokens['CONTENT'] = $ELEMS['LAST_COMMENT'];
$BOX .= get_hash_template($hash_box['LINE'], $tokens);
+
+ $tokens['CONTENT'] = $ELEMS['BEST_NEWS'];
+ $BOX .= get_hash_template($hash_box['LINE'], $tokens);
+
$BOX .= get_hash_template($hash_box['FOOT'], $tokens);
|
|
From: mdw c. <myd...@li...> - 2001-12-18 10:28:31
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/smarty
Modified Files:
main.html
Log Message:
some updates to integrate layer.js in templates
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/smarty/main.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- main.html 2001/12/10 16:52:39 1.7
+++ main.html 2001/12/18 10:28:29 1.8
@@ -4,8 +4,25 @@
<HEAD>
<TITLE>~SITE_TITLE~ - ~PAGE_TITLE~</TITLE>
-
+<script src="templates/smarty/layer.js"></script>
<style type="text/css">
+#layerIn {
+ top: 100px;
+ width: 400px;
+ height: 340px;
+ border: 1px solid #666666;
+ background-color: #dddddd;
+ text-align: center;
+}
+#layerIn img{
+ border: 1px solid #000000;
+}
+#layerIn a:hover {
+ border: 0px;
+}
+
+
+
td.header {
color : #eeeeee;
background-color : #777799;
@@ -233,8 +250,8 @@
<p>
<center>
</center>
-
+~LAYER~
</BODY>
</HTML>
|
|
From: mdw c. <myd...@li...> - 2001-12-18 10:29:00
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/deekay Modified Files: main.html Log Message: some updates to integrate layer.js in templates =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/deekay/main.html,v retrieving revision 1.6 retrieving revision 1.7 diff -u -3 -r1.6 -r1.7 --- main.html 2001/12/18 09:40:29 1.6 +++ main.html 2001/12/18 10:28:29 1.7 @@ -80,19 +80,7 @@ The current HTML output has been generated from the pretty smart <A href="http://lnx.dk">lnx dot dk</A> web site. </div> -<div align="center" id="layer" valign="center" style="position:absolute; top:100px; width:100%; height:auto; visibility: hidden"> -<div id="layerIn"> -<p> -<center> -<h2>Dernière Minute</h2> -<img src="/images/t_gandalf.jpg"> -<p> -Une nouvelle sur le Seigneur des Anneaux vous attend et propose divers liens en rapport avec l'univers merveilleux de Tolkien... -<br><br> -<a href="#" onClick="hide('layer');return(false);">Fermer</a> -</center> -</div> -</div> +~LAYER~ </body> </html> |
|
From: mdw c. <myd...@li...> - 2001-12-18 10:29:00
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/default Modified Files: main.html Log Message: some updates to integrate layer.js in templates =================================================================== RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/default/main.html,v retrieving revision 1.30 retrieving revision 1.31 diff -u -3 -r1.30 -r1.31 --- main.html 2001/10/17 20:10:47 1.30 +++ main.html 2001/12/18 10:28:29 1.31 @@ -205,6 +205,7 @@ <p> </P> +~LAYER~ </body> </html> |
|
From: mdw c. <myd...@li...> - 2001-12-18 10:29:00
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/dynadot
Modified Files:
main.html
Log Message:
some updates to integrate layer.js in templates
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/dynadot/main.html,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- main.html 2001/11/07 14:13:53 1.11
+++ main.html 2001/12/18 10:28:29 1.12
@@ -3,9 +3,26 @@
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
+<script src="templates/dynadot/layer.js"></script>
<title>~SITE_TITLE~</title>
<style type="text/css">
-
+
+ #layerIn {
+ top: 100px;
+ width: 400px;
+ height: 340px;
+ border: 1px solid #666666;
+ background-color: #dddddd;
+ text-align: center;
+ }
+ #layerIn img{
+ border: 1px solid #000000;
+ }
+ #layerIn a:hover {
+ border: 0px;
+ }
+
+
A {
text-decoration: none;
color : #006666;
@@ -179,7 +196,7 @@
The current HTML output has been made from the famous <b><a href="http://www.slashdot.org" target="out">Slashdot</a></b> site.
</font>
</center>
-
+~LAYER~
</body>
</html>
|
|
From: mdw c. <myd...@li...> - 2001-12-18 10:29:01
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/enlightened
Modified Files:
main.html stylesheet.css
Log Message:
some updates to integrate layer.js in templates
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/enlightened/main.html,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -3 -r1.13 -r1.14
--- main.html 2001/11/08 03:11:12 1.13
+++ main.html 2001/12/18 10:28:29 1.14
@@ -5,6 +5,7 @@
<meta name="keywords" content="MyDynaWeb, mydynaweb, my dyna web, php, mysql, apache">
<title>~SITE_TITLE~ - ~PAGE_TITLE~</title>
<link rel="stylesheet" type="text/css" href="templates/enlightened/stylesheet.css">
+<script src="templates/enlightened/layer.js"></script>
</head>
<body>
@@ -143,7 +144,7 @@
</font>
</center>
-
+~LAYER~
</body></html>
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/enlightened/stylesheet.css,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- stylesheet.css 2001/10/18 00:27:33 1.6
+++ stylesheet.css 2001/12/18 10:28:29 1.7
@@ -1,3 +1,17 @@
+#layerIn {
+ top: 100px;
+ width: 400px;
+ height: 340px;
+ border: 1px solid #666666;
+ background-color: #667788;
+ text-align: center;
+}
+#layerIn img{
+ border: 1px solid #000000;
+}
+#layerIn a:hover {
+ border: 0px;
+}
body { margin-left:0px;
margin-right:0px;
@@ -25,45 +39,6 @@
table.content { background-color:#7a8a9a;
color:#ffffff;
}
-
-td.calendar {
- background-color: #667788;
- color: #BBCCDD;
- font-size: 8pt;
- font-family: tahoma,arial,helvetica;
- }
-.calendarEvent {
- color: #667788;
- font-family: tahoma,arial,helvetica;
- font-weight: bold;
- text-decoration: underline;
- }
-
-
-
-td.CalendarHeader {
- background-color: #556677;
- color: #AABBCC;
- font-size: 7pt;
- font-family: tahoma,arial,helvetica;
- font-weight: bold;
- }
-td.CalendarClassic {
- background-color: #FFFFFF;
- color: #667788;
- font-size: 7pt;
- font-family: tahoma,arial,helvetica;
- }
-
-td.calendarToday {
- background-color: #445566;
- color: #667788;
- font-size: 7pt;
- font-family: tahoma,arial,helvetica;
- font-weight: bold;
- }
-
-
td.content { background-color:#7a8a9a;
color:#ffffff;
|
|
From: mdw c. <myd...@li...> - 2001-12-18 10:29:01
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/templates/gnome
Modified Files:
main.html
Log Message:
some updates to integrate layer.js in templates
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/templates/gnome/main.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- main.html 2001/10/08 11:03:35 1.6
+++ main.html 2001/12/18 10:28:29 1.7
@@ -24,7 +24,22 @@
td,p,li {
font-family: tahoma,arial,helvetica;
}
+#layerIn {
+ top: 100px;
+ width: 400px;
+ height: 340px;
+ border: 1px solid #666666;
+ background-color: #dddddd;
+ text-align: center;
+}
+#layerIn img{
+ border: 1px solid #000000;
+}
+#layerIn a:hover {
+ border: 0px;
+}
+
</style>
</head>
@@ -138,6 +153,6 @@
</td></tr></table>
</td></tr></table>
</td></tr></table>
-
+~LAYER~
</body>
</html>
|
|
From: mdw c. <myd...@li...> - 2001-12-18 10:42:01
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/dynadot Added Files: layer.js Log Message: The layer is now integrated in mydynaweb. TO DO : make an admin section that will create the file htdocs/backend/layer.txt |
|
From: mdw c. <myd...@li...> - 2001-12-18 10:42:01
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/smarty Added Files: layer.js Log Message: The layer is now integrated in mydynaweb. TO DO : make an admin section that will create the file htdocs/backend/layer.txt |
|
From: mdw c. <myd...@li...> - 2001-12-18 10:42:01
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/templates/enlightened Added Files: layer.js Log Message: The layer is now integrated in mydynaweb. TO DO : make an admin section that will create the file htdocs/backend/layer.txt |
|
From: mdw c. <myd...@li...> - 2001-12-18 10:42:30
|
MyDynaWeb CVS committal
Author : sukria
Project : mydynaweb
Module : htdocs
Dir : mydynaweb/htdocs/include
Modified Files:
gui.inc.php templates.inc.php
Log Message:
The layer is now integrated in mydynaweb.
TO DO :
make an admin section that will create the file htdocs/backend/layer.txt
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/gui.inc.php,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -3 -r1.46 -r1.47
--- gui.inc.php 2001/12/13 23:08:20 1.46
+++ gui.inc.php 2001/12/18 10:41:59 1.47
@@ -159,6 +159,15 @@
}
+function get_layer($DBH, $hash)
+{
+ if (strlen(USER_LANG)) {
+ $lang = USER_LANG;
+ } else {
+ $lang = DEFAULT_LANG;
+ }
+ return (get_hash_template($hash[$lang], $tokens));
+}
function get_troving_bar($DBH)
{
===================================================================
RCS file: /cvsroot/mydynaweb/mydynaweb/htdocs/include/templates.inc.php,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -3 -r1.32 -r1.33
--- templates.inc.php 2001/12/11 12:17:19 1.32
+++ templates.inc.php 2001/12/18 10:41:59 1.33
@@ -20,12 +20,14 @@
{
$hash_box = read_template(THEMES_PATH . '/box.html');
+ $hash_layer = read_template(DYNA_ROOT . '/backend/layer.txt');
$news_sites = explode(",", HEADLINES);
for($i=0;$i<sizeof($news_sites);$i++) {
$VALUES["HEADLINES"] .= get_headlines($DBH, $news_sites[$i]);
}
+ $VALUES['LAYER'] = get_layer($DBH, $hash_layer);
$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);
|
|
From: mdw c. <myd...@li...> - 2001-12-18 10:48:08
|
MyDynaWeb CVS committal Author : sukria Project : mydynaweb Module : htdocs Dir : mydynaweb/htdocs/backend Added Files: layer.txt Log Message: This is the layer content file. It should contains the last news content. Remains to make an admin section that will fill this file. |