Changeset 4311

Show
Ignore:
Timestamp:
Tue Jan 10 06:23:33 2006
Author:
paul
Message:

Only allow a user to attach an image if they have the AddImage? right

Files:

Legend:

Unmodified
Added
Removed
Modified
  • trunk/campsite/implementation/management/priv/articles/edit.php

    r4305 r4311  
    647 647                         <b><?php putGS("Images"); ?></b>  
    648 648                         </td>  
    649                           <?php if ($f_edit_mode == "edit") {  ?>  
      649                         <?php if (($f_edit_mode == "edit") && $User->hasPermission('AddImage')) {  ?>  
    649 649                         <td align="right">  
    650 650                             <img src="<?php p($Campsite["ADMIN_IMAGE_BASE_URL"]);?>/add.png" border="0">