diff -r 8ec189cc214d -r b2e0186daa5b src/cm/media/js/client/c_interface_forms.js --- a/src/cm/media/js/client/c_interface_forms.js Wed Mar 27 17:51:18 2013 +0100 +++ b/src/cm/media/js/client/c_interface_forms.js Tue Jun 25 11:56:01 2013 +0200 @@ -41,7 +41,20 @@ if ('emailInputId' in ids) html = html + gFormHtml['emailInput'].replace('###', ids['emailInputId']) ; - html = html + gFormHtml['titleInput'].replace('###', ids['titleInputId']) + gFormHtml['contentInput'].replace('###', ids['contentInputId']) + gFormHtml['tagsInput'].replace('###', ids['tagsInputId']); + html = html + gFormHtml['titleInput'].replace('###', ids['titleInputId']) + gFormHtml['contentInput'].replace('###', ids['contentInputId']); + + categories = CY.JSON.parse(sv_categories); + if (categories.hasOwnProperty('0')) { + category_options = ''; + for (c in categories) { + category_options += ''; + } + gFormHtml['categoryInput'] = gettext("Category:") + ' '; + html = html + '' + gFormHtml['categoryInput'].replace('###', ids['categoryInputId']) + '
'; + } + + html = html + gFormHtml['tagsInput'].replace('###', ids['tagsInputId']); + html = html + gFormHtml['hidden'].replace('###', ids['formatInputId']).replace('???', 'format') ; html = html + gFormHtml['hidden'].replace('###', ids['startWrapperInputId']).replace('???', 'start_wrapper') ; html = html + gFormHtml['hidden'].replace('###', ids['endWrapperInputId']).replace('???', 'end_wrapper') ;