alphacorp-svn Mailing List for AlphaCorp
Brought to you by:
hydria
You can subscribe to this list here.
2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(42) |
Jul
(17) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|
From: <hy...@us...> - 2011-07-26 12:45:23
|
Revision: 60 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=60&view=rev Author: hydria Date: 2011-07-26 12:45:17 +0000 (Tue, 26 Jul 2011) Log Message: ----------- Fix for tables Modified Paths: -------------- Hytools/trunk/phase2/ssl/style.css Modified: Hytools/trunk/phase2/ssl/style.css =================================================================== --- Hytools/trunk/phase2/ssl/style.css 2011-07-19 15:38:39 UTC (rev 59) +++ Hytools/trunk/phase2/ssl/style.css 2011-07-26 12:45:17 UTC (rev 60) @@ -825,6 +825,12 @@ table { font-size: 100%; } +table { +border-spacing: 2px 2px; +border-color: gray; +border-collapse: separate; +display: table; +} /* Forms */ fieldset { border: 1px solid #2f6fab; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-19 15:38:49
|
Revision: 59 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=59&view=rev Author: hydria Date: 2011-07-19 15:38:39 +0000 (Tue, 19 Jul 2011) Log Message: ----------- Defining Modified Paths: -------------- Hytools/trunk/phase3/includes/DefaultSettings.php Hytools/trunk/phase3/skins/Vector.php Modified: Hytools/trunk/phase3/includes/DefaultSettings.php =================================================================== --- Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-19 15:35:59 UTC (rev 58) +++ Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-19 15:38:39 UTC (rev 59) @@ -15,6 +15,9 @@ // The website's name, override in LocalSettings.php $hySitename = "Hytools"; +// The full URL to the software's installation (no trailing slash please) +$hyServer = "https://toolserver.org/~hydriz"; + // The global site notice to be displayed on top of pages $hySitenotice = ""; Modified: Hytools/trunk/phase3/skins/Vector.php =================================================================== --- Hytools/trunk/phase3/skins/Vector.php 2011-07-19 15:35:59 UTC (rev 58) +++ Hytools/trunk/phase3/skins/Vector.php 2011-07-19 15:38:39 UTC (rev 59) @@ -36,7 +36,7 @@ <!-- panel --> <div id="mw-panel" class="noprint"> <!-- logo --> - <div id="p-logo"><a style="background-image: url(<?php echo $hyLogo; ?>);" href="<?php echo $wgServer . '/index.php'; ?>" <?php echo "Visit the main page"; ?>></a></div> + <div id="p-logo"><a style="background-image: url(<?php echo $hyLogo; ?>);" href="<?php echo $hyServer . '/index.php'; ?>" <?php echo "Visit the main page"; ?>></a></div> <!-- /logo --> <?php require_once("$IP/includes/Sidebar.php"); ?> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-19 15:36:05
|
Revision: 58 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=58&view=rev Author: hydria Date: 2011-07-19 15:35:59 +0000 (Tue, 19 Jul 2011) Log Message: ----------- Fix closing tag Modified Paths: -------------- Hytools/trunk/phase3/skins/Vector.php Modified: Hytools/trunk/phase3/skins/Vector.php =================================================================== --- Hytools/trunk/phase3/skins/Vector.php 2011-07-19 15:34:42 UTC (rev 57) +++ Hytools/trunk/phase3/skins/Vector.php 2011-07-19 15:35:59 UTC (rev 58) @@ -1,4 +1,4 @@ - <link rel="stylesheet" type="text/css" href="<?php echo $IP . '/includes/vector/screen.css'" /> + <link rel="stylesheet" type="text/css" href="<?php echo $IP . '/includes/vector/screen.css'; ?>" /> <div id="mw-page-base" class="noprint"></div> <div id="mw-head-base" class="noprint"></div> <!-- content --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-19 15:34:52
|
Revision: 57 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=57&view=rev Author: hydria Date: 2011-07-19 15:34:42 +0000 (Tue, 19 Jul 2011) Log Message: ----------- Fix extra bracket Modified Paths: -------------- Hytools/trunk/phase3/includes/DefaultSettings.php Modified: Hytools/trunk/phase3/includes/DefaultSettings.php =================================================================== --- Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-19 15:31:29 UTC (rev 56) +++ Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-19 15:34:42 UTC (rev 57) @@ -19,7 +19,7 @@ $hySitenotice = ""; // Set the logo of the software, override in LocalSettings.php -$hyLogo = "http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png"); +$hyLogo = "http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png"; // Sets the skin the software uses $hyUseSkin = "vector"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-19 15:31:35
|
Revision: 56 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=56&view=rev Author: hydria Date: 2011-07-19 15:31:29 +0000 (Tue, 19 Jul 2011) Log Message: ----------- Fix property Modified Paths: -------------- Hytools/trunk/phase3/includes/WebStart.php Modified: Hytools/trunk/phase3/includes/WebStart.php =================================================================== --- Hytools/trunk/phase3/includes/WebStart.php 2011-07-19 15:28:11 UTC (rev 55) +++ Hytools/trunk/phase3/includes/WebStart.php 2011-07-19 15:31:29 UTC (rev 56) @@ -15,7 +15,7 @@ require_once("$IP/includes/Header.php"); // Get main page content -require_once("$IP/skins/" . lcfirst($hyUseSkin) . ".php"); +require_once("$IP/skins/" . ucfirst($hyUseSkin) . ".php"); // Get footer content require_once("$IP/includes/Footer.php"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-19 15:28:23
|
Revision: 55 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=55&view=rev Author: hydria Date: 2011-07-19 15:28:11 +0000 (Tue, 19 Jul 2011) Log Message: ----------- Major rewrite of the software, now adding a skins feature for Vector Modified Paths: -------------- Hytools/trunk/phase3/includes/DefaultSettings.php Hytools/trunk/phase3/includes/Footer.php Hytools/trunk/phase3/includes/WebStart.php Added Paths: ----------- Hytools/trunk/phase3/includes/LeftNavigation.php Hytools/trunk/phase3/includes/PersonalTools.php Hytools/trunk/phase3/includes/RightNavigation.php Hytools/trunk/phase3/includes/Sidebar.php Hytools/trunk/phase3/skins/ Hytools/trunk/phase3/skins/Vector.php Hytools/trunk/phase3/skins/vector/ Hytools/trunk/phase3/skins/vector/csshover.htc Hytools/trunk/phase3/skins/vector/csshover.min.htc Hytools/trunk/phase3/skins/vector/images/ Hytools/trunk/phase3/skins/vector/images/arrow-down-icon.png Hytools/trunk/phase3/skins/vector/images/audio-icon.png Hytools/trunk/phase3/skins/vector/images/border.png Hytools/trunk/phase3/skins/vector/images/bullet-icon.png Hytools/trunk/phase3/skins/vector/images/document-icon.png Hytools/trunk/phase3/skins/vector/images/edit-icon.png Hytools/trunk/phase3/skins/vector/images/external-link-ltr-icon.png Hytools/trunk/phase3/skins/vector/images/external-link-rtl-icon.png Hytools/trunk/phase3/skins/vector/images/file-icon.png Hytools/trunk/phase3/skins/vector/images/link-icon.png Hytools/trunk/phase3/skins/vector/images/lock-icon.png Hytools/trunk/phase3/skins/vector/images/magnify-clip.png Hytools/trunk/phase3/skins/vector/images/mail-icon.png Hytools/trunk/phase3/skins/vector/images/news-icon.png Hytools/trunk/phase3/skins/vector/images/page-base.png Hytools/trunk/phase3/skins/vector/images/page-fade.png Hytools/trunk/phase3/skins/vector/images/portal-break-ltr.png Hytools/trunk/phase3/skins/vector/images/portal-break-rtl.png Hytools/trunk/phase3/skins/vector/images/portal-break.png Hytools/trunk/phase3/skins/vector/images/preferences-base.png Hytools/trunk/phase3/skins/vector/images/preferences-break.png Hytools/trunk/phase3/skins/vector/images/preferences-edge.png Hytools/trunk/phase3/skins/vector/images/preferences-fade.png Hytools/trunk/phase3/skins/vector/images/search-fade.png Hytools/trunk/phase3/skins/vector/images/search-ltr.png Hytools/trunk/phase3/skins/vector/images/search-rtl.png Hytools/trunk/phase3/skins/vector/images/tab-break.png Hytools/trunk/phase3/skins/vector/images/tab-current-fade.png Hytools/trunk/phase3/skins/vector/images/tab-normal-fade.png Hytools/trunk/phase3/skins/vector/images/talk-icon.png Hytools/trunk/phase3/skins/vector/images/user-icon.png Hytools/trunk/phase3/skins/vector/images/video-icon.png Hytools/trunk/phase3/skins/vector/images/watch-icon-loading.gif Hytools/trunk/phase3/skins/vector/images/watch-icons.png Hytools/trunk/phase3/skins/vector/screen.css Hytools/trunk/phase3/skins/vector/vector.js Modified: Hytools/trunk/phase3/includes/DefaultSettings.php =================================================================== --- Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-18 15:06:15 UTC (rev 54) +++ Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-19 15:28:11 UTC (rev 55) @@ -14,3 +14,12 @@ // The website's name, override in LocalSettings.php $hySitename = "Hytools"; + +// The global site notice to be displayed on top of pages +$hySitenotice = ""; + +// Set the logo of the software, override in LocalSettings.php +$hyLogo = "http://upload.wikimedia.org/wikipedia/en/b/bc/Wiki.png"); + +// Sets the skin the software uses +$hyUseSkin = "vector"; Modified: Hytools/trunk/phase3/includes/Footer.php =================================================================== --- Hytools/trunk/phase3/includes/Footer.php 2011-07-18 15:06:15 UTC (rev 54) +++ Hytools/trunk/phase3/includes/Footer.php 2011-07-19 15:28:11 UTC (rev 55) @@ -6,10 +6,28 @@ function displayFooter() { global $hyVersion; - $output = " -<p>This website is powered by Hytools " . $hyVersion . "</p>\n"; - $output .= "</body> -</html>"; + $output = ' <div id="footer"> + <ul id="footer-info"> + <li id="footer-info-lastmod"> This page was last modified on 18 July 2011, at 14:15.</li> + <li id="footer-info-viewcount">'; + $output .= 'This website is powered by Hytools ' . $hyVersion . '</li>'; + $output .= '<li id="footer-info-copyright">Content is available under <a href="http://creativecommons.org/licenses/by-sa/3.0/" class="external ">Attribution-ShareAlike 3.0 Unported</a>.</li> + </ul> + <ul id="footer-places"> + <li id="footer-places-privacy"><a href="/w/index.php/Wikipedia:Privacy_policy" title="Wikipedia:Privacy policy">Privacy policy</a></li> + <li id="footer-places-about"><a href="/w/index.php/Wikipedia:About" title="Wikipedia:About">About Wikipedia</a></li> + <li id="footer-places-disclaimer"><a href="/w/index.php/Wikipedia:General_disclaimer" title="Wikipedia:General disclaimer">Disclaimers</a></li> + </ul> + <ul id="footer-icons" class="noprint"> + <li id="footer-copyrightico"> + <a href="http://creativecommons.org/licenses/by-sa/3.0/"><img src="https://toolserver.org/~hydriz/ssl/images/license.png" alt="Attribution-ShareAlike 3.0 Unported" width="88" height="31" /></a> + </li> + <li id="footer-poweredbyico"> + <a href="http://www.mediawiki.org/"><img src="/w/skins/common/images/poweredby_mediawiki_88x31.png" alt="Powered by MediaWiki" width="88" height="31" /></a> + </li> + </ul> + <div style="clear:both"></div> + </div> '; return $output; } Added: Hytools/trunk/phase3/includes/LeftNavigation.php =================================================================== --- Hytools/trunk/phase3/includes/LeftNavigation.php (rev 0) +++ Hytools/trunk/phase3/includes/LeftNavigation.php 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,21 @@ +<div id="p-namespaces" class="vectorTabs"> + <h5>Namespaces</h5> + <ul> + <li id="ca-nstab-main" class="selected"><span><a href="/w/index.php/Main_Page" title="View the content page [c]" accesskey="c">Page</a></span></li> + <li id="ca-talk" class="new"><span><a href="/w/index.php?title=Talk:Main_Page&action=edit&redlink=1" title="Discussion about the content page [t]" accesskey="t">Discussion</a></span></li> + </ul> +</div> + +<!-- /0 --> + +<!-- 1 --> +<div id="p-variants" class="vectorMenu emptyPortlet"> + <h5><span>Variants</span><a href="#"></a></h5> + <div class="menu"> + <ul> + </ul> + </div> +</div> + +<!-- /1 --> + </div> Property changes on: Hytools/trunk/phase3/includes/LeftNavigation.php ___________________________________________________________________ Added: svn:eol-style + native Added: Hytools/trunk/phase3/includes/PersonalTools.php =================================================================== --- Hytools/trunk/phase3/includes/PersonalTools.php (rev 0) +++ Hytools/trunk/phase3/includes/PersonalTools.php 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,11 @@ +<div id="p-personal" class=""> + <h5>Personal tools</h5> + <ul> + <li id="pt-userpage"><a href="/w/index.php/User:Hydra" title="Your user page [.]" accesskey="." class="new">Hydra</a></li> + <li id="pt-mytalk"><a href="/w/index.php/User_talk:Hydra" title="Your talk page [n]" accesskey="n" class="new">My talk</a></li> + <li id="pt-preferences"><a href="/w/index.php/Special:Preferences" title="Your preferences">My preferences</a></li> + <li id="pt-watchlist"><a href="/w/index.php/Special:Watchlist" title="The list of pages you are monitoring for changes [l]" accesskey="l">My watchlist</a></li> + <li id="pt-mycontris"><a href="/w/index.php/Special:Contributions/Hydra" title="List of your contributions [y]" accesskey="y">My contributions</a></li> + <li id="pt-logout"><a href="/w/index.php?title=Special:UserLogout&returnto=Main_Page" title="Log out">Log out</a></li> + </ul> +</div> Property changes on: Hytools/trunk/phase3/includes/PersonalTools.php ___________________________________________________________________ Added: svn:eol-style + native Added: Hytools/trunk/phase3/includes/RightNavigation.php =================================================================== --- Hytools/trunk/phase3/includes/RightNavigation.php (rev 0) +++ Hytools/trunk/phase3/includes/RightNavigation.php 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,39 @@ +<div id="p-views" class="vectorTabs"> + <h5>Views</h5> + <ul> + <li id="ca-view" class="selected"><span><a href="/w/index.php/Main_Page" >Read</a></span></li> + <li id="ca-edit"><span><a href="/w/index.php?title=Main_Page&action=edit" title="You can edit this page. Please use the preview button before saving [e]" accesskey="e">Edit</a></span></li> + <li id="ca-history" class="collapsible "><span><a href="/w/index.php?title=Main_Page&action=history" title="Past revisions of this page [h]" accesskey="h">View history</a></span></li> + <li id="ca-watch" class="icon"><span><a href="/w/index.php?title=Main_Page&action=watch" title="Add this page to your watchlist [w]" accesskey="w">Watch</a></span></li> + </ul> +</div> + +<!-- /0 --> + +<!-- 1 --> +<div id="p-cactions" class="vectorMenu"> + <h5><span>Actions</span><a href="#"></a></h5> + <div class="menu"> + <ul> + <li id="ca-delete"><a href="/w/index.php?title=Main_Page&action=delete" title="Delete this page [d]" accesskey="d">Delete</a></li> + <li id="ca-move"><a href="/w/index.php/Special:MovePage/Main_Page" title="Move this page [m]" accesskey="m">Move</a></li> + <li id="ca-protect"><a href="/w/index.php?title=Main_Page&action=protect" title="Protect this page [=]" accesskey="=">Protect</a></li> + </ul> + </div> +</div> + +<!-- /1 --> + +<!-- 2 --> +<div id="p-search"> + <h5><label for="searchInput">Search</label></h5> + <form action="/w/index.php" id="searchform"> + <input type='hidden' name="title" value="Special:Search"/> + <div id="simpleSearch"> + <input id="searchInput" name="search" type="text" title="Search Wikipedia [f]" accesskey="f" value="" /> + <button id="searchButton" type='submit' name='button' title="Search the pages for this text"><img src="/w/skins/vector/images/search-ltr.png?301" alt="Search" /></button> + </div> + </form> +</div> + +<!-- /2 --> Property changes on: Hytools/trunk/phase3/includes/RightNavigation.php ___________________________________________________________________ Added: svn:eol-style + native Added: Hytools/trunk/phase3/includes/Sidebar.php =================================================================== --- Hytools/trunk/phase3/includes/Sidebar.php (rev 0) +++ Hytools/trunk/phase3/includes/Sidebar.php 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,50 @@ +<div class="portal" id='p-navigation'> + <h5>Navigation</h5> + <div class="body"> + <ul> + <li id="n-mainpage-description"><a href="/w/index.php/Main_Page" title="Visit the main page [z]" accesskey="z">Main page</a></li> + <li id="n-portal"><a href="/w/index.php/Wikipedia:Community_portal" title="About the project, what you can do, where to find things">Community portal</a></li> + <li id="n-currentevents"><a href="/w/index.php/Wikipedia:Current_events" title="Find background information on current events">Current events</a></li> + <li id="n-recentchanges"><a href="/w/index.php/Special:RecentChanges" title="The list of recent changes in the wiki [r]" accesskey="r">Recent changes</a></li> + <li id="n-randompage"><a href="/w/index.php/Special:Random" title="Load a random page [x]" accesskey="x">Random page</a></li> + <li id="n-help"><a href="/w/index.php/Help:Contents" title="The place to find out">Help</a></li> + </ul> + </div> +</div> + +<!-- /navigation --> + +<!-- SEARCH --> + +<!-- /SEARCH --> + +<!-- TOOLBOX --> +<div class="portal" id="p-tb"> + <h5>Toolbox</h5> + <div class="body"> + <ul> + <li id="t-whatlinkshere"><a href="/w/index.php/Special:WhatLinksHere/Main_Page" title="List of all wiki pages that link here [j]" accesskey="j">What links here</a></li> + <li id="t-recentchangeslinked"><a href="/w/index.php/Special:RecentChangesLinked/Main_Page" title="Recent changes in pages linked from this page [k]" accesskey="k">Related changes</a></li> + <li id="t-upload"><a href="/w/index.php/Special:Upload" title="Upload files [u]" accesskey="u">Upload file</a></li> + <li id="t-specialpages"><a href="/w/index.php/Special:SpecialPages" title="List of all special pages [q]" accesskey="q">Special pages</a></li> + <li id="t-permalink"><a href="/w/index.php?title=Main_Page&oldid=81" title="Permanent link to this revision of the page">Permanent link</a></li> + <li id="t-cite"><a href="/w/index.php?title=Special:Cite&page=Main_Page&id=81" title="Information on how to cite this page">Cite this page</a></li> </ul> + </div> +</div> + +<!-- /TOOLBOX --> + +<!-- LANGUAGES --> + +<!-- /LANGUAGES --> + +<!-- coll-print_export --> +<div class="portal" id='p-coll-print_export'> + <h5>Print/export</h5> + <div class="body"> + <ul id="collectionPortletList"><li id="coll-create_a_book"><a href="/w/index.php?title=Special:Book&bookcmd=book_creator&referer=Main+Page" title="Create a book or page collection" rel="nofollow">Create a book</a></li><li id="coll-download-as-rl"><a href="/w/index.php?title=Special:Book&bookcmd=render_article&arttitle=Main+Page&oldid=81&writer=rl" title="Download a PDF version of this wiki page" rel="nofollow">Download as PDF</a></li><li id="t-print"><a href="/w/index.php?title=Main_Page&printable=yes" title="Printable version of this page [p]" accesskey="p">Printable version</a></li></ul> </div> +</div> + +<!-- /coll-print_export --> + </div> + <!-- /panel --> Property changes on: Hytools/trunk/phase3/includes/Sidebar.php ___________________________________________________________________ Added: svn:eol-style + native Modified: Hytools/trunk/phase3/includes/WebStart.php =================================================================== --- Hytools/trunk/phase3/includes/WebStart.php 2011-07-18 15:06:15 UTC (rev 54) +++ Hytools/trunk/phase3/includes/WebStart.php 2011-07-19 15:28:11 UTC (rev 55) @@ -15,7 +15,7 @@ require_once("$IP/includes/Header.php"); // Get main page content -require_once("$IP/includes/MainBodyText.php"); +require_once("$IP/skins/" . lcfirst($hyUseSkin) . ".php"); // Get footer content require_once("$IP/includes/Footer.php"); Added: Hytools/trunk/phase3/skins/Vector.php =================================================================== --- Hytools/trunk/phase3/skins/Vector.php (rev 0) +++ Hytools/trunk/phase3/skins/Vector.php 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,52 @@ + <link rel="stylesheet" type="text/css" href="<?php echo $IP . '/includes/vector/screen.css'" /> + <div id="mw-page-base" class="noprint"></div> + <div id="mw-head-base" class="noprint"></div> + <!-- content --> + <div id="content"> + <a id="top"></a> + <div id="mw-js-message" style="display:none;"></div> + <?php if ( $hySitenotice != "" ): ?> + <!-- sitenotice --> + <div id="siteNotice"><?php echo $hySitenotice ?></div> + <!-- /sitenotice --> + <?php endif; ?> + <!-- firstHeading --> + <h1 id="firstHeading" class="firstHeading">Main Page</h1> + <!-- /firstHeading --> + <!-- bodyContent --> + <div id="bodyContent"> + <!-- bodytext --> + <?php require_once("$IP/includes/MainBodyText.php"); ?> + <!-- /bodytext --> + </div> + <!-- /bodyContent --> + </div> + <!-- /content --> + <!-- header --> + <div id="mw-head" class="noprint"> + <?php require_once("$IP/includes/PersonalTools.php"); ?> + <div id="left-navigation"> + <?php require_once("$IP/includes/LeftNavigation.php"); ?> + </div> + <div id="right-navigation"> + <?php require_once("$IP/includes/RightNavigation.php"); ?> + </div> + </div> + <!-- /header --> + <!-- panel --> + <div id="mw-panel" class="noprint"> + <!-- logo --> + <div id="p-logo"><a style="background-image: url(<?php echo $hyLogo; ?>);" href="<?php echo $wgServer . '/index.php'; ?>" <?php echo "Visit the main page"; ?>></a></div> + <!-- /logo --> + <?php require_once("$IP/includes/Sidebar.php"); ?> + </div> + <!-- /panel --> + <!-- footer --> + <?php require_once("$IP/includes/Footer.php"); ?> + <!-- /footer --> + <!-- fixalpha --> + <script type="text/javascript"> if ( window.isMSIE55 ) fixalpha(); </script> + <!-- /fixalpha --> + </body> +</html> + Property changes on: Hytools/trunk/phase3/skins/Vector.php ___________________________________________________________________ Added: svn:eol-style + native Added: Hytools/trunk/phase3/skins/vector/csshover.htc =================================================================== --- Hytools/trunk/phase3/skins/vector/csshover.htc (rev 0) +++ Hytools/trunk/phase3/skins/vector/csshover.htc 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,284 @@ +<public:attach event="ondocumentready" onevent="CSSHover()" /> +<script> +/** + * Whatever:hover - V3.11 + * ------------------------------------------------------------ + * Author - Peter Nederlof, http://www.xs4all.nl/~peterned + * License - http://creativecommons.org/licenses/LGPL/2.1 + * + * Special thanks to Sergiu Dumitriu, http://purl.org/net/sergiu, + * for fixing the expression loop. + * + * Whatever:hover is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Whatever:hover is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * howto: body { behavior:url("csshover3.htc"); } + * ------------------------------------------------------------ + */ + +window.CSSHover = (function(){ + + // regular expressions, used and explained later on. + var REG_INTERACTIVE = /(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active|focus))/i; + var REG_AFFECTED = /(.*?)\:(hover|active|focus)/i; + var REG_PSEUDO = /[^:]+:([a-z\-]+).*/i; + var REG_SELECT = /(\.([a-z0-9_\-]+):[a-z]+)|(:[a-z]+)/gi; + var REG_CLASS = /\.([a-z0-9_\-]*on(hover|active|focus))/i; + var REG_MSIE = /msie (5|6|7)/i; + var REG_COMPAT = /backcompat/i; + + // property mapping, real css properties must be used in order to clear expressions later on... + // Uses obscure css properties that no-one is likely to use. The properties are borrowed to + // set an expression, and are then restored to the most likely correct value. + var Properties = { + index: 0, + list: ['text-kashida', 'text-kashida-space', 'text-justify'], + get: function() { + return this.list[(this.index++)%this.list.length]; + } + }; + + // camelize is used to convert css properties from (eg) text-kashida to textKashida + var camelize = function(str) { + return str.replace(/-(.)/mg, function(result, match){ + return match.toUpperCase(); + }); + }; + + /** + * Local CSSHover object + * -------------------------- + */ + + var CSSHover = { + + // array of CSSHoverElements, used to unload created events + elements: [], + + // buffer used for checking on duplicate expressions + callbacks: {}, + + // init, called once ondomcontentready via the exposed window.CSSHover function + init:function() { + // don't run in IE8 standards; expressions don't work in standards mode anyway, + // and the stuff we're trying to fix should already work properly + if(!REG_MSIE.test(navigator.userAgent) && !REG_COMPAT.test(window.document.compatMode)) { + return; + } + + // start parsing the existing stylesheets + var sheets = window.document.styleSheets, l = sheets.length; + for(var i=0; i<l; i++) { + this.parseStylesheet(sheets[i]); + } + }, + + // called from init, parses individual stylesheets + parseStylesheet:function(sheet) { + // check sheet imports and parse those recursively + if(sheet.imports) { + try { + var imports = sheet.imports; + var l = imports.length; + for(var i=0; i<l; i++) { + this.parseStylesheet(sheet.imports[i]); + } + } catch(securityException){ + // trycatch for various possible errors + } + } + + // interate the sheet's rules and send them to the parser + try { + var rules = sheet.rules; + var r = rules.length; + for(var j=0; j<r; j++) { + this.parseCSSRule(rules[j], sheet); + } + } catch(someException){ + // trycatch for various errors, most likely accessing the sheet's rules. + } + }, + + // magic starts here ... + parseCSSRule:function(rule, sheet) { + + // The sheet is used to insert new rules into, this must be the same sheet the rule + // came from, to ensure that relative paths keep pointing to the right location. + + // only parse a rule if it contains an interactive pseudo. + var select = rule.selectorText; + if(REG_INTERACTIVE.test(select)) { + var style = rule.style.cssText; + + // affected elements are found by truncating the selector after the interactive pseudo, + // eg: "div li:hover" >> "div li" + var affected = REG_AFFECTED.exec(select)[1]; + + // that pseudo is needed for a classname, and defines the type of interaction (focus, hover, active) + // eg: "li:hover" >> "onhover" + var pseudo = select.replace(REG_PSEUDO, 'on$1'); + + // the new selector is going to use that classname in a new css rule, + // since IE6 doesn't support multiple classnames, this is merged into one classname + // eg: "li:hover" >> "li.onhover", "li.folder:hover" >> "li.folderonhover" + var newSelect = select.replace(REG_SELECT, '.$2' + pseudo); + + // the classname is needed for the events that are going to be set on affected nodes + // eg: "li.folder:hover" >> "folderonhover" + var className = REG_CLASS.exec(newSelect)[1]; + + // no need to set the same callback more than once when the same selector uses the same classname + var hash = affected + className; + if(!this.callbacks[hash]) { + + // affected elements are given an expression under a borrowed css property, because fake properties + // can't have their expressions cleared. Different properties are used per pseudo, to avoid + // expressions from overwriting eachother. The expression does a callback to CSSHover.patch, + // rerouted via the exposed window.CSSHover function. + var property = Properties.get(); + var atRuntime = camelize(property); + + // because the expression is added to the stylesheet, and styles are always applied to html that is + // dynamically added to the dom, the expression will also trigger for those new elements (provided + // they are selected by the affected selector). + sheet.addRule(affected, property + ':expression(CSSHover(this, "'+pseudo+'", "'+className+'", "'+atRuntime+'"))'); + + // hash it, so an identical selector/class combo does not duplicate the expression + this.callbacks[hash] = true; + } + + // duplicate expressions need not be set, but the style could differ + sheet.addRule(newSelect, style); + } + }, + + // called via the expression, patches individual nodes + patch:function(node, type, className, property) { + + // restores the borrowed css property to the value of its immediate parent, clearing + // the expression so that it's not repeatedly called. + try { + var value = node.parentNode.currentStyle[property]; + node.style[property] = value; + } catch(e) { + // the above reset should never fail, but just in case, clear the runtimeStyle if it does. + // this will also stop the expression. + node.runtimeStyle[property] = ''; + } + + // just to make sure, also keep track of patched classnames locally on the node + if(!node.csshover) { + node.csshover = []; + } + + // and check for it to prevent duplicate events with the same classname from being set + if(!node.csshover[className]) { + node.csshover[className] = true; + + // create an instance for the given type and class + var element = new CSSHoverElement(node, type, className); + + // and store that instance for unloading later on + this.elements.push(element); + } + + // returns a dummy value to the expression + return type; + }, + + // unload stuff onbeforeunload + unload:function() { + try { + + // remove events + var l = this.elements.length; + for(var i=0; i<l; i++) { + this.elements[i].unload(); + } + + // and set properties to null + this.elements = []; + this.callbacks = {}; + + } catch (e) { + } + } + }; + + /** + * CSSHoverElement + * -------------------------- + */ + + // the event types associated with the interactive pseudos + var CSSEvents = { + onhover: { activator: 'onmouseenter', deactivator: 'onmouseleave' }, + onactive: { activator: 'onmousedown', deactivator: 'onmouseup' }, + onfocus: { activator: 'onfocus', deactivator: 'onblur' } + }; + + // CSSHoverElement constructor, called via CSSHover.patch + function CSSHoverElement(node, type, className) { + + // the CSSHoverElement patches individual nodes by manually applying the events that should + // have fired by the css pseudoclasses, eg mouseenter and mouseleave for :hover. + + this.node = node; + this.type = type; + var replacer = new RegExp('(^|\\s)'+className+'(\\s|$)', 'g'); + + // store event handlers for removal onunload + this.activator = function(){ node.className += ' ' + className; }; + this.deactivator = function(){ node.className = node.className.replace(replacer, ' '); }; + + // add the events + node.attachEvent(CSSEvents[type].activator, this.activator); + node.attachEvent(CSSEvents[type].deactivator, this.deactivator); + } + + CSSHoverElement.prototype = { + // onbeforeunload, called via CSSHover.unload + unload:function() { + + // remove events + this.node.detachEvent(CSSEvents[this.type].activator, this.activator); + this.node.detachEvent(CSSEvents[this.type].deactivator, this.deactivator); + + // and set properties to null + this.activator = null; + this.deactivator = null; + this.node = null; + this.type = null; + } + }; + + // add the unload to the onbeforeunload event + window.attachEvent('onbeforeunload', function(){ + CSSHover.unload(); + }); + + /** + * Public hook + * -------------------------- + */ + + return function(node, type, className, property) { + if(node) { + // called via the css expression; patches individual nodes + return CSSHover.patch(node, type, className, property); + } else { + // called ondomcontentready via the public:attach node + CSSHover.init(); + } + }; + +})(); +</script> \ No newline at end of file Added: Hytools/trunk/phase3/skins/vector/csshover.min.htc =================================================================== --- Hytools/trunk/phase3/skins/vector/csshover.min.htc (rev 0) +++ Hytools/trunk/phase3/skins/vector/csshover.min.htc 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,12 @@ +<public:attach event="ondocumentready" onevent="CSSHover()" /> +<script> +/** + * Whatever:hover - V3.11 + * http://www.xs4all.nl/~peterned/ + * + * Copyright (c) 2009 Peter Nederlof + * Licensed under the LGPL license + * http://creativecommons.org/licenses/LGPL/2.1 + */ +window.CSSHover=(function(){var m=/(^|\s)((([^a]([^ ]+)?)|(a([^#.][^ ]+)+)):(hover|active|focus))/i;var n=/(.*?)\:(hover|active|focus)/i;var o=/[^:]+:([a-z\-]+).*/i;var p=/(\.([a-z0-9_\-]+):[a-z]+)|(:[a-z]+)/gi;var q=/\.([a-z0-9_\-]*on(hover|active|focus))/i;var s=/msie (5|6|7)/i;var t=/backcompat/i;var u={index:0,list:['text-kashida','text-kashida-space','text-justify'],get:function(){return this.list[(this.index++)%this.list.length]}};var v=function(c){return c.replace(/-(.)/mg,function(a,b){return b.toUpperCase()})};var w={elements:[],callbacks:{},init:function(){if(!s.test(navigator.userAgent)&&!t.test(window.document.compatMode)){return}var a=window.document.styleSheets,l=a.length;for(var i=0;i<l;i++){this.parseStylesheet(a[i])}},parseStylesheet:function(a){if(a.imports){try{var b=a.imports;var l=b.length;for(var i=0;i<l;i++){this.parseStylesheet(a.imports[i])}}catch(securityException){}}try{var c=a.rules;var r=c.length;for(var j=0;j<r;j++){this.parseCSSRule(c[j],a)}}catch(someException){}},parseCSSRule:function(a,b){var c=a.selectorText;if(m.test(c)){var d=a.style.cssText;var e=n.exec(c)[1];var f=c.replace(o,'on$1');var g=c.replace(p,'.$2'+f);var h=q.exec(g)[1];var i=e+h;if(!this.callbacks[i]){var j=u.get();var k=v(j);b.addRule(e,j+':expression(CSSHover(this, "'+f+'", "'+h+'", "'+k+'"))');this.callbacks[i]=true}b.addRule(g,d)}},patch:function(a,b,c,d){try{var f=a.parentNode.currentStyle[d];a.style[d]=f}catch(e){a.runtimeStyle[d]=''}if(!a.csshover){a.csshover=[]}if(!a.csshover[c]){a.csshover[c]=true;var g=new CSSHoverElement(a,b,c);this.elements.push(g)}return b},unload:function(){try{var l=this.elements.length;for(var i=0;i<l;i++){this.elements[i].unload()}this.elements=[];this.callbacks={}}catch(e){}}};var x={onhover:{activator:'onmouseenter',deactivator:'onmouseleave'},onactive:{activator:'onmousedown',deactivator:'onmouseup'},onfocus:{activator:'onfocus',deactivator:'onblur'}};function CSSHoverElement(a,b,c){this.node=a;this.type=b;var d=new RegExp('(^|\\s)'+c+'(\\s|$)','g');this.activator=function(){a.className+=' '+c};this.deactivator=function(){a.className=a.className.replace(d,' ')};a.attachEvent(x[b].activator,this.activator);a.attachEvent(x[b].deactivator,this.deactivator)}CSSHoverElement.prototype={unload:function(){this.node.detachEvent(x[this.type].activator,this.activator);this.node.detachEvent(x[this.type].deactivator,this.deactivator);this.activator=null;this.deactivator=null;this.node=null;this.type=null}};window.attachEvent('onbeforeunload',function(){w.unload()});return function(a,b,c,d){if(a){return w.patch(a,b,c,d)}else{w.init()}}})(); +</script> Added: Hytools/trunk/phase3/skins/vector/images/arrow-down-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/arrow-down-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/audio-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/audio-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/border.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/border.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/bullet-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/bullet-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/document-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/document-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/edit-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/edit-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/external-link-ltr-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/external-link-ltr-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/external-link-rtl-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/external-link-rtl-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/file-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/file-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/link-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/link-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/lock-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/lock-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/magnify-clip.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/magnify-clip.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/mail-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/mail-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/news-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/news-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/page-base.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/page-base.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/page-fade.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/page-fade.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/portal-break-ltr.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/portal-break-ltr.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/portal-break-rtl.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/portal-break-rtl.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/portal-break.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/portal-break.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/preferences-base.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/preferences-base.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/preferences-break.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/preferences-break.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/preferences-edge.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/preferences-edge.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/preferences-fade.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/preferences-fade.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/search-fade.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/search-fade.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/search-ltr.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/search-ltr.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/search-rtl.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/search-rtl.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/tab-break.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/tab-break.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/tab-current-fade.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/tab-current-fade.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/tab-normal-fade.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/tab-normal-fade.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/talk-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/talk-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/user-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/user-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/video-icon.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/video-icon.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/images/watch-icon-loading.gif =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/watch-icon-loading.gif ___________________________________________________________________ Added: svn:mime-type + image/gif Added: Hytools/trunk/phase3/skins/vector/images/watch-icons.png =================================================================== (Binary files differ) Property changes on: Hytools/trunk/phase3/skins/vector/images/watch-icons.png ___________________________________________________________________ Added: svn:mime-type + image/png Added: Hytools/trunk/phase3/skins/vector/screen.css =================================================================== --- Hytools/trunk/phase3/skins/vector/screen.css (rev 0) +++ Hytools/trunk/phase3/skins/vector/screen.css 2011-07-19 15:28:11 UTC (rev 55) @@ -0,0 +1,1220 @@ +/* + * Any rules which should not be flipped automatically in right-to-left situations should be + * prepended with @noflip in a comment block. Images that should be embedded as base64 data-URLs + * should be prepended with @embed in a comment block. + * + * This style-sheet employs a few CSS trick to accomplish compatibility with a wide range of web + * browsers. The most common trick is to use some styles in IE6 only. This is accomplished by using + * a rule that makes things work in IE6, and then following it with a rule that begins with + * "html > body" or use a child selector ">", which is ignored by IE6 because it does not support + * the child selector. You can spot this by looking for the "OVERRIDDEN BY COMPLIANT BROWSERS" and + * "IGNORED BY IE6" comments. + */ + +/* Framework */ +html, +body { + height: 100%; + margin: 0; + padding: 0; + font-family: sans-serif; + font-size: 1em; +} +body { + background-color: #f3f3f3; + /* @embed */ + background-image: url(images/page-base.png); +} +/* Content */ +div#content { + margin-left: 10em; + padding: 1em; + /* @embed */ + background-image: url(images/border.png); + background-position: top left; + background-repeat: repeat-y; + background-color: white; + color: black; + direction: ltr; +} +/* Head */ +#mw-page-base { + height: 5em; + background-color: white; + /* @embed */ + background-image: url(images/page-fade.png); + background-position: bottom left; + background-repeat: repeat-x; +} +#mw-head-base { + margin-top: -5em; + margin-left: 10em; + height: 5em; + /* @embed */ + background-image: url(images/border.png); + background-position: bottom left; + background-repeat: repeat-x; +} +div#mw-head { + position: absolute; + top: 0; + right: 0; + width: 100%; +} +div#mw-head h5 { + margin: 0; + padding: 0; +} + /* Hide empty portlets */ + div.emptyPortlet { + display: none; + } + /* Personal */ + #p-personal { + position: absolute; + top: 0; + right: 0.75em; + } + #p-personal h5 { + display: none; + } + #p-personal ul { + list-style: none; + margin: 0; + padding-left: 10em; /* Keep from overlapping logo */ + } + /* @noflip */ + #p-personal li { + line-height: 1.125em; + float: left; + } + /* This one flips! */ + #p-personal li { + margin-left: 0.75em; + margin-top: 0.5em; + font-size: 0.75em; + white-space: nowrap; + } + /* Navigation Containers */ + #left-navigation { + position: absolute; + left: 10em; + top: 2.5em; + } + #right-navigation { + float: right; + margin-top: 2.5em; + } + /* Navigation Labels */ + div.vectorTabs h5, + div.vectorMenu h5 span { + display: none; + } + /* Namespaces and Views */ + /* @noflip */ + div.vectorTabs { + float: left; + height: 2.5em; + } + div.vectorTabs { + /* @embed */ + background-image: url(images/tab-break.png); + background-position: bottom left; + background-repeat: no-repeat; + padding-left: 1px; + } + /* @noflip */ + div.vectorTabs ul { + float: left; + } + div.vectorTabs ul { + height: 100%; + list-style: none; + margin: 0; + padding: 0; + } + /* @noflip */ + div.vectorTabs ul li { + float: left; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + div.vectorTabs ul li { + line-height: 1.125em; + display: inline-block; + height: 100%; + margin: 0; + padding: 0; + background-color: #f3f3f3; + /* @embed */ + background-image: url(images/tab-normal-fade.png); + background-position: bottom left; + background-repeat: repeat-x; + white-space:nowrap; + } + /* IGNORED BY IE6 */ + div.vectorTabs ul > li { + display: block; + } + div.vectorTabs li.selected { + /* @embed */ + background-image: url(images/tab-current-fade.png); + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + div.vectorTabs li a { + display: inline-block; + height: 1.9em; + padding-left: 0.5em; + padding-right: 0.5em; + color: #0645ad; + cursor: pointer; + font-size: 0.8em; + } + /* IGNORED BY IE6 */ + div.vectorTabs li > a { + display: block; + } + div.vectorTabs li.icon a { + background-position: bottom right; + background-repeat: no-repeat; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + div.vectorTabs span a { + display: inline-block; + padding-top: 1.25em; + } + /* IGNORED BY IE6 */ + /* @noflip */ + div.vectorTabs span > a { + float: left; + display: block; + } + div.vectorTabs span { + display: inline-block; + /* @embed */ + background-image: url(images/tab-break.png); + background-position: bottom right; + background-repeat: no-repeat; + } + div.vectorTabs li.selected a, + div.vectorTabs li.selected a:visited{ + color: #333333; + text-decoration: none; + } + div.vectorTabs li.new a, + div.vectorTabs li.new a:visited{ + color: #a55858; + } + /* Variants and Actions */ + /* @noflip */ + div.vectorMenu { + direction: ltr; + float: left; + /* @embed */ + background-image: url(images/arrow-down-icon.png); + background-position: 0px 60%; + background-repeat: no-repeat; + cursor: pointer; + } + div.vectorMenuFocus { + background-position: -22px 60%; + } + /* @noflip */ + body.rtl div.vectorMenu { + direction: rtl; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + /* @noflip */ + div#mw-head div.vectorMenu h5 { + float: left; + /* @embed */ + background-image: url(images/tab-break.png); + background-repeat: no-repeat; + } + /* This will be flipped - unlike the one above it */ + div#mw-head div.vectorMenu h5 { + background-position: bottom left; + margin-left: -1px; + } + /* IGNORED BY IE6 */ + div#mw-head div.vectorMenu > h5 { + background-image: none; + } + div#mw-head div.vectorMenu h4 { + display: inline-block; + float: left; + font-size: 0.8em; + padding-left: 0.5em; + padding-top: 1.375em; + font-weight: normal; + border: none; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + /* @noflip */ + div.vectorMenu h5 a { + display: inline-block; + width: 24px; + height: 2.5em; + text-decoration: none; + /* @embed */ + background-image: url(images/tab-break.png); + background-repeat: no-repeat; + } + /* This will be flipped - unlike the one above it */ + div.vectorMenu h5 a { + background-position: bottom right; + } + /* IGNORED BY IE6 */ + div.vectorMenu h5 > a { + display: block; + } + div.vectorMenu div.menu { + position: relative; + display: none; + clear: both; + text-align: left; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + /* @noflip */ + body.rtl div.vectorMenu div.menu { + margin-left: 24px; + } + /* IGNORED BY IE6 */ + /* @noflip */ + body.rtl div.vectorMenu > div.menu { + margin-left: auto; + } + /* IGNORED BY IE6 */ + /* Also fixes old versions of FireFox */ + /* @noflip */ + body.rtl div.vectorMenu > div.menu, + x:-moz-any-link { + margin-left: 23px; + } + /* Enable forcing showing of the menu for accessibility */ + div.vectorMenu:hover div.menu, div.vectorMenu div.menuForceShow { + display: block; + } + div.vectorMenu ul { + position: absolute; + background-color: white; + border: solid 1px silver; + border-top-width: 0; + list-style: none; + list-style-image: none; + list-style-type: none; + padding: 0; + margin: 0; + margin-left: -1px; + text-align: left; + } + /* Fixes old versions of FireFox */ + div.vectorMenu ul, + x:-moz-any-link { + min-width: 5em; + } + /* Returns things back to normal in modern versions of FireFox */ + div.vectorMenu ul, + x:-moz-any-link, + x:default { + min-width: 0; + } + div.vectorMenu li { + padding: 0; + margin: 0; + text-align: left; + line-height: 1em; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + div.vectorMenu li a { + display: inline-block; + padding: 0.5em; + white-space: nowrap; + color: #0645ad; + cursor: pointer; + font-size: 0.8em; + } + /* IGNORED BY IE6 */ + div.vectorMenu li > a { + display: block; + } + div.vectorMenu li.selected a, + div.vectorMenu li.selected a:visited { + color: #333333; + text-decoration: none; + } + /* Search */ + #p-search h5 { + display: none; + } + /* @noflip */ + #p-search { + float: left; + } + #p-search { + margin-right: 0.5em; + margin-left: 0.5em; + } + #p-search form, + #p-search input { + margin: 0; + margin-top: 0.4em; + } + div#simpleSearch { + display: block; + width: 14em; + height: 1.4em; + margin-top: 0.65em; + position: relative; + min-height: 1px; /* Gotta trigger hasLayout for IE7 */ + border: solid 1px #AAAAAA; + color: black; + background-color: white; + /* @embed */ + background-image: url(images/search-fade.png); + background-position: top left; + background-repeat: repeat-x; + } + div#simpleSearch label { + /* + * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent + * this from ever being shown anyways. + */ + font-size: 13px; + top: 0.25em; + direction: ltr; + } + div#simpleSearch input { + color: black; + direction: ltr; + } + div#simpleSearch input:focus { + outline: none; + } + div#simpleSearch input.placeholder { + color: #999999; + } + div#simpleSearch input::-webkit-input-placeholder { + color: #999999; + } + div#simpleSearch input#searchInput { + position: absolute; + top: 0; + left: 0; + width: 90%; + margin: 0; + padding: 0; + padding-left: 0.2em; + padding-top: 0.2em; + padding-bottom: 0.2em; + outline: none; + border: none; + /* + * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent + * this from ever being shown anyways. + */ + font-size: 13px; + background-color: transparent; + direction: ltr; + } + div#simpleSearch button#searchButton { + position: absolute; + width: 10%; + right: 0; + top: 0; + padding: 0; + padding-top: 0.3em; + padding-bottom: 0.2em; + padding-right: 0.4em; + margin: 0; + border: none; + cursor: pointer; + background-color: transparent; + background-image: none; + } + /* OVERRIDDEN BY COMPLIANT BROWSERS */ + div#simpleSearch button#searchButton img { + border: none; + margin: 0; + margin-top: -3px; + padding: 0; + } + /* IGNORED BY IE6 */ + div#simpleSearch button#searchButton > img { + margin: 0; + } +/* Panel */ +div#mw-panel { + position: absolute; + top: 160px; + padding-top: 1em; + width: 10em; + left: 0; +} + div#mw-panel div.portal { + padding-bottom: 1.5em; + direction: ltr; + } + div#mw-panel div.portal h5 { + font-weight: normal; + color: #444444; + padding: 0.25em; + padding-top: 0; + padding-left: 1.75em; + cursor: default; + border: none; + font-size: 0.75em; + } + div#mw-panel div.portal div.body { + margin: 0; + padding-top: 0.5em; + margin-left: 1.25em; + /* @embed */ + background-image: url(images/portal-break.png); + background-repeat: no-repeat; + background-position: top left; + } + div#mw-panel div.portal div.body ul { + list-style: none; + list-style-image: none; + list-style-type: none; + padding: 0; + margin: 0; + } + div#mw-panel div.portal div.body ul li { + line-height: 1.125em; + padding: 0; + padding-bottom: 0.5em; + margin: 0; + overflow: hidden; + font-size: 0.75em; + } + div#mw-panel div.portal div.body ul li a { + color: #0645ad; + } + div#mw-panel div.portal div.body ul li a:visited { + color: #0b0080; + } +/* Footer */ +div#footer { + margin-left: 10em; + margin-top: 0; + padding: 0.75em; + /* @embed */ + background-image: url(images/border.png); + background-position: top left; + background-repeat: repeat-x; + direction: ltr; +} +div#footer ul { + list-style: none; + list-style-image: none; + list-style-type: none; + margin: 0; + padding: 0; +} +div#footer ul li { + margin: 0; + padding: 0; + padding-top: 0.5em; + padding-bottom: 0.5em; + color: #333333; + font-size: 0.7em; +} +div#footer #footer-icons { + float: right; +} +/* @noflip */ +body.ltr div#footer #footer-places { + float: left; +} +div#footer #footer-info li { + line-height: 1.4em; +} +div#footer #footer-icons li { + float: left; + margin-left: 0.5em; + line-height: 2em; + text-align: right; +} +div#footer #footer-places li { + float: left; + margin-right: 1em; + line-height: 2em; +} +/* Logo */ +#p-logo { + position: absolute; + top: -160px; + left: 0; + width: 10em; + height: 160px; +} +#p-logo a { + display: block; + width: 10em; + height: 160px; + background-repeat: no-repeat; + background-position: center center; + text-decoration: none; +} + +/* + * + * The following code is highly modified from monobook. It would be nice if the + * preftoc id was more human readable like preferences-toc for instance, + * howerver this would require backporting the other skins. + */ + +/* Preferences */ +#preftoc { + /* Tabs */ + width: 100%; + float: left; + clear: both; + margin: 0 !important; + padding: 0 !important; + /* @embed */ + background-image: url(images/preferences-break.png); + background-position: bottom left; + background-repeat: no-repeat; +} + #preftoc li { + /* Tab */ + float: left; + margin: 0; + padding: 0; + padding-right: 1px; + height: 2.25em; + white-space: nowrap; + list-style-type: none; + list-style-image: none; + /* @embed */ + background-image: url(images/preferences-break.png); + background-position: bottom right; + background-repeat: no-repeat; + } + /* Sadly, IE6 won't understand this */ + #preftoc li:first-child { + margin-left: 1px; + } + #preftoc a, + #preftoc a:active { + display: inline-block; + position: relative; + color: #0645ad; + padding: 0.5em; + text-decoration: none; + background-image: none; + font-size: 0.9em; + } + #preftoc a:hover, + #preftoc a:focus { + text-decoration: underline; + } + #preftoc li.selected a { + /* @embed */ + background-image: url(images/preferences-fade.png); + background-position: bottom; + background-repeat: repeat-x; + color: #333333; + text-decoration: none; + } +#preferences { + float: left; + width: 100%; + margin: 0; + margin-top: -2px; + clear: both; + border: solid 1px #cccccc; + background-color: #f9f9f9; + /* @embed */ + background-image: url(images/preferences-base.png); +} +#preferences fieldset { + border: none; + border-top: solid 1px #cccccc; +} +#preferences fieldset.prefsection { + border: none; + padding: 0; + margin: 1em; +} +#preferences legend { + color: #666666; +} +#preferences fieldset.prefsection legend.mainLegend { + display: none; +} +#preferences td { + padding-left: 0.5em; + padding-right: 0.5em; +} +#preferences td.htmlform-tip { + font-size: x-small; + padding: .2em 2em; + color: #666666; +} +#preferences div.mw-prefs-buttons { + padding: 1em; +} +#preferences div.mw-prefs-buttons input { + margin-right: 0.25em; +} + +/* + * Styles for the user login and create account forms + */ +#userlogin, #userloginForm { + border: solid 1px #cccccc; + padding: 1.2em; + margin: .5em; + float: left; +} + +#userlogin { + min-width: 20em; + max-width: 90%; + width: 40em; +} + +/* + * + * The following code is slightly modified from monobook + * + */ +div#content { + line-height: 1.5em; +} +#bodyContent { + font-size: 0.8em; +} +/* Links */ +a { + text-decoration: none; + color: #0645ad; + background: none; +} +a:visited { + color: #0b0080; +} +a:active { + color: #faa700; +} +a:hover, a:focus { + 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; +} + +/* Inline Elements */ +img { + border: none; + vertical-align: middle; +} +hr { + height: 1px; + color: #aaa; + background-color: #aaa; + border: 0; + margin: .2em 0 .2em 0; +} + +/* Structural Elements */ +h1, +h2, +h3, +h4, +h5, +h6 { + color: black; + background: none; + font-weight: normal; + margin: 0; + overflow: hidden; + padding-top: .5em; + padding-bottom: .17em; + border-bottom: 1px solid #aaa; + width: auto; +} +h1 { font-size: 188%; } +h1 .editsection { font-size: 53%; } +h2 { font-size: 150%; } +h2 .editsection { font-size: 67%; } +h3, +h4, +h5, +h6 { + border-bottom: none; + font-weight: bold; +} +h3 { font-size: 132%; } +h3 .editsection { font-size: 76%; font-weight: normal; } +h4 { font-size: 116%; } +h4 .editsection { font-size: 86%; font-weight: normal; } +h5 { font-size: 100%; } +h5 .editsection { font-weight: normal; } +h6 { font-size: 80%; } +h6 .editsection { font-size: 125%; font-weight: normal; } +.editsection { float: right; } +p { + margin: .4em 0 .5em 0; + line-height: 1.5em; +} +p img { + margin: 0; +} +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; +}*/ +pre, code, tt, kbd, samp { + /* + * It's important for this rule to first reference an actual font name, some browsers will render the monospace text + * too small otherwise, namely Firefox, Chrome and Safari + */ + font-family: monospace, "Courier New"; +} +code { + background-color: #f9f9f9; +} +pre { + overflow-x: auto; + padding: 1em; + border: 1px solid #EBEBEB; + color: black; + background-color: #F7F7F7; + line-height: 1.3em; +} +ul { + line-height: 1.5em; + list-style-type: square; + margin: .3em 0 0 1.5em; + padding: 0; + /* @embed */ + list-style-image: url(images/bullet-icon.png); +} +ol { + line-height: 1.5em; + margin: .3em 0 0 3.2em; + padding: 0; + list-style-image: none; +} +li { + margin-bottom: .1em; +} +dt { + font-weight: bold; + margin-bottom: .1em; +} +dl { + margin-top: .2em; + margin-bottom: .5em; +} +dd { + line-height: 1.5em; + margin-left: 2em; + margin-bottom: .1em; +} +/* Tables */ +table { + font-size: 100%; +} +/* Forms */ +fieldset { + border: 1px solid #2f6fab; + margin: 1em 0 1em 0; + padding: 0 1em 1em; + line-height: 1.5em; +} + fieldset.nested { + margin: 0 0 0.5em 0; + padding: 0 0.5em 0.5em; + } +legend { + padding: .5em; + font-size: 95%; +} +form { + border: none; + margin: 0; +} +textarea { + width: 100%; + padding: .1em; +} +select { + vertical-align: top; +} +/* Table of Contents */ +#toc, +.toc, +.mw-warning { + border: 1px solid #aaa; + background-color: #f9f9f9; + padding: 5px; + font-size: ... [truncated message content] |
From: <hy...@us...> - 2011-07-18 15:06:21
|
Revision: 54 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=54&view=rev Author: hydria Date: 2011-07-18 15:06:15 +0000 (Mon, 18 Jul 2011) Log Message: ----------- Declaring Modified Paths: -------------- Hytools/trunk/phase3/includes/DefaultSettings.php Hytools/trunk/phase3/includes/Footer.php Modified: Hytools/trunk/phase3/includes/DefaultSettings.php =================================================================== --- Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-18 15:04:22 UTC (rev 53) +++ Hytools/trunk/phase3/includes/DefaultSettings.php 2011-07-18 15:06:15 UTC (rev 54) @@ -12,5 +12,5 @@ // Hytools version number $hyVersion = "1.1"; -// Message to appear when visiting the site -$hyMessage = "Hello world!"; +// The website's name, override in LocalSettings.php +$hySitename = "Hytools"; Modified: Hytools/trunk/phase3/includes/Footer.php =================================================================== --- Hytools/trunk/phase3/includes/Footer.php 2011-07-18 15:04:22 UTC (rev 53) +++ Hytools/trunk/phase3/includes/Footer.php 2011-07-18 15:06:15 UTC (rev 54) @@ -7,7 +7,7 @@ function displayFooter() { global $hyVersion; $output = " -<p>This website is powered by Hytools " . $hyVersion . "</p>"; +<p>This website is powered by Hytools " . $hyVersion . "</p>\n"; $output .= "</body> </html>"; return $output; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-18 15:04:28
|
Revision: 53 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=53&view=rev Author: hydria Date: 2011-07-18 15:04:22 +0000 (Mon, 18 Jul 2011) Log Message: ----------- Some minor fixes Modified Paths: -------------- Hytools/trunk/phase3/includes/Footer.php Hytools/trunk/phase3/includes/Header.php Modified: Hytools/trunk/phase3/includes/Footer.php =================================================================== --- Hytools/trunk/phase3/includes/Footer.php 2011-07-18 15:02:30 UTC (rev 52) +++ Hytools/trunk/phase3/includes/Footer.php 2011-07-18 15:04:22 UTC (rev 53) @@ -6,7 +6,8 @@ function displayFooter() { global $hyVersion; - $output = "This website is powered by Hytools " . $hyVersion; + $output = " +<p>This website is powered by Hytools " . $hyVersion . "</p>"; $output .= "</body> </html>"; return $output; Modified: Hytools/trunk/phase3/includes/Header.php =================================================================== --- Hytools/trunk/phase3/includes/Header.php 2011-07-18 15:02:30 UTC (rev 52) +++ Hytools/trunk/phase3/includes/Header.php 2011-07-18 15:04:22 UTC (rev 53) @@ -10,7 +10,8 @@ <head> <title>" . $hySitename . "</title> </head> -<body>"; +<body> +"; return $output; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-18 15:02:36
|
Revision: 52 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=52&view=rev Author: hydria Date: 2011-07-18 15:02:30 +0000 (Mon, 18 Jul 2011) Log Message: ----------- Some HTML fixes exit ; Modified Paths: -------------- Hytools/trunk/phase3/includes/Footer.php Hytools/trunk/phase3/includes/MainBodyText.php Hytools/trunk/phase3/includes/WebStart.php Added Paths: ----------- Hytools/trunk/phase3/includes/Header.php Modified: Hytools/trunk/phase3/includes/Footer.php =================================================================== --- Hytools/trunk/phase3/includes/Footer.php 2011-07-18 14:56:38 UTC (rev 51) +++ Hytools/trunk/phase3/includes/Footer.php 2011-07-18 15:02:30 UTC (rev 52) @@ -6,7 +6,10 @@ function displayFooter() { global $hyVersion; - return "This website is powered by Hytools " . $hyVersion; + $output = "This website is powered by Hytools " . $hyVersion; + $output .= "</body> +</html>"; + return $output; } echo displayFooter(); Added: Hytools/trunk/phase3/includes/Header.php =================================================================== --- Hytools/trunk/phase3/includes/Header.php (rev 0) +++ Hytools/trunk/phase3/includes/Header.php 2011-07-18 15:02:30 UTC (rev 52) @@ -0,0 +1,17 @@ +<?php + +/** + * + */ + +function buildHeader() { + global $hySitename; + $output = "<html> +<head> +<title>" . $hySitename . "</title> +</head> +<body>"; + return $output; +} + +echo buildHeader(); Property changes on: Hytools/trunk/phase3/includes/Header.php ___________________________________________________________________ Added: svn:eol-style + native Modified: Hytools/trunk/phase3/includes/MainBodyText.php =================================================================== --- Hytools/trunk/phase3/includes/MainBodyText.php 2011-07-18 14:56:38 UTC (rev 51) +++ Hytools/trunk/phase3/includes/MainBodyText.php 2011-07-18 15:02:30 UTC (rev 52) @@ -5,7 +5,7 @@ */ function displayBody() { - return "Hello world!"; + return "<p>Hello world!</p>"; } echo displayBody(); Modified: Hytools/trunk/phase3/includes/WebStart.php =================================================================== --- Hytools/trunk/phase3/includes/WebStart.php 2011-07-18 14:56:38 UTC (rev 51) +++ Hytools/trunk/phase3/includes/WebStart.php 2011-07-18 15:02:30 UTC (rev 52) @@ -11,6 +11,9 @@ // Load LocalSettings.php to get overwritten config require_once("$IP/LocalSettings.php"); +// Generate HTML tags first +require_once("$IP/includes/Header.php"); + // Get main page content require_once("$IP/includes/MainBodyText.php"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-18 14:56:44
|
Revision: 51 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=51&view=rev Author: hydria Date: 2011-07-18 14:56:38 +0000 (Mon, 18 Jul 2011) Log Message: ----------- Fix closing tag Modified Paths: -------------- Hytools/trunk/phase3/includes/Footer.php Modified: Hytools/trunk/phase3/includes/Footer.php =================================================================== --- Hytools/trunk/phase3/includes/Footer.php 2011-07-18 14:55:26 UTC (rev 50) +++ Hytools/trunk/phase3/includes/Footer.php 2011-07-18 14:56:38 UTC (rev 51) @@ -5,7 +5,7 @@ */ function displayFooter() { - global $hyVersion + global $hyVersion; return "This website is powered by Hytools " . $hyVersion; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-18 14:55:32
|
Revision: 50 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=50&view=rev Author: hydria Date: 2011-07-18 14:55:26 +0000 (Mon, 18 Jul 2011) Log Message: ----------- Some rewrite... Modified Paths: -------------- Hytools/trunk/phase3/index.php Added Paths: ----------- Hytools/trunk/phase3/includes/Footer.php Hytools/trunk/phase3/includes/MainBodyText.php Hytools/trunk/phase3/includes/WebStart.php Removed Paths: ------------- Hytools/trunk/phase3/includes/loader.php Added: Hytools/trunk/phase3/includes/Footer.php =================================================================== --- Hytools/trunk/phase3/includes/Footer.php (rev 0) +++ Hytools/trunk/phase3/includes/Footer.php 2011-07-18 14:55:26 UTC (rev 50) @@ -0,0 +1,12 @@ +<?php + +/** + * + */ + +function displayFooter() { + global $hyVersion + return "This website is powered by Hytools " . $hyVersion; +} + +echo displayFooter(); Property changes on: Hytools/trunk/phase3/includes/Footer.php ___________________________________________________________________ Added: svn:eol-style + native Added: Hytools/trunk/phase3/includes/MainBodyText.php =================================================================== --- Hytools/trunk/phase3/includes/MainBodyText.php (rev 0) +++ Hytools/trunk/phase3/includes/MainBodyText.php 2011-07-18 14:55:26 UTC (rev 50) @@ -0,0 +1,11 @@ +<?php + +/** + * + */ + +function displayBody() { + return "Hello world!"; +} + +echo displayBody(); Property changes on: Hytools/trunk/phase3/includes/MainBodyText.php ___________________________________________________________________ Added: svn:eol-style + native Added: Hytools/trunk/phase3/includes/WebStart.php =================================================================== --- Hytools/trunk/phase3/includes/WebStart.php (rev 0) +++ Hytools/trunk/phase3/includes/WebStart.php 2011-07-18 14:55:26 UTC (rev 50) @@ -0,0 +1,18 @@ +<?php + +/* + File to load the necessary files for display + when a user accesses the site +*/ + +// Load DefaultSettings.php first to get necessary config +require_once("$IP/includes/DefaultSettings.php"); + +// Load LocalSettings.php to get overwritten config +require_once("$IP/LocalSettings.php"); + +// Get main page content +require_once("$IP/includes/MainBodyText.php"); + +// Get footer content +require_once("$IP/includes/Footer.php"); Property changes on: Hytools/trunk/phase3/includes/WebStart.php ___________________________________________________________________ Added: svn:eol-style + native Deleted: Hytools/trunk/phase3/includes/loader.php =================================================================== --- Hytools/trunk/phase3/includes/loader.php 2011-07-10 10:27:56 UTC (rev 49) +++ Hytools/trunk/phase3/includes/loader.php 2011-07-18 14:55:26 UTC (rev 50) @@ -1,12 +0,0 @@ -<?php - -/* - File to load the necessary files for display - when a user accesses the site -*/ - -// Load DefaultSettings.php first to get necessary config -require_once("$IP/includes/DefaultSettings.php"); - -// Load LocalSettings.php to get overwritten config -require_once("$IP/LocalSettings.php"); Modified: Hytools/trunk/phase3/index.php =================================================================== --- Hytools/trunk/phase3/index.php 2011-07-10 10:27:56 UTC (rev 49) +++ Hytools/trunk/phase3/index.php 2011-07-18 14:55:26 UTC (rev 50) @@ -14,10 +14,6 @@ $IP = dirname( __FILE__ ); // Initialise the loader file -require_once("$IP/includes/loader.php"); +require_once("$IP/includes/WebStart.php"); -echo $hyMessage . "<br />"; - -echo "This site is powered by Hytools version " . $hyVersion; - ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-10 10:28:01
|
Revision: 49 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=49&view=rev Author: hydria Date: 2011-07-10 10:27:56 +0000 (Sun, 10 Jul 2011) Log Message: ----------- Add new stuff Modified Paths: -------------- Hytools/trunk/phase2/private/index.php Modified: Hytools/trunk/phase2/private/index.php =================================================================== --- Hytools/trunk/phase2/private/index.php 2011-07-10 10:24:34 UTC (rev 48) +++ Hytools/trunk/phase2/private/index.php 2011-07-10 10:27:56 UTC (rev 49) @@ -20,6 +20,12 @@ // Server protocol $output .= "<p>" . "Server protocol: " . $_SERVER['SERVER_PROTOCOL'] . "</p>" . "\n"; +// HTTPS +$output .= "<p>" . "HTTPS: " . $_SERVER['HTTPS'] . "</p>" . "\n"; + +// Server port +$output .= "<p>" . "Server port: " . $_SERVER['SERVER_PORT'] . "</p>" . "\n"; + // Now we close everything... $output .= "</body> </html>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-10 10:24:40
|
Revision: 48 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=48&view=rev Author: hydria Date: 2011-07-10 10:24:34 +0000 (Sun, 10 Jul 2011) Log Message: ----------- Adding protocol Modified Paths: -------------- Hytools/trunk/phase2/private/index.php Modified: Hytools/trunk/phase2/private/index.php =================================================================== --- Hytools/trunk/phase2/private/index.php 2011-07-10 09:45:34 UTC (rev 47) +++ Hytools/trunk/phase2/private/index.php 2011-07-10 10:24:34 UTC (rev 48) @@ -17,6 +17,9 @@ // Script path $output .= "<p>" . "Script path: " . $_SERVER['SCRIPT_NAME'] . "</p>" . "\n"; +// Server protocol +$output .= "<p>" . "Server protocol: " . $_SERVER['SERVER_PROTOCOL'] . "</p>" . "\n"; + // Now we close everything... $output .= "</body> </html>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-10 09:45:40
|
Revision: 47 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=47&view=rev Author: hydria Date: 2011-07-10 09:45:34 +0000 (Sun, 10 Jul 2011) Log Message: ----------- Add script path Modified Paths: -------------- Hytools/trunk/phase2/private/index.php Modified: Hytools/trunk/phase2/private/index.php =================================================================== --- Hytools/trunk/phase2/private/index.php 2011-07-10 09:43:46 UTC (rev 46) +++ Hytools/trunk/phase2/private/index.php 2011-07-10 09:45:34 UTC (rev 47) @@ -12,8 +12,11 @@ $output .= "<p>" . "Server's IP address: " . $_SERVER['SERVER_ADDR'] . "</p>" . "\n"; // Server URL -$output .= "<p>" . "Server's URL: " . $_SERVER['SERVER_NAME'] . "</p>"; +$output .= "<p>" . "Server's URL: " . $_SERVER['SERVER_NAME'] . "</p>" . "\n"; +// Script path +$output .= "<p>" . "Script path: " . $_SERVER['SCRIPT_NAME'] . "</p>" . "\n"; + // Now we close everything... $output .= "</body> </html>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-10 09:43:52
|
Revision: 46 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=46&view=rev Author: hydria Date: 2011-07-10 09:43:46 +0000 (Sun, 10 Jul 2011) Log Message: ----------- New line Modified Paths: -------------- Hytools/trunk/phase2/private/index.php Modified: Hytools/trunk/phase2/private/index.php =================================================================== --- Hytools/trunk/phase2/private/index.php 2011-07-10 09:42:31 UTC (rev 45) +++ Hytools/trunk/phase2/private/index.php 2011-07-10 09:43:46 UTC (rev 46) @@ -9,7 +9,7 @@ /* Now for the core stuff */ // IP address of the Toolserver server -$output .= "<p>" . "Server's IP address: " . $_SERVER['SERVER_ADDR'] . "</p>"; +$output .= "<p>" . "Server's IP address: " . $_SERVER['SERVER_ADDR'] . "</p>" . "\n"; // Server URL $output .= "<p>" . "Server's URL: " . $_SERVER['SERVER_NAME'] . "</p>"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-10 09:42:37
|
Revision: 45 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=45&view=rev Author: hydria Date: 2011-07-10 09:42:31 +0000 (Sun, 10 Jul 2011) Log Message: ----------- Close tags Modified Paths: -------------- Hytools/trunk/phase2/private/index.php Modified: Hytools/trunk/phase2/private/index.php =================================================================== --- Hytools/trunk/phase2/private/index.php 2011-07-10 09:36:30 UTC (rev 44) +++ Hytools/trunk/phase2/private/index.php 2011-07-10 09:42:31 UTC (rev 45) @@ -14,6 +14,10 @@ // Server URL $output .= "<p>" . "Server's URL: " . $_SERVER['SERVER_NAME'] . "</p>"; +// Now we close everything... +$output .= "</body> +</html>"; + // Finally, output the stuff above echo $output; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-07-10 09:36:36
|
Revision: 44 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=44&view=rev Author: hydria Date: 2011-07-10 09:36:30 +0000 (Sun, 10 Jul 2011) Log Message: ----------- Adding some information about the server Added Paths: ----------- Hytools/trunk/phase2/private/ Hytools/trunk/phase2/private/index.php Added: Hytools/trunk/phase2/private/index.php =================================================================== --- Hytools/trunk/phase2/private/index.php (rev 0) +++ Hytools/trunk/phase2/private/index.php 2011-07-10 09:36:30 UTC (rev 44) @@ -0,0 +1,20 @@ +<?php + +/* Initialise the webpage first */ +$output = "<html> +<head> +<title>Private information about the Toolserver</title> +</head> +<body>\n"; + +/* Now for the core stuff */ +// IP address of the Toolserver server +$output .= "<p>" . "Server's IP address: " . $_SERVER['SERVER_ADDR'] . "</p>"; + +// Server URL +$output .= "<p>" . "Server's URL: " . $_SERVER['SERVER_NAME'] . "</p>"; + +// Finally, output the stuff above +echo $output; + +?> Property changes on: Hytools/trunk/phase2/private/index.php ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-22 04:08:44
|
Revision: 43 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=43&view=rev Author: hydria Date: 2011-06-22 04:08:36 +0000 (Wed, 22 Jun 2011) Log Message: ----------- Forgot this for credits Modified Paths: -------------- Hytools/trunk/phase2/tools/editcount.php Hytools/trunk/phase2/tools/editcount_result.php Modified: Hytools/trunk/phase2/tools/editcount.php =================================================================== --- Hytools/trunk/phase2/tools/editcount.php 2011-06-22 04:07:46 UTC (rev 42) +++ Hytools/trunk/phase2/tools/editcount.php 2011-06-22 04:08:36 UTC (rev 43) @@ -99,7 +99,7 @@ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a> </li> <li id="footer-poweredbyico"> - <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> + <a href="http://toolserver.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> </li> </ul> <div style="clear:both"></div> Modified: Hytools/trunk/phase2/tools/editcount_result.php =================================================================== --- Hytools/trunk/phase2/tools/editcount_result.php 2011-06-22 04:07:46 UTC (rev 42) +++ Hytools/trunk/phase2/tools/editcount_result.php 2011-06-22 04:08:36 UTC (rev 43) @@ -110,7 +110,7 @@ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a> </li> <li id="footer-poweredbyico"> - <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> + <a href="http://toolserver.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> </li> </ul> <div style="clear:both"></div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-22 04:07:52
|
Revision: 42 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=42&view=rev Author: hydria Date: 2011-06-22 04:07:46 +0000 (Wed, 22 Jun 2011) Log Message: ----------- Fix link in credits Modified Paths: -------------- Hytools/trunk/phase2/ssl/bots.php Hytools/trunk/phase2/ssl/index.php Hytools/trunk/phase2/ssl/matrix.php Hytools/trunk/phase2/ssl/tools.php Modified: Hytools/trunk/phase2/ssl/bots.php =================================================================== --- Hytools/trunk/phase2/ssl/bots.php 2011-06-17 03:28:28 UTC (rev 41) +++ Hytools/trunk/phase2/ssl/bots.php 2011-06-22 04:07:46 UTC (rev 42) @@ -177,7 +177,7 @@ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a> </li> <li id="footer-poweredbyico"> - <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> + <a href="http://toolserver.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> </li> </ul> <div style="clear:both"></div> Modified: Hytools/trunk/phase2/ssl/index.php =================================================================== --- Hytools/trunk/phase2/ssl/index.php 2011-06-17 03:28:28 UTC (rev 41) +++ Hytools/trunk/phase2/ssl/index.php 2011-06-22 04:07:46 UTC (rev 42) @@ -100,7 +100,7 @@ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a> </li> <li id="footer-poweredbyico"> - <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> + <a href="http://toolserver.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> </li> </ul> <div style="clear:both"></div> Modified: Hytools/trunk/phase2/ssl/matrix.php =================================================================== --- Hytools/trunk/phase2/ssl/matrix.php 2011-06-17 03:28:28 UTC (rev 41) +++ Hytools/trunk/phase2/ssl/matrix.php 2011-06-22 04:07:46 UTC (rev 42) @@ -173,7 +173,7 @@ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a> </li> <li id="footer-poweredbyico"> - <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> + <a href="http://toolserver.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> </li> </ul> <div style="clear:both"></div> Modified: Hytools/trunk/phase2/ssl/tools.php =================================================================== --- Hytools/trunk/phase2/ssl/tools.php 2011-06-17 03:28:28 UTC (rev 41) +++ Hytools/trunk/phase2/ssl/tools.php 2011-06-22 04:07:46 UTC (rev 42) @@ -98,7 +98,7 @@ <a href="http://wikimediafoundation.org/"><img src="images/license.png" width="88" height="31"/></a> </li> <li id="footer-poweredbyico"> - <a href="http://www.mediawiki.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> + <a href="http://toolserver.org/"><img src="images/powered-by.png" alt="Powered by Toolserver" width="88" height="31" /></a> </li> </ul> <div style="clear:both"></div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-17 03:28:36
|
Revision: 41 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=41&view=rev Author: hydria Date: 2011-06-17 03:28:28 +0000 (Fri, 17 Jun 2011) Log Message: ----------- Updating statistics Modified Paths: -------------- Hytools/trunk/phase2/ssl/matrix.php Modified: Hytools/trunk/phase2/ssl/matrix.php =================================================================== --- Hytools/trunk/phase2/ssl/matrix.php 2011-06-10 15:45:37 UTC (rev 40) +++ Hytools/trunk/phase2/ssl/matrix.php 2011-06-17 03:28:28 UTC (rev 41) @@ -39,8 +39,8 @@ </tr> <tr> <td><a href="http://simple.wikipedia.org/wiki/wikt:User:Hydriz" class="extiw" title="simple:wikt:User:Hydriz">Simple English Wiktionary</a></td> -<td>1,600+</td> -<td><a href="http://simple.wikipedia.org/wiki/wikt:Wiktionary:Rollbackers" class="extiw" title="simple:wikt:Wiktionary:Rollbackers">Rollbacker</a> and <a href="http://simple.wikipedia.org/wiki/wikt:Wiktionary:IP_block_exemption" class="extiw" title="simple:wikt:Wiktionary:IP block exemption">IP block exemption</a></td> +<td>1,700+</td> +<td><a href="http://simple.wikipedia.org/wiki/wikt:Wiktionary:Rollbackers" class="extiw" title="simple:wikt:Wiktionary:Rollbackers">Rollbacker</a>, <a href="http://simple.wikipedia.org/wiki/wikt:Wiktionary:Autopatrol" class="extiw" title="simple:wikt:Wiktionary:Autopatrol">Autopatroller</a> and <a href="http://simple.wikipedia.org/wiki/wikt:Wiktionary:IP_block_exemption" class="extiw" title="simple:wikt:Wiktionary:IP block exemption">IP block exemption</a></td> </tr> <tr> <td><a href="http://rue.wikipedia.org/wiki/User:Hydriz" class="extiw" title="rue:User:Hydriz">Rusyn Wikipedia</a></td> @@ -49,12 +49,12 @@ </tr> <tr> <td><a href="http://strategy.wikimedia.org/wiki/User:Hydriz" class="extiw" title="strategy:User:Hydriz">Strategic Planning</a></td> -<td>350+</td> +<td>400+</td> <td><a href="http://strategy.wikimedia.org/wiki/Strategic_Planning:Administrators" class="extiw" title="strategy:Strategic Planning:Administrators">Administrator (sysop)</a> and <a href="http://strategy.wikimedia.org/wiki/Strategic_Planning:Bureaucrats" class="extiw" title="strategy:Strategic Planning:Bureaucrats">Bureaucrat</a></td> </tr> <tr> <td><a href="http://incubator.wikimedia.org/wiki/User:Hydriz" class="extiw" title="incubator:User:Hydriz">Wikimedia Incubator</a></td> -<td>400+</td> +<td>600+</td> <td><a href="http://incubator.wikimedia.org/wiki/Incubator:Coordination_for_importing_closed_projects" class="extiw" title="incubator:Incubator:Coordination for importing closed projects">Importer</a>, <a href="http://incubator.wikimedia.org/wiki/Incubator:Administrators" class="extiw" title="incubator:Incubator:Administrators">Administrator (sysop)</a> and <a href="http://incubator.wikimedia.org/wiki/Incubator:Bureaucrats" class="extiw" title="incubator:Incubator:Bureaucrats">Bureaucrat</td> </tr> <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-10 15:45:43
|
Revision: 40 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=40&view=rev Author: hydria Date: 2011-06-10 15:45:37 +0000 (Fri, 10 Jun 2011) Log Message: ----------- Adding input box to specify prefix Modified Paths: -------------- MediaWiki/PrefixExport/PrefixExport.i18n.php MediaWiki/PrefixExport/SpecialPrefixExport.php Modified: MediaWiki/PrefixExport/PrefixExport.i18n.php =================================================================== --- MediaWiki/PrefixExport/PrefixExport.i18n.php 2011-06-09 16:25:37 UTC (rev 39) +++ MediaWiki/PrefixExport/PrefixExport.i18n.php 2011-06-10 15:45:37 UTC (rev 40) @@ -12,7 +12,12 @@ * @author Hydriz */ $messages['en'] = array( + 'prefixexport' => '{{int:prefixexport-title}}', // Do not translate this message 'prefixexport-desc' => 'A tool to export all pages that are located in a prefix', 'prefixexport-title' => 'Export pages from within a prefix', - 'prefixexport-intro' => 'This page is currently in beta!', + 'prefixexport-intro' => 'Welcome to the Prefix Export tool.', + 'prefixexport-body' => 'This is the tool that allows you to export pages from within a prefix.', + 'prefixexport-body2' => 'Please fill in the name of the prefix that the pages you are export have in common and the tool will do the rest for you.', + 'prefixexport-prefix' => 'Prefix:', + 'prefixexport-go' => 'Go', ); Modified: MediaWiki/PrefixExport/SpecialPrefixExport.php =================================================================== --- MediaWiki/PrefixExport/SpecialPrefixExport.php 2011-06-09 16:25:37 UTC (rev 39) +++ MediaWiki/PrefixExport/SpecialPrefixExport.php 2011-06-10 15:45:37 UTC (rev 40) @@ -15,7 +15,25 @@ # Introduce user to the page $wgOut->setPageTitle( wfMsg( 'prefixexport-title' ) ); - $output=wfMsgExt("prefixexport-intro"); - $wgOut->addWikiText( $output ); + $intro=wfMsgExt("prefixexport-intro"); + $body=wfMsgExt("prefixexport-body"); + $body2=wfMsgExt("prefixexport-body2"); + $wgOut->addWikiText( $intro . " " . $body . " " . $body2 ); + /* + * Now for the form to ask user for prefix to be exported + */ + $wgOut->addHTML( + Xml::fieldset( wfMsgHtml( 'prefixexport-title' ) ) . + Xml::openElement( 'form', array( 'method' => 'post', 'action' => $wgScript ) ) . + Html::hidden( 'title', $this->getTitle()->getPrefixedText() ) . + "<p>" . + Xml::inputLabel( wfMsgHtml( 'prefixexport-prefix' ), 'target', 'prefixexport-prefix', 40, $target ) . + ' ' . + Xml::submitButton( wfMsgHtml( 'prefixexport-go' ) ) . + "</p>" . + Xml::closeElement( 'form' ) . + Xml::closeElement( 'fieldset' ) + ); + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-09 16:25:45
|
Revision: 39 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=39&view=rev Author: hydria Date: 2011-06-09 16:25:37 +0000 (Thu, 09 Jun 2011) Log Message: ----------- Try fixing again Modified Paths: -------------- Hytools/trunk/phase2/tools/editcount_result.php Modified: Hytools/trunk/phase2/tools/editcount_result.php =================================================================== --- Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:22:48 UTC (rev 38) +++ Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:25:37 UTC (rev 39) @@ -35,7 +35,7 @@ mysql_select_db("enwiki_p", $con); // TEMP, will have to allow visitor to choose database -$result = mysql_query("SELECT * FROM user WHERE user_name = " . $_GET['username']); +$result = mysql_query('SELECT * FROM user WHERE user_name = "' . $_GET['username'] . '"'); echo "User's edit count: " . $result; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-09 16:22:54
|
Revision: 38 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=38&view=rev Author: hydria Date: 2011-06-09 16:22:48 +0000 (Thu, 09 Jun 2011) Log Message: ----------- Try fixing again Modified Paths: -------------- Hytools/trunk/phase2/tools/editcount_result.php Modified: Hytools/trunk/phase2/tools/editcount_result.php =================================================================== --- Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:18:08 UTC (rev 37) +++ Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:22:48 UTC (rev 38) @@ -37,19 +37,8 @@ $result = mysql_query("SELECT * FROM user WHERE user_name = " . $_GET['username']); -echo "<table border='1'> -<tr> -<th>User's edit count</th> -</tr>"; +echo "User's edit count: " . $result; -while($row = mysql_fetch_array($result)) - { - echo "<tr>"; - echo "<td>" . $row['user_editcount'] . "</td>"; - echo "</tr>"; - } -echo "</table>"; - mysql_close($con); ?> </p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-09 16:18:14
|
Revision: 37 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=37&view=rev Author: hydria Date: 2011-06-09 16:18:08 +0000 (Thu, 09 Jun 2011) Log Message: ----------- Now for the real thing Modified Paths: -------------- Hytools/trunk/phase2/tools/editcount_result.php Hytools/trunk/phase2/tools/includes/DefaultSettings.php Hytools/trunk/phase2/tools/includes/Sidebar.php Modified: Hytools/trunk/phase2/tools/editcount_result.php =================================================================== --- Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:11:27 UTC (rev 36) +++ Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:18:08 UTC (rev 37) @@ -32,6 +32,25 @@ { die('Could not connect: ' . mysql_error()); } + +mysql_select_db("enwiki_p", $con); // TEMP, will have to allow visitor to choose database + +$result = mysql_query("SELECT * FROM user WHERE user_name = " . $_GET['username']); + +echo "<table border='1'> +<tr> +<th>User's edit count</th> +</tr>"; + +while($row = mysql_fetch_array($result)) + { + echo "<tr>"; + echo "<td>" . $row['user_editcount'] . "</td>"; + echo "</tr>"; + } +echo "</table>"; + +mysql_close($con); ?> </p> <div class="visualClear"></div> Modified: Hytools/trunk/phase2/tools/includes/DefaultSettings.php =================================================================== --- Hytools/trunk/phase2/tools/includes/DefaultSettings.php 2011-06-09 16:11:27 UTC (rev 36) +++ Hytools/trunk/phase2/tools/includes/DefaultSettings.php 2011-06-09 16:18:08 UTC (rev 37) @@ -22,3 +22,8 @@ // Sender of error email, can be anyone, depending on your server $hyErrorSender = "no...@ex..."; + +// Database connection +$hyDBServer = "localhost"; +$hyDBUsername = "root"; +$hyDBUserpass = "pass"; Modified: Hytools/trunk/phase2/tools/includes/Sidebar.php =================================================================== --- Hytools/trunk/phase2/tools/includes/Sidebar.php 2011-06-09 16:11:27 UTC (rev 36) +++ Hytools/trunk/phase2/tools/includes/Sidebar.php 2011-06-09 16:18:08 UTC (rev 37) @@ -4,9 +4,9 @@ <h5>Navigation</h5> <div class="body"> <ul> - <li id="n-mainpage-description"><a href="./index.php" title="Visit the main page [z]" accesskey="z">Main page</a></li> - <li id="n-contents"><a href="./matrix.php" title="Account matrix of Hydriz">Account Matrix</a></li> - <li id="n-featuredcontent"><a href="./bots.php" title="Statuses of bots in CVT">CVT bot list</a></li> + <li id="n-mainpage-description"><a href="/~hydriz/ssl/index.php" title="Visit the main page [z]" accesskey="z">Main page</a></li> + <li id="n-contents"><a href="/~hydriz/ssl/matrix.php" title="Account matrix of Hydriz">Account Matrix</a></li> + <li id="n-featuredcontent"><a href="/~hydriz/ssl/bots.php" title="Statuses of bots in CVT">CVT bot list</a></li> <li id="n-sitesupport"><a href="http://wikimediafoundation.org/wiki/Special:Landingcheck?landing_page=WMFJA085&language=en&utm_source=donate&utm_medium=sidebar&utm_campaign=20101204SB002" title="Support us">Donate to Wikimedia</a></li> </ul> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <hy...@us...> - 2011-06-09 16:11:33
|
Revision: 36 http://alphacorp.svn.sourceforge.net/alphacorp/?rev=36&view=rev Author: hydria Date: 2011-06-09 16:11:27 +0000 (Thu, 09 Jun 2011) Log Message: ----------- Looks like bug has been fixed Modified Paths: -------------- Hytools/trunk/phase2/tools/editcount.php Hytools/trunk/phase2/tools/editcount_result.php Modified: Hytools/trunk/phase2/tools/editcount.php =================================================================== --- Hytools/trunk/phase2/tools/editcount.php 2011-06-09 16:09:54 UTC (rev 35) +++ Hytools/trunk/phase2/tools/editcount.php 2011-06-09 16:11:27 UTC (rev 36) @@ -27,7 +27,7 @@ <p>Welcome to the edit count search tool, the place where you can query the number of edits a user has made on a project! Just input the required fields below and the tool will do the rest!</p> <form action="editcount_result.php" method="get"> Name of user: <input type="text" name="username" /><br /> -Project: <input type="text" name="lang" size="8" />.<input type="text" name="project" />.org +Project: <input type="text" name="lang" size="8" />.<input type="text" name="project" />.org<br /> <input type="submit" /> </form> </p> Modified: Hytools/trunk/phase2/tools/editcount_result.php =================================================================== --- Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:09:54 UTC (rev 35) +++ Hytools/trunk/phase2/tools/editcount_result.php 2011-06-09 16:11:27 UTC (rev 36) @@ -25,14 +25,14 @@ <a href="#p-search">search</a> </div> <p>Username selected: <a href="http://<?php echo $_GET['lang']; ?>.<?php echo $_GET['project']; ?>.org/wiki/User:<?php echo $_GET['username']; ?>"><?php echo $_GET["username"]; ?></a><br /></p> -<p>Project selected: <a href="http://<?php echo $_GET['lang']; ?>.<?php echo $_GET['project']; ?>.org"><?php echo $_GET['lang']; ?>.<?php echo $_GET['project']; ?>.org</a></p><!-- +<p>Project selected: <a href="http://<?php echo $_GET['lang']; ?>.<?php echo $_GET['project']; ?>.org"><?php echo $_GET['lang']; ?>.<?php echo $_GET['project']; ?>.org</a></p> <?php $con = mysql_connect($hyDBServer,$hyDBUsername,$hyDBUserpass); if (!$con) { die('Could not connect: ' . mysql_error()); } -?>--> +?> </p> <div class="visualClear"></div> </div> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |