[ Index ] |
|
Code source de IMP H3 (4.1.5) |
1 <form method="post" name="prefs" action="<?php echo Horde::selfUrl() ?>"> 2 <?php Util::pformInput() ?> 3 <input type="hidden" name="actionID" value="update" /> 4 <input type="hidden" name="group" value="<?php echo $group ?>" /> 5 <input type="hidden" name="app" value="<?php echo $app ?>" /> 6 7 <div class="header"> 8 <?php Prefs_UI::generateNavigationCell('compose') ?> 9 <?php echo _("Stationery") ?> 10 </div> 11 12 <p class="item"> 13 <select name="stationery" onchange="document.prefs.edit.click()"> 14 <option value=""><?php echo _("Create new stationery") ?></option> 15 <?php foreach ($stationery_list as $stationery_id => $stationery_choice): ?> 16 <option value="<?php echo $stationery_id ?>"<?php if ($selected === $stationery_id) echo ' selected="selected"' ?>><?php echo $stationery_choice['n'] . ' ' . ($stationery_choice['t'] == 'html' ? _("(HTML)") : _("(Plain Text)")) ?></option> 17 <?php endforeach; ?> 18 </select> 19 <input type="submit" name="edit" class="button" value="<?php echo _("Edit") ?>" /> 20 <br /><br /> 21 22 <?php if (!is_null($stationery)): if (!is_null($id)): ?> 23 <input type="hidden" name="id" value="<?php echo $id ?>" /> 24 <?php endif; ?> 25 <input type="hidden" name="last_type" value="<?php echo $stationery['t'] ?>" /> 26 <?php echo Horde::label('name', _("Stationery name:")) ?><br /> 27 <input type="text" name="name" id="name" value="<?php echo $stationery['n'] ?>" /><br /> 28 <?php echo Horde::label('type', _("Stationery type:")) ?><br /> 29 <select name="type" id="type" onchange="document.prefs.submit()"> 30 <option value="plain"<?php if ($stationery['t'] == 'plain') echo ' selected="selected"' ?>><?php echo _("Text") ?></option> 31 <option value="html"<?php if ($stationery['t'] == 'html') echo ' selected="selected"' ?>><?php echo _("HTML") ?></option> 32 </select><br /> 33 <?php echo Horde::label('content', _("Stationery:")) ?><br /> 34 <textarea name="content" id="content" rows="15" cols="80" class="fixed"><?php echo $stationery['c'] ?></textarea><br /> 35 <em><?php echo _("You can use the following placeholders in the stationery text: %c for the current message content; %s for the signature.") ?></em> 36 <?php endif; ?> 37 </p> 38 39 <?php if (!is_null($stationery)): ?> 40 <input type="submit" name="save" class="button" value="<?php echo _("Save Stationery") ?>" /> 41 <?php if (!is_null($id)): ?> 42 <input type="submit" name="delete" class="button" value="<?php echo _("Delete Stationery") ?>" /> 43 <?php endif; endif; ?> 44 <input type="button" name="back" class="button" onclick="document.location.href='<?php echo Util::addParameter($compose_url, 'group', 'compose') ?>'" value="<?php echo htmlspecialchars(_("Return to \"Message Composition\""), ENT_COMPAT, NLS::getCharset()) ?>" /> 45 46 </form>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:30:07 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |