Revision: 1540
Author: magike.net
Date: Wed Mar 28 02:35:15 2012
Log: delete something
http://code.google.com/p/typecho/source/detail?r=1540
Deleted:
/branches/0.9-dev/mockup/001.php
/branches/0.9-dev/mockup/002.php
/branches/0.9-dev/mockup/003.php
/branches/0.9-dev/mockup/004.php
/branches/0.9-dev/mockup/005.php
/branches/0.9-dev/mockup/006.php
/branches/0.9-dev/mockup/007.php
/branches/0.9-dev/mockup/008.php
/branches/0.9-dev/mockup/010.php
/branches/0.9-dev/mockup/011.php
/branches/0.9-dev/mockup/012.php
/branches/0.9-dev/mockup/013.php
/branches/0.9-dev/mockup/014.php
/branches/0.9-dev/mockup/015.php
/branches/0.9-dev/mockup/016.php
/branches/0.9-dev/mockup/css
/branches/0.9-dev/mockup/images
/branches/0.9-dev/mockup/index.html
/branches/0.9-dev/mockup/javascript
/branches/0.9-dev/mockup/mockup
/branches/0.9-dev/mockup/slice
/branches/0.9-dev/usr/plugins/Akismet
/branches/0.9-dev/usr/plugins/BlockComment
/branches/0.9-dev/usr/plugins/ConnectToTwitter
/branches/0.9-dev/usr/plugins/Creole
/branches/0.9-dev/usr/plugins/FlashMp3Player
/branches/0.9-dev/usr/plugins/GoogleCodePrettify
/branches/0.9-dev/usr/plugins/GoogleCodeSVN
/branches/0.9-dev/usr/plugins/HelloWorld
/branches/0.9-dev/usr/plugins/MagikeToTypecho
/branches/0.9-dev/usr/plugins/PageToLinks.php
/branches/0.9-dev/usr/plugins/PostToQzone
/branches/0.9-dev/usr/plugins/SaeUpload
/branches/0.9-dev/usr/plugins/ShareCode
/branches/0.9-dev/usr/plugins/SimpleCode.php
/branches/0.9-dev/usr/plugins/Textile2
/branches/0.9-dev/usr/plugins/TinyMCE
/branches/0.9-dev/usr/plugins/WordpressToTypecho
/branches/0.9-dev/usr/plugins/ZenCoding
/branches/0.9-dev/usr/plugins/index.php
=======================================
--- /branches/0.9-dev/mockup/001.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/002.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,3 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/003.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<div class="body body-950">
- <div class="container">
- <?php include 'slice/typecho-login.inc.html'; ?>
- </div>
-</div>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/004.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-install-path.inc.html'; ?>
-<div class="body body-950">
- <div class="container">
- <div class="column-14 start-06 typecho-install">
- <h1 class="typecho-install-title">安装成功!</h1>
- <?php include 'slice/typecho-install-success.inc.html'; ?>
- </div>
- </div>
-</div>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/005.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<div class="body body-950">
- <div class="container">
- <?php include 'slice/typecho-login-v2.inc.html'; ?>
- </div>
-</div>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/006.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <div class="container typecho-page-main">
- <div class="column-24 start-01">
- <?php include 'slice/typecho-option-tabs.inc.html'; ?>
- <?php include 'slice/typecho-thumb-list.inc.html'; ?>
- </div>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/007.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-install-path.inc.html'; ?>
-<div class="body body-950">
- <div class="container">
- <div class="column-14 start-06 typecho-install">
- <h1 class="typecho-install-title">确认您的配置</h1>
- <?php include 'slice/typecho-install-option.inc.html'; ?>
- <p class="submit"><button>确认,开始安装</button></p>
- </div>
- </div>
-</div>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/008.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <?php include 'slice/typecho-page-option.inc.html'; ?>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/010.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<div class="typecho-popup">
- <div class="typecho-popup-content">
- <div class="typecho-view-comment">
- <ul>
- <li><label>Name</label><input type="text" value="admin"
/></li>
- <li><label>Email</label><input type="text"
value="[email protected]" /></li>
- <li><label>Name</label><input type="text"
value="http://www.typecho.net" /></li>
- </ul>
- <h4>Mesage</h4>
- <textarea cols="30" rows="10"></textarea>
- <p class="status">
- Comment at <em>10 Mar 2009 4:53:23AM</em> form IP <a
href="#">127.0.0.1</a> <a href="#" class="ban">Ban?</a>
- </p>
- </div>
- <div class="submit">
- <button>保存修改</button>
- <button>关闭</button>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <div class="container typecho-page-main">
- <?php include 'slice/typecho-list-table.inc.html'; ?>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/011.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <div class="container typecho-page-main">
- <?php include 'slice/typecho-list-table.inc.html'; ?>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/012.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-install-path.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <div class="container">
- <div class="column-14 start-06 typecho-install">
- <h1 class="typecho-install-title">开始安装</h1>
- <?php include 'slice/typecho-install-body.inc.html'; ?>
- <p class="submit"><button>我同意,并准备好了</button></p>
- </div>
- </div>
- </div>
-</div>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/013.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,19 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <div class="container typecho-page-main">
- <div class="column-24 start-01">
-
- <div class="typecho-post-option">
- <?php include 'slice/typecho-post-area.inc.html'; ?>
- <?php include 'slice/typecho-option-tabs.inc.html'; ?>
- <?php
include 'slice/typecho-post-option-content.inc.html'; ?>
- </div>
- </div>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/014.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <div class="container typecho-page-main">
- <div class="column-24 start-01">
- <?php include 'slice/typecho-option-tabs.inc.html'; ?>
- <?php include 'slice/typecho-edit-theme.inc.html'; ?>
- </div>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/015.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php include 'slice/header.inc.html'; ?>
-<?php include 'slice/typecho-head-guid.inc.html'; ?>
-<div class="main">
- <div class="body body-950">
- <?php include 'slice/typecho-page-title.inc.html'; ?>
- <div class="container typecho-page-main">
- <?php include 'slice/typecho-dashboard-left.inc.html'; ?>
- <?php include 'slice/typecho-dashboard-main.inc.html'; ?>
- <?php include 'slice/typecho-dashboard-right.inc.html'; ?>
- </div>
- </div>
-</div>
-<?php include 'slice/typecho-foot.inc.html'; ?>
-<?php include 'slice/footer.inc.html'; ?>
=======================================
--- /branches/0.9-dev/mockup/016.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,60 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Error</title>
-
- <style type="text/css">
- body {
- background: #f7fbe9;
- font-family: "Lucida Grande","Lucida Sans
Unicode",Tahoma,Verdana;
- }
-
- #error {
- background: #333;
- width: 360px;
- margin: 0 auto;
- margin-top: 100px;
- color: #fff;
- padding: 10px;
-
- -moz-border-radius-topleft: 4px;
- -moz-border-radius-topright: 4px;
- -moz-border-radius-bottomleft: 4px;
- -moz-border-radius-bottomright: 4px;
- -webkit-border-top-left-radius: 4px;
- -webkit-border-top-right-radius: 4px;
- -webkit-border-bottom-left-radius: 4px;
- -webkit-border-bottom-right-radius: 4px;
-
- border-top-left-radius: 4px;
- border-top-right-radius: 4px;
- border-bottom-left-radius: 4px;
- border-bottom-right-radius: 4px;
- }
-
- h1 {
- padding: 10px;
- margin: 0;
- font-size: 36px;
- }
-
- p {
- padding: 0 20px 20px 20px;
- margin: 0;
- }
-
- img {
- padding: 0 0 5px 260px;
- }
- </style>
-</head>
-<body>
- <div id="error">
- <h1>404</h1>
- <p>There is an error</p>
- <img src="../index.php?464D-E63E-9D08-97E2-16DD-6A37-BDEC-6021" />
- </div>
-</body>
-</html>
=======================================
--- /branches/0.9-dev/mockup/index.html Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"
/>
- <title>Typecho 静态模板</title>
- </head>
- <body>
- <h1>Typecho 静态模板</h1>
- <p>版本:$Id: index.html 541 2008-10-21 14:22:21Z i.feelinglucky
$</p>
- <h2>安装</h2>
- <ol>
- <li><a href="mockup/012.png">原型</a> <a
href="012.php?bright">简述[已完成]</a></li>
- <li><a href="mockup/007.png">原型</a> <a
href="007.php?bright">配置[已完成]</a></li>
- <li><a href="mockup/004.png">原型</a> <a
href="004.php?bright">安装成功[已完成]</a></li>
- </ol>
-
- <h2>后台</h2>
- <ol>
- <li><a href="mockup/003.png">原型</a> <a href="003.php">登录页
1[已完成]</a></li>
- <!--
- <li><del><a href="mockup/005.png">原型</a> <a href="005.php">登
录页2[废弃]</a></del></li>
- -->
- <li><a href="mockup/015.png">原型</a> <a href="015.php">主页[已
完成]</a></li>
- <li><a href="mockup/011.png">原型</a> <a href="011.php">列表[已
完成]</a></li>
- <li><a href="mockup/010.png">原型</a> <a href="010.php">遮层[已
完成]</a></li>
- <li><a href="mockup/013.png">原型</a> <a href="013.php">撰写[已
完成]</a></li>
- <li><a href="mockup/008.png">原型</a> <a href="008.php">配置[已
完成]</a></li>
- <li><a href="mockup/006.png">原型</a> <a href="006.php">模板[已
完成]</a></li>
- <li><a href="mockup/014.png">原型</a> <a href="014.php">编辑模
板[已完成]</a></li>
- </ol>
-
- <h2>结构</h2>
- <ol>
- <li><a href="mockup/001.png">原型</a> <a href="001.php">菜单[已
完成]</a></li>
- <li><a href="mockup/002.png">原型</a> <a href="002.php">脚注[已
完成]</a> <a href="002.php?v2">脚注2[已完成]</a>
- </li>
- <li><a href="mockup/009.png">原型</a> <a href="#">汇总</a></li>
- </ol>
- </body>
-</html>
=======================================
--- /branches/0.9-dev/usr/plugins/PageToLinks.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,87 +0,0 @@
-<?php
-/**
- * 将页面转化为友情链接列表的插件
- *
- * @package Page To Links
- * @author qining
- * @version 1.0.0
- * @link http://typecho.org
- */
-class PageToLinks implements Typecho_Plugin_Interface
-{
- /**
- * 激活插件方法,如果激活失败,直接抛出异常
- *
- * @access public
- * @return void
- * @throws Typecho_Plugin_Exception
- */
- public static function activate(){}
-
- /**
- * 禁用插件方法,如果禁用失败,直接抛出异常
- *
- * @static
- * @access public
- * @return void
- * @throws Typecho_Plugin_Exception
- */
- public static function deactivate(){}
-
- /**
- * 获取插件配置面板
- *
- * @access public
- * @param Typecho_Widget_Helper_Form $form 配置面板
- * @return void
- */
- public static function config(Typecho_Widget_Helper_Form $form){}
-
- /**
- * 个人用户的配置面板
- *
- * @access public
- * @param Typecho_Widget_Helper_Form $form
- * @return void
- */
- public static function personalConfig(Typecho_Widget_Helper_Form
$form){}
-
- /**
- * 解析并输出
- *
- * @access public
- * @param string $slug 页面标题
- * @param string $tag 标题的html tag
- * @param string $listTag 列表的html tag
- * @return void
- */
- public static function output($slug = 'links', $tag = 'h2', $listTag
= 'ul')
- {
- /** 获取数据库支持 */
- $db = Typecho_Db::get();
-
- /** 获取文本 */
- $contents =
$db->fetchObject($db->select('text')->from('table.contents')
- ->where('slug = ?', $slug)->limit(1));
-
- if (!$contents) {
- return;
- }
-
- $text = $contents->text;
- $cats = preg_split("/<\/(ol|ul)>/i", $text);
-
- foreach ($cats as $cat) {
- $item = trim($cat);
-
- if ($item) {
- $matches = array_map('trim', preg_split("/<(ol|
ul)[^>]*>/i", $item));
- if (2 == count($matches)) {
- list ($title, $list) = $matches;
- echo "<$tag>" . strip_tags($title) . "</$tag>";
- echo "<$listTag>" . $list . "</$listTag>";
- }
- }
- }
- }
-}
=======================================
--- /branches/0.9-dev/usr/plugins/SimpleCode.php Wed Mar 28 02:26:36 2012
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php
-/**
- * 解析内容源代码中的code串
- *
- * @package Simple Code
- * @author qining
- * @version 1.0.2
- * @dependence 9.9.2-*
- * @link http://typecho.org
- */
-class SimpleCode implements Typecho_Plugin_Interface
-{
- /**
- * 激活插件方法,如果激活失败,直接抛出异常
- *
- * @access public
- * @return void
- * @throws Typecho_Plugin_Exception
- */
- public static function activate()
- {
- Typecho_Plugin::factory('Widget_Abstract_Contents')->contentEx =
array('SimpleCode', 'parse');
- Typecho_Plugin::factory('Widget_Abstract_Contents')->excerptEx =
array('SimpleCode', 'parse');
- Typecho_Plugin::factory('Widget_Abstract_Comments')->contentEx =
array('SimpleCode', 'parse');
- }
-
- /**
- * 禁用插件方法,如果禁用失败,直接抛出异常
- *
- * @static
- * @access public
- * @return void
- * @throws Typecho_Plugin_Exception
- */
- public static function deactivate(){}
-
- /**
- * 获取插件配置面板
- *
- * @access public
- * @param Typecho_Widget_Helper_Form $form 配置面板
- * @return void
- */
- public static function config(Typecho_Widget_Helper_Form $form){}
-
- /**
- * 个人用户的配置面板
- *
- * @access public
- * @param Typecho_Widget_Helper_Form $form
- * @return void
- */
- public static function personalConfig(Typecho_Widget_Helper_Form
$form){}
-
- /**
- * 解析
- *
- * @access public
- * @param array $matches 解析值
- * @return string
- */
- public static function parseCallback($matches)
- {
- return highlight_string(trim($matches[2]), true);
- }
-
- /**
- * 插件实现方法
- *
- * @access public
- * @return void
- */
- public static function parse($text, $widget, $lastResult)
- {
- $text = empty($lastResult) ? $text : $lastResult;
-
- if ($widget instanceof Widget_Archive || $widget instanceof
Widget_Abstract_Comments) {
- return
preg_replace_callback("/<code(\s*[^>]*)>(.*?)<\/code>/is",
array('SimpleCode', 'parseCallback'), $text);
- } else {
- return $text;
- }
- }
-}
_______________________________________________
announce mailing list
[email protected]
http://lists.typecho.org/mailman/listinfo/announce