~edb/quam-plures/plugins_list_available

« back to all changes in this revision

Viewing changes to qp_inc/items/views/_item_expert.form.php

  • Committer: EdB
  • Date: 2011-09-13 21:46:07 UTC
  • mfrom: (7618.1.14 trunk)
  • Revision ID: 1912webworks@gmail.com-20110913214607-xqgsge9xqfbw83w8
matches core 7632 after conflict resolution

Show diffs side-by-side

added added

removed removed

Lines of Context:
180
180
        // fp> TODO: check what happens if blog folders are disabled
181
181
        if( $current_User->check_perm( 'files', 'view' ) )
182
182
        {
183
 
                $fm_url_params = 'mode=upload&popfor=files';
 
183
                $fm_url_params = 'mode=upload';
184
184
                if( !empty($edited_Item->ID) )
185
185
                {
186
186
                        $fm_url_params .= '&fm_mode=link_item&item_ID='.$edited_Item->ID;
187
187
                }
188
188
                echo '<input id="itemform_button_files" type="button" value="'.format_to_output(T_('Files...'), 'formvalue')
189
189
                        .'" class="ActionButton" onclick="pop_up_window( \''
190
 
                        .url_add_param( $Blog->get_filemanager_link(), $fm_url_params ).'\', \'fileman_upload\', 900 )" /> ';
 
190
                        .url_add_param( $Blog->get_filemanager_link(), $fm_url_params ).'\', \'fileman_upload\', 987 )" /> ';
191
191
        }
192
192
}
193
193