phpslash-commit Mailing List for phpSlash (Page 41)
Brought to you by:
joestewart,
nhruby
You can subscribe to this list here.
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...> - 2003-11-11 20:50:11
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/story In directory sc8-pr-cvs1:/tmp/cvs-serv27702/phpslash-dev/include/modules/story Modified Files: Story.class Story_admin.class Story_base.class Log Message: New Feature - Story plugins added. Index: Story.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/Story.class,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Story.class 6 Nov 2003 19:15:11 -0000 1.6 --- Story.class 11 Nov 2003 20:50:07 -0000 1.7 *************** *** 270,280 **** default: ! ! // pluggable user defined function ! if ($this->psl['story_options_udf'] != '') { ! $ary = $this->psl['story_options_udf']($key,$ary['story_options'][$key] , $ary); } - // let the template parse any story options left over. - $this->template->set_var(array(strtoupper($key) => $ary['story_options'][$key])); $ary['story_options'][$key] = ''; // what is left over? --- 270,288 ---- default: ! ! $this->story_plugin['type'] = $ary['story_options'][$key]; ! // attempt to handle any plugins and if not there proceed ! // yes - one equal sign ! if($parsed = $this->doParse($ary)) { ! $ary = $parsed; ! } else { ! // pluggable user defined function ! if ($this->psl['story_options_udf'] != '') { ! $ary = $this->psl['story_options_udf']($key,$ary['story_options'][$key] , $ary); ! } ! // let the template parse any story options left over. ! $this->template->set_var(array(strtoupper($key) => $ary['story_options'][$key])); ! } $ary['story_options'][$key] = ''; // what is left over? Index: Story_admin.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/Story_admin.class,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Story_admin.class 1 Jul 2003 03:51:41 -0000 1.4 --- Story_admin.class 11 Nov 2003 20:50:07 -0000 1.5 *************** *** 195,199 **** if ($this->template->get_var("row") == "") { $this->template->set_block("printStory","row","rows"); ! $this->template->set_block("printStory","alsotext","alsoblock"); } --- 195,199 ---- if ($this->template->get_var("row") == "") { $this->template->set_block("printStory","row","rows"); ! $this->template->set_block("printStory","alsotext","alsoblock"); } *************** *** 258,274 **** //debug( "Story_admin.class::showStory::ary",$ary ); ! # set the formatting options for display only ! if ($ary['content'] == "exttrans") { ! $ary['intro_text'] = htmlentities($ary['intro_text']); ! $ary['body_text'] = htmlentities($ary['body_text']); ! } - if ($ary['content'] == "plain" or $ary['content'] == "exttrans") { - $ary['intro_text'] = nl2br($ary['intro_text']); - $ary['intro_text'] = ereg_replace("<br><br>","<br>",$ary['intro_text']); - $ary['body_text'] = nl2br($ary['body_text']); - $ary['body_text'] = ereg_replace("<br><br>","<br>",$ary['body_text']); } $this->template->set_var(array( --- 258,320 ---- //debug( "Story_admin.class::showStory::ary",$ary ); ! $optionname_ary = $ary['optionname']; ! $optionval_ary = $ary['optionval']; ! ! $count = count($ary['optionname']); ! for( $i=0 ; $i < $count ; $i++) { ! ! if( $optionname_ary[$i] != "") { ! $optname = $optionname_ary[$i]; ! $optval = $optionval_ary[$i]; ! $story_options_ary[$optname] = $optval; ! } } + // debug("story_options_ary", $story_options_ary); + $ary['story_options'] = $story_options_ary; + + if (is_array($ary['story_options'])) { + while( list( $key, $val) = @each( $ary['story_options'] )) { + + switch($key) { + + case "tpl": + // debug("Story::getStory::story_option[$key]", $val); + $tpl = $ary['story_options'][$key]; + $ary['story_options'][$key] = ''; + break; + + /* Stub for future needs. + case "example": + debug("Story::getStory::story_option[$key]", $val); + $ary['story_options'][$key] = ''; + break; + */ + + default: + + $this->story_plugin['type'] = $ary['story_options'][$key]; + // attempt to handle the requested plugin + // and if not there proceed + // yes - one equal sign + if($parsed = $this->doParse($ary)) { + $ary = $parsed; + } else { + // pluggable user defined function + if ($this->psl['story_options_udf'] != '') { + $ary = $this->psl['story_options_udf']($key,$ary['story_options'][$key] , $ary); + } + // let the template parse any story options left over. + $this->template->set_var(array(strtoupper($key) => $ary['story_options'][$key])); + } + $ary['story_options'][$key] = ''; + // what is left over? + // debug("block_options[$key]", $val); + break; + + } + } + } $this->template->set_var(array( *************** *** 713,730 **** $this->template->set_var('OPTIONS', $options); - if ($ary['content'] == "plain") { - $this->template->set_var('PLAIN_CHKBOX',"CHECKED"); - $this->template->set_var('HTML_CHKBOX',""); - $this->template->set_var('EXTTRANS_CHKBOX',""); - } elseif ($ary['content'] == "exttrans") { - $this->template->set_var('PLAIN_CHKBOX',""); - $this->template->set_var('HTML_CHKBOX',""); - $this->template->set_var('EXTTRANS_CHKBOX',"CHECKED"); - } else { - $this->template->set_var('PLAIN_CHKBOX',""); - $this->template->set_var('HTML_CHKBOX',"CHECKED"); - $this->template->set_var('EXTTRANS_CHKBOX',""); - } - $topic_ary = array(); if(array_key_exists('topic_id_ary', $ary)) { --- 759,762 ---- *************** *** 982,986 **** } } ! $options = displayOptions('story', $this->template, "newstory", ''); $this->template->set_var('OPTIONS', $options); --- 1014,1018 ---- } } ! $options = displayOptions('story', $this->template, "newstory", $temparray); $this->template->set_var('OPTIONS', $options); Index: Story_base.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/Story_base.class,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Story_base.class 1 Jul 2003 03:50:50 -0000 1.7 --- Story_base.class 11 Nov 2003 20:50:07 -0000 1.8 *************** *** 572,575 **** --- 572,623 ---- } + + $ary['story_options'] = $story_options_ary; + + if (is_array($ary['story_options'])) { + while( list( $key, $val) = @each( $ary['story_options'] )) { + + switch($key) { + + case "tpl": + // debug("Story::getStory::story_option[$key]", $val); + $tpl = $ary['story_options'][$key]; + $ary['story_options'][$key] = ''; + break; + + /* Stub for future needs. + case "example": + debug("Story::getStory::story_option[$key]", $val); + $ary['story_options'][$key] = ''; + break; + */ + + default: + + $this->story_plugin['type'] = $ary['story_options'][$key]; + // attempt to handle the requested plugin + // and if not there proceed + // yes - one equal sign + if($parsed = $this->doParse($ary)) { + $ary = $parsed; + } else { + // pluggable user defined function + if ($this->psl['story_options_udf'] != '') { + $ary = $this->psl['story_options_udf']($key,$ary['story_options'][$key] , $ary); + } + // let the template parse any story options left over. + $this->template->set_var(array(strtoupper($key) => $ary['story_options'][$key])); + + } + $ary['story_options'][$key] = ''; + // what is left over? + // debug("block_options[$key]", $val); + break; + + } + } + + } + // debug("story_options_ary", $story_options_ary); $serial_opts=addslashes(serialize($story_options_ary)); *************** *** 614,631 **** // echo "<B>STORY ID: $ary[story_id]</B><BR><BR>\n"; - # set the formatting options for new submissions only - if ($ary['content'] == "exttrans") { - $ary['intro_text'] = htmlentities($ary['intro_text']); - $ary['body_text'] = htmlentities($ary['body_text']); - } - - if ($ary['content'] == "plain" or $ary['content'] == "exttrans") { - $ary['intro_text'] = nl2br($ary['intro_text']); - $ary['intro_text'] = ereg_replace("<br><br>","<br>",$ary['intro_text']); - $ary['body_text'] = nl2br($ary[body_text]); - $ary['body_text'] = ereg_replace("<br><br>","<br>",$ary['body_text']); - } - - $q = "INSERT INTO psl_story (story_id, --- 662,665 ---- *************** *** 787,790 **** --- 821,885 ---- } + /** + * getParser - get parser method for Story_plugin type + * + * @param string mytpe + * + * @access private + * + * return object this->parser + */ + function getParser($mytype) { + + /* Start a new object to render info */ + $parserName = "Story_plugin_" . $mytype; + $parserFile = $parserName . ".class"; + $parserPath = $this->psl['moduledir'] ."/story/plugins/". $parserFile; + // debug("Story::getParser::parserName",$parserPath); + + // bail out if the file doesn't exist + if(!file_exists($parserPath)) { + return false; + } + // register the class + AddClassRequirement($parserName,"story_plugin_i"); + AddClassRequirement($parserName,$parserPath); + + static $parser_arr; + + if( empty($parser_arr[$mytype])) { + $parser_arr[$mytype] = pslNew($parserName); + } + $this->parser = $parser_arr[$mytype]; + return $parser_arr[$mytype]; + } + + /** + * doParse - parse the requested plugin, returning success status. + * storage is done in the story_ary data array. + * + * + * @access private + * + * return boolean success + */ + function doParse($ary) { + + if ($this->getParser($this->story_plugin['type'])) { + // $thistype = $this->story_plugin['type']; + $status = $this->parser->parse($ary); + // debug("status", $status); + $this->parsedData = $this->parser->getFinal(); + // only copy the parsed data if it changed + if($ary != $this->parsedData) { + $ary = $this->parsedData; + } + return $ary; + } else { + // parser/plugin not found + // debug("Story_base::doParse::type", $this->story_plugin["type"]); + return false; + } + } } // end of Story_base |
From: Joe S. <joe...@us...> - 2003-11-11 20:50:11
|
Update of /cvsroot/phpslash/phpslash-dev/include/templates/en/basic In directory sc8-pr-cvs1:/tmp/cvs-serv27702/phpslash-dev/include/templates/en/basic Modified Files: authorProfile.tpl Log Message: New Feature - Story plugins added. Index: authorProfile.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/authorProfile.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** authorProfile.tpl 12 Mar 2003 16:12:52 -0000 1.1.1.1 --- authorProfile.tpl 11 Nov 2003 20:50:07 -0000 1.2 *************** *** 32,43 **** <td><input type="password" name="password" value="{PASSWORD}" size="10" /></td> </tr> ! <!-- BEGIN each_default_option --> ! <tr> ! <td class="descr"><input type="hidden" name="{DOPTION_NAME}" value="{DOPTION_NAME_VAL}" size="15" />{DOPTION_NAME_VAL}</td> ! <td class="descr"><input type="text" name="{DOPTION_VALUE}" value="{DOPTION_VALUE_VAL}" size="20" /></td> ! <!-- END each_default_option --> ! <!-- BEGIN each_option --> ! <!-- END each_option --> ! </tr> <tr> <td colspan="2"> --- 32,36 ---- <td><input type="password" name="password" value="{PASSWORD}" size="10" /></td> </tr> ! {OPTIONS} <tr> <td colspan="2"> |
From: Joe S. <joe...@us...> - 2003-11-11 20:50:11
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv27702/phpslash-dev/public_html Modified Files: config-dist.ini.php config-dist.php config_setup.php Log Message: New Feature - Story plugins added. Index: config-dist.ini.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.ini.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** config-dist.ini.php 6 Nov 2003 21:12:34 -0000 1.4 --- config-dist.ini.php 11 Nov 2003 20:50:07 -0000 1.5 *************** *** 317,320 **** --- 317,330 ---- block_optioncount = 4 ;;; end of Block Options + ;;; + ;; Story Options + ;; Use this number as the minimum number of options available for a story. + story_optioncount = 0 + ;;; end of Story Options + ;; Author Options + ;; Use this number as the minimum number of options available for an author. + author_optioncount = 0 + ;;; end of Author Options + ;;; Index: config-dist.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.php,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** config-dist.php 6 Nov 2003 12:40:39 -0000 1.9 --- config-dist.php 11 Nov 2003 20:50:07 -0000 1.10 *************** *** 744,747 **** --- 744,749 ---- $_PSL['default_block_options'] = $default_block_options; + + /* $default_story_options[] = array( *************** *** 754,765 **** $_PSL['default_story_options'] = $default_story_options; */ $default_author_options[] = array( 'name' => "ICQ", 'description' => '', 'value' => "", ! 'type' => 'text_defaultonly' ); $_PSL['default_author_options'] = $default_author_options; /* ============= Things to deprecate ============= */ --- 756,796 ---- $_PSL['default_story_options'] = $default_story_options; */ + $default_story_options = ''; + $default_story_options[] = array( + 'name' => "input", + 'description' => 'apply this filter at story save', + 'value' => "", + 'type' => 'select', + 'selected' => 'value', + 'choices' => array('' => 'none', + 'html' => 'html(no text changes)', + 'plaintext'=> 'Plain Text(Returns added)', + 'exttrans' => 'Extended Translation(show html code)') + ); + + + $default_story_options[] = array( + 'name' => "output", + 'description' => 'apply this filter at display time', + 'value' => "", + 'type' => 'select', + 'choices' => array('' => 'none', + 'html' => 'html(no text changes)', + 'plaintext'=> 'Plain Text(Returns added)', + 'exttrans' => 'Extended Translation(show html code)') + ); + + $_PSL['default_story_options'] = $default_story_options; + + /* $default_author_options[] = array( 'name' => "ICQ", 'description' => '', 'value' => "", ! 'type' => 'text' ); $_PSL['default_author_options'] = $default_author_options; + */ /* ============= Things to deprecate ============= */ Index: config_setup.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config_setup.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** config_setup.php 6 Nov 2003 21:57:13 -0000 1.2 --- config_setup.php 11 Nov 2003 20:50:07 -0000 1.3 *************** *** 3,6 **** --- 3,8 ---- * Evan Hughes (ev...@op...), OpenConcept Consulting * + * $Id$ + * * This is the backend configurator. It's a quick and dirty configuration tool * designed to be used to configure an initial install of Back-End. It is NOT |
From: Joe S. <joe...@us...> - 2003-11-11 20:50:11
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv27702/phpslash-dev Modified Files: CHANGES Log Message: New Feature - Story plugins added. Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.44 retrieving revision 1.45 diff -C2 -d -r1.44 -r1.45 *** CHANGES 10 Nov 2003 19:33:58 -0000 1.44 --- CHANGES 11 Nov 2003 20:50:07 -0000 1.45 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2003-November 11 2:30PM CST Joe Stewart <joe...@us...> + [BFT] - New Feature - Story plugins added. + 2003-November 10 1:00PM CST Joe Stewart <joe...@us...> [B] - login.php - [ 839439 ] jpcache dependency in login.php. |
From: Joe S. <joe...@us...> - 2003-11-11 20:50:10
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/story/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv27702/phpslash-dev/include/modules/story/plugins Added Files: Story_plugin_exttrans.class Story_plugin_html.class Story_plugin_plaintext.class Log Message: New Feature - Story plugins added. --- NEW FILE: Story_plugin_exttrans.class --- <?php /* Story_plugin_plaintext.class -> Methods for phpslash specfic story plugins */ /* $Id: Story_plugin_exttrans.class,v 1.1 2003/11/11 20:50:07 joestewart Exp $ */ class Story_plugin_exttrans extends Story_plugin_i { /* constructor */ function Story_plugin_exttrans() { $this->Story_plugin_i(); $this->type = "exttrans"; /* set the 'type' */ $this->description = "A plugin that returns the story with html code displayed instead of rendered and CR turned to linebreaks"; } function parse($ary) { // convert html to be displayed instead of rendered. $ary['intro_text'] = htmlentities($ary['intro_text']); $ary['body_text'] = htmlentities($ary['body_text']); // convert CR to linebreaks $ary['intro_text'] = nl2br($ary['intro_text']); $ary['intro_text'] = ereg_replace("<br><br>","<br>",$ary['intro_text']); $ary['body_text'] = nl2br($ary[body_text]); $ary['body_text'] = ereg_replace("<br><br>","<br>",$ary['body_text']); $this->output = $ary; return true; } } ?> --- NEW FILE: Story_plugin_html.class --- <?php /* Story_plugin_html.class -> Methods for phpslash specfic story plugins */ /* $Id: Story_plugin_html.class,v 1.1 2003/11/11 20:50:07 joestewart Exp $ */ class Story_plugin_html extends Story_plugin_i { /* constructor */ function Story_plugin_html() { $this->Story_plugin_i(); $this->type = "html"; /* set the 'type' */ $this->description = "A plugin that simply returns the html with no changes"; } function parse($ary) { $this->output = $ary; return true; } } ?> --- NEW FILE: Story_plugin_plaintext.class --- <?php /* Story_plugin_plaintext.class -> Methods for phpslash specfic story plugins */ /* $Id: Story_plugin_plaintext.class,v 1.1 2003/11/11 20:50:07 joestewart Exp $ */ class Story_plugin_plaintext extends Story_plugin_i { /* constructor */ function Story_plugin_plaintext() { $this->Story_plugin_i(); $this->type = "plaintext"; /* set the 'type' */ $this->description = "A plugin that returns the story with CR turned to linebreaks"; } function parse($ary) { // convert CR to linebreaks $ary['intro_text'] = nl2br($ary['intro_text']); $ary['intro_text'] = ereg_replace("<br><br>","<br>",$ary['intro_text']); $ary['body_text'] = nl2br($ary[body_text]); $ary['body_text'] = ereg_replace("<br><br>","<br>",$ary['body_text']); $this->output = $ary; return true; } } ?> |
From: Joe S. <joe...@us...> - 2003-11-11 20:39:23
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/story/plugins In directory sc8-pr-cvs1:/tmp/cvs-serv24973/plugins Log Message: Directory /cvsroot/phpslash/phpslash-dev/include/modules/story/plugins added to the repository |
From: Joe S. <joe...@us...> - 2003-11-10 19:34:02
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv28689/phpslash-dev Modified Files: CHANGES Log Message: [ 839439 ] jpcache dependency in login.php Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.43 retrieving revision 1.44 diff -C2 -d -r1.43 -r1.44 *** CHANGES 6 Nov 2003 21:57:13 -0000 1.43 --- CHANGES 10 Nov 2003 19:33:58 -0000 1.44 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2003-November 10 1:00PM CST Joe Stewart <joe...@us...> + [B] - login.php - [ 839439 ] jpcache dependency in login.php. + 2003-November 6 4:00PM CST Joe Stewart <joe...@us...> [B] - config_setup.php - tweak to allow setting the sql file location. |
From: Joe S. <joe...@us...> - 2003-11-10 19:34:02
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv28689/phpslash-dev/public_html Modified Files: login.php Log Message: [ 839439 ] jpcache dependency in login.php Index: login.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/login.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** login.php 15 May 2003 21:15:02 -0000 1.2 --- login.php 10 Nov 2003 19:33:59 -0000 1.3 *************** *** 30,34 **** // expire cache for this session ! jpcache_gc('string', "-slashSess-" . $sess->id, "100"); $username = $auth->auth['uname']; --- 30,36 ---- // expire cache for this session ! if(function_exists('jpcache_gc')) { ! jpcache_gc('string', "-slashSess-" . $sess->id, "100"); ! } $username = $auth->auth['uname']; |
From: Joe S. <joe...@us...> - 2003-11-06 21:57:17
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv17586/phpslash-dev/public_html Modified Files: config_setup.php Log Message: setup wizard tweak to allow setting sql file location Index: config_setup.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config_setup.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** config_setup.php 6 Nov 2003 12:40:39 -0000 1.1 --- config_setup.php 6 Nov 2003 21:57:13 -0000 1.2 *************** *** 40,44 **** define('CONFIG_OUT', 'config.ini.php'); // Name of the target config file. ! define('TABLE_PATH', '../tables/0.8/'); // Path to the sql table directory. /* Return values for the verification functions. These get binary or'd so --- 40,44 ---- define('CONFIG_OUT', 'config.ini.php'); // Name of the target config file. ! define('TABLE_PATH', '/tables/0.8/slash-all.sql'); // Path to the sql table directory. /* Return values for the verification functions. These get binary or'd so *************** *** 386,389 **** --- 386,405 ---- } + + /** Guesses at the name of the directory BE is runnin' in. */ + function _guessTABLE_PATH() { + # $regex = '/^(.*[\/])[^\/]/'; + # preg_match($regex, dirname($_SERVER['SCRIPT_FILENAME']), $match); + # $baseDir = dirname($_SERVER['SCRIPT_FILENAME']); + + $path = explode("/",dirname($_SERVER['SCRIPT_FILENAME'])); + for ($i=0 ; $i+1 < count ($path) ; $i++) { + $newPathArray[$i] = $path[$i]; + } + $newPathVar = implode('/', $newPathArray) . TABLE_PATH; + // echo "22 $newPathVar 22"; + return _removeTrailingSlash($newPathVar); + } + /** Guesses the name of the directory that BE is accessable from (via the web * server) *************** *** 698,701 **** --- 714,726 ---- <td class="value"><input type="text" name="user[pass]" value=""></td> </tr> + + <!-- DB table location --> + <tr class="setVal" valign="top"> + <td class="name">Database schema file</td> + <td class="field"><input type="text" name="user[table_filepath]" value="<?php print _guessTABLE_PATH() ?>"><br> + Path to the database schema file. Usually ends with .sql + </td> + </tr> + </table> </td> *************** *** 711,714 **** --- 736,740 ---- echo "<input type=\"hidden\" name=\"user[name]\" value=\"" . $vars['DB_User'] ."\">"; echo "<input type=\"hidden\" name=\"user[pass]\" value=\"" . $vars['DB_Password'] ."\">"; + echo "<input type=\"hidden\" name=\"user[pass]\" value=\"" . $vars['table_filepath'] ."\">"; echo "<input type=\"hidden\" name=\"do_not_create\" value=\"alreadyExists\">"; } *************** *** 829,833 **** /* Run the SQL scripts. */ $files = array( ! TABLE_PATH . 'slash-all.sql' // , // TABLE_PATH . 'BE_core.sql', --- 855,860 ---- /* Run the SQL scripts. */ $files = array( ! // $vars['dir.include'] . TABLE_PATH . 'slash-all.sql' ! $user['table_filepath'] // , // TABLE_PATH . 'BE_core.sql', |
From: Joe S. <joe...@us...> - 2003-11-06 21:57:17
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv17586/phpslash-dev Modified Files: CHANGES Log Message: setup wizard tweak to allow setting sql file location Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** CHANGES 6 Nov 2003 19:15:10 -0000 1.42 --- CHANGES 6 Nov 2003 21:57:13 -0000 1.43 *************** *** 13,16 **** --- 13,19 ---- 9 - Removal of something (kill -9 :) + 2003-November 6 4:00PM CST Joe Stewart <joe...@us...> + [B] - config_setup.php - tweak to allow setting the sql file location. + 2003-November 6 1:00PM CST Joe Stewart <joe...@us...> [BT] - storyIndex.tpl, Story.class - Peter C. supplied [ 837175 ] Dont show |
From: Luis M <le...@us...> - 2003-11-06 21:12:37
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv8280 Modified Files: config-dist.ini.php config_setup.ini.php Log Message: added delimiter to _setup ini file. expanded comment 'ex:home' because that's a way to send commands to Vim... nothing major though Index: config-dist.ini.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.ini.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** config-dist.ini.php 31 Oct 2003 18:57:51 -0000 1.3 --- config-dist.ini.php 6 Nov 2003 21:12:34 -0000 1.4 *************** *** 541,545 **** ;; Breadcrumb delimiter ;; ! ;; ex: home -> section -> topic breadcrumb.delimiter = " -> " --- 541,545 ---- ;; Breadcrumb delimiter ;; ! ;; example: home -> section -> topic breadcrumb.delimiter = " -> " Index: config_setup.ini.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config_setup.ini.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** config_setup.ini.php 6 Nov 2003 12:40:39 -0000 1.1 --- config_setup.ini.php 6 Nov 2003 21:12:34 -0000 1.2 *************** *** 539,541 **** --- 539,547 ---- ;;; end of approvedtags definitions + ;;; + ;; Breadcrumb delimiter + ;; + ;; example: home -> section -> topic + breadcrumb.delimiter = " -> " + ; DO NOT REMOVE THIS LINE ?> |
From: Joe S. <joe...@us...> - 2003-11-06 19:15:14
|
Update of /cvsroot/phpslash/phpslash-dev/include/templates/en/basic In directory sc8-pr-cvs1:/tmp/cvs-serv16982/phpslash-dev/include/templates/en/basic Modified Files: storyIndex.tpl Log Message: [ 837175 ] Dont show comment links if Comment module is off Index: storyIndex.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/templates/en/basic/storyIndex.tpl,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** storyIndex.tpl 6 May 2003 00:57:06 -0000 1.2 --- storyIndex.tpl 6 Nov 2003 19:15:11 -0000 1.3 *************** *** 2,11 **** <!-- BEGIN each_story --> {THESTORY} - <div id="storyFooter"> <a href="{ROOTDIR}/article.php?story_id={STORY_ID}">{MORE}</a> ! <a href="{ROOTDIR}/article.php?story_id={STORY_ID}">[{COMMENT}]</a> </div> <!-- END each_story --> ! ! <!-- end storyIndex.tpl --> --- 2,11 ---- <!-- BEGIN each_story --> {THESTORY} <div id="storyFooter"> <a href="{ROOTDIR}/article.php?story_id={STORY_ID}">{MORE}</a> ! <!-- BEGIN comment_block --> ! <a href="{ROOTDIR2}/article.php?story_id={STORY_ID}">[{COMMENTCOUNT}{COMMENT}]</a> ! <!-- END comment_block --> </div> <!-- END each_story --> ! <!-- end storyIndex.tpl --> |
From: Joe S. <joe...@us...> - 2003-11-06 19:15:14
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/story In directory sc8-pr-cvs1:/tmp/cvs-serv16982/phpslash-dev/include/modules/story Modified Files: Story.class Log Message: [ 837175 ] Dont show comment links if Comment module is off Index: Story.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/Story.class,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** Story.class 24 Jun 2003 19:32:34 -0000 1.5 --- Story.class 6 Nov 2003 19:15:11 -0000 1.6 *************** *** 220,224 **** --- 220,226 ---- $arrows .= "<a href=\"$turl\">$prevtitle</a> | "; } + if ($this->psl['module']['Comment']) { $arrows .= "<a href=\"" . $this->psl['rooturl'] . "/comment.php?submit=post" . $this->psl['amp'] . "story_id=$story_id" . $this->psl['amp'] . "parent_id=0\"><b>" . pslgetText("Reply") . "</b></a> "; + } if (isset($nexttitle)) { $turl = $this->psl['phpself'] . "?story_id=$nextsid" . $link_argv; *************** *** 227,231 **** --- 229,235 ---- } } else { + if ($this->psl['module']['Comment']) { $arrows .= "<a href=\"" . $this->psl['rooturl'] . "/comment.php?submit=post" . $this->psl['amp'] . "story_id=$story_id" . $this->psl['amp'] . "parent_id=0\"><b>" . pslgetText("Reply") . "</b></a> "; + } } } *************** *** 476,479 **** --- 480,484 ---- $this->template->set_block('template', 'each_story', 'stories'); + $this->template->set_block('each_story', 'comment_block'); //PAC if (is_array($stories_ary)) { *************** *** 578,594 **** $this->template->set_var(array( 'STORY_ID' => $link_argv, 'THESTORY' => $thestory )); ! $cmtcount = $stories_ary[$i]['cmtcount']; ! ! if ($cmtcount > 1) { ! $this->template->set_var(array( 'COMMENT' => "$cmtcount ".pslgetText("comments"))); ! } elseif ($cmtcount == 1) { ! $this->template->set_var(array( 'COMMENT' => "$cmtcount ".pslgetText("comment"))); } else { ! $this->template->set_var(array( 'COMMENT' => pslgetText("Comments?"))); } $this->template->parse("stories", "each_story", true); --- 583,610 ---- $this->template->set_var(array( 'STORY_ID' => $link_argv, + 'ROOTDIR2' => $this->psl['rooturl'], // This is a hack: ROOTDIR disappears in comment_block 'THESTORY' => $thestory )); ! $cmtcount = $stories_ary[$i]['cmtcount']; ! ! // If comments are enabled, show comment count ! if ($this->psl['module']['Comment']) { ! if ($cmtcount > 1) { ! $this->template->set_var(array( 'COMMENT' => pslgetText("comments"), ! 'COMMENTCOUNT' => $cmtcount)); ! } elseif ($cmtcount == 1) { ! $this->template->set_var(array( 'COMMENT' => "$cmtcount ".pslgetText("comment"), ! 'COMMENTCOUNT' => 1)); ! } else { ! $this->template->set_var(array( 'COMMENT' => pslgetText("Comments?"), ! 'COMMENTCOUNT' => '')); ! } ! $this->template->parse('row',array('comment_block')); } else { ! $this->template->set_var('comment_block',''); } + $this->template->parse("stories", "each_story", true); *************** *** 597,601 **** $this->template->parse('STORY', 'template'); $stories = $this->template->get('STORY'); ! $this->template->set_var(array( 'rows' => "", --- 613,617 ---- $this->template->parse('STORY', 'template'); $stories = $this->template->get('STORY'); ! $this->template->set_var(array( 'rows' => "", *************** *** 603,609 **** 'stories' => "" )); ! # debug("Story::getStories.stories", $stories); ! return $stories; } /* end of function getStories */ --- 619,625 ---- 'stories' => "" )); ! # debug("Story::getStories.stories", $stories); ! return $stories; } /* end of function getStories */ |
From: Joe S. <joe...@us...> - 2003-11-06 19:15:14
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv16982/phpslash-dev Modified Files: CHANGES Log Message: [ 837175 ] Dont show comment links if Comment module is off Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.41 retrieving revision 1.42 diff -C2 -d -r1.41 -r1.42 *** CHANGES 6 Nov 2003 12:40:38 -0000 1.41 --- CHANGES 6 Nov 2003 19:15:10 -0000 1.42 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2003-November 6 1:00PM CST Joe Stewart <joe...@us...> + [BT] - storyIndex.tpl, Story.class - Peter C. supplied [ 837175 ] Dont show + comment links if Comment module is off. + 2003-November 6 7:00AM CST Joe Stewart <joe...@us...> [BF] - config.php, config_setup.php, config_setup.ini.php - Ported Evan Hughes' |
From: Joe S. <joe...@us...> - 2003-11-06 12:40:42
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv1411/phpslash-dev/public_html Modified Files: config-dist.php Added Files: config_setup.ini.php config_setup.php Log Message: config.php, config_setup.php, config_setup.ini.php - Ported Evan Hughes' setup wizard from Back_End. story/admin.php - Only clear cache if jpcache is used. Closes patch - [ 837131 ] Fix so story create works if jpcache is disabled. --- NEW FILE: config_setup.ini.php --- ; <?php die(); DO NOT REMOVE THIS LINE ;;;;;;;;;; ;; config.ini.php - Configuration File for PHPSlash ;; $Id: config_setup.ini.php,v 1.1 2003/11/06 12:40:39 joestewart Exp $ ;;;;;;;;;; ;;; ;; Welcome to PHPSlash! ;; ;; This file controls many aspects of PHPSlash's behavior. To avoid ;; having your settings clobbered on future updates, rename it from ;; $RCSfile: config_setup.ini.php,v $ to something else, such as "config.ini.php". Specify ;; that filename in config.php or config-dist.php, the script which ;; parses this one and fills in derived values. ;; ;; This file contains information which you obviously do not want ;; world-visible. To protect it, do one of the following: ;; ;; - Place it outside the web filesystem (UNIX standards would probably ;; suggest that it go in an "etc" directory). Make sure the parser ;; script knows the full path. ;; ;; - Keep it in the main web directory of your site, but KEEP THE PHP ;; FILE EXTENSION AND TAGS. That way, if someone types the filename ;; in the browser URL bar, all that will be displayed is a parse ;; error. Giving this file an unparsed extension such as ".ini" will ;; probably cause the entire file to be displayed as plain text. ;; ;; Users familiar with INI files can skip down to the first directive, ;; which is 'basedir' below. Otherwise, please read these first ;; comments carefully. ;; ;; The syntax of the file is extremely simple. Whitespace and lines ;; beginning with a semicolon are silently ignored (as you probably guessed). ;; Section headers mean that configuration will be placed in a subarray. ;; ;; Directives are specified using the following syntax: ; directive = value ;; Directive names are *case sensitive* - foo=bar is different from FOO=bar. ;; ;; The value can be a string, a number, a PHP constant (e.g. E_ALL or ;; M_PI), one of the INI constants (On, Off, True, False, Yes, No and ;; None) or an expression (e.g. E_ALL & ~E_NOTICE), or a quoted string ;; ("foo"). Use double quotes for strings. ;; ;; This file format is built for speed. Expressions in the INI file are ;; limited to bitwise operators (|,&,~,!) and parentheses. If you need ;; to make more complex configurations, put them in a copy of ;; config-dist.php ;; ;; Boolean flags can be turned on using the values 1, On, True or Yes. ;; They can be turned off using the values 0, Off, False or No. ;; ;; An empty string can be denoted by simply not writing anything after ;; the equals sign, or by using the None keyword: ;; ; foo = ; sets foo to an empty string ; foo = none ; sets foo to an empty string ; foo = "none" ; sets foo to the string 'none' ;;; ;;; ;; To Developers or extenders of PHPSlash code: ;; ;; These values all go into the $_PSL array. For information on how ;; this file is parsed see http://www.php.net/parse_ini_file ;; ;; We are trying to migrate to a dotted-keyword form for configuration ;; directives e.g., "config.ini_file". Section headers ARE currently ;; being utilized, but keep keywords globally scoped all the same. ;; ;; GOOD: ;[mymodule] <-- Norms for use of section headers have not been determined. ;; For now, call them optional. ;mymodule.enabled = true ;mymodule.file = "foo.php" ;; ;; BAD: ;[mymodule] ; enabled = true ; file = "foo.php" ;; ;; This allows for maximum clarity to the configurer of a PHPSlash site, ;; who may or may not be a hacker. ;; ;; Comment Customs: ;; Two semicolons mark comments which are interesting to humans. ;; One semicolon marks comments which are disabling actual code. ;;; ;;; ;; Here is where the configuration actually begins! ;;; ;;;; ;; Site determinant variables ;; ;; 'dir' means this path is a directory in the complete filesystem ;; 'url' means this path is interpreted by the web server ;; Thus 'basedir' and 'rooturl' are front and back doors to the same place. ;; No trailing slashes on either! ;; ;; The complete filesystem path to the pages basedir = "<PUBLIC_DIR>" ;; ;; The complete filesystem path to the include directory dir.include = "<INCLUDE_DIR>" ;; ;; The complete filesystem path to the class directory ;; Default: ${dir.include}/class ; classdir = "/path/to/class" ;; ;; The base URL for the PHPSlash site. rooturl = "<ROOT_URL>" ;; ;; The directories and URLs below have default values based on the above ;; three. ;; ;; Complete filesystem path to the template files ;; Default: ${include}/templates ; templatedir = "" ;; ;; URL for the adminstrative pages ;; Default: ${baseurl}/admin ; adminurl = "" ;; ;; URL for PHPSlash images ;; Default: ${rooturl}/images ; imageurl = "" ;; ;; URL for PHPSlash topic images ;; Default: ${imageurl}/topics ; topicimageurl = "" ;; ;; Complete filesystem path to the topic images. ;; Default: ${basedir}/images/topics ; topicimagedir = "" ;; ;; Complete filesystem path to the language and localization files ;; Default: ${classdir}/locale ; localedir = "" ;;; ;;; ;; Database variables ;; ;; Make sure you initialize the database with one of the sql scripts in ;; the PHPSlash distribution and create the user below. DB_Host = "<DB_HOST>" DB_Database = "<DB_DB>" DB_User = "<DB_USER>" DB_Password = "<DB_PASSWORD>" ;; end of database variables ;;; ;;; ;; PHPLIB configuration ;; ;; Source directory for PHPLIB classes and functions. ;; Default: classdir/phplib/php/ ;; Note: Make sure you have a trailing slash (unlike the other directory ;; variables!) ; phplibdir = "/classdir/phplib/php/" ;; ;; Loader script for PHPLIB classes and functions ;; DEPRECATED: replaced by loadLibrary("phplib") (MPL 2002/12/19) ;prependfile = "/path/to/phplib/php/prepend.php" ;; end of PHPLIB config ;;; ;; jpcache jpcache.enable = internal ;;; ;; RSS Exporter Values: ;; ;; These values are used in your RSS Feeds generated by backend.php as ;; well as by PHPSlash for the pages your views see. Please take a ;; moment and adjust these to the correct value ;; ;; Name of the site. This appears for example on the titlebar of ;; browser windows. site_name = "PHPSlash" ;; ;; Email address to reach a human. site_owner = "in...@ph..." ;; ;; A catch phrase for your site. site_slogan = "Slash for you, Slash for me" ;; ;; A Longer version of the title. site_title = "PHPSlash: The Web Stops Here" ;; ;; end RSS exporter values ;;; ;;; ;; Mailing list configuration ;; ;; Use this for the subject of periodic e-mails with headlines sent to ;; users of your site. mailinglist_subject = "PHPSlash Times" ;; end of mailing list configuration ;;; ;;; ;; randomization ;; ;; Use this secret string when generating site unique variables. For ;; security's sake, change this to something, anything. magic = "ChangeThisToSomethingUnique" ;;; ;; End of Site determinant variables ;;;;; ;;;;; ;; Optional Configuration ;; The "skin" is the basic look for your site. PHPSlash ships with two, ;; both HTML 4.0 Transitional. The "basic" skin does all formatting ;; with CSS, whereas the "default" skin uses <font> tags and such. ;defaultskin = "basiccurves" defaultskin = "ShankZen" ;;; ;; Registration mode: ;; 'reg' - allow users to register themselves and create accounts on your site ;; 'log' - restrict the creation of new accounts to administrators authmode = "reg" ;;; ;;; ;; NavBar settings ;; The Navigation bar gives links to various areas of the site. ;; ;; Turn the Admin link on/off in the navbar ;; Joe Stewart writes: ;; ;; "The login/logout links are available in the menuarray now. This was ;; the last of the navbar links that were in NavBar.class instead of the ;; data array. Now you can just comment out the login link and still ;; have the logout link available." show_admin_on_navbar = false ;; end of NavBar settings ;;; ;;; ;; TopicBar Options ;; ;; These following two variables control how the topic icons get ;; organized after submitting a story: ;; ;; Automatically reorganize the topic icons after publishing a new article auto_renorm = false ;; ;; Put this number of icons in the topic bar bar_limit = 5 ;; end of TopicBar settings ;;; ;;; ;; Comment Options ;; The comment_defaultmode variable allows you to define how the comments ;; will look the first time a visitor views a story. It can be one of the ;; following options: ;; thread: the first comment is displayed, the replies are then listed in ;; index style ;; index: the subject/author/date is listed. you have to click on the ;; link to get the full subject ;; nested: all the comments are displayed and are indented to show the ;; parent/child relationship between the comments. ;; flat: all the comments are displayed like the nested view but without ;; any indentation. ;; none: no comments are displayed. comment_defaultmode = "nested" ;; ;; Mark new comments pending (basically allows you to moderate the posts). default_pending = false ;;; end of Comment Options ;;; ;; Poll Options ;; ;; When creating a poll, you have a question and at least this number of ;; blanks. poll_min_answers = 8 ;; end of Poll Options ;;; ;;; ;; Search Page Options ;; ;; Return this many results when searching search_maxresults = 20 ;; Allow search of the comments as well allow_comment_search = true ;;; end of Search Options ;;; Submission Options ;; ;; Delete submission when "edit as story" is clicked on the submissions ;; page submission_autodelete = false ;;; end of Submission Options ;;; Article(Story) Options ;; Put Next and Previous story links on each article page article_nextprevlinks = true ;; Keep track of hits on a story (the drawback is an extra DB query). article_updatehits = true ;;; end of Article Options ;;; ;; Block Options ;; Use this number as the minimum number of options available for a block. block_optioncount = 4 ;;; end of Block Options ;;; ;; Homepage options ;; ;; Name of the default section (what you want browsers to see when they ;; first enter the site site_homesection = "Home" ;; ID in the database of the above section home_section_id = 3 ;; use this script as the default for the site (relative to rooturl) mainpage = "index.php" ;;; end of Homepage options ;;; ;; Notification Options ;; ;; Notify the site owner when a submission is made (default is false) ; submitnotify = true ;; ;; Notify the site owner when a comment is submitted (default is false) ; commentnotify = true ;;; ;;; ;; Story Cache options ;; ;; Cache the formatted output of the story in a serialized variable for ;; this many seconds. Zero seconds => never cache the story. ;; FYI: 3600 seconds == 1 hour; 86400 seconds == 1 day. expirestory = 0 ;; Cache the "related links" of the story in a serialized variable for ;; this many seconds. ;; WARNING: always set expirerelated >= expirestory expirerelated = 14400 ;; end of Story Cache options ;;; ;;; ;; Debug options ;; ;; Debug variables and messages (i.e., do not suppress output from calls ;; to the debug function) debug = false ;; Send debugging information here. Use: ;; 'now' for output to the browser ;; 'log' for output to the admin log ;; 'mail' to e-mail output debug_type = "now" ;; Mail debug output here (e.g., "web...@ph..."); ;; CAVEAT: Generates one message per debug call, not per page. debug.mailto = ;; Recurse through data structures down this far. ;; Use -1 if you are not afraid of circular references, or ;; 1 for pre-M7 behavior debug.max_recursion_level = 10 ;; Escape html in debug output debug.escape_html = true ;; end of Debug Options ;;; ;;; ;; Informational Logging ;; Log messages from PHPSlash to administrators in the database use_infolog = true ;;; ;;; ;; Locale Options ;; ;; Default language ( ISO format) language = "en" ;; [locale] ;; Use this locale for formatting date and time strings LC_TIME = "en_US" ;; Use this locale for the translation of messages ;; (NOT USED -- use 'language' directive instead) LC_MESSAGES = "en" ;; end of locale definitions ;;; ;;; ;; Timezone Options [timezone] ;; Set this to something true if you want times to be calculated in a ;; different time zone. engine = true ;; ;; Now you have to choose the implementation of time zones. If you are ;; on a UNIX platform and can set environment variables, native is probably ;; the implemention for you. native = true ;; ;; Otherwise, you can use the time zone classes which interface the ;; time zone database, if you have one. Specify the directory here (good ;; to do even if you are using native time zones): dir = "/usr/share/zoneinfo" ;; For MacOSX Users: some files are missing in the time zone database ;; installation. Uncomment these lines (and correct the directory) to use ;; the PHPSlash-distributed copies. ; zone_file = "/home/username/phpslash-0.7/contrib/zone.tab" ; country_file = "/home/username/phpslash-0.7/contrib/iso3166.tab" ;; ;; If you can't do that either, you are stuck specifying time zones as ;; POSIX-compatible strings; see below. In any case, you need to ;; specify the server's default time zone. If you are using native ;; timezones and want the default to be the actual server's setting, ;; enter it this way (find the right path): ; default = ":/etc/localtime"; ;; ;; If you are not using native timezones, but are using the time zone ;; database, specify a meaningful time zone name here. You can also use ;; this to fake the server's time zone. name = "America/Chicago"; ;; ;; Finally, if all you are able to do is specify a POSIX string, do it ;; like this: ; name = "GMT+0BST,M4.1.0/1,M10.5.0/2"; ;; end of timezone definitions ;;; ;;; ;; Metatag Definitions ;; ;; Metatags will be inserted into your site's pages as ... <meta> tags. ;; They are useful for explaining to robots like search engines just ;; what it is your site is concerned with. ;; ;; Metatags that may need to be overwritten later (article description). ;; Other metatags should probably just reside in slashHead.tpl [metatags] keywords = "weblog, content management, php" ;; ;; Short summary of your site. ;; Note that this too is used by the backend module in your RSS feed. ;; Please change it! description = "PHPSlash is a port of the slash-0.2 code from Perl to PHP. Since it was first started, PHPSlash has become a different beast of its own. It currently boasts full HTML templates, an OO design, the ability to operate in a hosted environment, and a bunch of other goodies." ;;; end of metatags definitions ;;; ;; Module registration ;; ;; Modules add functionality to PHPSlash. [module] ;; Turn any of these off, and the link will not appear on the navbar, ;; nor will the excess code be compiled. Make sure you're really not ;; using it, though! ;; ;; Set up a glossary page where administrators can insert ;; term definitions Glossary = glossary ;; Allow users to subscribe to a mailing list to get ;; headlines (the actual mailing is handled elsewhere; see the file ;; cronmail.php MailingList = mailinglist ;; Provide a container for small bits of HTML to be incorporated into ;; side columns of pages. Block = block ;; Allow users of your site to leave and peruse comments. Comment = comment ;; Show a row of icons relating to topics for which stories have been ;; posted recently. TopicBar = topicbar ;; Show a row of links relating to various modules within the site. NavBar = navbar ;; Allow administrators to create polls on your site. Poll = poll ;; Allow administrators to create and modify site sections Section = section ;; Allow administrators to create, modify, and post stories Story = story ;; Allow users to submit new stories (they won't appear until posted by ;; trusted author, however) Submission = submission ;; Allow administrators to create, modify, and post topics Topic = topic ;; Allow administrators to view the informational log Infolog = true ;; Allow administrators to create/modify/delete authors Author = author ;; Allow administrators to modify site variables ;; (Not sure how much this is used) Variable = false ;; Allow administrators to create and modify user groups. Group = group ;; About page module. About = about ;; Search page module. Search = search ;; Error page module ( Page not found) Error = error ;; default module [default] = Story module.default = "Story" ;;; end of module definitions ;;; ;; Approved HTML tags for user comments ;; ;; 2 means accept all qualifiers: <foo bar> ;; 1 means accept the tag only: <foo> [approvedtags] p = 1 b = 1 i = 1 a = 2 em = 1 br = 1 strong = 1 blockquote = 1 tt = 1 hr = 1 li = 1 ol = 1 ul = 1 ;;; end of approvedtags definitions ; DO NOT REMOVE THIS LINE ?> --- NEW FILE: config_setup.php --- <?php /* Back-End configurator 0.4.2 * Evan Hughes (ev...@op...), OpenConcept Consulting * * This is the backend configurator. It's a quick and dirty configuration tool * designed to be used to configure an initial install of Back-End. It is NOT * designed to install, upgrade, or perform ongoing maintenance. * * USER FACING FUNCTIONALITY: * A wizard-type web-app that verifies the webserver's environment, and then * configures BE. * * DESIGN: * Pretty ugly really. The pages in the wizard are defined as a set of steps * are defined in an array. Each step is a string. The string is used as a * prefix to uniquify functions that define behaviour for each of the steps. * The loader is the chunk of behaviour at the start of this script that * determines which step to run. * [...1162 lines suppressed...] # $sql[$i] = ' '; # } // end else if // loic1: send a fake header each 30 sec. to bypass browser timeout $time1 = time(); if ($time1 >= $time0 + 30) { $time0 = $time1; header('X-pmaPing: Pong'); } // end if } // end for // add any rest to the returned array if (!empty($sql) && ereg('[^[:space:]]+', $sql)) { $ret[] = $sql; } return TRUE; } // end of the 'PMA_splitSqlFile()' function ?> Index: config-dist.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.php,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** config-dist.php 31 Oct 2003 19:26:19 -0000 1.8 --- config-dist.php 6 Nov 2003 12:40:39 -0000 1.9 *************** *** 100,103 **** --- 100,138 ---- $_PHPLIB['libdir'] = $_PSL['classdir']."/phplib/php/"; } + + // Config crutches for new users + if (true) { // New Install = true ; Tested config.ini.php = false + + // Redirect new installs to the config_setup.php file + if (!is_file($_PSL['classdir'] . '/functions.inc')) { + Header("Location: config_setup.php"); + exit; + } + // Checks for missing rooturl, rootdomain, & phplibdir + // rootdomain n/a for psl - jvs - 11/5/2003 + // if (empty($_PSL['rootdomain'])) + // $_PSL['rootdomain'] = $_SERVER['HTTP_HOST']; // $_SERVER['HTTP_HOST'] or $_SERVER['SERVER_NAME'] ?? + if (empty($_PSL['rooturl'])) { + // AND empty($_PSL['rootdomain'])) + $_PSL['rooturl'] = $_SERVER['REQUEST_URI']; + } + if (empty($_PSL['phplibdir'])) + $_PSL['phplibdir'] = $_SERVER['DOCUMENT_ROOT'] . '/../class/phplib/php/'; + + if (strncmp(phpversion(), '4.1', 3) < 0) die('You need at least PHP4.1 to run phpSlash'); + } + + // Uncomment this next line if you have problems with sessions - required with sf.net hosting + // $sessionVar = session_save_path($_PSL['basedir'] . '/updir/'); + + // If you get an error in test.php for magic_quotes_gpc, uncomment the following line: + // ini_set('magic_quotes_gpc', ''); + + // If slashSess appears in the url, and cookies are working, + // you can set the php_admin_flag session.use_trans_sid off + // in php.ini or virtual host / directory or .htaccess + // The following works for PHP 4.1.2, does not work in 4.3+, others? + // ini_set('session.use_trans_sid', 0); + // 1.11) Global Variables. (Don't add trailing slashes) |
From: Joe S. <joe...@us...> - 2003-11-06 12:40:42
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/story In directory sc8-pr-cvs1:/tmp/cvs-serv1411/phpslash-dev/include/modules/story Modified Files: admin.php Log Message: config.php, config_setup.php, config_setup.ini.php - Ported Evan Hughes' setup wizard from Back_End. story/admin.php - Only clear cache if jpcache is used. Closes patch - [ 837131 ] Fix so story create works if jpcache is disabled. Index: admin.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/story/admin.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** admin.php 1 Jul 2003 03:49:10 -0000 1.3 --- admin.php 6 Nov 2003 12:40:38 -0000 1.4 *************** *** 60,76 **** $content .= getError($story->message); $content .= $story->newStory($HTTP_POST_VARS, "array"); ! } // expire cache for this story_id ! jpcache_gc('string', "-story_id-" . $HTTP_POST_VARS['story_id'], "100"); ! // expire cache for these section_id's ! $section_id_ary = $HTTP_POST_VARS['section_id_ary']; ! foreach($section_id_ary as $key => $value) { ! jpcache_gc('string', "-section_id-" . $value, "100"); ! } ! } ! if ($perm->have_perm("storyList")) { ! $content .= $story->listStory($ary,$next); ! } break; --- 60,78 ---- $content .= getError($story->message); $content .= $story->newStory($HTTP_POST_VARS, "array"); ! } // expire cache for this story_id ! if(function_exists('jpcache_gc')) { ! jpcache_gc('string', "-story_id-" . $HTTP_POST_VARS['story_id'], "100"); ! // expire cache for these section_id's ! $section_id_ary = $HTTP_POST_VARS['section_id_ary']; ! foreach($section_id_ary as $key => $value) { ! jpcache_gc('string', "-section_id-" . $value, "100"); ! } ! } ! } ! if ($perm->have_perm("storyList")) { ! $content .= $story->listStory($ary,$next); ! } break; |
From: Joe S. <joe...@us...> - 2003-11-06 12:40:42
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv1411/phpslash-dev Modified Files: CHANGES Log Message: config.php, config_setup.php, config_setup.ini.php - Ported Evan Hughes' setup wizard from Back_End. story/admin.php - Only clear cache if jpcache is used. Closes patch - [ 837131 ] Fix so story create works if jpcache is disabled. Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.40 retrieving revision 1.41 diff -C2 -d -r1.40 -r1.41 *** CHANGES 31 Oct 2003 19:26:18 -0000 1.40 --- CHANGES 6 Nov 2003 12:40:38 -0000 1.41 *************** *** 13,16 **** --- 13,21 ---- 9 - Removal of something (kill -9 :) + 2003-November 6 7:00AM CST Joe Stewart <joe...@us...> + [BF] - config.php, config_setup.php, config_setup.ini.php - Ported Evan Hughes' + setup wizard from Back_End. + story/admin.php - Only clear cache if jpcache is used. Closes patch - + [ 837131 ] Fix so story create works if jpcache is disabled. 2003-October 31 1:30PM CST Joe Stewart <joe...@us...> |
From: Joe S. <joe...@us...> - 2003-10-31 19:26:23
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv15617/phpslash-dev/public_html Modified Files: config-dist.php Log Message: Release 0.8alpha Index: config-dist.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** config-dist.php 1 Jul 2003 03:01:13 -0000 1.7 --- config-dist.php 31 Oct 2003 19:26:19 -0000 1.8 *************** *** 77,81 **** $_PSL = parse_ini_file($psl_inifile, TRUE); ! $_PSL['version'] = '0.7.1'; /**** START DEBUGGING - Comment or delete this for production! ****/ --- 77,81 ---- $_PSL = parse_ini_file($psl_inifile, TRUE); ! $_PSL['version'] = '0.8alpha'; /**** START DEBUGGING - Comment or delete this for production! ****/ |
From: Joe S. <joe...@us...> - 2003-10-31 19:26:22
|
Update of /cvsroot/phpslash/phpslash-dev/doc/changeHistory In directory sc8-pr-cvs1:/tmp/cvs-serv15617/phpslash-dev/doc/changeHistory Added Files: CHANGES-065-070 CHANGES-07-711 Log Message: Release 0.8alpha --- NEW FILE: CHANGES-065-070 --- $Id: CHANGES-065-070,v 1.1 2003/10/31 19:26:18 joestewart Exp $ Changes Legend... B - Bugfix F - Feature Added E - Experimental T - Template changed D - Documentation S - Database Schema R - RELEASE W - General Work on something 9 - Removal of something (kill -9 :) 2003-February-28 9:30AM CST Joe Stewart <joe...@us...> [R] - Released phpSlash 0.7. - VERSION, config-dist.php3, config.php3, about.tpl - bumped version for release. [...988 lines suppressed...] 2002-May-20 12:00PM CDT Joe Stewart <joe...@us...> [F] - Block_render_submission.class - display submission queue in a block. [FT] - Block_render_login.class, loginblock.tpl - added login/logout block. [D] - phpslash.sgml - Added login/logout and submission blocks to docs. [T] - basic/openbox.tpl, default/openbox.tpl, default/framedbox.tpl - added alternate fancybox templates. 2002-May-20 11:00AM CDT Joe Stewart <joe...@us...> [FT] - Block_render_navbar.class, navbarBlock.tpl - added Luis' navbar block. [D] - phpslash.sgml - Added navbar block and new upgrade section to docs. 2002-May-20 10:30AM CDT Joe Stewart <joe...@us...> [F] - Poll.class, config.php3 - Feature Request [ 528683 ]. Polls have a variable number of answers. Similar to block options. If more are needed, they are added automatically. 2002-May-20 10:00AM CDT Joe Stewart <joe...@us...> [D] - Moved CHANGES to doc/changeHistory/CHANGES-062-065 --- NEW FILE: CHANGES-07-711 --- $Id: CHANGES-07-711,v 1.1 2003/10/31 19:26:19 joestewart Exp $ Changes Legend... B - Bugfix F - Feature Added E - Experimental T - Template changed D - Documentation S - Database Schema R - RELEASE W - General Work on something 9 - Removal of something (kill -9 :) 2003-April 3 2:00PM CST Joe Stewart <joe...@us...> [R] - Released phpSlash 0.7.1. - VERSION, config-dist.php3, config.php3, about.tpl - bumped version for release. 2003-April 3 2:00PM CST Joe Stewart <joe...@us...> [B] - Story.class - corrected "Also filed under" problem on the article page. about.php3, article.php3, comment.php3, errordocument.php3, glossary.php3, login.php3, mailinglist.php3, poll.php3, profile.php3, search.php3, submission.php3, authorAdmin.php3, blockAdmin.php3, commentAdmin.php3, glossaryAdmin.php3, groupAdmin.php3, infologAdmin.php3, mailinglistAdmin.php3, pollAdmin.php3, sectionAdmin.php3, storyAdmin.php3, submissionAdmin.php3, topicAdmin.php3, variableAdmin.php3 - Added SKIN placeholder. 2003-March-27 12:30PM CST Joe Stewart <joe...@us...> [R] - Released phpSlash 0.7.1RC1. - VERSION, config-dist.php3, config.php3 - bumped version for release. 2003-March-27 11:00AM CST Joe Stewart <joe...@us...> [B] - md5.js, basic/loginformCR.tpl - bug [ 710158 ] md5.js broken with passwords using special chars - Corrected by using a different md5.js. The setcookie form field was missing in logintrue form for the basic template set. 2003-March-27 11:00AM CST Joe Stewart <joe...@us...> [B] - login.php3, slashAuthCR.class - corrected unregistering comment session variables with register_globals off. 2003-March-27 9:30AM CST Joe Stewart <joe...@us...> [F] - Story_admin.class, Block.class - limit story deletion to allowed sections. This should address RFE [ 513264 ] Controlled access to sections. 2003-March-27 9:00AM CST Joe Stewart <joe...@us...> [F] - Block.class, Block_admin.class, blockAdmin.php3 - limit block admin. to allowed sections. Story_admin.class - break out of while if any section is available. 2003-March-26 2:00PM CST Joe Stewart <joe...@us...> [W] - Story_admin.class - list only stories in sections that the user has permission. 2003-March-26 12:00PM CST Joe Stewart <joe...@us...> [B] - Author.class, en.php3 - reject saving a new author if the username already exists. Story_admin.class - correct placement of displayOption call. Story_base.class - saving a story no longer deletes all previous section choices and then inserts new. It should only affect those sections for which the user has permissions. 2003-March-26 8:30AM CST Joe Stewart <joe...@us...> [W] - slashAuthCR.class, login.php3 - remove saved comment session variables when logging in and logging out. 2003-March-25 3:30PM CST Joe Stewart <joe...@us...> [W] - Story_base.class, storyAdmin.php3, en.php3 - return a message when story is saved successfully. 2003-March-25 2:30PM CST Joe Stewart <joe...@us...> [BT] - Mailinglist.class, en.php3 - Doesn't send empty emails. config-dist.php3 - match menu priv. with admin script privileges. login.php3 - anonymous user info loaded when logging out. slashAuthCR.class - squashed bug that prevented child groups from limiting sections correctly. Author.class - new method - getAuthor returns all fields of a author record except password. Submission.class, Story_admin.class, storyAdmin.php3 - limit posting to allowed sections. Block_render_fmsearch.class, fmblock.tpl - tobozo's updated Freshmeat xml parsing block. 2003-March-25 11:00AM CST Joe Stewart <joe...@us...> [B] - NavBar.class - getNavBar now correctly uses the menu array "perm" entry for public users as well as logged in users. submission.php3, config.php3 - require "submissionNew" permission to make submissions. 2003-March-25 10:00AM CST Joe Stewart <joe...@us...> [W] - functions.inc - replaced "section" argument to getHeader with an array argument that the contents will be parsed in the template with the array key used as a template placeholder. getFooter now has similar capabilities also. 2003-March-20 3:00PM CST Joe Stewart <joe...@us...> [W] - slash-all.sql, 65_to_7.sql - removed storyeditor privileges from story group. 2003-March-20 12:00PM CST Joe Stewart <joe...@us...> [W] - Comment.class - When saving a comment, the user_id is always saved. 2003-March-19 3:00PM CST Joe Stewart <joe...@us...> [B] - Poll.class - getCurrent() should have been this->getCurrent(). 2003-March-19 2:00PM CST Joe Stewart <joe...@us...> [B] - mailinglist.php3 - change ary to POST vars. glossary.php3 - Translate page title. cronmail.php3 - Luis' revised cronmail that calls the Mailinglist class method. profile.php3 - check to see if jpcache is enabled. 2003-March-18 10:00AM CST Joe Stewart <joe...@us...> [B] - Mailinglist.class - correct "message" typo. 2003-March-11 3:30PM CST Joe Stewart <joe...@us...> [B] - slashTemplate.class - removed exception to allow array call to find inherited templates correctly. 2003-March-11 12:30PM CST Joe Stewart <joe...@us...> [W] - config-dist.php3, config.php3, functions.inc, Author.class, Block_render_skin.class - Changed templatedir.default to templatedir.main. slashTemplate.class - Changed structure of set_file to make recursive calls to set the correct path to the template file. 2003-March-11 11:00AM CST Joe Stewart <joe...@us...> [B] - Group.class - commented debugging "echo" - closes bug [ 701658 ] Debug messages in group admin screen. 2003-March-07 2:00PM CST Joe Stewart <joe...@us...> [B] - slash-all.sql - set answer_id's for the initial poll. 2003-March-07 8:30AM CST Joe Stewart <joe...@us...> [B] - slashAuthCR.class, Author.class, login.php3 - correctly set and delete the "user_info" cookie. 2003-March-06 3:00PM CST Joe Stewart <joe...@us...> [W] - comment.php3, commentAdmin.php3 - expire poll cache for comment updates too. 2003-March-06 12:00PM CST Joe Stewart <joe...@us...> [W] - functions.inc - setSkinTpl - better exception support for setting skins. 2003-March-06 11:00AM CST Joe Stewart <joe...@us...> [B] - config-dist.php3, config.php3, functions.inc, Author.clas, Block_render_skin.class - tweaks for register_globals off and use new language and skin variables. 2003-March-05 3:30PM CST Joe Stewart <joe...@us...> [B] - slashAuthCR.class - correctly use the "magic" word in the config file if available. This was causing the "remember me" cookie not to work. 2003-March-04 3:30PM CST Joe Stewart <joe...@us...> [W] - index.php3, functions.inc, Comment.class - added SKIN and IMAGEURL placeholders to comment submit form, footer, and index page. 2003-March-03 11:00AM CST Joe Stewart <joe...@us...> [BT] - search.php3, searchPage.tpl - use getTitle and TITLEBAR template placeholder. 2003-March-03 11:00AM CST Joe Stewart <joe...@us...> [D] - Moved CHANGES to doc/changeHistory/CHANGES-065-070 and reset CHANGES file. |
From: Joe S. <joe...@us...> - 2003-10-31 19:26:21
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv15617/phpslash-dev Modified Files: CHANGES VERSION Log Message: Release 0.8alpha Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.39 retrieving revision 1.40 diff -C2 -d -r1.39 -r1.40 *** CHANGES 31 Oct 2003 18:57:51 -0000 1.39 --- CHANGES 31 Oct 2003 19:26:18 -0000 1.40 *************** *** 13,16 **** --- 13,24 ---- 9 - Removal of something (kill -9 :) + + 2003-October 31 1:30PM CST Joe Stewart <joe...@us...> + [R] - Release phpSlash 0.8alpha. + + 2003-October 31 1:30PM CST Joe Stewart <joe...@us...> + [B] - Added missing CHANGES-065-070 CHANGES-07-711 change history files. + config-dist.php, VERSION - Bumped version to 0.8alpha for release. + 2003-October 31 1:00PM CST Joe Stewart <joe...@us...> [F] - Added Peter C.'s breadcrumb delimiter patch. Index: VERSION =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/VERSION,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** VERSION 12 Mar 2003 16:12:47 -0000 1.1.1.1 --- VERSION 31 Oct 2003 19:26:18 -0000 1.2 *************** *** 1 **** ! 0.7 --- 1 ---- ! 0.8lalpha |
From: Joe S. <joe...@us...> - 2003-10-31 18:57:54
|
Update of /cvsroot/phpslash/phpslash-dev/public_html In directory sc8-pr-cvs1:/tmp/cvs-serv8302/phpslash-dev/public_html Modified Files: config-dist.ini.php Log Message: [ 831851 ] Parameterise breadcumb delimiter Index: config-dist.ini.php =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/public_html/config-dist.ini.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** config-dist.ini.php 24 Jun 2003 19:32:34 -0000 1.2 --- config-dist.ini.php 31 Oct 2003 18:57:51 -0000 1.3 *************** *** 538,540 **** --- 538,546 ---- ;;; end of approvedtags definitions + ;;; + ;; Breadcrumb delimiter + ;; + ;; ex: home -> section -> topic + breadcrumb.delimiter = " -> " + ; DO NOT REMOVE THIS LINE ?> |
From: Joe S. <joe...@us...> - 2003-10-31 18:57:54
|
Update of /cvsroot/phpslash/phpslash-dev/include/class In directory sc8-pr-cvs1:/tmp/cvs-serv8302/phpslash-dev/include/class Modified Files: functions.inc Log Message: [ 831851 ] Parameterise breadcumb delimiter Index: functions.inc =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/class/functions.inc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** functions.inc 1 Jul 2003 03:53:35 -0000 1.8 --- functions.inc 31 Oct 2003 18:57:51 -0000 1.9 *************** *** 778,782 **** (!empty($ary['author_id'])) ) { ! $delimeter = "->"; $section_link = ""; $topic_link = ""; --- 778,783 ---- (!empty($ary['author_id'])) ) { ! $delimiter = $_PSL['breadcrumb.delimiter']; ! ; $section_link = ""; $topic_link = ""; *************** *** 803,807 **** $template->set_var(array( ! 'DELIMETER' => $delimeter, 'LINK' => "?section_id=" . $ary['section_id'], 'NAME' => $ary['section'] --- 804,808 ---- $template->set_var(array( ! 'DELIMETER' => $delimiter, 'LINK' => "?section_id=" . $ary['section_id'], 'NAME' => $ary['section'] *************** *** 815,819 **** $template->set_var(array( ! 'DELIMETER' => $delimeter, 'LINK' => "?topic_id=" . $ary['topic_id'] . $section_link, 'NAME' => $ary['topic'] --- 816,820 ---- $template->set_var(array( ! 'DELIMETER' => $delimiter, 'LINK' => "?topic_id=" . $ary['topic_id'] . $section_link, 'NAME' => $ary['topic'] *************** *** 827,831 **** $template->set_var(array( ! 'DELIMETER' => $delimeter, 'LINK' => "?author_id=" . $ary['author_id'] . $section_link . $topic_link, 'NAME' => $ary['author'] --- 828,832 ---- $template->set_var(array( ! 'DELIMETER' => $delimiter, 'LINK' => "?author_id=" . $ary['author_id'] . $section_link . $topic_link, 'NAME' => $ary['author'] |
From: Joe S. <joe...@us...> - 2003-10-31 18:57:54
|
Update of /cvsroot/phpslash/phpslash-dev In directory sc8-pr-cvs1:/tmp/cvs-serv8302/phpslash-dev Modified Files: CHANGES Log Message: [ 831851 ] Parameterise breadcumb delimiter Index: CHANGES =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/CHANGES,v retrieving revision 1.38 retrieving revision 1.39 diff -C2 -d -r1.38 -r1.39 *** CHANGES 21 Aug 2003 19:17:28 -0000 1.38 --- CHANGES 31 Oct 2003 18:57:51 -0000 1.39 *************** *** 13,16 **** --- 13,20 ---- 9 - Removal of something (kill -9 :) + 2003-October 31 1:00PM CST Joe Stewart <joe...@us...> + [F] - Added Peter C.'s breadcrumb delimiter patch. + [ 831851 ] Parameterise breadcumb delimiter + 2003-August 21 2:30PM CDT Joe Stewart <joe...@us...> [B] - Block_render_rss.class - correct path of class file. |
From: Joe S. <joe...@us...> - 2003-10-31 12:50:03
|
Update of /cvsroot/phpslash/phpslash-skins/include/templates/en/PostNukeSilver In directory sc8-pr-cvs1:/tmp/cvs-serv4900/phpslash-skins/include/templates/en/PostNukeSilver Modified Files: index1col.tpl index2colleft.tpl index2colright.tpl index3col.tpl Log Message: Added TOP and BOTTOM placeholders Index: index1col.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/PostNukeSilver/index1col.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index1col.tpl 3 Apr 2003 21:53:17 -0000 1.1 --- index1col.tpl 31 Oct 2003 12:49:58 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index1col.tpl --> + {TOP} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> *************** *** 56,59 **** --- 57,61 ---- </tr> </table> + {BOTTOM} <!-- end index1col.tpl --> Index: index2colleft.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/PostNukeSilver/index2colleft.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index2colleft.tpl 3 Apr 2003 21:53:17 -0000 1.1 --- index2colleft.tpl 31 Oct 2003 12:49:58 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index2colleft.tpl --> + {TOP} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> *************** *** 51,54 **** --- 52,56 ---- </tr> </table> + {BOTTOM} <!-- end index2colleft.tpl --> Index: index2colright.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/PostNukeSilver/index2colright.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index2colright.tpl 3 Apr 2003 21:53:17 -0000 1.1 --- index2colright.tpl 31 Oct 2003 12:49:58 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index2colright.tpl --> + {TOP} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> *************** *** 57,59 **** --- 58,61 ---- </tr> </table> + {BOTTOM} <!-- end index2colright.tpl --> Index: index3col.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/PostNukeSilver/index3col.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** index3col.tpl 3 Apr 2003 21:53:17 -0000 1.1 --- index3col.tpl 31 Oct 2003 12:49:58 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index3col.tpl --> + {TOP} <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> *************** *** 52,55 **** --- 53,57 ---- </tr> </table> + {BOTTOM} <!-- end index3col.tpl --> |
From: Joe S. <joe...@us...> - 2003-10-31 12:50:03
|
Update of /cvsroot/phpslash/phpslash-skins/include/templates/en/bluerobot In directory sc8-pr-cvs1:/tmp/cvs-serv4900/phpslash-skins/include/templates/en/bluerobot Modified Files: index1col.tpl index2colleft.tpl index2colright.tpl index3col.tpl Log Message: Added TOP and BOTTOM placeholders Index: index1col.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/bluerobot/index1col.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index1col.tpl 12 Mar 2003 16:15:21 -0000 1.1.1.1 --- index1col.tpl 31 Oct 2003 12:49:59 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index1col.tpl --> + {TOP} {BREADCRUMB} *************** *** 13,17 **** </tr> </table> ! <!-- end index1col.tpl --> - --- 14,17 ---- </tr> </table> ! {BOTTOM} <!-- end index1col.tpl --> Index: index2colleft.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/bluerobot/index2colleft.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index2colleft.tpl 12 Mar 2003 16:15:21 -0000 1.1.1.1 --- index2colleft.tpl 31 Oct 2003 12:49:59 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index2colleft.tpl --> + {TOP} <div id="content2left"> {BREADCRUMB} *************** *** 9,11 **** --- 10,13 ---- {LEFT_BLOCK_COLUMN} </div> + {BOTTOM} <!-- end index2colleft.tpl --> Index: index2colright.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/bluerobot/index2colright.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index2colright.tpl 12 Mar 2003 16:15:21 -0000 1.1.1.1 --- index2colright.tpl 31 Oct 2003 12:49:59 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index2colright.tpl --> + {TOP} <div id="content2right"> {BREADCRUMB} *************** *** 9,11 **** --- 10,13 ---- {RIGHT_BLOCK_COLUMN} </div> + {BOTTOM} <!-- end index2colright.tpl --> Index: index3col.tpl =================================================================== RCS file: /cvsroot/phpslash/phpslash-skins/include/templates/en/bluerobot/index3col.tpl,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** index3col.tpl 12 Mar 2003 16:15:21 -0000 1.1.1.1 --- index3col.tpl 31 Oct 2003 12:49:59 -0000 1.2 *************** *** 1,3 **** --- 1,4 ---- <!-- start index3col.tpl --> + {TOP} <div id="content2left"> {BREADCRUMB} *************** *** 13,16 **** {RIGHT_BLOCK_COLUMN} </div> ! <!-- end index3col.tpl --> --- 14,17 ---- {RIGHT_BLOCK_COLUMN} </div> ! {BOTTOM} <!-- end index3col.tpl --> |