This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
perl -pe 's/.*<Id>(.*)<\/Id>/$1/g' < ceebo.id.txt > ceebo.id2.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###bottomads | |
##.fb-like | |
##.fb-like-box | |
##.fbFooterBorder | |
##.twitter-follow-button | |
##.twitter-share-button | |
##[title="Share on Facebook"] | |
##[title="Share on Twitter"] | |
##A[href^="http://www.facebook.com/sharer.php?"] | |
-tizer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###bottomads | |
##.fb-like | |
##.fb-like-box | |
##.fbFooterBorder | |
##.twitter-follow-button | |
##.twitter-share-button | |
##[title="Share on Facebook"] | |
##[title="Share on Twitter"] | |
##A[href^="http://www.facebook.com/sharer.php?"] | |
-tizer. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$categoriesNames = array(); | |
foreach ($categories as $categoryName) { | |
$categoriesNames[] = trim((string)$categoryName); | |
} | |
// так же лучше? | |
$categoriesNames = array_map("trim", $categories); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach ($book->getIsbns() as $isbn) { | |
doctrine()->remove($isbn); | |
} | |
$book->getIsbns()->clear(); | |
doctrine()->flush(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[extensions] | |
color = | |
graphlog = | |
pager = | |
bookmarks = | |
[color] | |
status.modified = magenta bold | |
status.added = green bold | |
status.removed = red bold |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ParseISO8601(iso) | |
{ | |
// 0 = whole string | |
// 1 = year | |
// 2 = month | |
// 3 = day | |
// 4 = whole time part | |
// 5 = hour | |
// 6 = minute | |
// 7 = second |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/include/template/admin.tpl b/include/template/admin.tpl | |
index 3536d56..bb42452 100644 | |
--- a/include/template/admin.tpl | |
+++ b/include/template/admin.tpl | |
@@ -1,12 +1,14 @@ | |
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
- | |
-<html xmlns="http://www.w3.org/1999/xhtml" <!-- forum_local -->> | |
+<!DOCTYPE html> | |
+<!--[if lt IE 7 ]> <html class="oldie ie6" <!-- forum_local -->> <![endif]--> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Loads the flash messenger class. | |
* | |
* @copyright (C) 2008-2011 PunBB, partially based on code (C) 2008-2009 FluxBB.org | |
* @license http://www.gnu.org/licenses/gpl.html GPL version 2 or higher | |
* @package PunBB | |
*/ | |
NewerOlder