Changeset 3445 for trunk/admin


Ignore:
Timestamp:
Jun 23, 2009, 3:44:58 PM (15 years ago)
Author:
nikrou
Message:

Feature 1026 : Modify / delete comments for users

+ update config table content
+ minor modification of Sylvia theme
+ need refactoring

Location:
trunk/admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/configuration.php

    r3282 r3445  
    7070    'email_admin_on_comment',
    7171    'email_admin_on_comment_validation',
     72    'user_can_delete_comment',
     73    'user_can_edit_comment',
     74    'email_admin_on_comment_edition',
     75    'email_admin_on_comment_deletion'
    7276  );
    7377
  • trunk/admin/template/goto/configuration.tpl

    r3283 r3445  
    144144      </label>
    145145    </li>
     146
     147    <li>
     148      <label>
     149        <span class="property">{'Allow users to edit theirs owns comments'|@translate}</span>
     150        <input type="checkbox" name="user_can_edit_comment" {if ($comments.user_can_edit_comment)}checked="checked"{/if}>
     151      </label>
     152    </li>
     153    <li>
     154      <label>
     155        <span class="property">{'Allow users to delete theirs owns comments'|@translate}</span>
     156        <input type="checkbox" name="user_can_delete_comment" {if ($comments.user_can_delete_comment)}checked="checked"{/if}>
     157      </label>
     158    </li>
     159    <li>
     160      <label>
     161        <span class="property">{'Email administrators when a comment is modified'|@translate}</span>
     162        <input type="checkbox" name="email_admin_on_comment_edition" {if ($comments.email_admin_on_comment_edition)}checked="checked"{/if}>
     163      </label>
     164    </li>
     165    <li>
     166      <label>
     167        <span class="property">{'Email administrators when a comment is deleted'|@translate}</span>
     168        <input type="checkbox" name="email_admin_on_comment_deletion" {if ($comments.email_admin_on_comment_deletion)}checked="checked"{/if}>
     169      </label>
     170    </li>
     171
    146172  </ul>
    147173</fieldset>
Note: See TracChangeset for help on using the changeset viewer.