aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-15 22:59:55 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-15 22:59:55 -0700
commit498e2f7279e48ace3c683d5e9f35250589c01d2b (patch)
tree7cabfba8877e13feb88bcc2bbdec78306c0ed2e4 /include
parent070397ef1470972476df48b169f4d6ee844c5c1f (diff)
downloadvolse-hubzilla-498e2f7279e48ace3c683d5e9f35250589c01d2b.tar.gz
volse-hubzilla-498e2f7279e48ace3c683d5e9f35250589c01d2b.tar.bz2
volse-hubzilla-498e2f7279e48ace3c683d5e9f35250589c01d2b.zip
since we've got a fresh start without a lot of legacy sites to support, provide 'naked' or authored=none (no date and attribution) as the default for webpages. It will be up to designers to add this if they desire it rather than force everybody to take it away. The code for adding it isn't yet provided.
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 332f9487c..65056bc9c 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1377,7 +1377,8 @@ function render_location_default($item) {
function prepare_page($item) {
$a = get_app();
- $naked = ((get_pconfig($item['uid'],'system','nakedpage')) ? 1 : 0);
+ $naked = 1;
+// $naked = ((get_pconfig($item['uid'],'system','nakedpage')) ? 1 : 0);
$observer = $a->get_observer();
//240 chars is the longest we can have before we start hitting problems with suhosin sites
$preview = substr(urlencode($item['body']), 0, 240);