comoblog-commit Mailing List for CoMoblog Mobile Blog Application (Page 17)
Status: Inactive
Brought to you by:
markwallis
You can subscribe to this list here.
| 2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(49) |
Oct
(127) |
Nov
(211) |
Dec
(56) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2006 |
Jan
(51) |
Feb
(128) |
Mar
(1) |
Apr
(2) |
May
|
Jun
|
Jul
(2) |
Aug
(24) |
Sep
|
Oct
(151) |
Nov
(9) |
Dec
|
| 2007 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
|
Feb
(17) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-22 02:48:45
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23687/docs Modified Files: CHANGELOG Log Message: 1383037 - Patch commited from Schnitter for German spelling corrections Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.31 retrieving revision 1.32 diff -u -d -r1.31 -r1.32 --- CHANGELOG 15 Dec 2005 22:13:45 -0000 1.31 +++ CHANGELOG 22 Dec 2005 02:48:37 -0000 1.32 @@ -14,6 +14,7 @@ * BUG: I.E. display bug with table layout (1314308) * BUG: More visible trackback icon for dark page backgrounds (1368650) * BUG: Date format issues with editing posts (1375731) +* BUG: German spelling corrected (1383037) CoMoblog 1.0, 2005-11-19 ---------------------------- |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-16 02:48:20
|
Update of /cvsroot/comoblog/modules/mod_wordswapper In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22830 Removed Files: mod_wordswapper.xml Log Message: Remove redundant XML install file for mod_wordswapper --- mod_wordswapper.xml DELETED --- |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-16 00:57:35
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4673 Modified Files: mod_comment_notify_comment_filter.php Log Message: 1361309 - Remove legacy PEAR code Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- mod_comment_notify_comment_filter.php 16 Dec 2005 00:51:49 -0000 1.6 +++ mod_comment_notify_comment_filter.php 16 Dec 2005 00:57:25 -0000 1.7 @@ -1,6 +1,6 @@ <?php -#include('include/pear/Mail.php'); require_once(dirname(__FILE__).'/include/mod_comment_notify.inc.php'); + $subject ='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']); $body = "Message details " . "\n\n"; $body .='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']) ."\n"; @@ -19,11 +19,5 @@ mail($recipients, $subject, $body,$headerstring); -#$headers['From'] = CFG_COMMENT_NOTIFY_FROM; -#$headers['To'] = CFG_COMMENT_NOTIFY_TO; -#$headers['Subject'] = $subject; -#$params['sendmail_path'] = CFG_WHERE_IS_SENDMAIL; -// Create the mail object using the Mail::factory method -#$mail_object =& Mail::factory('sendmail', $params);$mail_object->send($recipients, $headers, $body); ?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-16 00:51:59
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3472 Modified Files: mod_comment_notify_comment_filter.php Log Message: 1361309 - Add the 'To Name' back into the script while also ensuring duplicates don't occur Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- mod_comment_notify_comment_filter.php 16 Dec 2005 00:37:48 -0000 1.5 +++ mod_comment_notify_comment_filter.php 16 Dec 2005 00:51:49 -0000 1.6 @@ -8,12 +8,12 @@ $body .= "Link: " .CFG_SITE_URL. "post.php?/". $comment['post_id'] ."\n"; $body .= "From: " . $comment['comment_author'] . " - " . $comment['comment_author_email'] ."\n"; $body .= "Comment:\n\n" . filter_html($comment['comment_text']) ."\n"; -$recipients = CFG_COMMENT_NOTIFY_TO; $headerstring = "MIME-Version: 1.0\r\n". "Content-type: text/plain; charset=iso-8859-1\r\n". "From: ".CFG_COMMENT_NOTIFY_FROM_NAME."<".CFG_COMMENT_NOTIFY_FROM.">\r\n". + "To: ".CFG_COMMENT_NOTIFY_TO_NAME."<".CFG_COMMENT_NOTIFY_TO.">\r\n". "Date: ".date("r")."\r\n". "Subject: ".$subject."\r\n"; |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-16 00:48:55
|
Update of /cvsroot/comoblog/modules/mod_comment_notify/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2573 Modified Files: mod_comment_notify.xml Log Message: 1361309 - Fix up TO_NAME module parameter Index: mod_comment_notify.xml =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/install/mod_comment_notify.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mod_comment_notify.xml 13 Dec 2005 09:23:21 -0000 1.4 +++ mod_comment_notify.xml 16 Dec 2005 00:48:47 -0000 1.5 @@ -42,7 +42,7 @@ /> <param - name="CFG_COMMENT_NOTIFY_TO" + name="CFG_COMMENT_NOTIFY_TO_NAME" description="The name notifications will be sent to" type="text" editable="Y" |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-16 00:37:57
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32748 Modified Files: mod_comment_notify_comment_filter.php Log Message: 1361309 - Fixed up double-emailing and HTML corruption in the comment email Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mod_comment_notify_comment_filter.php 13 Dec 2005 09:23:21 -0000 1.4 +++ mod_comment_notify_comment_filter.php 16 Dec 2005 00:37:48 -0000 1.5 @@ -6,15 +6,14 @@ $body .='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']) ."\n"; $body .= "Post ID:" . $comment['post_id'] ."\n"; $body .= "Link: " .CFG_SITE_URL. "post.php?/". $comment['post_id'] ."\n"; -$body .= "From:" . $comment['comment_author'] . " - " . $comment['comment_author_email'] ."\n"; -$body .= "Comment:\n\n" . $comment['comment_text'] ."\n"; +$body .= "From: " . $comment['comment_author'] . " - " . $comment['comment_author_email'] ."\n"; +$body .= "Comment:\n\n" . filter_html($comment['comment_text']) ."\n"; $recipients = CFG_COMMENT_NOTIFY_TO; $headerstring = "MIME-Version: 1.0\r\n". "Content-type: text/plain; charset=iso-8859-1\r\n". "From: ".CFG_COMMENT_NOTIFY_FROM_NAME."<".CFG_COMMENT_NOTIFY_FROM.">\r\n". - "To: ".CFG_COMMENT_NOTIFY_TO_NAME." <".$recipients.">\r\n". "Date: ".date("r")."\r\n". "Subject: ".$subject."\r\n"; @@ -27,4 +26,4 @@ // Create the mail object using the Mail::factory method #$mail_object =& Mail::factory('sendmail', $params);$mail_object->send($recipients, $headers, $body); -?> \ No newline at end of file +?> |
|
From: iamdecal <iam...@us...> - 2005-12-15 23:58:15
|
Update of /cvsroot/comoblog/comoblog/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20006/include Modified Files: libraries.inc.php Log Message: since we can now change the date of the posts on the edit page, and add them with a future date, it makes sense not to display them until that date has passed. Index: libraries.inc.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/include/libraries.inc.php,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- libraries.inc.php 1 Dec 2005 14:57:55 -0000 1.5 +++ libraries.inc.php 15 Dec 2005 23:58:06 -0000 1.6 @@ -170,6 +170,7 @@ on p.post_id = tr.post_id left join ".CFG_MYSQL_TABPREFIX."images i on t.img_id = i.img_id + where post_mail_date < unix_timestamp(now()) group by p.post_id order by p.post_mail_date desc limit 0,".$howmany." |
|
From: iamdecal <iam...@us...> - 2005-12-15 23:50:05
|
Update of /cvsroot/comoblog/comoblog/admin/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18809/admin/templates Modified Files: mod_popup_header.tpl.htm Log Message: bad reference to the js library (to many back dots ../) Index: mod_popup_header.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/templates/mod_popup_header.tpl.htm,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- mod_popup_header.tpl.htm 2 Sep 2005 01:06:15 -0000 1.2 +++ mod_popup_header.tpl.htm 15 Dec 2005 23:49:56 -0000 1.3 @@ -1,15 +1,15 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> - -<html> -<head> - <title>.: CoMoblog :: Admin Area :.</title> - <script language="javascript" src="../../../js/comoblog.js"></script> - <style type="text/css"> - body, td, input, select, option {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: black;} - a {color: #990000; text-decoration: none} - a:hover {text-decoration: underline;} - .bigger {font-size: 12px; color: #990000; font-weight: bold;} - </style> -</head> -<body bgcolor="#ffffff"> - +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> + +<html> +<head> + <title>.: CoMoblog :: Admin Area :.</title> + <script language="javascript" src="../js/comoblog.js"></script> + <style type="text/css"> + body, td, input, select, option {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font-weight: normal; color: black;} + a {color: #990000; text-decoration: none} + a:hover {text-decoration: underline;} + .bigger {font-size: 12px; color: #990000; font-weight: bold;} + </style> +</head> +<body bgcolor="#ffffff"> + |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-15 22:13:53
|
Update of /cvsroot/comoblog/comoblog/docs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29833 Modified Files: CHANGELOG Log Message: Changelog updates from the last week Index: CHANGELOG =================================================================== RCS file: /cvsroot/comoblog/comoblog/docs/CHANGELOG,v retrieving revision 1.30 retrieving revision 1.31 diff -u -d -r1.30 -r1.31 --- CHANGELOG 11 Dec 2005 12:16:59 -0000 1.30 +++ CHANGELOG 15 Dec 2005 22:13:45 -0000 1.31 @@ -5,6 +5,7 @@ * FEATURE: Ability to edit comments (1347626) * FEATURE: Ability to edit post ctypes * FEATURE: Initial support for 3g2 video +* FEATURE: Support for posts with no subjects (1280303) * MODULE: Updated mod_calendar to 1.1 * MODULE: Updated mod_search to 1.1 * BUG: Module upgrade tries to upgrade half-written modules @@ -12,6 +13,7 @@ * BUG: Comments don't handle quotation marks (1364093) * BUG: I.E. display bug with table layout (1314308) * BUG: More visible trackback icon for dark page backgrounds (1368650) +* BUG: Date format issues with editing posts (1375731) CoMoblog 1.0, 2005-11-19 ---------------------------- |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-15 22:10:52
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29342 Modified Files: comoblog_batch.php Log Message: 1280303 - Fix bug in resetting of subject in batch script Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.11 retrieving revision 1.12 diff -u -d -r1.11 -r1.12 --- comoblog_batch.php 15 Dec 2005 17:02:30 -0000 1.11 +++ comoblog_batch.php 15 Dec 2005 22:10:43 -0000 1.12 @@ -60,11 +60,11 @@ } } - if ( $post['post_mail_subject'] == ""){ - // need to to strip html incase we break across a tag - $title = filter_html($posts[$cnt]['post_mail_body']); - $posts[$cnt]['post_mail_subject'] = substr($title,0,150) ."..." ; - } + if ( $post['post_mail_subject'] == "") { + // need to to strip html incase we break across a tag + $title = filter_html($post['post_mail_body']); + $post['post_mail_subject'] = substr($title,0,150) ."..." ; + } // clean up text and html |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-15 22:10:29
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29266 Modified Files: post_add.php post_edit.php Log Message: 1280303 - Add support for no-subject post add/edit via the website Index: post_add.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_add.php,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- post_add.php 7 Dec 2005 21:04:49 -0000 1.6 +++ post_add.php 15 Dec 2005 22:10:15 -0000 1.7 @@ -50,6 +50,12 @@ $post[$k] = stripslashes($v); } + if ($post['post_mail_subject'] == "") { + $title = filter_html($post['post_mail_body']); + $post['post_mail_subject'] = substr($title,0,150) ."..."; + + } + // apply post filters if (count($POST_PRE_FILTERS) > 0) { for ($filter_cnt = 0; $filter_cnt < count($POST_PRE_FILTERS); $filter_cnt++) { Index: post_edit.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_edit.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- post_edit.php 14 Dec 2005 04:21:13 -0000 1.9 +++ post_edit.php 15 Dec 2005 22:10:15 -0000 1.10 @@ -103,6 +103,12 @@ $post[$k] = stripslashes($v); } + if ($post['post_mail_subject'] == "") { + $title = filter_html($post['post_mail_body']); + $post['post_mail_subject'] = substr($title,0,150) ."..."; + + } + // apply post filters if (count($POST_PRE_FILTERS) > 0) { for ($filter_cnt = 0; $filter_cnt < count($POST_PRE_FILTERS); $filter_cnt++) { |
|
From: iamdecal <iam...@us...> - 2005-12-15 17:02:46
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22177/comoblog/batch Modified Files: comoblog_batch.php Log Message: typo in last commit fixed Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- comoblog_batch.php 15 Dec 2005 16:50:44 -0000 1.10 +++ comoblog_batch.php 15 Dec 2005 17:02:30 -0000 1.11 @@ -62,7 +62,7 @@ if ( $post['post_mail_subject'] == ""){ // need to to strip html incase we break across a tag - $title = filter_html($posts[$cnt]['post_mail_subject']); + $title = filter_html($posts[$cnt]['post_mail_body']); $posts[$cnt]['post_mail_subject'] = substr($title,0,150) ."..." ; } |
|
From: iamdecal <iam...@us...> - 2005-12-15 17:02:45
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22177/comoblog/admin Modified Files: manage_posts.php Log Message: typo in last commit fixed Index: manage_posts.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/manage_posts.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- manage_posts.php 15 Dec 2005 16:50:43 -0000 1.2 +++ manage_posts.php 15 Dec 2005 17:02:30 -0000 1.3 @@ -40,7 +40,7 @@ $posts[$cnt]['post_mail_date'] = strftime('%D %T',$posts[$cnt]['post_mail_date']); if ( $posts[$cnt]['post_mail_subject'] == ""){ // need to to strip html incase we break across a tag - $title = filter_html($posts[$cnt]['post_mail_subject']); + $title = filter_html($posts[$cnt]['post_mail_body']); $posts[$cnt]['post_mail_subject'] = substr($title,0,150) ."..." ; } |
|
From: iamdecal <iam...@us...> - 2005-12-15 16:50:54
|
Update of /cvsroot/comoblog/comoblog/batch In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19354/comoblog/batch Modified Files: comoblog_batch.php Log Message: as requested on the boards, ive added the code to generate a title from the body if there isnt one in the message, this is done as the post is added, however it occurs to me that this may not be the best way, ive also supplied code for the list template which just provides a title on the list screen but doesnt actually create one. Index: comoblog_batch.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/batch/comoblog_batch.php,v retrieving revision 1.9 retrieving revision 1.10 diff -u -d -r1.9 -r1.10 --- comoblog_batch.php 11 Dec 2005 12:14:01 -0000 1.9 +++ comoblog_batch.php 15 Dec 2005 16:50:44 -0000 1.10 @@ -60,6 +60,13 @@ } } + if ( $post['post_mail_subject'] == ""){ + // need to to strip html incase we break across a tag + $title = filter_html($posts[$cnt]['post_mail_subject']); + $posts[$cnt]['post_mail_subject'] = substr($title,0,150) ."..." ; + } + + // clean up text and html if ($post['post_ctype'] == 'text/plain') $post['post_mail_body'] = clean_up_txt($post['post_mail_body'], true); |
|
From: iamdecal <iam...@us...> - 2005-12-15 16:50:51
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19354/comoblog/admin Modified Files: manage_posts.php Log Message: as requested on the boards, ive added the code to generate a title from the body if there isnt one in the message, this is done as the post is added, however it occurs to me that this may not be the best way, ive also supplied code for the list template which just provides a title on the list screen but doesnt actually create one. Index: manage_posts.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/manage_posts.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- manage_posts.php 16 Aug 2005 05:49:44 -0000 1.1.1.1 +++ manage_posts.php 15 Dec 2005 16:50:43 -0000 1.2 @@ -1,78 +1,84 @@ -<?php -require ('include/admin.inc.php'); - -$tpl = new XTemplate ('templates/manage_posts.tpl.htm'); - -$offset = 0; -if (isset($_GET['o'])) $offset = $_GET['o'] + 0; - -$delete = 'n'; -if (isset($_GET['d']) && $_GET['d'] == 'y') $delete = 'y'; - - - - - - - - -if ($delete == 'y') - $tpl->parse('main.deleted'); - - - - - -$display = 10; - -$posts = posts_list ($offset, $display); - -if ($posts) { - - for ($cnt = 0; $cnt < count($posts); $cnt++) { - - if ($cnt % 2) - $tpl->assign('BGCOLOR', '#ffffff'); - else - $tpl->assign('BGCOLOR', '#efefef'); - - $posts[$cnt]['post_mail_from'] = htmlentities(antispam($posts[$cnt]['post_mail_from'])); - $posts[$cnt]['post_mail_date'] = strftime('%D %T',$posts[$cnt]['post_mail_date']); - $tpl->assign('POST', $posts[$cnt]); - $tpl->parse('main.posts.post'); - } - - $howmany = posts_howmany(); - - $tpl->assign("OFFSET", $offset); - $tpl->assign("FIRST", $offset + 1); - $tpl->assign("LAST", $offset + $cnt); - $tpl->assign("TOTAL", $howmany); - - if ($howmany > ($offset + $display)) - { - $next_offset = $offset + $display; - $tpl->assign("NEXT_OFFSET", $next_offset); - $tpl->parse("main.posts.next"); - } - - if (($offset - $display) >= 0) - { - $prev_offset = $offset - $display; - $tpl->assign("PREV_OFFSET", $prev_offset); - $tpl->parse("main.posts.prev"); - } - $tpl->parse('main.posts'); -} -else { - $tpl->parse('main.no_posts'); -} - -$tpl->parse('main.home'); -$tpl->parse('main'); -$tpl->out('main'); - - -// close db connection -mysql_close (); -?> +<?php +require ('include/admin.inc.php'); + +$tpl = new XTemplate ('templates/manage_posts.tpl.htm'); + +$offset = 0; +if (isset($_GET['o'])) $offset = $_GET['o'] + 0; + +$delete = 'n'; +if (isset($_GET['d']) && $_GET['d'] == 'y') $delete = 'y'; + + + + + + + + +if ($delete == 'y') + $tpl->parse('main.deleted'); + + + + + +$display = 10; + +$posts = posts_list ($offset, $display); + +if ($posts) { + + for ($cnt = 0; $cnt < count($posts); $cnt++) { + + if ($cnt % 2) + $tpl->assign('BGCOLOR', '#ffffff'); + else + $tpl->assign('BGCOLOR', '#efefef'); + + $posts[$cnt]['post_mail_from'] = htmlentities(antispam($posts[$cnt]['post_mail_from'])); + $posts[$cnt]['post_mail_date'] = strftime('%D %T',$posts[$cnt]['post_mail_date']); + if ( $posts[$cnt]['post_mail_subject'] == ""){ + // need to to strip html incase we break across a tag + $title = filter_html($posts[$cnt]['post_mail_subject']); + $posts[$cnt]['post_mail_subject'] = substr($title,0,150) ."..." ; + } + + $tpl->assign('POST', $posts[$cnt]); + $tpl->parse('main.posts.post'); + } + + $howmany = posts_howmany(); + + $tpl->assign("OFFSET", $offset); + $tpl->assign("FIRST", $offset + 1); + $tpl->assign("LAST", $offset + $cnt); + $tpl->assign("TOTAL", $howmany); + + if ($howmany > ($offset + $display)) + { + $next_offset = $offset + $display; + $tpl->assign("NEXT_OFFSET", $next_offset); + $tpl->parse("main.posts.next"); + } + + if (($offset - $display) >= 0) + { + $prev_offset = $offset - $display; + $tpl->assign("PREV_OFFSET", $prev_offset); + $tpl->parse("main.posts.prev"); + } + $tpl->parse('main.posts'); +} +else { + $tpl->parse('main.no_posts'); +} + +$tpl->parse('main.home'); +$tpl->parse('main'); +$tpl->out('main'); + + +// close db connection +mysql_close (); +?> |
|
From: Mark W. \(a. serialmonkey\) <mar...@us...> - 2005-12-14 04:21:30
|
Update of /cvsroot/comoblog/comoblog/admin In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28104 Modified Files: post_edit.php Log Message: 1375731 - Date formatting issue while editing posts Index: post_edit.php =================================================================== RCS file: /cvsroot/comoblog/comoblog/admin/post_edit.php,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- post_edit.php 7 Dec 2005 21:04:49 -0000 1.8 +++ post_edit.php 14 Dec 2005 04:21:13 -0000 1.9 @@ -174,7 +174,7 @@ if ($post) { - $strdate = strftime($CAL_DATE_FORMAT." %H:%M", $post['post_mail_date']); + $strdate = strftime("%D %H:%M", $post['post_mail_date']); $post['post_mail_date'] = $strdate; $post['post_mail_from'] = htmlentities(antispam($post['post_mail_from'])); |
|
From: iamdecal <iam...@us...> - 2005-12-13 09:23:30
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2033/mod_comment_notify Modified Files: mod_comment_notify_comment_filter.php Log Message: added a couple of more parameters for niceness. Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mod_comment_notify_comment_filter.php 11 Dec 2005 22:39:13 -0000 1.3 +++ mod_comment_notify_comment_filter.php 13 Dec 2005 09:23:21 -0000 1.4 @@ -3,6 +3,7 @@ require_once(dirname(__FILE__).'/include/mod_comment_notify.inc.php'); $subject ='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']); $body = "Message details " . "\n\n"; +$body .='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']) ."\n"; $body .= "Post ID:" . $comment['post_id'] ."\n"; $body .= "Link: " .CFG_SITE_URL. "post.php?/". $comment['post_id'] ."\n"; $body .= "From:" . $comment['comment_author'] . " - " . $comment['comment_author_email'] ."\n"; @@ -12,8 +13,8 @@ $headerstring = "MIME-Version: 1.0\r\n". "Content-type: text/plain; charset=iso-8859-1\r\n". - "From: \"My Blog\" <".CFG_COMMENT_NOTIFY_FROM.">\r\n". - "To: \"Blog Notifer\" <".$recipients.">\r\n". + "From: ".CFG_COMMENT_NOTIFY_FROM_NAME."<".CFG_COMMENT_NOTIFY_FROM.">\r\n". + "To: ".CFG_COMMENT_NOTIFY_TO_NAME." <".$recipients.">\r\n". "Date: ".date("r")."\r\n". "Subject: ".$subject."\r\n"; |
|
From: iamdecal <iam...@us...> - 2005-12-13 09:23:30
|
Update of /cvsroot/comoblog/modules/mod_comment_notify/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2033/mod_comment_notify/install Modified Files: mod_comment_notify.xml Log Message: added a couple of more parameters for niceness. Index: mod_comment_notify.xml =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/install/mod_comment_notify.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- mod_comment_notify.xml 29 Nov 2005 11:43:23 -0000 1.3 +++ mod_comment_notify.xml 13 Dec 2005 09:23:21 -0000 1.4 @@ -23,6 +23,16 @@ <param + name="CFG_COMMENT_NOTIFY_FROM_NAME" + description="The name notifications will be sent from" + type="text" + editable="Y" + accept_null="N" + value="" + /> + + + <param name="CFG_COMMENT_NOTIFY_TO" description="The addresses notifications will be sent to" type="text" @@ -31,6 +41,16 @@ value="" /> + <param + name="CFG_COMMENT_NOTIFY_TO" + description="The name notifications will be sent to" + type="text" + editable="Y" + accept_null="N" + value="" + /> + + <param name="CFG_WHERE_IS_SENDMAIL" |
|
From: iamdecal <iam...@us...> - 2005-12-11 23:20:58
|
Update of /cvsroot/comoblog/modules/mod_rss2/templates In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8739/mod_rss2/templates Modified Files: rss2.tpl.html Log Message: misc tweaks to layout and style sheet still to do - ensure that the created feeds are valid ( http://feedvalidator.org/) we need : valid date format author must be an email address (define as a constant ? so that a different email address (eg a spam trapper) can be used ?) use CDATA sections for decription valid language also - id prefere that the pages that are called are located in the root of the site - but i cant see away to modulise that - however i also think that RSS should be part of the base package not a module. Index: rss2.tpl.html =================================================================== RCS file: /cvsroot/comoblog/modules/mod_rss2/templates/rss2.tpl.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- rss2.tpl.html 28 Nov 2005 11:05:37 -0000 1.1 +++ rss2.tpl.html 11 Dec 2005 23:20:47 -0000 1.2 @@ -1,20 +1,31 @@ <!-- BEGIN: main --> <div id="mod_rss2"> -<div class="mod_header_text">Posts Feed</div><br/> -<A href="modules/mod_rss2/rss2.php?/1.0" target="_blank" title="rss 1.0 feed"> - <IMG src="modules/mod_rss2/img/rss_1.0.gif" border="0" alt="rss 1.0 feed"/> -</A> -<A href="modules/mod_rss2/rss2.php?/2.0" target="_blank" title="rss 2.0 feed"> - <IMG src="modules/mod_rss2/img/rss_2.0.gif" border="0" alt="rss 2.0 feed"/> -</A> -<div class="mod_header_text">Latest Comments</div> - <ul> - <!-- BEGIN: rss --> - <li><a href="{RSS.post_permalink}" title="{RSS.post_mail_date} - {RSS.post_mail_subject} - {RSS.post_mail_from}">on : {RSS.post_mail_subject}</a></li> - <!-- END: rss --> - </ul> -<div class="mod_header_text">Comments Feed</div> -<A href="modules/mod_rss2/rss2.php?/c1.0" target="_blank" title="rss 1.0 feed for comments"><IMG src="modules/mod_rss2/img/rss_1.0.gif" border="0" alt="rss 1.0 feed for comments"/></A> -<A href="modules/mod_rss2/rss2.php?/c2.0" target="_blank" title="rss 2.0 feed for comments"><IMG src="modules/mod_rss2/img/rss_2.0.gif" border="0" alt="rss 2.0 feed for comments"/></A> + <div class="mod_header_text"> + Posts Feed<br/> + <a href="modules/mod_rss2/rss2.php?/1.0" target="_blank" title="rss 1.0 feed"> + <img src="modules/mod_rss2/img/rss_1.0.gif" border="0" alt="rss 1.0 feed"/> + </a> + <a href="modules/mod_rss2/rss2.php?/2.0" target="_blank" title="rss 2.0 feed"> + <img src="modules/mod_rss2/img/rss_2.0.gif" border="0" alt="rss 2.0 feed"/> + </a> + </div> + <div class="mod_header_text"> + Comments Feed + <a href="modules/mod_rss2/rss2.php?/c1.0" target="_blank" title="rss 1.0 feed for comments"> + <img src="modules/mod_rss2/img/rss_1.0.gif" border="0" alt="rss 1.0 feed for comments"/> + </a> + <a href="modules/mod_rss2/rss2.php?/c2.0" target="_blank" title="rss 2.0 feed for comments"> + <img src="modules/mod_rss2/img/rss_2.0.gif" border="0" alt="rss 2.0 feed for comments"/> + </a> + </div> + <div class="mod_header_text"> + Latest Comments + </div> + <ul> + <!-- BEGIN: rss --> + <li><a href="{RSS.post_permalink}" title="{RSS.post_mail_date} - {RSS.post_mail_subject} - {RSS.post_mail_from}">on : {RSS.post_mail_subject}</a></li> + <!-- END: rss --> + </ul> + </div> <!-- END: main --> \ No newline at end of file |
|
From: iamdecal <iam...@us...> - 2005-12-11 23:20:57
|
Update of /cvsroot/comoblog/modules/mod_rss2/css In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8739/mod_rss2/css Modified Files: mod_rss2.css.php Log Message: misc tweaks to layout and style sheet still to do - ensure that the created feeds are valid ( http://feedvalidator.org/) we need : valid date format author must be an email address (define as a constant ? so that a different email address (eg a spam trapper) can be used ?) use CDATA sections for decription valid language also - id prefere that the pages that are called are located in the root of the site - but i cant see away to modulise that - however i also think that RSS should be part of the base package not a module. Index: mod_rss2.css.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_rss2/css/mod_rss2.css.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_rss2.css.php 28 Nov 2005 11:05:36 -0000 1.1 +++ mod_rss2.css.php 11 Dec 2005 23:20:47 -0000 1.2 @@ -10,11 +10,10 @@ echo ' #mod_rss2 { - font-size: '.CFG_MOR_RSS2_FONT_SIZE.'px; - font-family: '.CFG_MOR_RSS2_FONT_FAMILY.'; - color: #'.CFG_MOR_RSS2_COLOR.'; - - } + font-size: '.CFG_MOD_RSS2_FONT_SIZE.'px; + font-family: '.CFG_MOD_RSS2_FONT_FAMILY.'; + color: #'.CFG_MOD_RSS2_COLOR.'; + } #mod_rss2 ul { margin: 0; padding: 0; @@ -27,13 +26,13 @@ } #mod_rss2 a { - color: #'.CFG_MOR_RSS2_A_COLOR.'; - text-decoration: '.CFG_MOR_RSS2_A_TEXT_DECORATION.'; + color: #'.CFG_MOD_RSS2_A_COLOR.'; + text-decoration: '.CFG_MOD_RSS2_A_TEXT_DECORATION.'; } #mod_rss2 a:hover { - color: #'.CFG_MOR_RSS2_A_HOVER_COLOR.'; - text-decoration: '.CFG_MOR_RSS2_A_HOVER_TEXT_DECORATION.'; + color: #'.CFG_MOD_RSS2_A_HOVER_COLOR.'; + text-decoration: '.CFG_MOD_RSS2_A_HOVER_TEXT_DECORATION.'; } '; } |
|
From: iamdecal <iam...@us...> - 2005-12-11 23:20:57
|
Update of /cvsroot/comoblog/modules/mod_rss2/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8739/mod_rss2/install Modified Files: mod_rss2.xml Log Message: misc tweaks to layout and style sheet still to do - ensure that the created feeds are valid ( http://feedvalidator.org/) we need : valid date format author must be an email address (define as a constant ? so that a different email address (eg a spam trapper) can be used ?) use CDATA sections for decription valid language also - id prefere that the pages that are called are located in the root of the site - but i cant see away to modulise that - however i also think that RSS should be part of the base package not a module. Index: mod_rss2.xml =================================================================== RCS file: /cvsroot/comoblog/modules/mod_rss2/install/mod_rss2.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_rss2.xml 28 Nov 2005 11:05:36 -0000 1.1 +++ mod_rss2.xml 11 Dec 2005 23:20:47 -0000 1.2 @@ -9,9 +9,6 @@ <minimum_supported>1.0</minimum_supported> <certified>1.0</certified> <author>iamdecal iam...@gm... http://www.iamdecal.co.uk</author> - - - <param name="CFG_RSS2_1_IMG" description="Image for RSS 1.0 feed button" @@ -57,4 +54,91 @@ editable="Y" /> + + + + + <param + name="CFG_MOD_RSS2_FONT_FAMILY" + description="" + type="font_picker" + editable="Y" + accept_null="N" + value="Verdana,Arial,Helvetica,sans-serif" + /> + + <param + name="CFG_MOD_RSS2_FONT_SIZE" + description="" + type="text" + editable="Y" + accept_null="N" + value="11" + /> + + + + + + <param + name="CFG_MOD_RSS2_COLOR" + value="990033" + description="Text colour for the RSS header text" + encrypt="N" + type="color_picker" + restrict_values="" + accept_null="N" + editable="Y" + display_order="" + /> + + <param + name="CFG_MOD_RSS2_A_COLOR" + value="990033" + description="Text colour for links in the latest comments section" + encrypt="N" + type="color_picker" + restrict_values="" + accept_null="N" + editable="Y" + display_order="" + /> + + <param + name="CFG_MOD_RSS2_A_TEXT_DECORATION" + value="none" + description="Text decoration for links in the latest comments section" + encrypt="N" + type="select" + restrict_values="none|underline|overline|line-through" + accept_null="N" + editable="Y" + display_order="" + /> + + <param + name="CFG_MOD_RSS2_A_HOVER_COLOR" + value="990033" + description="Text colour for links in the latest comments section (when mouse is over)" + encrypt="N" + type="color_picker" + restrict_values="" + accept_null="N" + editable="Y" + display_order="" + /> + + <param + name="CFG_MOD_RSS2_A_HOVER_TEXT_DECORATION" + value="underline" + description="Text decoration for links in the latest comments section (when mouse is over)" + encrypt="N" + type="select" + restrict_values="none|underline|overline|line-through" + accept_null="N" + editable="Y" + display_order="" + /> + + </module> |
|
From: iamdecal <iam...@us...> - 2005-12-11 22:39:21
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31308/mod_comment_notify Modified Files: mod_comment_notify_comment_filter.php Log Message: changed to and from field names Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- mod_comment_notify_comment_filter.php 11 Dec 2005 22:35:15 -0000 1.2 +++ mod_comment_notify_comment_filter.php 11 Dec 2005 22:39:13 -0000 1.3 @@ -12,8 +12,8 @@ $headerstring = "MIME-Version: 1.0\r\n". "Content-type: text/plain; charset=iso-8859-1\r\n". - "From: \"My Name\" <".CFG_COMMENT_NOTIFY_FROM.">\r\n". - "To: \"Client\" <".$recipients.">\r\n". + "From: \"My Blog\" <".CFG_COMMENT_NOTIFY_FROM.">\r\n". + "To: \"Blog Notifer\" <".$recipients.">\r\n". "Date: ".date("r")."\r\n". "Subject: ".$subject."\r\n"; |
|
From: iamdecal <iam...@us...> - 2005-12-11 22:35:23
|
Update of /cvsroot/comoblog/modules/mod_comment_notify In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30633/mod_comment_notify Modified Files: mod_comment_notify_comment_filter.php Log Message: now uses the built in php mail function instead of the pair library, ive confirm that this module works, on fedora core 2 - and fedora core 4 can any one check it works on a windows server ? if it does ill remove the obsolite code. Index: mod_comment_notify_comment_filter.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_comment_notify/mod_comment_notify_comment_filter.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_comment_notify_comment_filter.php 28 Nov 2005 10:41:39 -0000 1.1 +++ mod_comment_notify_comment_filter.php 11 Dec 2005 22:35:15 -0000 1.2 @@ -1,20 +1,29 @@ <?php - -include('include/pear/Mail.php'); +#include('include/pear/Mail.php'); require_once(dirname(__FILE__).'/include/mod_comment_notify.inc.php'); -$subject = mod_comment_notify($comment['post_id']); +$subject ='Blog Comment Added To Post - ' . mod_comment_notify($comment['post_id']); $body = "Message details " . "\n\n"; $body .= "Post ID:" . $comment['post_id'] ."\n"; $body .= "Link: " .CFG_SITE_URL. "post.php?/". $comment['post_id'] ."\n"; $body .= "From:" . $comment['comment_author'] . " - " . $comment['comment_author_email'] ."\n"; $body .= "Comment:\n\n" . $comment['comment_text'] ."\n"; $recipients = CFG_COMMENT_NOTIFY_TO; -$headers['From'] = CFG_COMMENT_NOTIFY_FROM; -$headers['To'] = CFG_COMMENT_NOTIFY_TO; -$headers['Subject'] = 'Blog Comment Added To Post - ' .$subject; -$params['sendmail_path'] = CFG_WHERE_IS_SENDMAIL; + + +$headerstring = "MIME-Version: 1.0\r\n". + "Content-type: text/plain; charset=iso-8859-1\r\n". + "From: \"My Name\" <".CFG_COMMENT_NOTIFY_FROM.">\r\n". + "To: \"Client\" <".$recipients.">\r\n". + "Date: ".date("r")."\r\n". + "Subject: ".$subject."\r\n"; + +mail($recipients, $subject, $body,$headerstring); + +#$headers['From'] = CFG_COMMENT_NOTIFY_FROM; +#$headers['To'] = CFG_COMMENT_NOTIFY_TO; +#$headers['Subject'] = $subject; +#$params['sendmail_path'] = CFG_WHERE_IS_SENDMAIL; // Create the mail object using the Mail::factory method -$mail_object =& Mail::factory('sendmail', $params);$mail_object->send($recipients, $headers, $body); - +#$mail_object =& Mail::factory('sendmail', $params);$mail_object->send($recipients, $headers, $body); ?> \ No newline at end of file |
|
From: iamdecal <iam...@us...> - 2005-12-11 21:53:17
|
Update of /cvsroot/comoblog/modules/mod_prevnext/templates/top In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21789/mod_prevnext/templates/top Modified Files: mod_prevnext.tpl.htm Log Message: checked. and cant see why this is failing... could use a fresh pair of eyes. NOTE THAT IVE LEFT DEBUG INFO IN PLACE it seems to be randomly failing in two places - one is the SQL in include/mod_prevnext.inc.php - which is identical to the previous version apart from the white spacing - as commited this code works for me, so please check and let me know - it could be that i've removed a typo that i just cant see in the diffs The other place it fails is in mod_prevnext.php it seems that sometimes it wont get the post id from the url - the code is the same as on post.php but with an additional check to make sure that its only on post.php. i just cant see why its failing ;-( Index: mod_prevnext.tpl.htm =================================================================== RCS file: /cvsroot/comoblog/modules/mod_prevnext/templates/top/mod_prevnext.tpl.htm,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_prevnext.tpl.htm 28 Nov 2005 10:31:35 -0000 1.1 +++ mod_prevnext.tpl.htm 11 Dec 2005 21:53:04 -0000 1.2 @@ -3,4 +3,4 @@ <a href="{CFG_MOD_PREVNEXT_PREVLINK}">{CFG_MOD_PREVNEXT_PREVTEXT}</a> {CFG_MOD_PREVNEXT_SEPERATOR} <a href="{CFG_MOD_PREVNEXT_NEXTLINK}">{CFG_MOD_PREVNEXT_NEXTTEXT}</a> </div> -<!-- END: main --> +<!-- END: main --> \ No newline at end of file |
|
From: iamdecal <iam...@us...> - 2005-12-11 21:53:17
|
Update of /cvsroot/comoblog/modules/mod_prevnext In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21789/mod_prevnext Modified Files: mod_prevnext.php Log Message: checked. and cant see why this is failing... could use a fresh pair of eyes. NOTE THAT IVE LEFT DEBUG INFO IN PLACE it seems to be randomly failing in two places - one is the SQL in include/mod_prevnext.inc.php - which is identical to the previous version apart from the white spacing - as commited this code works for me, so please check and let me know - it could be that i've removed a typo that i just cant see in the diffs The other place it fails is in mod_prevnext.php it seems that sometimes it wont get the post id from the url - the code is the same as on post.php but with an additional check to make sure that its only on post.php. i just cant see why its failing ;-( Index: mod_prevnext.php =================================================================== RCS file: /cvsroot/comoblog/modules/mod_prevnext/mod_prevnext.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- mod_prevnext.php 28 Nov 2005 10:31:35 -0000 1.1 +++ mod_prevnext.php 11 Dec 2005 21:53:04 -0000 1.2 @@ -9,36 +9,44 @@ $post_id = ''; if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] != '/' - && $_SERVER['SCRIPT_FILENAME'] == CFG_BASE_PATH . 'post.php'){ + //&& $_SERVER['SCRIPT_FILENAME'] == CFG_BASE_PATH . 'post.php' + + ){ $post_id = substr($_SERVER['PATH_INFO'],1,strlen($_SERVER['PATH_INFO'])-1); } + +echo "post_id=(" . $post_id .")"; +echo "<br/>(SERVER-PATH_INFO " . $_SERVER['PATH_INFO'] .")"; +echo "<br/>(SERVER-SCRIPT_FILENAME " . $_SERVER['SCRIPT_FILENAME'] .")"; +ECHO "<hr>"; +if($post_id) { + $prevnext_prevlink = mod_prevnext_post_prev($post_id); $prevnext_nextlink = mod_prevnext_post_next($post_id); - #echo $prevnext_prevlink; - #echo $prevnext_nextlink; + echo $prevnext_prevlink; + echo $prevnext_nextlink; $mod_prevnext_tpl = new XTemplate (CFG_BASE_PATH.'/modules/mod_prevnext/templates/'.$mod_pos.'/mod_prevnext.tpl.htm'); - -if($post_id) { + if ($prevnext_nextlink) { - #echo "next link "; + echo "next link "; $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_NEXTTEXT', CFG_MOD_PREVNEXT_NEXTTEXT ); $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_NEXTLINK', $prevnext_nextlink ); } else { - # echo "no next link "; + echo "no next link "; $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_NEXTTEXT', CFG_MOD_PREVNEXT_NONEXTTEXT ); $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_NEXTLINK', '#' ); } if ($prevnext_prevlink) { - # echo " prev link "; + echo " prev link "; $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_PREVTEXT', CFG_MOD_PREVNEXT_PREVTEXT ); $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_PREVLINK', $prevnext_prevlink ); } else { - # echo " no prev link "; + echo " no prev link "; $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_PREVTEXT', CFG_MOD_PREVNEXT_NOPREVTEXT ); $mod_prevnext_tpl->assign('CFG_MOD_PREVNEXT_PREVLINK', '#' ); } |