From: <var...@us...> - 2011-03-02 10:05:11
|
Revision: 7944 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7944&view=rev Author: vargenau Date: 2011-03-02 10:05:05 +0000 (Wed, 02 Mar 2011) Log Message: ----------- Translate legends Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2011-03-01 15:19:58 UTC (rev 7943) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2011-03-02 10:05:05 UTC (rev 7944) @@ -241,7 +241,7 @@ <tr> <td> <fieldset> - <legend>Top Menu</legend> + <legend><?php echo _("Top Menu")?></legend> <table cellpadding="0" cellspacing="0"> <tr> <td> @@ -281,7 +281,7 @@ <td valign="top"> <fieldset> - <legend>Left Menu</legend> + <legend><?php echo _("Left Menu")?></legend> <table cellpadding="0" cellspacing="0"> <tr> <td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-03-02 10:15:53
|
Revision: 7945 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7945&view=rev Author: vargenau Date: 2011-03-02 10:15:46 +0000 (Wed, 02 Mar 2011) Log Message: ----------- Translate legends Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2011-03-02 10:05:05 UTC (rev 7944) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2011-03-02 10:15:46 UTC (rev 7945) @@ -186,7 +186,7 @@ <?php } ?> <fieldset style="margin-bottom: 1em;"> -<legend><strong>User preferences for this project</strong></legend> +<legend><strong><?php echo _("User preferences for this project")?></strong></legend> <table border="0" width="100%"> <tr><td colspan="3"><h3><?php echo _("E-mail Notification")?></h3></td></tr> @@ -207,7 +207,7 @@ </fieldset> <fieldset style="margin-bottom: 1em;"> -<legend><strong>Global user preferences (for all projects)</strong></legend> +<legend><strong><?php echo _("Global user preferences (for all projects)")?></strong></legend> <table border="0" width="100%"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-09-09 15:15:06
|
Revision: 8104 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8104&view=rev Author: vargenau Date: 2011-09-09 15:14:57 +0000 (Fri, 09 Sep 2011) Log Message: ----------- Use class fullwidth Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-09 15:03:15 UTC (rev 8103) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-09 15:14:57 UTC (rev 8104) @@ -187,7 +187,7 @@ <fieldset style="margin-bottom: 1em;"> <legend><strong><?php echo _("User preferences for this project")?></strong></legend> -<table border="0" width="100%"> +<table class="fullwidth"> <tr><td colspan="3"><h3><?php echo _("E-mail Notification")?></h3></td></tr> @@ -209,7 +209,7 @@ <fieldset style="margin-bottom: 1em;"> <legend><strong><?php echo _("Global user preferences (for all projects)")?></strong></legend> -<table border="0" width="100%"> +<table class="fullwidth"> <tr><td colspan="3"><h3><?php echo _("E-mail Notification")?></h3></td></tr> @@ -279,7 +279,7 @@ </fieldset> </td> - <td valign="top"> + <td style="vertical-align:top"> <fieldset> <legend><?php echo _("Left Menu")?></legend> <table cellpadding="0" cellspacing="0"> @@ -297,7 +297,7 @@ </fieldset> </td> - <td valign="top"> + <td style="vertical-align:top"> <p class="hint"><?php echo _("Check menu items to display.")?></p> </td> </tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-09-26 12:59:16
|
Revision: 8121 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8121&view=rev Author: vargenau Date: 2011-09-26 12:59:10 +0000 (Mon, 26 Sep 2011) Log Message: ----------- Fix comment Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-23 16:46:34 UTC (rev 8120) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-26 12:59:10 UTC (rev 8121) @@ -1,5 +1,5 @@ <?php // -*-php-*- -// $Id$' +// $Id$ // Todo: Move the logic and code to the plugin // This is very experimental and the read-only part an ugly hack so far. foreach (explode(',','errmsg,isForm') as $var) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-09-27 07:48:01
|
Revision: 8132 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8132&view=rev Author: vargenau Date: 2011-09-27 07:47:49 +0000 (Tue, 27 Sep 2011) Log Message: ----------- Simplify layout Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-26 15:18:21 UTC (rev 8131) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-27 07:47:49 UTC (rev 8132) @@ -189,17 +189,18 @@ <legend><strong><?php echo _("User preferences for this project")?></strong></legend> <table class="fullwidth"> - <tr><td colspan="3"><h3><?php echo _("E-mail Notification")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("E-mail Notification")?></h3></td></tr> <tr><td colspan="2"> <?php echo _("Get an email notification at changes of the following pages:")?> </td></tr> + <tr> <?php if ($isForm) { ?> <td><textarea name="pref[notifyPages]" cols="40" rows="6"><?php echo $pref->get('notifyPages')?></textarea></td> - <td><p class="hint"><?php echo _("Enter pages seperated by space or comma. Wildcards (fileglobbing) allowed.")?></p></td> + <td><p class="hint"><?php echo _("Enter pages seperated by space or comma. Wildcards (fileglobbing) allowed.")?></p></td> <?php } else { ?> - <td><?php echo $pref->get('notifyPages')?></td><td></td> + <td colspan="2"><?php echo $pref->get('notifyPages')?></td> <?php } ?> </tr> @@ -211,121 +212,142 @@ <table class="fullwidth"> - <tr><td colspan="3"><h3><?php echo _("E-mail Notification")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("E-mail Notification")?></h3></td></tr> <tr> <td> - <p><?php echo _("Do not send my own modifications:")?></p> + <p class="nowrap"> + <?php echo $OwnModificationsCB ?> + <?php echo _("Do not send my own modifications")?> + </p> </td> <td> - <p><?php echo $OwnModificationsCB ?></p> - </td> - <td> <p class="hint"><?php echo _("Check if you do not want to be notified of your own modifications.")?></p> </td> </tr> <tr> <td> - <p><?php echo _("Do not send minor modifications:")?></p> + <p class="nowrap"> + <?php echo $MajorModificationsOnlyCB ?> + <?php echo _("Do not send minor modifications")?> + </p> </td> <td> - <p><?php echo $MajorModificationsOnlyCB ?></p> - </td> - <td> <p class="hint"><?php echo _("Check if you do not want to be notified of minor modifications.")?></p> </td> </tr> - <tr><td colspan="3"><h3><?php echo _("Menus")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("Menus")?></h3></td></tr> <tr> <td> <fieldset> <legend><?php echo _("Top Menu")?></legend> - <table cellpadding="0" cellspacing="0"> + <table> <tr> <td> - <p><?php echo $DiffMenuItem ?> <?php echo _("Last Difference")?></p> + <p class="nowrap"><?php echo $DiffMenuItem ?> <?php echo _("Last Difference")?></p> </td> </tr> <tr> <td> - <p><?php echo $RevertMenuItem ?> <?php echo _("Revert")?></p> + <p class="nowrap"><?php echo $RevertMenuItem ?> <?php echo _("Revert")?></p> </td> </tr> <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> <tr> <td> - <p><?php echo $PDFMenuItem ?> <?php echo _("PDF")?></p> + <p class="nowrap"><?php echo $PDFMenuItem ?> <?php echo _("PDF")?></p> </td> </tr> <?php } ?> <tr> <td> - <p><?php echo $LockMenuItem ?> <?php echo _("Lock")?></p> + <p class="nowrap"><?php echo $LockMenuItem ?> <?php echo _("Lock")?></p> </td> </tr> <tr> <td> - <p><?php echo $ChownMenuItem ?> <?php echo _("Change Owner")?></p> + <p class="nowrap"><?php echo $ChownMenuItem ?> <?php echo _("Change Owner")?></p> </td> </tr> <tr> <td> - <p><?php echo $SetaclMenuItem ?> <?php echo _("Access Rights")?></p> + <p class="nowrap"><?php echo $SetaclMenuItem ?> <?php echo _("Access Rights")?></p> </td> </tr> </table> </fieldset> </td> + <td class="top"> + <p class="hint"><?php echo _("Check menu items to display.")?></p> + </td> + </tr> - <td style="vertical-align:top"> + <tr> + <td class="top"> <fieldset> <legend><?php echo _("Left Menu")?></legend> - <table cellpadding="0" cellspacing="0"> + <table> <tr> <td> - <p><?php echo $RandomPageMenuItem ?> <?php echo _("Random Page")?></p> + <p class="nowrap"><?php echo $RandomPageMenuItem ?> <?php echo _("Random Page")?></p> </td> </tr> <tr> <td> - <p><?php echo $LikePagesPageMenuItem ?> <?php echo _("Like Pages")?></p> + <p class="nowrap"><?php echo $LikePagesPageMenuItem ?> <?php echo _("Like Pages")?></p> </td> </tr> </table> </fieldset> </td> - - <td style="vertical-align:top"> - <p class="hint"><?php echo _("Check menu items to display.")?></p> + <td> </td> </tr> - <tr><td colspan="3"><h3><?php echo _("Appearance")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("Appearance")?></h3></td></tr> - <tr><td colspan="3"><?php echo _("Here you can override site-specific default values.") ?></td></tr> - <tr><td align="right"><?php echo _("Show Page Trail")?></td> - <td><?php echo $PageTrailCB?></td> - <td><p class="hint"><?php echo _("Show Page Trail at top of page.")?></p></td></tr> - <tr><td align="right"><?php echo fmt("Hide %s:", WikiLink("Help:LinkIcons"))?></td> - <td><?php echo $NoLinkIconsCB?></td> - <td><p class="hint"><?php echo _("Hide or show LinkIcons.")?></p></td></tr> - <tr><td align="right"><?php echo fmt("Add %s:", WikiLink("Help:GoogleLink"))?></td> - <td><?php echo $GoogleLinkCB?></td> - <td><p class="hint"><?php echo fmt("Add Google links to unknown pages behind the '?', and the create action behind the pagename instead. See %s.", WikiLink("MeatBall:GooglePrompt"))?></p></td></tr> + <tr><td colspan="2"><?php echo _("Here you can override site-specific default values.") ?></td></tr> + <tr> + <td> + <p class="nowrap"> + <?php echo $PageTrailCB?> + <?php echo _("Show Page Trail")?> + </p> + </td> + <td><p class="hint"><?php echo _("Show Page Trail at top of page.")?></p></td> + </tr> + <tr> + <td> + <p class="nowrap"> + <?php echo $NoLinkIconsCB?> + <?php echo fmt("Hide %s", WikiLink("Help:LinkIcons"))?> + </p> + </td> + <td><p class="hint"><?php echo _("Hide or show LinkIcons.")?></p></td> + </tr> + <tr> + <td> + <p class="nowrap"> + <?php echo $GoogleLinkCB?> + <?php echo fmt("Add %s", WikiLink("Help:GoogleLink"))?> + </p> + </td> + <td><p class="hint"><?php echo fmt("Add Google links to unknown pages behind the '?', and the create action behind the pagename instead. See %s.", WikiLink("MeatBall:GooglePrompt"))?></p></td> + </tr> - <tr><td colspan="3"><h3><?php echo _("Edit Area Size")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("Edit Area Size")?></h3></td></tr> - <tr><td colspan="2"> - <?php echo _("Height")?>: + <tr><td> + <?php echo _("Height:")?> <?php if ($isForm) { ?> <input type="text" name="pref[editHeight]" size="4" maxlength="4" class="numeric" value="<?php echo $pref->get('editHeight')?>" /> <?php } else { ?> <?php echo $pref->get('editHeight')?> <?php } ?> - <?php echo _("Width")?>: + <?php echo _("Width:")?> <?php if ($isForm) { ?> <input type="text" name="pref[editWidth]" size="4" maxlength="4" class="numeric" value="<?php echo $pref->get('editWidth')?>" /> @@ -337,9 +359,9 @@ <?php echo _("Note that many browsers will automatically adjust the width of the editing area so that it fills the browser window. In this case, the width preference will be ignored.")?></p> </td></tr> - <tr><td colspan="3"><h3><?php echo _("Time Zone")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("Time Zone")?></h3></td></tr> - <tr><td colspan="2"><p> + <tr><td><p> <?php echo fmt("Add %s hours to the server's local time when reporting times.", $timeOffsetInput)?> </p></td><td> @@ -351,12 +373,14 @@ </p> </td></tr> - <tr><td colspan="3"><h3><?php echo _("Date Format")?></h3></td></tr> + <tr><td colspan="2"><h3><?php echo _("Date Format")?></h3></td></tr> - <tr><td colspan="2"><p> - <?php echo _("Show relative dates using 'Today' and 'Yesterday'")?>: - <?php echo $RelativeDatesCB ?> - </p></td><td></td></tr> + <tr><td colspan="2"> + <p> + <?php echo $RelativeDatesCB ?> + <?php echo _("Show relative dates using 'Today' and 'Yesterday'")?> + </p> + </td></tr> </table> </fieldset> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2011-09-27 08:06:01
|
Revision: 8134 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=8134&view=rev Author: vargenau Date: 2011-09-27 08:05:54 +0000 (Tue, 27 Sep 2011) Log Message: ----------- Translate ":" Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-27 08:04:04 UTC (rev 8133) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2011-09-27 08:05:54 UTC (rev 8134) @@ -340,14 +340,14 @@ <tr><td colspan="2"><h3><?php echo _("Edit Area Size")?></h3></td></tr> <tr><td> - <?php echo _("Height:")?> + <?php echo _("Height") . _(":")?> <?php if ($isForm) { ?> <input type="text" name="pref[editHeight]" size="4" maxlength="4" class="numeric" value="<?php echo $pref->get('editHeight')?>" /> <?php } else { ?> <?php echo $pref->get('editHeight')?> <?php } ?> - <?php echo _("Width:")?> + <?php echo _("Width") . _(":")?> <?php if ($isForm) { ?> <input type="text" name="pref[editWidth]" size="4" maxlength="4" class="numeric" value="<?php echo $pref->get('editWidth')?>" /> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2014-06-23 10:10:44
|
Revision: 8929 http://sourceforge.net/p/phpwiki/code/8929 Author: vargenau Date: 2014-06-23 10:10:40 +0000 (Mon, 23 Jun 2014) Log Message: ----------- Remove unused code in template Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2014-06-23 09:51:37 UTC (rev 8928) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2014-06-23 10:10:40 UTC (rev 8929) @@ -115,64 +115,6 @@ 'name' => 'pref[doubleClickEdit]', 'value' => '1', 'checked' => (bool) $pref->get('doubleClickEdit'))); -if (!function_exists('selectedOption')) { - function selectedOption ($value, $label = false) { - return HTML::option(array('value' => $value,'selected'=>"selected"), ($label ? $label : $value) . "\n"); - } - function unselectedOption ($value, $label = false) { - return HTML::option(array('value' => $value), ($label ? $label : $value) . "\n"); - } -} - -$SelectThemes = ''; $SelectLanguages = ''; -$SelectThemesDesc = ''; $SelectLanguagesDesc = ''; -if ( $isForm ) { - $SelectOptions = HTML(); - if (!empty($available_themes) and is_array($available_themes)) { - if (!$pref->get('theme') or $pref->get('theme') == THEME) - $SelectOptions->pushContent(selectedOption("",_("<system theme>"))); - else - $SelectOptions->pushContent(unselectedOption("",_("<system theme>"))); - foreach ($available_themes as $theme) { - if ($theme == $pref->get('theme') and $theme != THEME) - $SelectOptions->pushContent(selectedOption($theme)); - else - $SelectOptions->pushContent(unselectedOption($theme)); - } - $SelectThemes = HTML::select(array('name' => "pref[theme]",'id' => 'theme'), - $SelectOptions); - $SelectThemesDesc = _("Personal theme:"); - } - - $SelectOptions = HTML(); - if (!empty($available_languages) and is_array($available_languages)) { - if (!$pref->get('lang') or $pref->get('lang') == DEFAULT_LANGUAGE) - $SelectOptions->pushContent(selectedOption("",_("<system language>"))); - else - $SelectOptions->pushContent(unselectedOption("",_("<system language>"))); - foreach ($available_languages as $lang) { - if ($lang == $pref->get('lang') and $lang != DEFAULT_LANGUAGE) - $SelectOptions->pushContent(selectedOption($lang)); - else - $SelectOptions->pushContent(unselectedOption($lang)); - } - $SelectLanguages = HTML::select(array('name' => "pref[lang]",'id' => 'lang'), - $SelectOptions); - $SelectLanguagesDesc = _("Personal language:"); - } else { - if ($SelectThemes == '') { - $appearance = false; - $SelectThemesDesc = ''; - $SelectLanguagesDesc = ''; - } - } -} else { - $SelectThemesDesc = _("Personal theme:"); - $SelectLanguagesDesc = _("Personal language:"); - $SelectThemes = $pref->get('theme'); - $SelectLanguages = $pref->get('lang'); -} - ?> <?php echo $errmsg ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2015-04-21 15:41:58
|
Revision: 9690 http://sourceforge.net/p/phpwiki/code/9690 Author: vargenau Date: 2015-04-21 15:41:51 +0000 (Tue, 21 Apr 2015) Log Message: ----------- No need to translate PDF Modified Paths: -------------- trunk/themes/fusionforge/templates/userprefs.tmpl Modified: trunk/themes/fusionforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/fusionforge/templates/userprefs.tmpl 2015-04-21 14:55:50 UTC (rev 9689) +++ trunk/themes/fusionforge/templates/userprefs.tmpl 2015-04-21 15:41:51 UTC (rev 9690) @@ -244,7 +244,7 @@ <p class="nowrap"> <?php echo $PDFMenuItem ?> <label for="pdfMenuItem"> - <?php echo _("PDF") ?> + <?php echo "PDF" ?> </label> </p> </td> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |