group.inc - fixed some possible typos
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<?php # $Id: users.inc.php 114 2005-05-22 15:37:11Z garvinhicking $
|
||||
# Copyright (c) 2003-2005, Jannis Hermanns (on behalf the Serendipity Developer Team)
|
||||
# All rights reserved. See LICENSE file for licensing details
|
||||
<?php # $Id:$
|
||||
|
||||
if (IN_serendipity !== true) {
|
||||
die ('Don\'t hack!');
|
||||
@@ -51,7 +49,7 @@ if ( $serendipity['GET']['adminAction'] != 'delete' ) {
|
||||
}
|
||||
$data['groups'] = $groups;
|
||||
if ( !isset($_POST['NEW']) ) {
|
||||
$data['new'] = $true;
|
||||
$data['new'] = true;
|
||||
}
|
||||
$data['deleteFormToken'] = serendipity_setFormToken('url');
|
||||
}
|
||||
@@ -120,7 +118,7 @@ if ($serendipity['GET']['adminAction'] == 'edit' || isset($_POST['NEW'])) {
|
||||
}
|
||||
|
||||
} elseif ($serendipity['GET']['adminAction'] == 'delete') {
|
||||
$data['delete'] = $true;
|
||||
$data['delete'] = true;
|
||||
$group = serendipity_fetchGroup($serendipity['GET']['group']);
|
||||
$data['group_id'] = $serendipity['GET']['group'];
|
||||
$data['group'] = $group;
|
||||
@@ -128,11 +126,8 @@ if ($serendipity['GET']['adminAction'] == 'edit' || isset($_POST['NEW'])) {
|
||||
}
|
||||
|
||||
$serendipity['smarty']->assign($data);
|
||||
|
||||
$tfile = dirname(__FILE__) . "/tpl/groups.inc.tpl";
|
||||
|
||||
$content = $serendipity['smarty']->fetch('file:'. $tfile); // short notation with Smarty3 in S9y 1.7 and up
|
||||
|
||||
$content = $serendipity['smarty']->fetch('file:'. $tfile);
|
||||
echo $content;
|
||||
|
||||
/* vim: set sts=4 ts=4 expandtab : */
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
{/foreach}
|
||||
</td>
|
||||
</tr>
|
||||
{if ! $new}
|
||||
{if !$new}
|
||||
<tr>
|
||||
<td colspan="3" align="right">
|
||||
<form action="?serendipity[adminModule]=groups" method="post">
|
||||
|
||||
Reference in New Issue
Block a user