Procházet zdrojové kódy

avoid E_STRICT errors

pdontthink před 17 roky
rodič
revize
ea05651dd4
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      templates/default/options_advidentity_list.tpl

+ 2 - 2
templates/default/options_advidentity_list.tpl

@@ -85,7 +85,7 @@ extract($t);
       <textarea name="newidentities[<?php echo $index; ?>][signature]" cols="50" rows="5"><?php echo $identity['Signature']; ?></textarea>
      </td>
     </tr>
-    <?php /* FIXME: No hooks in templates! */ echo concat_hook_function('options_identities_table', $temp=array('', &$identity['New'], &$index)); ?>
+    <?php /* FIXME: No hooks in templates! */ $temp = array('', &$identity['New'], &$index); echo concat_hook_function('options_identities_table', $temp); ?>
     <tr>
      <td colspan="2" class="actionButtons">
       <input type="submit" name="smaction[save][<?php echo $index; ?>]" value="<?php echo _("Save / Update"); ?>" />
@@ -101,7 +101,7 @@ extract($t);
       <input type="submit" name="smaction[move][<?php echo $index; ?>]" value="<?php echo _("Move Up"); ?>" />
             <?php
         }
-        /* FIXME: No hooks in templates! */ echo concat_hook_function('options_identities_buttons', $temp=array(&$identity['New'], &$index));
+        /* FIXME: No hooks in templates! */ echo $temp = array(&$identity['New'], &$index); concat_hook_function('options_identities_buttons', $temp);
       ?>
      </td>
     </tr>