[ Index ] |
|
Code source de eGroupWare 1.2.106-2 |
1 <?php 2 // $Id: prefs.php 19415 2005-10-14 14:08:53Z ralfbecker $ 3 4 require('parse/html.php'); 5 require_once(TemplateDir . '/common.php'); 6 7 function template_prefs() 8 { 9 global $PrefsScript, $HTTP_REFERER, $HistMax, $TimeZoneOff; 10 global $AuthorDiff, $EditRows, $EditCols, $UserName, $DayLimit, $MinEntries; 11 12 template_common_prologue(array('norobots' => 1, 13 'title' => lang('Preferences'), 14 'heading' => lang('Preferences'), 15 'headlink' => '', 16 'headsufx' => '', 17 'toolbar' => 0)); 18 ?> 19 <div id="body"> 20 <form action="<?php print $PrefsScript; ?>" method="post"> 21 <div class="form"> 22 <input type="hidden" name="referrer" value="<?php print $HTTP_REFERER; ?>" /> 23 24 <!-- <strong>User name</strong><br /><br /> 25 26 This feature displays your name on RecentChanges to the right 27 of pages you edit. If left blank, your IP address will be 28 displayed instead.<br /><br /> 29 <input type="text" name="user" value="--> 30 <?php echo lang('Your user name is "%1".',$UserName); ?><br><br> 31 <!--" /><br /> 32 <hr align=left width=99% />--> 33 34 <strong><?php echo lang('Edit box'); ?></strong><br /><br /> 35 <?php echo lang('Rows'); ?>: <input type="text" name="rows" value="<?php print $EditRows; ?>" /><br /> 36 <?php echo lang('Columns'); ?>: <input type="text" name="cols" value="<?php 37 print $EditCols; ?>" /><br /><br /> 38 39 <strong><?php echo lang('History lists'); ?></strong><br /><br /> 40 <?php echo lang('Enter here the maximum number of entries to display in a document\'s history list.'); ?><br /><br /> 41 <input type="text" name="hist" value="<?php print $HistMax; ?>" /><br /><br /> 42 <strong><?php echo lang('Recent Changes'); ?></strong><br /><br /> 43 <?php /* taken from the eGW prefs 44 <?php echo lang('Choose your current time here, so the server may figure out what time zone you are in.'); ?><br /><br /> 45 <select name="tzoff"> 46 <?php 47 for($i = -23.5 * 60; $i <= 23.5 * 60; $i += 30) 48 { 49 ?> 50 <option value="<?php print $i; ?>"<?php if($i == $TimeZoneOff) { print ' selected="selected"'; } ?>><?php 51 print date('Y-m-d H:i', time() + $i * 60); 52 ?></option> 53 <?php 54 } 55 ?> 56 </select><br /><br /> 57 */?> 58 <?php echo lang('Enter here the number of days of edits to display on RecentChanges or any other subscription list. Set this to zero if you wish to see all pages in RecentChanges, regardless of how recently they were edited.'); ?><br /><br /> 59 <input type="text" name="days" value="<?php print $DayLimit; ?>" /><br /><br /> 60 <?php echo lang('<em>But</em> display at least this many entries in RecentChanges and other subscription lists:'); ?><br /><br /> 61 <input type="text" name="min" value="<?php print $MinEntries; ?>" /><br /><br /> 62 <input type="checkbox" name="auth"<?php 63 if($AuthorDiff) { print ' checked="checked"'; } ?> /> 64 <?php echo lang('History display should show <em>all</em> changes made by the latest author. Otherwise, show only the last change made.'); ?><br /><br /> 65 66 <input type="submit" name="Save" value="<?php echo lang('Save'); ?>" /> 67 </div> 68 </form> 69 </div> 70 <?php 71 /*template_common_epilogue(array('twin' => '', 72 'edit' => '', 73 'editver' => 0, 74 'history' => '', 75 'timestamp' => '', 76 'nosearch' => 1));*/ 77 } 78 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 17:20:01 2007 | par Balluche grâce à PHPXref 0.7 |