1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 14:44:29 +02:00

Only display presets to main admins (per Cameron), don't include news item date in preset (caused confusion)

This commit is contained in:
e107steved
2007-02-07 21:22:19 +00:00
parent 94b3fceb1d
commit e0a2c65e21
4 changed files with 38 additions and 26 deletions

View File

@@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.8 $
| $Date: 2007-01-23 22:44:47 $
| $Author: e107coders $
| $Revision: 1.9 $
| $Date: 2007-02-07 21:22:09 $
| $Author: e107steved $
+---------------------------------------------------------------+
*/
@@ -147,7 +147,8 @@ if (isset($eplug_js) && $eplug_js) {
if (isset($htmlarea_js) && $htmlarea_js) {
echo $htmlarea_js;
}
if (strpos(e_SELF, 'fileinspector.php') === FALSE) {
if ((strpos(e_SELF, 'fileinspector.php') === FALSE) && getperms("0"))
{
echo "<script type='text/javascript'>
<!--
function savepreset(ps,pid){