add soapbox settings
This commit is contained in:
parent
e0cbbbf918
commit
260a012b02
@ -379,6 +379,7 @@ function connections_content(&$a) {
|
|||||||
'$me' => t('My Settings'),
|
'$me' => t('My Settings'),
|
||||||
'$perms' => $perms,
|
'$perms' => $perms,
|
||||||
'$forum' => t('Forum Members'),
|
'$forum' => t('Forum Members'),
|
||||||
|
'$soapbox' => t('Soapbox'),
|
||||||
'$full' => t('Full Sharing'),
|
'$full' => t('Full Sharing'),
|
||||||
'$cautious' => t('Cautious Sharing'),
|
'$cautious' => t('Cautious Sharing'),
|
||||||
'$follow' => t('Follow Only'),
|
'$follow' => t('Follow Only'),
|
||||||
|
@ -8,6 +8,19 @@ $db_user = '$dbuser';
|
|||||||
$db_pass = '$dbpass';
|
$db_pass = '$dbpass';
|
||||||
$db_data = '$dbdata';
|
$db_data = '$dbdata';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Notice: Many of the following settings will be available in the admin panel
|
||||||
|
* after a successful site install. Once they are set in the admin panel, they
|
||||||
|
* are stored in the DB - and the DB setting will over-ride any corresponding
|
||||||
|
* setting in this file
|
||||||
|
*
|
||||||
|
* The command-line tool util/config is able to query and set the DB items
|
||||||
|
* directly if for some reason the admin panel is not available and a system
|
||||||
|
* setting requires modification.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
|
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
|
||||||
// It can be changed later and only applies to timestamps for anonymous viewers.
|
// It can be changed later and only applies to timestamps for anonymous viewers.
|
||||||
|
|
||||||
@ -16,7 +29,7 @@ $default_timezone = '$timezone';
|
|||||||
// What is your site name?
|
// What is your site name?
|
||||||
|
|
||||||
$a->config['system']['baseurl'] = '$siteurl';
|
$a->config['system']['baseurl'] = '$siteurl';
|
||||||
$a->config['system']['sitename'] = "My Friend Network";
|
$a->config['system']['sitename'] = "Red Matrix";
|
||||||
$a->config['system']['location_hash'] = '$site_id';
|
$a->config['system']['location_hash'] = '$site_id';
|
||||||
|
|
||||||
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
||||||
@ -54,6 +67,3 @@ $a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL;
|
|||||||
|
|
||||||
$a->config['system']['theme'] = 'redbasic';
|
$a->config['system']['theme'] = 'redbasic';
|
||||||
|
|
||||||
// By default allow pseudonyms
|
|
||||||
|
|
||||||
$a->config['system']['no_regfullname'] = true;
|
|
||||||
|
@ -13,6 +13,19 @@ $db_user = '{{$dbuser}}';
|
|||||||
$db_pass = '{{$dbpass}}';
|
$db_pass = '{{$dbpass}}';
|
||||||
$db_data = '{{$dbdata}}';
|
$db_data = '{{$dbdata}}';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Notice: Many of the following settings will be available in the admin panel
|
||||||
|
* after a successful site install. Once they are set in the admin panel, they
|
||||||
|
* are stored in the DB - and the DB setting will over-ride any corresponding
|
||||||
|
* setting in this file
|
||||||
|
*
|
||||||
|
* The command-line tool util/config is able to query and set the DB items
|
||||||
|
* directly if for some reason the admin panel is not available and a system
|
||||||
|
* setting requires modification.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
|
// Choose a legal default timezone. If you are unsure, use "America/Los_Angeles".
|
||||||
// It can be changed later and only applies to timestamps for anonymous viewers.
|
// It can be changed later and only applies to timestamps for anonymous viewers.
|
||||||
|
|
||||||
@ -21,7 +34,7 @@ $default_timezone = '{{$timezone}}';
|
|||||||
// What is your site name?
|
// What is your site name?
|
||||||
|
|
||||||
$a->config['system']['baseurl'] = '{{$siteurl}}';
|
$a->config['system']['baseurl'] = '{{$siteurl}}';
|
||||||
$a->config['system']['sitename'] = "My Friend Network";
|
$a->config['system']['sitename'] = "Red Matrix";
|
||||||
$a->config['system']['location_hash'] = '{{$site_id}}';
|
$a->config['system']['location_hash'] = '{{$site_id}}';
|
||||||
|
|
||||||
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
// Your choices are REGISTER_OPEN, REGISTER_APPROVE, or REGISTER_CLOSED.
|
||||||
@ -59,6 +72,3 @@ $a->config['system']['directory_mode'] = DIRECTORY_MODE_NORMAL;
|
|||||||
|
|
||||||
$a->config['system']['theme'] = 'redbasic';
|
$a->config['system']['theme'] = 'redbasic';
|
||||||
|
|
||||||
// By default allow pseudonyms
|
|
||||||
|
|
||||||
$a->config['system']['no_regfullname'] = true;
|
|
||||||
|
@ -61,6 +61,15 @@ function connectForum() {
|
|||||||
$('#me_id_perms_tag_deliver').attr('checked','checked');
|
$('#me_id_perms_tag_deliver').attr('checked','checked');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function connectSoapBox() {
|
||||||
|
$('#me_id_perms_view_stream').attr('checked','checked');
|
||||||
|
$('#me_id_perms_view_profile').attr('checked','checked');
|
||||||
|
$('#me_id_perms_view_photos').attr('checked','checked');
|
||||||
|
$('#me_id_perms_view_contacts').attr('checked','checked');
|
||||||
|
$('#me_id_perms_view_storage').attr('checked','checked');
|
||||||
|
$('#me_id_perms_view_pages').attr('checked','checked');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function connectFollowOnly() {
|
function connectFollowOnly() {
|
||||||
$('#me_id_perms_send_stream').attr('checked','checked');
|
$('#me_id_perms_send_stream').attr('checked','checked');
|
||||||
|
@ -46,11 +46,12 @@ $slide
|
|||||||
<b>$quick</b>
|
<b>$quick</b>
|
||||||
<ul>
|
<ul>
|
||||||
{{ if $self }}
|
{{ if $self }}
|
||||||
<li><a href="#" onclick="connectForum(); $('#abook-edit-form').submit();">$forum</a></li>
|
<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">$forum</span></li>
|
||||||
|
<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">$soapbox</span></li>
|
||||||
{{ endif }}
|
{{ endif }}
|
||||||
<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">$full</span></li>
|
<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">$full</span></li>
|
||||||
<li><a href="#" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">$cautious</a></li>
|
<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">$cautious</span></li>
|
||||||
<li><a href="#" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">$follow</a></li>
|
<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">$follow</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div>
|
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">$advanced</div>
|
||||||
|
@ -51,11 +51,12 @@
|
|||||||
<b>{{$quick}}</b>
|
<b>{{$quick}}</b>
|
||||||
<ul>
|
<ul>
|
||||||
{{if $self}}
|
{{if $self}}
|
||||||
<li><a href="#" onclick="connectForum(); $('#abook-edit-form').submit();">{{$forum}}</a></li>
|
<li><span class="fakelink" onclick="connectForum(); $('#abook-edit-form').submit();">{{$forum}}</span></li>
|
||||||
|
<li><span class="fakelink" onclick="connectSoapBox(); $('#abook-edit-form').submit();">{{$soapbox}}</span></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">{{$full}}</span></li>
|
<li><span class="fakelink" onclick="connectFullShare(); $('#abook-edit-form').submit();">{{$full}}</span></li>
|
||||||
<li><a href="#" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">{{$cautious}}</a></li>
|
<li><span class="fakelink" onclick="connectCautiousShare(); $('#abook-edit-form').submit();">{{$cautious}}</span></li>
|
||||||
<li><a href="#" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">{{$follow}}</a></li>
|
<li><span class="fakelink" onclick="connectFollowOnly(); $('#abook-edit-form').submit();">{{$follow}}</span></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div>
|
<div id="abook-advanced" class="fakelink" onclick="openClose('abook-advanced-panel');">{{$advanced}}</div>
|
||||||
|
Reference in New Issue
Block a user