about the comment
aihugongwu
Joined: 2003-06-05
Posts: 22 |
![]() |
hi, i am new here, and i need some help: thanks in advance! |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
HTML tags are stripped out of comments because people could add "bad" HTML code that would break your site layout. 1. The comments are specified by the "caption" style, which you can edit in the css/embedded_style.css.default file. Edit that file (and save it without the .default on the end): .caption /* photo captions on all pages */ { font-size: 10px; } This changes the font size for the captions as well. If you want to make a new style without changing the caption style, then you'll need to edit the code in layout/commentdraw.inc. 2. Find this line in view_album.php: echo("<span class=error>*</span>"); (The "error" style defaults to red.) Change it to something like: echo("<span style='color: #ABC123;'>*</span>"); -Beckett ( beck@beckettmw.com) |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
aihugongwu wrote:
hi, i am new here, and i need some help: That would be a lot of work. You might want to try alternative solution |
|
aihugongwu
Joined: 2003-06-05
Posts: 22 |
![]() |
all of ur advices worked! |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
find getDatePosted in classes/Comment.php. Change the date call. If it's not obvious, read http://uk.php.net/manual/en/function.date.php |
|
beckett
![]()
Joined: 2002-08-16
Posts: 3474 |
![]() |
You might find my post in this thread helpful: http://gallery.sf.net/forums.php?topic=5355 -Beckett ( beck@beckettmw.com) P.S. What language? Are you aware there is a multi-language version of Gallery available? |
|
aihugongwu
Joined: 2003-06-05
Posts: 22 |
![]() |
i edited the date format in comment.php and successed to get rid of the locale info. |
|
joan
![]()
Joined: 2002-10-21
Posts: 3473 |
![]() |
For information about translations, visit http://gallery-translation.ath.cx/main.php I think you'll find a japanese version there (Link is down just at the moment) |
|