Changeset 28764
- Timestamp:
- Jun 22, 2014, 1:41:47 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/configuration.php
r26461 r28764 77 77 'comments_author_mandatory', 78 78 'comments_email_mandatory', 79 'comments_enable_website', 79 80 ); 80 81 -
trunk/admin/themes/default/template/configuration.tpl
r25709 r28764 270 270 <input type="checkbox" name="comments_email_mandatory" {if ($comments.comments_email_mandatory)}checked="checked"{/if}> 271 271 {'Email address is mandatory'|@translate} 272 </label> 273 </li> 274 275 <li> 276 <label> 277 <input type="checkbox" name="comments_enable_website" {if ($comments.comments_enable_website)}checked="checked"{/if}> 278 {'Allow users to add a link to their website'|translate} 272 279 </label> 273 280 </li> -
trunk/include/picture_comment.inc.php
r28587 r28764 263 263 'EMAIL_MANDATORY' => $conf['comments_email_mandatory'], 264 264 'EMAIL' => '', 265 'SHOW_WEBSITE' => $conf['comments_enable_website'], 265 266 ); 266 267 -
trunk/install/config.sql
r25576 r28764 9 9 INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_author_mandatory','false','Comment author is mandatory'); 10 10 INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_email_mandatory','false','Comment email is mandatory'); 11 INSERT INTO piwigo_config (param,value,comment) VALUES ('comments_enable_website','true','Enable "website" field on add comment form'); 11 12 INSERT INTO piwigo_config (param,value,comment) VALUES ('user_can_delete_comment','false','administrators can allow user delete their own comments'); 12 13 INSERT INTO piwigo_config (param,value,comment) VALUES ('user_can_edit_comment','false','administrators can allow user edit their own comments'); -
trunk/language/en_UK/admin.lang.php
r28492 r28764 169 169 $lang['Allow user customization'] = 'Allow user customization'; 170 170 $lang['Allow user registration'] = "Allow user registration"; 171 $lang['Allow users to add a link to their website'] = "Allow users to add a link to their website"; 171 172 $lang['Allow users to delete their own comments'] = "Allow users to delete their own comments"; 172 173 $lang['Allow users to edit their own comments'] = "Allow users to edit their own comments"; -
trunk/language/fr_FR/admin.lang.php
r28492 r28764 975 975 $lang['close'] = 'fermer'; 976 976 $lang['Activate it now'] = 'Activate it now'; 977 $lang['Allow users to add a link to their website'] = 'Autoriser les utilisateurs à donner un lien vers leur site web'; 977 978 ?> -
trunk/themes/default/template/picture.tpl
r24881 r28764 341 341 <p><input type="text" name="email" id="email" value="{$comment_add.EMAIL}"></p> 342 342 {/if} 343 <p><label for="website_url">{'Website'|@translate} :</label></p> 344 <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> 343 {if $comment_add.SHOW_WEBSITE} 344 <p><label for="website_url">{'Website'|@translate} :</label></p> 345 <p><input type="text" name="website_url" id="website_url" value="{$comment_add.WEBSITE_URL}"></p> 346 {/if} 345 347 <p><label for="contentid">{'Comment'|@translate} ({'mandatory'|@translate}) :</label></p> 346 348 <p><textarea name="content" id="contentid" rows="5" cols="50">{$comment_add.CONTENT}</textarea></p>
Note: See TracChangeset
for help on using the changeset viewer.