mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
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.
This commit is contained in:
parent
070397ef14
commit
498e2f7279
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue