Project

General

Profile

Feature #3033 » repository_427_b253415c4da1.patch

Laurent Opprecht, 07/03/2011 13:20

View differences:

php/lib/content_object_form.class.php
320 320

  
321 321
            $this->addElement('html', ResourceManager :: get_instance()->get_resource_html(Path :: get(WEB_PLUGIN_PATH) . 'jquery/uploadify2/swfobject.js'));
322 322
            $this->addElement('html', ResourceManager :: get_instance()->get_resource_html(Path :: get(WEB_PLUGIN_PATH) . 'jquery/uploadify2/jquery.uploadify.v2.1.0.min.js'));
323
            $this->addElement('category', Translation :: get('Attachments'), 'content_object_attachments');
323
            $this->addElement('html', ResourceManager :: get_instance()->get_resource_html(Path :: get(WEB_PATH) . 'common/libraries/resources/javascript/collapse_horizontal.js'));
324
            $this->addElement('category',  '<a href="#">'. Translation :: get('Attachments') .'</a>', 'content_object_attachments collapsible collapsed');
324 325
            $this->addElement('static', 'uploadify', Translation :: get('UploadDocument'), '<div id="uploadify"></div>');
325 326
            $elem = $this->addElement('element_finder', 'attachments', Translation :: get('SelectAttachment'), $url, $locale, $attachments);
326 327
            $this->addElement('category');
(2-2/3)