diff options
author | friendica <info@friendica.com> | 2014-12-16 14:28:07 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-12-16 14:28:07 -0800 |
commit | 5b492110354f8cd647f03999de56f9f1643bcfd6 (patch) | |
tree | 1e6d0673db3c3a923d4bbbbea318049558bb1a94 /mod | |
parent | 7bee4e5997804658f508a32d07ca4143d8afe629 (diff) | |
download | volse-hubzilla-5b492110354f8cd647f03999de56f9f1643bcfd6.tar.gz volse-hubzilla-5b492110354f8cd647f03999de56f9f1643bcfd6.tar.bz2 volse-hubzilla-5b492110354f8cd647f03999de56f9f1643bcfd6.zip |
edit and preview removed from additional features and turned into core functionality (always enabled).
Diffstat (limited to 'mod')
-rw-r--r-- | mod/editblock.php | 2 | ||||
-rw-r--r-- | mod/editlayout.php | 2 | ||||
-rw-r--r-- | mod/editpost.php | 2 | ||||
-rw-r--r-- | mod/editwebpage.php | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/mod/editblock.php b/mod/editblock.php index 33d4c8b1a..6ec840af7 100644 --- a/mod/editblock.php +++ b/mod/editblock.php @@ -170,7 +170,7 @@ function editblock_content(&$a) { '$acl' => '', '$bang' => '', '$profile_uid' => (intval($channel['channel_id'])), - '$preview' => ((feature_enabled($uid,'preview')) ? t('Preview') : ''), + '$preview' => true, // ((feature_enabled($uid,'preview')) ? t('Preview') : ''), '$jotplugins' => $jotplugins, '$sourceapp' => $itm[0]['app'], '$defexpire' => '', diff --git a/mod/editlayout.php b/mod/editlayout.php index 01f439cb2..d76aa484d 100644 --- a/mod/editlayout.php +++ b/mod/editlayout.php @@ -165,7 +165,7 @@ function editlayout_content(&$a) { '$acl' => '', '$bang' => '', '$profile_uid' => (intval($owner)), - '$preview' => ((feature_enabled($uid,'preview')) ? t('Preview') : ''), + '$preview' => true, // ((feature_enabled($uid,'preview')) ? t('Preview') : ''), '$jotplugins' => $jotplugins, '$sourceapp' => t($a->sourcename), '$defexpire' => '', diff --git a/mod/editpost.php b/mod/editpost.php index 26e3c7139..dfbc8766e 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -137,7 +137,7 @@ function editpost_content(&$a) { '$acl' => '', '$bang' => '', '$profile_uid' => local_user(), - '$preview' => ((feature_enabled(local_user(),'preview')) ? t('Preview') : ''), + '$preview' => true, // ((feature_enabled(local_user(),'preview')) ? t('Preview') : ''), '$jotplugins' => $jotplugins, '$sourceapp' => t($a->sourcename), '$catsenabled' => $catsenabled, diff --git a/mod/editwebpage.php b/mod/editwebpage.php index 1b1268914..191c9a9ac 100644 --- a/mod/editwebpage.php +++ b/mod/editwebpage.php @@ -202,7 +202,7 @@ function editwebpage_content(&$a) { 'lockstate' => (((strlen($itm[0]['allow_cid'])) || (strlen($itm[0]['allow_gid'])) || (strlen($itm[0]['deny_cid'])) || (strlen($itm[0]['deny_gid']))) ? 'lock' : 'unlock'), '$bang' => '', '$profile_uid' => (intval($owner)), - '$preview' => ((feature_enabled($uid,'preview')) ? t('Preview') : ''), + '$preview' => true, // ((feature_enabled($uid,'preview')) ? t('Preview') : ''), '$jotplugins' => $jotplugins, '$sourceapp' => $a->sourcename, '$defexpire' => '', |