From: <var...@us...> - 2008-08-22 13:18:43
|
Revision: 6189 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6189&view=rev Author: vargenau Date: 2008-08-22 13:18:48 +0000 (Fri, 22 Aug 2008) Log Message: ----------- Added Gforge theme Added Paths: ----------- trunk/themes/gforge/ trunk/themes/gforge/buttons/ trunk/themes/gforge/images/ trunk/themes/gforge/pgsrc/ trunk/themes/gforge/pgsrc/UpLoad trunk/themes/gforge/templates/ trunk/themes/gforge/templates/actionbar.tmpl trunk/themes/gforge/templates/body.tmpl trunk/themes/gforge/templates/browse-footer.tmpl trunk/themes/gforge/templates/editpage.tmpl trunk/themes/gforge/templates/head.tmpl trunk/themes/gforge/templates/html.tmpl trunk/themes/gforge/templates/info.tmpl trunk/themes/gforge/templates/login.tmpl trunk/themes/gforge/templates/navbar.tmpl trunk/themes/gforge/templates/pagelink.tmpl trunk/themes/gforge/templates/userprefs.tmpl Added: trunk/themes/gforge/pgsrc/UpLoad =================================================================== --- trunk/themes/gforge/pgsrc/UpLoad (rev 0) +++ trunk/themes/gforge/pgsrc/UpLoad 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,23 @@ +Date: Mon, 22 Aug 2008 10:28:55 -0500 +Mime-Version: 1.0 (Produced by PhpWiki 1.3.14-20070828) +Content-Type: application/x-phpwiki; + pagename=UpLoad; + markup=2; + charset=iso-8859-1 +Content-Transfer-Encoding: binary + +This page allows you to upload files that can later be used in the wiki. It is especially useful for uploading images. + +You give access to the uploaded file with the following syntax: +* *~[~Upload:my_image.gif]* inlines the image +* *~Upload:my_image.gif* shows a plain link +* *~[ my image | ~Upload:my_image.gif ]* shows the image under a link named "my image". + +The uploaded files will be publicly accessible. They are stored in the Webdav subdirectory *www/uploads*. They can be used in the wiki, in the project web site and in blocks. + +A link to the uploaded file will be displayed on this page. You can edit the page to remove the link if you like. + +<?plugin UpLoad ?> + +---- +[CategoryActionPage] Property changes on: trunk/themes/gforge/pgsrc/UpLoad ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/actionbar.tmpl =================================================================== --- trunk/themes/gforge/templates/actionbar.tmpl (rev 0) +++ trunk/themes/gforge/templates/actionbar.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,136 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> + +<?php +$curuserprefs = $user->getPreferences(); +$dbh = $request->getDbh(); +$isAdmin = $user->isAdmin(); +$pagename = $page->getName(); +$isActionPage = $request->_isActionPage($pagename, false); +$isBrowse = $request->getArg('action') == 'browse'; +?> + + <div id="actionbuttons"> + <table cellpadding="0" cellspacing="0"> + <tr> + + <?php if (!string_ends_with($pagename, _("/Discussion"))) { ?> + <?php $talk = new WikiPageName('Talk:'.$pagename); ?> + <td class="bold"> + <?= Button(array(), + $isActionPage ? _("Action Page") : _("Page"), + $talk->getParent(), array('title' => "Page")) ?> + </td> + <td class="spacer"> </td> + <?php if (!$isActionPage) { ?> + <?php if ($dbh->isWikiPage($talk->getName())) { ?> + <td> + <?= Button(array('action'=>'browse'), _("Discussion"), $talk->getName()) ?> + </td> + <?php } else { ?> + <td> + <?= Button(array('action'=>'create', + 'template'=>_("TemplateTalk")), + _("Discussion"), $talk->getName()) ?> + </td> + <?php } ?> + <?php } ?> + <?php } else { + $talk = new WikiPageName($pagename); ?> + <td> + <?= Button(array(),$isActionPage ? _("Action Page") : _("Page"), $talk->getParent(), array('title' => "View the page")) ?> + </td> + <td class="spacer"> </td> + <td class="bold"> + <?= Button(array(),_("Discussion"), $talk->getName()) ?> + </td> + <?php } ?> + + <td class="spacer"> </td> + <td class="spacer"> </td> + + <?php if ((mayAccessPage('edit', $page->getName())) and $revision) { ?> + <td class="bold"><?= Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")) ?></td> + <?php } else { ?> + <td><?= Button("viewsource", _("View Source")) ?></td> + <?php } ?> + + <td class="spacer"> </td> + + <td><?= Button("PageHistory", _("History")) ?></td> + + <?php if ($curuserprefs->get('diffMenuItem')) { ?> + <td class="spacer"> </td> + <td><?= Button("diff", _("Last Difference")) ?> </td> + <?php } ?> + + <?php if ($curuserprefs->get('revertMenuItem')) { ?> + <td class="spacer"> </td> + <td><?= Button('revert',_("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?></td> + <?php } ?> + + <td class="spacer"> </td> + <td><?= Button("PageInfo", _("Page Info")) ?></td> + + <td class="spacer"> </td> + <td><?= Button(array('action'=>'BackLinks'), _("Back Links"),$page->getName()) ?></td> + + <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> + <?php if ($curuserprefs->get('pdfMenuItem')) { ?> + <td class="spacer"> </td> + <td><?= Button("pdf") ?></td> + <?php } ?> + <?php } ?> + + <td class="spacer"> </td> + <td class="spacer"> </td> + + <?php if ($user->isAdmin() or mayAccessPage('change', $page->getName())) { ?> + <?php if ($curuserprefs->get('lockMenuItem')) { ?> + <?php if ($page->get('locked')) { ?> + <td><?= Button('unlock', _("Unlock")) ?></td> + <?php } else { ?> + <td><?= Button('lock', _("Lock")) ?></td> + <?php } ?> + <td class="spacer"> </td> + <?php } ?> + + <?php if (ENABLE_PAGEPERM and mayAccessPage('change', $page->getName())) { ?> + <?php if ($curuserprefs->get('chownMenuItem')) { ?> + <td><?= Button('chown', _("Change Owner")) ?></td> + <td class="spacer"> </td> + <?php } ?> + + <?php if ($curuserprefs->get('setaclMenuItem')) { ?> + <td><?= Button('setacl', _("Access Rights")) ?></td> + <td class="spacer"> </td> + <?php } ?> + <?php } ?> + <?php } ?> + + <?php if (($user->isAdmin() or mayAccessPage('rename', $page->getName())) && $revision) { ?> + <td><?= Button('rename', _("Rename")) ?></td> + <td class="spacer"> </td> + <?php } ?> + + <?php if (($user->isAdmin() or mayAccessPage('remove', $page->getName())) && $revision) { ?> + <td><?= Button('remove', _("Remove")) ?></td> + <td class="spacer"> </td> + <?php } ?> + +<?php if ((DEBUG and $request->getArg('action') == 'browse') || $user->isAdmin()) { ?> + <!-- Buttons really only for debugging --> +<?php + if (DEBUG & _DEBUG_SQL and USECACHE) { + $PurgeCache = Button(array('nocache' => 'purge'), + _("PurgeHtmlCache"), $page->getName()); + $PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed.")); +?> + <td><?= $PurgeCache ?></td> +<?php } ?> + <!-- End debugging buttons --> +<?php } ?> + </tr> + </table> + </div> Property changes on: trunk/themes/gforge/templates/actionbar.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/body.tmpl =================================================================== --- trunk/themes/gforge/templates/body.tmpl (rev 0) +++ trunk/themes/gforge/templates/body.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,22 @@ +<table width="100%" cellpadding="0" cellspacing="0"> +<tr> +<td valign="top"> +<?php +global $HIDE_TOOLBARS; +if (!$HIDE_TOOLBARS) { +?> +<div class="toolpalettes"> +<div class="toolbar"> +<?= Template('actionbar') ?> +</div> +</div> +<?php } ?> +<div id="content"> +<h1><?= $HEADER ?></h1> +<br /> +<?= $CONTENT ?> +</div> +</td> +</tr> +</table> +<?= Template('bottom') ?> Property changes on: trunk/themes/gforge/templates/body.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/browse-footer.tmpl =================================================================== --- trunk/themes/gforge/templates/browse-footer.tmpl (rev 0) +++ trunk/themes/gforge/templates/browse-footer.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,5 @@ +<?php // -*-html-*- + rcs_id('$Id$'); +?> +<hr class="printer" noshade="noshade" /> +<p class="editdate"><?= $WikiTheme->getOwnerMessage($page) ?> <?= $WikiTheme->getLastModifiedMessage($revision) ?> <?= $WikiTheme->getAuthorMessage($revision) ?></p> Property changes on: trunk/themes/gforge/templates/browse-footer.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/editpage.tmpl =================================================================== --- trunk/themes/gforge/templates/editpage.tmpl (rev 0) +++ trunk/themes/gforge/templates/editpage.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,128 @@ +<!-- -*-html-*- --> +<!-- $Id$ --> +<?php if (isset($PREVIEW_CONTENT)) { ?> + <p><strong><?=_("Preview only! Changes not saved.")?></strong> +<!-- FIXME: it would be nice to put a link to the #editarea anchor below, + but it does not work currently with the <base> declared in top.tmpl. + I think we need to do away with using <base> altogether... --> + <?= fmt("Please continue editing. (You'll find your %s at the bottom of the page.)", + /* HTML::a(array("href" => "#editarea"), */ _("edit area") /*) */) ?> + </p> + <hr class="printer" noshade="noshade" /> + <?= $PREVIEW_CONTENT ?> + <hr class="printer" noshade="noshade" /> +<?php } ?> + +<?= $PAGE_LOCKED_MESSAGE ?> +<?= $CONCURRENT_UPDATE_MESSAGE ?> + +<?php if (! $IS_CURRENT) { ?> + <p><strong><?=_("Warning: You are editing an old revision.")?> + <?=_("Saving this page will overwrite the current version.")?></strong></p> +<?php } ?> +<?php /* + * FIXME: Hack! + * The funky URL used for the form action parameter is bogus. + * This is needed, otherwise the redirect to the real browser + * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept + * a redirect from a page to itself.) + */ ?> +<form method="post" id="editpage" name="editpage" + action="<?= $request->getPostURL() ?>" + accept-charset="<?=CHARSET?>"> + <?php if (!empty($_GET['start_debug'])) echo '<input type="hidden" name="start_debug" value="1" >'; ?> + <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?> + <br clear="all" class="clear-floats" /> + <table width="100%"> + <tr><td><?= $EDIT_TOOLBAR ?></td> + <td align="right"><div id="editarea-size"> + <?=_("Size").':'?> + <label for="pref-editHeight"><b><?=_("H")?></b></label> <?=$HEIGHT_PREF?> + <label for="pref-editWidth"><b><?=_("W")?></b></label> <?=$WIDTH_PREF?> + <noscript><?=Button("submit:", _("Adjust"), 'wikiaction')?></noscript> + </div></td></tr></table> +<?php if (!empty($WYSIWYG_B)) { ?> + <br /><div class="hint"><strong>Warning:</strong> Switching to the Wysiwyg editor will not keep your changes.</div> +<?php } ?> + <a name="editarea"></a><?=$EDIT_TEXTAREA?> +<!-- FIXME: fix layout, move CSS to CSS --> +<div class="toolbar" style="text-align: center;"> + <label for="edit-summary"><?=_("Summary").':'?></label> <?=$SUMMARY_INPUT?> +</div> +<?php if (ENABLE_CAPTCHA) { ?> +<div class="toolbar" style="text-align: center;"> + <?php echo $CAPTCHA_IMAGE ?><br/> + <?php echo $CAPTCHA_LABEL ?><?= $CAPTCHA_INPUT ?> +</div> +<?php } ?> +<table summary="Toolbar: Page editing options." class="toolbar" width="100%" + cellpadding="0" cellspacing="0" border="0"> +<tr valign="middle"> + <td> + <?=$MINOR_EDIT_CB ?> <label for="edit-minor_edit"><?=_("This is a minor change.")?></label><br /> + <?=$OLD_MARKUP_CB?> <label for="useOldMarkup"><?=_("Use old markup")?></label> <?=$OLD_MARKUP_CONVERT?> + </td> + <td align="center"> + <?php if (!empty($WYSIWYG_B)){ ?> + <?=$WYSIWYG_B?> + <?=$SEP?> + <?php } ?> + <?= $PREVIEW_B ?> + <?php if ($SAVE_B) { ?> + <?=$SEP?><?= $SAVE_B ?> + <?php } ?> + <?=$SEP?><?= $CHANGES_B ?> + </td> + <td> <?=$AUTHOR_MESSAGE?></td> +</tr> +<tr> + <td> + <?php if ($user->isAdmin()) { ?> + <?= $LOCKED_CB ?> <label for="edit-locked"><?=_("Locked")?></label> + <?php } ?> + </td> + <td colspan="2" align="right"> + <?php if (!$user->isAuthenticated()) { ?> + <?= Template('signin', array('FORMNAME' => 'editpage')) ?> + <?php } ?> + </td> +</tr> +</table> +<?=$HIDDEN_INPUTS?> +</form> +<div style="width:100%;text-align:center;"><?php /*plugin UpLoad autolink=0 mode=edit size=30 */?></div> + +<hr noshade="noshade" /> + +<script language="JavaScript1.3" type="text/javascript"> +<!-- +function showOldMarkupRules(show) { + if (document.getElementById) { + if (!show) { + document.getElementById('newMarkup').style.display="block"; + document.getElementById('oldMarkup').style.display="none"; + } else { + document.getElementById('newMarkup').style.display="none"; + document.getElementById('oldMarkup').style.display="block"; + } + } +} +// --> +</script> + +<div id="oldMarkup" class="wiki-edithelp"> +<!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> +<?plugin IncludePage page=_("Help/OldTextFormattingRules") section=_("Synopsis") quiet=1?> +</div> +<div id="newMarkup" class="wiki-edithelp"> +<!-- FIXME: do we need this at all? If so, it could probably be moved to TextFormattingRules --> +<?plugin IncludePage page=_("Help/TextFormattingRules") section=_("Synopsis") quiet=1?> +</div> + +<script type="text/javascript"> +<!-- +if (document.getElementById) { + showOldMarkupRules(document.getElementById('useOldMarkup').checked); +} +// --> +</script> Property changes on: trunk/themes/gforge/templates/editpage.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/head.tmpl =================================================================== --- trunk/themes/gforge/templates/head.tmpl (rev 0) +++ trunk/themes/gforge/templates/head.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,119 @@ +<?php // -*-html-*- + rcs_id('$Id$'); +?> +<head> +<?php if (ENABLE_XHTML_XML and strstr($request->get('HTTP_ACCEPT'),'application/xhtml+xml')) { ?> +<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=<?=$charset?>" /> +<?php } else { ?> +<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> +<?php } ?> +<meta http-equiv="content-language" content="<?=$GLOBALS['LANG']?>" /> +<meta http-equiv="Content-Style-Type" content="text/css" /> +<?php $ROBOTS_CONTENT = isset($ROBOTS_META) ? $ROBOTS_META : "noindex,nofollow"; ?> +<meta name="robots" content="<?= $ROBOTS_CONTENT ?>" /> +<?php if (!empty($PAGE_DESCRIPTION)) { ?> +<meta name="description" content="<?=$PAGE_DESCRIPTION?>" /> +<?php } ?> +<?php if (!empty($PAGE_KEYWORDS)) { ?> +<meta name="keywords" content="<?=$PAGE_KEYWORDS?>" /> +<?php } ?> +<meta name="language" content="<?=$GLOBALS['LANG']?>" /> +<meta name="document-type" content="Public" /> +<meta name="document-rating" content="General" /> +<meta name="generator" content="PhpWiki" /> +<meta name="PHPWIKI_VERSION" content="<?=PHPWIKI_VERSION?>" /> +<base href="<?=PHPWIKI_BASE_URL?>" /> +<link rel="shortcut icon" href="<?=$WikiTheme->getImageURL('favicon.ico')?>" /> +<?php /** + * Additional navigation links are provided here in the html header for browsers + * which support them: Mozilla, iCab, Amaya (and certain versions of Opera??). + * + * See http://www.w3.org/TR/html401/struct/links.html#edef-LINK + * http://www.euronet.nl/~tekelenb/WWW/LINK/index.html + */ ?> +<?php /* The next few lines are wrapped in an odd manner to allow gettext string extraction: cd locale;make */ ?> +<link rel="home" title="<?=HOME_PAGE?>" href="<?=WikiURL(HOME_PAGE)?>" /> +<link rel="help" title="<?= +_("HowToUseWiki")?>" href="<?=WikiURL( +_("HowToUseWiki"))?>" /> +<link rel="copyright" title="<?=COPYRIGHTPAGE_TITLE?>" href="<?=COPYRIGHTPAGE_URL?>" /> +<link rel="author" title="<?=AUTHORPAGE_TITLE?>" href="<?=AUTHORPAGE_URL?>" /> +<link rel="search" title="<?= +_("FindPage")?>" href="<?=WikiURL( +_("FindPage"))?>" /> +<?php /** + * Provide alternate variations of the page content: + * 'viewsource' and 'browse'. + * Translated pages could go here too. + */ + if (!empty($revision)) { + $args = $request->getargs(); + $action = $args['action']; + if (!($action == "viewsource")) { + $alternatelinkTitle = fmt("%s: %s", _("View Source"), $page->getName()); + $alternatelinkUrl = WikiURL($revision, array('action' => 'viewsource')); + } + if (!($action == "browse")) { + $alternatelinkTitle = $page->getName(); + $alternatelinkUrl = WikiURL($revision, array('action' => 'browse')); + } ?> +<link rel="alternate" title="<?= $alternatelinkTitle ?>" href="<?= $alternatelinkUrl ?>" /> +<?php } + /** + * Link tag for RSS auto-discovery. See + * http://diveintomark.org/archives/2002/05/30.html#rss_autodiscovery + * http://www.oreillynet.com/cs/weblog/view/wlg/1475 + */ +?> +<link rel="alternate" type="application/rss+xml" title="RSS" href="<?=WikiURL( +_("RecentChanges"), array('format' => 'rss'))?>" /> +<?php /** + * Add some user-specific links. + */ ?> +<?php if (!$user->isSignedIn()) { + /* For users not signed in */ ?> +<link rel="bookmark" title="<?= +_("SandBox")?>" href="<?=WikiURL( +_("SandBox"))?>" /> +<link rel="bookmark" title="<?= +_("WikiWikiWeb")?>" href="<?=WikiURL( +_("WikiWikiWeb"))?>" /> +<?php } ?> + +<?php if ($user->isAdmin()) { + /* Only for the Administrator */ ?> +<link rel="bookmark" title="<?= +_("PhpWikiAdministration")?>" href="<?=WikiURL( +_("PhpWikiAdministration"))?>" /> +<?php } ?> +<?php if ($user->isSignedIn()) { + /* For signed-in users */ ?> +<link rel="bookmark" title="<?= +_("UserPreferences")?>" href="<?=WikiURL( +_("UserPreferences"))?>" /> +<?php /* User's calendar page + */ + $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR ._("Calendar"); + $UserCalPageUrl = WikiURL($UserCalPageTitle); + ?> +<link rel="bookmark" title="<?= $UserCalPageTitle ?>" href="<?= $UserCalPageUrl ?>" /> +<?php /* Today's calendar page for the user if it exists + */ + $UserCalPageTodayTitle = $UserCalPageTitle . SUBPAGE_SEPARATOR . strftime("%Y-%m-%d", time()); //FIXME + $dbi = $request->getDbh(); + if ($dbi->isWikiPage($UserCalPageTodayTitle)) { + $UserCalPageTodayUrl = WikiURL($UserCalPageTodayTitle); + ?> +<link rel="bookmark" title="<?= $UserCalPageTodayTitle ?>" href="<?= $UserCalPageTodayUrl ?>" /> +<?php } ?> +<?php } //end of links for signed-in user ?> +<?= $WikiTheme->getCSS() ?><?php + // avoid redundant bookmark title for custom home page + if ($page->getName() == WIKI_NAME && HOME_PAGE == WIKI_NAME) + $pagetitle = ""; + else + $pagetitle = " - ". AsString($TITLE); +?> +<title><?= WIKI_NAME.$pagetitle ?></title> +<?= $WikiTheme->getMoreHeaders() ?> +</head> Property changes on: trunk/themes/gforge/templates/head.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/html.tmpl =================================================================== --- trunk/themes/gforge/templates/html.tmpl (rev 0) +++ trunk/themes/gforge/templates/html.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,18 @@ +<?php // -*-html-*- +rcs_id('$Id$'); +/* + * No header for Gforge (already provided) + * + */ +?> +<?php $WikiTheme->header() ?> +<?= $WikiTheme->getMoreHeaders() ?> +<?= Template('body') ?> +<?php $WikiTheme->footer() ?> +<?php +if (defined('DEBUG') and DEBUG) { + echo "<!-- phpwiki source: \n"; + echo $RCS_IDS; + echo "-->\n"; +} +?> \ No newline at end of file Property changes on: trunk/themes/gforge/templates/html.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/info.tmpl =================================================================== --- trunk/themes/gforge/templates/info.tmpl (rev 0) +++ trunk/themes/gforge/templates/info.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,24 @@ +<?php // -*-php-*- ?> +<?= Template("default/info") ?> + +<div align="center"> + <p> + <?= Button("viewsource", _("View Source")) ?> + <?=$SEP?><?= Button("PageHistory", _("PageHistory")) ?> + <?=$SEP?><?= Button("Diff") ?> + <?=$SEP?><?= Button(array('action'=>'diff','previous' => 'minor'),_("Diff previous Revision"),$page->getName()) ?> + <?=$SEP?><?= Button(array('action'=>'diff','previous' => 'author'),_("Diff previous Author"),$page->getName()) ?> + <?=$SEP?><?= Button("PageDump", _("PageDump")) ?> + <?php if ((defined('DEBUG') && DEBUG) || $user->isAdmin()) { ?> + <!-- Buttons really only for debugging --> + <?=$SEP?><?= Button("DebugInfo", _("DebugInfo")) ?> +<?php + $PurgeCache = Button(array('nocache' => 'purge'), + _("PurgeHtmlCache"), $page->getName()); + $PurgeCache->addTooltip(_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed.")); +?> + <?=$SEP?><?= $PurgeCache ?> + </p> + <!-- End debugging buttons --> + <?php } ?> +</div> Property changes on: trunk/themes/gforge/templates/info.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/login.tmpl =================================================================== --- trunk/themes/gforge/templates/login.tmpl (rev 0) +++ trunk/themes/gforge/templates/login.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,64 @@ +<?php // -*-php-*- ?> +<!-- $Id$ --> +<!-- The login form --> +<?php if ($fail_message) { ?> + <p><strong><?=$fail_message?></strong></p> + <hr noshade="noshade" /> +<?php } ?> +<?php /* br past the logo */ ?> +<br class="clear-floats" /> + +<?php +if (DEBUG & _DEBUG_LOGIN) { + $t = sprintf(" DEBUG: ALLOW_ANON_EDIT = %s, ALLOW_BOGO_LOGIN = %s, ALLOW_USER_PASSWORDS = %s, ENABLE_PAGEPERM = %s, ", + ALLOW_ANON_EDIT ? "true" : "false", + ALLOW_BOGO_LOGIN ? "true" : "false", + ALLOW_USER_PASSWORDS ? "true" : "false", + ENABLE_PAGEPERM ? "true" : "false"); + if (ALLOW_USER_PASSWORDS) { + if ($fail_message) { // add for each method the exact failing reason. + $t .= " USER_AUTH_ORDER: "; + foreach ($GLOBALS['USER_AUTH_ORDER'] as $auth) { + $t .= " => $auth"; + if ($fail = @$GLOBALS['USER_AUTH_ERROR']["_".strtolower($auth)."passuser"]) + $t .= " ($fail)"; + } + } else + $t .= sprintf(" USER_AUTH_ORDER: %s", join(" => ", $GLOBALS['USER_AUTH_ORDER'])); + $t .= sprintf(", USER_AUTH_POLICY: %s", USER_AUTH_POLICY) + . sprintf(", PASSWORD_LENGTH_MINIMUM: %s", PASSWORD_LENGTH_MINIMUM); + } + echo asXML(HTML::div(array('class' => 'debug'),$t)); + echo "<br />\n"; +} +if (ALLOW_BOGO_LOGIN && $require_level <= WIKIAUTH_BOGO) { + require_once("lib/BlockParser.php"); + // This iso-8859-1 sample covers French, Spanish, Italian, German, and probably others + if (check_php_version(4,3)) + $examplechars = htmlentities("�������������", ENT_QUOTES, $charset); + elseif (check_php_version(4,0,3)) + $examplechars = htmlentities("�������������", ENT_QUOTES); + else + $examplechars = htmlentities("�������������"); + // Japanese login requires utf-8 and ALLOW_NONWIKIWORD_LOGINS + if (($charset == 'utf-8') && defined('ALLOW_NONWIKIWORD_LOGINS') && ALLOW_NONWIKIWORD_LOGINS) { + //sample Japanese login name in unicode + $examplechars = $examplechars . "天道あかね"; + } + $t = asXML(TransformText(_("You may sign in using any [WikiWord|AddingPages] as a user id. (Any characters in %s etc. may be used too). The user id will be used as a link in RecentChanges to your home page."), 2.0, true)); + if (substr_count($t,"%s") == 1) { + $s = @sprintf($t, $examplechars); + // FIXME: Workaround gettext or sprintf problem + if (empty($s)) echo $t; + else echo sprintf($t, $examplechars); + } else { + echo $t; + } + /* On disabled DbPrefs (PagePrefs only) note the user to create his PersonalPage. */ + // don't understand why I put this in --rurban + if (!isset($user->_prefs->_select)) { + echo asXML(TransformText(_("Note: Only if you create your personal HomePage with same the pagename as your user id, you will be able to store your UserPreferences. Otherwise not."))); + } + if (empty($pass_required)) ?> + <p><?= _("New users may use an empty password.") ?></p> +<?php } ?> \ No newline at end of file Property changes on: trunk/themes/gforge/templates/login.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/navbar.tmpl =================================================================== --- trunk/themes/gforge/templates/navbar.tmpl (rev 0) +++ trunk/themes/gforge/templates/navbar.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,26 @@ +<?php // -*-html-*- ?> +<!-- $Id$ --> +<!-- The top navigation/search bar --> + +<?php +$curuserprefs = $user->getPreferences(); +?> + + <tr><td class="submenu"><?= WikiLink(_("HomePage"), "","Home Page") ?></td></tr> + <tr><td class="submenu"><?= WikiLink(_("RecentChanges"), "","Recent Changes") ?></td></tr> + <tr><td class="submenu"><?= WikiLink(_("SpecialPages"), "","Special Pages") ?></td></tr> + <?php if ($curuserprefs->get('searchMenuItem')) { ?> + <tr><td class="submenu"><?= WikiLink(_("FindPage"), "","Search") ?></td></tr> + <?php } ?> + <?php if (!empty($revision)) { ?> + <?php if (0) { ?> + <tr><td class="submenu"><?= Button(array('action'=>'LikePages'),_("Like Pages"),$page->getName()) ?></td></tr> + <?php } ?> + <?php } ?> + <tr><td class="submenu"><?= WikiLink(_("UpLoad"), "","Upload File") ?></td></tr> + <?php if (!empty($user) && $user->isAdmin()) { ?> + <tr><td class="submenu"><?= WikiLink(_("PhpWikiAdministration"), "","Admin") ?></td></tr> + <?php } ?> + <?php if (!empty($user) && $user->isSignedIn()) { ?> + <tr><td class="submenu"><?= WikiLink(_("UserPreferences"), "","Preferences") ?></td></tr> + <?php } ?> Property changes on: trunk/themes/gforge/templates/navbar.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/pagelink.tmpl =================================================================== --- trunk/themes/gforge/templates/pagelink.tmpl (rev 0) +++ trunk/themes/gforge/templates/pagelink.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,31 @@ +<?php +/** + * Themable paging "|<< << - i/sum - >> >>|" links + * + * $Id$ --> + * Variables: PREV, NEXT, PREV_LINK, NEXT_LINK, + * COUNT, OFFSET, SIZE + * More ideas: FIRST, LAST, ... + */ +if ($WikiTheme->DUMP_MODE) { + $PREV = false; + $NEXT = false; +} +?> +<tr><td width="100%" colspan="<?= $COLS ?>"> </td></tr> +<tr><td width="100%" colspan="<?= $COLS ?>"><table style="border-width: 1px; border-style: solid; border-color: black; font-weight: bold;" width="100%"><tr class="wikipaging"> + <td class="wikipaging<?= $PREV ? "-enabled" : "-disabled" ?>" align="left"> + <?= $PREV ? HTML::a(array('href'=>$FIRST_LINK),_("|<<")) : _("|<<") ?> + + <?= $PREV ? HTML::a(array('href'=>$PREV_LINK),_("<< Prev")) : _("<<") ?> + </td> + <td class="wikipaging-enabled" align="center"> + <?= fmt(" - %d / %d - ", $ACTPAGE, $NUMPAGES) ?> + </td> + <td class="wikipaging<?= $NEXT ? "-enabled" : "-disabled" ?>" align="right"> + <?= $NEXT ? HTML::a(array('href'=>$NEXT_LINK),_("Next >>")) : _(">>") ?> + + <?= $NEXT ? HTML::a(array('href'=>$LAST_LINK),_(">>|")) : _(">>|") ?> + </td> +</tr></table></td></tr> +<tr><td width="100%" colspan="<?= $COLS ?>"> </td></tr> Property changes on: trunk/themes/gforge/templates/pagelink.tmpl ___________________________________________________________________ Added: svn:keywords + Id Added: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl (rev 0) +++ trunk/themes/gforge/templates/userprefs.tmpl 2008-08-22 13:18:48 UTC (rev 6189) @@ -0,0 +1,376 @@ +<?php // -*-html-*- ?> +<!-- $Id$ --> +<?php +// 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) { + if (empty($$var)) $$var = false; +} + +$plugin = $request->getArg('pagename'); +if ($request->isActionPage($request->getArg('pagename')) + and $isForm and $plugin == _("PreferencesInfo")) { + $isForm = false; +} +$time = time(); +$user =& $request->getUser(); +$pref =& $request->_prefs; + +if (!$pref) return; +$offset = $pref->get('timeOffset'); +$serverTime = $time - $offset * 3600; +if ( $isForm ) + $timeOffsetInput = HTML::input(array('type' => "text", + 'size' => 6, + 'maxlength' => 6, + 'name' => "pref[timeOffset]", + 'class' => "numeric", + 'value' => $offset)); +else + $timeOffsetInput = $pref->get('timeOffset'); + +$OwnModificationsCB = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[ownModifications]', + 'value' => '1', + 'checked' => (bool) $pref->get('ownModifications'))); +$MajorModificationsOnlyCB = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[majorModificationsOnly]', + 'value' => '1', + 'checked' => (bool) $pref->get('majorModificationsOnly'))); +$DiffMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[diffMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('diffMenuItem'))); +$PageInfoMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[pageInfoMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('pageInfoMenuItem'))); +$PDFMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[pdfMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('pdfMenuItem'))); +$ChownMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[chownMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('chownMenuItem'))); +$SetaclMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[setaclMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('setaclMenuItem'))); +$RemoveMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[removeMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('removeMenuItem'))); +$RenameMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[renameMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('renameMenuItem'))); +$RevertMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[revertMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('revertMenuItem'))); +$LockMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[lockMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('lockMenuItem'))); +$BackLinksMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[backLinksMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('backLinksMenuItem'))); +$WatchPageMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[watchPageMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('watchPageMenuItem'))); +$RecentChangesMenuItem = HTML::input(array('type' => 'checkbox', + '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'))); +$SpecialPagesMenuItem = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[specialPagesMenuItem]', + 'value' => '1', + 'checked' => (bool) $pref->get('specialPagesMenuItem'))); +$RelativeDatesCB = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[relativeDates]', + 'value' => '1', + 'checked' => (bool) $pref->get('relativeDates'))); +$NoLinkIconsCB = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[noLinkIcons]', + 'value' => '1', + 'checked' => (bool) $pref->get('noLinkIcons'))); +$GoogleLinkCB = HTML::input(array('type' => 'checkbox', + 'name' => 'pref[googleLink]', + 'value' => '1', + 'checked' => (bool) $pref->get('googleLink'))); +$DoubleClickCB = HTML::input(array('type' => 'checkbox', + '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'); +} + +if ($errmsg) $msg = HTML(HTML::h4(array('class' => 'errors'), $errmsg),HTML::hr()); +?> +<?= $errmsg ?> + +<h2> +<?= fmt("User preferences for user '%s'", $user->UserName()) ?> +</h2> + +<?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"> +<?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"> + <?=_("Get an email notification at changes of the following pages:")?><br /> + <?php if ($isForm) { ?> + <blockquote><textarea name="pref[notifyPages]" cols="30" rows="4"><?=$pref->get('notifyPages')?></textarea></blockquote></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> + <?php } ?> + </tr> +<?php } ?> + +</table> +</fieldset> +<br /> +<fieldset> +<legend><strong>Global user preferences (for all projects)</strong></legend> + +<table border="0"> + + <tr><td colspan="3"><h3><?=_("E-mail Notification")?></h3></td></tr> + + <tr> + <td> + <p><?=_("Do not send my own modifications:")?></p> + </td> + <td> + <p><?= $OwnModificationsCB ?></p> + </td> + <td> + <p class="hint"><?=_("Check if you do not want to be notified of your own modifications.")?></p> + </td> + </tr> + + <tr><td colspan="3"><h3><?=_("Menus")?></h3></td></tr> + <tr> + <td> + <fieldset> + <legend>Top Menu</legend> + <table cellpadding="0" cellspacing="0"> + <tr> + <td> + <p><?= $DiffMenuItem ?> <?=_("Last Difference")?></p> + </td> + </tr> + <tr> + <td> + <p><?= $RevertMenuItem ?> <?=_("Revert")?></p> + </td> + </tr> + <?php if (defined('USE_EXTERNAL_HTML2PDF') and USE_EXTERNAL_HTML2PDF) { ?> + <tr> + <td> + <p><?= $PDFMenuItem ?> <?=_("PDF")?></p> + </td> + </tr> + <?php } ?> + <tr> + <td> + <p><?= $LockMenuItem ?> <?=_("Lock")?></p> + </td> + </tr> + <tr> + <td> + <p><?= $ChownMenuItem ?> <?=_("Change Owner")?></p> + </td> + </tr> + <tr> + <td> + <p><?= $SetaclMenuItem ?> <?=_("Access Rights")?></p> + </td> + </tr> + </table> + </fieldset> + </td> + + <td valign="top"> + <fieldset> + <legend>Left Menu</legend> + <table cellpadding="0" cellspacing="0"> + <tr> + <td> + <p><?= $SearchMenuItem ?> <?=_("Search")?></p> + </td> + </tr> + </table> + </fieldset> + </td> + + <td valign="top"> + <p class="hint"><?=_("Check menu items to display.")?></p> + </td> + </tr> + + <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 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"> + <?=_("Height")?>: + <?php if ($isForm) { ?> + <input type="text" name="pref[editHeight]" size="4" maxlength="4" class="numeric" + value="<?=$pref->get('editHeight')?>" /> + <?php } else { ?> + <?=$pref->get('editHeight')?> + <?php } ?> + <?=_("Width")?>: + <?php if ($isForm) { ?> + <input type="text" name="pref[editWidth]" size="4" maxlength="4" class="numeric" + value="<?=$pref->get('editWidth')?>" /> + <?php } else { ?> + <?=$pref->get('editWidth')?> + <?php } ?> + </td> + <td><p class="hint"> + <?=_("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><?=_("Time Zone")?></h3></td></tr> + + <tr><td colspan="2"><p> + <?=fmt("Add %s hours to the server's local time when reporting times.", + $timeOffsetInput)?> + </p></td><td> + <p class="hint"> + <?=fmt("The current time at the server is %s.", + HTML::strong($WikiTheme->formatDateTime($serverTime)))?> + <?=fmt("With the current offset, this would be reported as %s.", + HTML::strong($WikiTheme->formatDateTime($time)))?> + </p> + </td></tr> + + <tr><td colspan="3"><h3><?=_("Date Format")?></h3></td></tr> + + <tr><td colspan="2"><p> + <?=_("Show relative dates using 'Today' and 'Yesterday'")?>: + <?= $RelativeDatesCB ?> + </p></td><td></td></tr> +</table> +</fieldset> + +<?php if ($isForm) { ?> + <br /> + <p><?=Button("submit:", _("Update Preferences"), 'wikiadmin')?> + <?=Button("submit:delete", _("Reset Preferences"), 'wikiadmin')?> + <?=Button("submit:cancel", _("Cancel"), 'button')?></p> + +<?= HiddenInputs($request->getArgs(), false, array('pref')) ?> +</form> +<?php } ?> Property changes on: trunk/themes/gforge/templates/userprefs.tmpl ___________________________________________________________________ Added: svn:keywords + Id This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2008-08-26 16:44:57
|
Revision: 6211 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6211&view=rev Author: vargenau Date: 2008-08-26 16:45:07 +0000 (Tue, 26 Aug 2008) Log Message: ----------- Valid XHTML code Modified Paths: -------------- trunk/themes/MonoBook/templates/info.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/blog/templates/blogform.tmpl trunk/themes/blog/templates/viewsource.tmpl Modified: trunk/themes/MonoBook/templates/info.tmpl =================================================================== --- trunk/themes/MonoBook/templates/info.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/MonoBook/templates/info.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -49,7 +49,7 @@ 'rows' => $request->getPref('editHeight')/4, 'cols' => $request->getPref('editWidth')/2, 'readonly' => 'readonly', - 'wrap' => 'virtual'), /* for Netscape 4 */ + ), $revision->get('summary')); if ($is_current = $revision->isCurrent()) { Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/Portland/templates/editpage.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -7,9 +7,6 @@ * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept * a redirect from a page to itself.) * - * <textarea wrap="virtual"> is not valid xhtml but Netscape 4 requires it - * to wrap long lines. - * */ ?> <form method="post" name="editpage" @@ -96,4 +93,4 @@ // --> </script> -<hr /> \ No newline at end of file +<hr /> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/Portland/templates/viewsource.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -13,16 +13,15 @@ <!-- Dummy form else NS4 does not like the textarea --> <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> -<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> <textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" - wrap="virtual"><?= $PAGE_SOURCE ?></textarea> + ><?= $PAGE_SOURCE ?></textarea> <?= HiddenInputs($request->getArgs()) ?> </form> <hr /> <a href="<?=WikiURL($page,array('action'=>_("PageHistory")))?>" ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a> -<br /> \ No newline at end of file +<br /> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -17,13 +17,12 @@ <!-- Dummy form else NS4 does not like the textarea --> <form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> -<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> <textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" - wrap="virtual"><?= $PAGE_SOURCE ?></textarea> + ><?= $PAGE_SOURCE ?></textarea> <?= HiddenInputs($request->getArgs()) ?> </form> <hr /> @@ -31,4 +30,4 @@ ><?= $WikiTheme->getLastModifiedMessage($revision) ?></a> <br /> -</div> \ No newline at end of file +</div> Modified: trunk/themes/blog/templates/blogform.tmpl =================================================================== --- trunk/themes/blog/templates/blogform.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/blog/templates/blogform.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -13,7 +13,7 @@ <?= $EDIT_TOOLBAR ?> <a name="editarea"></a> <textarea id="edit-content" class="edit-content" rows="8" style="width:540px" - name="edit[content]" wrap="virtual"></textarea> + name="edit[content]"></textarea> <br /> <input id="wikiblog-submit" type="submit" value="<?=_("Add Entry")?>" name="edit[save]" class="wikiaction" /> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2008-08-26 16:30:49 UTC (rev 6210) +++ trunk/themes/blog/templates/viewsource.tmpl 2008-08-26 16:45:07 UTC (rev 6211) @@ -17,12 +17,11 @@ action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> <?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?> <!br clear="all" class="clear-floats" /> -<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> <textarea class="wikiedit" name="content" rows="<?=$request->getPref('editHeight')?>" cols="<?=$request->getPref('editWidth')?>" readonly="readonly" -wrap="virtual"><?= $PAGE_SOURCE ?></textarea> +><?= $PAGE_SOURCE ?></textarea> <?=$HIDDEN_INPUTS?> </form> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ru...@us...> - 2009-01-17 14:40:31
|
Revision: 6409 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6409&view=rev Author: rurban Date: 2009-01-17 14:40:16 +0000 (Sat, 17 Jan 2009) Log Message: ----------- Change old Sidebar theme to new MonoBook-based layout with a few goodies. Fix MonoBook/templates/viewsource.tmpl Add special Sidebar/wikibits.js with added showHideFolder() Modified Paths: -------------- trunk/themes/MonoBook/themeinfo.php trunk/themes/Sidebar/templates/body.tmpl trunk/themes/Sidebar/templates/navbar.tmpl trunk/themes/Sidebar/templates/signin.tmpl trunk/themes/Sidebar/templates/top.tmpl trunk/themes/Sidebar/themeinfo.php trunk/themes/default/templates/actionbar.tmpl Added Paths: ----------- trunk/themes/MonoBook/templates/viewsource.tmpl trunk/themes/Sidebar/hwiki.prop trunk/themes/Sidebar/hyperapplet.php trunk/themes/Sidebar/hyperwiki.jar trunk/themes/Sidebar/hyperwiki.php trunk/themes/Sidebar/images/folderArrowClosed.png trunk/themes/Sidebar/images/folderArrowOpen.png trunk/themes/Sidebar/images/mini_help.png trunk/themes/Sidebar/monobook.css trunk/themes/Sidebar/templates/actionbar.tmpl trunk/themes/Sidebar/templates/browse.tmpl trunk/themes/Sidebar/templates/content.tmpl trunk/themes/Sidebar/templates/debug.tmpl trunk/themes/Sidebar/templates/dump-footer.tmpl trunk/themes/Sidebar/templates/html.tmpl trunk/themes/Sidebar/templates/htmldump.tmpl trunk/themes/Sidebar/templates/logo.tmpl trunk/themes/Sidebar/templates/ratings.tmpl trunk/themes/Sidebar/templates/rc.tmpl trunk/themes/Sidebar/templates/search.tmpl trunk/themes/Sidebar/templates/tags.tmpl trunk/themes/Sidebar/wikibits.js Added: trunk/themes/MonoBook/templates/viewsource.tmpl =================================================================== --- trunk/themes/MonoBook/templates/viewsource.tmpl (rev 0) +++ trunk/themes/MonoBook/templates/viewsource.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,26 @@ +<?php // -*-html-*- ?> +<!-- $Id: viewsource.tmpl,v 1.25 2007/01/02 13:29:14 rurban Exp $ --> + +<?php if ($page->get('locked') && !$user->isAdmin()) { ?> + <p><strong><?=_("Note:")?></strong> + <?=_("This page has been locked by the administrator and cannot be edited.")?> + </p> + <?php } ?> +<?php if ($revision and !$revision->isCurrent()) { ?> + <p><?=_("You are viewing an old revision of this page.")?> + <?= Button('edit', _("View the current version"), $page) ?>. + </p> + <?php } ?> +<!-- Dummy form else NS4 does not like the textarea --> +<form method="post" action="<?=$request->getPostURL()?>" accept-charset="<?=CHARSET?>"> +<?php /* To clear beyond a larger logo, such as in the Hawaiian theme */ ?> +<br clear="all" class="clear-floats" /> +<!-- wrap=virtual is not HTML4, but without it NS4 does not wrap long lines --> +<textarea class="wikiedit" +name="content" +rows="<?=$request->getPref('editHeight')?>" +cols="<?=$request->getPref('editWidth')?>" +readonly="readonly" +wrap="virtual"><?= $PAGE_SOURCE ?></textarea> +<?=$HIDDEN_INPUTS?> +</form> Modified: trunk/themes/MonoBook/themeinfo.php =================================================================== --- trunk/themes/MonoBook/themeinfo.php 2009-01-17 14:33:24 UTC (rev 6408) +++ trunk/themes/MonoBook/themeinfo.php 2009-01-17 14:40:16 UTC (rev 6409) @@ -17,6 +17,7 @@ * and convert back and forth. */ require_once('lib/WikiTheme.php'); +require_once('themes/wikilens/themeinfo.php'); if (!defined("ENABLE_MARKUP_TEMPLATE")) define("ENABLE_MARKUP_TEMPLATE", true); if (!defined("ENABLE_MARKUP_MEDIAWIKI_TABLE")) @@ -45,7 +46,10 @@ $WikiTheme->makeActionButton($action, $label, $page_or_rev, $options)); } -class WikiTheme_MonoBook extends WikiTheme { +class WikiTheme_MonoBook +/* extends WikiTheme */ +extends WikiTheme_Wikilens +{ /* this adds selected to the class */ function makeActionButton ($action, $label = false, $page_or_rev = false, $options = false) { @@ -207,4 +211,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> +?> \ No newline at end of file Added: trunk/themes/Sidebar/hwiki.prop =================================================================== --- trunk/themes/Sidebar/hwiki.prop (rev 0) +++ trunk/themes/Sidebar/hwiki.prop 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,26 @@ +; layout settings +hypergraph.visualnet.layout.class=hypergraph.visualnet.GenericMDSLayout +;hypergraph.visualnet.layout.class=hypergraph.visualnet.TreeLayout +hypergraph.visualnet.layout.expandingEnabled=false +hypergraph.visualnet.layout.initiallyExpanded=3 +hypergraph.visualnet.GenericMDSLayout.repulsingForce=1 +hypergraph.visualnet.GenericMDSLayout.connectedDisparity=0.3 +hypergraph.visualnet.TreeLayout.maxangle=180 +hypergraph.visualnet.TreeLayout.mindistance=1 +hypergraph.visualnet.TreeLayout.defaultSize=0.1 +; settings for the text. +hypergraph.hyperbolic.text.fontName=Arial +hypergraph.hyperbolic.text.size1=12 +hypergraph.hyperbolic.text.scale1=0.7 +hypergraph.hyperbolic.text.size2=10 +hypergraph.hyperbolic.text.scale2=0.3 +hypergraph.hyperbolic.text.size3=8 +hypergraph.hyperbolic.text.scale3=0.1 +hypergraph.hyperbolic.text.size4=0 +hypergraph.hyperbolic.text.color=#ff0000 +hypergraph.hyperbolic.line.color=#c0c0c0 +#hypergraph.hyperbolic.text.backgroundColor=#ffffff +hypergraph.hyperbolic.background.color=#f0f0f0 +; settings for HExplorerApplet +; hypergraph.applications.hexplorer.GraphPanel.target=contentFrame +hypergraph.applications.hexplorer.GraphPanel.target=_parent Property changes on: trunk/themes/Sidebar/hwiki.prop ___________________________________________________________________ Added: svn:executable + * Added: trunk/themes/Sidebar/hyperapplet.php =================================================================== --- trunk/themes/Sidebar/hyperapplet.php (rev 0) +++ trunk/themes/Sidebar/hyperapplet.php 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,21 @@ +<?php +/* Download hyperapplet.jar (or hyperwiki.jar) and GraphXML.dtd from + * http://hypergraph.sourceforge.net/download.html + * and place it into your theme directory. + * Include this php file and adjust the width/height. + * The static version requires a dumped "LinkDatabase.xml" via + * cd themes/default; wget http://localhost/wiki/index.php/LinkDatabase?format=xml -O LinkDatabase.xml + * into the same dir as hyperapplet.jar + */ +global $WikiTheme; +?> +<applet code="hypergraph.applications.hexplorer.HExplorerApplet.class" align="baseline" + archive="<?= $WikiTheme->_finddata("hyperapplet.jar") ?>" + width="160" height="360"> +<?php // the dynamic version: ?> + <!--param name="file" value="<?= WikiURL("LinkDatabase", array('format'=>'xml')) ?>" /--> +<?php // The faster static version: dump it periodically ?> + <param name="file" value="<?= $WikiTheme->_finddata("LinkDatabase.xml") ?>" /> + <!--param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" /--> + <param name="center" value="<?= $page->getName() ?>" /> +</applet> \ No newline at end of file Property changes on: trunk/themes/Sidebar/hyperapplet.php ___________________________________________________________________ Added: svn:executable + * Added: trunk/themes/Sidebar/hyperwiki.jar =================================================================== (Binary files differ) Property changes on: trunk/themes/Sidebar/hyperwiki.jar ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream Added: trunk/themes/Sidebar/hyperwiki.php =================================================================== --- trunk/themes/Sidebar/hyperwiki.php (rev 0) +++ trunk/themes/Sidebar/hyperwiki.php 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,16 @@ +<?php + /* Download hyperwiki.jar and GraphXML.dtd from + * http://hypergraph.sourceforge.net/download.html + * and place it into your theme directory. + * Include this php file and adjust the width/height. + */ +global $WikiTheme; + // via the RPC interface it goes like this... +?> +<applet code="hypergraph.applications.hwiki.HWikiApplet.class" + archive="<?= $WikiTheme->_finddata("hyperwiki.jar") ?>" + width="162" height="240"> + <param name="startPage" value="<?= $page->getName() ?>" /> + <param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" /> + <param name="wikiURL" value="<?= PHPWIKI_BASE_URL ?>" /> +</applet> Property changes on: trunk/themes/Sidebar/hyperwiki.php ___________________________________________________________________ Added: svn:executable + * Added: trunk/themes/Sidebar/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Sidebar/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Sidebar/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Sidebar/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Sidebar/images/mini_help.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Sidebar/images/mini_help.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Sidebar/monobook.css =================================================================== --- trunk/themes/Sidebar/monobook.css (rev 0) +++ trunk/themes/Sidebar/monobook.css 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,1924 @@ +/* +** MediaWiki 'monobook' style sheet for CSS2-capable browsers. +** Copyright Gabriel Wicke - http://wikidev.net/ +** License: GPL (http://www.gnu.org/copyleft/gpl.html) +** +** Loosely based on http://www.positioniseverything.net/ordered-floats.html by Big John +** and the Plone 2.0 styles, see http://plone.org/ (Alexander Limi,Joe Geldart & Tom Croucher, +** Michael Zeltner and Geir Bækholt) +** All you guys rock :) +** Added phpwiki integration: Reini Urban, based on the phpwiki.css by Jeff Dairiki +*/ + +#column-content { + width: 100%; + float: right; + margin: 0 0 .6em -12.2em; + padding: 0; +} +#content { + /* margin: 2.8em 0 0 12.2em; */ + /* padding: 0em 1em 1.5em 1em; */ + margin: 61px 0 0 12.2em; + padding: 1em 1em 1.5em 1em; + background: White; + border: 1px solid #aaaaaa; + border-right: none; + line-height: 1.5em; + position: relative; + z-index: 2; +} +#column-one { padding-top: 50px; } +/* the left column width is specified in class .portlet */ + +/* Font size: +** We take advantage of keyword scaling- browsers won't go below 9px +** More at http://www.w3.org/2003/07/30-font-size +** http://style.cleverchimp.com/font_size_intervals/altintervals.html +*/ + +body { + font: small sans-serif; + background: #ffffff; +/* background: #f9f9f9 url("images/headbg.jpg") 0px 0px no-repeat; */ + color: black; + margin: 0; + padding: 0; +} + +/* scale back up to a sane default */ +#globalWrapper { + font-size:127%; + width: 100%; + margin: 0; + padding: 0; +} +.visualClear { clear: both; } + +/* general styles */ + +table { + font-size: 100%; + color: black; +} +a { + text-decoration: none; + color: #004ba6; + background: none; +} +a:visited { color: #5a3696; } +a:active { color: #faa700; } +a:hover { text-decoration: underline; } +a.stub { color: #772233; } +a.new, #p-personal a.new { + color: #ba0000; +} +a.new:visited, #p-personal a.new:visited { + color: #a55858; +} + +img { + border: none; + /*vertical-align: middle;*/ +} +p { + margin: .4em 0 .5em 0; + line-height: 1.5em; +} +p img { + margin: 0; +} +img.inlineimage { + border: none; + display: inline; +} + +hr { + height: 1px; + color: #aaa; + background-color: #aaa; + border: 0; + margin: .2em 0 .2em 0; +} + +h1, h2, h3, h4, h5, h6 { + color: black; + background: none; + font-weight: bold; + font-family: Tahoma, sans-serif; + margin: 0; + padding-top: 0.5em; + padding-bottom: 0.17em; + border-bottom: 1px solid #aaa; +} +h1 { font-size: 188%; } +h2 { font-size: 150%; } +h3, h4, h5, h6 { + border-bottom: none; + font-weight: bold; +} +h3 { font-size: 132%; } +h4 { font-size: 116%; } +h5 { font-size: 100%; } +h6 { font-size: 80%; } + +ul { + line-height: 1.5em; + list-style-type: square; + margin: 0.3em 0 0 1.5em; + padding:0; + list-style-image: url("images/bullet.png"); +} +ol { + line-height: 1.5em; + margin: 0.3em 0 0 3.2em; + padding:0; + list-style-image: none; +} +li { margin-bottom: 0.1em; } +dt { + /*font-family: Tahoma, sans-serif;*/ + font-size: 115%; + /*font-weight: bolder;*/ + /*background-color: #ddd;*/ + margin-bottom: .5em; +} +dl { + margin-top: .2em; + margin-bottom: .5em; +} +dd { + line-height: 1.5em; + margin-left: 2em; + margin-bottom: .1em; +} + +fieldset { + border: 1px solid #2f6fab; + margin: 1em 0 1em 0; + padding: 0 1em 1em 1em; + line-height: 1.5em; +} +legend { + /*background: white;*/ + padding: 0.5em; + font-size: 95%; +} +form { + border: none; + margin: 0; +} + +textarea { + width: 100%; + padding: .1em; +} + +input.historysubmit { + padding: 0 0.3em 0.3em 0.3em !important; + font-size: 94%; + cursor: pointer; + height: 1.7em !important; + margin-left: 1.6em; +} +select { + vertical-align: top; +} +abbr, acronym, .explain { + border-bottom: 1px dotted black; + color: black; + background: none; + cursor: help; +} +q { + font-family: Times, "Times New Roman", serif; + font-style: italic; +} +/* disabled for now +blockquote { + font-family: Times, "Times New Roman", serif; + font-style: italic; +}*/ +code { + background-color: #f9f9f9; +} +pre { + padding: 1em; + border: 1px dashed #2f6fab; + color: black; + background-color: #f9f9f9; + line-height: 1.1em; +} + +/* +** the main content area +*/ + +#siteSub { display: none; } +#jump-to-nav { + display: none; +} +#contentSub { + font-size: 84%; + line-height: 1.2em; + margin: 0 0 1.4em 1em; + color: #7d7d7d; + width: auto; +} +span.subpages { display: block; } + +/* Space for the right logo + rating */ +h1.firstHeading { + margin-right: 220px; + line-height: 1.2em; +} +/* Some space under the headers in the content area */ +#bodyContent h1, #bodyContent h2 { + margin-bottom: .6em; +} +#bodyContent h3, #bodyContent h4, #bodyContent h5 { + margin-bottom: .3em; +} +.firstHeading { margin-bottom: 0.1em; } + +/* user notification thing */ +.usermessage { + background-color: #ffce7b; + border: 1px solid #ffa500; + color: black; + font-weight: bold; + margin: 2em 0 1em; + padding: .5em 1em; + vertical-align: middle; +} +#siteNotice { + text-align: center; + font-size: 95%; + padding: 0 .9em; +} +#siteNotice p { + margin: 0; + padding: 0; +} +.error { + color: red; + font-size: larger; +} +.errorbox, .successbox { + font-size: larger; + border: 2px solid; + padding: .5em 1em; + float: left; + margin-bottom: 2em; + color: #000; +} +.errorbox { + border-color: red; + background-color: #fff2f2; +} +.successbox { + border-color: green; + background-color: #dfd; +} +.errorbox h2, .successbox h2 { + font-size: 1em; + font-weight: bold; + display: inline; + margin: 0 .5em 0 0; + border: none; +} + +#catlinks { + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + margin-top: 1em; + clear: both; +} +/* currently unused, intended to be used by a metadata box +in the bottom-right corner of the content area */ +.documentDescription { + /* The summary text describing the document */ + font-weight: bold; + display: block; + margin: 1em 0; + line-height: 1.5em; +} +.documentByLine { + text-align: right; + font-size: 90%; + clear: both; + font-weight: normal; + color: #76797c; +} + +/* emulate center */ +.center { + width: 100%; + text-align: center; +} +*.center * { + margin-left: auto; + margin-right: auto; +} +/* small for tables and similar */ +.small, .small * { + font-size: 94%; +} +table.small { + font-size: 100%; +} + +/* +** RecentChanges +*/ +.pageinfo-majoredit { + font-weight: normal; /*bold;*/ +} +.wiki-summary { + font-size: 94%; + font-style: italic; +} + +/* +** content styles +*/ +.mw-warning { + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + margin-bottom: 8px; + font-size: 95%; +} +#toc, +.toc { + width: 200px; + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; + float: right; + clear: right; +} +#toc h2, +.toc h2 { + display: inline; + border: none; + padding: 0; + font-size: 100%; + font-weight: bold; +} +.toc #toclist { + width: auto; + border: none; +} +#toc #toctitle, +.toc #toctitle, +#toc .toctitle, +.toc .toctitle { + text-align: center; +} +#toc ul, +.toc ul { + list-style-type: none; + list-style-image: none; + margin-left: 0; + padding-left: 0; + text-align: left; +} +#toc ul ul, +.toc ul ul { + margin: 0 0 0 2em; +} +#toc .toctoggle, +.toc .toctoggle { + font-size: 94%; +} + +.mw-warning { + margin-left: 50px; + margin-right: 50px; + text-align: center; +} + +/* images */ +div.floatright, table.floatright { + clear: right; + float: right; + position: relative; + margin: 0 0 .5em .5em; + border: 0; +/* + border: .5em solid white; + border-width: .5em 0 .8em 1.4em; +*/ +} +div.floatright p { font-style: italic; } +div.floatleft, table.floatleft { + float: left; + position: relative; + margin: 0 .5em .5em 0; + border: 0; +/* + margin: .3em .5em .5em 0; + border: .5em solid white; + border-width: .5em 1.4em .8em 0; +*/ +} +div.floatleft p { font-style: italic; } +/* thumbnails */ +div.thumb { + margin-bottom: .5em; + border-style: solid; + border-color: white; + width: auto; +} +div.thumb div { + border: 1px solid #ccc; + padding: 3px !important; + background-color: #f9f9f9; + font-size: 94%; + text-align: center; + overflow: hidden; +} +div.thumb div a img { + border: 1px solid #ccc; +} +div.thumb div div.thumbcaption { + border: none; + text-align: left; + line-height: 1.4em; + padding: .3em 0 .1em 0; +} +div.magnify { + float: right; + border: none !important; + background: none !important; +} +div.magnify a, div.magnify img { + display: block; + border: none !important; + background: none !important; +} +div.tright { + clear: right; + float: right; + border-width: .5em 0 .8em 1.4em; +} +div.tleft { + float: left; + margin-right: .5em; + border-width: .5em 1.4em .8em 0; +} + +.hiddenStructure { + display: none; + speak: none; +} +img.tex { + vertical-align: middle; +} +span.texhtml { + font-family: serif; +} + +/* +** classes for special content elements like town boxes +** intended to be referenced directly from the wiki src +*/ + +/* +** User styles +*/ +/* table standards */ +table.rimage { + float: right; + position: relative; + margin-left: 1em; + margin-bottom: 1em; + text-align: center; +} +.toccolours { + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; +} +div.townBox { + position: relative; + float: right; + background: white; + margin-left: 1em; + border: 1px solid gray; + padding: .3em; + width: 200px; + overflow: hidden; + clear: right; +} +div.townBox dl { + padding: 0; + margin: 0 0 .3em; + font-size: 96%; +} +div.townBox dl dt { + background: none; + margin: .4em 0 0; +} +div.townBox dl dd { + margin: .1em 0 0 1.1em; + background-color: #f3f3f3; +} + +/* +** edit views etc +*/ +.special li { + line-height: 1.4em; + margin: 0; + padding: 0; +} + +/* Page history styling */ +/* the auto-generated edit comments */ +.autocomment { + color: gray; +} +#pagehistory span.user { + margin-left: 1.4em; + margin-right: .4em; +} +#pagehistory span.minor { + font-weight: bold; +} +#pagehistory li { + border: 1px solid white; +} +#pagehistory li.selected { + background-color: #f9f9f9; + border: 1px dashed #aaa; +} + +/* +** Diff rendering (unused) +*/ +table.diff, td.diff-otitle, td.diff-ntitle { + background-color: white; +} +td.diff-addedline { + background: #cfc; + font-size: smaller; +} +td.diff-deletedline { + background: #ffa; + font-size: smaller; +} +td.diff-context { + background: #eee; + font-size: smaller; +} +span.diffchange { + color: red; + font-weight: bold; +} + +/** + * Diff Output + */ +/* main box */ +.diff { + margin-top: 1ex; + margin-bottom: 0.5ex; + background: white; + /* Netscape 4 requires this 1px border. + Without it, the paper borders below cause + the white background to disappear. */ + border: 1px #ccc solid; + color: black; + border-top: 1px solid #494f5d; + border-left: 1px solid #494f5d; + border-bottom: 1px solid #c6d2de; + border-right: 1px solid #c6d2de; + padding-top: 1px; + padding-bottom: 1px; + padding-left: .125em; + padding-right: .125em; + padding: 0; + /* "paper" borders */ + /*border-top: 2px #d2d2d2 solid; + border-left: 2px #b2b2b2 solid; + border-bottom: 2px #e8e6df solid; + border-right: 2px #e8e6df solid;*/ +/* padding-left: 0em; + padding-bottom: 0ex;*/ +/* border-style: inset;*/ + /*This breaks Netscape 4: (display does not go full width). + * width: auto; + */ + /* I'm not sure what the intent of this was, but it's + * not valid CSS: */ + /* display: editarea; */ + clear: both; +} +.diff .block { + background: #ddd; + padding-left: 1em; + /* for NS4 */ + /*border: none;*/ +} + +/* individual blocks */ +.diff .context { + background: white; + /* for NS4 */ + border: none; +} +/* entire difftextblock */ +.difftext { + margin-top: 0; + margin-bottom: 0; + background: white; + /* Netscape 4 requires this 1px border. + Without it, the paper borders below cause + the white background to disappear. */ + border: 1px black solid; + /* "paper" borders */ + border-top: 1px #e8e6df solid; + border-left: 1px #e8e6df solid; + border-bottom: 1px #d2d2d2 solid; + border-right: 1px #b2b2b2 solid; + padding-left: 0em; + padding-right: 0em; + padding-top: 0ex; + padding-bottom: 0ex; + /*This breaks Netscape 4: (display does not go full width). + * width: auto; + */ + clear: both; +} +/* + - line prefix */ +.diff .block tt { + font-weight: normal; + font-family: monospace; + color: black; + /* for NS4 */ + margin-left: 0; + border: none; +} +/* changed words */ +.diff del, .diff ins { + font-weight: bold; + text-decoration: none; +} + +/* blocks containing deleted or added words */ +.diff .original, .diff .deleted, +.diff .final, .diff .added { + background: white; +} +/* blocks containing deleted words */ +.diff .original, .diff .deleted { + background: #fcc; + /* for NS4 */ + border: none; +} +/* blocks containing added words */ +.diff .final, .diff .added { + background: #cfc; + /* for NS4 */ + border: none; +} + +/* These don't work in NS4 -- it completely ignores <del> and <ins>. */ +/* deleted words */ +.diff del { background: #f99; } +/* added words */ +.diff ins { background: #9f9; } + +/** + * PageHistory, Info + */ +td.pageinfo { font-weight: bold; } +.pageinfo-minoredit, .pageinfo-authorid { + font-size: smaller; + font-style: oblique; +} + +/** + * Calendar plugin + */ +table.cal { + border: 1px outset gray; + background: white; + margin: 0.5ex 0.5em; + padding: 1px; + /* For Mozilla */ + empty-cells: hide; +} + +/* cells */ +table.cal td { + background: white; + text-align: right; +} + +/* Month-name header */ +table.cal-header { font-size: larger; } +table.cal-header tr, table.cal-header td { text-align: center; } +.cal-arrow { + font-weight: bold; + text-decoration: none; +} + +/* Day-names header */ +table.cal tbody tr .cal-dayname { } +.cal-dayname td { + text-align: center; + font-size: smaller; + text-decoration: underline; +} + +/* Individual days */ +a.cal-hide { text-decoration: none; } + +/* Today */ + /* cell */ +table.cal td.cal-today { + margin: 1px; + border: 1px solid gray; +} + /* text */ +table.cal td.cal-today a.cal-hide { } + +/* +** keep the whitespace in front of the ^=, hides rule from konqueror +** this is css3, the validator doesn't like it when validating as css2 +*/ +#bodyContent a.external, +#bodyContent a[href ^="gopher://"] { + background: url("images/url.png") center right no-repeat; + padding-right: 13px; +} +#bodyContent a[href ^="https://"], +.link-https { + background: url("images/lock_icon.png") center right no-repeat; + padding-right: 16px; +} +#bodyContent a[href ^="mailto:"], +.link-mailto { + background: url("images/mail_icon.png") center right no-repeat; + padding-right: 18px; +} +#bodyContent a[href ^="news://"] { + background: url("images/news_icon.png") center right no-repeat; + padding-right: 18px; +} +#bodyContent a[href ^="ftp://"], +.link-ftp { + background: url("images/file_icon.png") center right no-repeat; + padding-right: 18px; +} +#bodyContent a[href ^="irc://"], +.link-irc { + background: url("images/discussionitem_icon.png") center right no-repeat; + padding-right: 18px; +} +/* disable interwiki styling */ +#bodyContent a.extiw, +#bodyContent a.extiw:active { + color: #36b; + background: none; + padding: 0; +} +#bodyContent a.external { + color: #36b; +} +/* this can be used in the content area to switch off +special external link styling */ +#bodyContent .plainlinks a { + background: none !important; + padding: 0 !important; +} +/* +** Structural Elements +*/ + +/* +** general portlet styles (elements in the quickbar) +*/ +.portlet { + border: none; + margin: 0 0 .5em; + padding: 0; + float: none; + width: 11.6em; + overflow: hidden; +} +.portlet h4 { + font-size: 95%; + font-weight: normal; + white-space: nowrap; +} +.portlet h5 { + background: transparent; + padding: 0em 1em 0em 0.5em; + /*text-transform: lowercase;*/ + display: inline; + font-size: 91%; + height: 16px; + width: 11.6em; + font-weight: bold; + white-space: nowrap; +} +.portlet h5 img { + padding: 0; + margin: 0; + top: 0px; + right: 0px; + height: 15px; + width: 15px; + border: 0; +} +.portlet h6 { + background: #ffae2e; + border: 1px solid #2f6fab; + border-style: solid solid none solid; + padding: 0em 1em 0em 1em; + /*text-transform: lowercase;*/ + display: block; + font-size: 1em; + height: 1.2em; + font-weight: normal; + white-space: nowrap; +} +.pBody { + font-size: 95%; + background-color: white; + color: black; + border-collapse: collapse; + border: 1px solid #aaa; + padding: 0 .8em .3em .5em; +} +.portlet h1, +.portlet h2, +.portlet h3, +.portlet h4 { + margin: 0; + padding: 0; +} +.portlet ul { + line-height: 1.5em; + list-style-type: square; + list-style-image: url("images/bullet.png"); + font-size:95%; +} +.portlet li { + padding:0; + margin: 0 0 0 0; + margin-bottom: 0; +} + +/* +** Logo properties + * Optionally at the right also an image +*/ +#p-logo { + z-index: 1; + position: absolute; /*needed to use z-index */ + top: 0; + left: 0; + height: 42px; + width: 100%; + /*width: 340px;*/ + overflow: visible; + background: #000099; +} +#p-logo h5 { display: none; } +#p-logo a, +#p-logo a:hover { + display: block; + height: 42px; + /*width: 12.2em;*/ + background-repeat: no-repeat; + background-position: 35% 50% !important; +} +span.logo { + z-index: 1; + position: absolute; /*needed to use z-index */ + white-space: nowrap; + left: 100px; + top: 15px; + color: #ffffff; + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 11pt; + font-weight: bolder; + text-decoration: none; + vertical-align: middle; +} + +/* At the right we put a small "wiki stamp" */ +#img-logo-right { + position: absolute; + z-index: 3; + top: 0; + right: 0; + height: 101px; + width: 99px; +} + +/* +** the navigation portlet +*/ + +#p-navigation { + position: relative; + z-index: 3; +} +#p-navigation .pBody { + padding-right: 0; +} +#p-nav1 { + position:relative; + z-index:3; +} + +#p-navigation a { + display: block; +} + +#p-navigation li.active a, #p-navigation li.active a:hover { + text-decoration: none; + display: inline; + font-weight: bold; +} + + +/* +** Search portlet +* Search in the top row (not yet), see p-personal how to do that +*/ +#logo-search { + position:absolute; + z-index: 4; + top: 5px; + left: 340px; + height: 25px; + /*width: 100%;*/ + overflow: visible; +} +#p-search { + position:relative; + z-index:3; +} +#p-search .pBody { + /*text-align: center;*/ +} +div.pBody > button, #searchButton { + margin: 0; + padding: 0; +} +#p-search .pBody { + margin: 0; + padding: .5em 0 .4em .4em; + /*text-align: center;*/ +} +#searchholder form.searchform { + margin: 0; + padding: 0; + display: inline; +} +button.searchButton { + margin: 0; + padding: 0; + cursor: pointer; + width: 18px; + height: 18px; + border: 1px solid buttonshadow; +} +input.searchButton { + margin-top: 1px; + /*padding: 0 0.4em !important;*/ + font-size: 8pt; + cursor: pointer; + width: 64px; + padding-left: 1px; + background-color: White; + border: 1px solid #2f6fab; + text-transform: capitalize; +} +#searchInput { + width: 120px; + height: 18px; + margin: 0; + font-size: 95%; + border-width: 1px; + border-style: solid; + border-color: #aaa #eee #eee #aaa; + -moz-box-sizing: border-box; +} + +/* +** the personal toolbar +*/ + +#p-personal { + /* width:100%; */ + white-space:nowrap; + padding:0 0 0 0; + margin:0; + position: absolute; + left: 400px; + right: 90px; + top: 15px; + z-index: 4; + border: none; + /* background: white; */ + overflow: visible; + color: black; + line-height: 1.2em; +} + +#p-personal h5 { + display:none; +} +#p-personal .portlet, +#p-personal .pBody { + padding:0; + margin:0; + border: none; + z-index:0; + overflow: visible; + background: none; +} +/* this is the ul contained in the portlet */ +#p-personal ul { + border: none; + line-height: 1.5em; + color: #2f6fab; + padding: 0em 1.5em 0 2em; + margin: 0; + text-align: right; + /* text-transform: lowercase; */ + list-style: none; + z-index:0; + background: none; + cursor: default; +} +#p-personal li { + z-index:0; + border:none; + padding:0; + display: inline; + color: #2f6fab; + margin-left: 0.8em; + line-height: 1.2em; + background: none; +} +#p-personal li a { + text-decoration: none; + color: white; + background: #000099; + padding-bottom: 0.2em; + /* letter-spacing: 110%; */ + /* background: none; */ +} +#p-personal li a:hover { + color: white; + background: #3358bb; + padding-bottom: 0.2em; +/* letter-spacing: 120%; */ + font-weight: bold; + text-decoration: none; +} + +/* the icon in front of the user name, single quotes + in bg url to hide it from iemac */ +li#pt-mypages, +li#pt-mychanges, +li#pt-userpage, +li#pt-anonuserpage, +li#pt-login { + background: url('images/wikiuser.png') top left no-repeat; + background-repeat: no-repeat; + padding-left: 10px; + text-transform: none; +} +#p-personal a.new { color:#ba0000; } + +/* +** the page-related actions- page/talk, edit etc +*/ +#p-cactions { + position: absolute; + top: 40px; /*1.3em;*/ + left: /*11.5em;*/ 13.2em; + margin: 0; + white-space:nowrap; + width: 76%; + line-height: 1.1em; + overflow: visible; + background: none; + border-collapse: collapse; + padding-left: 1em; + list-style: none; + font-size: 95%; +} +#p-cactions .hiddenStructure { display: none; } +#p-cactions ul { + list-style: none; +} +#p-cactions li { + display: inline; + border: 1px solid #aaa; + border-bottom: none; + padding: 0 0 .1em 0; + margin: 0 .3em 0 0; + overflow: visible; + background: white; +} +#p-cactions li.selected { + border-color: #fabd23; + padding: 0 0 0.2em 0; +} +#p-cactions li a { + background-color: #fbfbfb; + color: #002bb8; + border: none; + padding: 0 .8em .3em; + text-decoration: none; + /*text-transform: lowercase;*/ + position: relative; + z-index: 0; + margin: 0; +} +#p-cactions li.selected a { + z-index: 3; + background-color: #fff; + padding: 0 1em .2em; +} +#p-cactions .new a { + color: #ba0000; +} +#p-cactions li a:hover { + z-index: 3; + text-decoration: none; + background-color: #fff; + padding-bottom: 0.3em; +} +/* http://www.aboutus.org/UniversalWikiEditButton */ +#p-cactions li a#btn-edit { + background: url('images/Edit-chalk-10gs.png') top left no-repeat; + background-repeat: no-repeat; + padding-left: 20px !important; + text-transform: none; +} +#p-cactions li a#btn-edit:hover { + z-index: 3; + text-decoration: none; + background-color: #fff; + /*padding-bottom: 0.3em !important;*/ +} +#p-cactions h5 { + display: none; +} +#p-cactions li.istalk { + margin-right: 0; +} +#p-cactions li.istalk a { + padding-right: .5em; +} +#p-cactions #ca-addsection a { + padding-left: .4em; + padding-right: .4em; +} +/* offsets to distinguish the tab groups */ +li#ca-talk { + margin-right: 1.6em; +} +li#ca-watch, li#ca-unwatch, li#ca-varlang-0, li#ca-print { + margin-left: 1.6em; +} + +/* +** the remaining portlets +*/ +#p-tbx, +#p-lang { + position: relative; + z-index: 3; +} + +/* +** footer +*/ +#footer, #bottom { + background-color: white; + border: 1px solid #fabd23; + /* top, right, bottom, left */ + margin: 0.6em 0.5em 1em 13.6em; + /*margin-left: 13.6em;*/ + padding: .4em 0 1.2em 0; + text-align: center; + font-size: 90%; +} +#footer li { + display: inline; + margin: 0 1.3em; +} +#bottom { + border: none; + text-align: left; +} +/* hide from incapable browsers */ +head:first-child+body #footer li { white-space: nowrap; } +#f-poweredbyico, #f-copyrightico { + margin: 0 8px; + /*vertical-align: middle;*/ + height: 31px; + position: relative; + top: -31px; /* Bump it up just a tad */ +} +#f-poweredbyico { + float: right; +} +#f-copyrightico { + float: left; +} + +/* js pref toc */ +#preftoc { + float: left; + margin: 1em 1em 1em 1em; + width: 13em; +} +#preftoc li { border: 1px solid White; } +#preftoc li.selected { + background-color:#f9f9f9; + border:1px dashed #aaaaaa; +} +#preftoc a, +#preftoc a:active { + display: block; + color: #0014a6; +} +#prefcontrol { + clear: both; + float: left; + margin-top: 1em; +} +div.prefsectiontip { + font-size: 95%; + margin-top: 1em; +} +fieldset.operaprefsection { margin-left: 15em } + +/* +** IE/Mac fixes, hope to find a validating way to move this +** to a separate stylesheet. This would work but doesn't validate: +** @import("IEMacFixes.css"); +*/ + +/* tabs: border on the a, not the div */ +* > html #p-cactions li { border:none; } +* > html #p-cactions li a { + border: 1px solid #aaa; + border-bottom: none; +} +* > html #p-cactions li.selected a { border-color: #fabd23; } +/* footer icons need a fixed width */ +* > html #f-poweredbyico, +* > html #f-copyrightico { width: 88px; } +* > html #bodyContent, +* > html #bodyContent pre { + overflow-x: auto; + width: 100%; + padding-bottom: 25px; +} + +/* more IE fixes */ +/* float/negative margin brokenness */ +* html #footer {margin-top: 0;} +* html #column-content { + display: inline; + margin-bottom: 0; +} +* html div.editsection { font-size: smaller; } +#pagehistory li.selected { position: relative; } + +/* Mac IE 5.0 fix; floated content turns invisible */ +* > html #column-content { + float: none; +} +* > html #column-one { + position: absolute; + left: 0; + top: 0; +} +* > html #footer { + margin-left: 13.2em; +} +.redirectText { + font-size: 150%; + margin: 5px; +} + +.printfooter { + display: none; +} + +.not-patrolled { + background-color: #ffa; +} +div.patrollink { + font-size: 75%; + text-align: right; +} +span.newpage, span.minor, span.searchmatch, span.bot { + font-weight: bold; +} +span.unpatrolled { + font-weight: bold; + color: red; +} + +span.searchmatch { + color: red; +} +.sharedUploadNotice { + font-style: italic; +} + +span.updatedmarker { + color: black; + background-color: #0f0; +} +span.newpageletter { + font-weight: bold; + color: black; + background-color: yellow; +} +span.minoreditletter { + color: black; + background-color: #c5ffe6; +} + +table.gallery { + border: 1px solid #ccc; + margin: 2px; + padding: 2px; + background-color: white; +} + +table.gallery tr { + vertical-align: top; +} + +table.gallery td { + vertical-align: top; + background-color: #f9f9f9; + border: solid 2px white; +} + +table.gallery td.galleryheader { + text-align: center; + font-weight: bold; +} + +div.gallerybox { + margin: 2px; + width: 150px; +} + +div.gallerybox div.thumb { + text-align: center; + border: 1px solid #ccc; + margin: 2px; +} + +div.gallerytext { + font-size: 94%; + padding: 2px 4px; +} + +span.comment { + font-style: italic; +} + +span.changedby { + font-size: 95%; +} + +.previewnote { + text-indent: 3em; + color: #c00; + border-bottom: 1px solid #aaa; + padding-bottom: 1em; + margin-bottom: 1em; +} + +.previewnote p { + margin: 0; + padding: 0; +} + +.editExternally { + border: 1px solid gray; + background-color: #ffffff; + padding: 3px; + margin-top: 0.5em; + float: left; + font-size: small; + text-align: center; +} +.editExternallyHelp { + font-style: italic; + color: gray; +} + +li span.deleted, span.history-deleted { + text-decoration: line-through; + color: #888; + font-style: italic; +} + +.toggle { + margin-left: 2em; + text-indent: -2em; +} + +/* Classes for EXIF data display */ +table.mw_metadata { + font-size: 0.8em; + margin-left: 0.5em; + margin-bottom: 0.5em; + width: 300px; +} + +table.mw_metadata caption { + font-weight: bold; +} + +table.mw_metadata th { + font-weight: normal; +} + +table.mw_metadata td { + padding: 0.1em; +} + +table.mw_metadata { + border: none; + border-collapse: collapse; +} + +table.mw_metadata td, table.mw_metadata th { + text-align: center; + border: 1px solid #aaaaaa; + padding-left: 0.1em; + padding-right: 0.1em; +} + +table.mw_metadata th { + background-color: #f9f9f9; +} + +table.mw_metadata td { + background-color: #fcfcfc; +} + +table.collapsed tr.collapsable { + display: none; +} + + +/* filetoc */ +ul#filetoc { + text-align: center; + border: 1px solid #aaaaaa; + background-color: #f9f9f9; + padding: 5px; + font-size: 95%; + margin-bottom: 0.5em; + margin-left: 0; + margin-right: 0; +} + +#filetoc li { + display: inline; + list-style-type: none; + padding-right: 2em; +} + +/* @bug 1714 */ +input#wpSave, input#wpDiff { + margin-right: 0.33em; +} + +#editform .editOptions { + display: inline; +} + +#wpSave { + font-weight: bold; +} + +/* Classes for article validation */ + +table.revisionform_default { + border: 1px solid #000000; +} + +table.revisionform_focus { + border: 1px solid #000000; + background-color:#00BBFF; +} + +tr.revision_tr_default { + background-color:#EEEEEE; +} + +tr.revision_tr_first { + background-color:#DDDDDD; +} + +p.revision_saved { + color: green; + font-weight:bold; +} + +#mw_trackbacks { + border: solid 1px #bbbbff; + background-color: #eeeeff; + padding: 0.2em; +} + + +/* Allmessages table */ + +#allmessagestable th { + background-color: #b2b2ff; +} + +#allmessagestable tr.orig { + background-color: #ffe2e2; +} + +#allmessagestable tr.new { + background-color: #e2ffe2; +} + +#allmessagestable tr.def { + background-color: #f0f0ff; +} + + +/* noarticletext */ +div.noarticletext { + border: 1px solid #ccc; + background: #fff; + padding: .2em 1em; + color: #000; +} + +div#searchTargetContainer { + left: 10px; + top: 10px; + width: 90%; + background: white; +} + +div#searchTarget { + padding: 3px; + margin: 5px; + background: #F0F0F0; + border: solid 1px blue; +} + +div#searchTarget ul li { + list-style: none; +} + +div#searchTarget ul li:before { + color: orange; + content: "\00BB \0020"; +} + +div.multipageimagenavbox { + border: solid 1px silver; + padding: 4px; + margin: 1em; + -moz-border-radius: 6px; + background: #f0f0f0; +} + +div.multipageimagenavbox div.thumb { + border: none; + margin-left: 2em; + margin-right: 2em; +} + +div.multipageimagenavbox hr { + margin: 6px; +} + +table.multipageimage td { + text-align: center; +} + +/* + Table pager (e.g. Special:Imagelist) + - remove underlines from the navigation link + - collapse borders + - set the borders to outsets (similar to Special:Allmessages) + - remove line wrapping for all td and th, set background color + - restore line wrapping for the last two table cells (description and size) +*/ +.TablePager_nav a { text-decoration: none; } +.TablePager { border-collapse: collapse; } +.TablePager, .TablePager td, .TablePager th { + border: 0.15em solid #777777; + padding: 0 0.15em 0 0.15em; +} +.TablePager th { background-color: #eeeeff } +.TablePager td { background-color: #ffffff } +.TablePager tr:hover td { background-color: #eeeeff } + +.imagelist td, .imagelist th { white-space: nowrap } +.imagelist .TablePager_col_links { background-color: #eeeeff } +.imagelist .TablePager_col_img_description { white-space: normal } +.imagelist th.TablePager_sort { background-color: #ccccff } + +/** + * PhpWiki Tables + */ +.pagelist { } +.pagelist thead td { + background: #e8e8e8; + text-decoration: none; + font-weight: bold; + font-size: smaller; +} +.pagelist thead td u { text-decoration: none; } +.pagelist tr.evenrow { background: #eee; } +.pagelist tr.oddrow { background: white; } +th.gridbutton { + background-color: ThreedLightShadow; + color: black; + font-family: Tahoma, sans-serif, Arial, Helvetica; + font-size: small; + font-weight: normal; + /*font-style: menu;*/ + white-space: nowrap; + margin: 5px 0px; + max-height: 24px; + padding: 5px 0px 5px 0px; + border-width: 1px; + border-style: solid; + border-color: ThreedHighlight ThreedDarkShadow ThreedDarkShadow ThreedHighlight; +} +input.gridbutton, a.gridbutton, a:hover.gridbutton, a:visited.gridbutton { + text-decoration: none; + font-size: small; + font-weight: normal; + /*font-style: menu;*/ + font-family: Tahoma, sans-serif, Arial, Helvetica; + background-color: ThreedLightShadow; + color: black; +} + +.wikipaging { font-size: 80% } +.wikipaging-disabled { color: #999 } + +/* <?plugin RawHtml <div class="boxright"> </div> */ + +div.boxright { + width: 200px; + right: 10px; + float: right; + border: thin solid #888888; + padding: 0.5em 0.5em 0.5em 0.5em; + margin: 0; +} + +div.boxright > blockquote { + padding: 0.5em; + margin: 0; +} + +/* PHP Warnings */ +div.errors { + color: black; + background-color: #FF9999; + margin-top: 1em; + margin-bottom: 1em; + padding-left: 0.8em; + padding-right: 0.8em; + padding-top: 0.8ex; + padding-bottom: 0; + border: medium solid red; + clear: both; +} +h4.errors { + color: red; + margin: 0; + padding: 0; + text-decoration: underline; +} +div.warning { + color: black; + background-color: #FFCCCC; + margin-top: 1em; + margin-bottom: 1em; + padding-left: 0.8em; + padding-right: 0.8em; + padding-top: 0.8ex; + padding-bottom: 0; + border: 1px solid #aaa; + clear: both; +} +.error { font-family: monospace; font-size: 120%; } +.error ul { font-family: monospace; } + +/* Debug */ +.debug { + color: black; + background: white; + font-family: monospace; + font-size: smaller; + margin: 1ex 0; + padding: 0.5ex 0.5em; + border: medium solid #fff8dc; /* darker ivory */ +} +/* Hints */ +.hint { + color: black; + background: #eeeeee; + /* font-size: smaller; */ + font-style: italic; + margin-left: 3em; + padding: 0.5ex 0.5em; + border: thin solid #aaaaaa; +} +span.hint { + padding: 0; +} +/* Disabled Plugins */ +.disabled-plugin +{ + clear: both; + margin: 1ex 0; + padding: 0; +} +.disabled-plugin .title { + color: #400; + background-color: inherit; + font-size: x-small; + text-align: right; + padding: 0 0.5em; +} +.disabled-plugin pre { + color: black; + background: #ddd; + margin: 0; + padding: 0.3ex 0.5em; +} + +/* "(Redirected from ...)" message. */ +span.redirectfrom { + font-size: small; + font-style: oblique; + font-weight: normal; + padding-left: 1em; +} +.search-context { background: white; font-style: oblique; } +.search-term { + background: yellow; + font-weight: normal; +} + +a.spell-wrong { + color:#ba0000; + background: yellow; +} +span.spell-wrong { + color:#ba0000; +} + + +/** + * Wiki Forms + * + * The div inside the wikiadmin upload form does not + * have a class yet, so it must be referenced indirectly + */ +/* div.wikiaction { background-color: #eee; } */ +/* div.wikiadmin { background-color: #fee; } */ +/* form.wikiadmin div { background-color: #fee; } */ +form.wikiformrich { background-color: #eee; } + +/** + * Link styles + */ +.wiki, .named-wiki { + text-decoration: none; + font-weight: normal; + /* font-weight: bold; */ +} +.wiki relation, .named-wiki relation, .wiki attribute, .named-wiki attribute { + font-style: oblique; + /* font-weight: normal; */ + font-weight: bold; +} + +span.relation-symbol { + font-weight: bold; + font-family: monospace; + letter-spacing: 0.1em; +} + +/* Action buttons */ +a.wikiaction, a.wikiadmin, a.wiki-rc-action, a.wikiunsafe, +input.wikiaction, input.button, input.wikiadmin { + text-decoration: none; + font-family: Arial, Helvetica, sans-serif; + /* don't wrap text buttons */ + white-space: nowrap; + /*font-size: inherit; */ +} + +/* +a.wikiaction, a.wikiaction:visited, input.wikiaction, input.button { + background-color: #ddd; +} +*/ + +.wikiunsafe { background-color: #fcc; } + +/* +a.wikiadmin, a.wikiadmin:visited, input.wikiadmin { + background-color: #fdd; +} +*/ + +/* Unknown links */ +.wikiunknown, .named-wikiunknown { + font-weight: normal; + font-size: 100%; +} + /* QuestionMark #600 */ +.wikiunknown a, .named-wikiunknown a { + color: #447; + background-color: #eee; + text-decoration: none; + font-weight: normal; + font-size: smaller; +} + +/* Backlinks */ +.backlinks { + text-decoration: underline; + color: #006; +} +h1 .backlinks { + text-decoration: underline; +} + +/* Interwiki links */ +/* .wikipage { font-weight: bold; } */ +.wikipage { font-weight: normal; } +.interwiki { text-decoration: none; } +.interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; } +.interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; } + +#p-rc-body div div.box-title { display: none; } + +/* RssFeed */ +div.rss { margin: 1em; padding: 1em; font-size: 0.9em; background-color: #eeeeee; border: thin dashed #aaa; } +div.feed { color: #333; margin: -0.5em; margin-bottom: 0em; padding: 0.3em; font-weight: bold; background-color: #f2f2f2; font-size: 1.2em; } +div.itemdesc { padding-left: 1em; } +div.rssitem { border-top: thin dashed #aaa; } +a.rssicon { font-weight: normal; font-size: small; vertical-align: middle; } + +/* Top-page - RateIt */ +div#rateit-widget-top-1 { + width: 120px; + height: 29px; + top: 5px; + right: 75px; + z-index: 1; + position: absolute; /*needed to use z-index */ +} +div#rateit-widget-top { + padding-top: 0px; + position: absolute; + z-index: 1; + width: 120px; + height: 29px; + top: 0px; /* 34 */ + right: 110px; +} +/* Top-page - RateIt */ +span.rateit { + text-decoration: none; + font-family: Arial, Helvetica, sans-serif; + font-size: 10px; +} Added: trunk/themes/Sidebar/templates/actionbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/actionbar.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/actionbar.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,69 @@ +<?php // -*-php-*- + rcs_id('$Id: actionbar.tmpl,v 1.10 2006/12/06 22:05:38 rurban Exp $'); + $dbh = $request->getDbh(); + $isAdmin = $user->isAdmin(); + $pagename = $page->getName(); + $isActionPage = $request->_isActionPage($pagename, false); + $isBrowse = $request->getArg('action') == 'browse'; + $mayEdit = mayAccessPage('edit', $pagename); + $mayChange = mayAccessPage('change', $pagename); +?> +<div class="portlet" id="p-cactions"> + <h5><?= _("Views") ?></h5> + <ul> + <?php if ($request->getArg('action') != "") { ?> + <?= ActionButton("browse", _("View Page"), false, array('title' => _("View the page")." [alt-c]")) ?> + <?php } else { ?> + <li class="selected"><a class="named-wiki" name="browse"><?= _("View Page") ?></a></li> + <?php } ?> + <?php if (($isAdmin or $mayEdit) and $revision) { ?> + <?= ActionButton("edit", $dbh->isWikiPage($page->getName()) ? ($revision->isCurrent() ? _("Edit") : _("Edit Old Revision")) : _("Create Page"), false, array('id' => 'btn-edit', 'title' => _("You can edit this page. Please use the preview button before saving.")." [alt-e]")) ?> + <?php if (ENABLE_WYSIWYG) { ?> + <?= Button(array("action" => "edit", "mode"=> "wysiwyg"), _("Wysiwyg Editor"), false, array('id' => 'btn-wysiwyg-edit')) ?> + <?php } ?> + <?php } elseif ($page->exists()) { ?> + <?= ActionButton("viewsource", _("View Source")) ?> + <?php } ?> + <?= ActionButton(_("PageHistory"),_("History"),false,array('title'=>_("Past versions of this page.")." [alt-h]")) ?> + <?= ActionButton("diff") ?> + <?php if ($user->isSignedIn()) { ?> + <?= ActionButton("WatchPage", _("Watch"), false, + array('title'=>_("Add/Remove this to/from the list of pages you're monitoring for changes")." [alt-l]")) ?> + <?php } ?> + </ul> +</div> + +<?php if ($user->isSignedIn()) { ?> +<div class="portlet" id="p-tbx"> + <h5><?= _("Special Actions") ?> <?= $WikiTheme->folderArrow('p-tbx', 'Closed') ?></h5> + <div class="pBody" id="p-tbx-body" style="display:none;"> + <ul> + <?php if ($isAdmin or $mayEdit) { ?> + <?= ActionButton('rename') ?> + <?php } ?> + <?php if (!empty($revision) and ($isAdmin or mayAccessPage('remove', $pagename))) { ?> + <?= ActionButton('remove') ?> + <?= ActionButton('purge') ?> + <?= ActionButton('revert',_("Revert"), $revision->isCurrent() ? $page->GetRevisionBefore() : $revision) ?> + <?php } ?> + <?php if ($isAdmin or $mayChange) { ?> + <?= ActionButton($page->get('locked') ? 'unlock' : 'lock') ?> + <?php if (ENABLE_PAGEPERM and $mayChange) { ?> + <?= ActionButton('chown') ?> + <?= ActionButton('setacl') ?> + <?php }} ?> + <?= ActionButton("viewsource", _("View Source")) ?> + <?= ActionButton(array('action'=>'PageInfo'), _("PageInfo"), $pagename) ?> + <?= ActionButton(_("AuthorHistory")) ?> + <?= ActionButton(_("PageHistory")) ?> + <?= ActionButton("diff") ?> + <?php if ($isAdmin) { ?> + <?= ActionButton(_("PageDump")) ?> + <?php if (USECACHE) { ?> + <?= ActionButton(array('nocache' => 'purge'), _("PurgeHtmlCache"), $pagename, + array('title'=>_("Purge HTML cache for this page. Regenerate from WikiMarkup when next accessed."))) ?> + <?php }} ?> + </ul> + </div> +</div> +<?php } //isSignedIn ?> \ No newline at end of file Modified: trunk/themes/Sidebar/templates/body.tmpl =================================================================== --- trunk/themes/Sidebar/templates/body.tmpl 2009-01-17 14:33:24 UTC (rev 6408) +++ trunk/themes/Sidebar/templates/body.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -1,66 +1,39 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); +// Set the body attr dynamically. here class="ns-2" for Mozilla ?> -<body<?= $WikiTheme->getMoreAttr('body') ?>> -<table width="100%"> - <tr> - <td class="sidebar" align="left" valign="top"> -<div class="box"> -<?= Template('top') ?> -</div> -<?php -global $HIDE_TOOLBARS; -if (!$HIDE_TOOLBARS) { -?> -<div class="box"><div class="box-title"><?= _("Navigation") ?></div> -<div class="box-data"> - <?= Template('navbar') ?> -</div></div> -<?php } - /* Today's calendar page for the user, if the Calender subpage is defined. */ - $UserCalPageTitle = $user->getId() . SUBPAGE_SEPARATOR . _("Calendar"); - $dbi = $request->getDbh(); - // display flat calender dhtml under the clock - if ($dbi->isWikiPage($UserCalPageTitle)) { ?> -<div class="box"> -<div class="box-title"><?= WikiLink($UserCalPageTitle,'known',_("Calendar")) ?></div> -<div class="box-data"> - <?= Template('calendar') ?> -</div></div> -<?php } ?> -<div id="clock"> -<? // include($WikiTheme->_findFile("hyperapplet.php")); ?> -<? include($WikiTheme->_findFile("hyperwiki.php")); ?> -<? // include($WikiTheme->_findFile("clock.php")); ?> -</div> -<?php -$box = new RelatedLinksBox(); -$body = $box->body; -if ($body->asString() != "") - printXml($box->format()); + <body <?= $WikiTheme->getMoreAttr('body') ?>> + <div id="global-wrapper"> + <div id="column-content"> + <div id="content"> + <?= Template('top') ?> + <div id="bodyContent"> + <?= $CONTENT ?> -$box = new PluginSidebarBox("RecentChanges",array('limit'=>10)); -printXml($box->format()); - -$box = new PluginSidebarBox("WhoIsOnline"); -printXml($box->format()); -/* -$box = new PluginSidebarBox("RssFeed", - array('url' => 'http://phpwiki.sourceforge.net/phpwiki/RecentChanges?format=rss', - 'title' => _("PhpWiki News"))); -printXml($box->format()); -*/ -?> - </td> - <td class="main" align="left" valign="top" width="100%"> -<!-- Page title --> -<h1><?= $HEADER ?></h1> -<div class="toolbar"> -<?= Template('actionbar') ?> -</div> -<?= $CONTENT ?> - </td> - </tr> -</table> -<?= Template('bottom') ?> -</body> + <!-- end content --> + <div class="visualClear"></div> + </div> + </div> +<?php if (!$WikiTheme->DUMP_MODE) { ?> + <?= Template('logo') ?> + <div id="footer"><?php // for top & bottom toolbars stylesheet ?> + <?= Template('browse-footer') ?> + </div> + <div id="bottom"> + <?= Template('bottom') ?> + </div> + </div> + <div id="column-one"> +<?php if (ALLOW_ANON_USER or $user->isAuthenticated()) { ?> + <?= Template('navbar') ?> + <?php if (empty($GLOBALS['HIDE_TOOLBARS'])) { ?> + <?= Template('actionbar') ?> + <?php } ?> +<?php } // isAuthenticated ?> + <?php if (empty($NOSIGNIN)) { ?> + <?= Template('signin', array('NOFORM' => 0)) ?> + <?php } ?> + </div> +<?php } // !DUMP_MODE ?> + </div> + </body> Added: trunk/themes/Sidebar/templates/browse.tmpl =================================================================== --- trunk/themes/Sidebar/templates/browse.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/browse.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,16 @@ +<?php // -*-html-*- +rcs_id('$Id: browse.tmpl,v 1.26 2004/12/10 03:05:58 rurban Exp $'); +?> + +<?php if ($revision and !$revision->isCurrent()) { ?> + <p><strong><?=_("Note:")?></strong> + <?=_("You are viewing an old revision of this page.")?> + <?= Button('browse', _("View the current version"), $page)?>. + </p> +<?php } ?> +<?php if (!empty($redirected)) { ?> + <p><?= $redirected ?></p> +<?php } ?> + +<?=$CONTENT?> + Added: trunk/themes/Sidebar/templates/content.tmpl =================================================================== --- trunk/themes/Sidebar/templates/content.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/content.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,5 @@ +<?php // -*-html-*- + rcs_id('$Id: content.tmpl,v 1.3 2003/03/05 21:38:15 dairiki Exp $'); +?> +<?= $CONTENT ?> +</body> Added: trunk/themes/Sidebar/templates/debug.tmpl =================================================================== --- trunk/themes/Sidebar/templates/debug.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/debug.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,23 @@ +<?php // -*-html-*- + rcs_id('$Id: debug.tmpl,v 1.18 2007/01/04 16:48:58 rurban Exp $'); +?> +<?php global $RUNTIMER; ?> +<table width="%100" border="0" cellpadding="0" cellspacing="0"> +<tr><td> +<?php /* Note: The Portland theme's debug.tmpl overrides this file with it's own non-graphical variant. */ ?> +<div id="xhtml-validator"><a href="http://validator.w3.org/check/referer" target="_top"><img + id="xhtml" border="0" + src="<?=$WikiTheme->_findData('buttons/valid-xhtml10.png')?>" + alt="Valid XHTML 1.0!" height="31" width="88" /></a> +<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_top"><img + id="css" border="0" + src="<?=$WikiTheme->_findData('buttons/vcss.png')?>" + alt="Valid CSS!" height="31" width="88" /></a> +</div> +</td><td> +<span class="debug"><?=fmt("Page Execution took %s seconds", $RUNTIMER->getStats())?> +<? if (substr(PHP_OS,0,3) != 'WIN') { $mem = @getMemoryUsage(); PrintXml(fmt(", Memory: %s", $mem)); } ?> +</span> +</td></tr></table> +<?php // This keeps the valid XHTML! icons from "hanging off the bottom of the screen" ?> +<br clear="all" class="clear-floats" /> Added: trunk/themes/Sidebar/templates/dump-footer.tmpl =================================================================== --- trunk/themes/Sidebar/templates/dump-footer.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/dump-footer.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,9 @@ +<?php // -*-php-*- + rcs_id('$Id: dump-footer.tmpl,v 1.4 2005/02/11 14:50:06 rurban Exp $'); + if (empty($revision)) $revision = $page->getCurrentRevision(); +?> +<hr class="printer" noshade="noshade" /> +<div class="visualClear"></div> +<div><?= $WikiTheme->getOwnerMessage($page) ?> <?= $WikiTheme->getLastModifiedMessage($revision) ?> <?= $WikiTheme->getAuthorMessage($revision) ?><br> +This page was accessed <?= $page->get('hits') ?> times, and edited <?= $revision->getVersion() ?> times.</div> + Added: trunk/themes/Sidebar/templates/html.tmpl =================================================================== --- trunk/themes/Sidebar/templates/html.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/html.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,22 @@ +<?php // -*-html-*- +rcs_id('$Id: html.tmpl,v 1.10 2005/02/04 13:27:29 rurban Exp $'); +/* + * This template is responsible mainly for the outer level <html> stuff. + * + * NS/MO/IE/Op Browsers before 4.0 don't like the xml pi. + */ +if (browserVersion() >= 4.0) + echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?", ">\n"; +?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html <?php /* xmlns="http://www.w3.org/1999/xhtml" */ ?> xml:lang="<?=$GLOBALS['LANG']?>" lang="<?=$GLOBALS['LANG']?>"> +<?= Template('head') ?> +<?= Template('body') ?> +<?php +if (defined('DEBUG') and DEBUG) { + echo "<!-- phpwiki source: \n"; + echo $RCS_IDS; + echo "-->\n"; +} +?> +</html> Added: trunk/themes/Sidebar/templates/htmldump.tmpl =================================================================== --- trunk/themes/Sidebar/templates/htmldump.tmpl (rev 0) +++ trunk/themes/Sidebar/templates/htmldump.tmpl 2009-01-17 14:40:16 UTC (rev 6409) @@ -0,0 +1,61 @@ +<?php // -*-html-*- +rcs_id('$Id: htmldump.tmpl,v 1.8 2007/01/02 13:28:16 rurban Exp $'); +/* + * This template is used only for html file dumps, and is responsible + * mainly for the outer level <html> stuff and the and <head>. + */ +// echo "<","?xml version=\"1.0\" encoding=\"", $charset, "\"?", ">\n"; +?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset=<?=$charset?>" /> +<?php /** + * Additional navigation links are provided here in the html header for browsers + * which support them: Mozilla, iCab, Amaya (and certain versions of Opera??). + * + * See http://www.w3.org/TR/html401/struct/links.html#edef-LINK + * http://www.euronet.nl/~tekelenb/WWW/LINK/index.html + */ ?> +<link rel="home" title="<?=HOME_PAGE?>" href="<?=WikiURL(HOME_PAGE)?>" /> +<link rel="help" title="<?=_("HowToUseWiki")?>" href="<?=WikiURL(_("HowToUseWiki"))?>" /> +<link rel="copyright" title="<?=COPYRIGHTPAGE_TITLE?>" href="<?=COPYRIGHTPAGE_URL?>" /> +<link rel="author" title="<?=AUTHORPAGE_TITLE?>" href="<?=AUTHORPAGE_URL?>" /> +<meta http-equiv="Content-Style-Type" content="text/css" /> +<meta http-equiv="Content-Language" content="<?=$GLOBALS['LANG']?>" /> +<?php $ROBOTS_CONTENT = isset($ROBOTS_META) ? $ROBOTS_META : "noindex,nofollow"; ?> +<meta name="robots" content="<?= $ROBOTS_CONTENT ?>" /> +<?php if (!empty($PAGE_DESCRIPTION)) { ?> +<meta name="description" content="<?=$PAGE_DESCRIPTION?>" /> +<?php } ?> +<?php if (!empty($PAGE_KEYWORDS)) { ?> +<meta name="keywords" content="<?=$PAGE_KEYWORDS?>" /> +<?php } ?> +<meta name="language" content="<?=$GLOBALS['LANG']?>" /> +<meta name="document-type" content="Public" /> +<meta name="document-rating" content="General" /> +<meta name="generator" content="PhpWiki" /> +<... [truncated message content] |
From: <ru...@us...> - 2009-01-17 14:46:22
|
Revision: 6410 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6410&view=rev Author: rurban Date: 2009-01-17 14:46:16 +0000 (Sat, 17 Jan 2009) Log Message: ----------- move default/hypewiki to Sidebar, now that inheritance search works remove Search title Modified Paths: -------------- trunk/themes/Sidebar/templates/navbar.tmpl Removed Paths: ------------- trunk/themes/Sidebar/sidebar.css trunk/themes/Sidebar/templates/browse-footer.tmpl trunk/themes/default/hwiki.prop trunk/themes/default/hyperapplet.php trunk/themes/default/hyperwiki.php Deleted: trunk/themes/Sidebar/sidebar.css =================================================================== --- trunk/themes/Sidebar/sidebar.css 2009-01-17 14:40:16 UTC (rev 6409) +++ trunk/themes/Sidebar/sidebar.css 2009-01-17 14:46:16 UTC (rev 6410) @@ -1,231 +0,0 @@ -/** - * $Id$ - * - * This incarnation of this stylesheet is a complete rewrite from the - * ground up. - * - * It renders excellent with Mozilla and very good with IE5.1Mac. - * - * No floats are used, for older versions of ie (which apparently hang). - * - * OmniWeb is totally useless with this stylesheet. - * This also has not yet been tested against NS4. - * - */ -@import url("../default/phpwiki.css"); - -/** - * General settings - */ -body { - background: #ffffff; - font-family: Arial, Helvetica, sans-serif; - font-size: 85%; /* The default is too large. But enlarge monospace below */ - margin: 0 0 0 0; -} - -div.wikitext { - margin-left: 0.5em; - /* "paper" borders */ - border-top: 1px solid #e8e6df; - border-left: 1px solid #e8e6df; - border-bottom: 1px solid #b2b2b2; - border-right: 1px solid #b2b2b2; -} - -/** some border colors - ** to play with - #d3d2c8; - #e8e6df; - #6d6a5c; - #b3ae97; - **/ -div#logo img { - /* position: fixed; */ - left: 1ex; - top: 1ex; - margin: 0; -} -/* -div#clock { - position: fixed; - left: 0.7ex; - top: 31ex; -} -div#calendar { - position: fixed; - left: 0.7ex; - top: 31ex; -} -*/ -h1 { - /* position: fixed; */ - top: 0; - /*background: ivory;*/ - padding-top: 0.5ex; - padding-bottom: 0.5ex; - padding-left: 0.25em; - width: 100%; - border-bottom: 2px solid black; -} - -h1 a.backlinks { text-decoration: none; } - -/** - * Common toolbar settings - * Note that div.toolbar is used for other toolbars besides - * #navbar and #actionbar, such as in editpage and removepage - */ -#navbar hr, #actionbar hr { display: none; } -#actionbuttons, #signin { line-height: 2.4ex; } -/* #navbuttons input { margin-bottom: 0.5ex; } */ -.sidebar { line-height: 1em; } -/* #navbuttons { top: 5.5ex; } */ - -/* backlinks button */ -.sidebar a.wikiadmin, .sidebar a.wikiaction { - border: 0; - margin: 0; - padding: 0; - -moz-appearance: none; - -moz-box-sizing: auto; - -moz-border-radius: 0; - background-color: #fff; -} - -/** - * Action links - * bonus for css2 browsers - * localise with dynamic css? - */ -/* -div#actionbuttons:before { - display: block; - content: "Actions"; -} -*/ -/* div#actionbuttons { bottom: 10ex; } */ - -/** - * Sign In - */ -/* div#signin { position: fixed; bottom: 0; } */ -div#signin { margin-bottom: 1ex; } - - -/** - * Search - */ -div#searchholder { - display: inline; - position: relative; -} -#searchGoButton { - background-color: #fff; - border: none; - padding: 0 0 0 0; - height: 15px; - width: 15px; - -moz-appearance: none; - -moz-box-sizing: auto; - -moz-border-radius: 0; - line-height: 1em; - position: absolute; - top: 5px; - left: 132px; -} -#livesearch { - position: relative; - margin-left: 0.5em; -} - -/** - * Last edited - * - * Really the only thing left in in #actionbar - at this point is the date, everything else - has been plucked out. */ -p.editdate { - background: white; - padding: 0.25ex 0.5em; - border-top: 1px solid #e8e6df; - border-left: 1px solid #e8e6df; - border-bottom: 1px solid #d3d2c8; - border-right: 1px solid #e8e6df; - - margin-left: 0.5em; - margin-right: 1em; - margin-top: 0.5ex; - margin-bottom: 0.5ex; -} - -/* -div#actionbar { - color: black; - background: ivory; - border-top: 1px solid #b2b2b2; - width: auto; - position: fixed; - left: 13em; - bottom: 0; - margin: 0; -} -*/ - -/** - * Other - */ -.debug { - margin-left: 0.5em; - left: 0.5em; - /*position: fixed; - top: 42ex; - width: 13em; */ - max-width: 13em; /* ie ignores this */ -} - -/* -div#xhtml-validator { display: none; } - */ - -div#xhtml-validator { - /* position: fixed; */ - right: 0.75em; - /* top: 1ex; */ -} - -.clear-floats { - clear: both; -} - -/* Black Links */ -div.box-title a, div.box-title a:visited, div.box-title a:link { - font-weight: normal; - text-decoration: none; - color: black; -} -div.box-title a:hover { - padding: 0 4px 0 4px; - background-color: ThreedLightShadow; - border: 1px outset; -} - -/* smaller sidebar links */ -div.box-data a, div.box-data a:visited, div.box-data a:link { - text-decoration: none; - color: black; - font-size: smaller; -} - -div.box-data a:hover { - background-color: ThreedLightShadow; - /*background-color: #def;*/ - border: 1px outset; -} -/* For emacs users - * - * Local Variables: - * mode: c - * c-file-style: cc-mode - * End: - */ Deleted: trunk/themes/Sidebar/templates/browse-footer.tmpl =================================================================== --- trunk/themes/Sidebar/templates/browse-footer.tmpl 2009-01-17 14:40:16 UTC (rev 6409) +++ trunk/themes/Sidebar/templates/browse-footer.tmpl 2009-01-17 14:46:16 UTC (rev 6410) @@ -1,5 +0,0 @@ -<?php // -*-html-*- - rcs_id('$Id$'); -?> -<hr class="printer" noshade="noshade" /> -<p class="editdate"><?= $WikiTheme->getLastModifiedMessage($revision) ?></p> Modified: trunk/themes/Sidebar/templates/navbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/navbar.tmpl 2009-01-17 14:40:16 UTC (rev 6409) +++ trunk/themes/Sidebar/templates/navbar.tmpl 2009-01-17 14:46:16 UTC (rev 6410) @@ -32,7 +32,7 @@ <h5><?= _("Search")?></h5> <div class="pBody"> <?= Template("search", - array('SEARCH_BEFORE' => HTML::h5(_("Search")), /*WikiLink(_("FindPage")*/ + array('SEARCH_BEFORE' => ''/*HTML::h5(WikiLink(_("FindPage")))*/, 'SEARCH_AFTER' => HTML::Raw('<br /><input type="submit" name="searchtype" value="title" class="searchButton" title="Press to perform a wiki title search"> <input type="submit" name="searchtype" value="fulltext" class="searchButton" title="Wiki fulltext search">'))) ?> </div> </div> Deleted: trunk/themes/default/hwiki.prop =================================================================== --- trunk/themes/default/hwiki.prop 2009-01-17 14:40:16 UTC (rev 6409) +++ trunk/themes/default/hwiki.prop 2009-01-17 14:46:16 UTC (rev 6410) @@ -1,26 +0,0 @@ -; layout settings -hypergraph.visualnet.layout.class=hypergraph.visualnet.GenericMDSLayout -;hypergraph.visualnet.layout.class=hypergraph.visualnet.TreeLayout -hypergraph.visualnet.layout.expandingEnabled=false -hypergraph.visualnet.layout.initiallyExpanded=3 -hypergraph.visualnet.GenericMDSLayout.repulsingForce=1 -hypergraph.visualnet.GenericMDSLayout.connectedDisparity=0.3 -hypergraph.visualnet.TreeLayout.maxangle=180 -hypergraph.visualnet.TreeLayout.mindistance=1 -hypergraph.visualnet.TreeLayout.defaultSize=0.1 -; settings for the text. -hypergraph.hyperbolic.text.fontName=Arial -hypergraph.hyperbolic.text.size1=12 -hypergraph.hyperbolic.text.scale1=0.7 -hypergraph.hyperbolic.text.size2=10 -hypergraph.hyperbolic.text.scale2=0.3 -hypergraph.hyperbolic.text.size3=8 -hypergraph.hyperbolic.text.scale3=0.1 -hypergraph.hyperbolic.text.size4=0 -hypergraph.hyperbolic.text.color=#ff0000 -hypergraph.hyperbolic.line.color=#c0c0c0 -#hypergraph.hyperbolic.text.backgroundColor=#ffffff -hypergraph.hyperbolic.background.color=#f0f0f0 -; settings for HExplorerApplet -; hypergraph.applications.hexplorer.GraphPanel.target=contentFrame -hypergraph.applications.hexplorer.GraphPanel.target=_parent Deleted: trunk/themes/default/hyperapplet.php =================================================================== --- trunk/themes/default/hyperapplet.php 2009-01-17 14:40:16 UTC (rev 6409) +++ trunk/themes/default/hyperapplet.php 2009-01-17 14:46:16 UTC (rev 6410) @@ -1,21 +0,0 @@ -<?php -/* Download hyperapplet.jar (or hyperwiki.jar) and GraphXML.dtd from - * http://hypergraph.sourceforge.net/download.html - * and place it into your theme directory. - * Include this php file and adjust the width/height. - * The static version requires a dumped "LinkDatabase.xml" via - * cd themes/default; wget http://localhost/wiki/index.php/LinkDatabase?format=xml -O LinkDatabase.xml - * into the same dir as hyperapplet.jar - */ -global $WikiTheme; -?> -<applet code="hypergraph.applications.hexplorer.HExplorerApplet.class" align="baseline" - archive="<?= $WikiTheme->_finddata("hyperapplet.jar") ?>" - width="160" height="360"> -<?php // the dynamic version: ?> - <!--param name="file" value="<?= WikiURL("LinkDatabase", array('format'=>'xml')) ?>" /--> -<?php // The faster static version: dump it periodically ?> - <param name="file" value="<?= $WikiTheme->_finddata("LinkDatabase.xml") ?>" /> - <!--param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" /--> - <param name="center" value="<?= $page->getName() ?>" /> -</applet> \ No newline at end of file Deleted: trunk/themes/default/hyperwiki.php =================================================================== --- trunk/themes/default/hyperwiki.php 2009-01-17 14:40:16 UTC (rev 6409) +++ trunk/themes/default/hyperwiki.php 2009-01-17 14:46:16 UTC (rev 6410) @@ -1,16 +0,0 @@ -<?php - /* Download hyperwiki.jar and GraphXML.dtd from - * http://hypergraph.sourceforge.net/download.html - * and place it into your theme directory. - * Include this php file and adjust the width/height. - */ -global $WikiTheme; - // via the RPC interface it goes like this... -?> -<applet code="hypergraph.applications.hwiki.HWikiApplet.class" - archive="<?= $WikiTheme->_finddata("hyperwiki.jar") ?>" - width="162" height="240"> - <param name="startPage" value="<?= $page->getName() ?>" /> - <param name="properties" value="<?= $WikiTheme->_finddata("hwiki.prop") ?>" /> - <param name="wikiURL" value="<?= PHPWIKI_BASE_URL ?>" /> -</applet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ru...@us...> - 2009-01-28 09:08:00
|
Revision: 6458 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6458&view=rev Author: rurban Date: 2009-01-28 09:07:53 +0000 (Wed, 28 Jan 2009) Log Message: ----------- Special CSS for ENABLE_PAGE_PUBLIC Modified Paths: -------------- trunk/themes/MonoBook/main.css trunk/themes/default/phpwiki.css trunk/themes/default/templates/editpage.tmpl Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2009-01-27 14:45:01 UTC (rev 6457) +++ trunk/themes/MonoBook/main.css 2009-01-28 09:07:53 UTC (rev 6458) @@ -1908,3 +1908,8 @@ border-color: green; padding: 0.5em; } + +#edit-public, h1.firstHeading-public, h1.firstHeading-rating-public { + background-color: #ffce7b; + border: 1px solid #ffa500; +} Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2009-01-27 14:45:01 UTC (rev 6457) +++ trunk/themes/default/phpwiki.css 2009-01-28 09:07:53 UTC (rev 6458) @@ -996,6 +996,11 @@ background-color: #d8d8d8; } +#edit-public, h1.firstHeading-public, h1.firstHeading-rating-public { + background-color: #ffce7b; + border: 1px solid #ffa500; +} + /* For emacs users * * Local Variables: Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2009-01-27 14:45:01 UTC (rev 6457) +++ trunk/themes/default/templates/editpage.tmpl 2009-01-28 09:07:53 UTC (rev 6458) @@ -79,7 +79,7 @@ <?php if ($user->isAdmin()) { ?> <?= $LOCKED_CB ?> <label for="edit-locked" title="<?=_("Make the page read-only?")?>"><?=_("Locked")?></label> <?php if (ENABLE_PAGE_PUBLIC) { ?> - <?= $PUBLIC_CB ?> <label for="edit-public" title="<?=_("Export to a seperate public area?")?>"><?=_("Public")?></label> + <?= $PUBLIC_CB ?> <label id="edit-public" for="edit-public" title="<?=_("Export to a seperate public area?")?>"><?=_("Public")?></label> <?php }} ?> </td> <td colspan="2" align="right"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-01-30 18:07:46
|
Revision: 6464 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6464&view=rev Author: vargenau Date: 2009-01-30 18:07:40 +0000 (Fri, 30 Jan 2009) Log Message: ----------- Fix syntax error Modified Paths: -------------- trunk/themes/Crao/crao.css trunk/themes/Hawaiian/Hawaiian.css trunk/themes/MacOSX/MacOSX.css trunk/themes/MonoBook/main.css trunk/themes/Portland/portland.css trunk/themes/Sidebar/monobook.css trunk/themes/SpaceWiki/SpaceWiki.css trunk/themes/Wordpress/Wordpress.css trunk/themes/blog/Kubrick.css trunk/themes/default/phpwiki.css trunk/themes/shamino_com/shamino_com.css Modified: trunk/themes/Crao/crao.css =================================================================== --- trunk/themes/Crao/crao.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/Crao/crao.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -1152,8 +1152,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/Hawaiian/Hawaiian.css =================================================================== --- trunk/themes/Hawaiian/Hawaiian.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/Hawaiian/Hawaiian.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -506,8 +506,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/MacOSX/MacOSX.css =================================================================== --- trunk/themes/MacOSX/MacOSX.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/MacOSX/MacOSX.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -949,8 +949,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/MonoBook/main.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -1871,8 +1871,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/Portland/portland.css =================================================================== --- trunk/themes/Portland/portland.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/Portland/portland.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -98,8 +98,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/Sidebar/monobook.css =================================================================== --- trunk/themes/Sidebar/monobook.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/Sidebar/monobook.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -1961,8 +1961,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/SpaceWiki/SpaceWiki.css =================================================================== --- trunk/themes/SpaceWiki/SpaceWiki.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/SpaceWiki/SpaceWiki.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -630,8 +630,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/Wordpress/Wordpress.css =================================================================== --- trunk/themes/Wordpress/Wordpress.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/Wordpress/Wordpress.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -962,8 +962,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/blog/Kubrick.css =================================================================== --- trunk/themes/blog/Kubrick.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/blog/Kubrick.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -962,9 +962,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } - Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/default/phpwiki.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -990,8 +990,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } Modified: trunk/themes/shamino_com/shamino_com.css =================================================================== --- trunk/themes/shamino_com/shamino_com.css 2009-01-30 13:57:13 UTC (rev 6463) +++ trunk/themes/shamino_com/shamino_com.css 2009-01-30 18:07:40 UTC (rev 6464) @@ -193,8 +193,7 @@ padding-top: 0.8em; } -table.boxed th, -table.bordered th, +table.boxed th, table.bordered th { font-weight: bold; background-color: #d8d8d8; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-26 20:13:30
|
Revision: 6588 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6588&view=rev Author: vargenau Date: 2009-02-26 20:13:23 +0000 (Thu, 26 Feb 2009) Log Message: ----------- Fix ROBOTS_META warning Modified Paths: -------------- trunk/themes/Crao/templates/head.tmpl trunk/themes/wikilens/templates/head.tmpl Modified: trunk/themes/Crao/templates/head.tmpl =================================================================== --- trunk/themes/Crao/templates/head.tmpl 2009-02-26 19:51:27 UTC (rev 6587) +++ trunk/themes/Crao/templates/head.tmpl 2009-02-26 20:13:23 UTC (rev 6588) @@ -3,7 +3,7 @@ ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" /> -<?php $ROBOTS_CONTENT = $ROBOTS_META ? $ROBOTS_META : "noindex,nofollow"; ?> +<?php $ROBOTS_CONTENT = isset($ROBOTS_META) ? $ROBOTS_META : "noindex,nofollow"; ?> <meta name="robots" content="<?= $ROBOTS_CONTENT ?>" /> <?php if (!empty($PAGE_DESCRIPTION)) { ?> <meta name="description" content="<?=$PAGE_DESCRIPTION?>" /> @@ -111,69 +111,3 @@ <title><?=WIKI_NAME.$pagetitle?></title> <?= $WikiTheme->getMoreHeaders() ?> </head> -<?php -// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// $Log: not supported by cvs2svn $ -// Revision 1.3 2004/06/04 20:34:11 rurban -// Put several _("") into new lines if inside attr="", so that xgettext -// can pick it up. (Suggested by Pierrick Meignen) -// -// Revision 1.2 2004/06/03 12:30:38 rurban -// support edit_toolbar in other themes -// -// Revision 1.1 2004/05/12 19:42:16 rurban -// new Crao theme by Arnaud Fontaine and Laurent Lunati -// -// Revision 1.13 2003/12/05 15:36:39 carstenklapp -// Improvements: to make it easier to run multiple wikis off of one set -// of code, urls for link rel author and copyright now defined in -// index.php. -// Bugfix: updated language meta tag to use DEFAULT_LANGUAGE constant -// instead of old LANG global. -// Internal change: Eliminated RECENT_CHANGES constant from RSS link, -// just use the easily localizable _("RecentChanges"). -// Typo fixed. -// -// Revision 1.12 2003/11/22 17:58:43 carstenklapp -// Minor internal change: Removed redundant call to gettext within -// fmt(). (locale make: head.tmpl:49: warning: keyword nested in keyword -// arg) -// -// Revision 1.11 2003/11/21 23:06:12 carstenklapp -// Bugfix: Some <link rel=...> links in Mozilla/iCab were always linking -// to the english pages even when DEFAULT_LANGUAGE != 'en'. (Rewrapped -// text for a more complete xgettext string extraction: 'cd -// phpwiki/locale;make' to update po/mo files). -// -// Revision 1.10 2003/03/07 20:51:59 dairiki -// New feature: Automatic extraction of keywords (for the meta keywords tag) -// from Category* and Topic* links on each page. -// -// Revision 1.9 2003/03/07 02:45:51 dairiki -// Rename BASE_URL to PHPWIKI_BASE_URL. Lycos pre-defines BASE_URL (to -// the wrong thing). -// -// Revision 1.8 2003/03/05 21:38:15 dairiki -// More HTML comment reduction patches by "Klaus-Guenter Leiss" -// <Lei...@ep...> -// -// (With a few adjustments by me. Any bugs are probably my fault.) -// -// Revision 1.7 2003/02/26 22:27:17 dairiki -// Fix and refactor FrameInclude plugin (more or less). -// -// (This should now generate valid HTML. Woohoo!) -// -// The output when using the Sidebar theme is ugly enough that it should -// be considered broken. (But the Sidebar theme appears pretty broken in -// general right now.) -// -// (Personal comment (not to be taken personally): I must say that I -// remain unconvinced of the usefulness of this plugin.) -// -// Revision 1.6 2003/01/11 22:29:47 carstenklapp -// Tweak redundant bookmark title when browsing a custom home page with -// the same name as the wiki (i.e. avoid titles like "MyWiki - MyWiki" -// when HOME_PAGE==WIKI_NAME) -// -?> Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2009-02-26 19:51:27 UTC (rev 6587) +++ trunk/themes/wikilens/templates/head.tmpl 2009-02-26 20:13:23 UTC (rev 6588) @@ -3,7 +3,7 @@ ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" /> -<?php $ROBOTS_CONTENT = $ROBOTS_META ? $ROBOTS_META : "noindex,nofollow"; ?> +<?php $ROBOTS_CONTENT = isset($ROBOTS_META) ? $ROBOTS_META : "noindex,nofollow"; ?> <meta name="robots" content="<?= $ROBOTS_CONTENT ?>" /> <?php if (!empty($PAGE_DESCRIPTION)) { ?> <meta name="description" content="<?=$PAGE_DESCRIPTION?>" /> @@ -117,70 +117,3 @@ ?> <?= $WikiTheme->getMoreHeaders() ?> </head> - -<?php -// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// $Log: not supported by cvs2svn $ -// Revision 1.2 2004/06/04 20:34:11 rurban -// Put several _("") into new lines if inside attr="", so that xgettext -// can pick it up. (Suggested by Pierrick Meignen) -// -// Revision 1.1 2004/03/30 02:40:07 rurban -// sample theme needed for RateIt -// -// Revision 1.14 2004/02/17 12:19:49 rurban -// support to add more javascript dynamically -// -// Revision 1.13 2003/12/05 15:36:39 carstenklapp -// Improvements: to make it easier to run multiple wikis off of one set -// of code, urls for link rel author and copyright now defined in -// index.php. -// Bugfix: updated language meta tag to use DEFAULT_LANGUAGE constant -// instead of old LANG global. -// Internal change: Eliminated RECENT_CHANGES constant from RSS link, -// just use the easily localizable _("RecentChanges"). -// Typo fixed. -// -// Revision 1.12 2003/11/22 17:58:43 carstenklapp -// Minor internal change: Removed redundant call to gettext within -// fmt(). (locale make: head.tmpl:49: warning: keyword nested in keyword -// arg) -// -// Revision 1.11 2003/11/21 23:06:12 carstenklapp -// Bugfix: Some <link rel=...> links in Mozilla/iCab were always linking -// to the english pages even when DEFAULT_LANGUAGE != 'en'. (Rewrapped -// text for a more complete xgettext string extraction: 'cd -// phpwiki/locale;make' to update po/mo files). -// -// Revision 1.10 2003/03/07 20:51:59 dairiki -// New feature: Automatic extraction of keywords (for the meta keywords tag) -// from Category* and Topic* links on each page. -// -// Revision 1.9 2003/03/07 02:45:51 dairiki -// Rename BASE_URL to PHPWIKI_BASE_URL. Lycos pre-defines BASE_URL (to -// the wrong thing). -// -// Revision 1.8 2003/03/05 21:38:15 dairiki -// More HTML comment reduction patches by "Klaus-Guenter Leiss" -// <Lei...@ep...> -// -// (With a few adjustments by me. Any bugs are probably my fault.) -// -// Revision 1.7 2003/02/26 22:27:17 dairiki -// Fix and refactor FrameInclude plugin (more or less). -// -// (This should now generate valid HTML. Woohoo!) -// -// The output when using the Sidebar theme is ugly enough that it should -// be considered broken. (But the Sidebar theme appears pretty broken in -// general right now.) -// -// (Personal comment (not to be taken personally): I must say that I -// remain unconvinced of the usefulness of this plugin.) -// -// Revision 1.6 2003/01/11 22:29:47 carstenklapp -// Tweak redundant bookmark title when browsing a custom home page with -// the same name as the wiki (i.e. avoid titles like "MyWiki - MyWiki" -// when HOME_PAGE==WIKI_NAME) -// -?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-02-27 16:24:37
|
Revision: 6600 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6600&view=rev Author: vargenau Date: 2009-02-27 16:24:31 +0000 (Fri, 27 Feb 2009) Log Message: ----------- background-color: #e9fbff; for BoxRight Modified Paths: -------------- trunk/themes/MacOSX/MacOSX.css trunk/themes/MonoBook/main.css trunk/themes/Sidebar/monobook.css trunk/themes/Wordpress/Wordpress.css trunk/themes/blog/Kubrick.css trunk/themes/default/phpwiki.css trunk/themes/shamino_com/shamino_com.css Modified: trunk/themes/MacOSX/MacOSX.css =================================================================== --- trunk/themes/MacOSX/MacOSX.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/MacOSX/MacOSX.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -814,6 +814,7 @@ /* plugin BoxRight */ div.boxright { + background-color: #e9fbff; width: 200px; right: 10px; padding: 0.5em; Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/MonoBook/main.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -1640,15 +1640,15 @@ .wikipaging { font-size: 80% } .wikipaging-disabled { color: #999 } -/* <?plugin RawHtml <div class="boxright"> </div> */ - +/* plugin BoxRight */ div.boxright { - width: 200px; - right: 10px; - padding: 0.5em; - float: right; - border: thin solid #888888; - padding: 0.5em; + background-color: #e9fbff; + width: 200px; + right: 10px; + padding: 0.5em; + float: right; + border: thin solid #888888; + padding: 0.5em; } div#bottom { Modified: trunk/themes/Sidebar/monobook.css =================================================================== --- trunk/themes/Sidebar/monobook.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/Sidebar/monobook.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -1693,15 +1693,15 @@ .wikipaging { font-size: 80% } .wikipaging-disabled { color: #999 } -/* <?plugin RawHtml <div class="boxright"> </div> */ - +/* plugin BoxRight */ div.boxright { - width: 200px; - right: 10px; - float: right; - border: thin solid #888888; - padding: 0.5em 0.5em 0.5em 0.5em; - margin: 0; + background-color: #e9fbff; + width: 200px; + right: 10px; + float: right; + border: thin solid #888888; + padding: 0.5em 0.5em 0.5em 0.5em; + margin: 0; } div.boxright > blockquote { Modified: trunk/themes/Wordpress/Wordpress.css =================================================================== --- trunk/themes/Wordpress/Wordpress.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/Wordpress/Wordpress.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -831,6 +831,7 @@ /* plugin BoxRight */ div.boxright { + background-color: #e9fbff; width: 200px; right: 10px; padding: 0.5em; Modified: trunk/themes/blog/Kubrick.css =================================================================== --- trunk/themes/blog/Kubrick.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/blog/Kubrick.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -829,6 +829,7 @@ /* plugin BoxRight */ div.boxright { + background-color: #e9fbff; width: 200px; right: 10px; padding: 0.5em; Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/default/phpwiki.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -851,6 +851,7 @@ /* plugin BoxRight */ div.boxright { + background-color: #e9fbff; width: 200px; right: 10px; padding: 0.5em; Modified: trunk/themes/shamino_com/shamino_com.css =================================================================== --- trunk/themes/shamino_com/shamino_com.css 2009-02-27 16:16:08 UTC (rev 6599) +++ trunk/themes/shamino_com/shamino_com.css 2009-02-27 16:24:31 UTC (rev 6600) @@ -148,7 +148,15 @@ float: right; } -div.boxright { width: 200px; right: 10px; padding: 0.5em; float: right; border: thin solid #888888; padding: 0.5em; } +/* plugin BoxRight */ +div.boxright { + width: 200px; + right: 10px; + padding: 0.5em; + float: right; + border: thin solid #888888; + padding: 0.5em; +} /** * Search Results This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ru...@us...> - 2009-03-24 13:26:28
|
Revision: 6694 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6694&view=rev Author: rurban Date: 2009-03-24 13:26:17 +0000 (Tue, 24 Mar 2009) Log Message: ----------- whitespace only Modified Paths: -------------- trunk/themes/MonoBook/templates/actionbar.tmpl trunk/themes/MonoBook/themeinfo.php trunk/themes/default/moacdropdown/js/acdropdown.js Modified: trunk/themes/MonoBook/templates/actionbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/actionbar.tmpl 2009-03-23 20:49:42 UTC (rev 6693) +++ trunk/themes/MonoBook/templates/actionbar.tmpl 2009-03-24 13:26:17 UTC (rev 6694) @@ -12,7 +12,7 @@ <h5><?= _("Views") ?></h5> <ul> <?php if (!string_ends_with($pagename, _("/Discussion"))) { ?> - <?php $talk = new WikiPageName('Talk:'.$pagename); ?> + <?php $talk = new WikiPageName('Talk:'.$pagename); ?> <?= ActionButton(array(), $isActionPage ? _("ActionPage") : _("Article"), $talk->getParent(), array('class'=>$isBrowse ? "selected" : "", 'title' => "View the page [alt-c]")) ?> Modified: trunk/themes/MonoBook/themeinfo.php =================================================================== --- trunk/themes/MonoBook/themeinfo.php 2009-03-23 20:49:42 UTC (rev 6693) +++ trunk/themes/MonoBook/themeinfo.php 2009-03-24 13:26:17 UTC (rev 6694) @@ -52,7 +52,7 @@ { /* this adds selected to the class */ - function makeActionButton ($action, $label = false, $page_or_rev = false, $options = false) { + function makeActionButton ($action, $label=false, $page_or_rev=false, $options=false) { extract($this->_get_name_and_rev($page_or_rev)); if (is_array($action)) { Modified: trunk/themes/default/moacdropdown/js/acdropdown.js =================================================================== --- trunk/themes/default/moacdropdown/js/acdropdown.js 2009-03-23 20:49:42 UTC (rev 6693) +++ trunk/themes/default/moacdropdown/js/acdropdown.js 2009-03-24 13:26:17 UTC (rev 6694) @@ -57,1723 +57,1449 @@ cAutocomplete.hListDisplayed = null cAutocomplete.nCount = 0 -cAutocomplete.autoInit = function() -{ - var nI = 0 - var hACE = null - var sLangAtt +cAutocomplete.autoInit = function() { + var nI = 0 + var hACE = null + var sLangAtt - var nInputsLength = document.getElementsByTagName( 'INPUT' ).length - for( nI = 0; nI < nInputsLength; nI++ ) - { - if( document.getElementsByTagName( 'INPUT' )[ nI ].type.toLowerCase() == 'text' ) - { - sLangAtt = document.getElementsByTagName( 'INPUT' )[ nI ].getAttribute( 'acdropdown' ) - if( sLangAtt != null && sLangAtt.length > 0 ) - { - if( document.getElementsByTagName( 'INPUT' )[ nI ].id == null || document.getElementsByTagName( 'INPUT' )[ nI ].id.length == 0 ) - { - document.getElementsByTagName( 'INPUT' )[ nI ].id = cAutocomplete.CS_OBJ_NAME + cAutocomplete.nCount - } - hACE = new cAutocomplete( document.getElementsByTagName( 'INPUT' )[ nI ].id ) - } - } + var nInputsLength = document.getElementsByTagName( 'INPUT' ).length + for( nI = 0; nI < nInputsLength; nI++ ) { + if( document.getElementsByTagName( 'INPUT' )[ nI ].type.toLowerCase() == 'text' ) { + sLangAtt = document.getElementsByTagName( 'INPUT' )[ nI ].getAttribute( 'acdropdown' ) + if( sLangAtt != null && sLangAtt.length > 0 ) { + if( document.getElementsByTagName( 'INPUT' )[ nI ].id == null || document.getElementsByTagName( 'INPUT' )[ nI ].id.length == 0 ) { + document.getElementsByTagName( 'INPUT' )[ nI ].id = cAutocomplete.CS_OBJ_NAME + cAutocomplete.nCount } + hACE = new cAutocomplete( document.getElementsByTagName( 'INPUT' )[ nI ].id ) + } + } + } - var nTALength = document.getElementsByTagName( 'TEXTAREA' ).length - for( nI = 0; nI < nTALength; nI++ ) - { - sLangAtt = document.getElementsByTagName( 'TEXTAREA' )[ nI ].getAttribute( 'acdropdown' ) - if( sLangAtt != null && sLangAtt.length > 0 ) - { - if( document.getElementsByTagName( 'TEXTAREA' )[ nI ].id == null || document.getElementsByTagName( 'TEXTAREA' )[ nI ].id.length == 0 ) - { - document.getElementsByTagName( 'TEXTAREA' )[ nI ].id = cAutocomplete.CS_OBJ_NAME + cAutocomplete.nCount - } - hACE = new cAutocomplete( document.getElementsByTagName( 'TEXTAREA' )[ nI ].id ) - } - } + var nTALength = document.getElementsByTagName( 'TEXTAREA' ).length + for( nI = 0; nI < nTALength; nI++ ) { + sLangAtt = document.getElementsByTagName( 'TEXTAREA' )[ nI ].getAttribute( 'acdropdown' ) + if( sLangAtt != null && sLangAtt.length > 0 ) { + if( document.getElementsByTagName( 'TEXTAREA' )[ nI ].id == null || document.getElementsByTagName( 'TEXTAREA' )[ nI ].id.length == 0 ) { + document.getElementsByTagName( 'TEXTAREA' )[ nI ].id = cAutocomplete.CS_OBJ_NAME + cAutocomplete.nCount + } + hACE = new cAutocomplete( document.getElementsByTagName( 'TEXTAREA' )[ nI ].id ) + } + } - var nSelectsLength = document.getElementsByTagName( 'SELECT' ).length - var aSelect = null - for( nI = 0; nI < nSelectsLength; nI++ ) - { - aSelect = document.getElementsByTagName( 'SELECT' )[ nI ] - sLangAtt = aSelect.getAttribute( 'acdropdown' ) - if( sLangAtt != null && sLangAtt.length > 0 ) - { - if( aSelect.id == null || aSelect.id.length == 0 ) - { - aSelect.id = cAutocomplete.CS_OBJ_NAME + cAutocomplete.nCount - } - hACE = new cAutocomplete( aSelect.id ) - nSelectsLength-- - nI-- - } - } + var nSelectsLength = document.getElementsByTagName( 'SELECT' ).length + var aSelect = null + for( nI = 0; nI < nSelectsLength; nI++ ) { + aSelect = document.getElementsByTagName( 'SELECT' )[ nI ] + sLangAtt = aSelect.getAttribute( 'acdropdown' ) + if( sLangAtt != null && sLangAtt.length > 0 ) { + if( aSelect.id == null || aSelect.id.length == 0 ) { + aSelect.id = cAutocomplete.CS_OBJ_NAME + cAutocomplete.nCount + } + hACE = new cAutocomplete( aSelect.id ) + nSelectsLength-- + nI-- + } + } } -if( cAutocomplete.CB_AUTOINIT ) -{ - if( window.attachEvent ) - { - window.attachEvent( 'onload', cAutocomplete.autoInit ) - } - else if( window.addEventListener ) - { - window.addEventListener( 'load', cAutocomplete.autoInit, false ) - } +if( cAutocomplete.CB_AUTOINIT ) { + if( window.attachEvent ) { + window.attachEvent( 'onload', cAutocomplete.autoInit ) + } + else if( window.addEventListener ) { + window.addEventListener( 'load', cAutocomplete.autoInit, false ) + } } -cAutocomplete.prototype.init = function( sInputId ) -{ +cAutocomplete.prototype.init = function( sInputId ) { this.bDebug = false /*this.bDebug = true*/ - this.sInputId = sInputId - this.sListId = cAutocomplete.CS_LIST_PREFIX + sInputId + this.sInputId = sInputId + this.sListId = cAutocomplete.CS_LIST_PREFIX + sInputId - this.sObjName = cAutocomplete.CS_OBJ_NAME + '_obj_' + (cAutocomplete.nCount++) - this.hObj = this.sObjName + this.sObjName = cAutocomplete.CS_OBJ_NAME + '_obj_' + (cAutocomplete.nCount++) + this.hObj = this.sObjName - this.hActiveSelection = null - this.nSelectedItemIdx = -1 + this.hActiveSelection = null + this.nSelectedItemIdx = -1 - //the value of the input before the list is displayed - this.sLastActiveValue = '' - this.sActiveValue = '' - this.bListDisplayed = false - this.nItemsDisplayed = 0 + //the value of the input before the list is displayed + this.sLastActiveValue = '' + this.sActiveValue = '' + this.bListDisplayed = false + this.nItemsDisplayed = 0 - //if I transform a select option or the supplied array is associative I create a hidden input - //with the name of the original input and replace the original input's name - this.bAssociative = true - this.sHiddenInputId = null - this.bHasButton = false + //if I transform a select option or the supplied array is associative I create a hidden input + //with the name of the original input and replace the original input's name + this.bAssociative = true + this.sHiddenInputId = null + this.bHasButton = false - //the actual data - this.aData = null - //the search array object - this.aSearchData = new Array() - this.bSorted = false + //the actual data + this.aData = null + //the search array object + this.aSearchData = new Array() + this.bSorted = false - //the length of the last matched typed string - this.nLastMatchLength = 0 + //the length of the last matched typed string + this.nLastMatchLength = 0 - this.bForceCorrect = cAutocomplete.CB_FORCECORRECT - var sForceCorrect = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_forcecorrect' ) - if( sForceCorrect != null && sForceCorrect.length > 0 ) - { - this.bForceCorrect = eval( sForceCorrect ) - } + this.bForceCorrect = cAutocomplete.CB_FORCECORRECT + var sForceCorrect = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_forcecorrect' ) + if( sForceCorrect != null && sForceCorrect.length > 0 ) { + this.bForceCorrect = eval( sForceCorrect ) + } - //match a only from the beginning or anywhere in the values - this.bMatchBegin = cAutocomplete.CB_MATCHSTRINGBEGIN - var sMatchBegin = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_matchbegin' ) - if( sMatchBegin != null && sMatchBegin.length > 0 ) - { - this.bMatchBegin = eval( sMatchBegin ) - } - //match substrings separated by cAutocomplete.CS_SEPARATOR - this.bMatchSubstring = cAutocomplete.CB_MATCHSUBSTRING - var sMatchSubstring = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_matchsubstring' ) - if( sMatchSubstring != null && sMatchSubstring.length > 0 ) - { - this.bMatchSubstring = eval( sMatchSubstring ) - } + //match a only from the beginning or anywhere in the values + this.bMatchBegin = cAutocomplete.CB_MATCHSTRINGBEGIN + var sMatchBegin = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_matchbegin' ) + if( sMatchBegin != null && sMatchBegin.length > 0 ) { + this.bMatchBegin = eval( sMatchBegin ) + } + //match substrings separated by cAutocomplete.CS_SEPARATOR + this.bMatchSubstring = cAutocomplete.CB_MATCHSUBSTRING + var sMatchSubstring = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_matchsubstring' ) + if( sMatchSubstring != null && sMatchSubstring.length > 0 ) { + this.bMatchSubstring = eval( sMatchSubstring ) + } - //autocomplete with the first option from the list - this.bAutoComplete = cAutocomplete.CB_AUTOCOMPLETE - this.bAutocompleted = false - var sAutoComplete = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_complete' ) - if( sAutoComplete != null && sAutoComplete.length > 0 ) - { - this.bAutoComplete = eval( sAutoComplete ) - } - //format function - this.formatOptions = null - var sFormatFunction = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_format' ) - if( sFormatFunction != null && sFormatFunction.length > 0 ) - { - this.formatOptions = eval( sFormatFunction ) - } - //onselect callback function - get called when a new option is selected, either by changing the focus in the list by using the keyboard or by - //clicking on it with the mouse - this.onSelect = null - var sOnSelectFunction = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_onselect' ) - if( sOnSelectFunction != null && sOnSelectFunction.length > 0 ) - { - this.onSelect = eval( sOnSelectFunction ) - } + //autocomplete with the first option from the list + this.bAutoComplete = cAutocomplete.CB_AUTOCOMPLETE + this.bAutocompleted = false + var sAutoComplete = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_complete' ) + if( sAutoComplete != null && sAutoComplete.length > 0 ) { + this.bAutoComplete = eval( sAutoComplete ) + } + //format function + this.formatOptions = null + var sFormatFunction = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_format' ) + if( sFormatFunction != null && sFormatFunction.length > 0 ) { + this.formatOptions = eval( sFormatFunction ) + } + //onselect callback function - get called when a new option is selected, either by changing the focus in the list by using the keyboard or by + //clicking on it with the mouse + this.onSelect = null + var sOnSelectFunction = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_onselect' ) + if( sOnSelectFunction != null && sOnSelectFunction.length > 0 ) { + this.onSelect = eval( sOnSelectFunction ) + } - //if we have remote list then we postpone the list creation and set associative off - if( this.getListArrayType() == 'url' || this.getListArrayType() == 'xmlrpc' ) - { - this.bAssociative = false - this.bRemoteList = true - this.sListURL = this.getListURL() - this.hXMLHttp = XmlHttp.create() - this.bXMLRPC = (this.getListArrayType() == 'xmlrpc') - - } - else - { - this.bRemoteList = false - } + //if we have remote list then we postpone the list creation and set associative off + if( this.getListArrayType() == 'url' || this.getListArrayType() == 'xmlrpc' ) { + this.bAssociative = false + this.bRemoteList = true + this.sListURL = this.getListURL() + this.hXMLHttp = XmlHttp.create() + this.bXMLRPC = (this.getListArrayType() == 'xmlrpc') + } + else { + this.bRemoteList = false + } - //you can turn associative type on or off (separate name-value pairs) - //with the autocomplete_assoc="true" or "false" attribute. - //for remote search it is off - var sAssociative = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_assoc' ) - if( sAssociative != null && sAssociative.length > 0 ) - { - this.bAssociative = eval( sAssociative ) - } + //you can turn associative type on or off (separate name-value pairs) + //with the autocomplete_assoc="true" or "false" attribute. + //for remote search it is off + var sAssociative = document.getElementById( this.sInputId ).getAttribute( 'autocomplete_assoc' ) + if( sAssociative != null && sAssociative.length > 0 ) { + this.bAssociative = eval( sAssociative ) + } - this.initListArray() - this.initListContainer() - //this.createList() - this.initInput() + this.initListArray() + this.initListContainer() + //this.createList() + this.initInput() - eval( this.hObj + '= this' ) + eval( this.hObj + '= this' ) } -cAutocomplete.prototype.initInput = function() -{ - var hInput = document.getElementById( this.sInputId ) - hInput.hAutocomplete = this - var hContainer = document.getElementById( this.sListId ) - hContainer.hAutocomplete = this +cAutocomplete.prototype.initInput = function() { + var hInput = document.getElementById( this.sInputId ) + hInput.hAutocomplete = this + var hContainer = document.getElementById( this.sListId ) + hContainer.hAutocomplete = this - //any element ( and it's children ) with display:none have offset values of 0 ( in mozilla ) - var nWidth = hInput.offsetWidth - if( !nWidth || nWidth == 0 ) - { - //any element ( and it's children ) with display:none have offset values of 0 ( in mozilla ) - var hOWInput = hInput.cloneNode( true ) - hOWInput.style.position = 'absolute' - hOWInput.style.top = '-1000px' - document.body.appendChild( hOWInput ) - var nWidth = hOWInput.offsetWidth - document.body.removeChild( hOWInput ) - } + //any element ( and it's children ) with display:none have offset values of 0 ( in mozilla ) + var nWidth = hInput.offsetWidth + if( !nWidth || nWidth == 0 ) { + //any element ( and it's children ) with display:none have offset values of 0 ( in mozilla ) + var hOWInput = hInput.cloneNode( true ) + hOWInput.style.position = 'absolute' + hOWInput.style.top = '-1000px' + document.body.appendChild( hOWInput ) + var nWidth = hOWInput.offsetWidth + document.body.removeChild( hOWInput ) + } - var sInputName = hInput.name - var hForm = hInput.form - var bHasButton = false - var sHiddenValue = hInput.value - var sValue = hInput.type.toLowerCase() == 'text' ? hInput.value : '' + var sInputName = hInput.name + var hForm = hInput.form + var bHasButton = false + var sHiddenValue = hInput.value + var sValue = hInput.type.toLowerCase() == 'text' ? hInput.value : '' - var sHasButton = hInput.getAttribute( 'autocomplete_button' ) - if( sHasButton != null && sHasButton.length > 0 ) - { - bHasButton = true - } + var sHasButton = hInput.getAttribute( 'autocomplete_button' ) + if( sHasButton != null && sHasButton.length > 0 ) { + bHasButton = true + } - //if it is a select - I unconditionally add a button - if( hInput.type.toLowerCase() == 'select-one' ) - { - bHasButton = true - if( hInput.selectedIndex >= 0 ) - { - sHiddenValue = hInput.options[ hInput.selectedIndex ].value - sValue = hInput.options[ hInput.selectedIndex ].text - } - } + //if it is a select - I unconditionally add a button + if( hInput.type.toLowerCase() == 'select-one' ) { + bHasButton = true + if( hInput.selectedIndex >= 0 ) { + sHiddenValue = hInput.options[ hInput.selectedIndex ].value + sValue = hInput.options[ hInput.selectedIndex ].text + } + } - //this is the case when the control is a transformed select or the list supplied is of the type - key,value not only values - if( hForm ) - { - var hHiddenInput = document.createElement( 'INPUT' ) - hHiddenInput.id = cAutocomplete.CS_HIDDEN_INPUT_PREFIX + this.sInputId - hHiddenInput.type = 'hidden' - hForm.appendChild( hHiddenInput ) + //this is the case when the control is a transformed select or the list supplied is of the type - key,value not only values + if( hForm ) { + var hHiddenInput = document.createElement( 'INPUT' ) + hHiddenInput.id = cAutocomplete.CS_HIDDEN_INPUT_PREFIX + this.sInputId + hHiddenInput.type = 'hidden' + hForm.appendChild( hHiddenInput ) - if( this.bAssociative ) - { - hHiddenInput.name = sInputName - hInput.name = cAutocomplete.CS_INPUT_PREFIX + sInputName - } - else - { - hHiddenInput.name = cAutocomplete.CS_INPUT_PREFIX + sInputName - } + if( this.bAssociative ) { + hHiddenInput.name = sInputName + hInput.name = cAutocomplete.CS_INPUT_PREFIX + sInputName + } + else { + hHiddenInput.name = cAutocomplete.CS_INPUT_PREFIX + sInputName + } - hHiddenInput.value = sHiddenValue - this.sHiddenInputId = hHiddenInput.id - } + hHiddenInput.value = sHiddenValue + this.sHiddenInputId = hHiddenInput.id + } - if( bHasButton ) - { - this.bHasButton = true + if( bHasButton ) { + this.bHasButton = true - var hInputContainer = document.createElement( 'DIV' ) - hInputContainer.className = 'acinputContainer' - hInputContainer.style.width = nWidth + var hInputContainer = document.createElement( 'DIV' ) + hInputContainer.className = 'acinputContainer' + hInputContainer.style.width = nWidth - var hInputButton = document.createElement( 'INPUT' ) - hInputButton.id = cAutocomplete.CS_BUTTON_PREFIX + this.sInputId - hInputButton.type = 'button' - hInputButton.className = 'button' - hInputButton.tabIndex = hInput.tabIndex + 1 - hInputButton.hAutocomplete = this + var hInputButton = document.createElement( 'INPUT' ) + hInputButton.id = cAutocomplete.CS_BUTTON_PREFIX + this.sInputId + hInputButton.type = 'button' + hInputButton.className = 'button' + hInputButton.tabIndex = hInput.tabIndex + 1 + hInputButton.hAutocomplete = this - var hNewInput = document.createElement( 'INPUT' ) - if( this.bAssociative ) - { - hNewInput.name = cAutocomplete.CS_INPUT_PREFIX + sInputName - } - else - { - hNewInput.name = sInputName - } + var hNewInput = document.createElement( 'INPUT' ) + if( this.bAssociative ) { + hNewInput.name = cAutocomplete.CS_INPUT_PREFIX + sInputName + } + else { + hNewInput.name = sInputName + } - hNewInput.type = 'text' - hNewInput.value = sValue - hNewInput.style.width = nWidth-22 - hNewInput.className = cAutocomplete.CS_INPUT_CLASSNAME - hNewInput.tabIndex = hInput.tabIndex - hNewInput.hAutocomplete = this + hNewInput.type = 'text' + hNewInput.value = sValue + hNewInput.style.width = nWidth-22 + hNewInput.className = cAutocomplete.CS_INPUT_CLASSNAME + hNewInput.tabIndex = hInput.tabIndex + hNewInput.hAutocomplete = this - hInputContainer.appendChild( hNewInput ) - hInputContainer.appendChild( hInputButton ) + hInputContainer.appendChild( hNewInput ) + hInputContainer.appendChild( hInputButton ) - hInput.parentNode.replaceChild( hInputContainer, hInput ) + hInput.parentNode.replaceChild( hInputContainer, hInput ) - hNewInput.id = this.sInputId - hInput = hNewInput - } + hNewInput.id = this.sInputId + hInput = hNewInput + } - if( hInput.attachEvent ) - { - hInput.attachEvent( 'onkeyup', cAutocomplete.onInputKeyUp ) - hInput.attachEvent( 'onkeyup', cAutocomplete.saveCaretPosition ) - hInput.attachEvent( 'onkeydown', cAutocomplete.onInputKeyDown ) - hInput.attachEvent( 'onblur', cAutocomplete.onInputBlur ) - hInput.attachEvent( 'onfocus', cAutocomplete.onInputFocus ) + if( hInput.attachEvent ) { + hInput.attachEvent( 'onkeyup', cAutocomplete.onInputKeyUp ) + hInput.attachEvent( 'onkeyup', cAutocomplete.saveCaretPosition ) + hInput.attachEvent( 'onkeydown', cAutocomplete.onInputKeyDown ) + hInput.attachEvent( 'onblur', cAutocomplete.onInputBlur ) + hInput.attachEvent( 'onfocus', cAutocomplete.onInputFocus ) - if( hInputButton ) - { - hInputButton.attachEvent( 'onclick', cAutocomplete.onButtonClick ) - } - } - else if( hInput.addEventListener ) - { - hInput.addEventListener( 'keyup', cAutocomplete.onInputKeyUp, false ) - hInput.addEventListener( 'keyup', cAutocomplete.saveCaretPosition, false ) - hInput.addEventListener( 'keydown', cAutocomplete.onInputKeyDown, false ) - hInput.addEventListener( 'keypress', cAutocomplete.onInputKeyPress, false ) - hInput.addEventListener( 'blur', cAutocomplete.onInputBlur, false ) - hInput.addEventListener( 'focus', cAutocomplete.onInputFocus, false ) + if( hInputButton ) { + hInputButton.attachEvent( 'onclick', cAutocomplete.onButtonClick ) + } + } + else if( hInput.addEventListener ) { + hInput.addEventListener( 'keyup', cAutocomplete.onInputKeyUp, false ) + hInput.addEventListener( 'keyup', cAutocomplete.saveCaretPosition, false ) + hInput.addEventListener( 'keydown', cAutocomplete.onInputKeyDown, false ) + hInput.addEventListener( 'keypress', cAutocomplete.onInputKeyPress, false ) + hInput.addEventListener( 'blur', cAutocomplete.onInputBlur, false ) + hInput.addEventListener( 'focus', cAutocomplete.onInputFocus, false ) - if( hInputButton ) - { - hInputButton.addEventListener( 'click', cAutocomplete.onButtonClick, false ) - } - } + if( hInputButton ) { + hInputButton.addEventListener( 'click', cAutocomplete.onButtonClick, false ) + } + } - //I don't need the standard autocomplete - hInput.setAttribute( 'autocomplete', 'OFF' ) + //I don't need the standard autocomplete + hInput.setAttribute( 'autocomplete', 'OFF' ) - if( hForm ) - { - if( hForm.attachEvent ) - { - hForm.attachEvent( 'onsubmit', cAutocomplete.onFormSubmit ) - if (this.bDebug) { this.debug ("attachEvent added") } - } - else if( hForm.addEventListener ) - { - hForm.addEventListener( 'submit', cAutocomplete.onFormSubmit, false ) - if (this.bDebug) { this.debug ("addEventListener") } - } - } + if( hForm ) { + if( hForm.attachEvent ) { + hForm.attachEvent( 'onsubmit', cAutocomplete.onFormSubmit ) + if (this.bDebug) { this.debug ("attachEvent added") } + } + else if( hForm.addEventListener ) { + hForm.addEventListener( 'submit', cAutocomplete.onFormSubmit, false ) + if (this.bDebug) { this.debug ("addEventListener") } + } + } } -cAutocomplete.prototype.initListContainer = function() -{ - var hInput = document.getElementById( this.sInputId ) - var hContainer = document.createElement( 'DIV' ) - hContainer.className = 'autocomplete_holder' - hContainer.id = this.sListId - hContainer.style.zIndex = 10000 + cAutocomplete.nCount - hContainer.hAutocomplete = this +cAutocomplete.prototype.initListContainer = function() { + var hInput = document.getElementById( this.sInputId ) + var hContainer = document.createElement( 'DIV' ) + hContainer.className = 'autocomplete_holder' + hContainer.id = this.sListId + hContainer.style.zIndex = 10000 + cAutocomplete.nCount + hContainer.hAutocomplete = this - var hFirstBorder = document.createElement( 'DIV' ) - hFirstBorder.className = 'autocomplete_firstborder' - var hSecondBorder = document.createElement( 'DIV' ) - hSecondBorder.className = 'autocomplete_secondborder' + var hFirstBorder = document.createElement( 'DIV' ) + hFirstBorder.className = 'autocomplete_firstborder' + var hSecondBorder = document.createElement( 'DIV' ) + hSecondBorder.className = 'autocomplete_secondborder' - var hList = document.createElement( 'UL' ) - hList.className = 'autocomplete' + var hList = document.createElement( 'UL' ) + hList.className = 'autocomplete' - hSecondBorder.appendChild( hList ) - hFirstBorder.appendChild( hSecondBorder ) - hContainer.appendChild( hFirstBorder ) - document.body.appendChild( hContainer ) + hSecondBorder.appendChild( hList ) + hFirstBorder.appendChild( hSecondBorder ) + hContainer.appendChild( hFirstBorder ) + document.body.appendChild( hContainer ) - if( hContainer.attachEvent ) - { - hContainer.attachEvent( 'onblur', cAutocomplete.onListBlur ) - hContainer.attachEvent( 'onfocus', cAutocomplete.onListFocus ) - } - else if( hInput.addEventListener ) - { - hContainer.addEventListener( 'blur', cAutocomplete.onListBlur, false ) - hContainer.addEventListener( 'focus', cAutocomplete.onListFocus, false ) - } + if( hContainer.attachEvent ) { + hContainer.attachEvent( 'onblur', cAutocomplete.onListBlur ) + hContainer.attachEvent( 'onfocus', cAutocomplete.onListFocus ) + } + else if( hInput.addEventListener ) { + hContainer.addEventListener( 'blur', cAutocomplete.onListBlur, false ) + hContainer.addEventListener( 'focus', cAutocomplete.onListFocus, false ) + } - - if( hContainer.attachEvent ) - { - hContainer.attachEvent( 'onclick', cAutocomplete.onItemClick ) - } - else if( hContainer.addEventListener ) - { - hContainer.addEventListener( 'click', cAutocomplete.onItemClick, false ) - } + if( hContainer.attachEvent ) { + hContainer.attachEvent( 'onclick', cAutocomplete.onItemClick ) + } + else if( hContainer.addEventListener ) { + hContainer.addEventListener( 'click', cAutocomplete.onItemClick, false ) + } } -cAutocomplete.prototype.createList = function() -{ - var hInput = document.getElementById( this.sInputId ) - var hContainer = document.getElementById( this.sListId ) - var hList = hContainer.getElementsByTagName( 'UL' )[0] - if( hList ) - { - hList = hList.parentNode.removeChild( hList ) - while( hList.hasChildNodes() ) - { - hList.removeChild( hList.childNodes[ 0 ] ) - } - } +cAutocomplete.prototype.createList = function() { + var hInput = document.getElementById( this.sInputId ) + var hContainer = document.getElementById( this.sListId ) + var hList = hContainer.getElementsByTagName( 'UL' )[0] + if( hList ) { + hList = hList.parentNode.removeChild( hList ) + while( hList.hasChildNodes() ) { + hList.removeChild( hList.childNodes[ 0 ] ) + } + } - var hListItem = null - var hListItemLink = null - var hArrKey = null - var sArrEl = null + var hListItem = null + var hListItemLink = null + var hArrKey = null + var sArrEl = null - var hArr = this.aData - var nI = 0 - var sRealText - for( hArrKey in hArr ) - { - sArrEl = hArr[ hArrKey ] - hListItem = document.createElement( 'LI' ) - hListItemLink = document.createElement( 'A' ) - hListItemLink.setAttribute( 'itemvalue', hArrKey ) + var hArr = this.aData + var nI = 0 + var sRealText + for( hArrKey in hArr ) { + sArrEl = hArr[ hArrKey ] + hListItem = document.createElement( 'LI' ) + hListItemLink = document.createElement( 'A' ) + hListItemLink.setAttribute( 'itemvalue', hArrKey ) - /* so you can attach data to the element */ - /* it's a hack but seems to work */ - var sArrData = sArrEl.split( cAutocomplete.CS_ARRAY_SEPARATOR ) - if( sArrData.length > 1 ) - { - this.aData[ hArrKey ] = sArrData[ 0 ] - hListItemLink.setAttribute( 'itemdata', sArrEl.substring( sArrEl.indexOf( cAutocomplete.CS_ARRAY_SEPARATOR ) + 1 ) ) - sRealText = sArrData[ 0 ] - } - else - { - sRealText = sArrEl - } - /* end of attach data to the element */ + /* so you can attach data to the element */ + /* it's a hack but seems to work */ + var sArrData = sArrEl.split( cAutocomplete.CS_ARRAY_SEPARATOR ) + if( sArrData.length > 1 ) { + this.aData[ hArrKey ] = sArrData[ 0 ] + hListItemLink.setAttribute( 'itemdata', sArrEl.substring( sArrEl.indexOf( cAutocomplete.CS_ARRAY_SEPARATOR ) + 1 ) ) + sRealText = sArrData[ 0 ] + } + else { + sRealText = sArrEl + } + /* end of attach data to the element */ - hListItemLink.href = '#' - hListItemLink.appendChild( document.createTextNode( sRealText ) ) - hListItemLink.realText = sRealText - if( nI == this.nSelectedItemIdx ) - { - this.hActiveSelection = hListItemLink - this.hActiveSelection.className = 'selected' - } - hListItem.appendChild( hListItemLink ) - hList.appendChild( hListItem ) - this.aSearchData[ nI++ ] = sRealText.toLowerCase() - } - var hSecondBorder = hContainer.firstChild.firstChild - hSecondBorder.appendChild( hList ) - this.bListUpdated = false + hListItemLink.href = '#' + hListItemLink.appendChild( document.createTextNode( sRealText ) ) + hListItemLink.realText = sRealText + if( nI == this.nSelectedItemIdx ) { + this.hActiveSelection = hListItemLink + this.hActiveSelection.className = 'selected' + } + hListItem.appendChild( hListItemLink ) + hList.appendChild( hListItem ) + this.aSearchData[ nI++ ] = sRealText.toLowerCase() + } + var hSecondBorder = hContainer.firstChild.firstChild + hSecondBorder.appendChild( hList ) + this.bListUpdated = false } /* list array functions */ -cAutocomplete.prototype.initListArray = function() -{ - var hInput = document.getElementById( this.sInputId ) - var hArr = null +cAutocomplete.prototype.initListArray = function() { + var hInput = document.getElementById( this.sInputId ) + var hArr = null - if( hInput.type.toLowerCase() == 'select-one' ) - { - hArr = new Object() - for( var nI = 0; nI < hInput.options.length; nI++ ) - { - hArrKey = hInput.options.item( nI ).value - sArrEl = hInput.options.item( nI ).text - hArr[ hArrKey ] = sArrEl - if( hInput.options.item( nI ).selected ) - { - this.nSelectedItemIdx = nI - } - } - } - else - { - var sAA = hInput.getAttribute( 'autocomplete_list' ) - var sAAS = hInput.getAttribute( 'autocomplete_list_sort' ) + if( hInput.type.toLowerCase() == 'select-one' ) { + hArr = new Object() + for( var nI = 0; nI < hInput.options.length; nI++ ) { + hArrKey = hInput.options.item( nI ).value + sArrEl = hInput.options.item( nI ).text + hArr[ hArrKey ] = sArrEl + if( hInput.options.item( nI ).selected ) { + this.nSelectedItemIdx = nI + } + } + } + else { + var sAA = hInput.getAttribute( 'autocomplete_list' ) + var sAAS = hInput.getAttribute( 'autocomplete_list_sort' ) - var sArrayType = this.getListArrayType() + var sArrayType = this.getListArrayType() - switch( sArrayType ) - { - case 'array' : - hArr = eval( sAA.substring( 6 ) ) - break + switch( sArrayType ) { + case 'array' : + hArr = eval( sAA.substring( 6 ) ) + break - case 'list' : - hArr = new Array() - var hTmpArray = sAA.substring( 5 ).split( '|' ) - var aValueArr - for( hKey in hTmpArray ) - { - aValueArr = hTmpArray[ hKey ].split( cAutocomplete.CS_ARRAY_SEPARATOR ) - if( aValueArr.length == 1 ) - { - hArr[ hKey ] = hTmpArray[ hKey ] - this.bAssociative = false - } - else - { - hArr[ aValueArr[ 0 ] ] = aValueArr[ 1 ] - } - } - break - } - if( sAAS != null && eval( sAAS ) ) - { - this.bSorted = true - this.aData = hArr.sort() - hArr = hArr.sort() - } + case 'list' : + hArr = new Array() + var hTmpArray = sAA.substring( 5 ).split( '|' ) + var aValueArr + for( hKey in hTmpArray ) { + aValueArr = hTmpArray[ hKey ].split( cAutocomplete.CS_ARRAY_SEPARATOR ) + if( aValueArr.length == 1 ) { + hArr[ hKey ] = hTmpArray[ hKey ] + this.bAssociative = false + } + else { + hArr[ aValueArr[ 0 ] ] = aValueArr[ 1 ] + } } - this.setArray( hArr ) + break + } + if( sAAS != null && eval( sAAS ) ) { + this.bSorted = true + this.aData = hArr.sort() + hArr = hArr.sort() + } + } + this.setArray( hArr ) } -cAutocomplete.prototype.setArray = function( sArray ) -{ - if( typeof sArray == 'string' ) - { - this.aData = eval( sArray ) - } - else - { - this.aData = sArray - } - this.bListUpdated = true +cAutocomplete.prototype.setArray = function( sArray ) { + if( typeof sArray == 'string' ) { + this.aData = eval( sArray ) + } + else { + this.aData = sArray + } + this.bListUpdated = true } //use this function to change the list of autocomplete values to a new one //supply as an argument the name as a literal of an JS array object //well things changed - you can supply an actual array too -cAutocomplete.prototype.setListArray = function( sArray ) -{ - this.setArray( sArray ) - this.updateAndShowList() +cAutocomplete.prototype.setListArray = function( sArray ) { + this.setArray( sArray ) + this.updateAndShowList() } -cAutocomplete.prototype.getListArrayType = function() -{ - var hInput = document.getElementById( this.sInputId ) - var sAA = hInput.getAttribute( 'autocomplete_list' ) - if( sAA != null && sAA.length > 0 ) - { - if( sAA.indexOf( 'array:' ) >= 0 ) - { - return 'array' - } - else if( sAA.indexOf( 'list:' ) >= 0 ) - { - return 'list' - } - else if( sAA.indexOf( 'url:' ) >= 0 ) - { - return 'url' - } - else if( sAA.indexOf( 'xmlrpc:' ) >= 0 ) - { - return 'xmlrpc' - } - } +cAutocomplete.prototype.getListArrayType = function() { + var hInput = document.getElementById( this.sInputId ) + var sAA = hInput.getAttribute( 'autocomplete_list' ) + if( sAA != null && sAA.length > 0 ) { + if( sAA.indexOf( 'array:' ) >= 0 ) { + return 'array' + } + else if( sAA.indexOf( 'list:' ) >= 0 ) { + return 'list' + } + else if( sAA.indexOf( 'url:' ) >= 0 ) { + return 'url' + } + else if( sAA.indexOf( 'xmlrpc:' ) >= 0 ) { + return 'xmlrpc' + } + } } -cAutocomplete.prototype.getListURL = function() -{ - var hInput = document.getElementById( this.sInputId ) - var sAA = hInput.getAttribute( 'autocomplete_list' ) - if( sAA != null && sAA.length > 0 ) - { - if( sAA.indexOf( 'url:' ) >= 0 ) - { - return sAA.substring( 4 ) - } - if( sAA.indexOf( 'xmlrpc:' ) >= 0 ) - { - return sAA.substring( 7 ) - } - } +cAutocomplete.prototype.getListURL = function() { + var hInput = document.getElementById( this.sInputId ) + var sAA = hInput.getAttribute( 'autocomplete_list' ) + if( sAA != null && sAA.length > 0 ) { + if( sAA.indexOf( 'url:' ) >= 0 ) { + return sAA.substring( 4 ) + } + if( sAA.indexOf( 'xmlrpc:' ) >= 0 ) { + return sAA.substring( 7 ) + } + } } -cAutocomplete.prototype.setListURL = function( sURL ) -{ - this.sListURL = sURL; +cAutocomplete.prototype.setListURL = function( sURL ) { + this.sListURL = sURL; } -cAutocomplete.prototype.onXmlHttpLoad = function( ) -{ - if( this.hXMLHttp.readyState == 4 ) - { - var hError = this.hXMLHttp.parseError - if( hError && hError.errorCode != 0 ) - { - alert( hError.reason ) - } - else - { - this.afterRemoteLoad() - } - } +cAutocomplete.prototype.onXmlHttpLoad = function( ) { + if( this.hXMLHttp.readyState == 4 ) { + var hError = this.hXMLHttp.parseError + if( hError && hError.errorCode != 0 ) { + alert( hError.reason ) + } + else { + this.afterRemoteLoad() + } + } } -cAutocomplete.prototype.onXMLRPCHttpLoad = function( ) -{ - if( this.hXMLHttp.readyState == 4 ) - { - var hError = this.hXMLHttp.parseError - if( hError && hError.errorCode != 0 ) - { - alert( hError.reason ) - } - else - { - this.afterRemoteLoadXMLRPC() - } - } +cAutocomplete.prototype.onXMLRPCHttpLoad = function( ) { + if( this.hXMLHttp.readyState == 4 ) { + var hError = this.hXMLHttp.parseError + if( hError && hError.errorCode != 0 ) { + alert( hError.reason ) + } + else { + this.afterRemoteLoadXMLRPC() + } + } } -cAutocomplete.prototype.loadXMLRPCListArray = function() -{ - // encoding: "xmlrpc:wiki.titleSearch [S] 4" - // or "xmlrpc:http://localhost/wiki/?wiki.titleSearch [S] 4" - // encode the methodname as optional query_arg and the args space seperated - var sURL = this.sListURL - var aMethodArgs = sURL.split( ' ' ) - var sMethodName = aMethodArgs[ 0 ] - var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) - sStartWith = sStartWith.replace( /^\s/, '' ) - sStartWith = sStartWith.replace( /\s$/, '' ) +cAutocomplete.prototype.loadXMLRPCListArray = function() { + // encoding: "xmlrpc:wiki.titleSearch [S] 4" + // or "xmlrpc:http://localhost/wiki/?wiki.titleSearch [S] 4" + // encode the methodname as optional query_arg and the args space seperated + var sURL = this.sListURL + var aMethodArgs = sURL.split( ' ' ) + var sMethodName = aMethodArgs[ 0 ] + var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) + sStartWith = sStartWith.replace( /^\s/, '' ) + sStartWith = sStartWith.replace( /\s$/, '' ) - if( sMethodName.indexOf( '?' ) > 0 ) - { - sMethodName = sMethodName.replace( '/^.+\?/', '' ) - sURL = sURL.replace( '/\?.+$/', '' ) - } - else - { - sURL = xmlrpc_url - } + if( sMethodName.indexOf( '?' ) > 0 ) { + sMethodName = sMethodName.replace( '/^.+\?/', '' ) + sURL = sURL.replace( '/\?.+$/', '' ) + } + else { + sURL = xmlrpc_url + } - if (sMethodName.length < 1) - { - var hInput = document.getElementById( this.sInputId ) - hInput.value = this.sActiveValue - return - } + if (sMethodName.length < 1) { + var hInput = document.getElementById( this.sInputId ) + hInput.value = this.sActiveValue + return + } - // Construct the xmlrpc request. - // Which charset to send? for sure we get back utf-8 - var sRequest = '<?xml version=\'1.0\' encoding="utf-8" ?>\n' - sRequest += '<methodCall><methodName>'+sMethodName+'</methodName>\n' - if (aMethodArgs.length <= 1) // the first arg is the name - { - sRequest += '<params/>\n' - } - else - { - sRequest += '<params>\n' - for( var nI = 1; nI < aMethodArgs.length; nI++ ) - { - var sArg = aMethodArgs[ nI ]; - //this.debug('sMethodName: "'+sMethodName+'" sArg['+nI+']: "'+sArg+'"') - if( sArg.indexOf( '[S]' ) >= 0 ) - { - //this.debug('sArg['+nI+']: "'+sArg+'" sStartWith: "'+sStartWith+'"') - sArg = sArg.replace( '[S]', sStartWith ) - } - // We could parse a prepended "(int)" cast. - // Can only do string args so far - sRequest += '<param><value><string>' - sRequest += sArg - sRequest += '</string></value></param>\n' - } - sRequest += '</params>\n' - } - sRequest += '</methodCall>' - if (this.bDebug) { - this.debug('url: "'+sURL+'" sRequest: "'+sRequest.substring(20)+'"') - /*sURL += '?start_debug=1'*/ - } - this.hXMLHttp.open( 'POST', sURL, true ) - var hAC = this - this.hXMLHttp.onreadystatechange = function() { hAC.onXMLRPCHttpLoad() } - /*this.hXMLHttp.onreadystatechange = new Function( 'var sAC = "'+this.sObjName+'"; cAutocomplete.onXMLRPCHttpLoad( eval( sAC ) )' )*/ - this.hXMLHttp.send( sRequest ) + // Construct the xmlrpc request. + // Which charset to send? for sure we get back utf-8 + var sRequest = '<?xml version=\'1.0\' encoding="utf-8" ?>\n' + sRequest += '<methodCall><methodName>'+sMethodName+'</methodName>\n' + if (aMethodArgs.length <= 1) { // the first arg is the name + sRequest += '<params/>\n' + } + else { + sRequest += '<params>\n' + for( var nI = 1; nI < aMethodArgs.length; nI++ ) { + var sArg = aMethodArgs[ nI ]; + //this.debug('sMethodName: "'+sMethodName+'" sArg['+nI+']: "'+sArg+'"') + if( sArg.indexOf( '[S]' ) >= 0 ) { + //this.debug('sArg['+nI+']: "'+sArg+'" sStartWith: "'+sStartWith+'"') + sArg = sArg.replace( '[S]', sStartWith ) + } + // We could parse a prepended "(int)" cast. + // Can only do string args so far + sRequest += '<param><value><string>' + sRequest += sArg + sRequest += '</string></value></param>\n' + } + sRequest += '</params>\n' + } + sRequest += '</methodCall>' + if (this.bDebug) { + this.debug('url: "'+sURL+'" sRequest: "'+sRequest.substring(20)+'"') + /*sURL += '?start_debug=1'*/ + } + this.hXMLHttp.open( 'POST', sURL, true ) + var hAC = this + this.hXMLHttp.onreadystatechange = function() { hAC.onXMLRPCHttpLoad() } + /*this.hXMLHttp.onreadystatechange = new Function( 'var sAC = "'+this.sObjName+'"; cAutocomplete.onXMLRPCHttpLoad( eval( sAC ) )' )*/ + this.hXMLHttp.send( sRequest ) } -cAutocomplete.prototype.loadListArray = function() -{ - var sURL = this.sListURL - var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) - sStartWith = sStartWith.replace( /^\s/, '' ) - sStartWith = sStartWith.replace( /\s$/, '' ) - if( sURL.indexOf( '[S]' ) >= 0 ) - { - sURL = sURL.replace( '[S]', sStartWith ) - } - else - { - sURL += this.sActiveValue - } - this.hXMLHttp.open( 'GET', sURL, true ) +cAutocomplete.prototype.loadListArray = function() { + var sURL = this.sListURL + var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) + sStartWith = sStartWith.replace( /^\s/, '' ) + sStartWith = sStartWith.replace( /\s$/, '' ) + if( sURL.indexOf( '[S]' ) >= 0 ) { + sURL = sURL.replace( '[S]', sStartWith ) + } + else { + sURL += this.sActiveValue + } + this.hXMLHttp.open( 'GET', sURL, true ) - var hAC = this - this.hXMLHttp.onreadystatechange = function() { hAC.onXmlHttpLoad() } - this.hXMLHttp.send( null ) + var hAC = this + this.hXMLHttp.onreadystatechange = function() { hAC.onXmlHttpLoad() } + this.hXMLHttp.send( null ) } -cAutocomplete.prototype.afterRemoteLoad = function() -{ - var hInput = document.getElementById( this.sInputId ) +cAutocomplete.prototype.afterRemoteLoad = function() { + var hInput = document.getElementById( this.sInputId ) - var hArr = new Array() - var hTmpArray = this.hXMLHttp.responseText.split( '|' ) - var aValueArr - for( hKey in hTmpArray ) - { - aValueArr = hTmpArray[ hKey ].split( cAutocomplete.CS_ARRAY_SEPARATOR ) - if( aValueArr.length == 1 ) - { - hArr[ hKey ] = hTmpArray[ hKey ] - } - else - { - hArr[ aValueArr[ 0 ] ] = hTmpArray[ hKey ].substr( hTmpArray[ hKey ].indexOf( cAutocomplete.CS_ARRAY_SEPARATOR ) + 1 ) - } - } + var hArr = new Array() + var hTmpArray = this.hXMLHttp.responseText.split( '|' ) + var aValueArr + for( hKey in hTmpArray ) { + aValueArr = hTmpArray[ hKey ].split( cAutocomplete.CS_ARRAY_SEPARATOR ) + if( aValueArr.length == 1 ) { + hArr[ hKey ] = hTmpArray[ hKey ] + } + else { + hArr[ aValueArr[ 0 ] ] = hTmpArray[ hKey ].substr( hTmpArray[ hKey ].indexOf( cAutocomplete.CS_ARRAY_SEPARATOR ) + 1 ) + } + } - hInput.className = '' - hInput.readonly = false - hInput.value = this.sActiveValue - this.setListArray( hArr ) + hInput.className = '' + hInput.readonly = false + hInput.value = this.sActiveValue + this.setListArray( hArr ) } -cAutocomplete.prototype.afterRemoteLoadXMLRPC = function() -{ - var hInput = document.getElementById( this.sInputId ) +cAutocomplete.prototype.afterRemoteLoadXMLRPC = function() { + var hInput = document.getElementById( this.sInputId ) - var hArr = new Array() - sResult = this.hXMLHttp.responseText - if ( this.bDebug ) { - this.debug( "response: "+sResult.substring(70,190) ) - } - sResult.replace('\n',''); - sResult.replace('\r',''); - var hKey = 0 - var i = sResult.indexOf('<string>') - while (i >= 0) { - var j - sResult = sResult.substring(i+8) - j = sResult.indexOf('</string>') - hArr[ hKey ] = sResult.substring(0, j) - // TODO: convert it from utf-8 to result charset and encoding - //this.debug( 'i:'+i+' j:'+j+' "'+hArr[ hKey ]+'"' ) - /*if( hArr[ hKey ] == hArr[ hKey-1 ] ) - return*/ - hKey += 1 - sResult = sResult.substring(j+9) - i = sResult.indexOf('<string>') - } + var hArr = new Array() + sResult = this.hXMLHttp.responseText + if ( this.bDebug ) { + this.debug( "response: "+sResult.substring(70,190) ) + } + sResult.replace('\n',''); + sResult.replace('\r',''); + var hKey = 0 + var i = sResult.indexOf('<string>') + while (i >= 0) { + var j + sResult = sResult.substring(i+8) + j = sResult.indexOf('</string>') + hArr[ hKey ] = sResult.substring(0, j) + // TODO: convert it from utf-8 to result charset and encoding + //this.debug( 'i:'+i+' j:'+j+' "'+hArr[ hKey ]+'"' ) + /*if( hArr[ hKey ] == hArr[ hKey-1 ] ) + return*/ + hKey += 1 + sResult = sResult.substring(j+9) + i = sResult.indexOf('<string>') + } - hInput.className = '' - hInput.readonly = false - hInput.value = this.sActiveValue - this.setListArray( hArr ) + hInput.className = '' + hInput.readonly = false + hInput.value = this.sActiveValue + this.setListArray( hArr ) } /**/ -cAutocomplete.prototype.prepareList = function( bFullList ) -{ - var hInput = document.getElementById( this.sInputId ) - this.sActiveValue = hInput.value +cAutocomplete.prototype.prepareList = function( bFullList ) { + var hInput = document.getElementById( this.sInputId ) + this.sActiveValue = hInput.value - // Check if this was invoked by a key that did not change the value - var sST = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) - var sLST = this.getStringForAutocompletion( this.sLastActiveValue, this.nInsertPoint ) + // Check if this was invoked by a key that did not change the value + var sST = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) + var sLST = this.getStringForAutocompletion( this.sLastActiveValue, this.nInsertPoint ) - if( sLST != sST || bFullList || !this.bListDisplayed || this.bMatchSubstring ) - { - if( this.bRemoteList ) - { - hInput.className = 'search' - //hInput.readonly = true - // TODO: print please wait somewhere else - // hInput.value = 'please wait...' - // hInput.value = this.sListURL - this.bXMLRPC ? this.loadXMLRPCListArray() : this.loadListArray() - return - } - this.updateAndShowList( bFullList ) - } + if( sLST != sST || bFullList || !this.bListDisplayed || this.bMatchSubstring ) { + if( this.bRemoteList ) { + hInput.className = 'search' + //hInput.readonly = true + // TODO: print please wait somewhere else + // hInput.value = 'please wait...' + // hInput.value = this.sListURL + this.bXMLRPC ? this.loadXMLRPCListArray() : this.loadListArray() + return + } + this.updateAndShowList( bFullList ) + } } -cAutocomplete.prototype.updateAndShowList = function( bFullList ) -{ - var hContainer = document.getElementById( this.sListId ) - var hList = hContainer.getElementsByTagName( 'UL' )[ 0 ] - var hInput = document.getElementById( this.sInputId ) +cAutocomplete.prototype.updateAndShowList = function( bFullList ) { + var hContainer = document.getElementById( this.sListId ) + var hList = hContainer.getElementsByTagName( 'UL' )[ 0 ] + var hInput = document.getElementById( this.sInputId ) - if( this.bListUpdated ) - { - this.createList() - } + if( this.bListUpdated ) { + this.createList() + } - //stupid hack just for speed - var sST = this.bMatchSubstring ? this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) : this.sActiveValue - var sLST = this.bMatchSubstring ? this.getStringForAutocompletion( this.sLastActiveValue, this.nInsertPoint ) : this.sLastActiveValue + //stupid hack just for speed + var sST = this.bMatchSubstring ? this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) : this.sActiveValue + var sLST = this.bMatchSubstring ? this.getStringForAutocompletion( this.sLastActiveValue, this.nInsertPoint ) : this.sLastActiveValue - //nothing changed since last type - maybe only function keys were pressed - //this is the case when for example the down key was pressed - if( sST == sLST ) - { - if( !this.bMatchSubstring ) - { - bFullList = true - } - } - this.filterOptions( bFullList ) + //nothing changed since last type - maybe only function keys were pressed + //this is the case when for example the down key was pressed + if( sST == sLST ) { + if( !this.bMatchSubstring ) { + bFullList = true + } + } + this.filterOptions( bFullList ) - if( this.nItemsDisplayed == 0 ) - { - if( this.bForceCorrect ) - { - var aPos = this.getInsertPos( this.sActiveValue, this.nInsertPoint, '' ) - cAutocomplete.markInputRange( hInput, this.nLastMatchLength, aPos[0] ) - } - } + if( this.nItemsDisplayed == 0 ) { + if( this.bForceCorrect ) { + var aPos = this.getInsertPos( this.sActiveValue, this.nInsertPoint, '' ) + cAutocomplete.markInputRange( hInput, this.nLastMatchLength, aPos[0] ) + } + } - this.sLastActiveValue = this.sActiveValue + this.sLastActiveValue = this.sActiveValue - if( this.nItemsDisplayed > 0 ) - { - if( !bFullList || this.bMatchSubstring ) - { - this.deselectOption() - } - if( this.bAutoComplete && this.nItemsDisplayed == 1 ) - { - //test if we have a full match i.e. the user typed the entire value - var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) - var sItemText = hList.getElementsByTagName( 'LI' )[ this.nFirstDisplayed ].getElementsByTagName( 'A' )[ 0 ].realText - if( sStartWith.toLowerCase() == sItemText.toLowerCase() ) - { - this.selectOption( hList.getElementsByTagName( 'LI' )[ this.nFirstDisplayed ].getElementsByTagName( 'A' )[ 0 ] ) - this.hideOptions() - //and do not show the list - return - } - } - if( this.bAutoComplete && !bFullList ) - { - this.selectOption( hList.getElementsByTagName( 'LI' )[ this.nFirstDisplayed ].getElementsByTagName( 'A' )[ 0 ] ) - } - this.showList() - } - else - { - this.clearList() - } + if( this.nItemsDisplayed > 0 ) { + if( !bFullList || this.bMatchSubstring ) { + this.deselectOption() + } + if( this.bAutoComplete && this.nItemsDisplayed == 1 ) { + //test if we have a full match i.e. the user typed the entire value + var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) + var sItemText = hList.getElementsByTagName( 'LI' )[ this.nFirstDisplayed ].getElementsByTagName( 'A' )[ 0 ].realText + if( sStartWith.toLowerCase() == sItemText.toLowerCase() ) { + this.selectOption( hList.getElementsByTagName( 'LI' )[ this.nFirstDisplayed ].getElementsByTagName( 'A' )[ 0 ] ) + this.hideOptions() + //and do not show the list + return + } + } + if( this.bAutoComplete && !bFullList ) { + this.selectOption( hList.getElementsByTagName( 'LI' )[ this.nFirstDisplayed ].getElementsByTagName( 'A' )[ 0 ] ) + } + this.showList() + } + else { + this.clearList() + } } -cAutocomplete.prototype.showList = function() -{ - if( cAutocomplete.hListDisplayed ) - { - cAutocomplete.hListDisplayed.clearList() - } - var hInput = document.getElementById( this.sInputId ) - var nTop = cDomObject.getOffsetParam( hInput, 'offsetTop' ) - var nLeft = cDomObject.getOffsetParam( hInput, 'offsetLeft' ) - var hContainer = document.getElementById( this.sListId ) +cAutocomplete.prototype.showList = function() { + if( cAutocomplete.hListDisplayed ) { + cAutocomplete.hListDisplayed.clearList() + } + var hInput = document.getElementById( this.sInputId ) + var nTop = cDomObject.getOffsetParam( hInput, 'offsetTop' ) + var nLeft = cDomObject.getOffsetParam( hInput, 'offsetLeft' ) + var hContainer = document.getElementById( this.sListId ) - var hList = hContainer.getElementsByTagName( 'UL' )[ 0 ] - if( this.bHasButton ) - { - hContainer.style.width = document.getElementById( this.sInputId ).parentNode.offsetWidth - } - else - { - hContainer.style.width = document.getElementById( this.sInputId ).offsetWidth - } - var nNumLines = ( this.nItemsDisplayed < cAutocomplete.CN_NUMBER_OF_LINES ) ? this.nItemsDisplayed : cAutocomplete.CN_NUMBER_OF_LINES; - hList.style.height = nNumLines * cAutocomplete.CN_LINE_HEIGHT + cAutocomplete.CN_HEIGHT_FIX + 'px' + var hList = hContainer.getElementsByTagName( 'UL' )[ 0 ] + if( this.bHasButton ) { + hContainer.style.width = document.getElementById( this.sInputId ).parentNode.offsetWidth + } + else { + hContainer.style.width = document.getElementById( this.sInputId ).offsetWidth + } + var nNumLines = ( this.nItemsDisplayed < cAutocomplete.CN_NUMBER_OF_LINES ) ? this.nItemsDisplayed : cAutocomplete.CN_NUMBER_OF_LINES; + hList.style.height = nNumLines * cAutocomplete.CN_LINE_HEIGHT + cAutocomplete.CN_HEIGHT_FIX + 'px' - hContainer.style.top = nTop + hInput.offsetHeight + cAutocomplete.CN_OFFSET_TOP + 'px' - hContainer.style.left = nLeft + cAutocomplete.CN_OFFSET_LEFT + 'px' + hContainer.style.top = nTop + hInput.offsetHeight + cAutocomplete.CN_OFFSET_TOP + 'px' + hContainer.style.left = nLeft + cAutocomplete.CN_OFFSET_LEFT + 'px' - hContainer.style.display = 'none' - hContainer.style.visibility = 'visible' - hContainer.style.display = 'block' + hContainer.style.display = 'none' + hContainer.style.visibility = 'visible' + hContainer.style.display = 'block' - cAutocomplete.hListDisplayed = this - this.bListDisplayed = true + cAutocomplete.hListDisplayed = this + this.bListDisplayed = true } -cAutocomplete.prototype.binarySearch = function( sFilter ) -{ - var nLow = 0 - var nHigh = this.aSearchData.length - 1 - var nMid - var nTry, nLastTry - var sData - var nLen = sFilter.length +cAutocomplete.prototype.binarySearch = function( sFilter ) { + var nLow = 0 + var nHigh = this.aSearchData.length - 1 + var nMid + var nTry, nLastTry + var sData + var nLen = sFilter.length - var lastTry + var lastTry - while ( nLow <= nHigh ) - { - nMid = ( nLow + nHigh ) / 2 - nTry = ( nMid < 1 ) ? 0 : parseInt( nMid ) + while ( nLow <= nHigh ) { + nMid = ( nLow + nHigh ) / 2 + nTry = ( nMid < 1 ) ? 0 : parseInt( nMid ) - sData = this.aSearchData[ nTry ].substr( 0, nLen ) + sData = this.aSearchData[ nTry ].substr( 0, nLen ) - if ( sData < sFilter ) - { - nLow = nTry + 1 - continue - } - if ( sData > sFilter ) - { - nHigh = nTry - 1 - continue - } - if ( sData == sFilter ) - { - nHigh = nTry - 1 - nLastTry = nTry - continue - } - return nTry - } + if ( sData < sFilter ) { + nLow = nTry + 1 + continue + } + if ( sData > sFilter ) { + nHigh = nTry - 1 + continue + } + if ( sData == sFilter ) { + nHigh = nTry - 1 + nLastTry = nTry + continue + } + return nTry + } - if ( typeof ( nLastTry ) != "undefined" ) - { - return nLastTry - } - else - { - return null - } + if ( typeof ( nLastTry ) != "undefined" ) { + return nLastTry + } + else { + return null + } } -cAutocomplete.prototype.getStringForAutocompletion = function( sString, nPos ) -{ - if( sString == null || sString.length == 0 ) - { - return '' - } - if( this.bMatchSubstring ) - { - var nStartPos = sString.lastIndexOf( cAutocomplete.CS_SEPARATOR, nPos - 1 ) - nStartPos = nStartPos < 0 ? 0 : nStartPos - var nEndPos = sString.indexOf( cAutocomplete.CS_SEPARATOR, nPos ) - nEndPos = nEndPos < 0 ? sString.length : nEndPos - var sStr = sString.substr( nStartPos, nEndPos - nStartPos ) - sStr = sStr.replace( /^(\,?)(\s*)(\S*)(\s*)(\,?)$/g, '$3' ) - return sStr - } - else - { - return sString - } +cAutocomplete.prototype.getStringForAutocompletion = function( sString, nPos ) { + if( sString == null || sString.length == 0 ) { + return '' + } + if( this.bMatchSubstring ) { + var nStartPos = sString.lastIndexOf( cAutocomplete.CS_SEPARATOR, nPos - 1 ) + nStartPos = nStartPos < 0 ? 0 : nStartPos + var nEndPos = sString.indexOf( cAutocomplete.CS_SEPARATOR, nPos ) + nEndPos = nEndPos < 0 ? sString.length : nEndPos + var sStr = sString.substr( nStartPos, nEndPos - nStartPos ) + sStr = sStr.replace( /^(\,?)(\s*)(\S*)(\s*)(\,?)$/g, '$3' ) + return sStr + } + else { + return sString + } } -cAutocomplete.prototype.insertString = function( sString, nPos, sInsert ) -{ - if( this.bMatchSubstring ) - { - var nStartPos = sString.lastIndexOf( cAutocomplete.CS_SEPARATOR, nPos - 1 ) - nStartPos = nStartPos < 0 ? 0 : nStartPos - var nEndPos = sString.indexOf( cAutocomplete.CS_SEPARATOR, nPos ) - nEndPos = nEndPos < 0 ? sString.length : nEndPos - var sStr = sString.substr( nStartPos, nEndPos - nStartPos ) - sStr = sStr.replace( /^(\,?)(\s*)(\S?[\S\s]*\S?)(\s*)(\,?)$/g, '$1$2'+sInsert+'$4$5' ) - sStr = sString.substr( 0, nStartPos ) + sStr + sString.substr( nEndPos ) - return sStr - } - else - { - return sInsert - } +cAutocomplete.prototype.insertString = function( sString, nPos, sInsert ) { + if( this.bMatchSubstring ) { + var nStartPos = sString.lastIndexOf( cAutocomplete.CS_SEPARATOR, nPos - 1 ) + nStartPos = nStartPos < 0 ? 0 : nStartPos + var nEndPos = sString.indexOf( cAutocomplete.CS_SEPARATOR, nPos ) + nEndPos = nEndPos < 0 ? sString.length : nEndPos + var sStr = sString.substr( nStartPos, nEndPos - nStartPos ) + sStr = sStr.replace( /^(\,?)(\s*)(\S?[\S\s]*\S?)(\s*)(\,?)$/g, '$1$2'+sInsert+'$4$5' ) + sStr = sString.substr( 0, nStartPos ) + sStr + sString.substr( nEndPos ) + return sStr + } + else { + return sInsert + } } -cAutocomplete.prototype.getInsertPos = function( sString, nPos, sInsert ) -{ - nPos = nPos == null ? 0 : nPos - var nStartPos = sString.lastIndexOf( cAutocomplete.CS_SEPARATOR, nPos - 1 ) - nStartPos = nStartPos < 0 ? 0 : nStartPos - var nEndPos = sString.indexOf( cAutocomplete.CS_SEPARATOR, nPos ) - nEndPos = nEndPos < 0 ? sString.length : nEndPos - var sStr = sString.substr( nStartPos, nEndPos - nStartPos ) - sStr = sStr.replace( /^(\,?)(\s*)(\S?[\S\s]*\S?)(\s*)(\,?)$/g, '$1$2'+sInsert ) - return [ nPos, nStartPos + sStr.length ] +cAutocomplete.prototype.getInsertPos = function( sString, nPos, sInsert ) { + nPos = nPos == null ? 0 : nPos + var nStartPos = sString.lastIndexOf( cAutocomplete.CS_SEPARATOR, nPos - 1 ) + nStartPos = nStartPos < 0 ? 0 : nStartPos + var nEndPos = sString.indexOf( cAutocomplete.CS_SEPARATOR, nPos ) + nEndPos = nEndPos < 0 ? sString.length : nEndPos + var sStr = sString.substr( nStartPos, nEndPos - nStartPos ) + sStr = sStr.replace( /^(\,?)(\s*)(\S?[\S\s]*\S?)(\s*)(\,?)$/g, '$1$2'+sInsert ) + return [ nPos, nStartPos + sStr.length ] } -cAutocomplete.prototype.filterOptions = function( bShowAll ) -{ - if( this.hActiveSelection && !bShowAll ) - { - this.hActiveSelection.className = '' - } - if( typeof bShowAll == 'undefined' ) - { - bShowAll = false - } +cAutocomplete.prototype.filterOptions = function( bShowAll ) { + if( this.hActiveSelection && !bShowAll ) { + this.hActiveSelection.className = '' + } + if( typeof bShowAll == 'undefined' ) { + bShowAll = false + } - var hInput = document.getElementById( this.sInputId ) + var hInput = document.getElementById( this.sInputId ) - var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) - if( bShowAll ) - { - sStartWith = '' - } + var sStartWith = this.getStringForAutocompletion( this.sActiveValue, this.nInsertPoint ) + if( bShowAll ) { + sStartWith = '' + } - var hContainer = document.getElementById( this.sListId ) - var hList = hContainer.getElementsByTagName( 'UL' )[ 0 ] - var nItemsLength = hList.childNodes.length - var hLinkItem = null - var nCount = 0 + var hContainer = document.getElementById( this.sListId ) + var hList = ... [truncated message content] |
From: <var...@us...> - 2009-03-26 12:41:21
|
Revision: 6717 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6717&view=rev Author: vargenau Date: 2009-03-26 12:41:11 +0000 (Thu, 26 Mar 2009) Log Message: ----------- Use UTF-8 so that display is correct on sf.net Modified Paths: -------------- trunk/themes/default/templates/login.tmpl trunk/themes/shamino_com/templates/browse-footer.tmpl Modified: trunk/themes/default/templates/login.tmpl =================================================================== --- trunk/themes/default/templates/login.tmpl 2009-03-26 12:32:01 UTC (rev 6716) +++ trunk/themes/default/templates/login.tmpl 2009-03-26 12:41:11 UTC (rev 6717) @@ -35,11 +35,11 @@ require_once("lib/BlockParser.php"); // This iso-8859-1 sample covers French, Spanish, Italian, German, and probably others if (check_php_version(4,3)) - $examplechars = htmlentities("\xC0\xF1\xED\xE7\xE9\xE0\xD6\xE3\xE6\xF4\xDF\xF8\xFC", ENT_QUOTES, $charset); + $examplechars = htmlentities("ÀñíçéàÖãæôßøü", ENT_QUOTES, $charset); elseif (check_php_version(4,0,3)) - $examplechars = htmlentities("\xC0\xF1\xED\xE7\xE9\xE0\xD6\xE3\xE6\xF4\xDF\xF8\xFC", ENT_QUOTES); + $examplechars = htmlentities("ÀñíçéàÖãæôßøü", ENT_QUOTES); else - $examplechars = htmlentities("\xC0\xF1\xED\xE7\xE9\xE0\xD6\xE3\xE6\xF4\xDF\xF8\xFC"); + $examplechars = htmlentities("ÀñíçéàÖãæôßøü"); // Japanese login requires utf-8 and ALLOW_NONWIKIWORD_LOGINS if (($charset == 'utf-8') && defined('ALLOW_NONWIKIWORD_LOGINS') && ALLOW_NONWIKIWORD_LOGINS) { //sample Japanese login name in unicode Modified: trunk/themes/shamino_com/templates/browse-footer.tmpl =================================================================== --- trunk/themes/shamino_com/templates/browse-footer.tmpl 2009-03-26 12:32:01 UTC (rev 6716) +++ trunk/themes/shamino_com/templates/browse-footer.tmpl 2009-03-26 12:41:11 UTC (rev 6717) @@ -8,5 +8,5 @@ <?php } ?> <span class="editdate"><?= $WikiTheme->getOwnerMessage($page) ?> <?= $WikiTheme->getLastModifiedMessage($revision) ?> <?= $WikiTheme->getAuthorMessage($revision) ?></span> <br /> -<a href="<?= PHPWIKI_BASE_URL ?>"><?=WIKI_NAME?></a> created with <a href="http://phpwiki.org/">PhpWiki</a> \xA9 1998-2007 | <?= WikiLink(_("TermsOfUse")) ?> +<a href="<?= PHPWIKI_BASE_URL ?>"><?=WIKI_NAME?></a> created with <a href="http://phpwiki.org/">PhpWiki</a> © 1998-2007 | <?= WikiLink(_("TermsOfUse")) ?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-27 20:15:21
|
Revision: 6730 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6730&view=rev Author: vargenau Date: 2009-03-27 20:15:16 +0000 (Fri, 27 Mar 2009) Log Message: ----------- Fix LinkIcons and GoogleLink icons Modified Paths: -------------- trunk/themes/default/templates/userprefs.tmpl trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/default/templates/userprefs.tmpl =================================================================== --- trunk/themes/default/templates/userprefs.tmpl 2009-03-27 19:52:42 UTC (rev 6729) +++ trunk/themes/default/templates/userprefs.tmpl 2009-03-27 20:15:16 UTC (rev 6730) @@ -181,10 +181,10 @@ <tr><td align="right"><?=$SelectLanguagesDesc?></td> <td><?= $SelectLanguages ?></td> <td><p class="hint"><?=_("System default:")?> <?= DEFAULT_LANGUAGE ?></span></td></tr> - <tr><td align="right"><?=fmt("Hide %s:", WikiLink("LinkIcons"))?></td> + <tr><td align="right"><?=fmt("Hide %s:", WikiLink("Help: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> + <tr><td align="right"><?=fmt("Add %s:", WikiLink("Help: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> Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-03-27 19:52:42 UTC (rev 6729) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-03-27 20:15:16 UTC (rev 6730) @@ -307,10 +307,10 @@ <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"><?=fmt("Hide %s:", WikiLink("LinkIcons"))?></td> + <tr><td align="right"><?=fmt("Hide %s:", WikiLink("Help: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><p class="hint"><?=_("Hide or show LinkIcons.")?></p></td></tr> + <tr><td align="right"><?=fmt("Add %s:", WikiLink("Help: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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-29 18:07:57
|
Revision: 6738 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6738&view=rev Author: vargenau Date: 2009-03-29 18:07:47 +0000 (Sun, 29 Mar 2009) Log Message: ----------- pagelist tr { vertical-align: top; } Modified Paths: -------------- trunk/themes/MonoBook/main.css trunk/themes/gforge/gforge.css Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2009-03-29 17:04:04 UTC (rev 6737) +++ trunk/themes/MonoBook/main.css 2009-03-29 18:07:47 UTC (rev 6738) @@ -1611,6 +1611,7 @@ font-weight: bold; } .pagelist thead td u { text-decoration: none; } +.pagelist tr { vertical-align: top; } .pagelist tr.evenrow { background: #eee; } .pagelist tr.oddrow { background: white; } th.gridbutton { Modified: trunk/themes/gforge/gforge.css =================================================================== --- trunk/themes/gforge/gforge.css 2009-03-29 17:04:04 UTC (rev 6737) +++ trunk/themes/gforge/gforge.css 2009-03-29 18:07:47 UTC (rev 6738) @@ -271,6 +271,7 @@ font-weight: bold; } .pagelist thead td u { text-decoration: none; } +.pagelist tr { vertical-align: top; } .pagelist tr.evenrow { background: #eee; } .pagelist tr.oddrow { background: white; } th.gridbutton { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-03-31 12:21:42
|
Revision: 6746 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6746&view=rev Author: vargenau Date: 2009-03-31 12:21:31 +0000 (Tue, 31 Mar 2009) Log Message: ----------- Remove history Modified Paths: -------------- trunk/themes/blog/lib/RecentChanges.php trunk/themes/default/templates/head.tmpl Modified: trunk/themes/blog/lib/RecentChanges.php =================================================================== --- trunk/themes/blog/lib/RecentChanges.php 2009-03-31 12:20:18 UTC (rev 6745) +++ trunk/themes/blog/lib/RecentChanges.php 2009-03-31 12:21:31 UTC (rev 6746) @@ -41,12 +41,6 @@ } */ -// $Log: not supported by cvs2svn $ -// Revision 1.1 2004/12/15 17:47:32 rurban -// fix RecentChanges links -// fix footer layout -// - // (c-file-style: "gnu") // Local Variables: // mode: php @@ -55,4 +49,4 @@ // c-hanging-comment-ender-p: nil // indent-tabs-mode: nil // End: -?> \ No newline at end of file +?> Modified: trunk/themes/default/templates/head.tmpl =================================================================== --- trunk/themes/default/templates/head.tmpl 2009-03-31 12:20:18 UTC (rev 6745) +++ trunk/themes/default/templates/head.tmpl 2009-03-31 12:21:31 UTC (rev 6746) @@ -119,84 +119,3 @@ <title><?= WIKI_NAME.$pagetitle ?></title> <?= $WikiTheme->getMoreHeaders() ?> </head> -<?php -// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -// $Log: not supported by cvs2svn $ -// Revision 1.25 2007/09/01 13:24:55 rurban -// add atom link to header -// -// Revision 1.24 2007/07/14 12:06:27 rurban -// aesthetic request: remove ?action=edit after edit -// -// Revision 1.23 2005/10/10 20:02:54 rurban -// add one more header -// -// Revision 1.22 2005/01/25 07:15:47 rurban -// fix ROBOTS_META warning, break xgettext strings, add log as comment -// -// Revision 1.4 2004/06/18 08:40:39 rurban -// renamed global $Theme to $WikiTheme (gforge nameclash) -// -// Revision 1.3 2004/06/04 20:34:11 rurban -// Put several _("") into new lines if inside attr="", so that xgettext -// can pick it up. (Suggested by Pierrick Meignen) -// -// Revision 1.2 2004/06/03 12:30:38 rurban -// support edit_toolbar in other themes -// -// Revision 1.1 2004/05/12 19:42:16 rurban -// new Crao theme by Arnaud Fontaine and Laurent Lunati -// -// Revision 1.13 2003/12/05 15:36:39 carstenklapp -// Improvements: to make it easier to run multiple wikis off of one set -// of code, urls for link rel author and copyright now defined in -// index.php. -// Bugfix: updated language meta tag to use DEFAULT_LANGUAGE constant -// instead of old LANG global. -// Internal change: Eliminated RECENT_CHANGES constant from RSS link, -// just use the easily localizable _("RecentChanges"). -// Typo fixed. -// -// Revision 1.12 2003/11/22 17:58:43 carstenklapp -// Minor internal change: Removed redundant call to gettext within -// fmt(). (locale make: head.tmpl:49: warning: keyword nested in keyword -// arg) -// -// Revision 1.11 2003/11/21 23:06:12 carstenklapp -// Bugfix: Some <link rel=...> links in Mozilla/iCab were always linking -// to the english pages even when DEFAULT_LANGUAGE != 'en'. (Rewrapped -// text for a more complete xgettext string extraction: 'cd -// phpwiki/locale;make' to update po/mo files). -// -// Revision 1.10 2003/03/07 20:51:59 dairiki -// New feature: Automatic extraction of keywords (for the meta keywords tag) -// from Category* and Topic* links on each page. -// -// Revision 1.9 2003/03/07 02:45:51 dairiki -// Rename BASE_URL to PHPWIKI_BASE_URL. Lycos pre-defines BASE_URL (to -// the wrong thing). -// -// Revision 1.8 2003/03/05 21:38:15 dairiki -// More HTML comment reduction patches by "Klaus-Guenter Leiss" -// <Lei...@ep...> -// -// (With a few adjustments by me. Any bugs are probably my fault.) -// -// Revision 1.7 2003/02/26 22:27:17 dairiki -// Fix and refactor FrameInclude plugin (more or less). -// -// (This should now generate valid HTML. Woohoo!) -// -// The output when using the Sidebar theme is ugly enough that it should -// be considered broken. (But the Sidebar theme appears pretty broken in -// general right now.) -// -// (Personal comment (not to be taken personally): I must say that I -// remain unconvinced of the usefulness of this plugin.) -// -// Revision 1.6 2003/01/11 22:29:47 carstenklapp -// Tweak redundant bookmark title when browsing a custom home page with -// the same name as the wiki (i.e. avoid titles like "MyWiki - MyWiki" -// when HOME_PAGE==WIKI_NAME) -// -?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-04-18 16:31:36
|
Revision: 6786 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6786&view=rev Author: vargenau Date: 2009-04-18 16:31:34 +0000 (Sat, 18 Apr 2009) Log Message: ----------- WikiLink for UserName Modified Paths: -------------- trunk/themes/default/templates/userprefs.tmpl trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/default/templates/userprefs.tmpl =================================================================== --- trunk/themes/default/templates/userprefs.tmpl 2009-04-18 16:28:49 UTC (rev 6785) +++ trunk/themes/default/templates/userprefs.tmpl 2009-04-18 16:31:34 UTC (rev 6786) @@ -107,7 +107,7 @@ ?> <?= $errmsg ?> -<?= fmt("User preferences for user '%s':", $user->UserName()) ?> +<?= fmt("User preferences for user %s", WikiLink($user->UserName())) ?> <?php if ($isForm) { ?> <form action="<?=$request->getPostURL()?>" method="post"> Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-04-18 16:28:49 UTC (rev 6785) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-04-18 16:31:34 UTC (rev 6786) @@ -180,7 +180,7 @@ <?= $errmsg ?> <h2> -<?= fmt("User preferences for user '%s'", $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-04 12:58:16
|
Revision: 6887 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6887&view=rev Author: vargenau Date: 2009-06-04 12:58:15 +0000 (Thu, 04 Jun 2009) Log Message: ----------- svn propdel svn:executable Property Changed: ---------------- trunk/themes/default/Wikiwyg/Wikiwyg/Phpwiki.js trunk/themes/default/toolbar.js trunk/themes/wikilens/wikilens.js Property changes on: trunk/themes/default/Wikiwyg/Wikiwyg/Phpwiki.js ___________________________________________________________________ Deleted: svn:executable - * Property changes on: trunk/themes/default/toolbar.js ___________________________________________________________________ Deleted: svn:executable - * Property changes on: trunk/themes/wikilens/wikilens.js ___________________________________________________________________ Deleted: svn:executable - * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-06-23 10:15:55
|
Revision: 6951 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6951&view=rev Author: vargenau Date: 2009-06-23 09:31:35 +0000 (Tue, 23 Jun 2009) Log Message: ----------- Images folderArrowClosed.png and folderArrowOpen.png are searched by Javascript in the current theme only, not in default theme. So they must be present in every theme for RecentChanges toggle to work Added Paths: ----------- trunk/themes/Crao/images/folderArrowClosed.png trunk/themes/Crao/images/folderArrowLoading.gif trunk/themes/Crao/images/folderArrowOpen.png trunk/themes/Hawaiian/images/folderArrowClosed.png trunk/themes/Hawaiian/images/folderArrowLoading.gif trunk/themes/Hawaiian/images/folderArrowOpen.png trunk/themes/MacOSX/images/folderArrowClosed.png trunk/themes/MacOSX/images/folderArrowLoading.gif trunk/themes/MacOSX/images/folderArrowOpen.png trunk/themes/MonoBook/images/folderArrowClosed.png trunk/themes/MonoBook/images/folderArrowLoading.gif trunk/themes/MonoBook/images/folderArrowOpen.png trunk/themes/Portland/images/ trunk/themes/Portland/images/folderArrowClosed.png trunk/themes/Portland/images/folderArrowLoading.gif trunk/themes/Portland/images/folderArrowOpen.png trunk/themes/Sidebar/images/folderArrowLoading.gif trunk/themes/SpaceWiki/images/folderArrowClosed.png trunk/themes/SpaceWiki/images/folderArrowLoading.gif trunk/themes/SpaceWiki/images/folderArrowOpen.png trunk/themes/Wordpress/images/folderArrowClosed.png trunk/themes/Wordpress/images/folderArrowLoading.gif trunk/themes/Wordpress/images/folderArrowOpen.png trunk/themes/blog/images/folderArrowClosed.png trunk/themes/blog/images/folderArrowLoading.gif trunk/themes/blog/images/folderArrowOpen.png trunk/themes/gforge/images/folderArrowClosed.png trunk/themes/gforge/images/folderArrowLoading.gif trunk/themes/gforge/images/folderArrowOpen.png trunk/themes/shamino_com/images/ trunk/themes/shamino_com/images/folderArrowClosed.png trunk/themes/shamino_com/images/folderArrowLoading.gif trunk/themes/shamino_com/images/folderArrowOpen.png trunk/themes/smaller/images/ trunk/themes/smaller/images/folderArrowClosed.png trunk/themes/smaller/images/folderArrowLoading.gif trunk/themes/smaller/images/folderArrowOpen.png trunk/themes/wikilens/images/folderArrowClosed.png trunk/themes/wikilens/images/folderArrowLoading.gif trunk/themes/wikilens/images/folderArrowOpen.png Added: trunk/themes/Crao/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Crao/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Crao/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/Crao/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Crao/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Crao/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Hawaiian/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Hawaiian/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Hawaiian/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/Hawaiian/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Hawaiian/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Hawaiian/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/MacOSX/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/MacOSX/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/MacOSX/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/MacOSX/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/MacOSX/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/MacOSX/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/MonoBook/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/MonoBook/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/MonoBook/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/MonoBook/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/MonoBook/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/MonoBook/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Portland/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Portland/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Portland/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/Portland/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Portland/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Portland/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Sidebar/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/Sidebar/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/SpaceWiki/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/SpaceWiki/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/SpaceWiki/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/SpaceWiki/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/SpaceWiki/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/SpaceWiki/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Wordpress/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Wordpress/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Wordpress/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/Wordpress/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/Wordpress/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/Wordpress/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/blog/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/blog/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/blog/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/blog/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/blog/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/blog/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/gforge/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/gforge/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/gforge/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/gforge/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/gforge/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/gforge/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/shamino_com/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/shamino_com/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/shamino_com/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/shamino_com/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/shamino_com/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/shamino_com/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/smaller/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/smaller/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/smaller/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/smaller/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/smaller/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/smaller/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/wikilens/images/folderArrowClosed.png =================================================================== (Binary files differ) Property changes on: trunk/themes/wikilens/images/folderArrowClosed.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/wikilens/images/folderArrowLoading.gif =================================================================== (Binary files differ) Property changes on: trunk/themes/wikilens/images/folderArrowLoading.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/themes/wikilens/images/folderArrowOpen.png =================================================================== (Binary files differ) Property changes on: trunk/themes/wikilens/images/folderArrowOpen.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-07-05 06:46:53
|
Revision: 6981 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=6981&view=rev Author: vargenau Date: 2009-07-05 06:46:46 +0000 (Sun, 05 Jul 2009) Log Message: ----------- Convert file names to UTF-8 Added Paths: ----------- trunk/themes/Crao/buttons/fr/%C3%89diter.png trunk/themes/Crao/buttons/fr/D%C3%A9connexion.png trunk/themes/Crao/buttons/fr/D%C3%A9verrouiller+la+Page.png trunk/themes/Crao/buttons/fr/Derni%C3%A8res+Modifs.png trunk/themes/Crao/buttons/fr/R%C3%A9troLiens.png trunk/themes/MacOSX/buttons/de/%C3%84hnlicheSeiten.png trunk/themes/MacOSX/buttons/de/Geringf%C3%BCgige%C3%84nderungen.png trunk/themes/MacOSX/buttons/de/Neueste%C3%84nderungen.png trunk/themes/MacOSX/buttons/de/Seite+L%C3%B6schen.png trunk/themes/MacOSX/buttons/de/Verlinkte%C3%84nderungen.png trunk/themes/MacOSX/buttons/es/Borrar%2BP%C3%A1gina.png trunk/themes/MacOSX/buttons/es/BuscarP%C3%A1gina.png Removed Paths: ------------- trunk/themes/Crao/buttons/fr/%C9diter.png trunk/themes/Crao/buttons/fr/D%E9connexion.png trunk/themes/Crao/buttons/fr/D%E9verrouiller+la+Page.png trunk/themes/Crao/buttons/fr/Derni%E8res+Modifs.png trunk/themes/Crao/buttons/fr/R%E9troLiens.png trunk/themes/MacOSX/buttons/de/%C4hnlicheSeiten.png trunk/themes/MacOSX/buttons/de/Geringf%FCgige%C4nderungen.png trunk/themes/MacOSX/buttons/de/Neueste%C4nderungen.png trunk/themes/MacOSX/buttons/de/Seite+L%F6schen.png trunk/themes/MacOSX/buttons/de/Verlinkte%C4nderungen.png trunk/themes/MacOSX/buttons/es/Borrar+P%E1gina.png trunk/themes/MacOSX/buttons/es/BuscarP%E1gina.png Copied: trunk/themes/Crao/buttons/fr/%C3 133331872iter.png (from rev 6964, trunk/themes/Crao/buttons/fr/%C9diter.png) =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/buttons/fr/%C9diter.png =================================================================== (Binary files differ) Copied: trunk/themes/Crao/buttons/fr/D%C3%A9connexion.png (from rev 6964, trunk/themes/Crao/buttons/fr/D2.085695E-3179connexion.png) =================================================================== (Binary files differ) Copied: trunk/themes/Crao/buttons/fr/D%C3%A9verrouiller+la+Page.png (from rev 6964, trunk/themes/Crao/buttons/fr/D2.085695E-3179verrouiller+la+Page.png) =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/buttons/fr/D6.587470E-3169connexion.png =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/buttons/fr/D2.085695E-3179verrouiller+la+Page.png =================================================================== (Binary files differ) Copied: trunk/themes/Crao/buttons/fr/Derni%C3%A8res+Modifs.png (from rev 6964, trunk/themes/Crao/buttons/fr/Derni2.085695E-3178res+Modifs.png) =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/buttons/fr/Derni2.085695E-3178res+Modifs.png =================================================================== (Binary files differ) Copied: trunk/themes/Crao/buttons/fr/R%C3%A9troLiens.png (from rev 6964, trunk/themes/Crao/buttons/fr/R2.085695E-3179troLiens.png) =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/buttons/fr/R6.587470E-3169troLiens.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/de/%C3 licheSeiten.png (from rev 6964, trunk/themes/MacOSX/buttons/de/%C4hnlicheSeiten.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/de/%C4hnlicheSeiten.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/de/Geringf%C3%BCgige%C3 derungen.png (from rev 6964, trunk/themes/MacOSX/buttons/de/Geringf%FCgige%C4nderungen.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/de/Geringf%FCgige%C4nderungen.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/de/Neueste%C3 derungen.png (from rev 6964, trunk/themes/MacOSX/buttons/de/Neueste%C4nderungen.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/de/Neueste%C4nderungen.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/de/Seite+L%C3%B6schen.png (from rev 6964, trunk/themes/MacOSX/buttons/de/Seite+L%F6schen.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/de/Seite+L%F6schen.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/de/Verlinkte%C3 derungen.png (from rev 6964, trunk/themes/MacOSX/buttons/de/Verlinkte%C4nderungen.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/de/Verlinkte%C4nderungen.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/es/Borrar%BP%C3%A1gina.png (from rev 6964, trunk/themes/MacOSX/buttons/es/Borrar+P2.085695E-3171gina.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/es/Borrar+P2.085695E-3171gina.png =================================================================== (Binary files differ) Copied: trunk/themes/MacOSX/buttons/es/BuscarP%C3%A1gina.png (from rev 6964, trunk/themes/MacOSX/buttons/es/BuscarP2.085695E-3171gina.png) =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/buttons/es/BuscarP6.587471E-3161gina.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-07-06 19:52:27
|
Revision: 7002 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7002&view=rev Author: vargenau Date: 2009-07-06 19:52:11 +0000 (Mon, 06 Jul 2009) Log Message: ----------- No charset Modified Paths: -------------- trunk/themes/MacOSX/MacOSX-topbottombars.css trunk/themes/default/phpwiki-printer.css Modified: trunk/themes/MacOSX/MacOSX-topbottombars.css =================================================================== --- trunk/themes/MacOSX/MacOSX-topbottombars.css 2009-07-06 14:23:30 UTC (rev 7001) +++ trunk/themes/MacOSX/MacOSX-topbottombars.css 2009-07-06 19:52:11 UTC (rev 7002) @@ -1,11 +1,8 @@ -/*@charset "iso-8859-1";*/ /** * $Id$ - * */ @import url("MacOSX.css"); - /** * General settings */ Modified: trunk/themes/default/phpwiki-printer.css =================================================================== --- trunk/themes/default/phpwiki-printer.css 2009-07-06 14:23:30 UTC (rev 7001) +++ trunk/themes/default/phpwiki-printer.css 2009-07-06 19:52:11 UTC (rev 7002) @@ -1,4 +1,3 @@ -/*@charset "iso-8859-1";*/ /** * $Id$ * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-07-08 07:36:51
|
Revision: 7007 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7007&view=rev Author: vargenau Date: 2009-07-08 07:36:44 +0000 (Wed, 08 Jul 2009) Log Message: ----------- Add mail-style-quote Modified Paths: -------------- trunk/themes/MonoBook/main.css trunk/themes/Sidebar/monobook.css Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2009-07-07 20:04:52 UTC (rev 7006) +++ trunk/themes/MonoBook/main.css 2009-07-08 07:36:44 UTC (rev 7007) @@ -1838,6 +1838,19 @@ .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; } /* + * "E-mail" style blockquote + */ +blockquote.mail-style-quote { + border-left: medium #284 solid; + padding-left: 1em; + margin-left: 0; + margin-right: 0; +} +.mail-style-quote blockquote.mail-style-quote { + margin-left: -0.6em; +} + +/* * table class="boxed" * will put a border around the table (but not around the cells) * Modified: trunk/themes/Sidebar/monobook.css =================================================================== --- trunk/themes/Sidebar/monobook.css 2009-07-07 20:04:52 UTC (rev 7006) +++ trunk/themes/Sidebar/monobook.css 2009-07-08 07:36:44 UTC (rev 7007) @@ -1895,6 +1895,19 @@ .interwiki, i.interwiki .wikipage, em .interwiki .wikipage { font-style: oblique; } .interwiki .wikipage, i .interwiki, em .interwiki { font-style: normal; } +/* + * "E-mail" style blockquote + */ +blockquote.mail-style-quote { + border-left: medium #284 solid; + padding-left: 1em; + margin-left: 0; + margin-right: 0; +} +.mail-style-quote blockquote.mail-style-quote { + margin-left: -0.6em; +} + #p-rc-body div div.box-title { display: none; } /* RssFeed */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-07-12 10:10:49
|
Revision: 7013 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7013&view=rev Author: vargenau Date: 2009-07-12 10:10:42 +0000 (Sun, 12 Jul 2009) Log Message: ----------- New universaleditbutton Modified Paths: -------------- trunk/themes/MonoBook/main.css trunk/themes/Sidebar/monobook.css trunk/themes/blog/Kubrick.css trunk/themes/default/phpwiki.css Added Paths: ----------- trunk/themes/MonoBook/images/UEB16.png Added: trunk/themes/MonoBook/images/UEB16.png =================================================================== (Binary files differ) Property changes on: trunk/themes/MonoBook/images/UEB16.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/themes/MonoBook/main.css =================================================================== --- trunk/themes/MonoBook/main.css 2009-07-12 02:22:31 UTC (rev 7012) +++ trunk/themes/MonoBook/main.css 2009-07-12 10:10:42 UTC (rev 7013) @@ -1121,9 +1121,9 @@ text-decoration: none; background-color: #dedede; } -/* http://www.aboutus.org/UniversalWikiEditButton */ +/* http://universaleditbutton.org */ #p-cactions li a#btn-edit { - background: url('images/Edit-chalk-10gs.png') top left no-repeat; + background: url('images/UEB16.png') top left no-repeat; background-repeat: no-repeat; padding-left: 20px !important; text-transform: none; Modified: trunk/themes/Sidebar/monobook.css =================================================================== --- trunk/themes/Sidebar/monobook.css 2009-07-12 02:22:31 UTC (rev 7012) +++ trunk/themes/Sidebar/monobook.css 2009-07-12 10:10:42 UTC (rev 7013) @@ -1169,9 +1169,9 @@ background-color: #fff; padding-bottom: 0.3em; } -/* http://www.aboutus.org/UniversalWikiEditButton */ +/* http://universaleditbutton.org */ #p-cactions li a#btn-edit { - background: url('images/Edit-chalk-10gs.png') top left no-repeat; + background: url('images/UEB16.png') top left no-repeat; background-repeat: no-repeat; padding-left: 20px !important; text-transform: none; Modified: trunk/themes/blog/Kubrick.css =================================================================== --- trunk/themes/blog/Kubrick.css 2009-07-12 02:22:31 UTC (rev 7012) +++ trunk/themes/blog/Kubrick.css 2009-07-12 10:10:42 UTC (rev 7013) @@ -50,9 +50,9 @@ /*height: 40px;*/ } -/* http://www.aboutus.org/UniversalWikiEditButton */ +/* http://universaleditbutton.org */ div.actionbuttons a#btn-edit { - background: url('images/Edit-chalk-10bo12.png') bottom left no-repeat; + background: url('images/UEB16.png') bottom left no-repeat; background-repeat: no-repeat; padding-left: 13px !important; } Modified: trunk/themes/default/phpwiki.css =================================================================== --- trunk/themes/default/phpwiki.css 2009-07-12 02:22:31 UTC (rev 7012) +++ trunk/themes/default/phpwiki.css 2009-07-12 10:10:42 UTC (rev 7013) @@ -1048,9 +1048,9 @@ */ /* color: inherit; and background: inherit; display as lime in NS4 */ -/* http://www.aboutus.org/UniversalWikiEditButton */ +/* http://universaleditbutton.org */ div#actionbuttons a#btn-edit { - background: url('images/Edit-chalk-10g.png') bottom left no-repeat; + background: url('images/UEB16.png') bottom left no-repeat; background-repeat: no-repeat; padding-left: 20px !important; padding-right: 0.5em !important; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-07-13 02:27:57
|
Revision: 7016 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7016&view=rev Author: vargenau Date: 2009-07-13 02:27:55 +0000 (Mon, 13 Jul 2009) Log Message: ----------- Make Universal Edit Button work Modified Paths: -------------- trunk/themes/Crao/templates/head.tmpl trunk/themes/wikilens/templates/head.tmpl Modified: trunk/themes/Crao/templates/head.tmpl =================================================================== --- trunk/themes/Crao/templates/head.tmpl 2009-07-12 19:19:04 UTC (rev 7015) +++ trunk/themes/Crao/templates/head.tmpl 2009-07-13 02:27:55 UTC (rev 7016) @@ -73,6 +73,7 @@ _("WikiWikiWeb")?>" href="<?=WikiURL( _("WikiWikiWeb"))?>" /> <?php } ?> +<link rel="alternate" type="application/x-wiki" title="Edit this page!" href="<?= WikiURL($page,array('action'=>'edit')) ?>" /> <?php if ($user->isadmin()) { /* Only for the Administrator */ ?> <link rel="bookmark" title="<?= Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2009-07-12 19:19:04 UTC (rev 7015) +++ trunk/themes/wikilens/templates/head.tmpl 2009-07-13 02:27:55 UTC (rev 7016) @@ -71,7 +71,7 @@ _("WikiWikiWeb")?>" href="<?=WikiURL( _("WikiWikiWeb"))?>" /> <?php } ?> - +<link rel="alternate" type="application/x-wiki" title="Edit this page!" href="<?= WikiURL($page,array('action'=>'edit')) ?>" /> <?php if ($user->isadmin()) { /* Only for the Administrator */ ?> <link rel="bookmark" title="<?= This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ru...@us...> - 2009-09-17 10:13:07
|
Revision: 7139 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7139&view=rev Author: rurban Date: 2009-09-17 10:13:01 +0000 (Thu, 17 Sep 2009) Log Message: ----------- remove all folderArrow images but default. use global var folderArrowPath Modified Paths: -------------- trunk/themes/default/ajax.js trunk/themes/default/templates/login.tmpl Removed Paths: ------------- trunk/themes/Crao/images/folderArrowClosed.png trunk/themes/Crao/images/folderArrowLoading.gif trunk/themes/Crao/images/folderArrowOpen.png trunk/themes/Hawaiian/images/folderArrowClosed.png trunk/themes/Hawaiian/images/folderArrowLoading.gif trunk/themes/Hawaiian/images/folderArrowOpen.png trunk/themes/MacOSX/images/folderArrowClosed.png trunk/themes/MacOSX/images/folderArrowLoading.gif trunk/themes/MacOSX/images/folderArrowOpen.png trunk/themes/MonoBook/images/folderArrowClosed.png trunk/themes/MonoBook/images/folderArrowLoading.gif trunk/themes/MonoBook/images/folderArrowOpen.png trunk/themes/Portland/images/folderArrowClosed.png trunk/themes/Portland/images/folderArrowLoading.gif trunk/themes/Portland/images/folderArrowOpen.png trunk/themes/Sidebar/images/folderArrowClosed.png trunk/themes/Sidebar/images/folderArrowLoading.gif trunk/themes/Sidebar/images/folderArrowOpen.png trunk/themes/SpaceWiki/images/folderArrowClosed.png trunk/themes/SpaceWiki/images/folderArrowLoading.gif trunk/themes/SpaceWiki/images/folderArrowOpen.png trunk/themes/Wordpress/images/folderArrowClosed.png trunk/themes/Wordpress/images/folderArrowLoading.gif trunk/themes/Wordpress/images/folderArrowOpen.png trunk/themes/blog/images/folderArrowClosed.png trunk/themes/blog/images/folderArrowLoading.gif trunk/themes/blog/images/folderArrowOpen.png trunk/themes/gforge/images/folderArrowClosed.png trunk/themes/gforge/images/folderArrowLoading.gif trunk/themes/gforge/images/folderArrowOpen.png trunk/themes/shamino_com/images/folderArrowClosed.png trunk/themes/shamino_com/images/folderArrowLoading.gif trunk/themes/shamino_com/images/folderArrowOpen.png trunk/themes/smaller/images/ trunk/themes/wikilens/images/folderArrowClosed.png trunk/themes/wikilens/images/folderArrowLoading.gif trunk/themes/wikilens/images/folderArrowOpen.png Deleted: trunk/themes/Crao/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/Crao/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/Hawaiian/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/Hawaiian/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/Hawaiian/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/MacOSX/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/MonoBook/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/MonoBook/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/MonoBook/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/Portland/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/Portland/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/Portland/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/Sidebar/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/Sidebar/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/Sidebar/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/SpaceWiki/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/SpaceWiki/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/SpaceWiki/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/Wordpress/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/Wordpress/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/Wordpress/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/blog/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/blog/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/blog/images/folderArrowOpen.png =================================================================== (Binary files differ) Modified: trunk/themes/default/ajax.js =================================================================== --- trunk/themes/default/ajax.js 2009-09-17 10:11:31 UTC (rev 7138) +++ trunk/themes/default/ajax.js 2009-09-17 10:13:01 UTC (rev 7139) @@ -28,10 +28,10 @@ if (newbody == null) { alert("showHideDone "+this.id+"\nno xml children from "+this.hXMLHttp.responseText); } - // We cannot just insert the responseXML into the DOM. - // well gecko can, but the others not. - // So convert the XML tree it on the fly into HTML nodes. - // I never saw this before, I needed that, so I think I + // We cannot just insert the responseXML into the DOM. + // well gecko can, but the others not. + // So convert the XML tree it on the fly into HTML nodes. + // I never saw this before. I needed that, so I think I // invented that sort of rich mashup. var hContainer = CreateHtmlFromXml(newbody); hContainer.className = 'wikitext'; @@ -41,8 +41,10 @@ alert("showHideDone "+this.id+"\nerror no xml from "+this.hXMLHttp.responseText); } } - if (img) - img.src = stylepath + 'images/folderArrowOpen.png'; + if (img) { + if (!folderArrowPath) folderArrowPath = stylepath + 'images/'; + img.src = folderArrowPath + 'folderArrowOpen.png'; + } } } @@ -55,15 +57,15 @@ var cShowHide; -/* recursive xml => html converter. This might need a attribute type checker - in a bad world. e.g. disable all on* events */ +/* recursive xml => html converter. + This might need a attribute type checker in a bad world. + e.g. disable all on* events */ function CreateHtmlFromXml (xml) { if (xml == null) { return document.createElement('xml'); } var xmltype = xml.nodeName; var html; - // we have either text or node elements if (xmltype == '#text') { html = document.createTextNode( xml.nodeValue ); html.nodeValue = xml.nodeValue; @@ -99,10 +101,11 @@ showHideFolder(id); } else { + if (!folderArrowPath) folderArrowPath = stylepath + 'images/'; //alert("showHideAsync "+uri+" "+id+"\nloading..."); var img = document.getElementById(id+'-img'); if (img) - img.src = stylepath + 'images/folderArrowLoading.gif'; + img.src = folderArrowPath + 'folderArrowLoading.gif'; cShowHide = new showHide(id) cShowHide.hXMLHttp.open( 'GET', uri, true ) cShowHide.hXMLHttp.send( null ) Modified: trunk/themes/default/templates/login.tmpl =================================================================== --- trunk/themes/default/templates/login.tmpl 2009-09-17 10:11:31 UTC (rev 7138) +++ trunk/themes/default/templates/login.tmpl 2009-09-17 10:13:01 UTC (rev 7139) @@ -9,6 +9,13 @@ <br class="clear-floats" /> <?php +$dbh = $request->getDbh(); +if (READONLY) { + echo asXML(HTML::h2("System is locked as read-only for maintenance")); +} elseif ($dbh->readonly) { + echo asXML(HTML::h2("Database is locked as read-only for maintenance")); +} + if (DEBUG & _DEBUG_LOGIN) { $t = sprintf(" DEBUG: ALLOW_ANON_EDIT = %s, ALLOW_BOGO_LOGIN = %s, ALLOW_USER_PASSWORDS = %s, ENABLE_PAGEPERM = %s, ", ALLOW_ANON_EDIT ? "true" : "false", Deleted: trunk/themes/gforge/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/gforge/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/gforge/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/shamino_com/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/shamino_com/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/shamino_com/images/folderArrowOpen.png =================================================================== (Binary files differ) Deleted: trunk/themes/wikilens/images/folderArrowClosed.png =================================================================== (Binary files differ) Deleted: trunk/themes/wikilens/images/folderArrowLoading.gif =================================================================== (Binary files differ) Deleted: trunk/themes/wikilens/images/folderArrowOpen.png =================================================================== (Binary files differ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-10-19 14:38:00
|
Revision: 7222 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7222&view=rev Author: vargenau Date: 2009-10-19 14:37:50 +0000 (Mon, 19 Oct 2009) Log Message: ----------- Remove unused templates Removed Paths: ------------- trunk/themes/Sidebar/templates/frame-footer.tmpl trunk/themes/Sidebar/templates/frame-header.tmpl trunk/themes/default/templates/frame-footer.tmpl trunk/themes/default/templates/frame-header.tmpl trunk/themes/default/templates/toc.tmpl Deleted: trunk/themes/Sidebar/templates/frame-footer.tmpl =================================================================== --- trunk/themes/Sidebar/templates/frame-footer.tmpl 2009-10-19 13:56:46 UTC (rev 7221) +++ trunk/themes/Sidebar/templates/frame-footer.tmpl 2009-10-19 14:37:50 UTC (rev 7222) @@ -1,17 +0,0 @@ -<?php // -*-html-*- -/* $Id$ - * - * This template is responsible mainly for the outer level <html> stuff. - */ -printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET); -?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<?= Template('head') ?> -<body> -<hr class="printer" noshade="noshade" /> -<p class="editdate"><?= $WikiTheme->getLastModifiedMessage($revision) ?></p> -<?= Template('bottom') ?> -</body> -</html> \ No newline at end of file Deleted: trunk/themes/Sidebar/templates/frame-header.tmpl =================================================================== --- trunk/themes/Sidebar/templates/frame-header.tmpl 2009-10-19 13:56:46 UTC (rev 7221) +++ trunk/themes/Sidebar/templates/frame-header.tmpl 2009-10-19 14:37:50 UTC (rev 7222) @@ -1,22 +0,0 @@ -<?php // -*-html-*- -/* $Id$ - * - * This template is responsible mainly for the outer level <html> stuff. - */ -printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET); -?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<?= Template('head') ?> -<body> -<div align="right" id="logo"><a class="wikilink" - href="<?=WikiURL(HOME_PAGE)?>" target="_top" - ><img src="<?=$WikiTheme->getImageURL('logo')?>" id="logo-img" - border="0" alt="<?=fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>" - align="right" /></a></div> - -<!-- Page title --> -<h1><?= $HEADER ?></h1> -</body> -</html> \ No newline at end of file Deleted: trunk/themes/default/templates/frame-footer.tmpl =================================================================== --- trunk/themes/default/templates/frame-footer.tmpl 2009-10-19 13:56:46 UTC (rev 7221) +++ trunk/themes/default/templates/frame-footer.tmpl 2009-10-19 14:37:50 UTC (rev 7222) @@ -1,16 +0,0 @@ -<?php // -*-html-*- -/* $Id$ - * - * This template is responsible mainly for the outer level <html> stuff. - */ -printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET); -?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<?= Template('head') ?> -<body> -<?= Template('browse-footer') ?> -<?= Template('bottom') ?> -</body> -</html> Deleted: trunk/themes/default/templates/frame-header.tmpl =================================================================== --- trunk/themes/default/templates/frame-header.tmpl 2009-10-19 13:56:46 UTC (rev 7221) +++ trunk/themes/default/templates/frame-header.tmpl 2009-10-19 14:37:50 UTC (rev 7222) @@ -1,13 +0,0 @@ -<?php // -*-html-*- -/* $Id$ - * - * This template is responsible mainly for the outer level <html> stuff. - */ -printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET); -?> -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> -<?= Template('head') ?> -<body><?= Template('top') ?></body> -</html> Deleted: trunk/themes/default/templates/toc.tmpl =================================================================== --- trunk/themes/default/templates/toc.tmpl 2009-10-19 13:56:46 UTC (rev 7221) +++ trunk/themes/default/templates/toc.tmpl 2009-10-19 14:37:50 UTC (rev 7222) @@ -1 +0,0 @@ -<table class="toc"><tr><th class="toc">Table of Contents <script type="text/javascript">showTocToggle("+","-")</script></th></tr><tr id="tocinside"><td class="toc"><div class="toc1">·<a href="#dokuwiki" class="toc">DokuWiki</a></div><div class="toc2">·<a href="#download" class="toc">Download</a></div><div class="toc2">·<a href="#read_more" class="toc">Read More</a></div><div class="toc2">·<a href="#copyright" class="toc">Copyright</a></div></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-10-21 09:56:10
|
Revision: 7231 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7231&view=rev Author: vargenau Date: 2009-10-21 09:55:59 +0000 (Wed, 21 Oct 2009) Log Message: ----------- Normalize headers Modified Paths: -------------- trunk/themes/Crao/templates/actionbar.tmpl trunk/themes/Crao/templates/body.tmpl trunk/themes/Crao/templates/bottom.tmpl trunk/themes/Crao/templates/browse.tmpl trunk/themes/Crao/templates/editpage.tmpl trunk/themes/Crao/templates/head.tmpl trunk/themes/Crao/templates/htmldump.tmpl trunk/themes/Crao/templates/navbar.tmpl trunk/themes/Crao/templates/signin.tmpl trunk/themes/Crao/templates/top.tmpl trunk/themes/Crao/templates/wikiblog.tmpl trunk/themes/MonoBook/templates/actionbar.tmpl trunk/themes/MonoBook/templates/body.tmpl trunk/themes/MonoBook/templates/browse-footer.tmpl trunk/themes/MonoBook/templates/browse.tmpl trunk/themes/MonoBook/templates/editpage.tmpl trunk/themes/MonoBook/templates/info.tmpl trunk/themes/MonoBook/templates/logo.tmpl trunk/themes/MonoBook/templates/navbar.tmpl trunk/themes/MonoBook/templates/tags.tmpl trunk/themes/MonoBook/templates/top.tmpl trunk/themes/MonoBook/templates/viewsource.tmpl trunk/themes/Portland/templates/actionbar.tmpl trunk/themes/Portland/templates/body.tmpl trunk/themes/Portland/templates/browse.tmpl trunk/themes/Portland/templates/debug.tmpl trunk/themes/Portland/templates/editpage.tmpl trunk/themes/Portland/templates/navbar.tmpl trunk/themes/Portland/templates/viewsource.tmpl trunk/themes/Sidebar/templates/actionbar.tmpl trunk/themes/Sidebar/templates/browse.tmpl trunk/themes/Sidebar/templates/content.tmpl trunk/themes/Sidebar/templates/debug.tmpl trunk/themes/Sidebar/templates/dump-footer.tmpl trunk/themes/Sidebar/templates/frame-left.tmpl trunk/themes/Sidebar/templates/frameset.tmpl trunk/themes/Sidebar/templates/html.tmpl trunk/themes/Sidebar/templates/htmldump.tmpl trunk/themes/Sidebar/templates/navbar.tmpl trunk/themes/Sidebar/templates/signin.tmpl trunk/themes/Wordpress/templates/actionbar.tmpl trunk/themes/Wordpress/templates/body.tmpl trunk/themes/Wordpress/templates/browse.tmpl trunk/themes/Wordpress/templates/editpage.tmpl trunk/themes/Wordpress/templates/navbar.tmpl trunk/themes/Wordpress/templates/viewsource.tmpl trunk/themes/blog/templates/actionbar.tmpl trunk/themes/blog/templates/blogform.tmpl trunk/themes/blog/templates/body.tmpl trunk/themes/blog/templates/bottom.tmpl trunk/themes/blog/templates/browse-footer.tmpl trunk/themes/blog/templates/browse.tmpl trunk/themes/blog/templates/debug.tmpl trunk/themes/blog/templates/info.tmpl trunk/themes/blog/templates/sidebar.tmpl trunk/themes/blog/templates/top.tmpl trunk/themes/blog/templates/viewsource.tmpl trunk/themes/default/templates/addcomment.tmpl trunk/themes/default/templates/blogform.tmpl trunk/themes/default/templates/body.tmpl trunk/themes/default/templates/bottom.tmpl trunk/themes/default/templates/browse-footer.tmpl trunk/themes/default/templates/browse.tmpl trunk/themes/default/templates/categorypage.tmpl trunk/themes/default/templates/content.tmpl trunk/themes/default/templates/debug.tmpl trunk/themes/default/templates/dialog.tmpl trunk/themes/default/templates/editpage.tmpl trunk/themes/default/templates/forumadd.tmpl trunk/themes/default/templates/frameset.tmpl trunk/themes/default/templates/head.tmpl trunk/themes/default/templates/html.tmpl trunk/themes/default/templates/htmldump.tmpl trunk/themes/default/templates/info.tmpl trunk/themes/default/templates/login.tmpl trunk/themes/default/templates/navbar.tmpl trunk/themes/default/templates/nochanges.tmpl trunk/themes/default/templates/online.tmpl trunk/themes/default/templates/pagelink.tmpl trunk/themes/default/templates/redirect.tmpl trunk/themes/default/templates/savepage.tmpl trunk/themes/default/templates/top.tmpl trunk/themes/default/templates/userprefs.tmpl trunk/themes/default/templates/viewsource.tmpl trunk/themes/default/templates/wikiforum.tmpl trunk/themes/gforge/templates/blogform.tmpl trunk/themes/gforge/templates/login.tmpl trunk/themes/shamino_com/templates/actionbar.tmpl trunk/themes/shamino_com/templates/browse-footer.tmpl trunk/themes/shamino_com/templates/debug.tmpl trunk/themes/shamino_com/templates/info.tmpl trunk/themes/shamino_com/templates/top.tmpl trunk/themes/smaller/templates/info.tmpl trunk/themes/smaller/templates/navbar.tmpl trunk/themes/wikilens/templates/categorypage.tmpl trunk/themes/wikilens/templates/head.tmpl trunk/themes/wikilens/templates/navbar.tmpl trunk/themes/wikilens/templates/newuserwelcomepage.tmpl Property Changed: ---------------- trunk/themes/MonoBook/templates/editpage.tmpl trunk/themes/MonoBook/templates/logo.tmpl trunk/themes/blog/templates/info.tmpl trunk/themes/default/templates/MAP.pdf trunk/themes/default/templates/search.tmpl trunk/themes/shamino_com/templates/info.tmpl trunk/themes/smaller/templates/info.tmpl Modified: trunk/themes/Crao/templates/actionbar.tmpl =================================================================== --- trunk/themes/Crao/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); if (!$page->get('locked') || $user->isAdmin() and $revision) $EditB = Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")); Modified: trunk/themes/Crao/templates/body.tmpl =================================================================== --- trunk/themes/Crao/templates/body.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/body.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> <body<?= $WikiTheme->getMoreAttr('body') ?>> Modified: trunk/themes/Crao/templates/bottom.tmpl =================================================================== --- trunk/themes/Crao/templates/bottom.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/bottom.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <!-- Add your Disclaimer here --> Modified: trunk/themes/Crao/templates/browse.tmpl =================================================================== --- trunk/themes/Crao/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($revision and !$revision->isCurrent()) { ?> <p><strong><?=_("Note:")?></strong> Modified: trunk/themes/Crao/templates/editpage.tmpl =================================================================== --- trunk/themes/Crao/templates/editpage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/editpage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<!-- -*-html-*- --> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if (isset($PREVIEW_CONTENT)) { ?> <p><strong><?=_("Preview only! Changes not saved.")?></strong> <!-- FIXME: it would be nice to put a link to the #editarea anchor below, Modified: trunk/themes/Crao/templates/head.tmpl =================================================================== --- trunk/themes/Crao/templates/head.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/head.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" /> Modified: trunk/themes/Crao/templates/htmldump.tmpl =================================================================== --- trunk/themes/Crao/templates/htmldump.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/htmldump.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); /* * This template is used only for html file dumps, and is responsible Modified: trunk/themes/Crao/templates/navbar.tmpl =================================================================== --- trunk/themes/Crao/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <!-- The top navigation/search bar --> <form action="<?= WikiURL(_("TitleSearch"))?>" target="_top" method="get" accept-charset="<?=$charset?>" id="searchform" name="searchform"> Modified: trunk/themes/Crao/templates/signin.tmpl =================================================================== --- trunk/themes/Crao/templates/signin.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/signin.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); if (empty($FORMNAME)) Modified: trunk/themes/Crao/templates/top.tmpl =================================================================== --- trunk/themes/Crao/templates/top.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/top.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); global $HIDE_TOOLBARS; Modified: trunk/themes/Crao/templates/wikiblog.tmpl =================================================================== --- trunk/themes/Crao/templates/wikiblog.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Crao/templates/wikiblog.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,6 @@ -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php $CDATE = $WikiTheme->formatDateTime($BLOG_CTIME); Modified: trunk/themes/MonoBook/templates/actionbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php //$p = $WikiTheme->tooltipAccessKeyPrefix(); $dbh = $request->getDbh(); Modified: trunk/themes/MonoBook/templates/body.tmpl =================================================================== --- trunk/themes/MonoBook/templates/body.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/body.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); // Todo: set the body attr dynamically. here class="ns-2" for mozilla ?> Modified: trunk/themes/MonoBook/templates/browse-footer.tmpl =================================================================== --- trunk/themes/MonoBook/templates/browse-footer.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/browse-footer.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <?php // <hr class="printer" noshade="noshade" /> ?> <div class="visualClear"></div> Modified: trunk/themes/MonoBook/templates/browse.tmpl =================================================================== --- trunk/themes/MonoBook/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> Modified: trunk/themes/MonoBook/templates/editpage.tmpl =================================================================== --- trunk/themes/MonoBook/templates/editpage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/editpage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,2 +1,5 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> <div id="contentSub"></div> <?= Template("default/editpage") ?> Property changes on: trunk/themes/MonoBook/templates/editpage.tmpl ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/MonoBook/templates/info.tmpl =================================================================== --- trunk/themes/MonoBook/templates/info.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/info.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); $modifed = $WikiTheme->formatDateTime($revision->get('mtime')); Modified: trunk/themes/MonoBook/templates/logo.tmpl =================================================================== --- trunk/themes/MonoBook/templates/logo.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/logo.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,3 +1,6 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> <div class="portlet" id="p-logo"><a class="wikilink" href="<?=WikiURL(HOME_PAGE)?>" target="_top"><img src="<?= $WikiTheme->getImageURL('logo') ?>" id="logo-img" border="0" alt="<?= fmt(_("%s: %s"), WIKI_NAME, HOME_PAGE) ?>" /></a></div> <div id="img-logo-right" /> Property changes on: trunk/themes/MonoBook/templates/logo.tmpl ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/MonoBook/templates/navbar.tmpl =================================================================== --- trunk/themes/MonoBook/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php // With MonoBook it is similar to Sidebar, named boxes at the left. // actionbuttons, navigation, search, toolbox Modified: trunk/themes/MonoBook/templates/tags.tmpl =================================================================== --- trunk/themes/MonoBook/templates/tags.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/tags.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,6 @@ -<?php // -*-php-*- +<?php // -*-php-*- +rcs_id('$Id$'); ?> -<!-- $Id$ --> <!-- list of most popular categories --> <div class="portlet" id="p-tags"> <h5><?= _("Favorite Categories") ?></h5> Modified: trunk/themes/MonoBook/templates/top.tmpl =================================================================== --- trunk/themes/MonoBook/templates/top.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/top.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> <!-- Page title --> Modified: trunk/themes/MonoBook/templates/viewsource.tmpl =================================================================== --- trunk/themes/MonoBook/templates/viewsource.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/MonoBook/templates/viewsource.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> - +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($page->get('locked') && !$user->isAdmin()) { ?> <p><strong><?=_("Note:")?></strong> <?=_("This page has been locked by the administrator and cannot be edited.")?> Modified: trunk/themes/Portland/templates/actionbar.tmpl =================================================================== --- trunk/themes/Portland/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($revision and (!$page->get('locked') || $user->isAdmin())) $EditB = Button("edit", Modified: trunk/themes/Portland/templates/body.tmpl =================================================================== --- trunk/themes/Portland/templates/body.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/body.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <body<?= $WikiTheme->getMoreAttr('body') ?>> <!-- Page title and logo --> <h1><a class="wikilink" @@ -14,4 +15,4 @@ <?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> <?php if (defined('DEBUG') && DEBUG) { ?><?= Template('debug') ?><?php } ?> -</body> \ No newline at end of file +</body> Modified: trunk/themes/Portland/templates/browse.tmpl =================================================================== --- trunk/themes/Portland/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,5 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> -<?php +<?php // -*-php-*- +rcs_id('$Id$'); ?> <br clear="all" class="clear-floats" /> Modified: trunk/themes/Portland/templates/debug.tmpl =================================================================== --- trunk/themes/Portland/templates/debug.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/debug.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <?php global $RUNTIMER; ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> Modified: trunk/themes/Portland/templates/editpage.tmpl =================================================================== --- trunk/themes/Portland/templates/editpage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/editpage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<!-- -*-html-*- --> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php /* * FIXME: Hack! * The funky URL used for the form action parameter is bogus. Modified: trunk/themes/Portland/templates/navbar.tmpl =================================================================== --- trunk/themes/Portland/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <!-- The bottom navigation/search bar --> <?= WikiLink(_("FindPage"), "button") ?> by searching @@ -30,4 +31,4 @@ <td align="right"> <?= Template('signin') ?> </td> -</tr></table> \ No newline at end of file +</tr></table> Modified: trunk/themes/Portland/templates/viewsource.tmpl =================================================================== --- trunk/themes/Portland/templates/viewsource.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Portland/templates/viewsource.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<!-- -*-html-*- --> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($page->get('locked') && !$user->isAdmin()) { ?> <p><strong><?=_("Note:")?></strong> Modified: trunk/themes/Sidebar/templates/actionbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); $dbh = $request->getDbh(); $isAdmin = $user->isAdmin(); $pagename = $page->getName(); Modified: trunk/themes/Sidebar/templates/browse.tmpl =================================================================== --- trunk/themes/Sidebar/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> Modified: trunk/themes/Sidebar/templates/content.tmpl =================================================================== --- trunk/themes/Sidebar/templates/content.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/content.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <?= $CONTENT ?> </body> Modified: trunk/themes/Sidebar/templates/debug.tmpl =================================================================== --- trunk/themes/Sidebar/templates/debug.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/debug.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <?php global $RUNTIMER; ?> <table width="%100" border="0" cellpadding="0" cellspacing="0"> Modified: trunk/themes/Sidebar/templates/dump-footer.tmpl =================================================================== --- trunk/themes/Sidebar/templates/dump-footer.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/dump-footer.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); if (empty($revision)) $revision = $page->getCurrentRevision(); ?> <hr class="printer" noshade="noshade" /> Modified: trunk/themes/Sidebar/templates/frame-left.tmpl =================================================================== --- trunk/themes/Sidebar/templates/frame-left.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/frame-left.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,7 @@ -<?php // -*-html-*- -/* $Id$ - * +<?php // -*-php-*- +rcs_id('$Id$'); + +/* * This template is responsible mainly for the outer level <html> stuff. */ printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET); Modified: trunk/themes/Sidebar/templates/frameset.tmpl =================================================================== --- trunk/themes/Sidebar/templates/frameset.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/frameset.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,7 @@ -<?php // -*-html-*- -/* $Id$ - * +<?php // -*-php-*- +rcs_id('$Id$'); + +/* * This template is used for the FrameInclude plugin. */ Modified: trunk/themes/Sidebar/templates/html.tmpl =================================================================== --- trunk/themes/Sidebar/templates/html.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/html.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); /* * This template is responsible mainly for the outer level <html> stuff. Modified: trunk/themes/Sidebar/templates/htmldump.tmpl =================================================================== --- trunk/themes/Sidebar/templates/htmldump.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/htmldump.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); /* * This template is used only for html file dumps, and is responsible Modified: trunk/themes/Sidebar/templates/navbar.tmpl =================================================================== --- trunk/themes/Sidebar/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php // With MonoBook it is similar to Sidebar, named boxes at the left. // actionbuttons, navigation, search, toolbox Modified: trunk/themes/Sidebar/templates/signin.tmpl =================================================================== --- trunk/themes/Sidebar/templates/signin.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Sidebar/templates/signin.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<!-- -*-php-*- --> -<?php rcs_id('$Id$'); ?> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <div class="portlet" id="p-personal"><div class="pBody"><ul> <?php if ($user->isAuthenticated()) { $sp = HTML::Raw(" "); $id = $user->getAuthenticatedId(); ?> Modified: trunk/themes/Wordpress/templates/actionbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Wordpress/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,7 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> + <div id="actionbar"> <?php Modified: trunk/themes/Wordpress/templates/body.tmpl =================================================================== --- trunk/themes/Wordpress/templates/body.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Wordpress/templates/body.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,7 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> + <body<?= $WikiTheme->getMoreAttr('body') ?>> <!-- Page title --> @@ -19,4 +21,4 @@ <?= $GLOBALS['ErrorManager']->getPostponedErrorsAsHTML() ?> -</body> \ No newline at end of file +</body> Modified: trunk/themes/Wordpress/templates/browse.tmpl =================================================================== --- trunk/themes/Wordpress/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Wordpress/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,5 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> -<?php +<?php // -*-php-*- +rcs_id('$Id$'); ?> <br clear="all" class="clear-floats" /> Modified: trunk/themes/Wordpress/templates/editpage.tmpl =================================================================== --- trunk/themes/Wordpress/templates/editpage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Wordpress/templates/editpage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,12 +1,13 @@ -<!-- -*-html-*- --> -<!-- $Id$ --> -<?php /* +<?php // -*-php-*- +rcs_id('$Id$'); +/* * FIXME: Hack! * The funky URL used for the form action parameter is bogus. * This is needed, otherwise the redirect to the real browser * page won't work with some browsers. (NS4 and Mozilla 0.97 won't accept * a redirect from a page to itself.) - */ ?> + */ +?> <div class="wikitext" id="editform"> <form method="post" name="editpage" id="editpage" @@ -107,4 +108,4 @@ // --> </script> -<hr /> \ No newline at end of file +<hr /> Modified: trunk/themes/Wordpress/templates/navbar.tmpl =================================================================== --- trunk/themes/Wordpress/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Wordpress/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php $Sep = $WikiTheme->getButtonSeparator(); ?> Modified: trunk/themes/Wordpress/templates/viewsource.tmpl =================================================================== --- trunk/themes/Wordpress/templates/viewsource.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/Wordpress/templates/viewsource.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<!-- -*-html-*- --> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <div class="wikitext" id="viewform"> Modified: trunk/themes/blog/templates/actionbar.tmpl =================================================================== --- trunk/themes/blog/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <table summary="Toolbar: Mani Navigation" width="100%" cellpadding="0" cellspacing="0" border="0"> Modified: trunk/themes/blog/templates/blogform.tmpl =================================================================== --- trunk/themes/blog/templates/blogform.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/blogform.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*- php -*- - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <div class="wikiblog wikiblog-form"> <form action="<?=$request->getPostURL()?>" method="post" name="editpage" Modified: trunk/themes/blog/templates/body.tmpl =================================================================== --- trunk/themes/blog/templates/body.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/body.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> <body <?= $WikiTheme->getMoreAttr('body') ?>> Modified: trunk/themes/blog/templates/bottom.tmpl =================================================================== --- trunk/themes/blog/templates/bottom.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/bottom.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <!--span id="bottom" style="margin-left: 25px"--> <!-- Add your Disclaimer here --> Modified: trunk/themes/blog/templates/browse-footer.tmpl =================================================================== --- trunk/themes/blog/templates/browse-footer.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/browse-footer.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <!--{{{ Edit Date--> <p class="editdate"> Modified: trunk/themes/blog/templates/browse.tmpl =================================================================== --- trunk/themes/blog/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> Modified: trunk/themes/blog/templates/debug.tmpl =================================================================== --- trunk/themes/blog/templates/debug.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/debug.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <?php global $RUNTIMER; ?> <p align="center" id="xhtml-validator"><a href="http://validator.w3.org/check/referer" target="_top">Valid XHTML 1.0</a> <a href="http://jigsaw.w3.org/css-validator/check/referer" target="_top">Valid CSS!</a> Modified: trunk/themes/blog/templates/info.tmpl =================================================================== --- trunk/themes/blog/templates/info.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/info.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,3 +1,6 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?= Template("default/info") ?> <div class="actionbuttons"> <?=$SEP?><?= Button("AuthorHistory", _("AuthorHistory")) ?> @@ -8,4 +11,4 @@ <br /> <div class="actionbuttons"> <?= Template("default/actionbar") ?> -</div> \ No newline at end of file +</div> Property changes on: trunk/themes/blog/templates/info.tmpl ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/blog/templates/sidebar.tmpl =================================================================== --- trunk/themes/blog/templates/sidebar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/sidebar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); $id = isBrowserIE() ? 'sidebar' : 'moz-sidebar'; ?> Modified: trunk/themes/blog/templates/top.tmpl =================================================================== --- trunk/themes/blog/templates/top.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/top.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> <div id="header"> Modified: trunk/themes/blog/templates/viewsource.tmpl =================================================================== --- trunk/themes/blog/templates/viewsource.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/blog/templates/viewsource.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); if ($page->get('locked') && !$user->isAdmin()) { ?> Property changes on: trunk/themes/default/templates/MAP.pdf ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/default/templates/addcomment.tmpl =================================================================== --- trunk/themes/default/templates/addcomment.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/addcomment.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*- php -*- - rcs_id('$Id$'); +rcs_id('$Id$'); $request->setArg('action',false); ?> <div class="wikicomment wikicomment-form"> Modified: trunk/themes/default/templates/blogform.tmpl =================================================================== --- trunk/themes/default/templates/blogform.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/blogform.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*- php -*- - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <div class="wikiblog wikiblog-form"> <form action="<?=$request->getPostURL()?>" method="post" name="editpage" Modified: trunk/themes/default/templates/body.tmpl =================================================================== --- trunk/themes/default/templates/body.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/body.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> <body<?= $WikiTheme->getMoreAttr('body') ?>> Modified: trunk/themes/default/templates/bottom.tmpl =================================================================== --- trunk/themes/default/templates/bottom.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/bottom.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <!-- Add your Disclaimer here --> <?php if (!$WikiTheme->DUMP_MODE) { ?> Modified: trunk/themes/default/templates/browse-footer.tmpl =================================================================== --- trunk/themes/default/templates/browse-footer.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/browse-footer.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <hr class="printer" noshade="noshade" /> <p class="editdate"><?= $WikiTheme->getOwnerMessage($page) ?> <?= $WikiTheme->getLastModifiedMessage($revision) ?> <?= $WikiTheme->getAuthorMessage($revision) ?></p> Modified: trunk/themes/default/templates/browse.tmpl =================================================================== --- trunk/themes/default/templates/browse.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/browse.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> Modified: trunk/themes/default/templates/categorypage.tmpl =================================================================== --- trunk/themes/default/templates/categorypage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/categorypage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php - rcs_id('$Id$'); +rcs_id('$Id$'); // This template is used for the CategoryPage plugin. ?> <div class="categorypage categorypage-form"> Modified: trunk/themes/default/templates/content.tmpl =================================================================== --- trunk/themes/default/templates/content.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/content.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <?= $CONTENT ?> <?= Template('bottom') ?> Modified: trunk/themes/default/templates/debug.tmpl =================================================================== --- trunk/themes/default/templates/debug.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/debug.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <?php global $RUNTIMER; ?> <table width="100%" border="0" cellpadding="0" cellspacing="0"> Modified: trunk/themes/default/templates/dialog.tmpl =================================================================== --- trunk/themes/default/templates/dialog.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/dialog.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); /* * A "popup" dialog. (Though it doesn't pop up yet.) Modified: trunk/themes/default/templates/editpage.tmpl =================================================================== --- trunk/themes/default/templates/editpage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/editpage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<!-- -*-html-*- --> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if (isset($PREVIEW_CONTENT)) { ?> <p><strong><?=_("Preview only! Changes not saved.")?></strong> <!-- FIXME: it would be nice to put a link to the #editarea anchor below, Modified: trunk/themes/default/templates/forumadd.tmpl =================================================================== --- trunk/themes/default/templates/forumadd.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/forumadd.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php - rcs_id('$Id$'); +rcs_id('$Id$'); // This template is used for the WikiForum plugin. ?> <div class="wikiforum wikiforum-reply"> Modified: trunk/themes/default/templates/frameset.tmpl =================================================================== --- trunk/themes/default/templates/frameset.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/frameset.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,13 +1,10 @@ -<?php // -*-html-*- -/* $Id$ - * - * This template is used for the FrameInclude plugin. - */ +<?php // -*-php-*- +rcs_id('$Id$'); +// This template is used for the FrameInclude plugin. $topurl = $request->getURLtoSelf(array('frame' => 'header')); $boturl = $request->getURLtoSelf(array('frame' => 'footer')); - printf("<?xml version=\"1.0\" encoding=\"%s\"?>\n", CHARSET); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" Modified: trunk/themes/default/templates/head.tmpl =================================================================== --- trunk/themes/default/templates/head.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/head.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <head> <?php if (ENABLE_XHTML_XML and strstr($request->get('HTTP_ACCEPT'),'application/xhtml+xml')) { ?> Modified: trunk/themes/default/templates/html.tmpl =================================================================== --- trunk/themes/default/templates/html.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/html.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); /* * This template is responsible mainly for the outer level <html> stuff. Modified: trunk/themes/default/templates/htmldump.tmpl =================================================================== --- trunk/themes/default/templates/htmldump.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/htmldump.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); /* * This template is used only for html file dumps, and is responsible Modified: trunk/themes/default/templates/info.tmpl =================================================================== --- trunk/themes/default/templates/info.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/info.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if (empty($revision)) $revision = $page->getCurrentRevision(false); $modifed = $WikiTheme->formatDateTime($revision->get('mtime')); Modified: trunk/themes/default/templates/login.tmpl =================================================================== --- trunk/themes/default/templates/login.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/login.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,6 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> -<!-- The login form --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($fail_message) { ?> <p><strong><?=$fail_message?></strong></p> <hr noshade="noshade" /> Modified: trunk/themes/default/templates/navbar.tmpl =================================================================== --- trunk/themes/default/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <!-- The top navigation/search bar --> <div id="navbuttons"> Modified: trunk/themes/default/templates/nochanges.tmpl =================================================================== --- trunk/themes/default/templates/nochanges.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/nochanges.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <p><strong><?=_("Edit aborted.")?></strong> <?=_("You have not made any changes so no new version has been saved.")?></p> <?php if (!empty($LOCK_CHANGED_MSG)) { ?> Modified: trunk/themes/default/templates/online.tmpl =================================================================== --- trunk/themes/default/templates/online.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/online.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php // Formatting and idea borrowed from postnuke. Modified: trunk/themes/default/templates/pagelink.tmpl =================================================================== --- trunk/themes/default/templates/pagelink.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/pagelink.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,8 +1,9 @@ -<?php +<?php // -*-php-*- +rcs_id('$Id$'); + /** * Themable paging "|<< << - i/sum - >> >>|" links * - * $Id$ --> * Variables: PREV, NEXT, PREV_LINK, NEXT_LINK, * COUNT, OFFSET, SIZE * More ideas: FIRST, LAST, ... Modified: trunk/themes/default/templates/redirect.tmpl =================================================================== --- trunk/themes/default/templates/redirect.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/redirect.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -9,7 +9,6 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<!-- $Id$ --> <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" /> <meta name="robots" content="noindex, nofollow" /> <meta name="generator" content="PhpWiki" /> Modified: trunk/themes/default/templates/savepage.tmpl =================================================================== --- trunk/themes/default/templates/savepage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/savepage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php $signatureURL = $WikiTheme->getImageURL('signature'); ?> Property changes on: trunk/themes/default/templates/search.tmpl ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/default/templates/top.tmpl =================================================================== --- trunk/themes/default/templates/top.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/top.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); global $HIDE_TOOLBARS; Modified: trunk/themes/default/templates/userprefs.tmpl =================================================================== --- trunk/themes/default/templates/userprefs.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/userprefs.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php // Todo: Move the logic and code to the plugin // This is very experimental and the read-only part an ugly hack so far. Modified: trunk/themes/default/templates/viewsource.tmpl =================================================================== --- trunk/themes/default/templates/viewsource.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/viewsource.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($page->get('locked') && !$user->isAdmin()) { ?> <p><strong><?=_("Note:")?></strong> Modified: trunk/themes/default/templates/wikiforum.tmpl =================================================================== --- trunk/themes/default/templates/wikiforum.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/default/templates/wikiforum.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*- php -*- - rcs_id('$Id$'); +rcs_id('$Id$'); /* navigation headline: "MainForum / SubPage / ThisTopic" comes for free Modified: trunk/themes/gforge/templates/blogform.tmpl =================================================================== --- trunk/themes/gforge/templates/blogform.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/gforge/templates/blogform.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*- php -*- - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <div class="wikiblog wikiblog-form"> <form action="<?=$request->getPostURL()?>" method="post" name="editpage" Modified: trunk/themes/gforge/templates/login.tmpl =================================================================== --- trunk/themes/gforge/templates/login.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/gforge/templates/login.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-php-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?php if ($fail_message) { ?> <div class="error"><p><?=$fail_message?></p></div> <?php } ?> Modified: trunk/themes/shamino_com/templates/actionbar.tmpl =================================================================== --- trunk/themes/shamino_com/templates/actionbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/shamino_com/templates/actionbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,7 +1,9 @@ <?php // -*-php-*- +rcs_id('$Id$'); +?> +<?php if (empty($revision)) $revision = $page->getCurrentRevision(false); ?> -<!-- $Id$ --> <?= Button(array('action'=>'PageInfo'),_("PageInfo"),$page->getName()) ?> <?=$SEP?><?= Button("edit", $revision->isCurrent() ? _("Edit") : _("Edit Old Revision")) ?> <?php if ($user->isAdmin() or mayAccessPage('change',$page->getName())) { ?> Modified: trunk/themes/shamino_com/templates/browse-footer.tmpl =================================================================== --- trunk/themes/shamino_com/templates/browse-footer.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/shamino_com/templates/browse-footer.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <div class="toolbar"> <?php if (empty($GLOBALS['HIDE_TOOLBARS'])) { ?> Modified: trunk/themes/shamino_com/templates/debug.tmpl =================================================================== --- trunk/themes/shamino_com/templates/debug.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/shamino_com/templates/debug.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <!-- shamino.com debug --> <div class="debug"> Modified: trunk/themes/shamino_com/templates/info.tmpl =================================================================== --- trunk/themes/shamino_com/templates/info.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/shamino_com/templates/info.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,2 +1,5 @@ +<?php // -*-php-*- +rcs_id('$Id$'); +?> <?= Template("default/info") ?> <?= Template("actionbar") ?> Property changes on: trunk/themes/shamino_com/templates/info.tmpl ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/shamino_com/templates/top.tmpl =================================================================== --- trunk/themes/shamino_com/templates/top.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/shamino_com/templates/top.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,4 @@ -<?php // -*-html-*- +<?php // -*-php-*- rcs_id('$Id$'); ?> <!-- The logo --> Modified: trunk/themes/smaller/templates/info.tmpl =================================================================== --- trunk/themes/smaller/templates/info.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/smaller/templates/info.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,4 +1,7 @@ -<?php // -*-php-*- ?> +<?php // -*-php-*- +rcs_id('$Id$'); +?> + <?= Template("default/info") ?> <div id="actionbuttons"> Property changes on: trunk/themes/smaller/templates/info.tmpl ___________________________________________________________________ Added: svn:keywords + Id Modified: trunk/themes/smaller/templates/navbar.tmpl =================================================================== --- trunk/themes/smaller/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/smaller/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,6 @@ -<?php // -*-html-*- ?> -<!-- $Id$ --> +<?php // -*-php-*- +rcs_id('$Id$'); +?> <!-- The top navigation/search bar --> <form action="<?= WikiURL(_("TitleSearch"))?>" method="get" accept-charset="<?=$charset?>"> @@ -22,4 +23,4 @@ <?=$SEP?><?= WikiLink(_("UserPreferences"), "","Preferences") ?> <?php } ?> </div> -</form> \ No newline at end of file +</form> Modified: trunk/themes/wikilens/templates/categorypage.tmpl =================================================================== --- trunk/themes/wikilens/templates/categorypage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/wikilens/templates/categorypage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php - rcs_id('$Id$'); +rcs_id('$Id$'); ?> <div class="categorypage categorypage-form"> Modified: trunk/themes/wikilens/templates/head.tmpl =================================================================== --- trunk/themes/wikilens/templates/head.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/wikilens/templates/head.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ -<?php // -*-html-*- - rcs_id('$Id$'); +<?php // -*-php-*- +rcs_id('$Id$'); ?> <head> <meta http-equiv="Content-Type" content="text/html; charset=<?=CHARSET?>" /> Modified: trunk/themes/wikilens/templates/navbar.tmpl =================================================================== --- trunk/themes/wikilens/templates/navbar.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/wikilens/templates/navbar.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); $NSEP = HTML::br(); ?> <!-- The left navigation/search bar --> Modified: trunk/themes/wikilens/templates/newuserwelcomepage.tmpl =================================================================== --- trunk/themes/wikilens/templates/newuserwelcomepage.tmpl 2009-10-21 08:50:16 UTC (rev 7230) +++ trunk/themes/wikilens/templates/newuserwelcomepage.tmpl 2009-10-21 09:55:59 UTC (rev 7231) @@ -1,5 +1,5 @@ <?php // -*-php-*- - rcs_id('$Id$'); +rcs_id('$Id$'); $dbi = $request->getDbh(); ?> <div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <var...@us...> - 2009-11-10 14:57:16
|
Revision: 7265 http://phpwiki.svn.sourceforge.net/phpwiki/?rev=7265&view=rev Author: vargenau Date: 2009-11-10 14:57:05 +0000 (Tue, 10 Nov 2009) Log Message: ----------- Remove unused $msg Modified Paths: -------------- trunk/themes/default/templates/userprefs.tmpl trunk/themes/gforge/templates/userprefs.tmpl Modified: trunk/themes/default/templates/userprefs.tmpl =================================================================== --- trunk/themes/default/templates/userprefs.tmpl 2009-11-10 09:19:43 UTC (rev 7264) +++ trunk/themes/default/templates/userprefs.tmpl 2009-11-10 14:57:05 UTC (rev 7265) @@ -112,7 +112,6 @@ $SelectLanguages = $pref->get('lang'); } -if ($errmsg) $msg = HTML(HTML::h4(array('class' => 'errors'), $errmsg),HTML::hr()); ?> <?= $errmsg ?> Modified: trunk/themes/gforge/templates/userprefs.tmpl =================================================================== --- trunk/themes/gforge/templates/userprefs.tmpl 2009-11-10 09:19:43 UTC (rev 7264) +++ trunk/themes/gforge/templates/userprefs.tmpl 2009-11-10 14:57:05 UTC (rev 7265) @@ -176,7 +176,6 @@ $SelectLanguages = $pref->get('lang'); } -if ($errmsg) $msg = HTML(HTML::h4(array('class' => 'errors'), $errmsg),HTML::hr()); ?> <?= $errmsg ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |