Archived
1
0

group.inc - fixed some possible typos

This commit is contained in:
Ian
2012-06-01 15:29:06 +02:00
parent d3e3ef3516
commit 064506d6f9
2 changed files with 5 additions and 10 deletions
+4 -9
View File
@@ -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 : */
+1 -1
View File
@@ -48,7 +48,7 @@
{/foreach}
</td>
</tr>
{if ! $new}
{if !$new}
<tr>
<td colspan="3" align="right">
<form action="?serendipity[adminModule]=groups" method="post">