Nuke smarty

This commit is contained in:
Hannes Magnusson
2008-03-22 18:44:39 +00:00
parent 11cc40ac38
commit a280d4836f
14 changed files with 4 additions and 109 deletions

View File

@ -7,5 +7,4 @@ export NUMFORKS=10
cd ${SCRIPTSDIR}
${PHP} checkent.php phpdoc
${PHP} checkent.php peardoc
${PHP} checkent.php smarty
${PHP} checkent.php gtk

View File

@ -188,7 +188,7 @@ function site_nav_provider()
if (strpos($_SERVER['REQUEST_URI'], 'rfc') !== false) {
$links['submit-rfc'] = BASE_URL .'/rfc/rfc-proposal-edit.php';
}
if (in_array(SITE, array('gtk', 'pear', 'php', 'smarty'))) {
if (in_array(SITE, array('gtk', 'pear', 'php'))) {
$links['rev-check'] = BASE_URL .'/revcheck.php';
}
if (SITE == 'php') {
@ -199,7 +199,6 @@ function site_nav_provider()
switch(SITE) {
case 'php':
case 'pear':
case 'smarty':
case 'gtk':
$links['checkent'] = BASE_URL . '/checkent.php';
break;
@ -217,7 +216,6 @@ function site_nav_provider()
$links['phpt-generator'] = BASE_URL . '/phpt_generator.php';
case 'pear':
case 'smarty':
}
}

View File

@ -29,7 +29,6 @@ $PROJECTS = array(
// project => (Name, local folder, cvs module)
'www' => array('Documentation', '', ''),
'php' => array('PHP Documentation', DOC_DIR, 'phpdoc/en'),
'smarty' => array('Smarty', 'smarty/docs', 'smarty/docs/en'),
'pear' => array('PEAR Documentation', PEAR_DIR, 'peardoc/en'),
'gtk' => array('PHP-GTK Documentation', GTK_DIR, 'php-gtk-doc/manual/en'),
'phd' => array('phd', '', ''),

View File

@ -39,18 +39,13 @@ switch (isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : false) {
$entType = 'pear';
break;
case 'smarty':
$filename = CVS_DIR . '/smarty/docs/entities/global.ent';
$entType = 'smarty';
break;
case 'gtk':
$filename = CVS_DIR . GTK_DIR. '/manual/global.ent';
$entType = 'gtk';
break;
default:
echo "Usage: {$_SERVER['argv'][0]} phpdoc|peardoc|smarty|gtk\n";
echo "Usage: {$_SERVER['argv'][0]} phpdoc|peardoc|gtk\n";
die();
}

View File

@ -12,7 +12,6 @@ include '../include/lib_revcheck.inc.php';
$type_col_bar = array(
'php' => '9999cc',
'smarty' => 'f0c040',
'pear' => '339900',
'gtk' => '0099cc'

View File

@ -24,17 +24,6 @@ echo "Generating PEAR pictures"
${PHP} -q ./gen_picture_info.php pear
echo "... done"
# SMARTY
echo "Generating SMARTY database"
${PHP} -q ./rev.php smarty
echo "... done."
echo "Generating SMARTY pictures"
${PHP} -q ./gen_picture_info.php smarty
echo "... done"
echo "Generating global graphs"
${PHP} -q ./gen_picture_info_all_lang.php
echo "... done"

View File

@ -15,7 +15,7 @@
# | Authors: Jacques Marneweck <jacques@php.net> |
# +----------------------------------------------------------------------+
#
# $Id: populatedocs.sh,v 1.11 2008-02-03 15:14:30 bjori Exp $
# $Id: populatedocs.sh,v 1.12 2008-03-22 18:44:38 bjori Exp $
CVSBIN=/usr/bin/cvs
pushd .
@ -48,9 +48,6 @@ else
${CVSBIN} -d :pserver:cvsread@cvs.php.net:/repository co -d ${GTKDIR} php-gtk-doc
fi
echo "Checking out Smarty docs..."
${CVSBIN} -d :pserver:cvsread@cvs.php.net:/repository co smarty/docs
echo "Checking out PEAR docs..."
if [ -d ${PEARDIR} ]
then

View File

@ -65,7 +65,7 @@ include '../include/init.inc.php';
// grab the documentation type
$TYPE = array_shift($argv);
if (!in_array($TYPE, array('php', 'smarty', 'pear'))) {
if (!in_array($TYPE, array('php', 'pear'))) {
echo "Error: The revcheck script is not available yet for $TYPE\n";
exit(0);
}

View File

@ -2,5 +2,4 @@
<a href="<?php echo get_insite_address('php'); ?>" class="logo logo-php">&docweb.common.project.php;</a>
<a href="<?php echo get_insite_address('pear'); ?>" class="logo logo-pear">&docweb.common.project.pear;</a>
<a href="<?php echo get_insite_address('gtk'); ?>" class="logo logo-gtk">&docweb.common.project.php-gtk;</a>
<a href="<?php echo get_insite_address('smarty'); ?>" class="logo logo-smarty">&docweb.common.project.smarty;</a>
<a href="<?php echo get_insite_address('phd'); ?>" class="logo logo-phd">&docweb.common.project.phd;</a>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

View File

@ -72,10 +72,6 @@ tr.even td {
background-color: #330099;
color: white;
}
.logo-smarty {
background-color: #f0c040;
color: black;
}
.logo-gtk {
background-color: #cacaca;
color: white;

View File

@ -1,76 +0,0 @@
/* $Id$ */
@import url(/style/common.css);
/**
* smarty specific style
**/
#HeaderWindows {
background-color: #f0c040;
background-image:url("/images/smarty-logo-orange.gif");
background-position:top left;
background-repeat:no-repeat;
}
#LeftData {
background-color: #f0ead8;
}
#LeftData h2, #CenterData h2 {
color: #000;
}
#CenterData h3 {
color: #9b410e;
font-style: italic;
}
div .ColoredDiv {
background: #f0c040;
padding: 5px;
border: solid 1px #666699;
width: 70%;
}
th {
background: #f0c040;
}
/* Les liens */
a {
font-weight: normal;
color: #3b404c;
}
a:hover {
border-bottom: 1px dotted #003300;
}
#Nav1 a {
color: #000;
}
#Nav1 a:hover {
border-bottom: 1px dotted #000;
}
#Nav2, #FooterData {
background-color: #9b410e;
}
#Nav2 a, #FooterData a {
color: #fff;
}
#Nav2 a:hover, #FooterData a:hover {
border-bottom: 1px dotted #fff;
}
/* footer */
#FooterData2 {
background-color: #f0c040;
}