diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 19:27:14 +0400 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-28 19:27:14 +0400 |
commit | bca3a6f8fa6ed52f29f3b6cb80a7fc396efc9262 (patch) | |
tree | 00d170a21b544cb7f0f512733894b3a7c8161ec0 /search | |
parent | 876b867c3305b75a5963a360e5b1a888ea570bfd (diff) |
Replace translation strings
Grep: echo \$l\-\>t\(\'([^']*)\'\)
Replace with:p(\$l\-\>t\(\'\1\'\)\)
Grep: echo \$l\-\>t\(\"([^"]*)\"\)
Replace with: p(\$l\-\>t\(\"\1\"\)\)
Diffstat (limited to 'search')
-rw-r--r-- | search/templates/index.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/search/templates/index.php b/search/templates/index.php index 2f728ac2c..fed7a58e4 100644 --- a/search/templates/index.php +++ b/search/templates/index.php @@ -11,7 +11,7 @@ <div id='notification'></div>
<?php if (empty($_['files'])): ?>
- <div id="emptyfolder"><?php echo $l->t('Nothing found.') ?></div>
+ <div id="emptyfolder"><?php p($l->t('Nothing found.')) ?></div>
<?php endif; ?>
<!-- results list -->
@@ -20,16 +20,16 @@ <tr>
<th id='headerName'>
<input type="checkbox" id="select_all" />
- <span class='name'><?php echo $l->t('Name'); ?></span>
+ <span class='name'><?php p($l->t('Name')); ?></span>
<span class='selectedActions'>
<?php if ($_['allowZipDownload']) : ?>
- <a href="" class="download"><img class='svg' alt="Download" src="<?php echo OCP\image_path("core", "actions/download.svg"); ?>" /> <?php echo $l->t('Download') ?></a>
+ <a href="" class="download"><img class='svg' alt="Download" src="<?php echo OCP\image_path("core", "actions/download.svg"); ?>" /> <?php p($l->t('Download')) ?></a>
<?php endif; ?>
</span>
</th>
- <th id="headerSize"><?php echo $l->t('Size'); ?></th>
+ <th id="headerSize"><?php p($l->t('Size')); ?></th>
<th id="headerDate">
- <span id="modified"><?php echo $l->t('Modified'); ?></span>
+ <span id="modified"><?php p($l->t('Modified')); ?></span>
</th>
</tr>
</thead>
|