Index: openacs-4/packages/lars-blogger/lars-blogger.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/lars-blogger.info,v
diff -u -r1.17 -r1.18
--- openacs-4/packages/lars-blogger/lars-blogger.info 29 Sep 2003 08:24:12 -0000 1.17
+++ openacs-4/packages/lars-blogger/lars-blogger.info 29 Sep 2003 11:03:30 -0000 1.18
@@ -40,6 +40,7 @@
+
Index: openacs-4/packages/lars-blogger/tcl/lars-blogger-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/tcl/lars-blogger-procs.tcl,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/lars-blogger/tcl/lars-blogger-procs.tcl 29 Sep 2003 08:05:42 -0000 1.10
+++ openacs-4/packages/lars-blogger/tcl/lars-blogger-procs.tcl 29 Sep 2003 11:03:30 -0000 1.11
@@ -183,3 +183,12 @@
}
return [ad_parameter -package_id $package_id "EnableCategoriesP" "lars-blogger" "1"]
}
+
+ad_proc -public lars_blog_stylesheet_url {
+ -package_id
+} {
+ if { ![exists_and_not_null package_id] } {
+ set package_id [ad_conn package_id]
+ }
+ return [ad_parameter -package_id $package_id "StylesheetURL" "lars-blogger" "%lars-blogger.css"]
+}
Index: openacs-4/packages/lars-blogger/www/blog.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/blog.adp,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/lars-blogger/www/blog.adp 28 Aug 2003 09:41:55 -0000 1.12
+++ openacs-4/packages/lars-blogger/www/blog.adp 29 Sep 2003 11:03:31 -0000 1.13
@@ -1,3 +1,5 @@
+
+
Index: openacs-4/packages/lars-blogger/www/blog.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/blog.tcl,v
diff -u -r1.12 -r1.13
--- openacs-4/packages/lars-blogger/www/blog.tcl 29 Sep 2003 08:05:42 -0000 1.12
+++ openacs-4/packages/lars-blogger/www/blog.tcl 29 Sep 2003 11:03:31 -0000 1.13
@@ -143,4 +143,7 @@
set header_background_color [lars_blog_header_background_color -package_id $package_id]
+# Load the StylesheetURL into $stylesheet_url
+regsub \% [lars_blog_stylesheet_url] $package_url stylesheet_url
+
ad_return_template
Index: openacs-4/packages/lars-blogger/www/index.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/index.adp,v
diff -u -r1.16 -r1.17
--- openacs-4/packages/lars-blogger/www/index.adp 29 Sep 2003 08:05:42 -0000 1.16
+++ openacs-4/packages/lars-blogger/www/index.adp 29 Sep 2003 11:03:31 -0000 1.17
@@ -1,8 +1,16 @@
@page_title@
-
+
+
+
+
+
+
+
+
+
@context_bar;noquote@
Index: openacs-4/packages/lars-blogger/www/index.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/index.tcl,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/lars-blogger/www/index.tcl 29 Sep 2003 08:05:42 -0000 1.10
+++ openacs-4/packages/lars-blogger/www/index.tcl 29 Sep 2003 11:03:31 -0000 1.11
@@ -133,4 +133,7 @@
set l_context_bar [lreplace $l_context_bar end end [lindex [lindex $l_context_bar end] end]]
eval "set context_bar \[ad_context_bar $l_context_bar\]"
+# Load the StylesheetURL into $stylesheet_url
+regsub \% [lars_blog_stylesheet_url] $package_url stylesheet_url
+
ad_return_template
Index: openacs-4/packages/lars-blogger/www/lars-blogger.css
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/Attic/lars-blogger.css,v
diff -u
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ openacs-4/packages/lars-blogger/www/lars-blogger.css 29 Sep 2003 11:03:31 -0000 1.1
@@ -0,0 +1,93 @@
+.lars_blogger_body {
+ text-align:left;
+}
+.lars_blogger_content_table {
+ width: 90%;
+} /* (table) */
+
+.lars_blogger_date_header {
+ width: 100%;
+ margin-bottom: .3em;
+ border: 1px solid #999999;
+ background-color: #ddd;
+}
+.lars_blogger_date_header th a {
+ letter-spacing: .1em;
+ color: black;
+}
+
+
+.lars_blogger_entry_group {
+ margin-bottom: 30px;
+}
+
+.lars_blogger_entry {
+ margin-bottom: 30px;
+ border: 0px;
+}
+
+.lars_blogger_title {
+ text-align: left;
+ font-weight: bold;
+}
+.lars_blogger_category {
+ font-size: 7pt;
+ text-align: bold;
+ font-weight: bold;
+ text-transform:uppercase;
+ margin-bottom: 4pt;
+ margin-top: 6pt;
+ margin-left: 6pt;
+}
+
+.lars_blogger_text {
+ text-align: left;
+}
+
+.lars_blogger_poster {
+ text-align: left;
+ font-size: 8pt;
+ color: #999;
+}
+.lars_blogger_poster a {
+ font-size: 8pt;
+}
+
+.lars_blogger_entry_options {
+ text-align: right;
+ border-bottom: 0px;
+}
+
+
+
+/* MENU */
+
+.lars_blogger_menu {
+ text-align: right;
+ padding-right: 50px;
+}
+
+.lars_blogger_menu_table
+ {
+ border: 1px solid #ddd;
+ width: 200px;
+ }
+
+.lars_blogger_menu_table th {
+ background-color: #EEE;
+ text-align: center;
+}
+
+.lars_blogger_menu_table td a:link {
+ color: #336699;
+ text-decoration: none;
+ font-weight:bold;
+}
+.lars_blogger_menu_table td a:hover {
+ color: #336699;
+ text-decoration: underline;
+}
+.lars_blogger_menu_table td a:visited {
+ color: #336699;
+}
+
Index: openacs-4/packages/lars-blogger/www/one-entry.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/one-entry.adp,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/lars-blogger/www/one-entry.adp 22 Sep 2003 16:39:25 -0000 1.10
+++ openacs-4/packages/lars-blogger/www/one-entry.adp 29 Sep 2003 11:03:31 -0000 1.11
@@ -1,4 +1,8 @@
+
+
+
+
@page_title@
@context_bar;noquote@
Index: openacs-4/packages/lars-blogger/www/one-entry.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/lars-blogger/www/one-entry.tcl,v
diff -u -r1.7 -r1.8
--- openacs-4/packages/lars-blogger/www/one-entry.tcl 22 Sep 2003 16:39:25 -0000 1.7
+++ openacs-4/packages/lars-blogger/www/one-entry.tcl 29 Sep 2003 11:03:31 -0000 1.8
@@ -34,4 +34,7 @@
set header_background_color [lars_blog_header_background_color]
+# Load the StylesheetURL into $stylesheet_url
+regsub \% [lars_blog_stylesheet_url] $package_url stylesheet_url
+
ad_return_template