summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2001-11-15 04:23:54 +0000
committerDaniel Robbins <drobbins@gentoo.org>2001-11-15 04:23:54 +0000
commit4003ce3b51d81b8746f5167f00c830535ad217f3 (patch)
tree3b4b60b267d431df56b69d75c379fcb73d4116b8
parentAdded /etc/fb.modes (diff)
downloadhistorical-4003ce3b51d81b8746f5167f00c830535ad217f3.tar.gz
historical-4003ce3b51d81b8746f5167f00c830535ad217f3.tar.bz2
historical-4003ce3b51d81b8746f5167f00c830535ad217f3.zip
web updates
-rwxr-xr-xapp-doc/gentoo-web/files/bin/cvslog.sh18
-rwxr-xr-xapp-doc/gentoo-web/files/xml/main-about.xml1
-rwxr-xr-xapp-doc/gentoo-web/files/xsl/guide-main.xsl7
3 files changed, 12 insertions, 14 deletions
diff --git a/app-doc/gentoo-web/files/bin/cvslog.sh b/app-doc/gentoo-web/files/bin/cvslog.sh
index ff1f4cd66520..e02a959b832e 100755
--- a/app-doc/gentoo-web/files/bin/cvslog.sh
+++ b/app-doc/gentoo-web/files/bin/cvslog.sh
@@ -1,15 +1,12 @@
#!/bin/bash
USER=drobbins
-HOMEDIR=/home/${USER}
-SSHAGENTFILE=${HOMEDIR}/.ssh-agent-cvs.gentoo.org
-CVSDIR=${HOMEDIR}/gentoo/gentoo-x86
-OUTLOG=${HOMEDIR}/gentoo/xmlcvslog.txt
-OUTMAIL=${HOMEDIR}/gentoo/cvslog.txt
-WEBDIR=/usr/local/httpd/htdocs
-XSLTP=/opt/gnome/bin/xsltproc
-TMPFILE=${HOMEDIR}/gentoo/xmlcvslog.tmp
-
-source ${SSHAGENTFILE}
+HOMEDIR=/home/d/${USER}
+CVSDIR=${HOMEDIR}/scripts/gentoo-x86
+OUTLOG=${HOMEDIR}/scripts/cvslog.out
+OUTMAIL=${HOMEDIR}/scripts/cvsmail.out
+WEBDIR=/www/virtual/www.gentoo.org/htdocs
+XSLTP=/usr/bin/xsltproc
+TMPFILE=${HOMEDIR}/scripts/cvslog.tmp
if [ -z "$CVSMAIL" ]
then
@@ -27,7 +24,6 @@ nicedate=`date -d yesterday +"%d %b %Y %Z (%z)"`
$XSLTP ${WEBDIR}/xsl/cvs.xsl ${OUTLOG}.2 > $TMPFILE
$XSLTP ${WEBDIR}/xsl/guide-main.xsl $TMPFILE > ${WEBDIR}/index-changelog.html
chmod 0644 ${WEBDIR}/index-changelog.html
-scp -o Protocol=1 ${WEBDIR}/index-changelog.html drobbins@ftp.spinn.net:www/
if [ "$CVSMAIL" = "yes" ]
then
/usr/bin/cvs2cl.pl -f ${OUTMAIL} -l "${cvsdate}"
diff --git a/app-doc/gentoo-web/files/xml/main-about.xml b/app-doc/gentoo-web/files/xml/main-about.xml
index 08ffde6bb738..163aa6d35745 100755
--- a/app-doc/gentoo-web/files/xml/main-about.xml
+++ b/app-doc/gentoo-web/files/xml/main-about.xml
@@ -2,7 +2,6 @@
<mainpage id="about">
<title>About Gentoo Linux</title>
<author title="Author"><mail link="drobbins@gentoo.org">Daniel Robbins</mail></author>
-<author title="Editor"><mail link="thomasfl@gentoo.org">Thomas Flavel</mail></author>
<version>1.0.3</version>
<date>09 Aug 2001</date>
diff --git a/app-doc/gentoo-web/files/xsl/guide-main.xsl b/app-doc/gentoo-web/files/xsl/guide-main.xsl
index 7697cf5c59ac..3ba2afd99142 100755
--- a/app-doc/gentoo-web/files/xsl/guide-main.xsl
+++ b/app-doc/gentoo-web/files/xsl/guide-main.xsl
@@ -334,7 +334,7 @@ User Docs:<br/>
<a class="altlink" href="http://lists.gentoo.org">Complete list of mailing lists</a><br/>
<br/>
Other Resources:<br/>
- <a class="altlink" href="http://www.gentoo.org/cgi-bin/cvsweb.cgi">cvsweb</a> (browse our repository)<br/>
+ <a class="altlink" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi">viewcvs</a> (browse our repository)<br/>
IRC: #gentoo on <a class="altlink" href="http://www.openprojects.net/">OPN</a><br/>
<br/><br/></p></td></tr></table>
</td></tr>
@@ -515,10 +515,13 @@ of your sale will go towards further Gentoo Linux development.</p>
</xsl:if>
</xsl:otherwise>
</xsl:choose>
- <xsl:apply-templates select="section"/>
+ <xsl:apply-templates select="section">
+ <xsl:with-param name="chapid" value="$chapid"/>
+ </xsl:apply-templates>
</xsl:template>
<xsl:template match="section">
+ <xsl:param name="chapid"/>
<xsl:if test="title">
<xsl:variable name="sectid"><xsl:value-of select="$chapid"/>_sect<xsl:number/></xsl:variable>
<p class="secthead"><a name="{$sectid}"><xsl:value-of select="title"/>&#160;</a></p>