mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-09 14:49:21 +00:00
escape workflow name, fix counting recipients
This commit is contained in:
parent
4d471ed592
commit
4a678ad1ec
|
@ -832,7 +832,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style {
|
||||||
echo "</thead><tbody>";
|
echo "</thead><tbody>";
|
||||||
foreach($wkflogt as $wkflog) {
|
foreach($wkflogt as $wkflog) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>".$wkflog->getWorkflow()->getName()."</td>";
|
echo "<td>".htmlspecialchars($wkflog->getWorkflow()->getName())."</td>";
|
||||||
echo "<td>".$wkflog->getDate()."</td>";
|
echo "<td>".$wkflog->getDate()."</td>";
|
||||||
echo "<td>".htmlspecialchars($wkflog->getTransition()->getAction()->getName())."</td>";
|
echo "<td>".htmlspecialchars($wkflog->getTransition()->getAction()->getName())."</td>";
|
||||||
$loguser = $wkflog->getUser();
|
$loguser = $wkflog->getUser();
|
||||||
|
@ -1325,7 +1325,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Theme_Style {
|
||||||
|
|
||||||
print "<thead>\n";
|
print "<thead>\n";
|
||||||
print "<tr>\n";
|
print "<tr>\n";
|
||||||
print "<th width='20%'>".(($count($receiptStatus) > 5) ? '<input type="text" id="filterRecipientsInput" placeholder="'.getMLText('type_to_filter').'">' : getMLText('name'))."</th>\n";
|
print "<th width='20%'>".((count($receiptStatus) > 5) ? '<input type="text" id="filterRecipientsInput" placeholder="'.getMLText('type_to_filter').'">' : getMLText('name'))."</th>\n";
|
||||||
print "<th width='20%'>".getMLText("last_update")."</th>\n";
|
print "<th width='20%'>".getMLText("last_update")."</th>\n";
|
||||||
print "<th width='25%'>".getMLText("comment")."</th>";
|
print "<th width='25%'>".getMLText("comment")."</th>";
|
||||||
print "<th width='15%'>".getMLText("status")."</th>\n";
|
print "<th width='15%'>".getMLText("status")."</th>\n";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user