short_open_tags can't be set through ini_set(), not even in PHP 5.3.
authorJan Schneider <jan@horde.org>
Mon, 5 Jul 2010 21:43:07 +0000 (23:43 +0200)
committerJan Schneider <jan@horde.org>
Mon, 5 Jul 2010 21:43:07 +0000 (23:43 +0200)
43 files changed:
babel/view.php
content/app/views/Tag/recentTags.html.php
content/app/views/Tag/searchTags.html.php
flexdemo/garland/main.html.php
flexdemo/garland/right.html.php
framework/View/lib/Horde/View/Base.php
framework/View/lib/Horde/View/Helper/Benchmark.php
framework/View/lib/Horde/View/Helper/Capture.php
framework/View/lib/Horde/View/Helper/Tag.php
framework/View/lib/Horde/View/Helper/Text.php
framework/View/test/Horde/View/fixtures/_myPartial.html.php
framework/View/test/Horde/View/fixtures/_myPartialLocals.html.php
framework/View/test/Horde/View/fixtures/_myPartialObject.html.php
framework/View/test/Horde/View/fixtures/subdir/testRender.html.php
framework/View/test/Horde/View/fixtures/testEscape.html.php
framework/View/test/Horde/View/fixtures/testPartial.html.php
framework/View/test/Horde/View/fixtures/testPartialCollection.html.php
framework/View/test/Horde/View/fixtures/testPartialLocals.html.php
framework/View/test/Horde/View/fixtures/testPartialObject.html.php
framework/View/test/Horde/View/fixtures/testRender.html.php
koward/lib/Koward/View/Check/run.html.php
koward/lib/Koward/View/Check/show.html.php
koward/lib/Koward/View/Index/index.html.php
koward/lib/Koward/View/Index/login.html.php
koward/lib/Koward/View/Object/add.html.php
koward/lib/Koward/View/Object/delete.html.php
koward/lib/Koward/View/Object/edit.html.php
koward/lib/Koward/View/Object/listall.html.php
koward/lib/Koward/View/Object/search.html.php
koward/lib/Koward/View/Object/view.html.php
koward/lib/Koward/View/shared/_menu.html.php
kronolith/templates/itip/notification.html.php
kronolith/templates/itip/notification.plain.php
luxor/templates/directory.html.php
luxor/templates/symbol.html.php
turba/templates/search/advanced.html.php
turba/templates/search/basic.html.php
turba/templates/search/duplicate.html.php
turba/templates/search/duplicate/contact_header.html.php
turba/templates/search/duplicate/header.html.php
turba/templates/search/duplicate/list.html.php
turba/templates/search/header.html.php
turba/templates/search/vbook.html.php

index 14240d4..dd40c8f 100644 (file)
@@ -355,15 +355,15 @@ if (!$app) {
 
 
        ?>
-<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 />&nbsp;
+  <?php echo Translate_Display::display_string($msgid) ?><br />&nbsp;
 </td>
 <td valign=top  rowspan=3 width=30%>
 <table border=0 width=100% cellspacing=0 cellpadding=0>
index d069cec..9cd22cc 100644 (file)
@@ -1,5 +1,5 @@
 <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>
index 5aeaf2e..7a76eec 100644 (file)
@@ -1,5 +1,5 @@
 <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>
index cfcdeab..abd097b 100644 (file)
@@ -26,7 +26,7 @@
 \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
@@ -34,7 +34,7 @@
         <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
@@ -42,7 +42,7 @@
 \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
index 34388a4..73fd064 100644 (file)
@@ -1 +1 @@
-<?= $this->blockContent('flexdemo', 'menu') ?>
\ No newline at end of file
+<?php echo $this->blockContent('flexdemo', 'menu') ?>
\ No newline at end of file
index 61edf1a..7850484 100644 (file)
@@ -261,7 +261,7 @@ abstract class Horde_View_Base
      *
      * <code>
      *   <div>
-     *   <?= $this->renderPartial('sidebarInfo') ?>
+     *   <?php echo $this->renderPartial('sidebarInfo') ?>
      *   </div>
      * </code>
      *
index dc49457..6f72435 100644 (file)
@@ -20,7 +20,7 @@
  * 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.
index 6049a2f..aa67f8e 100644 (file)
@@ -54,7 +54,7 @@ class Horde_View_Helper_Capture extends Horde_View_Helper_Base
      *
      * 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"
index 5f779b6..91384c6 100644 (file)
@@ -100,7 +100,7 @@ class Horde_View_Helper_Tag extends Horde_View_Helper_Base
      * 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.
index b557f53..4da554e 100644 (file)
@@ -39,7 +39,7 @@ class Horde_View_Helper_Text extends Horde_View_Helper_Base
      * 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.
@@ -78,7 +78,7 @@ class Horde_View_Helper_Text extends Horde_View_Helper_Base
      * 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 %>
@@ -89,10 +89,10 @@ class Horde_View_Helper_Text extends Horde_View_Helper_Base
      * 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 %>
index f374d0e..e4e7bd2 100644 (file)
@@ -1 +1 @@
-<p><?= $this->myVar2 ?></p>
\ No newline at end of file
+<p><?php echo $this->myVar2 ?></p>
\ No newline at end of file
index 74607eb..1f4c65a 100644 (file)
@@ -1 +1 @@
-<p><?= $a ?> <?= $b ?></p>
\ No newline at end of file
+<p><?php echo $a ?> <?php echo $b ?></p>
\ No newline at end of file
index e2db662..9c68783 100644 (file)
@@ -1 +1 @@
-<p><?= $myPartialObject->string_value ?></p>
\ No newline at end of file
+<p><?php echo $myPartialObject->string_value ?></p>
\ No newline at end of file
index 5ecca93..2a102e2 100644 (file)
@@ -1 +1 @@
-<div>subdir <?= $this->myVar ?></div>
\ No newline at end of file
+<div>subdir <?php echo $this->myVar ?></div>
\ No newline at end of file
index f565419..b6f55ee 100644 (file)
@@ -1 +1 @@
-<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
index bbf96b6..b2aca8f 100644 (file)
@@ -1 +1 @@
-<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
index cc3b3a4..af5ba67 100644 (file)
@@ -1 +1 @@
-<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
index e6cc644..ac981f3 100644 (file)
@@ -1 +1 @@
-<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
index d61d7ec..5072bdb 100644 (file)
@@ -1 +1 @@
-<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
index b764885..d893f8e 100644 (file)
@@ -1 +1 @@
-<div><?= $this->myVar ?></div>
\ No newline at end of file
+<div><?php echo $this->myVar ?></div>
\ No newline at end of file
index ea945e8..c05dc7b 100644 (file)
@@ -1,5 +1,5 @@
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
 
 <?php
 if (!empty($this->test)) {
index f58908f..f262977 100644 (file)
@@ -1,5 +1,5 @@
-<?= $this->renderPartial('header'); ?>
-<?= $this->renderPartial('menu'); ?>
+<?php echo $this->renderPartial('header'); ?>
+<?php echo $this->renderPartial('menu'); ?>
 
 <?php
 
index 0696b72..048b91b 100644 (file)
@@ -1,6 +1,6 @@
-<?= $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>
index 58f9066..e4ba628 100644 (file)
@@ -1,12 +1,12 @@
-<?= $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>
index 5185924..767d036 100644 (file)
@@ -1,4 +1,4 @@
-<?= $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
index f120ba6..7897642 100644 (file)
@@ -1,7 +1,7 @@
-<?= $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">
@@ -9,7 +9,7 @@
  <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>
index 5185924..767d036 100644 (file)
@@ -1,4 +1,4 @@
-<?= $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
index d3c162c..6a0dfe4 100644 (file)
@@ -1,9 +1,9 @@
-<?= $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)): ?>
 
@@ -17,7 +17,7 @@
     <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; ?>
index 4a1473f..d910b54 100644 (file)
@@ -1,10 +1,10 @@
-<?= $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">
@@ -17,7 +17,7 @@
     <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): ?>
@@ -48,9 +48,9 @@
        }
        ?>
    <?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; ?>
index 282be96..70a0cd1 100644 (file)
@@ -1,5 +1,5 @@
-<?= $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,
index 6aaf097..d0364e4 100644 (file)
@@ -1,5 +1,5 @@
 <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; ?>
index 49f6ac8..8a45299 100644 (file)
@@ -1,39 +1,39 @@
-<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>
@@ -42,6 +42,6 @@
   </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>
index 65f8bc5..6383610 100644 (file)
@@ -1,40 +1,40 @@
-<?= $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 ?>
 
index 7ad47ec..46023f9 100644 (file)
@@ -1,19 +1,19 @@
 <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>
index 87afb98..fa57123 100644 (file)
@@ -1,28 +1,28 @@
 <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 ?>
index c3538f1..8f0986d 100644 (file)
@@ -2,17 +2,17 @@
  <tr>
   <td>&nbsp;</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>
@@ -21,8 +21,8 @@
 <? 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; ?>
index f4e87f4..1482003 100644 (file)
@@ -1,25 +1,25 @@
 <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") ?>" />
index cdef321..c8c2c42 100644 (file)
@@ -1,11 +1,11 @@
 <? 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
index 314ccb8..097dc9a 100644 (file)
@@ -1,31 +1,31 @@
 <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>
index 1933bd9..f044d11 100644 (file)
@@ -1,3 +1,3 @@
 <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">
index a81c7d5..c7cf6c2 100644 (file)
@@ -3,19 +3,19 @@
 <? 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>
index 709118a..845cd63 100644 (file)
@@ -1,6 +1,6 @@
 <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; ?>
index 44b2fc8..468874c 100644 (file)
@@ -1,9 +1,9 @@
 <? 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() {