From: <var...@us...> - 2009-03-27 12:29:33
|
Revision: 6728 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6728&view=rev Author: vargenau Date: 2009-03-27 12:29:21 +0000 (Fri, 27 Mar 2009) Log Message: ----------- Remove double-click edit Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-03-27 12:01:45 UTC (rev 6727) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-03-27 12:29:21 UTC (rev 6728) @@ -306,20 +306,14 @@ <tr><td colspan="3"><h3><?=_("Appearance")?></h3></td></tr> - <tr><td colspan="2"><?=_("Here you can override site-specific default values.") ?></td> - <td><p class="hint"><?= _("Currently not recommended!") ?></p></td></tr> - <?php /* Alternatively this could be done with <fieldset> and <legend>. */ ?> + <tr><td colspan="3"><?=_("Here you can override site-specific default values.") ?></td></tr> <tr><td align="right"><?=fmt("Hide %s:", WikiLink("LinkIcons"))?></td> <td><?=$NoLinkIconsCB?></td> <td><p class="hint"><?=_("Hide or show LinkIcons (if supported by the current theme). Useful for text-only browsers or slow connections.")?></p></td></tr> <tr><td align="right"><?=fmt("Add %s:", WikiLink("GoogleLink"))?></td> <td><?=$GoogleLinkCB?></td> <td><p class="hint"><?=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 align="right"><?=fmt("Enable DoubleClick Edit")?></td> - <td><?=$DoubleClickCB?></td> - <td><p class="hint"><?=fmt("Enabled makes it hard to double-click words and sentences for cut and paste. See %s.", WikiLink("PhpWiki:DoubleClickToEditPage"))?></p></td></tr> - <tr><td colspan="3"><h3><?=_("Edit Area Size")?></h3></td></tr> <tr><td colspan="2"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-31 09:07:57
|
Revision: 6739 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6739&view=rev Author: vargenau Date: 2009-03-31 09:07:51 +0000 (Tue, 31 Mar 2009) Log Message: ----------- Better layout Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-03-29 18:07:47 UTC (rev 6738) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-03-31 09:07:51 UTC (rev 6739) @@ -196,7 +196,7 @@ <fieldset> <legend><strong>User preferences for this project</strong></legend> -<table border="0"> +<table border="0" width="100%"> <?php if ($isForm and $user->mayChangePass()) { ?> <tr><td colspan="3"><h3><?= ($request->getPref('passwd') ? _("Change Password") : _("Set Password")) ?></h3></td></tr> @@ -212,9 +212,11 @@ <tr><td colspan="3"><h3><?=_("E-mail Notification")?></h3></td></tr> <tr><td colspan="2"> - <?=_("Get an email notification at changes of the following pages:")?><br /> + <?=_("Get an email notification at changes of the following pages:")?> + </td></tr> + <tr> <?php if ($isForm) { ?> - <blockquote><textarea name="pref[notifyPages]" cols="30" rows="4"><?=$pref->get('notifyPages')?></textarea></blockquote></td> + <td><textarea name="pref[notifyPages]" cols="40" rows="6"><?=$pref->get('notifyPages')?></textarea></td> <td><p class="hint"><?=_("Enter pages seperated by space or comma. Wildcards (fileglobbing) allowed.")?></p></td> <?php } else { ?> <td><?=$pref->get('notifyPages')?></td><td></td> @@ -228,7 +230,7 @@ <fieldset> <legend><strong>Global user preferences (for all projects)</strong></legend> -<table border="0"> +<table border="0" width="100%"> <tr><td colspan="3"><h3><?=_("E-mail Notification")?></h3></td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-04-03 15:13:35
|
Revision: 6772 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6772&view=rev Author: vargenau Date: 2009-04-03 15:13:27 +0000 (Fri, 03 Apr 2009) Log Message: ----------- Add RandomPageMenuItem, PageTrailCB, MajorModificationsOnlyCB Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-04-03 15:05:34 UTC (rev 6771) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-04-03 15:13:27 UTC (rev 6772) @@ -89,6 +89,10 @@ 'name' => 'pref[searchMenuItem]', 'value' => '1', 'checked' => (bool) $pref->get('searchMenuItem'))); +$RandomPageMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[randomPageMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('randomPageMenuItem'))); $SpecialPagesMenuItem = HTML::input(array('type' => 'checkbox', 'name' => 'pref[specialPagesMenuItem]', 'value' => '1', @@ -97,6 +101,10 @@ 'name' => 'pref[relativeDates]', 'value' => '1', 'checked' => (bool) $pref->get('relativeDates'))); +$PageTrailCB = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[pageTrail]', + 'value' => '1', + 'checked' => (bool) $pref->get('pageTrail'))); $NoLinkIconsCB = HTML::input(array('type' => 'checkbox', 'name' => 'pref[noLinkIcons]', 'value' => '1', @@ -246,6 +254,18 @@ </td> </tr> + <tr> + <td> + <p><?=_("Do not send minor modifications:")?></p> + </td> + <td> + <p><?= $MajorModificationsOnlyCB ?></p> + </td> + <td> + <p class="hint"><?=_("Check if you do not want to be notified of minor modifications.")?></p> + </td> + </tr> + <tr><td colspan="3"><h3><?=_("Menus")?></h3></td></tr> <tr> <td> @@ -297,6 +317,11 @@ <p><?= $SearchMenuItem ?> <?=_("Search")?></p> </td> </tr> + <tr> + <td> + <p><?= $RandomPageMenuItem ?> <?=_("RandomPage")?></p> + </td> + </tr> </table> </fieldset> </td> @@ -309,6 +334,9 @@ <tr><td colspan="3"><h3><?=_("Appearance")?></h3></td></tr> <tr><td colspan="3"><?=_("Here you can override site-specific default values.") ?></td></tr> + <tr><td align="right"><?= _("Show Page Trail")?></td> + <td><?=$PageTrailCB?></td> + <td><p class="hint"><?=_("Show Page Trail at top of page.")?></p></td></tr> <tr><td align="right"><?=fmt("Hide %s:", WikiLink("Help:LinkIcons"))?></td> <td><?=$NoLinkIconsCB?></td> <td><p class="hint"><?=_("Hide or show LinkIcons.")?></p></td></tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-04-20 16:20:44
|
Revision: 6798 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6798&view=rev Author: vargenau Date: 2009-04-20 16:20:35 +0000 (Mon, 20 Apr 2009) Log Message: ----------- Fix syntax error Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-04-19 18:32:17 UTC (rev 6797) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-04-20 16:20:35 UTC (rev 6798) @@ -180,7 +180,7 @@ <?= $errmsg ?> <h2> -<?= fmt("User preferences for user %s", WikiLink($user->UserName()) ?> +<?= fmt("User preferences for user %s", WikiLink($user->UserName())) ?> </h2> <?php if ($isForm) { ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-06-01 10:01:53
|
Revision: 6834 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6834&view=rev Author: vargenau Date: 2009-06-01 10:01:51 +0000 (Mon, 01 Jun 2009) Log Message: ----------- Search always active, user preference for LikePages Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-06-01 09:51:35 UTC (rev 6833) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-06-01 10:01:51 UTC (rev 6834) @@ -85,14 +85,14 @@ 'name' => 'pref[recentChangesMenuItem]', 'value' => '1', 'checked' => (bool) $pref->get('recentChangesMenuItem'))); -$SearchMenuItem = HTML::input(array('type' => 'checkbox', - 'name' => 'pref[searchMenuItem]', - 'value' => '1', - 'checked' => (bool) $pref->get('searchMenuItem'))); $RandomPageMenuItem = HTML::input(array('type' => 'checkbox', 'name' => 'pref[randomPageMenuItem]', 'value' => '1', 'checked' => (bool) $pref->get('randomPageMenuItem'))); +$LikePagesPageMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[likePagesMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('likePagesMenuItem'))); $SpecialPagesMenuItem = HTML::input(array('type' => 'checkbox', 'name' => 'pref[specialPagesMenuItem]', 'value' => '1', @@ -314,12 +314,12 @@ <table cellpadding="0" cellspacing="0"> <tr> <td> - <p><?= $SearchMenuItem ?> <?=_("Search")?></p> + <p><?= $RandomPageMenuItem ?> <?=_("Random Page")?></p> </td> </tr> <tr> <td> - <p><?= $RandomPageMenuItem ?> <?=_("RandomPage")?></p> + <p><?= $LikePagesPageMenuItem ?> <?=_("Like Pages")?></p> </td> </tr> </table> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-06-12 12:10:14
|
Revision: 6926 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6926&view=rev Author: vargenau Date: 2009-06-12 12:10:12 +0000 (Fri, 12 Jun 2009) Log Message: ----------- Remove stuff not needed for Gforge Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-06-12 10:29:12 UTC (rev 6925) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-06-12 12:10:12 UTC (rev 6926) @@ -185,38 +185,12 @@ <?php if ($isForm) { ?> <form action="<?=$request->getPostURL()?>" method="post"> -<?php } else { - $fill = " "; - // See also plugin _AuthInfo - $authmethod = ENABLE_USER_NEW ? @$user->_authmethod : @$user->auth_how; -?> -<?= HTML::pre(sprintf("%12s: [% 10s] %s\n",_("UserId"),$pref->get('userid'), " from " . $authmethod), - sprintf("%12s: [% 10s] %16s: [% 10s] | %8s: [%2s]\n","getId",$user->getId(),"getAuthenticatedId",$user->getAuthenticatedId(),"isSignedIn", $user->isSignedIn()), - //sprintf("%12s: [% 10s]\n",_("Password"),empty($pref->get('passwd')) ? _("<empty>") : _("<not empty>")), - sprintf("%12s: [% 10s] %15s: [% 8s]\n", - _("Auth Level"),$user->_level,_("Auth Method"),$authmethod), - sprintf("%12s: [% 10s]\n",_("HomePage"),$user->hasHomePage() ? (ENABLE_USER_NEW ? $user->_HomePagehandle->_pagename : $user->_homepage->_pagename ) : ''), - sprintf("%12s: [% 10s]\n",_("E-Mail"),$pref->get('email')), - //sprintf("%12s: [% 10s]\n",_("Notify"),$pref->get('notifyPages')), - sprintf("%12s: [% 10s] %16s: [% 10s] \n",_("Language"),$pref->get('lang'),_("Current Language"),$GLOBALS['LANG']) - ) ?> <?php } ?> <fieldset> <legend><strong>User preferences for this project</strong></legend> <table border="0" width="100%"> -<?php if ($isForm and $user->mayChangePass()) { ?> - <tr><td colspan="3"><h3><?= ($request->getPref('passwd') ? _("Change Password") : _("Set Password")) ?></h3></td></tr> - <tr><td align="right"><?=_("New password")?>:</td> - <td><input type="password" name="pref[passwd]" size="16" maxlength="16" class="text" value="" /></td> - <td></td></tr> - <tr><td align="right"><?=_("Type it again")?>:</td> - <td><input type="password" name="pref[passwd2]" size="16" maxlength="16" class="text" value="" /></td> - <td></td></tr> -<?php } ?> - -<?php if (ENABLE_USER_NEW) { ?> <tr><td colspan="3"><h3><?=_("E-mail Notification")?></h3></td></tr> <tr><td colspan="2"> @@ -230,7 +204,6 @@ <td><?=$pref->get('notifyPages')?></td><td></td> <?php } ?> </tr> -<?php } ?> </table> </fieldset> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2010-05-18 15:45:55
|
Revision: 7407 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7407&view=rev Author: vargenau Date: 2010-05-18 15:45:48 +0000 (Tue, 18 May 2010) Log Message: ----------- Let us make robots work for Gforge (forgot one file) Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2010-05-18 15:19:41 UTC (rev 7406) +++ trunk/themes/gforge/templates/userprefs.tmpl 2010-05-18 15:45:48 UTC (rev 7407) @@ -9,7 +9,7 @@ } $plugin = $request->getArg('pagename'); -if ($request->isActionPage($request->getArg('pagename')) +if (isActionPage($request->getArg('pagename')) and $isForm and $plugin == _("PreferencesInfo")) { $isForm = false; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2010-06-28 08:29:14
|
Revision: 7586 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7586&view=rev Author: vargenau Date: 2010-06-28 08:29:08 +0000 (Mon, 28 Jun 2010) Log Message: ----------- Use CSS instaed if <br /> Modified Paths: -------------- trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2010-06-27 17:37:47 UTC (rev 7585) +++ trunk/themes/gforge/templates/userprefs.tmpl 2010-06-28 08:29:08 UTC (rev 7586) @@ -187,7 +187,7 @@ <form action="<?=$request->getPostURL()?>" method="post"> <?php } ?> -<fieldset> +<fieldset style="margin-bottom: 1em;"> <legend><strong>User preferences for this project</strong></legend> <table border="0" width="100%"> @@ -207,8 +207,8 @@ </table> </fieldset> -<br /> -<fieldset> + +<fieldset style="margin-bottom: 1em;"> <legend><strong>Global user preferences (for all projects)</strong></legend> <table border="0" width="100%"> @@ -363,11 +363,11 @@ </fieldset> <?php if ($isForm) { ?> - <br /> - <p><?=Button("submit:", _("Update Preferences"), 'wikiadmin')?> +<p> + <?=Button("submit:", _("Update Preferences"), 'wikiadmin')?> <?=Button("submit:delete", _("Reset Preferences"), 'wikiadmin')?> - <?=Button("submit:cancel", _("Cancel"), 'button')?></p> - -<?= HiddenInputs($request->getArgs(), false, array('pref')) ?> + <?=Button("submit:cancel", _("Cancel"), 'button')?> + <?= HiddenInputs($request->getArgs(), false, array('pref')) ?> +</p> </form> <?php } ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |