/usr/share/horde/mnemo/templates/view/view.html.php is in php-horde-mnemo 4.2.12-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | <div class="horde-buttonbar">
<ul>
<?php if (class_exists('Horde_Pdf_Writer')): ?>
<li class="horde-icon"><?php echo Horde::widget(array('url' => $this->pdfurl, 'title' => _("Save as PDF"), 'class' => 'mnemo-pdf')) ?></li>
<?php endif ?>
<?php if ($this->edit): ?>
<li class="horde-icon"><?php echo $this->edit ?></li>
<?php endif ?>
<?php if ($this->delete): ?>
<li class="horde-icon"><?php echo $this->delete ?></li>
<?php endif ?>
</ul>
</div>
<div class="header">
<?php echo $this->h($this->desc) ?>
</div>
<div class="horde-header">
<table cellspacing="0" width="100%" class="nowrap">
<?php if ($this->tags): ?>
<tr>
<td class="horde-label"><strong><?php echo _("Tags") ?></strong> </td>
<td width="100%"><?php echo $this->h($this->tags) ?></td>
</tr>
<?php endif ?>
<?php if ($this->created): ?>
<tr>
<td class="horde-label"><strong><?php echo _("Created") ?></strong> </td>
<td width="100%">
<?php echo $this->created ?>
<?php echo $this->h($this->createdby) ?>
</td>
</tr>
<?php endif ?>
<?php if ($this->modified): ?>
<tr>
<td class="rightAlign"><strong><?php echo _("Last Modified") ?></strong> </td>
<td width="100%">
<?php echo $this->modified ?>
<?php echo $this->h($this->modifiedby) ?>
</td>
</tr>
<?php endif ?>
</table>
</div>
<?php if ($this->passphrase): ?>
<div class="notePassphrase">
<form action="view.php" name="passphrase" method="post">
<?php echo Horde_Util::formInput() ?>
<input type="hidden" name="memolist" value="<?php echo $this->h($this->listid) ?>" />
<input type="hidden" name="memo" value="<?php echo $this->h($this->id) ?>" />
<?php echo Horde::label('memo_passphrase', _("_Password")) ?>:
<input type="password" id="mnemo-passphrase" name="memo_passphrase" />
<input type="submit" class="horde-default" value="<?php echo _("Decrypt") ?>" />
</form>
</div>
<?php else: ?>
<div class="noteBody">
<?php echo $this->body ?>
</div>
<?php endif; ?>
|