{* $Id: include_articles.tpl 67628 2018-09-24 09:50:16Z amnabilal $ *}
{remarksbox type="tip" title="{tr}Tip{/tr}"}
	{tr}Look under "<a href="tiki-admin_rssmodules.php" target="_blank" class="alert-link">External Feeds</a>" on the application menu if you are searching for the <a href="https://doc.tiki.org/Article+generator" target="_blank" class="alert-link">"Article Generator" on RSS feeds</a>{/tr}.
{/remarksbox}
{if !empty($msgs)}
{/if}
<form role="form" method="post" action="tiki-admin.php?page=articles" enctype="multipart/form-data" class="admin">
	{ticket}
	<div class="t_navbar mb-4 clearfix">
		<a role="link" class="btn btn-link tips" href="tiki-list_articles.php" title=":{tr}List of articles{/tr}">
			{icon name="list"} {tr}Articles{/tr}
		</a>
		<a role="link" class="btn btn-link tips" href="tiki-article_types.php" title=":{tr}List of article types{/tr}">
			{icon name="structure"} {tr}Article Types{/tr}
		</a>
		<a role="link" class="btn btn-link tips" href="tiki-admin_topics.php" title=":{tr}List of article topics{/tr}">
			{icon name="flag"} {tr}Article Topics{/tr}
		</a>
		{if $prefs.feature_submissions eq "y"}
			<a role="link" class="btn btn-primary btn-sm tips" href="tiki-list_submissions.php" title=":{tr}List{/tr}">
				{icon name="list"} {tr}Submissions{/tr}
			</a>
		{/if}
		{include file='admin/include_apply_top.tpl'}
	</div>
	{tabset name="admin_articles"}
		{tab name="{tr}General Settings{/tr}"}
			<br>
			<fieldset>
				<legend>{tr}Activate the feature{/tr}</legend>
				{preference name=feature_articles visible="always"}
			</fieldset>
			<fieldset class="table">
				<legend>{tr}Plugins{/tr}</legend>
				{preference name=wikiplugin_articles}
				{preference name=wikiplugin_article}
			</fieldset>
			{preference name=art_home_title}
			{preference name=maxArticles}
			<fieldset>
				<legend>
					{tr}Features{/tr}{help url="Articles"}
				</legend>
				{preference name=feature_submissions}
				{preference name=article_use_new_list_articles}
				{preference name=article_remembers_creator}
				{preference name=feature_cms_rankings}
				{preference name=article_user_rating}
				<div class="adminoptionboxchild" id="article_user_rating_childcontainer">
					{preference name=article_user_rating_options}
				</div>
				{preference name=feature_article_comments}
				<div class="adminoptionboxchild" id="feature_article_comments_childcontainer">
					{preference name=article_comments_per_page}
					{preference name=article_comments_default_ordering}
				</div>
				{preference name=feature_cms_templates}
				<div class="adminoptionboxchild" id="feature_cms_templates_childcontainer">
					{preference name=lock_content_templates}
				</div>
				{preference name=feature_cms_emails}
				{preference name=article_paginate}
				{preference name=article_custom_attributes}
				{preference name=geo_locate_article}
				{preference name=feature_sefurl_title_article}
				{preference name=article_related_articles}
				{preference name=tracker_article_tracker}
				<div class="adminoptionboxchild" id="tracker_article_tracker_childcontainer">
					{preference name=tracker_article_trackerId}
				</div>
				{preference name=article_feature_copyrights}
			</fieldset>
			<legend>
				{tr}Custom (Article Own) images setting{/tr}
			</legend>
				{preference name=article_image_file_size_max}
				{preference name=article_image_size_x}
				{preference name=article_image_size_y}
				{preference name=article_default_list_image_size_x}
				{preference name=article_default_list_image_size_y}
			</fieldset>
			<fieldset>
				<legend>
					{tr}Sharing on social networks{/tr}{help url="Social+Networks#Using+ShareThis"}
				</legend>
				{preference name=feature_cms_sharethis}
				<div class="adminoptionboxchild" id="feature_cms_sharethis_childcontainer">
					{preference name=article_sharethis_publisher}
				</div>
			</fieldset>
			<fieldset>
				<legend>{tr}Import CSV file{/tr}</legend>
				<div class="adminoptionbox">
					<label for="csvlist" class="col-form-label col-sm-4">{tr}Batch upload (CSV file){/tr}</label>
					<div class="col-sm-8">
						<input type="file" name="csvlist" id="csvlist">
						<span class="form-text">{tr}File format: title,authorName,heading,body,lang,user{/tr}....</span>
						<div align="center">
							<input
								type="submit"
								class="btn btn-primary btn-sm"
								name="import"
								value="{tr}Import{/tr}"
								onclick="checkTimeout()"
							>
						</div>
					</div>
				</div>
			</fieldset>
		{/tab}
		{tab name="{tr}Articles Listing and View{/tr}"}
			<br>
			<fieldset>
				<legend>{tr}List articles{/tr}</legend>
				{preference name=art_sort_mode}
				{preference name=art_list_title}
				<div class="adminoptionboxchild" id="art_list_title_childcontainer">
					{preference name=art_list_title_len}
				</div>
				{preference name=art_list_id}
				{preference name=art_list_type}
				{preference name=art_list_topic}
				{preference name=art_list_date}
				{preference name=art_list_expire}
				{preference name=art_list_visible}
				{preference name=art_list_lang}
				{preference name=art_list_author}
				{preference name=art_list_authorName}
				{preference name=art_list_rating}
				{preference name=art_list_usersRating}
				{preference name=art_list_reads}
				{preference name=art_list_size}
				{preference name=art_list_img}
				{preference name=art_list_ispublished}
				{preference name=gmap_article_list}
			</fieldset>
			<fieldset>
				<legend>{tr}Article view{/tr}</legend>
				{preference name=art_trailer_pos}
				{preference name=art_header_text_pos}
			</fieldset>
		{/tab}
	{/tabset}
	{include file='admin/include_apply_bottom.tpl'}
</form>

