mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 16:53:34 +02:00
- Replace some mysql_query by pwg_query function.
- Add home button after upgrade.php. - Add utf8 charset for access denied message. - Replace some #content by .content in css files. - Fix menubar blocks borders with IE. git-svn-id: http://piwigo.org/svn/trunk@2884 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -124,10 +124,10 @@ UPDATE '.PREFIX_TABLE.'plugins
|
||||
SET state="inactive"
|
||||
WHERE id IN ("' . implode('","', $plugins) . '")
|
||||
;';
|
||||
mysql_query($query);
|
||||
pwg_query($query);
|
||||
|
||||
array_push($page['infos'],
|
||||
l10n('deactivated plugins').'<br /><br /><i>'.implode(', ', $plugins).'</i><br />');
|
||||
l10n('deactivated plugins').'<p><i>'.implode(', ', $plugins).'</i></p>');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ ON u.'.$conf['user_fields']['id'].'=ui.user_id
|
||||
WHERE '.$conf['user_fields']['username'].'="'.$username.'"
|
||||
;';
|
||||
}
|
||||
$row = mysql_fetch_assoc(mysql_query($query));
|
||||
$row = mysql_fetch_assoc(pwg_query($query));
|
||||
|
||||
if (!isset($conf['pass_convert']))
|
||||
{
|
||||
|
||||
@@ -104,6 +104,10 @@ textarea { margin-left: 20px; }
|
||||
<li>{$info}</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
|
||||
<form action="index.php" method="post">
|
||||
<p><input type="submit" name="submit" value="{'home'|@translate}"/></p>
|
||||
</form>
|
||||
{/if}
|
||||
|
||||
</div> {* content *}
|
||||
|
||||
Reference in New Issue
Block a user