tinycm rev 68

Fix new blog post link in activity.log
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 02:12:35 2014 +0200 (2014-04-24)
parents 70b6a1ca9106
children e952d2385d26
files plugins/blog/blog.cgi style.css
line diff
     1.1 --- a/plugins/blog/blog.cgi	Thu Apr 24 01:05:43 2014 +0200
     1.2 +++ b/plugins/blog/blog.cgi	Thu Apr 24 02:12:35 2014 +0200
     1.3 @@ -186,7 +186,7 @@
     1.4  				[ -d "$blog/$p" ] || mkdir -p ${blog}/${p}
     1.5  				# New post ?
     1.6  				if [ ! -f "${blog}/${p}/post.txt" ]; then
     1.7 -					echo "New Blog post: <a href='$script?blog=$p'>Read it!</a>" \
     1.8 +					echo "New Blog post: <a href='$script?blog&amp;p=$p'>Read it!</a>" \
     1.9  						| log_activity
    1.10  				fi
    1.11  				# Write config file
     2.1 --- a/style.css	Thu Apr 24 01:05:43 2014 +0200
     2.2 +++ b/style.css	Thu Apr 24 02:12:35 2014 +0200
     2.3 @@ -132,7 +132,7 @@
     2.4  /* Content */
     2.5  
     2.6  #content {
     2.7 -	margin: 60px auto;
     2.8 +	margin: 40px auto;
     2.9  	padding: 0 20px;
    2.10  	text-align: justify;
    2.11  	max-width: 680px;
    2.12 @@ -212,8 +212,10 @@
    2.13  }
    2.14  
    2.15  #tools {
    2.16 -	position: absolute;
    2.17 -	top: 72px;
    2.18 +	/*position: absolute;
    2.19 +	top: 72px;*/
    2.20 +	padding-top: 10px; 
    2.21 +	margin: 20px 0px;
    2.22  }
    2.23  #tools a { text-decoration: none; margin: 4px 6px 4px 0px; }
    2.24