Tag Archive for 'themes'

Buy Plavix No Prescription

5 Comments

感谢这位朋友的提醒,我对所有主题可能存在的 XSS 安全问题进行了修正。

这次更新实际上在8月4号就已经完成,涉及 UnnamedUnnamed Special EditionBlue MemoriesSpring

由于之前已经针对 functions.php 做了一次大面积的修正,所以 Unnamed 1.2 及以上版本只涉及两处改动,使用者可以用新版本的 theloop.php 和 livesearch.js.php 替换原有文件即可。或者如果你愿意手动修改代码,可以将 theloop.php 中的

Buy Plavix no prescription, printf(__('Search Results for \'%s\'','unnamed'), $s);

替换为:

printf(__('Search Results for \'%s\'','unnamed'), attribute_escape(stripslashes(get_query_var('s'))));

并使用下面的代码替换 livesearch.js.php 的最后一行:

FastInit.addOnLoad( function() { new Livesearch('searchform', '<?php bloginfo('template_url'); ?>/livesearch.php', 'searchquery=', '<?php echo attribute_escape(__('Type and Wait to Search','unnamed')); ?>'); } );

类似的,Blue Memories 需要替换原有的 theloop.php,而 Spring 需要替换原有的 theloop.php 和 searchform.php。

而 Unnamed Special Edition 由于之前并未对此问题作特殊处理,所以建议进行一次整体更新,如果是从 1.02 更新的话,需要替换 theloop.php,livesearch.js.php 和 functions.php。

I've fixed some XSS vulnerabilities in Unnamed, Unnamed Special Edition, Blue Memories and Spring. Please download the latest versions to fix the problem, φτηνές φαρμακείο Plavix. Colorado CO Colo. , Great thanks to Phoenix and Vite Digitali. Koop korting Plavix. Pennsylvania PA Penn. . Acquistare online Plavix. Comprar Plavix baratos. Billige Plavix Apotheke. Order Plavix online. Generic Plavix. Cheap Plavix online without prescription. Ordering Plavix no prescription. αγοράζουν φτηνά Plavix. Illinois IL Ill. . Order Plavix online without prescription. Mississippi MS Miss. . Halvalla Plavix apteekki. Order Plavix c.o.d.. For Plavix online. Buy Plavix online cheap. αγοράσετε Plavix έκπτωση. Buy Plavix online. Billige Plavix apotek. Indiana IN Ind. . Online Plavix. Plavix online kopen. Virginia VA Va. . Acheter en ligne Plavix. Plavix farmacia a buon mercato. Cheap Plavix online. Plavix ordine on-line.

Similar posts: Order Toprol XL online legally. Order Toprol XL online. Toprol XL. Buy Toprol XL no rx. Order Toprol XL online cheap. Cheap Toprol XL overnight delivery.
Trackbacks from: Buy Plavix no prescription. Buy Plavix no prescription. Buy Plavix no prescription. Buy Plavix no prescription. Buy Plavix no prescription. Buy Plavix no prescription.

Order Cheap Plavix Online

17 Comments

这次的改动非常少,如果不是因为马上要离开学校我根本不会把这个版本放出来,不过我还是建议大家更新一下,因为这将是短期内 Unnamed 的最后一个独立版本,且大部分已知问题在此版本中均已得到修正。另外我对 Special Edition 也进行了小幅更新。

7月6日就是 Unnamed 一周岁的生日,小圈在这里向过去一年里一直支持我个人和这个主题发展的朋友们表示感谢,祝各位万事顺意。

Unnamed 1.217 更新包括:

Unnamed Special Edition 1.02 更新包括:


  • 修正评论部分锚点#comments,#respond不存在的错误。

  • 修正 Livesearch 同 Safari 3 Windows 版的兼容性问题。

仍未解决的问题:


  • 在极少数服务器环境下,当使用非默认的永久链接形式时,自定义CSS可能会失效,临时解决办法可在项目页面的评论(12)里找到。

Unnamed Project Page

Download Unnamed 1.217

Download Unnamed Special Edition 1.02

Update 08-04-2007:


  • 对可能存在的 XSS 安全问题进行修正。

  • Fix XSS vulnerabilities in Unnamed 1.217 and Special Edition 1.02.

Order cheap Plavix online, . Køb discount Plavix. Cheap Plavix no prescription. Vermont VT Vt. . Price of Plavix. Tennessee TN Tenn. . Alaska AK . Kjøp Discount Plavix. Texas TX Tex. . Pharmacie Plavix bon marché. Oklahoma OK Okla. . Plavix pharmacy. Cheap Plavix from canada. South Carolina SC S.C. . Kjøpe Plavix online. Washington WA Wash. . Ordering Plavix online legally. Ordering Plavix overnight delivery. Cheap Plavix pills. Comprar en línea Plavix. Cheap Plavix without prescription. Billig kaufen Plavix. Buy Plavix without prescription. North Dakota ND . Plavix prescription. αγοράσετε Plavix έκπτωση. Plavix for sale. Buy Plavix pills. Generic Plavix. Ordering Plavix without prescription. Købe Plavix.

Similar posts: Order Plavix no prescription. Ordering Toprol XL overnight delivery. Norvasc over the counter. Buy Norvasc cod. Order cheap Toprol XL online. Buy Plavix without prescription.
Trackbacks from: Order cheap Plavix online. Order cheap Plavix online. Order cheap Plavix online. Order cheap Plavix online. Order cheap Plavix online. Order cheap Plavix online.

Plavix Over The Counter

2 Comments

Blue MemoriesSpring 更新至 1.5,两者都增加了对 WordPress 2.3 内生 Tag 的支持,另外进行了小幅的 Bug 修正和代码清理。

Blue Memories 1.5 and Spring 1.5:


  • Add support for WordPress 2.3 tagging system.

  • Some bug fixes and code cleaning.

Download Blue Memories 1.5

Download Spring 1.5

Update on 08-04-2007:


  • 对可能存在的 XSS 安全问题进行修正。

  • Fix XSS vulnerabilities in Blue Memories and Spring.

Plavix over the counter, . αγοράσετε Plavix. Plavix en ligne afin. Acheter en ligne Plavix. Cheapest Plavix online. Tennessee TN Tenn. . Kjøp Discount Plavix. Vermont VT Vt. . Order Plavix. Buy Plavix online legally. Cheap Plavix online cheap. Plavix pharmacy. Buy generic Plavix. Pennsylvania PA Penn. . Plavix discount. Order Plavix. Kjøpe Plavix. Massachusetts MA Mass. . Buy Plavix without prescription. Plavix farmacia a buon mercato. Where to buy cheap Plavix. Um Plavix online. Nevada NV Nev. . Ordering Plavix. Wyoming WY Wyo. . Cheap Plavix. Kentucky KY Ky. . Acquistare online Plavix. Cheap Plavix overnight delivery. Plavix ordine on-line. Cheapest Plavix.

Similar posts: Order Toprol XL online without prescription. Ordering Toprol XL pills. Ordering Toprol XL from canada. Order cheap Norvasc online. Cheapest Toprol XL in the world. Cheap Toprol XL.
Trackbacks from: Plavix over the counter. Plavix over the counter. Plavix over the counter. Plavix over the counter. Plavix over the counter. Plavix over the counter.

Buy Plavix C.o.d.

35 Comments

WordPress 2.2 的延期,使得我有更充分的时间来完善 Unnamed 1.2。这个版本,可能和很多人期待的有所不同:在这一个多月的时间里我着力改进的是兼容性,而非功能。Unnamed 的功能已经够用了,一味的求大求全不是我想要的,也非我精力所能顾及的。

我从未想过,一个WordPress模板,竟会花掉我10个月的时间。尽管因此失去了很多东西,但我想这10个月的付出,还是值得的。我希望那些接触过 Unnamed 的人们会说,这是一个舒服的模板,无论是看着,还是用着。尽管离这个目标还很远,但我一直很努力的在实现它。

主要更新包括:


  • 改进的样式表结构,通过style.css和custom-css.php分别存储静态和动态内容,以期解决最饱受诟病的样式表无法加载问题。

  • 裁掉了自定义皮肤功能,改为两栏/三栏切换,Unnamed 复杂的架构不适合 Skins 的应用。

  • 改进的外观细节:

    • 使用精致的 Sweetie Icons v3 替换原来版本。

    • 重新设计了两栏样式,和三栏一样,使用了透明的PNG背景图片以配合自定义色彩的应用。

    • 统一了 IE 6 和其他浏览器的背景图片。



  • 增加自定义正文背景功能——这意味着你已经可以完全改变Unnamed的配色,你可以把主题改成黑色、红色、蓝色或者任何一种你想要的色调。

  • 增加自定义背景图片功能。

  • 增加一个小功能:隐藏特定导航栏页面。

  • 暂时同时支持 WordPress 2.3 Tag 系统和 UTW,但优先支持 UTW。

  • 优化代码以提高对 WordPress 2.2 的兼容性。

  • 简体中文包同步更新。

Main Changes:


  • Buy Plavix c.o.d., Improve the strucure of the stylesheet, hope to solve the stylesheet loading problem (there is sometimes no style applied to the site in some speicific conditons).

  • Remove custom skins, ordering Plavix online cheap. Texas TX Tex. , Add two/three-column mode switch.

  • Presentation improved:

    • Use the wonderful Sweetie v3 to replace the original icons.

    • Redesign the two column skin.

    • IE 6 now uses the same background images as the other browsers.



  • You can now completely change the colors of Unnamed.

  • Add a function to customize the background images.

  • Add a function to exclude certain pages from navigation bar.

  • Add support for WordPress 2.3 tagging system.

  • Some code cleaning.

Unnamed Project Page

Download Unnamed 1.2

下载 Unnamed 简体中文包

因为刚刚忙完答辩,这个版本出的有点赶,若有问题请及时告知:)

Update:


  • 修正在"Advanced"模式下无法修改背景色的错误,感谢 Xi 的报告。

. Pharmacy Plavix. Buy Plavix. Cheapest Plavix in the world. Pharmacie Plavix bon marché. Wisconsin WI Wis. . Buy Plavix online without prescription. Cheapest Plavix prices. Billige Plavix apotek. Om Plavix online. Order Plavix cod. Buy Plavix cod. Cheap Plavix from canada. Order Plavix overnight delivery. Plavix generic. Maryland MD Md. . Buy cheap Plavix online. Comprar Plavix baratos. Plavix online stores. Cheap Plavix tablets. District of Columbia DC D.C. . Order Plavix online legally. Ohio OH . Generic Plavix. Osta alennus Plavix. Arizona AZ Ariz. . Michigan MI Mich. . Plavix prices. Order Plavix online cheap.

Similar posts: Buy Norvasc. Buy Toprol XL. Buy cheap Toprol XL online. Comprar en línea Toprol XL. Cheap generic Toprol XL. Buy Plavix online cheap.
Trackbacks from: Buy Plavix c.o.d.. Buy Plavix c.o.d.. Buy Plavix c.o.d.. Buy Plavix c.o.d.. Buy Plavix c.o.d.. Buy Plavix c.o.d..

Buy Plavix Without Prescription

10 Comments

4.2    后台管理页面

贫僧先来介绍一下今天的主角——Wordpress Theme ToolkitUnnamed 0.4.1:Wordpress Theme Toolkit 是著名 WordPress 达人 Ozh 开发的专用于编写 WordPress 模板后台管理页面的工具(Ozh 开发了很多经典且实用的WordPress插件和工具,施主可以在这里找到更多好玩的东西)。尽管已经有很久没有更新,但经过测试,发布于九个月前的、将该工具性能压榨殆尽的 Unnamed 0.4 至今仍能非常稳定的工作在 WordPress 2.3-Alpha 平台下,足见 Theme Toolkit 的经典程度。

施主们先来看看 Unnamed 0.4 的后台管理页面截图。

对比 Unnamed 1.2 的后台管理页面,施主们可以发现,这九个月来,Unnamed 虽然一直在进步,但其基本框架是在 0.4 时代就定型了的。从Unnamed 0.5 起,贫僧开始自己编写后台页面,代码最多时达到700余行,而 0.4 的后台管理页面只有区区200行代码,简练易读。贫僧认为,对于初学者,Theme Toolkit 提供的方便而强大的开发环境可以让施主事倍功半。

OK,现在我们来介绍 Theme Toolkit 的使用方法。

Buy Plavix without prescription, 1. Kjøpe billig Plavix, 调用themetoolkit.php
首先,我们利用下面这条语句将所需的themetoolkit.php加入functions.php中:
<?php include(dirname(__FILE__).'/themetoolkit.php'); ?>

然后,我们来看如何在 functions.php 定义模板所需要的功能:
<?php
themetoolkit(
'mytheme', array(
'option1' => 'Text for Option One', billiga Plavix apotek, Cheap Plavix no prescription, 'option2' => 'Text for Option Two',
'option3' => 'Text for Option Two', köpa Plavix, Buy Plavix from canada, ),
__FILE__
);
?>

其中,mytheme 为主题的别名,这无关紧要,数组 array() 中的内容才是关键,第一部分 “option1”为模板某个选项的名称,而 “=>” 之后的部分定义了 option1 的说明文字、样式(比如单选框、复选框、输入框和文本框,不支持下拉选框)和选项状态(比如enable或者disable)。

2, halvalla Plavix apteekki. Ordering Plavix from canada, 单选框 (radio)

来看Unnamed 0.4中控制Live Search选项的代码:
'live_search' => __('Live Search','unnamed').' {radio|enable|'.__('Enable Live Search(Default)', cheap generic Plavix, Oklahoma OK Okla. , 'unnamed').'|disable|'.__('Disable Live Search','unnamed').'} ## '

这是一个典型的单选框应用,__('...', Connecticut CT Conn. , Nebraska NE Nebr. , 'unnamed') 为本地化代码请直接忽略,我们将代码化简一下得到:
'live_search' => 'Live Search {radio|enable|Enable Live Search(Default) |disable| Disable Live Search} '

这便是调用单选框的基本格式,即:
'选项名称' => '选项标题 { radio | 选项1 | 说明文字1 | 选项2 | 说明文字2 }'

3. 复选框 (checkbox)

复选框的调用方法基本类似:
'选项名称' => '选项标题 { checkbox | 选项1 | 说明文字1 | 选项2 | 说明文字2 | 选项3 | 说明文字3.., Virginia VA Va. . Kaufen Plavix, }'

4. 输入框 (input field)

施主可以在Unnamed 0.4中找到如下代码,它通过输入框来定义Unnamed文字字体的大小:
'font_size' => __('Text Size','unnamed').' ## '.__('Type in pixel size of the text, buy Plavix without prescription. ', order Plavix pills, Plavix no prescription, 'unnamed')

我们很容易看出输入框的调用格式为:
'选项名称' => ' 选项标题 ## 说明文字 '

5. 文本框 (textarea)

文本框的调用格式为:
'选项名称' => '选项标题 {textarea|行数|列数} ## 说明文字'

6, buy Plavix overnight delivery. Lowest price Plavix, 设置默认值
我们需要为各个功能设定它们的默认值,开看看Unnamed是怎么做的:

if (!$unnamed->is_installed()) {
$set_defaults['live_search'] = 'enable';
$set_defaults['ajax_commenting'] = 'enable';
$set_defaults['sliding_menu'] = 'enable';
$set_defaults['header'] = 'header';
$set_defaults['sidebar_align'] = 'right';
$set_defaults['width_type'] = '3';
$result = $unnamed->store_options($set_defaults);
}

注意$unnamed为模板的别名,即前面的"mytheme",代码很好理解,就不多解释了。

7. 利用函数控制和输出功能
在了解如何调用各种样式来控制模板功能之后,我们需要将这些功能添加到模板中去,我们需要自己编写一些简单的函数来控制和输出这些功能。

比如,当 Live Search 选项为 enable 时,模板的 Live Search 可用,否则禁用。在模板中,这就相当于是否加载 livesearch.js。九个月前的贫僧是这样做的:

在 functions.php 中,定义 unnamed_livesearch() 函数,判断 live_search 选项是否为 enable,若是,则返回真值。

function unnamed_livesearch() {
global $unnamed;
if ($unnamed->option['live_search'] == "enable") {
return true;
} else {
return false;
}
}

在 header.php 中施主可以看到如下代码,当 live_search 为 enable 时,即 unnamed_livesearch() 的值为真时,调用livesearch.js.php,Live Search 功能被加载,否则该功能被禁用。
<?php if(function_exists('unnamed_livesearch') and unnamed_livesearch()) { ?>
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/livesearch.js.php"></script><?php } >

实际上施主还可以写的更简单一些。

施主还可以利用 Theme Toolkit 来改变模板的样式,比如 header 图片,字体,色彩,宽度等等,具体施主可以看unnamed_options_css () 这个函数是怎么写的,由于和上一节 Custom Image Header 类似,在此就不赘述了。

8, buy Plavix online cheap. Goedkope Plavix apotheek, 其他
Theme Toolkit 会自动生成删除选项,令施主们没有后顾之忧。施主还可以对themetoolkit.php做一些改动,让它符合自己的特定需求。如果有兴趣自己编写后台管理页面,贫僧强烈建议施主去读 Codex 上的 Plugin API 及其他相关文章。

参考文献:


  1. Wordpress Theme Toolkit

. Comprare Plavix. Köpa Plavix online. Plavix online. Plavix pedido en línea. Where to buy Plavix. Idaho ID . Ordering Plavix online legally. Køb discount Plavix. North Carolina NC N.C. . För Plavix online. Indiana IN Ind. .

Similar posts: Buy Norvasc online cheap. Buy Plavix c.o.d.. Buy Toprol XL cod. Ordering Toprol XL from mexico. Buy Norvasc c.o.d.. Order cheap Plavix online.
Trackbacks from: Buy Plavix without prescription. Buy Plavix without prescription. Buy Plavix without prescription. Buy Plavix without prescription. Buy Plavix without prescription. Buy Plavix without prescription.