phpslash-commit Mailing List for phpSlash (Page 106)
Brought to you by:
joestewart,
nhruby
This list is closed, nobody may subscribe to it.
| 2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(11) |
Nov
(59) |
Dec
(60) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2002 |
Jan
(52) |
Feb
(77) |
Mar
(118) |
Apr
(76) |
May
(106) |
Jun
(145) |
Jul
(9) |
Aug
(15) |
Sep
(78) |
Oct
(83) |
Nov
(105) |
Dec
(51) |
| 2003 |
Jan
(105) |
Feb
(100) |
Mar
(111) |
Apr
(149) |
May
(95) |
Jun
(56) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
(22) |
Nov
(117) |
Dec
(6) |
| 2004 |
Jan
(1) |
Feb
|
Mar
(3) |
Apr
(25) |
May
|
Jun
(11) |
Jul
(26) |
Aug
(85) |
Sep
(119) |
Oct
(312) |
Nov
(271) |
Dec
(5) |
| 2005 |
Jan
(6) |
Feb
|
Mar
|
Apr
(12) |
May
(7) |
Jun
(8) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Joe S. <joe...@us...> - 2001-12-10 17:29:15
|
Update of /cvsroot/phpslash/phpslash-ft
In directory usw-pr-cvs1:/tmp/cvs-serv5301
Modified Files:
CHANGES
Log Message:
closing tag
Index: CHANGES
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v
retrieving revision 1.337
retrieving revision 1.338
diff -C2 -d -r1.337 -r1.338
*** CHANGES 2001/12/10 17:27:39 1.337
--- CHANGES 2001/12/10 17:29:12 1.338
***************
*** 13,17 ****
9 - Removal of something (kill -9 :)
! 2001-Dec-7 3:20PM CST Joe Stewart <jo...@be...>
[B] - Author.class didn't have a closing php tag ( corrected by Lars Heuer)
en.php3, de.php3, and no.php3 had blank lines after the closing
--- 13,17 ----
9 - Removal of something (kill -9 :)
! 2001-Dec-10 11:30AM CST Joe Stewart <jo...@be...>
[B] - Author.class didn't have a closing php tag ( corrected by Lars Heuer)
en.php3, de.php3, and no.php3 had blank lines after the closing
|
|
From: Joe S. <joe...@us...> - 2001-12-10 17:27:42
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale
In directory usw-pr-cvs1:/tmp/cvs-serv4899/phpslash-ft/class/locale
Modified Files:
en.php3 de.php3 no.php3
Log Message:
closing tag
Index: en.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/en.php3,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** en.php3 2001/08/06 22:53:31 1.3
--- en.php3 2001/12/10 17:27:39 1.4
***************
*** 1,5 ****
<?php
/*
! * en_US ( US English) Language file for PHPSlash
* translations named using POSIX locale conventions ( en, es, de, etc)
*/
--- 1,5 ----
<?php
/*
! * en ( English) Language file for PHPSlash
* translations named using POSIX locale conventions ( en, es, de, etc)
*/
***************
*** 320,322 ****
);
?>
-
--- 320,321 ----
Index: de.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/de.php3,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** de.php3 2001/08/04 19:47:41 1.2
--- de.php3 2001/12/10 17:27:40 1.3
***************
*** 1,5 ****
<?php
/*
! * en_US ( US English) Language file for PHPSlash
* translations named using POSIX locale conventions ( en, es, de, etc)
*/
--- 1,5 ----
<?php
/*
! * de ( DE Deutsch) Language file for PHPSlash
* translations named using POSIX locale conventions ( en, es, de, etc)
*/
***************
*** 167,169 ****
);
?>
-
--- 167,168 ----
Index: no.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/locale/no.php3,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** no.php3 2001/11/29 15:22:48 1.1
--- no.php3 2001/12/10 17:27:40 1.2
***************
*** 320,322 ****
);
?>
-
--- 320,321 ----
|
|
From: Joe S. <joe...@us...> - 2001-12-10 17:27:42
|
Update of /cvsroot/phpslash/phpslash-ft
In directory usw-pr-cvs1:/tmp/cvs-serv4899/phpslash-ft
Modified Files:
CHANGES
Log Message:
closing tag
Index: CHANGES
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v
retrieving revision 1.336
retrieving revision 1.337
diff -C2 -d -r1.336 -r1.337
*** CHANGES 2001/12/07 21:23:25 1.336
--- CHANGES 2001/12/10 17:27:39 1.337
***************
*** 14,17 ****
--- 14,22 ----
2001-Dec-7 3:20PM CST Joe Stewart <jo...@be...>
+ [B] - Author.class didn't have a closing php tag ( corrected by Lars Heuer)
+ en.php3, de.php3, and no.php3 had blank lines after the closing
+ php tag.
+
+ 2001-Dec-7 3:20PM CST Joe Stewart <jo...@be...>
[B] - Story.class - cache didn't recognize languages or skins.
Cache time default is zero ( no cache).
|
|
From: Joe S. <joe...@us...> - 2001-12-10 17:27:42
|
Update of /cvsroot/phpslash/phpslash-ft/class In directory usw-pr-cvs1:/tmp/cvs-serv4899/phpslash-ft/class Modified Files: Author.class Log Message: closing tag Index: Author.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/class/Author.class,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** Author.class 2001/11/07 21:34:48 1.8 --- Author.class 2001/12/10 17:27:39 1.9 *************** *** 361,362 **** --- 361,363 ---- }; /* end of Author.class */ + ?> |
|
From: Joe S. <joe...@us...> - 2001-12-07 21:23:29
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv4657/phpslash-ft/class
Modified Files:
Story.class
Log Message:
related links cache uses correct language and skin
Index: Story.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Story.class,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** Story.class 2001/12/07 18:40:27 1.23
--- Story.class 2001/12/07 21:23:25 1.24
***************
*** 241,257 ****
/* story html, and related links html, can be cached inside the db.
This may save a db call or a template parse.
! Set these local variables here and not a site-wide "variable",
! because the idea is to speed up story display, and these variables
! have no meaning elsewhere. saveStory clears the cache.
*/
$cache_ary = unserialize($ary["topic_cache"]);
! $cache_ary[story][expire] = 0; // default to no story cache
! $cache_ary[related][expire] = 3600; // cache related links one hour
! // always set related_expire >= story_expire
$name_mod = $argv_ary["section"] . $argv_ary["topic"] . $argv_ary["author"] . $argv_ary["mode"];
! $story_name = "story" . $name_mod;
$cache_ary[$story_name][expire] = $cache_ary[story][expire];
--- 241,264 ----
/* story html, and related links html, can be cached inside the db.
This may save a db call or a template parse.
! saveStory clears the cache.
*/
+ $related_name = basename($this->psl['languagefile']) . $this->psl['skin'] ."related";
+
$cache_ary = unserialize($ary["topic_cache"]);
! $cache_ary[$story_name][expire] = 0; // default to no story cache
! $cache_ary[$related_name][expire] = 0; // default to no related cache
+ // override from config.php3
+ if( $this->psl['expirestory']) {
+ $cache_ary[story][expire] = $this->psl['expirestory'];
+ }
+ if( $this->psl['expirerelated']) {
+ $cache_ary[$related_name][expire] = $this->psl['expirerelated'];
+ }
+
$name_mod = $argv_ary["section"] . $argv_ary["topic"] . $argv_ary["author"] . $argv_ary["mode"];
! $story_name = basename($this->psl['languagefile']) . $this->psl['skin'] ."story" . $name_mod;
$cache_ary[$story_name][expire] = $cache_ary[story][expire];
***************
*** 284,293 ****
if( $mode == full) {
/* set Related Links here */
! $related = $this->cacheStory($cache_ary, "related");
if( $related == "") {
$related = $this->getRelated($ary);
! if( $cache_ary[related][expire] > 0) {
! $cache_ary[related][cache] = $related;
! $cache_ary[related][update] = time();
}
}
--- 291,300 ----
if( $mode == full) {
/* set Related Links here */
! $related = $this->cacheStory($cache_ary, $related_name);
if( $related == "") {
$related = $this->getRelated($ary);
! if( $cache_ary[$related_name][expire] > 0) {
! $cache_ary[$related_name][cache] = $related;
! $cache_ary[$related_name][update] = time();
}
}
***************
*** 356,360 ****
} elseif( $mode == "full") {
! $related = $this->cacheStory($cache_ary, "related");
$this->template->set_var(array(
TITLE => $ary["title"],
--- 363,367 ----
} elseif( $mode == "full") {
! $related = $this->cacheStory($cache_ary, $related_name);
$this->template->set_var(array(
TITLE => $ary["title"],
|
|
From: Joe S. <joe...@us...> - 2001-12-07 21:23:28
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv4657/phpslash-ft Modified Files: CHANGES Log Message: related links cache uses correct language and skin Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.335 retrieving revision 1.336 diff -C2 -d -r1.335 -r1.336 *** CHANGES 2001/12/07 18:40:27 1.335 --- CHANGES 2001/12/07 21:23:25 1.336 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2001-Dec-7 3:20PM CST Joe Stewart <jo...@be...> + [B] - Story.class - cache didn't recognize languages or skins. + Cache time default is zero ( no cache). + config.php3 - Override story and related links cache time through $_PSL. + 2001-Dec-7 12:35PM CST Joe Stewart <jo...@be...> [T] - story.tpl, Story.class moved the "also text" for multiple |
|
From: Joe S. <joe...@us...> - 2001-12-07 21:23:28
|
Update of /cvsroot/phpslash/phpslash-ft/public_html In directory usw-pr-cvs1:/tmp/cvs-serv4657/phpslash-ft/public_html Modified Files: config.php3 Log Message: related links cache uses correct language and skin Index: config.php3 =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/public_html/config.php3,v retrieving revision 1.118 retrieving revision 1.119 diff -C2 -d -r1.118 -r1.119 *** config.php3 2001/11/24 14:02:12 1.118 --- config.php3 2001/12/07 21:23:25 1.119 *************** *** 411,414 **** --- 411,421 ---- ); + /* Seconds to cache the formatted output in a serialized variable + saveStory clears the cache. Default is no cache. + always set expirerelated >= expirestory + */ + $_PSL[expirestory] = 0; + $_PSL[expirerelated] = 14400; + /* ============= Things to deprecate ============= */ |
|
From: Joe S. <joe...@us...> - 2001-12-07 18:40:30
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv13145/phpslash-ft Modified Files: CHANGES Log Message: moved also text to story.tpl Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.334 retrieving revision 1.335 diff -C2 -d -r1.334 -r1.335 *** CHANGES 2001/12/07 17:52:16 1.334 --- CHANGES 2001/12/07 18:40:27 1.335 *************** *** 13,17 **** 9 - Removal of something (kill -9 :) ! 2001-Dec-6 2:15PM CST Joe Stewart <jo...@be...> [B] - Story.class removed globals. --- 13,21 ---- 9 - Removal of something (kill -9 :) ! 2001-Dec-7 12:35PM CST Joe Stewart <jo...@be...> ! [T] - story.tpl, Story.class moved the "also text" for multiple ! topics to the template. This will help enable moving story.tpl to CSS. ! ! 2001-Dec-7 11:52AM CST Joe Stewart <jo...@be...> [B] - Story.class removed globals. |
|
From: Joe S. <joe...@us...> - 2001-12-07 18:40:30
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv13145/phpslash-ft/class
Modified Files:
Story.class
Log Message:
moved also text to story.tpl
Index: Story.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Story.class,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** Story.class 2001/12/07 17:52:16 1.22
--- Story.class 2001/12/07 18:40:27 1.23
***************
*** 15,19 ****
*/
! /* First let's bring in my parent class - moved to config.php3 - jvs - 1111/2001 */
// require($_PSL[classdir] . '/Story_base.class');
--- 15,19 ----
*/
! /* First let's bring in my parent class - moved to config.php3 jvs 11/11/2001 */
// require($_PSL[classdir] . '/Story_base.class');
***************
*** 94,98 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => ""
));
}
--- 94,98 ----
$this->template->set_var(array(
rows => "",
! alsoblock => ""
));
}
***************
*** 276,279 ****
--- 276,280 ----
all the variables stay there -nh */
if ($this->template->get_var("row") == "") {
+ $this->template->set_block($template,"alsotext","alsoblock");
$this->template->set_block($template,"row","rows");
}
***************
*** 321,325 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => "",
LIST_TOPIC_ID => "",
LIST_TOPIC_NAME => "",
--- 322,326 ----
$this->template->set_var(array(
rows => "",
! alsoblock => "",
LIST_TOPIC_ID => "",
LIST_TOPIC_NAME => "",
***************
*** 327,333 ****
));
if (is_array($topic_id_ary)) {
for ($i = 0 ; $i < count($topic_id_ary) ; $i++) {
$this->template->set_var(array(
- ALSO_TEXT => "<FONT SIZE=\"1\" FACE=\"arial, helvetica\">".pslgetText("Also filed under").":<BR>",
LIST_TOPIC_ID => $topic_id_ary[$i],
LIST_TOPIC_NAME => $topic_name_ary[$i],
--- 328,335 ----
));
if (is_array($topic_id_ary)) {
+
+ $this->template->parse("alsoblock", "alsotext", true);
for ($i = 0 ; $i < count($topic_id_ary) ; $i++) {
$this->template->set_var(array(
LIST_TOPIC_ID => $topic_id_ary[$i],
LIST_TOPIC_NAME => $topic_name_ary[$i],
***************
*** 350,354 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => ""
));
} elseif( $mode == "full") {
--- 352,356 ----
$this->template->set_var(array(
rows => "",
! alsoblock => ""
));
} elseif( $mode == "full") {
***************
*** 415,418 ****
--- 417,421 ----
if ($this->template->get_var("row") == "") {
$this->template->set_block("printStory","row","rows");
+ $this->template->set_block("printStory","alsotext","alsoblock");
}
***************
*** 440,444 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => ""
));
--- 443,447 ----
$this->template->set_var(array(
rows => "",
! alsoblock => ""
));
***************
*** 469,479 ****
if (is_array($topic_id_ary)) {
!
$max = count($topic_id_ary);
!
for ($k = 0 ; $k < $max ; $k++) {
$this->template->set_var(array(
- ALSO_TEXT => "<FONT SIZE=\"1\" FACE=\"arial, helvetica\">".pslgetText("Also filed under").":<BR>",
LIST_TOPIC_ID => $topic_id_ary[$k],
LIST_TOPIC_NAME => $topic_name_ary[$k],
--- 472,482 ----
if (is_array($topic_id_ary)) {
!
$max = count($topic_id_ary);
!
! $this->template->parse("alsoblock", "alsotext", true);
for ($k = 0 ; $k < $max ; $k++) {
$this->template->set_var(array(
LIST_TOPIC_ID => $topic_id_ary[$k],
LIST_TOPIC_NAME => $topic_name_ary[$k],
***************
*** 533,537 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => ""
));
--- 536,540 ----
$this->template->set_var(array(
rows => "",
! alsoblock => ""
));
***************
*** 587,591 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => ""
));
--- 590,594 ----
$this->template->set_var(array(
rows => "",
! alsoblock => ""
));
***************
*** 593,596 ****
--- 596,600 ----
if ($this->template->get_var("row") == "") {
$this->template->set_block("printStory","row","rows");
+ $this->template->set_block("printStory","alsotext","alsoblock");
}
***************
*** 672,675 ****
--- 676,682 ----
if (is_array($topic_id_ary)) {
+ if( count($topic_id_ary) > 1) {
+ $this->template->parse("alsoblock", "alsotext", true);
+ }
for ($i = 1 ; $i < count($topic_id_ary) ; $i++) {
***************
*** 686,691 ****
$list_topic_name = $this->db->Record[topic_name];
$this->template->set_var(array(
- ALSO_TEXT => "<FONT SIZE=\"-1\">".pslgetText("Also filed und
- er").":<BR>",
LIST_TOPIC_ID => $topic_id_ary[$i],
LIST_TOPIC_NAME => $list_topic_name,
--- 693,696 ----
***************
*** 700,704 ****
$this->template->set_var(array(
rows => "",
! ALSO_TEXT => ""
));
--- 705,709 ----
$this->template->set_var(array(
rows => "",
! alsoblock => ""
));
|
|
From: Joe S. <joe...@us...> - 2001-12-07 18:40:30
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv13145/phpslash-ft/public_html/templates/en/default
Modified Files:
story.tpl
Log Message:
moved also text to story.tpl
Index: story.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/story.tpl,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** story.tpl 2000/11/29 22:28:38 1.13
--- story.tpl 2001/12/07 18:40:27 1.14
***************
*** 16,25 ****
</td>
<td align=right>
<a href="{ROOTDIR}/search.php3?topic_id={TOPIC_ID}">
<img src="{IMAGEDIR}/topics/{TOPICIMAGE}" width={TOPICWIDTH} height={TOPICHEIGHT} border=0 alt="{ALTTEXT}" hspace=0 vspace=10></a><BR>
! {ALSO_TEXT}
! <!-- BEGIN row -->
! <a href="{ROOTDIR}/search.php3?topic_id={LIST_TOPIC_ID}"">{LIST_TOPIC_NAME}</a><br>
! <!-- END row -->
</td>
</tr>
--- 16,30 ----
</td>
<td align=right>
+
<a href="{ROOTDIR}/search.php3?topic_id={TOPIC_ID}">
<img src="{IMAGEDIR}/topics/{TOPICIMAGE}" width={TOPICWIDTH} height={TOPICHEIGHT} border=0 alt="{ALTTEXT}" hspace=0 vspace=10></a><BR>
! <FONT SIZE="1" FACE="arial, helvetica">
! <!-- BEGIN alsotext -->
! ("Also filed under"):<BR>
! <!-- END alsotext -->
! <!-- BEGIN row -->
! <a href="{ROOTDIR}/search.php3?topic_id={LIST_TOPIC_ID}"">{LIST_TOPIC_NAME}</a><br>
! <!-- END row -->
! </FONT>
</td>
</tr>
|
|
From: Joe S. <joe...@us...> - 2001-12-07 17:52:20
|
Update of /cvsroot/phpslash/phpslash-ft
In directory usw-pr-cvs1:/tmp/cvs-serv339/phpslash-ft
Modified Files:
CHANGES
Log Message:
removed globals in Story.class
Index: CHANGES
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v
retrieving revision 1.333
retrieving revision 1.334
diff -C2 -d -r1.333 -r1.334
*** CHANGES 2001/12/06 20:16:44 1.333
--- CHANGES 2001/12/07 17:52:16 1.334
***************
*** 14,17 ****
--- 14,20 ----
2001-Dec-6 2:15PM CST Joe Stewart <jo...@be...>
+ [B] - Story.class removed globals.
+
+ 2001-Dec-6 2:15PM CST Joe Stewart <jo...@be...>
[T] - slashHead.tpl and functions.inc::getHeader. Moved quotes to template
as suggested by Lars Heuer.
|
|
From: Joe S. <joe...@us...> - 2001-12-07 17:52:20
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv339/phpslash-ft/class
Modified Files:
Story.class
Log Message:
removed globals in Story.class
Index: Story.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Story.class,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** Story.class 2001/11/14 18:06:31 1.21
--- Story.class 2001/12/07 17:52:16 1.22
***************
*** 157,162 ****
function getNextPrev($story_id, $ary=""){
- global $rootdir, $PHP_SELF;
-
$arrows = $this->template->get(ARROWS);
if ($arrows == "") {
--- 157,160 ----
***************
*** 231,236 ****
function getStory($story_id, $mode, $argv_ary="", $tpl="") {
- global $templatedir;
-
$default_tpl = "printStory";
/*
--- 229,232 ----
***************
*** 265,269 ****
if( empty($tpl) ) {
$template = $default_tpl;
! } elseif ( file_exists($templatedir . "/" . basename($tpl) . ".tpl") ) {
$tpl_file = basename($tpl) . ".tpl";
$this->template->set_file(array(
--- 261,265 ----
if( empty($tpl) ) {
$template = $default_tpl;
! } elseif ( file_exists($this->psl['templatedir'] . "/" . basename($tpl) . ".tpl") ) {
$tpl_file = basename($tpl) . ".tpl";
$this->template->set_file(array(
***************
*** 389,394 ****
# debug("Story::getStories.ary", $ary);
- global $templatedir;
-
$default_tpl = "indexstory";
--- 385,388 ----
***************
*** 400,404 ****
if( empty($tpl) ) {
$template = $default_tpl;
! } elseif ( file_exists($templatedir . "/" . basename($tpl) . ".tpl") ) {
$tpl_file = basename($tpl) . ".tpl";
$this->template->set_file(array(
--- 394,398 ----
if( empty($tpl) ) {
$template = $default_tpl;
! } elseif ( file_exists($this->psl['templatedir'] . "/" . basename($tpl) . ".tpl") ) {
$tpl_file = basename($tpl) . ".tpl";
$this->template->set_file(array(
***************
*** 713,725 ****
function emailStory($story_id, $action) {
! global $imagedir, $templatedir, $HTTP_POST_VARS;
! global $REMOTE_ADDR, $PHP_SELF, $HTTP_HOST, $argv;
$emailform = "";
$valid_form = false;
! $action_url = $PHP_SELF . "?" . $argv[0] . "&action=send";
$this->template->set_var(array(
! IMAGEDIR => $imagedir,
ACTION_URL => $action_url,
STORY_ID => $story_id,
--- 707,718 ----
function emailStory($story_id, $action) {
! global $HTTP_POST_VARS, $REMOTE_ADDR, $HTTP_HOST, $argv;
$emailform = "";
$valid_form = false;
! $action_url = $this->psl['phpself'] . "?" . $argv[0] . "&action=send";
$this->template->set_var(array(
! IMAGEDIR => $this->psl['imageurl'],
ACTION_URL => $action_url,
STORY_ID => $story_id,
***************
*** 751,756 ****
$this->template->set_var(array(
SITE_HOST => $HTTP_HOST,
! PHP_SELF => $PHP_SELF,
! ACTION_URL => $PHP_SELF,
REMOTE_ADDR => $REMOTE_ADDR,
STORY_ID => $story_id,
--- 744,749 ----
$this->template->set_var(array(
SITE_HOST => $HTTP_HOST,
! PHP_SELF => $this->psl['phpself'],
! ACTION_URL => $this->psl['phpself'],
REMOTE_ADDR => $REMOTE_ADDR,
STORY_ID => $story_id,
***************
*** 916,920 ****
function newStory($ary,$data_source) {
! global $author_id,$author_name,$PHP_SELF;
# global $debug;
--- 909,913 ----
function newStory($ary,$data_source) {
! global $author_id,$author_name;
# global $debug;
|
|
From: Joe S. <joe...@us...> - 2001-12-06 20:16:52
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv15511/phpslash-ft/public_html/templates/en/default
Modified Files:
slashHead.tpl
Log Message:
moved quotes to slashHead.tpl
Index: slashHead.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/slashHead.tpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** slashHead.tpl 2001/11/13 22:01:27 1.11
--- slashHead.tpl 2001/12/06 20:16:44 1.12
***************
*** 26,30 ****
<TD><A BORDER="0" HREF="{ROOTDIR}"><IMG SRC="{IMAGEDIR}/new-logo.gif"></A></TD>
<TD ALIGN=RIGHT>
! <FORM method=GET action={SEARCH_ACTION_URL}>
<INPUT type=TEXT name=query value="" size=15>
<INPUT type=submit value="Search">
--- 26,30 ----
<TD><A BORDER="0" HREF="{ROOTDIR}"><IMG SRC="{IMAGEDIR}/new-logo.gif"></A></TD>
<TD ALIGN=RIGHT>
! <FORM method=GET action="{SEARCH_ACTION_URL}">
<INPUT type=TEXT name=query value="" size=15>
<INPUT type=submit value="Search">
|
|
From: Joe S. <joe...@us...> - 2001-12-06 20:16:50
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv15511/phpslash-ft/class
Modified Files:
functions.inc
Log Message:
moved quotes to slashHead.tpl
Index: functions.inc
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/functions.inc,v
retrieving revision 1.82
retrieving revision 1.83
diff -C2 -d -r1.82 -r1.83
*** functions.inc 2001/11/17 23:38:51 1.82
--- functions.inc 2001/12/06 20:16:44 1.83
***************
*** 421,425 ****
}
! $action_url = "\"$_PSL[rooturl]/search.php3\"";
$topicbar = new TopicBar;
--- 421,425 ----
}
! $action_url = "$_PSL[rooturl]/search.php3";
$topicbar = new TopicBar;
|
|
From: Joe S. <joe...@us...> - 2001-12-06 20:16:48
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv15511/phpslash-ft Modified Files: CHANGES Log Message: moved quotes to slashHead.tpl Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.332 retrieving revision 1.333 diff -C2 -d -r1.332 -r1.333 *** CHANGES 2001/11/29 15:22:48 1.332 --- CHANGES 2001/12/06 20:16:44 1.333 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2001-Dec-6 2:15PM CST Joe Stewart <jo...@be...> + [T] - slashHead.tpl and functions.inc::getHeader. Moved quotes to template + as suggested by Lars Heuer. + 2001-Nov-28 11:45AM CST Joe Stewart <jo...@be...> [F] - Norwegian translation thanks to Lars. |
|
From: Joe S. <joe...@us...> - 2001-11-29 15:22:51
|
Update of /cvsroot/phpslash/phpslash-ft/class/locale
In directory usw-pr-cvs1:/tmp/cvs-serv21582/phpslash-ft/class/locale
Added Files:
no.php3
Log Message:
Norwegian translation
--- NEW FILE: no.php3 ---
<?php
/*
* no ( Norwegian) Language file for PHPSlash
* translations named using POSIX locale conventions ( en, es, de, etc)
*/
$pslstrings = array(
// about.php3
// article.php3
// backend.php3
// comment.php3
"No Subject Given" =>
"Tittel ikke spesifisert",
"Re: " =>
"Ad: ",
"Anonymous" =>
"Anonym",
"Comments" =>
"Kommentarer",
"You didn't supply a good submit value" =>
"Du oppga ikke en gyldig verdi",
// commentShow.php3
// commentSubmit.php3
// config.php3
"Home" =>
"Forsiden",
"Add Story" =>
"Legg til sak",
"Archives" =>
"Arkiv",
"Polls" =>
"Avstemninger",
"About" =>
"Om",
"Topic" =>
"Område",
"Story" =>
"Sak",
"Submission" =>
"Innlevering",
"Section" =>
"Seksjon",
"Block" =>
"Block",
"Poll" =>
"Avstemming",
"Author" =>
"Forfatter",
"Glossary" =>
"Ordbok",
"Mailing List" =>
"E-postliste",
"Variable" =>
"variabel",
"Logging" =>
"Logging",
// functions.inc
"NO TITLE" =>
"INGEN TITTEL",
"@!#$" =>
"@!#$",
// glossary.php3
// index.php3
// indextpl3col.php3
// login.php3
"%s logged out." =>
"%s logget out.",
// mailinglist.php3
// poll.php3
"VOTE: " =>
"STEM: ",
"View Pollbooth" =>
"Se avstemningsbås",
"%s Poll" =>
"%s Avstemning",
// pollBooth.php3
// search.php3
"Searching %s" =>
"Søker %s",
"All Topics" =>
"Alle områder",
"All Sections" =>
"Alle Seksjoner",
"All Authors" =>
"Alle Forfattere",
// submisson.php3
"Thanks for this submission. We have it and will set our fearless editorial staff upon it right this second." =>
"Takk for innleveringen. Vi har den, og vil sette vårt uredde reporter-team på saken med en gang.",
"Something broke, I'm not sure what though??" =>
"Noe gikk i stykker, men jeg aner ikke hva...",
"New Submission" =>
"Ny Innlevering",
// submissionAdmin.php3
// /admin files
// authorAdmin
"Error! Invalid Privileges" =>
"Feil! Ugyldig Privilegie",
"Sorry. You do not have the necessary privilege to view this page.\n" =>
"Beklager. Du har ikke de nødvendige tilgangene til å se denne siden.\n",
// blockadmin.php3
// commentAdmin.php3
// glossaryAdmin.php3
// infologAdmin.php3
// mailinglistAdmin.php3
// pollAdmin.php3
// sectionAdmin.php3
// storyAdmin.php
// submissionAdmin.php3
// topicAdmin.php3
// variableAdmin.php3
// /class files
// Author.class
// Block.class
// Block_i.class
// Block_render_cal.class
"January" =>
"januar",
"February" =>
"februar",
"March" =>
"mars",
"April" =>
"april",
"May" =>
"mai",
"June" =>
"juni",
"July" =>
"juli",
"August" =>
"august",
"September" =>
"september",
"October" =>
"october",
"November" =>
"november",
"December" =>
"december",
// Block_render_html.class
// Block_render_poll.class
// Block_render_query.class
// Block_render_quote.class
// Block_render_rss.class
// Block_render_section.class
// Block_render_topic.class
// Block_render_url.class
// Comment.class
"Nested" =>
"Nested",
"Threaded" =>
"Threaded",
"Flat" =>
"Flat",
"Index" =>
"Index",
"Bulk Delete" =>
"Bulk-sletting",
"Show Pending" =>
"Vis gjenstående",
// Glossary.class
"Add a new Term" =>
"Legg til nytt ord",
// Infolog.class
// Mailinglist.class
"Email Headline Updates" =>
"Email overskriftsoppdateringer",
"You need to enter an email address" =>
"Du må fylle inn en e-postadresse",
"There was an error inserting your subscription information into the database." =>
"Det oppsto en feil når informasjonen din skulle legges til i databasen.",
"There was an error inserting your frequency data." =>
"Det oppsto en feil når frekvensinformasjonen din skulle legges til i databasen.",
"Thank you. You will receive a confirmation email soon to verify your subscription." =>
"Takk! Du vil motta en bekreftende e-post snart for å verifisere abonnementet ditt.",
"You have been successfully subscribed, but there was a problem sending your confirmation email.<br>You should, however receive your newsletter soon." =>
"Du er nå en abonnent, men det oppsto en feil ved sending av bekreftelsen.<br>Du bør, dog, motta nyhetsbrevet snart.",
"The email address '%s' is not found" =>
"E-postadressen '%s' ble ikke funnet",
"Email: '%s' is not found" =>
"E-post: '%s' ble ikke funnet",
"Email: '%s' has been removed" =>
"E-post: '%s' er nå fjernet",
"Thank you. for your subscription to our site. If there is anything we can do to improve our service, please let us know!" =>
"Takk for at du abonnerer på vårt nyhetsbrev. Hvis det er noe vi kan gjøre for å forbedre servicen vår håper vi å få beskjed!",
"You've been removed from the mailing list, but there was a problem sending out the <B>final</B> email." =>
"Du har blitt fjernet fra e-postlisten, men det oppsto et problem med å sende ut den <B>endelige</B> e-posten.",
"Unsubscribing all Mailing List Members" =>
"Fjerner alle abonnenter",
"Now ignoring abort calls..." =>
"Overser nå forsøk på å avbryte...",
"Sending mail to the following users:" =>
"Sender e-post til følgende brukere:",
"Mail Sent Successfully!" =>
"E-post sendt uten problemer!",
"Error Sending Email!" =>
"Feil under sending av e-post!",
"You didn't give a email subject! Halting." =>
"Du oppga ikke en tittel! Avbryter.",
// Navbar.class
"Login" =>
"Log inn",
"Logout %s" =>
"Log ut %s",
// Poll.class
"Your vote has been registered" =>
"Din stemme har blitt registrert",
"Your vote hasn't been registered because there was no remote address: %s" =>
"Din stemme ble ikke registrert fordi adressen din kunne ikke finnes: %s",
"Your vote hasn't been registered because you (or someone from your computer) has already voted." =>
"Din stemme ble ikke registrert fordi du (eller noen på din maskin) har allerede stemt.",
// Section.class
// Story.class
"More" =>
"Mer",
"Related Links" =>
"Relaterte Lenker",
"Reply" =>
"Svar",
"Also filed under" =>
"Også lagret under",
"comments" =>
"kommentarer",
"comment" =>
"kommentar",
"Comments?" =>
"Kommentarer?",
// Submission.class
"Anonymous Coward" =>
"Anonym Feigin"
// Topic.class
// TopicBar.class
// Variable.class
);
?>
|
|
From: Joe S. <joe...@us...> - 2001-11-29 15:22:51
|
Update of /cvsroot/phpslash/phpslash-ft
In directory usw-pr-cvs1:/tmp/cvs-serv21582/phpslash-ft
Modified Files:
CHANGES
Log Message:
Norwegian translation
Index: CHANGES
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v
retrieving revision 1.331
retrieving revision 1.332
diff -C2 -d -r1.331 -r1.332
*** CHANGES 2001/11/28 17:49:56 1.331
--- CHANGES 2001/11/29 15:22:48 1.332
***************
*** 14,17 ****
--- 14,20 ----
2001-Nov-28 11:45AM CST Joe Stewart <jo...@be...>
+ [F] - Norwegian translation thanks to Lars.
+
+ 2001-Nov-28 11:45AM CST Joe Stewart <jo...@be...>
[B] - index.php3, indextpl3col.php3 - breadcrumb should have been a template
variable, instead of requiring code change to move.
|
|
From: Joe S. <joe...@us...> - 2001-11-28 17:49:59
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv17056/phpslash-ft Modified Files: CHANGES Log Message: BREADCRUMB variable Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.330 retrieving revision 1.331 diff -C2 -d -r1.330 -r1.331 *** CHANGES 2001/11/26 19:00:53 1.330 --- CHANGES 2001/11/28 17:49:56 1.331 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-28 11:45AM CST Joe Stewart <jo...@be...> + [B] - index.php3, indextpl3col.php3 - breadcrumb should have been a template + variable, instead of requiring code change to move. + [T] - index.tpl, index3col.tpl - BREADCRUMB now available. + 2001-Nov-26 1:00PM CST Joe Stewart <jo...@be...> [B] - Submission.class - editasStory didn't add the "Submission by" text. |
|
From: Joe S. <joe...@us...> - 2001-11-28 17:49:59
|
Update of /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default
In directory usw-pr-cvs1:/tmp/cvs-serv17056/phpslash-ft/public_html/templates/en/default
Modified Files:
index.tpl index3col.tpl
Log Message:
BREADCRUMB variable
Index: index.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/index.tpl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** index.tpl 2000/10/04 09:16:22 1.5
--- index.tpl 2001/11/28 17:49:56 1.6
***************
*** 3,12 ****
<TABLE width="100%" cellpadding=0 cellspacing=0 border="0">
!
<TR>
<TD valign=top WIDTH="100%"><FONT color="#000000">
!
! {STORY_COLUMN}
!
</TD>
--- 3,14 ----
<TABLE width="100%" cellpadding=0 cellspacing=0 border="0">
! <TR>
! <TD valign=top WIDTH="100%" colspan="2"><FONT color="#000000">
! {BREADCRUMB}
! </TD>
! </TR>
<TR>
<TD valign=top WIDTH="100%"><FONT color="#000000">
! {STORY_COLUMN}
</TD>
Index: index3col.tpl
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/templates/en/default/index3col.tpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** index3col.tpl 2000/11/20 18:37:43 1.1
--- index3col.tpl 2001/11/28 17:49:56 1.2
***************
*** 3,6 ****
--- 3,11 ----
<TABLE width="100%" cellpadding=0 cellspacing=0 border="0">
+ <TR>
+ <TD COLSPAN="3" VALIGN="TOP">
+ {BREADCRUMB}
+ </TD>
+ </TR>
<TR>
|
|
From: Joe S. <joe...@us...> - 2001-11-28 17:49:59
|
Update of /cvsroot/phpslash/phpslash-ft/public_html
In directory usw-pr-cvs1:/tmp/cvs-serv17056/phpslash-ft/public_html
Modified Files:
index.php3 indextpl3col.php3
Log Message:
BREADCRUMB variable
Index: index.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/index.php3,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** index.php3 2001/11/13 22:01:27 1.48
--- index.php3 2001/11/28 17:49:56 1.49
***************
*** 34,38 ****
}
! $allstories = breadcrumb( $ary);
$_PSL['metatags']['object'] = $xsiteobject;
--- 34,39 ----
}
!
! $breadcrumb = breadcrumb( $ary);
$_PSL['metatags']['object'] = $xsiteobject;
***************
*** 40,44 ****
slashhead($pagetitle,$_PSL['metatags']);
! $allstories .= $story->getStories($ary);
$allblocks = $block->getBlocks($ary);
--- 41,45 ----
slashhead($pagetitle,$_PSL['metatags']);
! $allstories = $story->getStories($ary);
$allblocks = $block->getBlocks($ary);
***************
*** 52,55 ****
--- 53,57 ----
ROOTDIR => $_PSL[rooturl],
IMAGEDIR => $_PSL[imageurl],
+ BREADCRUMB => $breadcrumb,
STORY_COLUMN => $allstories,
BLOCK_COLUMN => $allblocks
Index: indextpl3col.php3
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/public_html/indextpl3col.php3,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** indextpl3col.php3 2001/09/06 17:18:22 1.10
--- indextpl3col.php3 2001/11/28 17:49:56 1.11
***************
*** 35,39 ****
$rightblocks = $rightblocks;
! $leftblocks = breadcrumb($ary);
$allstories .= $story->getStories($ary);
--- 35,39 ----
$rightblocks = $rightblocks;
! $breadcrumb = breadcrumb($ary);
$allstories .= $story->getStories($ary);
***************
*** 50,53 ****
--- 50,54 ----
ROOTDIR => $_PSL[rootdir],
IMAGEDIR => $_PSL[imagedir],
+ BREADCRUMB => $breadcrumb,
STORY_COLUMN => $allstories,
LEFT_BLOCK_COLUMN => $leftblocks,
|
|
From: Joe S. <joe...@us...> - 2001-11-26 19:00:55
|
Update of /cvsroot/phpslash/phpslash-ft In directory usw-pr-cvs1:/tmp/cvs-serv19031 Modified Files: CHANGES Log Message: bugfix - added Submission by Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v retrieving revision 1.329 retrieving revision 1.330 diff -C2 -d -r1.329 -r1.330 *** CHANGES 2001/11/24 15:05:05 1.329 --- CHANGES 2001/11/26 19:00:53 1.330 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2001-Nov-26 1:00PM CST Joe Stewart <jo...@be...> + [B] - Submission.class - editasStory didn't add the "Submission by" text. + The version in the stable tree had this code but the -ft branch did not. + 2001-Nov-24 9:51AM EST nathan hruby <na...@ds...> [9] - Killed the superflous docs in /docs |
|
From: Joe S. <joe...@us...> - 2001-11-26 19:00:40
|
Update of /cvsroot/phpslash/phpslash-ft/class
In directory usw-pr-cvs1:/tmp/cvs-serv18932/class
Modified Files:
Submission.class
Log Message:
bugfix - added Submission by
Index: Submission.class
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/class/Submission.class,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Submission.class 2001/10/09 23:23:05 1.6
--- Submission.class 2001/11/26 19:00:37 1.7
***************
*** 456,459 ****
--- 456,461 ----
$ary = $this->db->Record;
+ $ary[intro_text] = "Submission by <A HREF=\"" . htmlspecialchars($this->db->f("email")) . "\">" . $this->db->f("name") . "</A>\n<P>\n" . dirty($this->db->f("intro_text"));
+
/* get the topic_id's for this story into an array */
$q = "SELECT psl_topic.topic_id
|
|
From: nathan h. <nh...@us...> - 2001-11-24 15:05:09
|
Update of /cvsroot/phpslash/phpslash-ft
In directory usw-pr-cvs1:/tmp/cvs-serv6461
Modified Files:
CHANGES
Removed Files:
CHANGES.06x
Log Message:
Doc work and cleanup in .docs/
Index: CHANGES
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/CHANGES,v
retrieving revision 1.328
retrieving revision 1.329
diff -C2 -d -r1.328 -r1.329
*** CHANGES 2001/11/24 14:02:12 1.328
--- CHANGES 2001/11/24 15:05:05 1.329
***************
*** 13,21 ****
9 - Removal of something (kill -9 :)
2001-Nov-24 8:49AM EST nathan hruby <na...@ds...>
! [F] - [ #404002 ] no option to search comments
There is an option to search comments on the serch page and
a flag in config.php3 to turn it on/off. Needs work becasue
! it searches a non-keyed field, please test!
2001-Nov-23 3:28PM EST nathan hruby <na...@ds...>
--- 13,30 ----
9 - Removal of something (kill -9 :)
+ 2001-Nov-24 9:51AM EST nathan hruby <na...@ds...>
+ [9] - Killed the superflous docs in /docs
+ [F] - Sort of Feature - added a /docs/chnageHistory directory for
+ putting old CHANGES files in. Removed the old ones.
+ [W] - More work on making the SGML docs more closely match the
+ 0.65 code. This is a CVS sync so I can sync my laptop and
+ work downstairs which will make the dogs and cats happy.
+
2001-Nov-24 8:49AM EST nathan hruby <na...@ds...>
! [FT] - [ #404002 ] no option to search comments
There is an option to search comments on the serch page and
a flag in config.php3 to turn it on/off. Needs work becasue
! it searches a non-keyed field, please test! This change also
! altered the searchPage.tpl template
2001-Nov-23 3:28PM EST nathan hruby <na...@ds...>
--- CHANGES.06x DELETED ---
|
|
From: nathan h. <nh...@us...> - 2001-11-24 15:05:09
|
Update of /cvsroot/phpslash/phpslash-ft/doc/html
In directory usw-pr-cvs1:/tmp/cvs-serv6461/doc/html
Modified Files:
phpslash.sgml
Log Message:
Doc work and cleanup in .docs/
Index: phpslash.sgml
===================================================================
RCS file: /cvsroot/phpslash/phpslash-ft/doc/html/phpslash.sgml,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** phpslash.sgml 2001/11/23 20:37:40 1.8
--- phpslash.sgml 2001/11/24 15:05:05 1.9
***************
*** 337,348 ****
<tag/Section 1.11/
! Here are some directory paths. NOTE: There are no trailing slashes
! at the end.
! $basedir - the base path for the phpslash installation
! $templatedir - the directory where the templates are stored.
! $rootdir - the URL where people will access the root of the site.
! $imagedir - the directory where all the images are stored.
<tag/Section 1.2/
--- 337,374 ----
<tag/Section 1.11/
! Here are some directory and URL paths that are needed by phpslash., Shown below is a brief explination
! along with an example fo what the linw will look like in the config file.You'll need to edit these in order for phpslash to work.
! NOTE: There are no trailing slashes at the end.
! NOTE: The format change from prevous versions of phpSlash.
! A reference to the local running php script. We use this a lot, so it makes sense to make a
! copy in our own array and use that instead of doing a global $PHP_SELF; on every function
! and object.
! $_PSL[phpself] = $PHP_SELF;
!
! Complete filesystem path to the pages
! $_PSL[basedir] = '/home/nathan/webDevel/phpslash-ft/public_html';
!
! Path to the templates directory
! $_PSL[templatedir] = $_PSL[basedir] . '/templates';
+ Path to the class directory
+ $_PSL[classdir] = '/home/nathan/webDevel/phpslash-ft/class';
+
+ The base URL for the phpslash site
+ $_PSL[rooturl] = 'http://fatboy.mystic/ft';
+
+ The base URL for the admin pages
+ $_PSL[adminurl] = $_PSL[rooturl] . '/admin';
+
+ The base URL for images that pertain to phpslash
+ $_PSL[imageurl] = $_PSL[rooturl] . '/images';
+
+ The url for all the topic images.
+ $_PSL[topicimageurl] = $_PSL[imageurl] . "/topics";
+
+ The full directory path to the topic images.
+ $_PSL[topicimagedir] = $_PSL[basedir] . "/images" . "/topics";
+
<tag/Section 1.2/
***************
*** 1219,1223 ****
Answer 2:
put all your jscript in seperate .js files and then put
! #lt;script language="javascript" src="/path/to/myJavaScriptFile.js">
</script> in the HTML template. It's functionally the same as adding the
jscript inline to your HTML document, but causes an additional HTTP
--- 1245,1249 ----
Answer 2:
put all your jscript in seperate .js files and then put
! <script language="javascript" src="/path/to/myJavaScriptFile.js">
</script> in the HTML template. It's functionally the same as adding the
jscript inline to your HTML document, but causes an additional HTTP
|
|
From: nathan h. <nh...@us...> - 2001-11-24 15:05:09
|
Update of /cvsroot/phpslash/phpslash-ft/doc In directory usw-pr-cvs1:/tmp/cvs-serv6461/doc Modified Files: README.1st Removed Files: CHANGES-05-061 COMMIT INSTALL POLICIES README.php README.slash README.template TODO UPGRADE phpslash-FAQ roadmap.txt Log Message: Doc work and cleanup in .docs/ Index: README.1st =================================================================== RCS file: /cvsroot/phpslash/phpslash-ft/doc/README.1st,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** README.1st 2000/12/01 02:42:24 1.6 --- README.1st 2001/11/24 15:05:05 1.7 *************** *** 1,39 **** $Id$ ------------------------------------------------------------------------------ ! Welcome to PHPslash! ! ------------------------------------------------------------------------------ ! The most current documentation can always be found at the phpSLash ! SourceForge site in the Documentaion Manager. ! http://sourceforge.net/docman/index.php?group_id=10566 ------------------------------------------------------------------------------ Items in this directory: - - ../CHANGES -> What's changed over the years of PHPSlash development - - CREDITS -> The current PHPSlash developers ! COMMIT -> Some basic rules for sending in code to the PHPSlash CVS. ! ! INSTALL -> Instructions on how to install PHPSlash ! ! POLICIES -> How to suggest changes and submit patches to the ! PHPSlash team. ! ! README.1st -> This file. ! ! README.php -> The original README that came with PHPSlash. ! Left here for 'historical' reasons. ! ! README.slash -> The original README for slashcode 0.2, 'nother ! history lesson. ! ! README.template -> Information about setting up the alpha version ! of PHPSlash 0.6 ! ! phpslash-FAQ -> Frequently Asked Questions. ! ! roadmap.txt -> Where we're headed... Enjoy! ! The PHPSlash Team http://www.phpslash.org --- 1,28 ---- $Id$ ------------------------------------------------------------------------------ ! Welcome to phpSlash! ! This is the README for the doc/ directory. Here we have all the documentation ! for phpSlash. If you find something amiss, please file a bug at the ! SourceForge Bug tracker at http://sf.net/projects/phpslash/ ------------------------------------------------------------------------------ Items in this directory: ! README1.st -> This File ! CREDITS -> Who did/does what? ! changedHistory/ -> Previous CHANGES files. We snip them after every ! major release. ! html/ -> Currently the home of the SGML master doc file and any ! documentation generated by it. This includes multi page ! HTML and text versions. ! html/single/ -> The phpSlash docs in one big HTML file. + ------------------------------------------------------------------------------ + PLEASE NOTE THE CONTENTS OF THIS DIRECTORY HAS CHANGED! + All of our documentation is now living in the Master SGML file. This includes + the phpslash-faq, COMMIT, roadmap.txt, INSTALL, and UPGRADE files, plus other + nice bits of documentation. We strongly encourage you to read this doc before + filing bugs or asking questions. + ------------------------------------------------------------------------------ Enjoy! ! The phpSlash Team http://www.phpslash.org --- CHANGES-05-061 DELETED --- --- COMMIT DELETED --- --- INSTALL DELETED --- --- POLICIES DELETED --- --- README.php DELETED --- --- README.slash DELETED --- --- README.template DELETED --- --- TODO DELETED --- --- UPGRADE DELETED --- --- phpslash-FAQ DELETED --- --- roadmap.txt DELETED --- |