mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-17 15:29:55 -04:00
Refactor all calls of p::clean() to SafeString::of() and p::purify() to SafeString::purify().
Removing any p::clean() calls for arguments to t() and t2() since their args are wrapped in a SafeString anyway.
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<html>
|
||||
<head>
|
||||
<title><?= p::clean($subject) ?> </title>
|
||||
<title><?= SafeString::of($subject) ?> </title>
|
||||
</head>
|
||||
<body>
|
||||
<h2><?= p::clean($subject) ?></h2>
|
||||
<h2><?= SafeString::of($subject) ?></h2>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<?= t("To view the changed album %title use the link below.",
|
||||
array("title" => p::purify($item->parent()->title))) ?>
|
||||
array("title" => SafeString::purify($item->parent()->title))) ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user