wrong default param for pubstream_incl (this checkin also picked up a few minor and hopefully non-significant changes)
This commit is contained in:
parent
12c571a187
commit
dae89ce91c
@ -344,8 +344,8 @@ class Site {
|
||||
'$disable_discover_tab' => array('disable_discover_tab', t('Import Public Streams'), $discover_tab, t('Import and allow access to public content pulled from other sites. Warning: this content is unmoderated.')),
|
||||
'$site_firehose' => array('site_firehose', t('Site only Public Streams'), get_config('system','site_firehose'), t('Allow access to public content originating only from this site if Imported Public Streams are disabled.')),
|
||||
'$open_pubstream' => array('open_pubstream', t('Allow anybody on the internet to access the Public streams'), get_config('system','open_pubstream',1), t('Disable to require authentication before viewing. Warning: this content is unmoderated.')),
|
||||
'$incl' => array('pub_incl',t('Only import Public stream posts with this text'), $contact['abook_incl'],t('words one per line or #tags or /patterns/ or lang=xx, leave blank to import all posts')),
|
||||
'$excl' => array('pub_excl',t('Do not import Public stream posts with this text'), $contact['abook_excl'],t('words one per line or #tags or /patterns/ or lang=xx, leave blank to import all posts')),
|
||||
'$incl' => array('pub_incl',t('Only import Public stream posts with this text'), get_config('system','pubstream_incl'),t('words one per line or #tags or /patterns/ or lang=xx, leave blank to import all posts')),
|
||||
'$excl' => array('pub_excl',t('Do not import Public stream posts with this text'), get_config('system','pubstream_excl'),t('words one per line or #tags or /patterns/ or lang=xx, leave blank to import all posts')),
|
||||
|
||||
|
||||
'$login_on_homepage' => array('login_on_homepage', t("Login on Homepage"),((intval($homelogin) || $homelogin === false) ? 1 : '') , t("Present a login box to visitors on the home page if no other content has been configured.")),
|
||||
|
@ -14,7 +14,8 @@ class Photo extends \Zotlabs\Web\Controller {
|
||||
$prvcachecontrol = false;
|
||||
$streaming = null;
|
||||
$channel = null;
|
||||
|
||||
$person = 0;
|
||||
|
||||
switch(argc()) {
|
||||
case 4:
|
||||
$person = argv(3);
|
||||
@ -31,7 +32,7 @@ class Photo extends \Zotlabs\Web\Controller {
|
||||
}
|
||||
|
||||
$observer_xchan = get_observer_hash();
|
||||
|
||||
|
||||
$default = z_root() . '/' . get_default_profile_photo();
|
||||
|
||||
if(isset($type)) {
|
||||
|
@ -38,7 +38,7 @@ class Removeme extends \Zotlabs\Web\Controller {
|
||||
}
|
||||
|
||||
$global_remove = intval($_POST['global']);
|
||||
|
||||
|
||||
channel_remove(local_channel(),1 - $global_remove,true);
|
||||
|
||||
}
|
||||
|
@ -17,15 +17,7 @@ function nav($template = 'default') {
|
||||
if(!(x(App::$page,'nav')))
|
||||
App::$page['nav'] = '';
|
||||
|
||||
$base = z_root();
|
||||
|
||||
App::$page['htmlhead'] .= <<< EOT
|
||||
<script>$(document).ready(function() {
|
||||
$("#nav-search-text").search_autocomplete('$base/acl');
|
||||
});
|
||||
|
||||
</script>
|
||||
EOT;
|
||||
App::$page['htmlhead'] .= '<script>$(document).ready(function() { $("#nav-search-text").search_autocomplete(\'' . z_root() . '/acl' . '\');});</script>';
|
||||
|
||||
$is_owner = (((local_channel()) && ((App::$profile_uid == local_channel()) || (App::$profile_uid == 0))) ? true : false);
|
||||
|
||||
|
Reference in New Issue
Block a user