mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-07-19 16:13:00 +02:00
Border removal in mails on thumbnails (2). Need further tests.
merge -c2994 from branch 2.0 to trunk git-svn-id: http://piwigo.org/svn/trunk@2995 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -471,7 +471,7 @@ SELECT id, file, path, tn_ext
|
||||
'image_file' => $element['file'],
|
||||
'category' => $category
|
||||
))
|
||||
.'"><img src="'.get_thumbnail_url($element).'"/></a>';
|
||||
.'" class="thumblnk"><img src="'.get_thumbnail_url($element).'"/></a>';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -710,7 +710,7 @@ function pwg_mail($to, $args = array())
|
||||
$content.= '<p>'.
|
||||
nl2br(
|
||||
preg_replace("/(http:\/\/)([^\s,]*)/i",
|
||||
"<a href='$1$2'>$1$2</a>",
|
||||
"<a href='$1$2' class='thumblnk'>$1$2</a>",
|
||||
htmlspecialchars($args['content']))).
|
||||
'</p>';
|
||||
}
|
||||
|
||||
@@ -10,4 +10,7 @@ h2 {ldelim} color:#f70;background: transparent url({$ROOT_URL}template/{$themeco
|
||||
img {ldelim} margin: 16px; border: 16px solid #444; -moz-border-radius: 4px; border-radius: 4px 4px; }
|
||||
img:hover {ldelim} padding: 15px; border: 0; background-color:#222;-moz-border-radius: 4px; border-radius: 4px 4px; }
|
||||
a {ldelim} color: #f70; background-color: transparent; border:0; text-decoration: none;}
|
||||
a:hover {ldelim} color: #F30; border-bottom: 1px solid #FF3363;}
|
||||
a:hover {ldelim} color: #F33; border-bottom: 1px solid #FF3363;}
|
||||
a.thumblnk:hover {ldelim} border:0;}
|
||||
a.Piwigo {ldelim} font-family: verdana, arial, helvetica, sans-serif; color : #F33; text-decoration: none; border: 0; }
|
||||
a.Piwigo:hover {ldelim} border-bottom: 1px solid #FF3363; }
|
||||
Reference in New Issue
Block a user