[grisbi-cvs] grisbi-web/newsportal groups.txt, 1.2, 1.3 index.php, 1.3, 1.4 newsportal.php, 1.4, 1.5 style.css, 1.3, 1.4
NIEL GĂ©rald
gegeweb at users.sourceforge.net
Tue May 25 07:42:24 CEST 2010
Update of /cvsroot/grisbi/grisbi-web/newsportal
In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv8571/newsportal
Modified Files:
groups.txt index.php newsportal.php style.css
Log Message:
always working for new newsportal site integration...
If someone want help, he is welcome !
fist work : include $lang in all links
second work : edit the style to integrate the graphic charte
You can test it at : http://www2.grisbi.org/newsportal/?lang=fr
Index: groups.txt
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/newsportal/groups.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- groups.txt 24 May 2010 15:52:39 -0000 1.2
+++ groups.txt 25 May 2010 05:42:22 -0000 1.3
@@ -1,2 +1,13 @@
-:Make some tests...
+:Grisbi's Forums
+grisbi.user.french
+grisbi.user
+grisbi.devel
+grisbi.info
+grisbi.bugsreports
+grisbi.cvs
+grisbi.packager
+grisbi.website
grisbi.test
+
+
+
Index: index.php
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/newsportal/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- index.php 24 May 2010 19:25:55 -0000 1.3
+++ index.php 25 May 2010 05:42:22 -0000 1.4
@@ -11,7 +11,7 @@
flush();
$newsgroups=groups_read($server,$port);
echo '<div class="np_index_groups">';
-groups_show($newsgroups);
+groups_show($newsgroups,$lang);
echo '</div>';
?>
Index: style.css
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/newsportal/style.css,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- style.css 24 May 2010 19:39:47 -0000 1.3
+++ style.css 25 May 2010 05:42:22 -0000 1.4
@@ -113,7 +113,9 @@
/* Layout of the Text-Body */
div.np_article_body {
margin-top: 20px;
+ padding-left: 2em;
font-family: "Lucida Console", "Courier New", Courier, "Andale Mono", monospace;
+ font-size: 125%;
}
/* Layout of quoted text / graphic layout */
Index: newsportal.php
===================================================================
RCS file: /cvsroot/grisbi/grisbi-web/newsportal/newsportal.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- newsportal.php 24 May 2010 20:05:53 -0000 1.4
+++ newsportal.php 25 May 2010 05:42:22 -0000 1.5
@@ -398,7 +398,7 @@
/*
* print the group names from an array to the webpage
*/
-function groups_show($gruppen) {
+function groups_show($gruppen,$lang) {
global $gl_age;
if ($gruppen == false) return;
global $file_thread,$text_groups;
@@ -426,7 +426,7 @@
echo '<a ';
if ((isset($frame_threadframeset)) && ($frame_threadframeset != ""))
echo 'target="'.$frame_threadframeset.'" ';
- echo 'href="'.$file_thread.'?group='.urlencode($g->name).'&lang='.$lang.'">'.$g->name."</a>\n";
+ echo 'href="'.$file_thread.'?lang='.$lang.'&group='.urlencode($g->name).'">'.$g->name."</a>\n";
if($gl_age)
$datecolor=thread_format_date_color($g->age);
echo '<small>(';
More information about the cvs
mailing list