?>
-<a name="<?= md5($encstr) ?>">
-<table border=0 width=100% style="border: solid <?= $bgcolor ?>;">
+<a name="<?php echo md5($encstr) ?>">
+<table border=0 width=100% style="border: solid <?php echo $bgcolor ?>;">
<tr>
<td valign=top class="control" style="height: 18px; border-bottom: 1px solid #999;"><b>MSGID</b></td>
<td valign=top class="control" style="height: 18px; border-bottom: 1px solid #999;"><b>REFERENCES</b></td>
<td valign=top class="control" style="height: 18px; border-bottom: 1px solid #999;"><b>STATUS</b></td>
</tr>
<tr><td valign=top class="item0">
- <?= Translate_Display::display_string($msgid) ?><br />
+ <?php echo Translate_Display::display_string($msgid) ?><br />
</td>
<td valign=top rowspan=3 width=30%>
<table border=0 width=100% cellspacing=0 cellpadding=0>
<ul>
<?php foreach ($this->results as $tag): ?>
- <li value="<?= $this->escape($tag['tag_id']) ?>" created="<?= $this->escape($tag['created']) ?>"><?= $this->escape($tag['tag_name']) ?></li>
+ <li value="<?php echo $this->escape($tag['tag_id']) ?>" created="<?php echo $this->escape($tag['created']) ?>"><?php echo $this->escape($tag['tag_name']) ?></li>
<?php endforeach ?>
</ul>
<ul>
<?php foreach ($this->results as $tag_id => $tag_name): ?>
- <li value="<?= $this->escape($tag_id) ?>"><?= $this->escape($tag_name) ?></li>
+ <li value="<?php echo $this->escape($tag_id) ?>"><?php echo $this->escape($tag_name) ?></li>
<?php endforeach ?>
</ul>
\r
<div id="sidebar-left" class="sidebar">\r
<div class="clear-block block">\r
- <?= $this->render('left.html.php') ?>\r
+ <?php echo $this->render('left.html.php') ?>\r
</div>\r
</div>\r
\r
<div id="squeeze">\r
<div class="right-corner">\r
<div class="left-corner">\r
- <?= $this->render('app.html.php') ?>\r
+ <?php echo $this->render('app.html.php') ?>\r
</div>\r
</div>\r
</div>\r
\r
<div id="sidebar-right" class="sidebar">\r
<div class="clear-block block">\r
- <?= $this->render('right.html.php') ?>\r
+ <?php echo $this->render('right.html.php') ?>\r
</div>\r
</div>\r
\r
-<?= $this->blockContent('flexdemo', 'menu') ?>
\ No newline at end of file
+<?php echo $this->blockContent('flexdemo', 'menu') ?>
\ No newline at end of file
*
* <code>
* <div>
- * <?= $this->renderPartial('sidebarInfo') ?>
+ * <?php echo $this->renderPartial('sidebarInfo') ?>
* </div>
* </code>
*
* and reports the result to the log. Example:
*
* <? $bench = $this->benchmark("Notes section") ?>
- * <?= $this->expensiveNotesOperation() ?>
+ * <?php echo $this->expensiveNotesOperation() ?>
* <? $bench->end() ?>
*
* Will add something like "Notes section (0.34523)" to the log.
*
* You can then use $this->contentForHeader anywhere in your templates:
*
- * <?= $this->contentForHeader ?>
+ * <?php echo $this->contentForHeader ?>
*
* @param string $name Name of the content that becomes the instance
* variable name. "foo" -> "$this->contentForFoo"
* Escapes a value for output in a view template.
*
* <code>
- * <p><?= $this->escape($this->templateVar) ?></p>
+ * <p><?php echo $this->escape($this->templateVar) ?></p>
* </code>
*
* @param mixed $var The output to escape.
* Escapes a value for output in a view template.
*
* <code>
- * <p><?= $this->h($this->templateVar) ?></p>
+ * <p><?php echo $this->h($this->templateVar) ?></p>
* </code>
*
* @param mixed $var The output to escape.
* classes for table rows:
*
* <? foreach($items as $item): ?>
- * <tr class="<?= $this->cycle("even", "odd") ?>">
+ * <tr class="<?php echo $this->cycle("even", "odd") ?>">
* <td>item</td>
* </tr>
* <% endforeach %>
* name of the cycle.
*
* <? foreach($items as $item): ?>
- * <tr class="<?= $this->cycle("even", "odd", array('name' => "row_class")) ?>">
+ * <tr class="<?php echo $this->cycle("even", "odd", array('name' => "row_class")) ?>">
* <td>
* <? foreach ($item->values as $value) ?>
- * <span style="color:<?= $this->cycle("red", "green", "blue", array('name' => "colors")) ?>">
+ * <span style="color:<?php echo $this->cycle("red", "green", "blue", array('name' => "colors")) ?>">
* value
* </span>
* <% end %>
-<p><?= $this->myVar2 ?></p>
\ No newline at end of file
+<p><?php echo $this->myVar2 ?></p>
\ No newline at end of file
-<p><?= $a ?> <?= $b ?></p>
\ No newline at end of file
+<p><?php echo $a ?> <?php echo $b ?></p>
\ No newline at end of file
-<p><?= $myPartialObject->string_value ?></p>
\ No newline at end of file
+<p><?php echo $myPartialObject->string_value ?></p>
\ No newline at end of file
-<div>subdir <?= $this->myVar ?></div>
\ No newline at end of file
+<div>subdir <?php echo $this->myVar ?></div>
\ No newline at end of file
-<div>test <?= $this->h($this->myVar) ?> quotes</div>
\ No newline at end of file
+<div>test <?php echo $this->h($this->myVar) ?> quotes</div>
\ No newline at end of file
-<div><?= @$this->myVar1 ?><?= $this->renderPartial('myPartial') ?></div>
\ No newline at end of file
+<div><?php echo @$this->myVar1 ?><?php echo $this->renderPartial('myPartial') ?></div>
\ No newline at end of file
-<div><?= $this->renderPartial('myPartialObject', array('collection' => $this->myObjects)) ?></div>
\ No newline at end of file
+<div><?php echo $this->renderPartial('myPartialObject', array('collection' => $this->myObjects)) ?></div>
\ No newline at end of file
-<div><?= $this->renderPartial('myPartialLocals', array('locals' => array('a' => 'hello', 'b' => 'world'))) ?></div>
\ No newline at end of file
+<div><?php echo $this->renderPartial('myPartialLocals', array('locals' => array('a' => 'hello', 'b' => 'world'))) ?></div>
\ No newline at end of file
-<div><?= $this->renderPartial('myPartialObject', array('object' => $this->myObject)) ?></div>
\ No newline at end of file
+<div><?php echo $this->renderPartial('myPartialObject', array('object' => $this->myObject)) ?></div>
\ No newline at end of file
-<div><?= $this->myVar ?></div>
\ No newline at end of file
+<div><?php echo $this->myVar ?></div>
\ No newline at end of file
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
<?php
if (!empty($this->test)) {
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
<?php
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
<div class="contenttext">
- <h1><?= $this->welcome ?></h1>
+ <h1><?php echo $this->welcome ?></h1>
</div>
-<?= $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('header'); ?>
<div id="menu">
- <h1 style="text-align:center"><?= $this->welcome ?></h1>
+ <h1 style="text-align:center"><?php echo $this->welcome ?></h1>
</div>
<?php $this->koward->notification->notify(array('listeners' => 'status')) ?>
-<form name="koward_login" method="post" action="<?= $this->post ?>">
+<form name="koward_login" method="post" action="<?php echo $this->post ?>">
<table width="100%"><tr><td align="center"><table width="300" align="center">
<tr>
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
-<?= $this->form->renderActive(new Horde_Form_Renderer(), $this->vars,
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
+<?php echo $this->form->renderActive(new Horde_Form_Renderer(), $this->vars,
$this->post, 'post'); ?>
\ No newline at end of file
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
-<form action="<?= $this->submit_url ?>" method="post" name="delete">
+<form action="<?php echo $this->submit_url ?>" method="post" name="delete">
<?php echo Horde_Util::formInput() ?>
<div class="headerbox">
<p><?php echo _("Permanently delete this object?") ?></p>
<input type="submit" class="button" name="delete" value="<?php echo _("Delete") ?>" />
- <a class="button" href="<?= $this->return_url ?>"><?php echo _("Cancel") ?></a>
+ <a class="button" href="<?php echo $this->return_url ?>"><?php echo _("Cancel") ?></a>
</div>
</form>
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
-<?= $this->form->renderActive(new Horde_Form_Renderer(), $this->vars,
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
+<?php echo $this->form->renderActive(new Horde_Form_Renderer(), $this->vars,
$this->post, 'post'); ?>
\ No newline at end of file
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
-<?= $this->addBuiltinHelpers(); ?>
+<?php echo $this->addBuiltinHelpers(); ?>
-<?= $this->tabs->render($this->object_type); ?>
+<?php echo $this->tabs->render($this->object_type); ?>
<?php if (isset($this->objectlist)): ?>
<th class="item" width="1%"><?php echo Horde::img('delete.png', _("Delete")) ?></th>
<?php endif; ?>
<?php foreach ($this->attributes as $attribute => $info): ?>
- <th class="item leftAlign" width="<?php echo $info['width'] ?>%" nowrap="nowrap"><?= $info['title'] ?></th>
+ <th class="item leftAlign" width="<?php echo $info['width'] ?>%" nowrap="nowrap"><?php echo $info['title'] ?></th>
<?php endforeach; ?>
</tr>
</thead>
<tr>
<?php if ($this->allowEdit): ?>
<td>
- <?= $info['edit_url'] ?>
+ <?php echo $info['edit_url'] ?>
</td>
<?php endif; ?>
<?php if ($this->allowDelete): ?>
<td>
- <?= $info['delete_url'] ?>
+ <?php echo $info['delete_url'] ?>
</td>
<?php endif; ?>
<?php foreach ($this->attributes as $attribute => $ainfo): ?>
<td>
<?php if (!empty($ainfo['link_view'])): ?>
- <?= $info['view_url'] . $this->escape($info[$attribute]) . '</a>'; ?>
+ <?php echo $info['view_url'] . $this->escape($info[$attribute]) . '</a>'; ?>
<?php else: ?>
- <?= $this->escape($info[$attribute]) ?>
+ <?php echo $this->escape($info[$attribute]) ?>
<?php endif; ?>
</td>
<?php endforeach; ?>
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
-<?= $this->addBuiltinHelpers(); ?>
+<?php echo $this->addBuiltinHelpers(); ?>
<?php if (empty($this->objectlist)): ?>
- <?= $this->form->renderActive(new Horde_Form_Renderer(), $this->vars,
+ <?php echo $this->form->renderActive(new Horde_Form_Renderer(), $this->vars,
$this->post, 'post'); ?>
<?php else: ?>
<table cellspacing="0" width="100%" class="linedRow">
<th class="item" width="1%"><?php echo Horde::img('delete.png', _("Delete")) ?></th>
<?php endif; ?>
<?php foreach ($this->attributes as $attribute => $info): ?>
- <th class="item leftAlign" width="<?php echo $info['width'] ?>%" nowrap="nowrap"><?= $info['title'] ?></th>
+ <th class="item leftAlign" width="<?php echo $info['width'] ?>%" nowrap="nowrap"><?php echo $info['title'] ?></th>
<?php endforeach; ?>
</tr>
</thead>
<tr>
<?php if ($this->allowEdit): ?>
<td>
- <?= $info['edit_url'] ?>
+ <?php echo $info['edit_url'] ?>
</td>
<?php endif; ?>
<?php if ($this->allowDelete): ?>
<td>
- <?= $info['delete_url'] ?>
+ <?php echo $info['delete_url'] ?>
</td>
<?php endif; ?>
<?php foreach ($this->attributes as $attribute => $ainfo): ?>
}
?>
<?php if (!empty($ainfo['link_view'])): ?>
- <?= $info['view_url'] . $this->escape($value) . '</a>'; ?>
+ <?php echo $info['view_url'] . $this->escape($value) . '</a>'; ?>
<?php else: ?>
- <?= $this->escape($value) ?>
+ <?php echo $this->escape($value) ?>
<?php endif; ?>
</td>
<?php endforeach; ?>
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
<?php
if (isset($this->actions)) {
echo $this->actions->renderActive(new Horde_Form_Renderer(), $this->vars,
<div id="menu">
- <?= $this->menu->render(); ?>
+ <?php echo $this->menu->render(); ?>
</div>
<?php if (!empty($this->current_user)): ?>
<div id="menuBottom"><?php echo _("Current user: ") . $this->current_user; ?>
-<h3><?= $this->h($this->header) ?></h3>
+<h3><?php echo $this->h($this->header) ?></h3>
<table style="border-collapse:collapse;border:1px solid #000" border="1">
<thead><tr>
- <th colspan="2" style="font-weight:bold;font-size:120%;background-color:#ddd"><?= $this->h($this->event->getTitle()) ?></th>
+ <th colspan="2" style="font-weight:bold;font-size:120%;background-color:#ddd"><?php echo $this->h($this->event->getTitle()) ?></th>
</tr></thead>
<tbody>
<tr>
- <td style="font-weight:bold;vertical-align:top"><?= _("Start:") ?></td>
- <td><?= $this->h($this->event->start->strftime('%x %X')) ?></td>
+ <td style="font-weight:bold;vertical-align:top"><?php echo _("Start:") ?></td>
+ <td><?php echo $this->h($this->event->start->strftime('%x %X')) ?></td>
</tr>
<tr>
- <td style="font-weight:bold;vertical-align:top"><?= _("End:") ?></td>
- <td><?= $this->h($this->event->end->strftime('%x %X')) ?></td>
+ <td style="font-weight:bold;vertical-align:top"><?php echo _("End:") ?></td>
+ <td><?php echo $this->h($this->event->end->strftime('%x %X')) ?></td>
</tr>
<? if (strlen($this->event->location)): ?>
<tr>
- <td style="font-weight:bold;vertical-align:top"><?= _("Location:") ?></td>
- <td><?= $this->h($this->event->location) ?></td>
+ <td style="font-weight:bold;vertical-align:top"><?php echo _("Location:") ?></td>
+ <td><?php echo $this->h($this->event->location) ?></td>
</tr>
<? endif; ?>
<? if (strlen($this->event->description)): ?>
<tr>
- <td style="font-weight:bold;vertical-align:top"><?= _("Description:") ?></td>
- <td><?= Horde_Text_Filter::filter($this->event->description, 'text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO, 'callback' => null, 'class' => null, 'charset' => Horde_Nls::getCharset())) ?></td>
+ <td style="font-weight:bold;vertical-align:top"><?php echo _("Description:") ?></td>
+ <td><?php echo Horde_Text_Filter::filter($this->event->description, 'text2html', array('parselevel' => Horde_Text_Filter_Text2html::MICRO, 'callback' => null, 'class' => null, 'charset' => Horde_Nls::getCharset())) ?></td>
</tr>
<? endif; ?>
<? if ($this->attendees): ?>
<tr>
- <td style="font-weight:bold;vertical-align:top"><?= _("Attendees:") ?></td>
+ <td style="font-weight:bold;vertical-align:top"><?php echo _("Attendees:") ?></td>
<td>
<? foreach ($this->attendees as $attendee): ?>
<? if (strpos('@', $attendee) === false): ?>
- <?= $attendee ?><br />
+ <?php echo $attendee ?><br />
<? else: ?>
- <a href="mailto:<?= $attendee ?>"><?= $attendee ?></a><br />
+ <a href="mailto:<?php echo $attendee ?>"><?php echo $attendee ?></a><br />
<? endif; ?>
<? endforeach; ?>
</td>
</tbody>
</table>
-<p><?= _("Attached is an iCalendar file with more information about the event. If your mail client supports iTip requests you can use this file to easily update your local copy of the event.") ?></p>
+<p><?php echo _("Attached is an iCalendar file with more information about the event. If your mail client supports iTip requests you can use this file to easily update your local copy of the event.") ?></p>
<p><? printf(_("If your email client doesn't support iTip requests you can use the following links to: %saccept%s, %saccept tentatively%s or %sdecline%s the event."), '<strong><a href="' . htmlspecialchars($this->linkAccept) . '">', '</a></strong>', '<strong><a href="' . htmlspecialchars($this->linkTentative) . '">', '</a></strong>', '<strong><a href="' . htmlspecialchars($this->linkDecline) . '">', '</a></strong>') ?></p>
-<?= $this->subject ?> (<? printf(_("on %s at %s"), $this->event->start->strftime('%x'), $this->event->start->strftime('%X')) ?>)
+<?php echo $this->subject ?> (<? printf(_("on %s at %s"), $this->event->start->strftime('%x'), $this->event->start->strftime('%X')) ?>)
<? if (strlen($this->event->location)): ?>
-<?= _("Location:") ?> <?= $this->event->location ?>
+<?php echo _("Location:") ?> <?php echo $this->event->location ?>
<? endif; ?>
<? if ($this->attendees): ?>
-<?= _("Attendees:") ?> <?= implode(', ', $this->attendees) ?>
+<?php echo _("Attendees:") ?> <?php echo implode(', ', $this->attendees) ?>
<? endif; ?>
<? if (strlen($this->event->description)): ?>
-<?= _("The following is a more detailed description of the event:") ?>
+<?php echo _("The following is a more detailed description of the event:") ?>
-<?= $this->event->description ?>
+<?php echo $this->event->description ?>
<? endif; ?>
-<?= _("Attached is an iCalendar file with more information about the event. If your mail client supports iTip requests you can use this file to easily update your local copy of the event.") ?>
+<?php echo _("Attached is an iCalendar file with more information about the event. If your mail client supports iTip requests you can use this file to easily update your local copy of the event.") ?>
-<?= _("If your email client doesn't support iTip requests you can use one of the following links to accept or decline the event.") ?>
+<?php echo _("If your email client doesn't support iTip requests you can use one of the following links to accept or decline the event.") ?>
-<?= _("To accept the event:") ?>
+<?php echo _("To accept the event:") ?>
-<?= $this->linkAccept ?>
+<?php echo $this->linkAccept ?>
-<?= _("To accept the event tentatively:") ?>
+<?php echo _("To accept the event tentatively:") ?>
-<?= $this->linkTentative ?>
+<?php echo $this->linkTentative ?>
-<?= _("To decline the event:") ?>
+<?php echo _("To decline the event:") ?>
-<?= $this->linkDecline ?>
+<?php echo $this->linkDecline ?>
<table id="filelist" class="striped sortable horde-table" cellspacing="0">
<thead>
<tr>
- <th class="sortdown" width="20%"><?= _("Name") ?></th>
- <th width="10%"><?= _("Size") ?></th>
- <th width="10%"><?= _("Date (GMT)") ?></th>
- <th width="60%"><?= _("Description") ?></th>
+ <th class="sortdown" width="20%"><?php echo _("Name") ?></th>
+ <th width="10%"><?php echo _("Size") ?></th>
+ <th width="10%"><?php echo _("Date (GMT)") ?></th>
+ <th width="60%"><?php echo _("Description") ?></th>
</tr>
</thead>
<tbody>
<? foreach ($this->files as $file): ?>
<tr>
- <td><a href="<?= $file['link'] ?>"><?= $file['icon'] ?> <?= $this->escape($file['name']) ?></a></td>
- <td><?= $this->escape($file['filesize']) ?> <?= $this->escape($file['bytes']) ?></td>
- <td><?= $this->escape($file['modtime']) ?></td>
- <td><?= $file['description'] ?></td>
+ <td><a href="<?php echo $file['link'] ?>"><?php echo $file['icon'] ?> <?php echo $this->escape($file['name']) ?></a></td>
+ <td><?php echo $this->escape($file['filesize']) ?> <?php echo $this->escape($file['bytes']) ?></td>
+ <td><?php echo $this->escape($file['modtime']) ?></td>
+ <td><?php echo $file['description'] ?></td>
</tr>
<? endforeach ?>
</tbody>
<div id="headerbar">
<h1 class="header">
- <?= $this->escape($this->title) ?>
+ <?php echo $this->escape($this->title) ?>
</h1>
</div>
<div id="symbol-declarations">
-<h2><?= _("Declarations") ?></h2>
+<h2><?php echo _("Declarations") ?></h2>
<? foreach ($this->declarations as $declaration): ?>
<dl class="box">
- <dt><?= $this->escape($declaration['title']) ?></dt>
+ <dt><?php echo $this->escape($declaration['title']) ?></dt>
<? foreach ($declaration['files'] as $file): ?>
- <dd><?= $file ?></dd>
+ <dd><?php echo $file ?></dd>
<? endforeach ?>
</dl>
<? endforeach ?>
</div>
<div id="symbol-references">
-<h2><?= _("Referenced in") ?></h2>
+<h2><?php echo _("Referenced in") ?></h2>
<? foreach ($this->references as $reference): ?>
<dl class="box">
- <dt><?= $reference['file'] ?></dt>
+ <dt><?php echo $reference['file'] ?></dt>
<? foreach ($reference['lines'] as $line): ?>
- <dd><?= $line ?></dd>
+ <dd><?php echo $line ?></dd>
<? endforeach ?>
</dl>
<? endforeach ?>
<tr>
<td> </td>
<td>
- <input type="submit" class="button" name="search" value="<?= _("Search") ?>" />
- <input type="reset" class="button" name="reset" value="<?= _("Reset to Defaults") ?>" />
+ <input type="submit" class="button" name="search" value="<?php echo _("Search") ?>" />
+ <input type="reset" class="button" name="reset" value="<?php echo _("Reset to Defaults") ?>" />
</td>
</tr>
<? if (count($this->addressBooks) > 1): ?>
<tr>
- <td class="rightAlign"><strong><label for="source"><?= _("Address Book") ?></label></strong></td>
+ <td class="rightAlign"><strong><label for="source"><?php echo _("Address Book") ?></label></strong></td>
<td class="leftAlign">
<select id="source" name="source" onchange="directory_search.submit()">
<? foreach ($this->addressBooks as $key => $entry): ?>
- <option<?= $key == $this->source ? ' selected="selected"' : '' ?> value="<?= $key ?>"><?= $this->h($entry['title']) ?></option>
+ <option<?php echo $key == $this->source ? ' selected="selected"' : '' ?> value="<?php echo $key ?>"><?php echo $this->h($entry['title']) ?></option>
<? endforeach; ?>
</select>
</td>
<? foreach ($this->map as $name => $v): ?>
<? if (substr($name, 0, 2) != '__'): ?>
<tr>
- <td width="1%" class="nowrap rightAlign" ><strong><label for="<?= $name ?>"><?= $this->h($this->attributes[$name]['label']) ?></label></strong></td>
- <td class="leftAlign"><input type="text" size="30" id="<?= $name ?>" name="<?= $name ?>" value="<?= isset($this->criteria[$name]) ? $this->h($this->criteria[$name]) : '' ?>" /></td>
+ <td width="1%" class="nowrap rightAlign" ><strong><label for="<?php echo $name ?>"><?php echo $this->h($this->attributes[$name]['label']) ?></label></strong></td>
+ <td class="leftAlign"><input type="text" size="30" id="<?php echo $name ?>" name="<?php echo $name ?>" value="<?php echo isset($this->criteria[$name]) ? $this->h($this->criteria[$name]) : '' ?>" /></td>
</tr>
<? endif; ?>
<? endforeach; ?>
<script type="text/javascript">
-TurbaSearch.criteria = <?= json_encode($this->allCriteria) ?>;
-TurbaSearch.shareSources = <?= json_encode($this->shareSources) ?>;
+TurbaSearch.criteria = <?php echo json_encode($this->allCriteria) ?>;
+TurbaSearch.shareSources = <?php echo json_encode($this->shareSources) ?>;
</script>
<? if (count($this->addressBooks) > 1): ?>
-<strong><label for="source"><?= _("From") ?></label></strong>
+<strong><label for="source"><?php echo _("From") ?></label></strong>
<select id="turbaSearchSource" name="source" onchange="TurbaSearch.updateCriteria();">
<? foreach ($this->addressBooks as $key => $entry): ?>
- <option<?= $key == $this->source ? ' selected="selected"' : '' ?> value="<?= $key ?>"><?= $this->h($entry['title']) ?></option>
+ <option<?php echo $key == $this->source ? ' selected="selected"' : '' ?> value="<?php echo $key ?>"><?php echo $this->h($entry['title']) ?></option>
<? endforeach; ?>
</select>
<? endif; ?>
-<strong><label for="criteria"><?= _("Find") ?></label></strong>
+<strong><label for="criteria"><?php echo _("Find") ?></label></strong>
<select id="turbaSearchCriteria" name="criteria">
<? foreach ($this->addressBooks[$this->source]['search'] as $field): ?>
- <option<?= $field == $this->criteria ? ' selected="selected"' : '' ?> value="<?= $field ?>"><?= $this->h($this->attributes[$field]['label'])
+ <option<?php echo $field == $this->criteria ? ' selected="selected"' : '' ?> value="<?php echo $field ?>"><?php echo $this->h($this->attributes[$field]['label'])
?></option>
<? endforeach; ?>
</select>
-<strong><label for="val"><?= _("Matching") ?></label></strong>
+<strong><label for="val"><?php echo _("Matching") ?></label></strong>
<input type="text" size="30" id="val" name="val" value="<?php echo $this->h($this->val) ?>" />
-<input class="button" type="submit" name="search" value="<?= _("Search") ?>" />
+<input class="button" type="submit" name="search" value="<?php echo _("Search") ?>" />
<? if (count($this->addressBooks) > 1): ?>
-<strong><label for="source"><?= _("Search duplicates in:") ?></label></strong>
+<strong><label for="source"><?php echo _("Search duplicates in:") ?></label></strong>
<select id="turbaSearchSource" name="source">
<? foreach ($this->addressBooks as $key => $entry): ?>
- <option<?= $key == $this->source ? ' selected="selected"' : '' ?> value="<?= $key ?>"><?= $this->h($entry['title']) ?></option>
+ <option<?php echo $key == $this->source ? ' selected="selected"' : '' ?> value="<?php echo $key ?>"><?php echo $this->h($entry['title']) ?></option>
<? endforeach; ?>
</select>
-<input class="button" type="submit" name="search" value="<?= _("Search") ?>" />
+<input class="button" type="submit" name="search" value="<?php echo _("Search") ?>" />
<? endif; ?>
</form>
</div>
\ No newline at end of file
<div class="turba-duplicate-contact solidbox">
<? if ($this->changed): ?>
<p>
- <?= _("Last change: ") . $this->changed ?>
+ <?php echo _("Last change: ") . $this->changed ?>
</p>
<? endif; ?>
<div class="turba-duplicate-forms">
<? if (!$this->first): ?>
- <form action="<?= $this->mergeUrl ?>">
- <input type="hidden" name="source" value="<?= $this->source ?>" />
- <input type="hidden" name="key" value="<?= $this->h($this->id) ?>" />
- <input type="hidden" name="url" value="<?= Horde::selfUrl(true) ?>" />
- <input type="hidden" name="merge_into" value="<?= $this->h($this->mergeTarget) ?>" />
- <input type="submit" class="button" value="<?= _("<< Merge this into the first contact") ?>" />
+ <form action="<?php echo $this->mergeUrl ?>">
+ <input type="hidden" name="source" value="<?php echo $this->source ?>" />
+ <input type="hidden" name="key" value="<?php echo $this->h($this->id) ?>" />
+ <input type="hidden" name="url" value="<?php echo Horde::selfUrl(true) ?>" />
+ <input type="hidden" name="merge_into" value="<?php echo $this->h($this->mergeTarget) ?>" />
+ <input type="submit" class="button" value="<?php echo _("<< Merge this into the first contact") ?>" />
</form>
<? endif; ?>
- <form action="<?= $this->contactUrl ?>">
- <input type="hidden" name="source" value="<?= $this->source ?>" />
- <input type="hidden" name="key" value="<?= $this->h($this->id) ?>" />
- <input type="hidden" name="url" value="<?= Horde::selfUrl(true) ?>" />
+ <form action="<?php echo $this->contactUrl ?>">
+ <input type="hidden" name="source" value="<?php echo $this->source ?>" />
+ <input type="hidden" name="key" value="<?php echo $this->h($this->id) ?>" />
+ <input type="hidden" name="url" value="<?php echo Horde::selfUrl(true) ?>" />
<input type="hidden" name="view" value="DeleteContact" />
- <input type="submit" class="button" value="<?= _("Delete") ?>" />
+ <input type="submit" class="button" value="<?php echo _("Delete") ?>" />
</form>
- <form action="<?= $this->contactUrl ?>">
- <input type="hidden" name="source" value="<?= $this->source ?>" />
- <input type="hidden" name="key" value="<?= $this->h($this->id) ?>" />
- <input type="hidden" name="url" value="<?= Horde::selfUrl(true) ?>" />
+ <form action="<?php echo $this->contactUrl ?>">
+ <input type="hidden" name="source" value="<?php echo $this->source ?>" />
+ <input type="hidden" name="key" value="<?php echo $this->h($this->id) ?>" />
+ <input type="hidden" name="url" value="<?php echo Horde::selfUrl(true) ?>" />
<input type="hidden" name="view" value="EditContact" />
- <input type="submit" class="button" value="<?= _("Edit") ?>" />
+ <input type="submit" class="button" value="<?php echo _("Edit") ?>" />
</form>
</div>
<br />
-<h3><?= $this->h(sprintf(_("Duplicates of %s \"%s\""), $this->type, $this->value)) ?></h3>
+<h3><?php echo $this->h(sprintf(_("Duplicates of %s \"%s\""), $this->type, $this->value)) ?></h3>
<div class="turba-duplicate">
<? endif; ?>
<br />
<? foreach ($this->duplicates as $field => $duplicates): ?>
-<h3><?= $this->h(sprintf(_("Duplicates of %s"), $this->attributes[$field]['label'])) ?></h3>
+<h3><?php echo $this->h(sprintf(_("Duplicates of %s"), $this->attributes[$field]['label'])) ?></h3>
<table class="horde-table horde-block-links sortable">
<thead>
<tr>
- <th><?= $this->h($this->attributes[$field]['label']) ?></th>
- <th><?= _("Count") ?></th>
+ <th><?php echo $this->h($this->attributes[$field]['label']) ?></th>
+ <th><?php echo _("Count") ?></th>
</tr>
</thead>
<tbody>
<? foreach ($duplicates as $value => $list): ?>
<tr>
- <td><a href="<?= $this->link->add(array('type' => $field, 'dupe' => $value)) ?>"><?= $this->h($value) ?></a></td>
- <td><a href="<?= $this->link->add(array('type' => $field, 'dupe' => $value)) ?>"><?= $list->count() ?></a></td>
+ <td><a href="<?php echo $this->link->add(array('type' => $field, 'dupe' => $value)) ?>"><?php echo $this->h($value) ?></a></td>
+ <td><a href="<?php echo $this->link->add(array('type' => $field, 'dupe' => $value)) ?>"><?php echo $list->count() ?></a></td>
</tr>
<? endforeach; ?>
</tbody>
<div class="text" style="padding:1em">
<form name="directory_search" action="search.php" method="get" onsubmit="RedBox.loading(); return true;">
-<?= Horde_Util::formInput() ?>
+<?php echo Horde_Util::formInput() ?>
<? if ($this->uniqueSource): ?>
-<input type="hidden" id="turbaSearchSource" name="source" value="<?= $this->uniqueSource ?>" />
+<input type="hidden" id="turbaSearchSource" name="source" value="<?php echo $this->uniqueSource ?>" />
<? endif; ?>
<? if ($this->hasShare): ?>
-<div id="vbook-form"<?= $this->shareSources[$this->source] ? '' : ' style="display:none"' ?>>
+<div id="vbook-form"<?php echo $this->shareSources[$this->source] ? '' : ' style="display:none"' ?>>
<input type="checkbox" id="save-vbook" name="save_vbook" />
- <strong><label for="save-vbook"><?= _("Save search as a virtual address book?") ?></label></strong>
+ <strong><label for="save-vbook"><?php echo _("Save search as a virtual address book?") ?></label></strong>
- <label for="vbook_name"><?= _("Name:") ?></label>
+ <label for="vbook_name"><?php echo _("Name:") ?></label>
<input type="text" id="vbook_name" name="vbook_name" />
<script type="text/javascript">
$('vbook_name').observe('keyup', function() {