Commit 9fc84ad2 authored by Jyhem's avatar Jyhem

[REF] Clean templates formatting so they are legible and maintainable again:...

[REF] Clean templates formatting so they are legible and maintainable again: white spaces at end of line removals
parent dc5cc7de
......@@ -48,7 +48,7 @@
{if $prefs.feature_file_galleries eq "y"}
<li><a href="tiki-list_file_gallery.php">{tr}Files{/tr}</a></li>
{/if}
{if $prefs.feature_faqs eq "y" and $tiki_p_view_faqs eq "y"}
{if $prefs.feature_faqs eq "y" and $tiki_p_view_faqs eq "y"}
<li><a href="tiki-list_faqs.php">{tr}FAQs{/tr}</a></li>
{/if}
{if $prefs.feature_forums eq "y"}
......@@ -133,7 +133,7 @@
{/if}
{if $prefs.feature_theme_control eq "y" and $tiki_p_admin eq "y"}
<li><a href="tiki-theme_control.php">{tr}Theme Control{/tr}</a></li>
{/if}
{/if}
{if $tiki_p_admin_toolbars eq "y"}
<li><a href="tiki-admin_toolbars.php">{tr}Toolbars{/tr}</a></li>
{/if}
......@@ -148,7 +148,7 @@
<li><a href="tiki-plugins.php">{tr}Plugin Approval{/tr}</a></li>
{/if}
<li class="divider"></li>
<li><a href="tiki-mods.php">{tr}Mods{/tr}</a></li>
<li><a href="tiki-mods.php">{tr}Mods{/tr}</a></li>
</ul>
</li>
<li class="dropdown">
......
......@@ -4,24 +4,24 @@
<div class="form-group col-lg-12 clearfix">
<a role="button" class="btn btn-default btn-sm" href="tiki-list_banners.php" title="{tr}List{/tr}">
{icon name="list"} {tr}Banners{/tr}
</a>
</a>
<div class="pull-right">
<input type="submit" class="btn btn-primary btn-sm" title="{tr}Apply Changes{/tr}" value="{tr}Apply{/tr}">
</div>
</div>
</div>
<input type="hidden" name="adssetup">
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_banners visible="always"}
</fieldset>
</fieldset>
<fieldset class="table">
<legend>{tr}Plugins{/tr}</legend>
{preference name=wikiplugin_banner}
</fieldset>
<fieldset>
<legend>{tr}Site Ads and Banners{/tr}{help url="Banners"}</legend>
......
......@@ -7,7 +7,7 @@
{if !empty($msgs)}
<div class="alert alert-warning">
{foreach from=$msgs item=msg}
{$msg}
{$msg}
{/foreach}
</div>
{/if}
......@@ -45,7 +45,7 @@
{preference name=wikiplugin_articles}
{preference name=wikiplugin_article}
</fieldset>
{preference name=art_home_title}
{preference name=maxArticles}
......@@ -77,7 +77,7 @@
{preference name=geo_locate_article}
{preference name=feature_sefurl_title_article}
{preference name=article_related_articles}
{preference name=tracker_article_tracker}
......@@ -87,7 +87,7 @@
<input type="hidden" name="articlesfeatures" />
</fieldset>
<fieldset>
<legend>
{tr}Article properties{/tr}
......@@ -122,7 +122,7 @@
<div class="adminoptionbox">
<div class="adminoptionlabel">
<label for="csvlist">{tr}Batch upload (CSV file):{/tr}</label>
<input type="file" name="csvlist" id="csvlist" />
<input type="file" name="csvlist" id="csvlist" />
<br>
<em>{tr}File format: title,authorName,heading,body,lang,user{/tr}....</em>
<div align="center">
......@@ -138,7 +138,7 @@
<fieldset>
<legend>{tr}List Articles{/tr}</legend>
<div class="adminoptionbox">
{tr}Select which items to display when listing articles:{/tr}
{tr}Select which items to display when listing articles:{/tr}
<a class="rbox-link" href="tiki-list_articles.php">tiki-list_articles.php</a>
</div>
<input type="hidden" name="artlist" />
......@@ -163,7 +163,7 @@
{preference name=art_list_reads}
{preference name=art_list_size}
{preference name=art_list_img}
{preference name=gmap_article_list}
</fieldset>
<fieldset>
......
......@@ -15,17 +15,17 @@
{tabset name="admin_blogs"}
{tab name="{tr}General Settings{/tr}"}
<h2>{tr}General Settings{/tr}</h2>
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_blogs visible="always"}
</fieldset>
<fieldset class="table">
<legend>{tr}Plugins{/tr}</legend>
{preference name=wikiplugin_bloglist}
</fieldset>
{preference name=home_blog}
<fieldset>
<legend>
......@@ -41,7 +41,7 @@
{/if}
{preference name=geo_locate_blogpost}
{preference name=feature_sefurl_title_blog}
{preference name=feature_sefurl_title_blog}
</fieldset>
<fieldset>
......@@ -63,7 +63,7 @@
</fieldset>
{/tab}
{tab name="{tr}Blogs Listings{/tr}"}
<h2>{tr}Blogs Listings{/tr}</h2>
<input type="hidden" name="bloglistconf" />
......
......@@ -13,7 +13,7 @@
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_calendar visible="always"}
</fieldset>
<fieldset class="table">
<legend>{tr}Plugins{/tr}</legend>
{preference name=wikiplugin_calendar}
......@@ -21,7 +21,7 @@
{preference name=wikiplugin_mcalendar}
{preference name=wikiplugin_addtogooglecal}
</fieldset>
<fieldset>
<legend>{tr}General settings{/tr}{help url="Calendar+Admin"}</legend>
<div class="adminoptionbox">
......
......@@ -27,7 +27,7 @@
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_categories visible="always"}
</fieldset>
</fieldset>
<fieldset class="table">
<legend>{tr}Plugins{/tr}</legend>
......@@ -35,13 +35,13 @@
{preference name=wikiplugin_catpath}
{preference name=wikiplugin_catorphans}
</fieldset>
<fieldset>
<legend>
{tr}Features{/tr}{help url="Category"}
</legend>
{preference name=feature_categorypath}
<div class="adminoptionboxchild" id="feature_categorypath_childcontainer">
{preference name=categorypath_excluded}
......
......@@ -19,7 +19,7 @@
{tabset name="admin_community"}
{tab name="{tr}User features{/tr}"}
<h2>{tr}User features{/tr}</h2>
<div class="admin featurelist">
{preference name=feature_score}
{preference name=feature_mytiki}
......@@ -57,7 +57,7 @@
<div class="adminoptionboxchild" id="feature_userfiles_childcontainer">
{preference name=feature_use_fgal_for_user_files}
</div>
{preference name=feature_webmail}
{preference name=feature_webmail}
{preference name=feature_userlevels}
{preference name=feature_groupalert}
{preference name=change_theme}
......@@ -110,7 +110,7 @@
{preference name=activity_custom_events}
<div class="adminoptionboxchild" id="activity_custom_events_childcontainer">
{$headerlib->add_dracula()}
{$headerlib->add_jsfile('lib/jquery_tiki/activity.js', 'external')}
<div id="graph-canvas" class="graph-canvas" data-graph-nodes="{$event_graph.nodes|@json_encode|escape}" data-graph-edges="{$event_graph.edges|@json_encode|escape}"></div>
......@@ -141,7 +141,7 @@
{preference name=goal_group_blacklist}
</fieldset>
{/tab}
{tab name="{tr}Plugins{/tr}"}
<h2>{tr}Plugins{/tr}</h2>
{preference name=wikiplugin_author}
......@@ -152,20 +152,20 @@
{preference name=wikiplugin_invite}
{preference name=wikiplugin_mail}
{preference name=wikiplugin_map}
{preference name=wikiplugin_memberlist}
{preference name=wikiplugin_memberlist}
{preference name=wikiplugin_memberpayment}
{preference name=wikiplugin_perm}
{preference name=wikiplugin_proposal}
{preference name=wikiplugin_realnamelist}
{preference name=wikiplugin_subscribegroup}
{preference name=wikiplugin_subscribegroups}
{preference name=wikiplugin_topfriends}
{preference name=wikiplugin_subscribegroups}
{preference name=wikiplugin_topfriends}
{preference name=wikiplugin_usercount}
{preference name=wikiplugin_userlink}
{preference name=wikiplugin_userlist}
{preference name=wikiplugin_userpref}
{/tab}
{tab name="{tr}General Settings{/tr}"}
<h2>{tr}General Settings{/tr}</h2>
......@@ -179,11 +179,11 @@
{preference name=user_who_viewed_my_stuff}
{preference name=user_who_viewed_my_stuff_days}
{preference name=user_who_viewed_my_stuff_show_others}
{preference name=user_store_file_gallery_picture}
{preference name=user_picture_gallery_id}
{preference name=user_default_picture_id}
<input type="hidden" name="userfeatures" />
<fieldset>
<legend>{tr}Community{/tr}{help url="Community"}</legend>
......@@ -200,7 +200,7 @@
{preference name=feature_community_mouseover_distance}
</div>
</fieldset>
{* ************ Users Default Preferences *}
<fieldset>
<legend>
......
......@@ -12,7 +12,7 @@
</div>
<input type="hidden" name="setcopyright" />
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_copyright visible="always"}
......
......@@ -14,7 +14,7 @@
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_directory visible="always"}
</fieldset>
</fieldset>
<fieldset class="table">
<legend>{tr}Directory{/tr}</legend>
......
......@@ -12,12 +12,12 @@
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_faqs visible="always"}
</fieldset>
</fieldset>
<fieldset class="table">
<legend>{tr}Settings{/tr}</legend>
{preference name=faq_prefix}
{preference name=feature_faq_comments}
<div class="adminoptionboxchild" id="feature_faq_comments_childcontainer">
{preference name=faq_comments_per_page}
......
......@@ -51,7 +51,7 @@
{preference name=feature_directory}
{preference name=feature_quizzes}
{preference name=feature_shoutbox}
{preference name=feature_minichat}
{preference name=feature_minichat}
{preference name=feature_live_support}
{preference name=feature_tell_a_friend}
{preference name=feature_share}
......@@ -59,7 +59,7 @@
{preference name=feature_time_sheet}
{preference name=feature_invoice}
{preference name=feature_accounting}
{preference name=payment_feature}
{preference name=payment_feature}
{preference name=feature_draw}
<div class="adminoptionboxchild" id="feature_draw_childcontainer">
{preference name=feature_draw_hide_buttons}
......@@ -81,12 +81,12 @@
{preference name=feature_comm}
{preference name=feature_contribution}
{preference name=feature_copyright}
{preference name=feature_mailin}
{preference name=feature_mailin}
{preference name=feature_faqs}
{preference name=feature_galleries}
{preference name=feature_html_pages}
{preference name=feature_html_pages}
{preference name=feature_htmlfeed}
{preference name=feature_futurelinkprotocol}
......@@ -100,14 +100,14 @@
<fieldset>
<legend>{tr}Interaction with online services or other software{/tr}</legend>
<div class="admin clearfix featurelist">
<div class="admin clearfix featurelist">
{preference name=connect_feature}
{preference name=feature_maps}
{preference name=feature_socialnetworks}
{preference name=feature_watershed}
{preference name=feature_kaltura}
{preference name=feature_watershed}
{preference name=feature_kaltura}
{preference name=zotero_enabled}
<div class="adminoptionboxchild" id="zotero_enabled_childcontainer">
{if $prefs.zotero_client_key and $prefs.zotero_client_secret and $prefs.zotero_group_id}
......@@ -118,11 +118,11 @@
{preference name=zotero_group_id}
{preference name=zotero_style}
</div>
</div>
</fieldset>
<fieldset>
<legend>{tr}Watches{/tr}</legend>
......@@ -135,16 +135,16 @@
</div>
{preference name=feature_user_watches_translations}
{preference name=feature_user_watches_languages}
{preference name=feature_groupalert}
{preference name=feature_groupalert}
</div>
</fieldset>
</fieldset>
{/tab}
{tab name="{tr}Interface{/tr}" key=interface}
<h2>{tr}Interface{/tr}</h2>
<fieldset class="table clearfix featurelist">
<legend> {tr}Ajax{/tr} </legend>
<legend> {tr}Ajax{/tr} </legend>
{preference name=feature_ajax}
<div class="adminoptionboxchild half_width" id="feature_ajax_childcontainer">
{preference name=ajax_autosave}
......@@ -196,7 +196,7 @@
{preference name=disableJavascript}
{preference name=smarty_compilation}
{preference name=feature_webservices}
{preference name=feature_dummy}
{preference name=feature_dummy}
</div>
<div class="admin clearfix featurelist">
......
......@@ -37,7 +37,7 @@
</div>
</div>
{tabset name="fgal_admin"}
{tab name="{tr}General Settings{/tr}"}
<h2>{tr}General Settings{/tr}</h2>
......@@ -45,7 +45,7 @@
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_file_galleries visible="always"}
</fieldset>
{preference name=home_file_gallery}
{preference name='fgal_use_db'}
<div class="adminoptionboxchild fgal_use_db_childcontainer n">
......@@ -92,7 +92,7 @@
{preference name='feature_use_fgal_for_user_files'}
{preference name='feature_use_fgal_for_wiki_attachments'}
{preference name='feature_file_galleries_save_draft'}
{preference name='feature_file_galleries_templates'}
{preference name='feature_file_galleries_templates'}
{preference name='fgal_upload_progressbar'}
{preference name='fgal_tracker_existing_search'}
......@@ -171,7 +171,7 @@
<input type="radio" id="fgal_sortdirection2" name="fgal_sortdirection" value="asc" {if $fgal_sortdirection == 'asc'}checked="checked"{/if} />
<label for="fgal_sortdirection2">{tr}Ascending{/tr}</label>
</div>
</div>
</div>
</div>
</div>
{preference name='fgal_quota_show'}
......
......@@ -14,14 +14,14 @@
{tabset name="admin_forums"}
{tab name="{tr}General Settings{/tr}"}
<h2>{tr}General Settings{/tr}</h2>
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_forums visible="always"}
{preference name=home_forum}
{preference name=forum_image_file_gallery}
</fieldset>
<fieldset>
<legend>
{tr}Features{/tr}{help url="Forum"}
......
......@@ -13,18 +13,18 @@
{tabset name="admin_freetags"}
{tab name="{tr}General Settings{/tr}"}
<h2>{tr}General Settings{/tr}</h2>
<fieldset class="table">
<legend>{tr}Activate the feature{/tr}</legend>
{preference name=feature_freetags visible="always"}
</fieldset>
</fieldset>
<fieldset class="table">
<legend>{tr}Plugins{/tr}</legend>
{preference name=wikiplugin_freetagged}
{preference name=wikiplugin_addfreetag}
{preference name=wikiplugin_addfreetag}
</fieldset>
<fieldset>
<legend>{tr}Tags{/tr}{help url="Tags"}</legend>
<input type="hidden" name="freetagsfeatures" />
......@@ -59,7 +59,7 @@
{preference name=morelikethis_algorithm}
{preference name=morelikethis_basic_mincommon}
</fieldset>
<fieldset class="admin">
<legend>{tr}Freetag search page{/tr}</legend>
{preference name=freetags_sort_mode}
......
......@@ -274,8 +274,8 @@
<tr>
<td colspan="2" class="input_submit_container"><input type="submit" class="btn btn-default btn-sm" name="imagegallistprefs" value="{tr}Change configuration{/tr}" /></td>
</tr>
</table>
</form>
</table>
</form>
</fieldset>
<fieldset class="table">
......
......@@ -194,7 +194,7 @@
{preference name=print_pdf_webservice_url}
</div>
</fieldset>
<fieldset>
<legend>{tr}Terms and Conditions{/tr}</legend>
......
......@@ -30,13 +30,13 @@
<div class="adminoptionbox">
{preference name=feature_multilingual visible="always"}
<div class="adminoptionboxchild" id="feature_multilingual_childcontainer">
<div class="adminoptionboxchild" id="feature_multilingual_childcontainer">
{preference name=feature_detect_language}
{preference name=feature_best_language}
{preference name=change_language}
{preference name=restrict_language}
<div class="adminoptionboxchild" id="restrict_language_childcontainer">
{preference name=available_languages}
{preference name=language_inclusion_threshold}
......@@ -50,11 +50,11 @@
{preference name=feature_translation_incomplete_notice}
{preference name=feature_multilingual_one_page}
{preference name=quantify_changes}
{preference name=wiki_edit_minor}
{preference name=feature_user_watches_translations}
{preference name=feature_multilingual_structures}
{preference name=freetags_multilingual}
{preference name=category_i18n_sync}
......@@ -64,13 +64,13 @@
{preference name=wiki_dynvar_multilingual}
{preference name=wikiplugin_tr}
{preference name=wikiplugin_lang}
{preference name=wikiplugin_translated}
{preference name=wikiplugin_translated}
</div>
{preference name=lang_use_db}
{preference name=record_untranslated}
{preference name=feature_machine_translation}
<div class="adminoptionboxchild" id="feature_machine_translation_childcontainer">
{preference name=lang_machine_translate_implementation}
......
......@@ -25,7 +25,7 @@
document.getElementById('admin-server-options').style.display = 'none';
document.getElementById('admin-slavemode-options').style.display = 'block';
}
}
}
{/literal}
{/jq}
......@@ -38,7 +38,7 @@
<div id="admin-slavemode-options" style="display: {if $prefs.feature_intertiki_mymaster eq ''}none{else}block{/if}">
<input type="checkbox" name="feature_intertiki_import_preferences" {if $prefs.feature_intertiki_import_preferences eq 'y'}checked="checked"{/if}/>
{tr}Import user preferences{/tr}<br>