[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Savannah-hackers] [ 100806 ] where is SV_THEME and sys_https_host set
From: |
nobody |
Subject: |
[Savannah-hackers] [ 100806 ] where is SV_THEME and sys_https_host set |
Date: |
Wed, 24 Apr 2002 16:45:30 -0400 |
Support Request #100806, was updated on 2002-Apr-24 22:33
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100806&group_id=11
Category: Web
Status: Closed
Priority: 5
Summary: where is SV_THEME and sys_https_host set
By: yeupou
Date: 2002-Apr-24 22:45
Message:
Logged In: YES
user_id=1896
Browser: Mozilla/5.0 Galeon/1.2.1 (X11 ; GNU / Linux 2.4.17 i686 ; fr_FR)
<?php echo SV_THEME; ?> is the theme system we have implemented.
it features mainly the same stuff than the SF ones but is
(to my mind) easier to manage.
The SV_THEME constant is defined by a cookie. If there's no
cookies SV_THEME = $sys_themedefault (should be defined in
etc/local.inc).
On savannah $sys_themedefault = savannah
Take a look at the CVS, especially include/theme2.php
----------------------------------------------------------------------
By: SiliconSlick
Date: 2002-Apr-24 22:33
Message:
Logged In: YES
user_id=6896
Browser: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.4) Gecko/20011128
Netscape6/6.2.1
I'm trying to get a savannah site running here. We
already have
a SF2.0 site up and running OK, but since it is a
stagnant product,
we'd like to consider savannah. I'm using our existing
MySQL DB.
I've _almost_ got something that seems like a start, but
have a few questions.
Where are the following symbols supposed to be defined?
www/include/Layout.class Line 210: <?php echo SV_THEME; ?>
www/include/menu.phpLine Line 260:
$GLOBALS['sys_https_host']
Below is a diff between the GNU savannah site and our own.
You'll see that SV_THEME is not providing "savannah" and
sys_https_host is not providing localhost or the FQDN for
the login URL.
Where do these values come from? I don't see either in
the original SF2.0 implementation and can't seem to grep
their origin.
TIA
jack
--- emm.txt Wed Apr 24 15:05:46 2002 [our savannah]
+++ sav.txt Wed Apr 24 15:05:34 2002 [GNU's savannah]
@@ -15,7 +15,7 @@
<meta name="Author" content="Copyright (C) 2000,
2001, 2002 Free Software Foundation, Inc., 59 Temple
Place - Suite 330, Boston, MA 02111, USA Verbatim
copying and distribution of this entire article is
permitted in any medium, provided this notice is
preserved">
<meta name="Keywords" content="Savannah,GNU, FSF,
Free Software Foundation, Linux, Emacs, GCC, Unix, Free
Software, Operating System, GNU Kernel, HURD, GNU HURD,
SourceForge">
<meta name="Description" content="Savannah is a
central point for development, distribution and
maintainance of Free Software. It allows contributors
to easily join existing Free Software projects.">
-
<link rel="stylesheet" type="text/css"
href="/css/.css">
+
<link rel="stylesheet" type="text/css"
href="/css/savannah.css">
<link rel="icon" type="image/png"
href="/images/icon.png">
</head>
@@ -32,7 +32,7 @@
<td class="menutable">
- <a href="/"><IMG
src="/images/.theme/floating.png" width="150"
height="130" alt="Floating GNU" border=0></a>
+ <a href="/"><IMG
src="/images/savannah.theme/floating.png" width="150"
height="130" alt="Floating GNU" border=0></a>
<p>
<!-- menus -->
<table summary="" class="menutable">
@@ -41,7 +41,7 @@
</tr>
<tr>
<td class="menuitem">
- <font class="error">NOT LOGGED IN</font> <br> <a
href="/docs/site/whytologin.php">Why Log
In?</a> <IMG src="/images/.theme/point.png"
width="7" height="7" alt=" > " border=0> <br> <a
href="https:///account/login.php">Login via
SSL</a> <IMG src="/images/.theme/point.png"
width="7" height="7" alt=" > " border=0> <br> <a
href="https:///account/register.php">New User via
SSL</a> <IMG src="/images/.theme/point.png"
width="7" height="7" alt=" > " border=0> <br>
+ <font class="error">NOT LOGGED IN</font> <br> <a
href="/docs/site/whytologin.php">Why Log
In?</a> <IMG
src="/images/savannah.theme/point.png" width="7"
height="7" alt=" > " border=0> <br> <a
href="https://savannah.gnu.org/account/login.php">Login
via SSL</a> <IMG
src="/images/savannah.theme/point.png" width="7"
height="7" alt=" > " border=0> <br> <a
href="https://savannah.gnu.org/account/register.php">New
User via SSL</a> <IMG
src="/images/savannah.theme/point.png" width="7"
height="7" alt=" > " border=0> <br>
<BR>
</td>
</tr>
@@ -52,7 +52,7 @@
----------------------------------------------------------------------
You can respond by visiting:
http://savannah.gnu.org/support/?func=detailsupport&support_id=100806&group_id=11