1<form action="tiki-admin.php?page=socialnetworks" method="post">
2	{ticket}
3
4	<div class="row">
5		<div class="form-group col-lg-12 clearfix">
6			{include file='admin/include_apply_top.tpl'}
7		</div>
8	</div>
9
10	{tabset}
11		{tab name="{tr}General{/tr}"}
12			<legend>{tr}Social network integration{/tr}</legend>
13			{preference name=feature_socialnetworks visible="always"}
14		{/tab}
15		{tab name="{tr}Twitter{/tr}"}
16			<br>
17			<div class="adminoptionbox">
18				{preference name=socialnetworks_twitter_site_name}
19				{preference name=socialnetworks_twitter_site_image}
20			</div>
21			{remarksbox type="note" title="{tr}Note{/tr}"}
22				<p>
23					{tr}To use Twitter integration, you must register this site as an application at{/tr}
24					<a class="alert-link" href="http://twitter.com/oauth_clients/" target="_blank">http://twitter.com/oauth_clients/</a>
25					{tr}and allow write access for the application{/tr}.<br>
26					{tr}Enter &lt;your site URL&gt;tiki-socialnetworks.php as callback URL{/tr}.
27				</p>
28			{/remarksbox}
29			<div class="adminoptionbox">
30				{preference name=socialnetworks_twitter_consumer_key}
31				{preference name=socialnetworks_twitter_consumer_secret}
32			</div>
33		{/tab}
34		{tab name="{tr}Facebook{/tr}"}
35			<br>
36			<div class="adminoptionbox">
37				{preference name=socialnetworks_facebook_site_name}
38				{preference name=socialnetworks_facebook_site_image}
39			</div>
40			{remarksbox type="note" title="{tr}Note{/tr}"}
41				<p>
42					{tr}To use Facebook integration, you must register this site as an application at{/tr}
43					<a class="alert-link" href="http://developers.facebook.com/setup/" target="_blank">http://developers.facebook.com/setup/</a>
44					{tr}and allow extended access for the application{/tr}.<br>
45					{tr}Enter &lt;your site URL&gt;tiki-socialnetworks.php?request_facebook as Site URL and &lt;your site&gt; as Site Domain{/tr}.
46				</p>
47			{/remarksbox}
48			<div class="adminoptionbox">
49				{preference name=socialnetworks_facebook_application_id}
50				{preference name=socialnetworks_facebook_application_secr}
51				{preference name=socialnetworks_facebook_login}
52				{preference name=socialnetworks_facebook_autocreateuser}
53				<div class="adminoptionboxchild" id="socialnetworks_facebook_autocreateuser_childcontainer">
54					{preference name=socialnetworks_facebook_firstloginpopup}
55					{preference name=socialnetworks_facebook_email}
56					{preference name=socialnetworks_facebook_create_user_trackeritem}
57					{preference name=socialnetworks_facebook_names}
58				</div>
59				{remarksbox type="note" title="{tr}Note{/tr}"}
60					{tr}The following preferences affect what permissions the user is asked to allow Tiki to do by Facebook when authorizing it.{/tr}
61				{/remarksbox}
62				{preference name=socialnetworks_facebook_publish_stream}
63				{preference name=socialnetworks_facebook_manage_events}
64				{preference name=socialnetworks_facebook_manage_pages}
65				{preference name=socialnetworks_facebook_sms}
66			</div>
67		{/tab}
68		{tab name="{tr}bit.ly{/tr}"}
69			<br>
70			{remarksbox type="note" title="{tr}Note{/tr}"}
71				<p>
72					{tr}There is no need to set up a site-wide bit.ly account; every user can have his or her own, but this allows for site-wide statistics{/tr}<br>
73					{tr}Go to{/tr} <a class="alert-link" href="http://bit.ly/a/sign_up">http://bit.ly/a/sign_up</a> {tr}to sign up for an account{/tr}.<br>
74					{tr}Go to{/tr} <a class="alert-link" href="http://bit.ly/a/your_api_key">http://bit.ly/a/your_api_key</a> {tr}to retrieve the API key{/tr}.
75				</p>
76			{/remarksbox}
77			<div class="adminoptionbox">
78				{preference name=socialnetworks_bitly_login}
79				{preference name=socialnetworks_bitly_key}
80				{preference name=socialnetworks_bitly_sitewide}
81			</div>
82		{/tab}
83	{tab name="{tr}LinkedIn{/tr}"}
84		<br>
85		{remarksbox type="note" title="{tr}Note{/tr}"}
86		<p>
87			{tr}To use LinkedIn integration, you must register this site as an application at{/tr}
88			<a class="alert-link" href="https://www.linkedin.com/developer/apps" target="_blank">https://www.linkedin.com/developer/apps</a>
89			{tr}and allow necessary permissions for the application{/tr}.<br>
90			{tr}Enter &lt;your site URL&gt;tiki-socialnetworks_linkedin.php as Authorized OAuth Redirect URLs{/tr}.
91		</p>
92		{/remarksbox}
93		<div class="adminoptionbox">
94			{preference name=socialnetworks_linkedin_client_id}
95			{preference name=socialnetworks_linkedin_client_secr}
96			{preference name=socialnetworks_linkedin_login}
97			{preference name=socialnetworks_linkedin_autocreateuser}
98			<div class="adminoptionboxchild" id="socialnetworks_linkedin_autocreateuser_childcontainer">
99				{preference name=socialnetworks_linkedin_email}
100				{preference name=socialnetworks_linkedin_create_user_trackeritem}
101				{preference name=socialnetworks_linkedin_names}
102			</div>
103		</div>
104	{/tab}
105	{tab name="{tr}Share This{/tr}"}
106		<br>
107		<div class="adminoptionbox">
108			{preference name=feature_wiki_sharethis}
109			<div class="adminoptionboxchild" id="feature_wiki_sharethis_childcontainer">
110				{preference name=blog_sharethis_publisher}
111				{preference name=wiki_sharethis_encourage}
112			</div>
113		</div>
114	{/tab}
115	{/tabset}
116	{include file='admin/include_apply_bottom.tpl'}
117</form>
118