View | Details | Raw Unified | Return to bug 29042
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-20 / +16 lines)
Lines 194-200 Link Here
194
                [% UNLESS languages.size %]
194
                [% UNLESS languages.size %]
195
                    <li>
195
                    <li>
196
                        <label for="title" class="required">Title: </label>
196
                        <label for="title" class="required">Title: </label>
197
                        <input id="title" size="30" type="text" name="title" value="[% additional_content.title | html %]" required="required" class="required" /> <span class="required">Required</span>
197
                        <input id="title" size="100" maxlength="250" type="text" name="title" value="[% additional_content.title | html %]" required="required" class="required" /> <span class="required">Required</span>
198
                    </li>
198
                    </li>
199
                [% END %]
199
                [% END %]
200
                <li>
200
                <li>
Lines 237-265 Link Here
237
                </ul>
237
                </ul>
238
238
239
                [% FOR language IN languages %]
239
                [% FOR language IN languages %]
240
                    <div id="lang_[% language.lang | uri %]" class="lang" data-lang="[% language.description | html %]">
240
                    <div id="lang_[% language.lang | uri %]" class="lang clearfix" data-lang="[% language.description | html %]">
241
                        <div style="clear:both;">
241
                        <fieldset class="rows">
242
242
                            <ol>
243
                            <fieldset>[%# FIXME We should remove list-style:none; and use class="rows" here but it does not work. Owen please help! %]
243
                                <li style="list-style: none;">
244
                                <ol>
244
                                    <label for="title_[% language.lang | html %]">Title: </label>
245
                                    <li style="list-style: none;">
245
                                    <input id="title_[% language.lang| html %]" size="100" maxlength="250" type="text" name="title" value="[% translated_contents.item(language.lang).title | html %]">
246
                                        <label for="title_[% language.lang | html %]">Title: </label>
246
                                </li>
247
                                        <input id="title_[% language.lang| html %]" size="30" type="text" name="title" value="[% translated_contents.item(language.lang).title | html %]"></span>
247
                                <li style="list-style: none;">
248
                                    </li>
248
                                    <label for="content_[% language.lang | html %]">Content: </label>
249
                                    <li style="list-style: none;">
249
                                    <textarea name="content" id="content_[% language.lang | html %]"  cols="75" rows="10">[% translated_contents.item(language.lang).content | html %]</textarea>
250
                                        <label for="content_[% language.lang | html %]">Content: </label>
250
                                    <input type="hidden" name="lang" value="[% language.lang | html %]" />
251
                                        <textarea name="content" id="content_[% language.lang | html %]"  cols="75" rows="10">[% translated_contents.item(language.lang).content | html %]</textarea>
251
                                </li>
252
                                        <input type="hidden" name="lang" value="[% language.lang | html %]" />
252
                            </ol>
253
                                    </li>
253
                        </fieldset>
254
                                </ol>
255
                            </fieldset>
256
                        </div>
257
                    </div>
254
                    </div>
258
                [% END %]
255
                [% END %]
259
            </div>
256
            </div>
260
        [% ELSE %]
257
        [% ELSE %]
261
            <div id="lang_default">
258
            <div id="lang_default">
262
                <div style="clear:both;">
259
                <div class="clearfix">
263
                    <textarea name="content" id="content_default"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
260
                    <textarea name="content" id="content_default"  cols="75" rows="10">[% additional_content.content | html %]</textarea>
264
                </div>
261
                </div>
265
            </div>
262
            </div>
266
- 

Return to bug 29042