1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +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

@@ -1,4 +1,5 @@
if(ADMIN){
if(ADMIN && getperms("0"))
{
global $sql,$pst,$ns,$tp,$e_wysiwyg,$pref;
if(isset($pst) && $pst->form && $pst->page){
$thispage = urlencode(e_SELF."?".e_QUERY);