Changeset 11714

Show
Ignore:
Timestamp:
08/25/07 09:18:48 (1 year ago)
Author:
solt
Message:

Removed unecessary ACL check. Fixed l10n strings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.admin.folder/handler/edit.php

    r11713 r11714  
    182182                                if ($_REQUEST['style'] === '__create') 
    183183                                { 
    184                                 $this->_topic->require_do('midcom.admin.folder:template_management'); 
    185  
    186184                                $this->_topic->style = $this->_create_style($this->_topic->name); 
    187185 
     
    196194                                        if (! $this->_topic->update()) 
    197195                                        { 
    198                                         $_MIDCOM->uimessages->add($this->_l10n->get('midcom.admin.folder'),'Could not save Folder: ' . mgd_errstr()); 
     196                                        $_MIDCOM->uimessages->add($this->_l10n->get('midcom.admin.folder'), sprintf($this->_l10n->get('could not save folder: %s'), mgd_errstr())); 
    199197                                        return false; 
    200198                                        }