2013-11-12 06:01:44 +08:00
|
|
|
<div class="adminSecurity">
|
|
|
|
<div class="row">
|
2014-05-22 09:08:47 +08:00
|
|
|
<div class="alert alert-info span10" style="margin-top: 10px;">
|
2013-11-12 06:01:44 +08:00
|
|
|
Detailed information on social integration is found at
|
|
|
|
<a href="http://rainloop.net/docs/social/" target="_blank">http://rainloop.net/docs/social/</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-11 04:14:59 +08:00
|
|
|
<div class="form-horizontal g-ui-user-select-none">
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="legend">
|
|
|
|
Google
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: { value: googleEnable, label: 'Enable Google Integration' }
|
|
|
|
}"></div>
|
2014-10-19 01:24:00 +08:00
|
|
|
<div data-bind="visible: googleEnable">
|
|
|
|
<br />
|
|
|
|
<blockquote>
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
2014-10-31 04:09:53 +08:00
|
|
|
params: {
|
2015-01-26 07:09:22 +08:00
|
|
|
value: googleEnableAuth,
|
2014-10-31 04:09:53 +08:00
|
|
|
label: 'Authentication'
|
|
|
|
}
|
2014-10-29 06:05:50 +08:00
|
|
|
}"></div>
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
2014-10-31 04:09:53 +08:00
|
|
|
params: {
|
2015-01-26 07:09:22 +08:00
|
|
|
value: googleEnableDrive,
|
2014-10-31 04:09:53 +08:00
|
|
|
label: 'Google Drive Integration (Compose view)'
|
|
|
|
}
|
|
|
|
}"></div>
|
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: {
|
2015-01-26 07:09:22 +08:00
|
|
|
value: googleEnablePreview,
|
|
|
|
label: 'Google Viewer Integration (Preview for Microsoft Word, Excel and PowerPoint files)'
|
2014-10-31 04:09:53 +08:00
|
|
|
}
|
2014-10-29 06:05:50 +08:00
|
|
|
}"></div>
|
2014-10-19 01:24:00 +08:00
|
|
|
</blockquote>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Client ID
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
name: 'xx',
|
|
|
|
value: googleClientID,
|
|
|
|
trigger: googleTrigger1,
|
2015-01-26 07:09:22 +08:00
|
|
|
enable: googleEnableRequireClientSettings,
|
2014-10-31 04:09:53 +08:00
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Client Secret
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: googleClientSecret,
|
|
|
|
trigger: googleTrigger2,
|
2015-01-26 07:09:22 +08:00
|
|
|
enable: googleEnableRequireClientSettings,
|
2014-10-31 04:09:53 +08:00
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-30 16:48:59 +08:00
|
|
|
<br />
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">
|
|
|
|
Api Key
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: googleApiKey,
|
|
|
|
trigger: googleTrigger3,
|
|
|
|
size: 5,
|
2015-01-26 07:09:22 +08:00
|
|
|
enable: googleEnableRequireApiKey
|
2014-10-29 06:05:50 +08:00
|
|
|
}
|
|
|
|
}"></div>
|
2014-07-30 16:48:59 +08:00
|
|
|
<blockquote style="margin-top: 10px; margin-bottom: 0">
|
|
|
|
<p class="muted">
|
|
|
|
Required for Google Drive File Picker
|
|
|
|
</p>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="legend">
|
|
|
|
Facebook
|
2014-07-04 04:11:47 +08:00
|
|
|
<span style="color: #ccc; font-size: 14px;" data-bind="visible: !facebookSupported()">(requires PHP 5.4 or greater)</span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div data-bind="if: facebookSupported">
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: { value: facebookEnable, label: 'Enable Facebook Integration (Authentication)' }
|
|
|
|
}"></div>
|
2014-07-04 04:11:47 +08:00
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
App ID
|
|
|
|
</label>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: facebookAppID,
|
|
|
|
trigger: facebookTrigger1,
|
|
|
|
enable: facebookEnable,
|
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2014-07-04 04:11:47 +08:00
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
App Secret
|
|
|
|
</label>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: facebookAppSecret,
|
|
|
|
trigger: facebookTrigger2,
|
|
|
|
enable: facebookEnable,
|
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2014-07-04 04:11:47 +08:00
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="legend">
|
|
|
|
Twitter
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: { value: twitterEnable, label: 'Enable Twitter Integration (Authentication)' }
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Consumer Key
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: twitterConsumerKey,
|
|
|
|
trigger: twitterTrigger1,
|
|
|
|
enable: twitterEnable,
|
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Consumer Secret
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: twitterConsumerSecret,
|
|
|
|
trigger: twitterTrigger2,
|
|
|
|
enable: twitterEnable,
|
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="legend">
|
|
|
|
Dropbox
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
2014-10-29 06:05:50 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Checkbox',
|
|
|
|
params: { value: dropboxEnable, label: 'Enable Dropbox Integration (Compose view)' }
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Api Key
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-10-31 04:09:53 +08:00
|
|
|
<div data-bind="component: {
|
|
|
|
name: 'Input',
|
|
|
|
params: {
|
|
|
|
value: dropboxApiKey,
|
|
|
|
trigger: dropboxTrigger1,
|
|
|
|
enable: dropboxEnable,
|
|
|
|
size: 5
|
|
|
|
}
|
|
|
|
}"></div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|