[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 83740f62d0e35fcdfecaa072b379c1c5504f3d88
Stefan Hornburg
racke at rt.icdevgroup.org
Thu Feb 5 21:56:49 UTC 2009
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange wellwell catalog".
The branch, master has been updated
via 83740f62d0e35fcdfecaa072b379c1c5504f3d88 (commit)
via 2d987bce060486435eee3996ee9339e539a3e91f (commit)
via 126b1134a43289540255fc5df58d8d32b511bbf6 (commit)
from 2cedb3e8389c9d725d6abfcd76c23eaa5abfad90 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 83740f62d0e35fcdfecaa072b379c1c5504f3d88
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Thu Feb 5 22:56:17 2009 +0100
show recently added content as default
commit 2d987bce060486435eee3996ee9339e539a3e91f
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Thu Feb 5 22:55:15 2009 +0100
allow translation of error messages
commit 126b1134a43289540255fc5df58d8d32b511bbf6
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date: Thu Feb 5 22:54:28 2009 +0100
date column added, show username
-----------------------------------------------------------------------
Summary of changes and diff:
plugins/content/code/content.sub | 4 +++-
plugins/content/components/content_list | 9 +++++++--
plugins/content/profiles/content_edit | 4 ++--
3 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/plugins/content/code/content.sub b/plugins/content/code/content.sub
index 3c51399..2869e53 100644
--- a/plugins/content/code/content.sub
+++ b/plugins/content/code/content.sub
@@ -7,13 +7,15 @@ sub {
$CGI->{mv_nextpage} = 'content/display';
$CGI->{code} = $1;
}
- else {
+ elsif ($parts[1]) {
if ($parts[$#parts] =~ /^(\d+)$/) {
$CGI->{code} = pop(@parts);
$url = join('/', @parts);
}
$CGI->{mv_nextpage} = $url;
+ } else {
+ $CGI->{mv_nextpage} = 'content/recent';
}
return 1;
diff --git a/plugins/content/components/content_list b/plugins/content/components/content_list
index 873c9da..343eb8d 100644
--- a/plugins/content/components/content_list
+++ b/plugins/content/components/content_list
@@ -1,10 +1,15 @@
+<a href="[area content/edit]">[L]Add new content[/L]</a>
[query sql="select * from content" list=1]
[on-match]
<table>
-<tr><th>[L]Title[/L]</th><th>[L]Author[/L]</th></tr>
+<tr><th>[L]Title[/L]</th><th>[L]Author[/L]</th><th>[L]Date[/L]</th></tr>
[/on-match]
[list]
-<tr><td><a href="[area content/[sql-code]]">[sql-param title]</a></td><td>[sql-param uid]</td></tr>
+<tr>
+<td><a href="[area content/[sql-code]]">[sql-param title]</a></td>
+<td>[user name [sql-param uid]]</td>
+<td>[sql-param created]</td>
+</tr>
[/list]
[on-match]
</table>
diff --git a/plugins/content/profiles/content_edit b/plugins/content/profiles/content_edit
index 2fe92cc..10e5a57 100644
--- a/plugins/content/profiles/content_edit
+++ b/plugins/content/profiles/content_edit
@@ -1,4 +1,4 @@
__NAME__ content_edit
-title=required
-body=required
+title=required [L]Please enter title.[/L]
+body=required [L]Please enter content.[/L]
__END__
\ No newline at end of file
hooks/post-receive
--
Interchange wellwell catalog
More information about the wellwell-devel
mailing list