logging-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ihabu...@apache.org
Subject svn commit: r1374775 - in /logging/log4php/trunk/src/site: ./ resources/js/ xdoc/ xdoc/docs/appenders/ xdoc/docs/layouts/
Date Sun, 19 Aug 2012 15:47:52 GMT
Author: ihabunek
Date: Sun Aug 19 15:47:51 2012
New Revision: 1374775

URL: http://svn.apache.org/viewvc?rev=1374775&view=rev
Log:
Set class="external" on all external links. Removed target="_blank", this is added dynamically
in site.js.

Modified:
    logging/log4php/trunk/src/site/resources/js/site.js
    logging/log4php/trunk/src/site/site.vm
    logging/log4php/trunk/src/site/xdoc/changelog.xml
    logging/log4php/trunk/src/site/xdoc/docs/appenders/echo.xml
    logging/log4php/trunk/src/site/xdoc/docs/appenders/firephp.xml
    logging/log4php/trunk/src/site/xdoc/docs/appenders/mongodb.xml
    logging/log4php/trunk/src/site/xdoc/docs/appenders/pdo.xml
    logging/log4php/trunk/src/site/xdoc/docs/appenders/php.xml
    logging/log4php/trunk/src/site/xdoc/docs/appenders/socket.xml
    logging/log4php/trunk/src/site/xdoc/docs/layouts/pattern.xml
    logging/log4php/trunk/src/site/xdoc/privacy.xml

Modified: logging/log4php/trunk/src/site/resources/js/site.js
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/resources/js/site.js?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/resources/js/site.js (original)
+++ logging/log4php/trunk/src/site/resources/js/site.js Sun Aug 19 15:47:51 2012
@@ -99,7 +99,7 @@ $(document).ready(function() {
 	});
 	
 	// Make external links open in new tab
-	$('a.externalLink').attr('target', '_blank');
+	$('a.external').attr('target', '_blank');
 	
 	// Trigger prettyprint
 	prettyPrint();

Modified: logging/log4php/trunk/src/site/site.vm
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/site.vm?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/site.vm (original)
+++ logging/log4php/trunk/src/site/site.vm Sun Aug 19 15:47:51 2012
@@ -10,7 +10,7 @@
 	#if ( $href.toLowerCase().startsWith("http:/") || $href.toLowerCase().startsWith("https:/")
||
 		$href.toLowerCase().startsWith("ftp:/") || $href.toLowerCase().startsWith("mailto:/") ||
 		$href.toLowerCase().startsWith("file:/") || ($href.toLowerCase().indexOf("://") != -1)
)
-		#set ( $linkClass = ' class="externalLink" target="_blank"' )
+		#set ( $linkClass = ' class="external" target="_blank"' )
 		
 		#if ( $linkTarget )
 		#else
@@ -442,7 +442,7 @@
 
 					<!-- Twitter link -->
 					<ul class="nav pull-right">
-						<li><a href="http://twitter.com/log4php/" class="externalLink">Follow <strong>@log4php</strong></a></li>
+						<li><a href="http://twitter.com/log4php/" class="external">Follow <strong>@log4php</strong></a></li>
 					</ul>
 					
 					<!-- Google CSE Search Box -->
@@ -478,8 +478,8 @@
 			Please read the <a href="$relativePath/privacy.html">Privacy policy</a></p>
 			<p>Apache log4php, Apache, log4php, the Apache feather logo, the Apache Logging
Services project logo and the Built by 
 			Maven logo are trademarks of The Apache Software Foundation.</p>
-			<p>Site powered by <a target="_blank" href="http://twitter.github.com/bootstrap/">Twitter
Bootstrap</a>. Icons from 
-			<a target="_blank" href="http://glyphicons.com/">Glyphicons Free</a>.</p>
+			<p>Site powered by <a class="external" href="http://twitter.github.com/bootstrap/">Twitter
Bootstrap</a>. Icons from 
+			<a class="external" href="http://glyphicons.com/">Glyphicons Free</a>.</p>
 		</div>
 	</body>
 </html>

Modified: logging/log4php/trunk/src/site/xdoc/changelog.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/changelog.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/changelog.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/changelog.xml Sun Aug 19 15:47:51 2012
@@ -105,7 +105,7 @@
 					<li>Appenders will use a default layout if no layout is specified in configuration.</li>
 					<li>The <a href="docs/layouts/xml.html">XML layout</a> has been extended
to include MDC data.</li>
 					<li>Improved documentation to include more XML and PHP configuration examples.</li>
-					<li>New web site appearance (powered by the <a class="externalLink" target="_blank"

+					<li>New web site appearance (powered by the <a class="external" 
 						href="http://twitter.github.com/bootstrap/">Bootstrap toolkit</a>).</li>
 				</ul>
 				

Modified: logging/log4php/trunk/src/site/xdoc/docs/appenders/echo.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/appenders/echo.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/appenders/echo.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/appenders/echo.xml Sun Aug 19 15:47:51 2012
@@ -26,8 +26,8 @@
 		<section name="LoggerAppenderEcho">
 		
 			<p><code>LoggerAppenderEcho</code> writes logging events using PHP's

-			<code><a class="externalLink" target="_blank" href="http://php.net/manual/en/function.echo.php">echo()</a>
-			</code> function. Echo outputs may be buffered.</p>
+			<code><a class="external" href="http://php.net/manual/en/function.echo.php">echo()</a></code>
function. 
+			Echo outputs may be buffered.</p>
 		
 			<subsection name="Layout">
 				<p>This appender requires a layout. If no layout is specified in configuration,


Modified: logging/log4php/trunk/src/site/xdoc/docs/appenders/firephp.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/appenders/firephp.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/appenders/firephp.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/appenders/firephp.xml Sun Aug 19 15:47:51 2012
@@ -26,11 +26,11 @@
 		<section name="LoggerAppenderFirePHP">
 		
 			<p><code>LoggerAppenderFirePHP</code> logs events via the 
-				<a href="http://www.firephp.org/" target="_blank">FirePHP</a> serverside
library. The messages are 
-				logged in HTTP headers and can be viewed using the <a target="_blank" 
+				<a href="http://www.firephp.org/" class="external">FirePHP</a> serverside
library. The messages are 
+				logged in HTTP headers and can be viewed using the <a class="external" 
 				href="http://developercompanion.com/">Developer compainion</a> plugin for Firefox.</p>
 		
-			<p>Requires the FirePHP server-side library 1.0 or greater. Download it from <a
target="_blank" 
+			<p>Requires the FirePHP server-side library 1.0 or greater. Download it from <a
class="external" 
 				href="http://sourcemint.com/github.com/firephp/firephp/1:1.0.0b1rc6/-docs/Welcome">here</a>.</p>
 				
 			<div class="alert">

Modified: logging/log4php/trunk/src/site/xdoc/docs/appenders/mongodb.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/appenders/mongodb.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/appenders/mongodb.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/appenders/mongodb.xml Sun Aug 19 15:47:51 2012
@@ -27,7 +27,7 @@
 		
 			<p><code>LoggerAppenderMongoDB</code> appends log events to a mongoDB
instance.</p>
 			
-			<p><a href="http://www.mongodb.org/" target="_blank" class="externalLink">MongoDB</a>
is a scalable, 
+			<p><a href="http://www.mongodb.org/" class="external">MongoDB</a> is
a scalable, 
 			high-performance, open source, document-oriented database.</p>
 		
 			<subsection name="Layout">

Modified: logging/log4php/trunk/src/site/xdoc/docs/appenders/pdo.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/appenders/pdo.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/appenders/pdo.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/appenders/pdo.xml Sun Aug 19 15:47:51 2012
@@ -26,7 +26,7 @@
 		<section name="LoggerAppenderPDO">
 		
 			<p><code>LoggerAppenderPDO</code> appender logs to a database using
the PHP's 
-			<a href="http://php.net/manual/en/book.pdo.php" target="_blank" class="externalLink">PDO
extension</a>.</p>
+			<a href="http://php.net/manual/en/book.pdo.php" class="external">PDO extension</a>.</p>
 		
 			<subsection name="Layout">
 				<p>This appender does not require a layout.</p>
@@ -106,25 +106,24 @@
 						<tr>
 							<th>MySQL</th>
 							<td><code>mysql:host=localhost;dbname=logdb</code></td>
-							<td><a href="http://php.net/manual/en/ref.pdo-mysql.connection.php" class="externalLink">full
reference</a> </td>
+							<td><a href="http://php.net/manual/en/ref.pdo-mysql.connection.php" class="external">full
reference</a> </td>
 						</tr>
 						<tr>
 							<th>SQLite</th>
 							<td><code>sqlite:/path/to/log.db</code></td>
-							<td><a href="http://php.net/manual/en/ref.pdo-sqlite.connection.php" class="externalLink">full
reference</a> </td>
+							<td><a href="http://php.net/manual/en/ref.pdo-sqlite.connection.php" class="external">full
reference</a> </td>
 						</tr>
 						<tr>
 							<th>PostgreSQL </th>
 							<td><code>pgsql:host=localhost;port=5432</code></td>
-							<td><a href="http://php.net/manual/en/ref.pdo-pgsql.connection.php" class="externalLink">full
reference</a> </td>
+							<td><a href="http://php.net/manual/en/ref.pdo-pgsql.connection.php" class="external">full
reference</a> </td>
 						</tr>
 					</tbody>
 				</table>
 				
 				<p>For other available database drivers and corresponding DSN format, please see
the 
-				<a href="http://www.php.net/manual/en/pdo.drivers.php" target="_blank" class="externalLink">PDO

-				driver documentation</a>.</p>
-
+				<a href="http://www.php.net/manual/en/pdo.drivers.php" class="external">PDO driver
documentation</a>.
+				</p>
 			</subsection>
 			
 			<subsection name="Database table">

Modified: logging/log4php/trunk/src/site/xdoc/docs/appenders/php.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/appenders/php.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/appenders/php.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/appenders/php.xml Sun Aug 19 15:47:51 2012
@@ -26,8 +26,8 @@
 		<section name="LoggerAppenderPhp">
 		
 			<p><code>LoggerAppenderPhp</code> logs events by creating a PHP user-level
message using the PHP's
-			<code><a href="http://www.php.net/manual/en/function.trigger-error.php" target="_blank"

-			class="externalLink">trigger_error()</a></code>function.</p>
+			<code><a href="http://www.php.net/manual/en/function.trigger-error.php" 
+			class="external">trigger_error()</a></code>function.</p>
 		
 			<p>The message type depends on the event's severity level:</p>
 			<ul>

Modified: logging/log4php/trunk/src/site/xdoc/docs/appenders/socket.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/appenders/socket.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/appenders/socket.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/appenders/socket.xml Sun Aug 19 15:47:51 2012
@@ -54,8 +54,8 @@
 							<td><strong>Yes</strong></td>
 							<td>-</td>
 							<td>Target host. On how to define a remote hostname see <code>
-							<a href="http://php.net/manual/en/function.fsockopen.php" class="externalLink"

-							target="_blank">fsockopen()</a></code> documentation. </td>
+							<a href="http://php.net/manual/en/function.fsockopen.php" class="external">fsockopen()</a>
+							</code> documentation. </td>
 						</tr>
 						<tr>
 							<td>port</td>

Modified: logging/log4php/trunk/src/site/xdoc/docs/layouts/pattern.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/docs/layouts/pattern.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/docs/layouts/pattern.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/docs/layouts/pattern.xml Sun Aug 19 15:47:51 2012
@@ -57,7 +57,7 @@
 				events. It controls how logging events will be transformed into strings by the layout.</p>
 			
 				<p>The conversion pattern is closely related to the conversion pattern of the 
-				<a href="http://www.cplusplus.com/reference/clibrary/cstdio/printf" target="_blank">printf</a>

+				<a href="http://www.cplusplus.com/reference/clibrary/cstdio/printf" class="external">printf</a>

 				function in C(++). It is composed of literal text and format control expressions called
<em>conversion 
 				specifiers</em>.</p>
 				
@@ -169,7 +169,7 @@
     						<td>
     							<p>The date/time of the logging event. Accepts a pattern string as an option.
The 
     							pattern syntax is the same as used by the PHP's <code><a href="http://php.net/manual/en/function.date.php"

-    							target="_blank" class="externalLink">date()</a></code> function.</p>
+    							class="external">date()</a></code> function.</p>
     							
     							<p>If no pattern is given, the date format will default to the ISO8601 datetime
format,
     							which is the same as giving the pattern: <code>c</code>.</p>

Modified: logging/log4php/trunk/src/site/xdoc/privacy.xml
URL: http://svn.apache.org/viewvc/logging/log4php/trunk/src/site/xdoc/privacy.xml?rev=1374775&r1=1374774&r2=1374775&view=diff
==============================================================================
--- logging/log4php/trunk/src/site/xdoc/privacy.xml (original)
+++ logging/log4php/trunk/src/site/xdoc/privacy.xml Sun Aug 19 15:47:51 2012
@@ -36,9 +36,9 @@
 			</ul>
 
 			<p>Part of this information is gathered using a tracking cookie set by the 
-			<a href="http://www.google.com/analytics" class="externalLink" target="_blank">Google
Analytics</a> service 
-			and handled by Google as described in their 
-			<a href="http://www.google.com/privacy.html" class="externalLink" target="_blank">privacy
policy</a>. 
+			<a href="http://www.google.com/analytics" class="external">Google Analytics</a>
service and handled by 
+			Google as described in their 
+			<a href="http://www.google.com/privacy.html" class="external">privacy policy</a>.

 			See your browser documentation for instructions on how to disable the cookie if you prefer
not to share 
 			this data with Google.</p>
 



Mime
View raw message