[pLog-svn] r7006 - misc/lifetype.net-template-sources/template
jondaley at devel.lifetype.net
jondaley at devel.lifetype.net
Fri Jul 30 21:09:45 EDT 2010
Author: jondaley
Date: 2010-07-30 21:09:45 -0400 (Fri, 30 Jul 2010)
New Revision: 7006
Removed:
misc/lifetype.net-template-sources/template/index_lt.html
misc/lifetype.net-template-sources/template/svnupdate.php
Log:
unused stuff
Deleted: misc/lifetype.net-template-sources/template/index_lt.html
===================================================================
--- misc/lifetype.net-template-sources/template/index_lt.html 2010-07-30 22:53:09 UTC (rev 7005)
+++ misc/lifetype.net-template-sources/template/index_lt.html 2010-07-31 01:09:45 UTC (rev 7006)
@@ -1,184 +0,0 @@
-<html>
-<head>
-<title>LifeType - OpenSource Blogging Platform</title>
-
-<!-- Meta Tags -->
- <meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
- <meta http-equiv="Content-Language" content="de">
- <meta name="description" content="OpenSource Blogging Platform">
- <meta name="keywords" content="pLog,blog,blogging,weblog">
- <meta name="robots" content="all">
-
-<!-- <link rel="shortcut icon" href="favicon.ico" type="image/x-icon"> -->
-
-<!-- CSS -->
-
-<style>
-TD {font-family: tahoma; font-size: 11px;}
-A {font-family: tahoma; font-size: 11px;font:900;color:000000;text-decoration:none}
-A:visited {color:000000}
-A:hover {color:red;}
-
-a.blue{color:6696CE;font:100;text-decoration:none}
-a.blue:visited{color:6696CE;}
-a.blue:hover{color:red}
-
-a.black{color:000000;font:100;text-decoration:none}
-a.black:visited{color:000000;}
-a.black:hover{color:red}
-
-.bold{font:900}
-.right{font-size:12px;font-family:verdana}
-
-.login_button {
- border: 1px solid #000000;
- font-family: Verdana, Arial, Helvetica, sans-serif;
- font-size: 11px;
- padding: 1px;
- background-color: #FFFFFF;
-</style>
-
-<script language="JavaScript">
-<!--
-function MM_swapImgRestore() { //v3.0
- var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
-}
-
-function MM_preloadImages() { //v3.0
- var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
- var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
- if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
-}
-
-function MM_findObj(n, d) { //v4.0
- var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
- d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
- if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
- for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
- if(!x && document.getElementById) x=document.getElementById(n); return x;
-}
-
-function MM_swapImage() { //v3.0
- var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
- if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
-}
-//-->
-</script>
-</head>
-<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0" onLoad="MM_preloadImages('images/b1.jpg','images/b2.jpg','images/b3.jpg','images/b4.jpg','images/b5.jpg','images/b6.jpg')">
- <table border="0" cellpadding="0" cellspacing="0" width="60%" align="center">
-
- <tr>
- <td colspan="3" width="750" height="50"></td>
- </tr>
-
- <tr>
- <td width="750" height="1" bgcolor="#E5E5E5" colspan="3"><img src="images/spacer.gif" border="0" width="1" height="5" alt=""></td>
- </tr>
-
-
-
- <tr>
- <td width="265" height="93">
- <img src="images/LifeType_Logo_left2.gif" width="265" height="75" border="0" style="margin-left:-6px; margin-top:20px" alt="" />
- </td>
- <td rowspan="2" colspan="2" width="721">
- <img src="images/pflanze_lt.jpg" usemap="#Map" alt="" height="339" width="483" border="0">
- </td>
- </tr>
-
- <tr>
- <td width="265">
- <table width="100%" border="0" cellspacing="0" cellpadding="1" style="margin-top: 0px">
- <tr>
- <td>
- <p align="justify">
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sagittis orci ut dolor. Pellentesque
- vestibulum. Curabitur fringilla lorem nec odio. Sed id lacus eget tortor aliquet semper.
- In ac tellus a sem pellentesque tempor.<br /><br />
- <a href="http://www.lifetype.de/blog/index.php?blogId=34">Hyperlink goes here <img src="images/small.jpg" align="absbottom" border="0" width="11" height="10" alt=""></a></p>
- </td>
- </tr>
- </table>
-
- </td>
- </tr>
-
- <tr>
- <td colspan="3" width="750"><a href="http://www.lifetype.de/blog/index.php?blogId=34" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image10','','images/b1.jpg',1)"><img name="Image10" border="0" src="images/b1.jpg" width="118" height="35"></a><a href="http://www.lifetype.de/blog/index.php?blogId=36" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image11','','images/b2.jpg',1)"><img name="Image11" border="0" src="images/b2.jpg" width="126" height="35"></a><a href="http://www.lifetype.de/blog/index.php?blogId=37" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image12','','images/b3.jpg',1)"><img name="Image12" border="0" src="images/b3.jpg" width="118" height="35"></a><a href="http://www.lifetype.de/blog/index.php?blogId=38" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image13','','images/b4.jpg',1)"><img name="Image13" border="0" src="images/b4.jpg" width="148" height="35"></a><a href="http://www.lifetype.de/blog/inde
x.php?blogId=39" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image14','','images/b5.jpg',1)"><img name="Image14" border="0" src="images/b5.jpg" width="121" height="35"></a><a href="http://www.lifetype.de/blog/index.php?blogId=35" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Image15','','images/b6.jpg',1)"><img name="Image15" border="0" src="images/b6.jpg" width="119" height="35"></a></td>
- <td width="100%" background="images/tiling4.gif"></td>
- </tr>
- <tr>
- <td width="265"><img src="images/text1.jpg" border="0" width="267" height="73" alt=""></td>
- <td width="245"><img src="images/text2.jpg" border="0" width="245" height="73" alt=""></td>
- <td width="238"><img src="images/text3.jpg" border="0" width="238" height="73" alt=""></td>
- <td width="100%" background="images/tiling5.gif"></td>
- </tr>
-
- <tr style="padding-bottom:30">
- <td width="265" style="padding-left:70;padding-right:20" background="images/back_left.jpg"><p align="justify">
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sagittis orci ut dolor. Pellentesque vestibulum.
- Curabitur fringilla lorem nec odio. Sed id lacus eget tortor aliquet semper. In ac tellus a sem pellentesque
- tempor.<br/><br/>
- <a href="http://www.lifetype.de/blog/index.php?blogId=34">Hyperlink goes here
- <img src="images/small.jpg" align="absbottom" border="0" width="11" height="10" alt=""></a></p></td>
-
- <td background="images/back_center.jpg"width="245" style="padding-left:40;padding-right:20">
- <p align="justify">
- Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sagittis orci ut dolor.
- Pellentesque vestibulum. Curabitur fringilla lorem nec odio. Sed id lacus eget tortor aliquet semper.
- In ac tellus a sem pellentesque tempor.<br/><br/><br/>
- <a href="http://www.lifetype.de/blog/index.php?blogId=34">Hyperlink goes here
- <img src="images/small.jpg" align="absbottom" border="0" width="11" height="10" alt=""></a></p></td>
-
- <td background="images/back_right.jpg" width="238" style="padding-left:40;padding-right:20">
- <p align="justify">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sagittis orci ut dolor.
- Pellentesque vestibulum. Curabitur fringilla lorem nec odio. Sed id lacus eget tortor aliquet semper.
- 1In ac tellus a sem pellentesque tempor.<br /><br />
- <a href="http://www.lifetype.de/blog/index.php?blogId=34">Hyperlink goes here
- <img src="images/small.jpg" align="absbottom" border="0" width="11" height="10" alt=""></a></p></td>
-
- <td width="100%"></td>
- </tr>
-
- <tr>
- <td colspan="3" width="750" height="40"></td>
- <td width="100%"></td>
- </tr>
-
- <tr>
- <td width="750" height="1" bgcolor="#E5E5E5" colspan="3">
- <img src="images/spacer.gif" border="0" width="1" height="1" alt="">
- </td>
- <td width="100%"></td>
- </tr>
- <tr>
- <td width="238" height="50" align="left">© 2010 <a href="http://www.lifetype.de" class="black">LifeType</a>.
- All rights reserved.
- </td>
- <td width="272" align="center">
- <a href="http://www.lifetype.org/" class="black">International</a> |
- <a href="http://www.lifetype.de/" class="black">Germany</a> |
- <a href="http://www.lifetype.org.tw/" class="black">Taiwan</a>
- </td>
- <td width="240" align="right">
- <a href="http://www.spreadshirt.de/shop.php?sid=36983" target="blank" class="black">Shop</a> |
- <a href="http://www.lifetype.de/blog/index.php?blogId=35" class="black">Spenden</a> |
- <a href="http://www.lifetype.de/blog/index.php?blogId=35" class="black">Impressum</a> |
- <a href="http://www.lifetype.de/blog/index.php?blogId=35" class="black">Kontakt</a>
- </td>
- <td width="100%" height="50"></td>
- </tr>
-</table>
-
- <map name="Map">
- <area shape="rect" coords="240,71,292,86" href="http://www.lifetype.de/blog/index.php?blogId=39" alt="Weblog">
- <area shape="rect" coords="118,106,149,120" href="http://www.lifetype.de/blog/index.php?blogId=39" alt="RSS">
- <area shape="rect" coords="63,156,123,171" href="http://www.lifetype.de/blog/index.php?blogId=39" alt="Blogroll">
- <area shape="rect" coords="374,51,442,66" href="http://www.lifetype.de/blog/index.php?blogId=39" alt="Permalink">
- <area shape="rect" coords="347,204,401,219" href="http://www.lifetype.de/blog/index.php?blogId=39" alt="Moblog">
- <area shape="rect" coords="223,14,329,29" href="http://www.lifetype.de/blog/index.php?blogId=39" alt="Ping & Trackback">
- <area shape="rect" coords="245,251,470,311" href="http://www.lifetype.de/blog/index.php?blogId=34" alt="State-of-the-art Blogging Solutions">
- </map>
- </body>
-</html>
Deleted: misc/lifetype.net-template-sources/template/svnupdate.php
===================================================================
--- misc/lifetype.net-template-sources/template/svnupdate.php 2010-07-30 22:53:09 UTC (rev 7005)
+++ misc/lifetype.net-template-sources/template/svnupdate.php 2010-07-31 01:09:45 UTC (rev 7006)
@@ -1,97 +0,0 @@
-<?php
-
-umask(022);
-
-$dirs[] = "/home/lifetype/www/templates/LifeType/";
-
-
-// did someone hit the update button?
-if(isset($_POST["update"])){
- $locallyModified = checkSvnStatus(false, true, $dirs);
- if(!$locallyModified){
- print "You might know what you are doing, but I'll assume you don't
- and take the safe route and not do anything since there are
- locally modified files.<br/><br/><br/>";
- }
- else{
- svnUpdate(true, $dirs);
- }
-
-}
-
-$check = checkSvnStatus(true, false, $dirs);
-
-if($check){
- print "Everything is up to date<br/>";
-}
-else{
- print "<form action='svnupdate.php' method='POST'>
- <input type='submit' name='update' value='Update'></form>";
-}
-
-
-function svnUpdate($print, $dirs){
- $success = true;
-
- if($print){
- print "Updating...<br/>";
- }
- foreach($dirs as $dir){
- $cmd = "svn up $dir";
- if($print)
- print "$dir<br/>";
- unset($output); unset($ret);
- exec($cmd, $output, $ret);
- if($ret){
- if($print){
- print "Error: $ret!";
- }
- $success = false;
- }
- if(count($output) == 0)
- $success = false;
- if($print){
- foreach($output as $line){
- print $line."<br/>";
- }
- print "<br/>";
- }
- }
- return $success;
-}
-
-function checkSvnStatus($print, $localOnly, $dirs){
- $success = true;
-
- $cmd = "svn status";
- if(!$localOnly)
- $cmd .= " -u";
-
- foreach($dirs as $dir){
- if($print)
- print "$dir<br/>";
- unset($output);
- exec($cmd." ".$dir, $output, $ret);
- if($ret){
- if($print){
- print "Error: $ret!";
- }
- $success = false;
- }
- if(count($output) != ($localOnly ? 0 : 1))
- $success = false;
- if($print){
- print "<pre>";
- foreach($output as $line){
- print $line."\n";
- }
- print "</pre>";
- print "<br/>";
- }
- }
- return $success;
-}
-
-
-?>
-
More information about the pLog-svn
mailing list