Ejemplo n.º 1
0
  <tr>
   <td class="mbox" width="50%"><em><?php 
        echo $row['language'];
        ?>
</em> <?php 
        echo $lang->phrase('admin_packages_language_edit_translation');
        ?>
<br /><span class="stext"><?php 
        echo $lang->phrase('admin_packages_language_edit_translation_text');
        ?>
</span></td>
   <td class="mbox" width="50%"><input type="text" name="langt[<?php 
        echo $row['id'];
        ?>
]" size="50" value="<?php 
        echo htmlspecialchars(nl2whitespace($phrases[$phrase]));
        ?>
" /></td>
  </tr>
  <?php 
    }
    ?>
  <tr>
   <td class="ubox" colspan="2" align="center"><input type="submit" name="Submit" value="Save" /></td>
  </tr>
 </table>
</form>
	<?php 
    echo foot();
} elseif ($job == 'package_updates') {
    $id = $gpc->get('id', int);
Ejemplo n.º 2
0
  <?php 
    foreach ($cache as $row) {
        ?>
  <tr>
   <td class="mbox" width="50%"><?php 
        echo $lang->phrase('admin_lang_translation');
        ?>
<br /><span class="stext"><?php 
        echo $lang->phrase('admin_lang_optional_html_not_recommended');
        ?>
</span></td>
   <td class="mbox" width="50%"><input type="text" name="langt[<?php 
        echo $row['id'];
        ?>
]" size="50" value="<?php 
        echo htmlspecialchars(nl2whitespace($row['phrase']));
        ?>
" /></td>
  </tr>
  <?php 
    }
    ?>
  <tr>
   <td class="ubox" colspan="2" align="center"><input type="submit" name="Submit" value="<?php 
    echo $lang->phrase('admin_lang_form_save');
    ?>
" /></td>
  </tr>
 </table>
</form>
	<?php