Renamed the whole source code to "Sorbet CMS", the name of our fork of Gelato CMS.
pai
f073feed40
commit
ffd91e7b02
|
|
@ -4,16 +4,13 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
|
||||
require_once('../entry.php');
|
||||
require_once '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
if ($user->isAdmin()) {
|
||||
|
|
@ -21,14 +18,14 @@ if ($user->isAdmin()) {
|
|||
<!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>
|
||||
<title>gelato :: <?php echo __("admin users")?></title>
|
||||
<title>sorbet :: <?php echo __("admin users")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<?php $util_class = new util(); ?>
|
||||
<meta name="generator" content="gelato cms <?php echo $util_class->version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.tablesorter.min.js"></script>
|
||||
<meta name="generator" content="sorbet cms <?php echo $util_class->version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.tablesorter.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#admin-table").tablesorter({
|
||||
|
|
@ -43,7 +40,7 @@ if ($user->isAdmin()) {
|
|||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
|
@ -51,10 +48,10 @@ if ($user->isAdmin()) {
|
|||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="Take me to the tumblelog"><?php echo __("View Tumblelog")?></a></li>
|
||||
<li><a href="close.php" title="Log off" onclick="return exit('div-process','<?php echo $conf->urlGelato; ?>/admin/ajax.php?action=close');"><?php echo __("Log out")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="Take me to the tumblelog"><?php echo __("View Tumblelog")?></a></li>
|
||||
<li><a href="close.php" title="Log off" onclick="return exit('div-process','<?php echo $conf->urlSorbet; ?>/admin/ajax.php?action=close');"><?php echo __("Log out")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
|
@ -62,10 +59,10 @@ if ($user->isAdmin()) {
|
|||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3>Manage</h3>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/settings.php"><?php echo __("Settings")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/index.php"><?php echo __("Posts")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/user.php"><?php echo __("Add user")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/settings.php"><?php echo __("Settings")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php"><?php echo __("Posts")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/user.php"><?php echo __("Add user")?></a></li>
|
||||
<li class="selected"><a><?php echo __("Users")?></a></li>
|
||||
</ul>
|
||||
<p> </p>
|
||||
|
|
@ -143,7 +140,7 @@ if ($user->isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -151,6 +148,6 @@ if ($user->isAdmin()) {
|
|||
<?php
|
||||
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,19 +4,16 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require_once('../entry.php');
|
||||
global $user;
|
||||
|
||||
|
||||
if ($user->isAdmin()) {
|
||||
if ($_GET["action"]) {
|
||||
if ($_GET["action"] == "close") {
|
||||
|
|
@ -26,7 +23,7 @@ if (!defined('entry')) {
|
|||
echo __(" failure ending session…");
|
||||
}
|
||||
} // $_GET["action"] == "close"
|
||||
|
||||
|
||||
if ($_GET["action"] == "verify") {
|
||||
if ($_GET["login"]=="") {
|
||||
echo "<div class=\"error\">".__("Required field cannot be left blank.")."</div>";
|
||||
|
|
@ -40,4 +37,4 @@ if (!defined('entry')) {
|
|||
} // $_GET["action"] == "verify"
|
||||
} // $_GET["action"]
|
||||
} // $user->isAdmin()
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
43
admin/bm.php
43
admin/bm.php
|
|
@ -4,18 +4,15 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
|
||||
require('../entry.php');
|
||||
require '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
$template = new plantillas("admin");
|
||||
$util_class = new util();
|
||||
|
|
@ -27,7 +24,7 @@ if ($user->isAdmin()) {
|
|||
if (isset($_POST["url"]) && $_POST["url"]!="") {
|
||||
$photoName = $util_class->getFileName($_POST["url"]);
|
||||
if (!$tumble->savePhoto($_POST["url"])) {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?photo=false");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?photo=false");
|
||||
die();
|
||||
}
|
||||
$_POST["url"] = "../uploads/".$util_class->sanitizeName($photoName);
|
||||
|
|
@ -41,11 +38,11 @@ if ($user->isAdmin()) {
|
|||
set_time_limit(300);
|
||||
$mp3Name = $util_class->getFileName($_POST["url"]);
|
||||
if (!$tumble->saveMP3($_POST["url"])) {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?mp3=false");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?mp3=false");
|
||||
die();
|
||||
}
|
||||
if (isMP3($remoteFileName)) {
|
||||
$_POST["url"] = $conf->urlGelato."/uploads/".$mp3Name;
|
||||
$_POST["url"] = $conf->urlSorbet."/uploads/".$mp3Name;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -53,7 +50,7 @@ if ($user->isAdmin()) {
|
|||
$_POST["title"] = addslashes($_POST["title"]);
|
||||
$_POST["description"] = addslashes($_POST["description"]);
|
||||
}
|
||||
|
||||
|
||||
$_POST["title"] = $util_class->removeBadTags($_POST["title"], true);
|
||||
$_POST["description"] = $util_class->removeBadTags($_POST["description"]);
|
||||
|
||||
|
|
@ -65,7 +62,7 @@ if ($user->isAdmin()) {
|
|||
$template->mostrarPlantilla();
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?error=2&des=".$this->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?error=2&des=".$this->merror);
|
||||
die();
|
||||
}
|
||||
} else {
|
||||
|
|
@ -97,22 +94,22 @@ if ($user->isAdmin()) {
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo $util_class->version(); ?>" />
|
||||
<title>gelato :: <?php echo __("bookmarklet")?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/tools.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/markitup/sets/html/set.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $conf->urlGelato; ?>/admin/scripts/markitup/skins/simple/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $conf->urlGelato; ?>/admin/scripts/markitup/sets/html/style.css" />
|
||||
<meta name="generator" content="sorbet cms <?php echo $util_class->version(); ?>" />
|
||||
<title>sorbet :: <?php echo __("bookmarklet")?></title>
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
||||
<script type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/markitup/sets/html/set.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $conf->urlSorbet; ?>/admin/scripts/markitup/skins/simple/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="<?php echo $conf->urlSorbet; ?>/admin/scripts/markitup/sets/html/style.css" />
|
||||
<script type="text/javascript" >
|
||||
$(document).ready(function() {
|
||||
$("#description").markItUp(my_html);
|
||||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
|
@ -224,7 +221,7 @@ if ($user->isAdmin()) {
|
|||
|
||||
} ?>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -233,6 +230,6 @@ if ($user->isAdmin()) {
|
|||
|
||||
} else {
|
||||
$target = (isset($_GET["url"]))? "/login.php?redirect_url=".$_GET["url"]."&sel=".$_GET["sel"] : "/login.php";
|
||||
header("Location: ".$conf->urlGelato.$target);
|
||||
header("Location: ".$conf->urlSorbet.$target);
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,17 +4,14 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require('../entry.php');
|
||||
require '../entry.php';
|
||||
global $user;
|
||||
$closed = $user->closeSession();
|
||||
|
||||
|
|
@ -22,36 +19,36 @@ $closed = $user->closeSession();
|
|||
<!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>
|
||||
<title>gelato :: <?php echo __("logout")?></title>
|
||||
<title>sorbet :: <?php echo __("logout")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version();?>" />
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version();?>" />
|
||||
<meta http-equiv="Refresh" content="3;URL=../login.php" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato;?>/images/favicon.ico" />
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato;?>/admin/css/style.css";
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet;?>/images/favicon.ico" />
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlSorbet;?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato;?>/" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet;?>/" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato;?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet;?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3><?php echo __("Closing session")?></h3>
|
||||
<li class="selected"><a><?php echo __("logoff")?></a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="tabla">
|
||||
<p>
|
||||
<?php
|
||||
if ($closed) {
|
||||
?>
|
||||
?>
|
||||
<h2><?php echo __("Ending session…")?></h2>
|
||||
<?php
|
||||
|
||||
|
|
@ -61,7 +58,7 @@ $closed = $user->closeSession();
|
|||
<?php
|
||||
|
||||
}
|
||||
?>
|
||||
?>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
|
@ -69,8 +66,8 @@ $closed = $user->closeSession();
|
|||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -4,17 +4,14 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require_once('../entry.php');
|
||||
require_once '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
$comment = new comments();
|
||||
|
|
@ -48,10 +45,10 @@ if (isset($_POST["btnAdd"])) {
|
|||
|
||||
$strEnd=($conf->urlFriendly) ? "/" : "";
|
||||
if ($comment->addComment($_POST)) {
|
||||
header("Location: ".$conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$_POST["id_post"].$strEnd);
|
||||
header("Location: ".$conf->urlSorbet.($conf->urlFriendly?"/post/":"/index.php?post=").$_POST["id_post"].$strEnd);
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$_POST["id_post"].$strEnd);
|
||||
header("Location: ".$conf->urlSorbet.($conf->urlFriendly?"/post/":"/index.php?post=").$_POST["id_post"].$strEnd);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
@ -70,12 +67,12 @@ if ($isAdmin) {
|
|||
<!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>
|
||||
<title>gelato :: <?php echo __("comments")?></title>
|
||||
<title>sorbet :: <?php echo __("comments")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/tools.js"></script>
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#divMessages").fadeOut(5000,function(){
|
||||
|
|
@ -84,7 +81,7 @@ if ($isAdmin) {
|
|||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
|
@ -92,9 +89,9 @@ if ($isAdmin) {
|
|||
<div id="div-process" style="display:none;"><?=__("Processing request…"); ?></div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?=__("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?=__("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="<?=__("Take me to the tumblelog")?>"><?=__("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="<?=__("Take me to the tumblelog")?>"><?=__("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
|
@ -136,7 +133,7 @@ if ($isAdmin) {
|
|||
$date = strtotime($row["comment_date"]);
|
||||
|
||||
$input = array("{User}", "{Email}", "{Web}", "{Comment}", "{Id_Post}", "{Date_Added}", "{Id_Comment}", "{Form_Action}");
|
||||
$output = array($row["username"], $row["email"], $row["web"], $row["content"], $row["id_post"], $date, $row["id_comment"], $conf->urlGelato."/admin/comments.php");
|
||||
$output = array($row["username"], $row["email"], $row["web"], $row["content"], $row["id_post"], $date, $row["id_comment"], $conf->urlSorbet."/admin/comments.php");
|
||||
|
||||
$template->cargarPlantilla($input, $output, "template_comment_post");
|
||||
$template->mostrarPlantilla();
|
||||
|
|
@ -168,7 +165,7 @@ if ($isAdmin) {
|
|||
$commentAuthor = ($rowComment["web"]=="") ? $rowComment["username"]." | ".$rowComment["email"] : "<a href=\"".$rowComment["web"]."\" rel=\"external\">".$rowComment["username"]."</a> | ".$rowComment["email"];
|
||||
|
||||
$input = array("{Permalink}", "{URL_Tumble}", "{Id_Comment}", "{Comment_Author}", "{Comment}");
|
||||
$output = array($conf->urlGelato."/index.php/post/".$rowComment["id_post"]."#comment-".$rowComment["id_comment"], $conf->urlGelato, $rowComment["id_comment"], $commentAuthor, $rowComment["content"]);
|
||||
$output = array($conf->urlSorbet."/index.php/post/".$rowComment["id_post"]."#comment-".$rowComment["id_comment"], $conf->urlSorbet, $rowComment["id_comment"], $commentAuthor, $rowComment["content"]);
|
||||
|
||||
$template->cargarPlantilla($input, $output, "template_comment");
|
||||
$template->mostrarPlantilla();
|
||||
|
|
@ -187,7 +184,7 @@ if ($isAdmin) {
|
|||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -195,6 +192,6 @@ if ($isAdmin) {
|
|||
<?php
|
||||
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,157 +1 @@
|
|||
*{ outline:none;}
|
||||
body {
|
||||
background: white;
|
||||
font-family: "Lucida Sans";
|
||||
font-size: 15px;
|
||||
letter-spacing: 2px;
|
||||
line-height: 30px;
|
||||
background: transparent url('../../images/bg.jpg') top center no-repeat;
|
||||
padding:0;
|
||||
margin:0;
|
||||
}
|
||||
|
||||
#dash {
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
position:relative;
|
||||
}
|
||||
|
||||
|
||||
#options {
|
||||
position:fixed;
|
||||
height:37px;
|
||||
width:100%;
|
||||
text-align: center;
|
||||
border-bottom: thin solid #000;
|
||||
background: transparent url('../../images/top_ribbon.png') top left repeat-x;
|
||||
z-index:999;
|
||||
padding-top:8px;
|
||||
margin:0;
|
||||
left:0;
|
||||
}
|
||||
|
||||
#context_help{ display:block; margin:0; padding:3px 5px; position: absolute; border: 1px solid #222; background-color: #444; color:#fff; font-size: 11px;}
|
||||
|
||||
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
ul {
|
||||
padding: 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin-top: 0px;
|
||||
font-size: 12px;
|
||||
font-weight: bold;
|
||||
font-variant: small-caps;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#options li {
|
||||
display: inline;
|
||||
color: #999;
|
||||
font-variant: small-caps;
|
||||
}
|
||||
|
||||
#options li a {
|
||||
text-decoration: none;
|
||||
padding:10px 20px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
#options li a:hover, #options li a.selected {
|
||||
color: #000;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
|
||||
#content {
|
||||
text-align: left;
|
||||
padding:20px 0 0 130px;
|
||||
width:600px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
html > body div#content{ padding:60px 25px 0 25px;}
|
||||
|
||||
|
||||
.item {
|
||||
height: 110px;
|
||||
width: 110px;
|
||||
padding: 5px;
|
||||
overflow: hidden;
|
||||
border: 1px solid #CCC;
|
||||
margin: 10px;
|
||||
color: #222;
|
||||
text-align: left;
|
||||
background-color: #FEFEFE;
|
||||
font-size: 11px;
|
||||
line-height: normal;
|
||||
|
||||
}
|
||||
|
||||
.link {
|
||||
font-size: 12px;
|
||||
}
|
||||
.link a, .link a:visited, .link a:active, .link a:link{ color:#000; text-decoration:none;}
|
||||
|
||||
#user_hover {
|
||||
background-color:#000000;
|
||||
color:#FFFFFF;
|
||||
display:none;
|
||||
font-family:Helvetica,sans-serif;
|
||||
font-size:18px;
|
||||
font-size-adjust:none;
|
||||
font-stretch:normal;
|
||||
font-style:normal;
|
||||
font-variant:normal;
|
||||
font-weight:bold;
|
||||
line-height:normal;
|
||||
opacity:0.75;
|
||||
padding:5px;
|
||||
position:absolute;
|
||||
text-align:center;
|
||||
z-index:10;
|
||||
height:113px;
|
||||
width: 112px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
ul.item_list {
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
ul.item_list li{
|
||||
display:block;
|
||||
float:left;
|
||||
margin-top:1px;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
ul.item_list li.selected{
|
||||
background-color: #8db1de; position: relative; border:none;
|
||||
}
|
||||
|
||||
li.selected div.crnr{ display:block; position: absolute; width:5px; height:5px;}
|
||||
li.selected div.wn{background:none; display:none;}
|
||||
html > body li.selected div.wn{background: #FFF url('../../images/round-wn.png') no-repeat top left; top:0; left:0; display:block;}
|
||||
li.selected div.en{background:none; display:none;}
|
||||
html > body li.selected div.en{background: #FFF url('../../images/round-en.png') no-repeat top left; top:0; right:0;display:block;}
|
||||
li.selected div.es{background:none; display:none;}
|
||||
html > body li.selected div.es{background: #FFF url('../../images/round-es.png') no-repeat top left; bottom:0; right:0;display:block;}
|
||||
li.selected div.ws{background:none; display:none;}
|
||||
html > body li.selected div.ws{background: #FFF url('../../images/round-ws.png') no-repeat top left; bottom:0; left:0;display:block;}
|
||||
|
||||
|
||||
#timeline {position:fixed; top: 60px; right: 40px; line-height:auto; margin: 10px; float:right; width:90px;}
|
||||
|
||||
#timewrap { position:relative;}
|
||||
#timewrap h4{ float:right;}
|
||||
#bubble{ line-height:10px; position:absolute; left: -90px; width:80px; display:none; font-size:10px; color:#444; font-family: Arial, "MS Trebuchet", sans-serif; text-align:right; }
|
||||
#timeline li{ background-color: #222;height:7px; margin:1px; display:block; float:right; clear:right;}
|
||||
#timeline li span{display:none;}
|
||||
li.year{ width:60px;}
|
||||
li.month{ width:40px;}
|
||||
li.day{ width:20px;}
|
||||
#dash,body,ul{padding:0}#options,body,ul{margin:0}#options,h4{text-align:center}#options li,h4{font-variant:small-caps}#user_hover,h4{font-weight:700}*{outline:0}body{font-family:"Lucida Sans";font-size:15px;letter-spacing:2px;line-height:30px;background:url(../../images/bg.jpg) top center no-repeat}#dash{margin:0 auto;position:relative}#options{position:fixed;height:37px;width:100%;border-bottom:thin solid #000;background:url(../../images/top_ribbon.png) top left repeat-x;z-index:999;padding-top:8px;left:0}#context_help{display:block;margin:0;padding:3px 5px;position:absolute;border:1px solid #222;background-color:#444;color:#fff;font-size:11px}li{list-style:none}h4{margin-top:0;font-size:12px}#content,.item{text-align:left}#options li{display:inline;color:#999}#options li a{text-decoration:none;padding:10px 20px;color:#666}#options li a.selected,#options li a:hover{color:#000;text-decoration:underline}#content{padding:20px 0 0 130px;width:600px;margin:0 auto}.item,ul.item_list{margin:10px}html>body div#content{padding:60px 25px 0}#user_hover,.item{line-height:normal;padding:5px}.item{height:110px;width:110px;overflow:hidden;border:1px solid #CCC;color:#222;background-color:#FEFEFE;font-size:11px}.link{font-size:12px}.link a,.link a:active,.link a:link,.link a:visited{color:#000;text-decoration:none}#user_hover{background-color:#000;color:#FFF;display:none;font-family:Helvetica,sans-serif;font-size:18px;font-size-adjust:none;font-stretch:normal;font-style:normal;font-variant:normal;opacity:.75;position:absolute;text-align:center;z-index:10;height:113px;width:112px;cursor:pointer}ul.item_list li{display:block;float:left;margin-top:1px;cursor:pointer}#timeline,#timewrap h4{float:right}ul.item_list li.selected{background-color:#8db1de;position:relative;border:none}li.selected div.crnr{display:block;position:absolute;width:5px;height:5px}li.selected div.wn{background:0 0;display:none}html>body li.selected div.wn{background:url(../../images/round-wn.png) top left no-repeat #FFF;top:0;left:0;display:block}li.selected div.en{background:0 0;display:none}html>body li.selected div.en{background:url(../../images/round-en.png) top left no-repeat #FFF;top:0;right:0;display:block}li.selected div.es{background:0 0;display:none}html>body li.selected div.es{background:url(../../images/round-es.png) top left no-repeat #FFF;bottom:0;right:0;display:block}li.selected div.ws{background:0 0;display:none}html>body li.selected div.ws{background:url(../../images/round-ws.png) top left no-repeat #FFF;bottom:0;left:0;display:block}#bubble,#timeline li span{display:none}#timeline{position:fixed;top:60px;right:40px;line-height:auto;margin:10px;width:90px}#timewrap{position:relative}#bubble{line-height:10px;position:absolute;left:-90px;width:80px;font-size:10px;color:#444;font-family:Arial,"MS Trebuchet",sans-serif;text-align:right}#timeline li{background-color:#222;height:7px;margin:1px;display:block;float:right;clear:right}li.year{width:60px}li.month{width:40px}li.day{width:20px}
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
Antes Largura: | Altura: | Tamanho: 9.9 KiB |
Arquivo binário não exibido.
|
Depois Largura: | Altura: | Tamanho: 3.7 KiB |
|
|
@ -1,92 +1 @@
|
|||
|
||||
|
||||
#lightbox{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 100;
|
||||
text-align: center;
|
||||
line-height: 0;
|
||||
}
|
||||
|
||||
#lightbox a img{ border: none; }
|
||||
|
||||
#outerImageContainer{
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
width: 250px;
|
||||
height: 250px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
#imageContainer{
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#loading{
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 0%;
|
||||
height: 25%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
line-height: 0;
|
||||
}
|
||||
#hoverNav{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
z-index: 10;
|
||||
}
|
||||
#imageContainer>#hoverNav{ left: 0;}
|
||||
#hoverNav a{ outline: none;}
|
||||
|
||||
#prevLink, #nextLink{
|
||||
width: 49%;
|
||||
height: 100%;
|
||||
background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
|
||||
display: block;
|
||||
}
|
||||
#prevLink { left: 0; float: left;}
|
||||
#nextLink { right: 0; float: right;}
|
||||
#prevLink:hover, #prevLink:visited:hover { background: url(../images/prevlabel.gif) left 15% no-repeat; }
|
||||
#nextLink:hover, #nextLink:visited:hover { background: url(../images/nextlabel.gif) right 15% no-repeat; }
|
||||
|
||||
|
||||
#imageDataContainer{
|
||||
font: 10px Verdana, Helvetica, sans-serif;
|
||||
background-color: #fff;
|
||||
margin: 0 auto;
|
||||
line-height: 1.4em;
|
||||
overflow: auto;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
#imageData{ padding:0 10px; color: #666; }
|
||||
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }
|
||||
#imageData #caption{ font-weight: bold; }
|
||||
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; }
|
||||
#imageData #bottomNavClose{ width: 66px; float: right; margin: 1.0em;}
|
||||
|
||||
|
||||
|
||||
|
||||
#overlay{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 90;
|
||||
width: 100%;
|
||||
height: 500px;
|
||||
background-color: #000;
|
||||
}
|
||||
|
||||
|
||||
/* * * * * V 0.3 * * * * * /
|
||||
/* html,body thanks to Torben - http://blog.schreiter.info/ */
|
||||
html, body {
|
||||
height:100%;
|
||||
min-height:100%;
|
||||
}
|
||||
#lightbox,#loading{text-align:center;line-height:0}#hoverNav,#overlay{position:absolute;top:0;left:0;width:100%}#lightbox{position:absolute;left:0;width:100%;z-index:100}#lightbox a img{border:none}#outerImageContainer{position:relative;background-color:#fff;width:250px;height:250px;margin:0 auto}#imageContainer{padding:10px}#loading{position:absolute;top:40%;left:0;height:25%;width:100%}#hoverNav{height:100%;z-index:10}#imageContainer>#hoverNav{left:0}#hoverNav a{outline:0}#nextLink,#prevLink{width:49%;height:100%;background:url(../images/blank.gif) no-repeat;display:block}#prevLink{left:0;float:left}#nextLink{right:0;float:right}#prevLink:hover,#prevLink:visited:hover{background:url(../images/prevlabel.gif) left 15% no-repeat}#nextLink:hover,#nextLink:visited:hover{background:url(../images/nextlabel.gif) right 15% no-repeat}#imageDataContainer{font:10px Verdana,Helvetica,sans-serif;background-color:#fff;margin:0 auto;line-height:1.4em;overflow:auto;width:100%}#imageData{padding:0 10px;color:#666}#imageData #imageDetails{width:70%;float:left;text-align:left}#imageData #caption{font-weight:700}#imageData #numberDisplay{display:block;clear:left;padding-bottom:1em}#imageData #bottomNavClose{width:66px;float:right;margin:1em}#overlay{z-index:90;height:500px;background-color:#000}body,html{height:100%;min-height:100%}
|
||||
|
|
|
|||
Diff do arquivo suprimido porque uma ou mais linhas são muito longas
|
|
@ -2,14 +2,11 @@
|
|||
if (!defined('entry')) {
|
||||
define('entry', true);
|
||||
}
|
||||
/* ===========================
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -27,7 +24,7 @@ if ($user->isAdmin()) {
|
|||
$messageStatus = 'exito';
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (isset($_GET['delete']) && is_numeric($_GET['delete'])) {
|
||||
if ($f->removeFeed((int)$_GET['delete'])) {
|
||||
$message = __('Feed deleted');
|
||||
|
|
@ -37,13 +34,13 @@ if ($user->isAdmin()) {
|
|||
<!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>
|
||||
<title>gelato :: <?php echo __("Feeds")?></title>
|
||||
<title>sorbet :: <?php echo __("Feeds")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.validate.min.js"></script>
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.validate.min.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#divMessages").fadeOut(5000,function(){
|
||||
|
|
@ -58,36 +55,36 @@ if ($user->isAdmin()) {
|
|||
}
|
||||
},
|
||||
errorElement: "span",
|
||||
errorClass: "validate_span",
|
||||
errorPlacement: function(label, element) {
|
||||
errorClass: "validate_span",
|
||||
errorPlacement: function(label, element) {
|
||||
label.prependTo(element.prev())
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<h3><?php echo __("Configure your feeds")?></h3>
|
||||
<ul class="menu manage">
|
||||
<li><a href="index.php"><?php echo __("Post")?></a></li>
|
||||
<li><a href="options.php"><?php echo __("Options")?></a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<?php echo(!(empty($message))? '<div class="'.$messageStatus.'" id="divMessages"> '.$message.'</div>' : ''); ?>
|
||||
|
||||
<div class="tabla">
|
||||
|
|
@ -126,7 +123,7 @@ if ($user->isAdmin()) {
|
|||
</ul>
|
||||
</fieldset>
|
||||
</form>
|
||||
<div id="feedlist">
|
||||
<div id="feedlist">
|
||||
<ul>
|
||||
<?php
|
||||
$actual_feeds = $f->getFeedList();
|
||||
|
|
@ -145,7 +142,7 @@ if ($user->isAdmin()) {
|
|||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -153,6 +150,6 @@ if ($user->isAdmin()) {
|
|||
<?php
|
||||
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,17 +4,14 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require('../entry.php');
|
||||
require '../entry.php';
|
||||
|
||||
global $user, $conf, $tumble;
|
||||
#$template = new plantillas("admin");
|
||||
|
|
@ -48,7 +45,7 @@ if ($user->isAuthenticated()) {
|
|||
if (isset($_POST["url"]) && $_POST["url"]!="") {
|
||||
$photoName = $util_class->getFileName($_POST["url"]);
|
||||
if (!$tumble->savePhoto($_POST["url"])) {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?photo=false");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?photo=false");
|
||||
die();
|
||||
}
|
||||
$_POST["url"] = "../uploads/".$util_class->sanitizeName($photoName);
|
||||
|
|
@ -66,11 +63,11 @@ if ($user->isAuthenticated()) {
|
|||
set_time_limit(300);
|
||||
$mp3Name = $util_class->getFileName($_POST["url"]);
|
||||
if (!$tumble->saveMP3($_POST["url"])) {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?mp3=false");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?mp3=false");
|
||||
die();
|
||||
}
|
||||
if ($util_class->isMP3($remoteFileName)) {
|
||||
$_POST["url"] = $conf->urlGelato."/uploads/".$mp3Name;
|
||||
$_POST["url"] = $conf->urlSorbet."/uploads/".$mp3Name;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -93,10 +90,10 @@ if ($user->isAuthenticated()) {
|
|||
$tumble->modifyPost($_POST, $_POST["id_post"]);
|
||||
} else {
|
||||
if ($tumble->addPost($_POST)) {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?added=true");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?added=true");
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php?error=2&des=".$tumble->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php?error=2&des=".$tumble->merror);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
@ -110,7 +107,7 @@ if ($user->isAuthenticated()) {
|
|||
|
||||
$theme->set('version', $util_class->version());
|
||||
$theme->set('conf', array(
|
||||
'urlGelato'=>$conf->urlGelato,
|
||||
'urlSorbet'=>$conf->urlSorbet,
|
||||
'richText'=>$conf->richText
|
||||
));
|
||||
$theme->set('new', isset($_GET['new'])?$_GET['new']:'');
|
||||
|
|
@ -119,9 +116,9 @@ if ($user->isAuthenticated()) {
|
|||
|
||||
if ($conf->check_version) {
|
||||
$present = $util_class->version();
|
||||
$lastest = $util_class->_file_get_contents("http://www.gelatocms.com/vgel.txt");
|
||||
$lastest = "1.0";//$util_class->_file_get_contents("");
|
||||
if ($present < $lastest) {
|
||||
$theme->set('information', __("A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."));
|
||||
$theme->set('information', __("A new version has been released and is ready for download."));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -192,7 +189,7 @@ if ($user->isAuthenticated()) {
|
|||
$theme->set('form', $form->fetch(Absolute_Path.'admin/themes/admin/template_add_post.htm'));
|
||||
break;
|
||||
case "photo":
|
||||
$url = str_replace("../", $conf->urlGelato."/", $url);
|
||||
$url = str_replace("../", $conf->urlSorbet."/", $url);
|
||||
$form->set('editUrl', $url);
|
||||
$theme->set('form', $form->fetch(Absolute_Path.'admin/themes/admin/template_add_photo.htm'));
|
||||
break;
|
||||
|
|
@ -245,7 +242,7 @@ if ($user->isAuthenticated()) {
|
|||
|
||||
$formatedDate = gmdate("M d", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
|
||||
$strEnd=($conf->urlFriendly) ? "/" : "";
|
||||
$permalink = $conf->urlGelato.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
||||
$permalink = $conf->urlSorbet.($conf->urlFriendly?"/post/":"/index.php?post=").$register["id_post"].$strEnd;
|
||||
|
||||
$register["title"] = stripslashes($register["title"]);
|
||||
$register["description"] = stripslashes($register["description"]);
|
||||
|
|
@ -264,12 +261,12 @@ if ($user->isAuthenticated()) {
|
|||
|
||||
$x = @getimagesize($fileName);
|
||||
if ($x[0] > 100) {
|
||||
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=100&img=".$register["url"];
|
||||
$photoPath = $conf->urlSorbet."/classes/imgsize.php?w=100&img=".$register["url"];
|
||||
} else {
|
||||
$photoPath = $register["url"];
|
||||
}
|
||||
|
||||
$effect = " href=\"".str_replace("../", $conf->urlGelato."/", $register["url"])."\" rel=\"lightbox\"";
|
||||
$effect = " href=\"".str_replace("../", $conf->urlSorbet."/", $register["url"])."\" rel=\"lightbox\"";
|
||||
|
||||
$row['PhotoURL'] = $photoPath;
|
||||
$row['PhotoAlt'] = strip_tags($register["description"]);
|
||||
|
|
@ -321,6 +318,6 @@ if ($user->isAuthenticated()) {
|
|||
$theme->display(Absolute_Path.'admin/themes/admin/index.htm');
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,105 +4,102 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require_once('../entry.php');
|
||||
require_once '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
if ($user->isAdmin()) {
|
||||
if (isset($_POST["btnsubmit"])) {
|
||||
if (!$tumble->saveOption($_POST["rich_text"], "rich_text")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
if (!$tumble->saveOption($_POST["url_friendly"], "url_friendly")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
|
||||
$off_r= split(",", $_POST['time_offsets']);
|
||||
$_POST['offset_time'] = $off_r[0];
|
||||
$_POST['offset_city'] = $off_r[1];
|
||||
unset($_POST['time_offsets']);
|
||||
if (!$tumble->saveOption($_POST["offset_city"], "offset_city")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
if (!$tumble->saveOption($_POST["offset_time"], "offset_time")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["allow_comments"], "allow_comments")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["shorten_links"], "shorten_links")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["rss_import_frec"], "rss_import_frec")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["check_version"], "check_version")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?modified=true");
|
||||
if (!$tumble->saveOption($_POST["allow_comments"], "allow_comments")) {
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["shorten_links"], "shorten_links")) {
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["rss_import_frec"], "rss_import_frec")) {
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
if (!$tumble->saveOption($_POST["check_version"], "check_version")) {
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?modified=true");
|
||||
die();
|
||||
} else {
|
||||
?>
|
||||
<!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>
|
||||
<title>gelato :: <?php echo __("options")?></title>
|
||||
<title>sorbet :: <?php echo __("options")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#divMessages").fadeOut(5000,function(){
|
||||
$("#divMessages").css({display:"none"});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3><?php echo __("Tumblelog options")?></h3>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/index.php"><?php echo __("Post")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/admin.php"><?php echo __("Users")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/settings.php"><?php echo __("Settings")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php"><?php echo __("Post")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/admin.php"><?php echo __("Users")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/settings.php"><?php echo __("Settings")?></a></li>
|
||||
<li class="selected"><a><?php echo __("Options")?></a></li>
|
||||
</ul>
|
||||
<?php
|
||||
|
|
@ -118,9 +115,9 @@ if ($user->isAdmin()) {
|
|||
} ?>
|
||||
<div class="tabla">
|
||||
|
||||
<form action="options.php" method="post" id="options_form" autocomplete="off" class="newpost">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<form action="options.php" method="post" id="options_form" autocomplete="off" class="newpost">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<li class="select"><label for="rich_text"><?php echo __("Rich text editor:")?></label>
|
||||
<select name="rich_text" id="rich_text">
|
||||
<option value="1" <?php if ($conf->richText) {
|
||||
|
|
@ -278,21 +275,21 @@ if ($user->isAdmin()) {
|
|||
</select>
|
||||
</li>
|
||||
<?php
|
||||
$trigger->call('add_options_panel'); ?>
|
||||
$trigger->call('add_options_panel'); ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<p>
|
||||
<input type="submit" name="btnsubmit" id="btnsubmit" value="<?php echo __("Modify")?>" class="submit"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-box"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -301,6 +298,6 @@ if ($user->isAdmin()) {
|
|||
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,17 +4,14 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require_once('../entry.php');
|
||||
require_once '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
|
||||
|
|
@ -28,11 +25,11 @@ if ($user->isAdmin()) {
|
|||
}
|
||||
closedir($handle);
|
||||
}
|
||||
|
||||
|
||||
$actives = json_decode($conf->active_plugins, 1);
|
||||
|
||||
|
||||
$actives = $actives[1];
|
||||
|
||||
|
||||
if (isset($_POST["btnsubmit"])) {
|
||||
$actives = array();
|
||||
foreach ($_POST['plugins'] as $plugin => $val) {
|
||||
|
|
@ -41,47 +38,47 @@ if ($user->isAdmin()) {
|
|||
$actives[$plugin] = $file;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (!$tumble->saveOption(json_encode(array(array('total'=>count($actives)),$actives)), "active_plugins")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/plugins.php?error=1&desc=".$conf->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/plugins.php?error=1&desc=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
header("Location: ".$conf->urlGelato."/admin/plugins.php?modified=true");
|
||||
header("Location: ".$conf->urlSorbet."/admin/plugins.php?modified=true");
|
||||
die();
|
||||
} else {
|
||||
?>
|
||||
<!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>
|
||||
<title>gelato :: <?php echo __("Plugins")?></title>
|
||||
<title>sorbet :: <?php echo __("Plugins")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/tools.js"></script>
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#divMessages").fadeOut(5000,function(){
|
||||
$("#divMessages").css({display:"none"});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3><?php echo __("Tumblelog options")?></h3>
|
||||
|
|
@ -104,14 +101,14 @@ if ($user->isAdmin()) {
|
|||
} ?>
|
||||
<div class="tabla">
|
||||
|
||||
<form action="plugins.php" method="post" id="options_form" autocomplete="off" class="newpost">
|
||||
<form action="plugins.php" method="post" id="options_form" autocomplete="off" class="newpost">
|
||||
<fieldset>
|
||||
<?php
|
||||
if (count($plugins) == 0) {
|
||||
echo __('You dont have any plugin installed, get some <a href="http://www.gelatocms.com/">here</a>');
|
||||
echo __('You dont have any plugin installed');
|
||||
} else {
|
||||
foreach ($plugins as $key => $plugin) {
|
||||
|
||||
|
||||
//FIXME terminar esto asi se lee la info desde el archivo 'a la' WP
|
||||
/*
|
||||
$plugin_data = implode( '', file( Absolute_Path."plugins/".$plugin.'.php' ));
|
||||
|
|
@ -129,8 +126,8 @@ if ($user->isAdmin()) {
|
|||
$plugin_data = array('Name' => trim($plugin_name[1]), 'URI' => trim($plugin_uri[1]), 'Description' => trim($description[1]), 'Author' => trim($author_name[1]), 'Author_uri' => trim($author_uri[1]), 'Version' => $version);
|
||||
*/
|
||||
$desc = __("There is no info for this plugin jet");
|
||||
$activated = array_key_exists($plugin, $actives); ?>
|
||||
<ul>
|
||||
$activated = array_key_exists($plugin, $actives); ?>
|
||||
<ul>
|
||||
<li class="select">
|
||||
<label for="<?php echo $key; ?>" title="<?php echo $desc; ?>" class="help"><?php echo $plugin; ?></label>
|
||||
<select name="plugins[<?php echo $plugin; ?>]" id="<?php echo $key; ?>">
|
||||
|
|
@ -153,15 +150,15 @@ if ($user->isAdmin()) {
|
|||
<p>
|
||||
<input type="submit" name="btnsubmit" id="btnsubmit" value="<?php echo __("Modify")?>" class="submit"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-box"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -170,6 +167,6 @@ if ($user->isAdmin()) {
|
|||
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,35 +1 @@
|
|||
// ----------------------------------------------------------------------------
|
||||
// markItUp!
|
||||
// ----------------------------------------------------------------------------
|
||||
// Copyright (C) 2008 Jay Salvat
|
||||
// http://markitup.jaysalvat.com/
|
||||
// ----------------------------------------------------------------------------
|
||||
// Html tags
|
||||
// http://en.wikipedia.org/wiki/html
|
||||
// ----------------------------------------------------------------------------
|
||||
// Basic set. Feel free to add more tags
|
||||
// ----------------------------------------------------------------------------
|
||||
my_html = {
|
||||
nameSpace: "my_html", // Used to prevent multi-instances CSS conflict
|
||||
onShiftEnter: {keepDefault:false, replaceWith:'<br />\n'},
|
||||
onCtrlEnter: {keepDefault:false, openWith:'\n<p>', closeWith:'</p>\n'},
|
||||
onTab: {keepDefault:false, openWith:' '},
|
||||
markupSet: [
|
||||
{name:'Paragraph', openWith:'<p(!( class="[![Class]!]")!)>', closeWith:'</p>' },
|
||||
{separator:'---------------' },
|
||||
{name:'Bold', key:'B', openWith:'(!(<strong>|!|<b>)!)', closeWith:'(!(</strong>|!|</b>)!)' },
|
||||
{name:'Italic', key:'I', openWith:'(!(<em>|!|<i>)!)', closeWith:'(!(</em>|!|</i>)!)' },
|
||||
{name:'Stroke through', key:'S', openWith:'<del>', closeWith:'</del>' },
|
||||
{separator:'---------------' },
|
||||
{name:'Ul', openWith:'<ul>\n', closeWith:'</ul>\n' },
|
||||
{name:'Ol', openWith:'<ol>\n', closeWith:'</ol>\n' },
|
||||
{name:'Li', openWith:'<li>', closeWith:'</li>' },
|
||||
{separator:'---------------' },
|
||||
{name:'Link', key:'L', openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>', closeWith:'</a>', placeHolder:'Your text to link...' },
|
||||
{separator:'---------------' },
|
||||
{name:'Quote block', openWith:'<blockquote>\n', closeWith:'</blockquote>\n' },
|
||||
{name:'Code block', openWith:'<code>\n', closeWith:'</code>\n' },
|
||||
{separator:'---------------' },
|
||||
{name:'Clean', replaceWith:function(h) { return h.selection.replace(/<(.*?)>/g, "") } }
|
||||
]
|
||||
}
|
||||
my_html={nameSpace:"my_html",onShiftEnter:{keepDefault:!1,replaceWith:"<br />\n"},onCtrlEnter:{keepDefault:!1,openWith:"\n<p>",closeWith:"</p>\n"},onTab:{keepDefault:!1,openWith:"\t "},markupSet:[{name:"Paragraph",openWith:'<p(!( class="[![Class]!]")!)>',closeWith:"</p>"},{separator:"---------------"},{name:"Bold",key:"B",openWith:"(!(<strong>|!|<b>)!)",closeWith:"(!(</strong>|!|</b>)!)"},{name:"Italic",key:"I",openWith:"(!(<em>|!|<i>)!)",closeWith:"(!(</em>|!|</i>)!)"},{name:"Stroke through",key:"S",openWith:"<del>",closeWith:"</del>"},{separator:"---------------"},{name:"Ul",openWith:"<ul>\n",closeWith:"</ul>\n"},{name:"Ol",openWith:"<ol>\n",closeWith:"</ol>\n"},{name:"Li",openWith:"<li>",closeWith:"</li>"},{separator:"---------------"},{name:"Link",key:"L",openWith:'<a href="[![Link:!:http://]!]"(!( title="[![Title]!]")!)>',closeWith:"</a>",placeHolder:"Your text to link..."},{separator:"---------------"},{name:"Quote block",openWith:"<blockquote>\n",closeWith:"</blockquote>\n"},{name:"Code block",openWith:"<code>\n",closeWith:"</code>\n"},{separator:"---------------"},{name:"Clean",replaceWith:function(e){return e.selection.replace(/<(.*?)>/g,"")}}]};
|
||||
|
|
|
|||
|
|
@ -1,39 +1 @@
|
|||
/* -------------------------------------------------------------------
|
||||
// markItUp!
|
||||
// By Jay Salvat - http://markitup.jaysalvat.com/
|
||||
// ------------------------------------------------------------------*/
|
||||
.markItUpButton1 a {
|
||||
background-image:url(images/paragraph.png);
|
||||
}
|
||||
.markItUpButton2 a {
|
||||
background-image:url(images/bold.png);
|
||||
}
|
||||
.markItUpButton3 a {
|
||||
background-image:url(images/italic.png);
|
||||
}
|
||||
.markItUpButton4 a {
|
||||
background-image:url(images/stroke.png);
|
||||
}
|
||||
.markItUpButton5 a {
|
||||
background-image:url(images/list-bullet.png);
|
||||
}
|
||||
.markItUpButton6 a {
|
||||
background-image:url(images/list-numeric.png);
|
||||
}
|
||||
.markItUpButton7 a {
|
||||
background-image:url(images/list-item.png);
|
||||
}
|
||||
|
||||
.markItUpButton8 a {
|
||||
background-image:url(images/link.png);
|
||||
}
|
||||
.markItUpButton9 a {
|
||||
background-image:url(images/quotes.png);
|
||||
}
|
||||
.markItUpButton10 a {
|
||||
background-image:url(images/code.png);
|
||||
}
|
||||
|
||||
.markItUpButton11 a {
|
||||
background-image:url(images/clean.png);
|
||||
}
|
||||
.markItUpButton1 a{background-image:url(images/paragraph.png)}.markItUpButton2 a{background-image:url(images/bold.png)}.markItUpButton3 a{background-image:url(images/italic.png)}.markItUpButton4 a{background-image:url(images/stroke.png)}.markItUpButton5 a{background-image:url(images/list-bullet.png)}.markItUpButton6 a{background-image:url(images/list-numeric.png)}.markItUpButton7 a{background-image:url(images/list-item.png)}.markItUpButton8 a{background-image:url(images/link.png)}.markItUpButton9 a{background-image:url(images/quotes.png)}.markItUpButton10 a{background-image:url(images/code.png)}.markItUpButton11 a{background-image:url(images/clean.png)}
|
||||
|
|
|
|||
|
|
@ -1,131 +1 @@
|
|||
#poststuff {
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
#submitpost {
|
||||
position: absolute !important;
|
||||
right: 0px !important;
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.markItUp * {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
font-weight: inherit;
|
||||
font-style: inherit;
|
||||
font-size: 100%;
|
||||
font-family: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
.markItUp a:link,
|
||||
.markItUp a:visited {
|
||||
color:#000;
|
||||
text-decoration:none;
|
||||
}
|
||||
.markItUp {
|
||||
width:700px;
|
||||
margin:5px 0 5px 0;
|
||||
}
|
||||
.markItUpContainer {
|
||||
font:11px Verdana, Arial, Helvetica, sans-serif;
|
||||
}
|
||||
.markItUpEditor {
|
||||
font:12px 'Courier New', Courier, monospace;
|
||||
padding:5px;
|
||||
width:690px;
|
||||
height:320px;
|
||||
clear:both; display:block;
|
||||
line-height:18px;
|
||||
overflow:auto;
|
||||
}
|
||||
.markItUpPreviewFrame {
|
||||
overflow:auto;
|
||||
background-color:#FFF;
|
||||
width:99.9%;
|
||||
height:300px;
|
||||
margin:5px 0;
|
||||
}
|
||||
.markItUpFooter {
|
||||
width:100%;
|
||||
}
|
||||
.markItUpResizeHandle {
|
||||
overflow:hidden;
|
||||
width:22px; height:5px;
|
||||
margin-left:auto;
|
||||
margin-right:auto;
|
||||
background-image:url(images/handle.png);
|
||||
cursor:n-resize;
|
||||
}
|
||||
/***************************************************************************************/
|
||||
/* first row of buttons */
|
||||
.markItUpHeader ul li {
|
||||
list-style:none;
|
||||
float:left;
|
||||
position:relative;
|
||||
}
|
||||
.markItUpHeader ul li:hover > ul{
|
||||
display:block;
|
||||
}
|
||||
.markItUpHeader ul .markItUpDropMenu {
|
||||
background:transparent url(images/menu.png) no-repeat 115% 50%;
|
||||
margin-right:5px;
|
||||
}
|
||||
.markItUpHeader ul .markItUpDropMenu li {
|
||||
margin-right:0px;
|
||||
}
|
||||
/* next rows of buttons */
|
||||
.markItUpHeader ul ul {
|
||||
display:none;
|
||||
position:absolute;
|
||||
top:18px; left:0px;
|
||||
background:#FFF;
|
||||
border:1px solid #000;
|
||||
}
|
||||
.markItUpHeader ul ul li {
|
||||
float:none;
|
||||
border-bottom:1px solid #000;
|
||||
}
|
||||
.markItUpHeader ul ul .markItUpDropMenu {
|
||||
background:#FFF url(images/submenu.png) no-repeat 100% 50%;
|
||||
}
|
||||
.markItUpHeader ul .markItUpSeparator {
|
||||
margin:0 10px;
|
||||
width:1px;
|
||||
height:16px;
|
||||
overflow:hidden;
|
||||
background-color:#CCC;
|
||||
}
|
||||
.markItUpHeader ul ul .markItUpSeparator {
|
||||
width:auto; height:1px;
|
||||
margin:0px;
|
||||
}
|
||||
/* next rows of buttons */
|
||||
.markItUpHeader ul ul ul {
|
||||
position:absolute;
|
||||
top:-1px; left:150px;
|
||||
}
|
||||
.markItUpHeader ul ul ul li {
|
||||
float:none;
|
||||
}
|
||||
.markItUpHeader ul a {
|
||||
display:block;
|
||||
width:16px; height:16px;
|
||||
text-indent:-10000px;
|
||||
background-repeat:no-repeat;
|
||||
padding:3px;
|
||||
margin:0px;
|
||||
}
|
||||
.markItUpHeader ul ul a {
|
||||
display:block;
|
||||
padding-left:0px;
|
||||
text-indent:0;
|
||||
width:120px;
|
||||
padding:5px 5px 5px 25px;
|
||||
background-position:2px 50%;
|
||||
}
|
||||
.markItUpHeader ul ul a:hover {
|
||||
color:#FFF;
|
||||
background-color:#000;
|
||||
}
|
||||
#poststuff{position:relative!important}#submitpost{position:absolute!important;right:0!important;float:none!important}.markItUp *{margin:0;padding:0;border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline}.markItUp a:link,.markItUp a:visited{color:#000;text-decoration:none}.markItUp{width:700px;margin:5px 0}.markItUpContainer{font:11px Verdana,Arial,Helvetica,sans-serif}.markItUpEditor{font:12px 'Courier New',Courier,monospace;padding:5px;width:690px;height:320px;clear:both;display:block;line-height:18px;overflow:auto}.markItUpPreviewFrame{overflow:auto;background-color:#FFF;width:99.9%;height:300px;margin:5px 0}.markItUpFooter{width:100%}.markItUpResizeHandle{overflow:hidden;width:22px;height:5px;margin-left:auto;margin-right:auto;background-image:url(images/handle.png);cursor:n-resize}.markItUpHeader ul li{list-style:none;float:left;position:relative}.markItUpHeader ul li:hover>ul{display:block}.markItUpHeader ul .markItUpDropMenu{background:url(images/menu.png) 115% 50% no-repeat;margin-right:5px}.markItUpHeader ul .markItUpDropMenu li{margin-right:0}.markItUpHeader ul ul{display:none;position:absolute;top:18px;left:0;background:#FFF;border:1px solid #000}.markItUpHeader ul ul li{float:none;border-bottom:1px solid #000}.markItUpHeader ul ul .markItUpDropMenu{background:url(images/submenu.png) 100% 50% no-repeat #FFF}.markItUpHeader ul .markItUpSeparator{margin:0 10px;width:1px;height:16px;overflow:hidden;background-color:#CCC}.markItUpHeader ul ul .markItUpSeparator{width:auto;height:1px;margin:0}.markItUpHeader ul ul ul{position:absolute;top:-1px;left:150px}.markItUpHeader ul ul ul li{float:none}.markItUpHeader ul a{display:block;width:16px;height:16px;text-indent:-10000px;background-repeat:no-repeat;padding:3px;margin:0}.markItUpHeader ul ul a{display:block;text-indent:0;width:120px;padding:5px 5px 5px 25px;background-position:2px 50%}.markItUpHeader ul ul a:hover{color:#FFF;background-color:#000}
|
||||
|
|
|
|||
|
|
@ -4,16 +4,13 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
|
||||
require_once('../entry.php');
|
||||
require_once '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
if ($user->isAdmin()) {
|
||||
|
|
@ -26,41 +23,41 @@ if ($user->isAdmin()) {
|
|||
<!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>
|
||||
<title>gelato :: <?php echo __("settings")?></title>
|
||||
<title>sorbet :: <?php echo __("settings")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#divMessages").fadeOut(5000,function(){
|
||||
$("#divMessages").css({display:"none"});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3><?php echo __("Tumblelog configuration")?></h3>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/index.php"><?php echo __("Post")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/admin.php"><?php echo __("Users")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/options.php"><?php echo __("Options")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php"><?php echo __("Post")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/admin.php"><?php echo __("Users")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/admin/options.php"><?php echo __("Options")?></a></li>
|
||||
<li class="selected"><a><?php echo __("Settings")?></a></li>
|
||||
</ul>
|
||||
<?php
|
||||
|
|
@ -76,20 +73,20 @@ if ($user->isAdmin()) {
|
|||
} ?>
|
||||
<div class="tabla">
|
||||
|
||||
<form action="settings.php" method="post" id="settings_form" autocomplete="off" class="newpost">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<form action="settings.php" method="post" id="settings_form" autocomplete="off" class="newpost">
|
||||
<fieldset>
|
||||
<ul>
|
||||
<li><label for="title"><?php echo __("Title:")?></label>
|
||||
<input type="text" name="title" id="title" value="<?php echo $conf->title; ?>" class="txt"/></li>
|
||||
<li><label for="description"><?php echo __("Description:")?></label>
|
||||
<input type="text" name="description" id="description" value="<?php echo $conf->description; ?>" class="txt"/></li>
|
||||
<li><label for="url_installation"><?php echo __("Installation URL")?></label>
|
||||
<input type="text" name="url_installation" id="url_installation" value="<?php echo $conf->urlGelato; ?>" class="txt"/></li>
|
||||
<input type="text" name="url_installation" id="url_installation" value="<?php echo $conf->urlSorbet; ?>" class="txt"/></li>
|
||||
<li><label for="posts_limit"><?php echo __("Post limit:")?></label>
|
||||
<input type="text" name="posts_limit" id="posts_limit" value="<?php echo $conf->postLimit; ?>" class="txt"/></li>
|
||||
<li><label for="lang"><?php echo __("Language:")?></label>
|
||||
<select id="lang" name="lang">
|
||||
<?php
|
||||
<?php
|
||||
$langs = util::getLangs();
|
||||
foreach ($langs as $key=>$lang) {
|
||||
$active = ($conf->lang==$key) ? "selected" : "";
|
||||
|
|
@ -107,22 +104,22 @@ if ($user->isAdmin()) {
|
|||
} ?>
|
||||
</select>
|
||||
</li>
|
||||
<?php
|
||||
<?php
|
||||
$trigger->call('add_settings_panel'); ?>
|
||||
</ul>
|
||||
</fieldset>
|
||||
<p>
|
||||
<input type="submit" name="btnsubmit" id="btnsubmit" value="<?php echo __("Modify")?>" class="submit"/>
|
||||
</p>
|
||||
</form>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-box"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -131,6 +128,6 @@ if ($user->isAdmin()) {
|
|||
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{header Content-type: text/xml; charset=utf-8}
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<gelato version="1.0">
|
||||
<sorbet version="1.0">
|
||||
<tumblelog name="{username}" timezone="{conf.offsetCity}" title="{conf.title}">
|
||||
{conf.description}
|
||||
<feeds>
|
||||
|
|
@ -8,7 +8,7 @@
|
|||
<feed id="{$feed.id_feed}" url="{$feed.url}" import-type="{$feed.type}" next-update-in-seconds="{$feed.getNextUpdate}" title="{$feed.title}" error-text="{$feed.error_text}" />
|
||||
{/block}
|
||||
</feeds>
|
||||
</tumblelog>
|
||||
</tumblelog>
|
||||
{if $totalRegistros}
|
||||
<posts start="{start}" total="{total}">
|
||||
{block $posts as $post}
|
||||
|
|
@ -42,15 +42,15 @@
|
|||
<post id="{$post.id_post}" url="{$post.url}" type="video" date="{$post.formatedDate}">
|
||||
<video-caption>{$post.tit}</video-caption>
|
||||
<video-source>{$post.url}</video-source>
|
||||
<video-player>{$post.desc}</video-player>
|
||||
<video-player>{$post.desc}</video-player>
|
||||
</post>
|
||||
{elseif $post.type=='mp3'}
|
||||
<post id="{$post.id_post}" url="{$post.url}" type="audio" date="{$post.formatedDate}">
|
||||
<audio-caption>{$post.tit}</audio-caption>
|
||||
<audio-player>{$post.desc}</audio-player>
|
||||
<audio-player>{$post.desc}</audio-player>
|
||||
</post>
|
||||
{/if}
|
||||
{/block}
|
||||
</posts>
|
||||
{/if}
|
||||
</gelato>
|
||||
</sorbet>
|
||||
|
|
|
|||
|
|
@ -2,13 +2,13 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms {version}" />
|
||||
<title>gelato :: {__("control panel")}</title>
|
||||
<link rel="shortcut icon" href="{conf.urlGelato}/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/lightbox.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.validate.min.js"></script>
|
||||
<meta name="generator" content="sorbet cms {version}" />
|
||||
<title>sorbet :: {__("control panel")}</title>
|
||||
<link rel="shortcut icon" href="{conf.urlSorbet}/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/tools.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/lightbox.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/jquery.validate.min.js"></script>
|
||||
<script language="javascript" type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
$("#divMessages").fadeOut(5000,function(){
|
||||
|
|
@ -19,15 +19,15 @@
|
|||
Lightbox.fileBottomNavCloseImage = "css/images/closelabel.gif";
|
||||
</script>
|
||||
{if $conf.richText}
|
||||
<script src="{conf.urlGelato}/admin/scripts/nicEdit.js" type="text/javascript"></script>
|
||||
<script src="{conf.urlSorbet}/admin/scripts/nicEdit.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
bkLib.onDomLoaded(nicEditors.allTextAreas);
|
||||
</script>
|
||||
{else}
|
||||
<script type="text/javascript" src="{conf.urlGelato}/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
||||
<script type="text/javascript" src="{conf.urlGelato}/admin/scripts/markitup/sets/html/set.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{conf.urlGelato}/admin/scripts/markitup/skins/simple/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{conf.urlGelato}/admin/scripts/markitup/sets/html/style.css" />
|
||||
<script type="text/javascript" src="{conf.urlSorbet}/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
||||
<script type="text/javascript" src="{conf.urlSorbet}/admin/scripts/markitup/sets/html/set.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="{conf.urlSorbet}/admin/scripts/markitup/skins/simple/style.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{conf.urlSorbet}/admin/scripts/markitup/sets/html/style.css" />
|
||||
<script type="text/javascript" >
|
||||
$(document).ready(function() {
|
||||
$("#description").markItUp(my_html);
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
</script>
|
||||
{/if}
|
||||
<style type="text/css" media="screen">
|
||||
@import "{conf.urlGelato}/admin/css/style.css";
|
||||
@import "{conf.urlGelato}/admin/css/lightbox.css";
|
||||
@import "{conf.urlSorbet}/admin/css/style.css";
|
||||
@import "{conf.urlSorbet}/admin/css/lightbox.css";
|
||||
</style>
|
||||
{admin_includes}
|
||||
</head>
|
||||
|
|
@ -45,9 +45,9 @@
|
|||
<div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="{conf.urlGelato}/admin/index.php" title="gelato :: {__("home")}">gelato cms</a></h1>
|
||||
<h1><a href="{conf.urlSorbet}/admin/index.php" title="sorbet :: {__("home")}">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="{conf.urlGelato}/" title="{__("Take me to the tumblelog")}">{__("View Tumblelog")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/" title="{__("Take me to the tumblelog")}">{__("View Tumblelog")}</a></li>
|
||||
<li><a href="close.php" title="Log off" >{__("Log out")}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
@ -56,13 +56,13 @@
|
|||
<ul class="menu">
|
||||
<h3>{__("New Post")}</h3>
|
||||
|
||||
<li {if $new=="conversation"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=conversation"><img src="css/images/comments.png" alt="New chat" /> {__("Chat")}</a></li>
|
||||
<li {if $new=="quote"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=quote"><img src="css/images/quote.png" alt="New qoute" /> {__("Quote")}</a></li>
|
||||
<li {if $new=="url"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=url"><img src="css/images/world.png" alt="New link" /> {__("Link")}</a></li>
|
||||
<li {if $new=="mp3"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=mp3"><img src="css/images/music.png" alt="New audio" /> {__("Audio")}</a></li>
|
||||
<li {if $new=="video"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=video"><img src="css/images/film.png" alt="New video" /> {__("Video")}</a></li>
|
||||
<li {if $new=="photo"}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=photo"><img src="css/images/image.png" alt="New picture" /> {__("Picture")}</a></li>
|
||||
<li {if $new=="post" or $new==null}class="selected"{/if}><a href="{conf.urlGelato}/admin/index.php?new=post"><img src="css/images/page.png" alt="New post" /> {__("Regular")}</a></li>
|
||||
<li {if $new=="conversation"}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=conversation"><img src="css/images/comments.png" alt="New chat" /> {__("Chat")}</a></li>
|
||||
<li {if $new=="quote"}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=quote"><img src="css/images/quote.png" alt="New qoute" /> {__("Quote")}</a></li>
|
||||
<li {if $new=="url"}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=url"><img src="css/images/world.png" alt="New link" /> {__("Link")}</a></li>
|
||||
<li {if $new=="mp3"}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=mp3"><img src="css/images/music.png" alt="New audio" /> {__("Audio")}</a></li>
|
||||
<li {if $new=="video"}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=video"><img src="css/images/film.png" alt="New video" /> {__("Video")}</a></li>
|
||||
<li {if $new=="photo"}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=photo"><img src="css/images/image.png" alt="New picture" /> {__("Picture")}</a></li>
|
||||
<li {if $new=="post" or $new==null}class="selected"{/if}><a href="{conf.urlSorbet}/admin/index.php?new=post"><img src="css/images/page.png" alt="New post" /> {__("Regular")}</a></li>
|
||||
</ul>
|
||||
<p> </p>
|
||||
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
<code> <pre> <img>
|
||||
</code>
|
||||
<br /><br />
|
||||
Bookmarklet - <a class="bookmarklet help" title="{__("Drag to the Bookmarks Toolbar")}" href="javascript:var w; setTimeout('w.focus()',100);w=window.open('{conf.urlGelato}/admin/bm.php?url='+encodeURIComponent(location.href)+'&sel='+encodeURIComponent(window.getSelection()),'bookmarklet','toolbar=0,resizable=0,status=1,width=650,height=540,dependent=yes' ); w.focus();">{__("add to gelato")}</a>
|
||||
Bookmarklet - <a class="bookmarklet help" title="{__("Drag to the Bookmarks Toolbar")}" href="javascript:var w; setTimeout('w.focus()',100);w=window.open('{conf.urlSorbet}/admin/bm.php?url='+encodeURIComponent(location.href)+'&sel='+encodeURIComponent(window.getSelection()),'bookmarklet','toolbar=0,resizable=0,status=1,width=650,height=540,dependent=yes' ); w.focus();">{__("add to sorbet")}</a>
|
||||
<br /><br />
|
||||
</span>
|
||||
</p>
|
||||
|
|
@ -100,12 +100,12 @@
|
|||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3>{__('Manage')}</h3>
|
||||
<li><a href="{conf.urlGelato}/admin/settings.php">{__("Settings")}</a></li>
|
||||
<li><a href="{conf.urlGelato}/admin/options.php">{__("Options")}</a></li>
|
||||
<li><a href="{conf.urlGelato}/admin/plugins.php">{__("Plugins")}</a></li>
|
||||
<li><a href="{conf.urlGelato}/admin/feeds.php">{__("Feeds")}</a></li>
|
||||
<li><a href="{conf.urlGelato}/admin/admin.php">{__("Users")}</a></li>
|
||||
<li><a href="{conf.urlGelato}/admin/comments.php">{__("Comments")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/admin/settings.php">{__("Settings")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/admin/options.php">{__("Options")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/admin/plugins.php">{__("Plugins")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/admin/feeds.php">{__("Feeds")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/admin/admin.php">{__("Users")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/admin/comments.php">{__("Comments")}</a></li>
|
||||
<li class="selected"><a>{__("Posts")}</a></li>
|
||||
</ul>
|
||||
|
||||
|
|
@ -113,7 +113,7 @@
|
|||
{if $Posts_Number}
|
||||
{block $rows as $row}
|
||||
<div class="entry">
|
||||
<div class="info"><span class="compact"><a href="{$row.Permalink}">Link</a> <a href="{conf.urlGelato}/admin/index.php?edit={$row.Id_Post}" title="{__('Edit this post')}" class="help"><img src="{conf.urlGelato}/admin/css/images/edit.png" alt=""/></a> <a href="{conf.urlGelato}/admin/index.php?delete={$row.Id_Post}" title="{__('Delete this post')}" class="help"><img src="{conf.urlGelato}/admin/css/images/delete.png" alt="" title="" onclick="return confirm('{__('Delete this post, really?')}');"/></a></span>
|
||||
<div class="info"><span class="compact"><a href="{$row.Permalink}">Link</a> <a href="{conf.urlSorbet}/admin/index.php?edit={$row.Id_Post}" title="{__('Edit this post')}" class="help"><img src="{conf.urlSorbet}/admin/css/images/edit.png" alt=""/></a> <a href="{conf.urlSorbet}/admin/index.php?delete={$row.Id_Post}" title="{__('Delete this post')}" class="help"><img src="{conf.urlSorbet}/admin/css/images/delete.png" alt="" title="" onclick="return confirm('{__('Delete this post, really?')}');"/></a></span>
|
||||
<p>{$row.Date_Added}</p>
|
||||
</div>
|
||||
<div class="post">
|
||||
|
|
@ -134,10 +134,10 @@
|
|||
<div class="conversation">{$row.Conversation}</div>
|
||||
{elseif $row.postType=='video'}
|
||||
<span class="option">{$row.Caption}</span>
|
||||
<p><img src="{conf.urlGelato}/admin/css/images/film.png" alt="Watch video" /> <a href="{$row.Permalink}">{__('Watch')}</a></p>
|
||||
<p><img src="{conf.urlSorbet}/admin/css/images/film.png" alt="Watch video" /> <a href="{$row.Permalink}">{__('Watch')}</a></p>
|
||||
{elseif $row.postType=='mp3'}
|
||||
<span class="option">{$row.Caption}</span>
|
||||
<p><img src="{conf.urlGelato}/admin/css/images/music.png" alt="Play song" /> <a href="{$row.Permalink}">{__('Play')}</a></p>
|
||||
<p><img src="{conf.urlSorbet}/admin/css/images/music.png" alt="Play song" /> <a href="{$row.Permalink}">{__('Play')}</a></p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: {__("PHP&MySQL Tumblelog Content Management System.')}
|
||||
Sorbet CMS :: {__("PHP Tumblelog Content Management System.')}
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms {version}" />
|
||||
<title>gelato :: installation</title>
|
||||
<meta name="generator" content="sorbet cms {version}" />
|
||||
<title>sorbet :: installation</title>
|
||||
<link rel="shortcut icon" href="images/favicon.ico" />
|
||||
<style type="text/css" media="screen">
|
||||
@import "admin/css/style.css";
|
||||
|
|
@ -12,14 +12,14 @@
|
|||
<body>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="index.php" title="gelato :: home">gelato cms</a></h1>
|
||||
<h1><a href="index.php" title="sorbet :: home">sorbet cms</a></h1>
|
||||
</div>
|
||||
|
||||
<div id="main">
|
||||
{if $showForm}
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3>gelato :: installation</h3>
|
||||
<h3>sorbet :: installation</h3>
|
||||
|
||||
<li class="selected"><a>Install</a></li>
|
||||
</ul>
|
||||
|
|
@ -162,7 +162,7 @@
|
|||
{/if}
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -1,52 +1,52 @@
|
|||
<!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>
|
||||
<title>gelato :: {__("login screen")}</title>
|
||||
<title>sorbet :: {__("login screen")}</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms {version}" />
|
||||
<link rel="shortcut icon" href="{conf.urlGelato}/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.validate.min.js"></script>
|
||||
<meta name="generator" content="sorbet cms {version}" />
|
||||
<link rel="shortcut icon" href="{conf.urlSorbet}/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/jquery.validate.min.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function(){
|
||||
|
||||
|
||||
$("#valida").validate({
|
||||
rules: {
|
||||
login: "required",
|
||||
pass: "required"
|
||||
},
|
||||
errorElement: "span",
|
||||
errorClass: "validate_span",
|
||||
errorPlacement: function(label, element) {
|
||||
errorClass: "validate_span",
|
||||
errorPlacement: function(label, element) {
|
||||
label.prependTo(element.prev())
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "{conf.urlGelato}/admin/css/style.css";
|
||||
<style type="text/css" media="screen">
|
||||
@import "{conf.urlSorbet}/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="{conf.urlGelato}/" title="gelato :: {__("home")}">gelato cms</a></h1>
|
||||
<h1><a href="{conf.urlSorbet}/" title="sorbet :: {__("home")}">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="{conf.urlGelato}/" title="{__("Take me to the tumblelog")}">{__("Back to the Tumblelog")}</a></li>
|
||||
<li><a href="{conf.urlSorbet}/" title="{__("Take me to the tumblelog")}">{__("Back to the Tumblelog")}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3>{__("Start session")}</h3>
|
||||
<li class="selected"><a>{__("Login")}</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="tabla">
|
||||
|
||||
<form action="login.php" method="post" id="valida" autocomplete="off" class="newpost">
|
||||
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
{if $error==1}
|
||||
<div class="error">
|
||||
{__(" You must be registered to use gelato.")}
|
||||
{__(" You must be registered to use Sorbet CMS.")}
|
||||
</div>
|
||||
{elseif $error==2}
|
||||
<div class="error">
|
||||
|
|
@ -82,7 +82,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<title>gelato bookmarklet</title>
|
||||
<title>sorbet bookmarklet</title>
|
||||
<style type="text/css">
|
||||
body {
|
||||
background-color: #e1e1e1;
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
font: Normal 15px 'Trebuchet MS',Verdana,Helvetica,sans-serif;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
div#content {
|
||||
margin: 137px 30px 0px 30px;
|
||||
padding: 15px;
|
||||
|
|
@ -23,17 +23,17 @@
|
|||
countdown--;
|
||||
el = document.getElementById('countdown');
|
||||
if (countdown == 1) {
|
||||
el.firstChild.nodeValue =
|
||||
el.firstChild.nodeValue =
|
||||
prefix + countdown + ' second.';
|
||||
} else if (countdown > 0) {
|
||||
el.firstChild.nodeValue =
|
||||
el.firstChild.nodeValue =
|
||||
prefix + countdown + ' seconds.';
|
||||
} else {
|
||||
self.close();
|
||||
}
|
||||
if (countdown > 0) setTimeout('countdown_func()', 1000);
|
||||
}
|
||||
|
||||
|
||||
var countdown = 3;
|
||||
</script>
|
||||
</head>
|
||||
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
<a href="#" onclick="javascript:self.close(); return false;"
|
||||
style="color:#777;">Close this window</a>
|
||||
|
||||
|
||||
<span id="countdown" style="color:#777;">
|
||||
or wait 3 seconds.
|
||||
</span>
|
||||
|
|
@ -54,4 +54,4 @@
|
|||
setTimeout('countdown_func()', 1000);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -2,19 +2,16 @@
|
|||
if (!defined('entry')) {
|
||||
define('entry', true);
|
||||
}
|
||||
/* ===========================
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
require('../entry.php');
|
||||
require '../entry.php';
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
$isEdition = isset($_GET["edit"]);
|
||||
|
|
@ -25,7 +22,7 @@ if ($user->isAdmin()) {
|
|||
header("Location: admin.php?delete=true");
|
||||
die();
|
||||
}
|
||||
|
||||
|
||||
if (isset($_POST["btnAdd"])) {
|
||||
unset($_POST["btnAdd"]);
|
||||
if (isset($_POST["repass"])) {
|
||||
|
|
@ -46,28 +43,28 @@ if ($user->isAdmin()) {
|
|||
<!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>
|
||||
<title>gelato :: <?php echo __("add user")?></title>
|
||||
<title>sorbet :: <?php echo __("add user")?></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/tools.js"></script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlGelato; ?>/admin/css/style.css";
|
||||
<meta name="generator" content="sorbet cms <?php echo util::version(); ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/images/favicon.ico" />
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||
<style type="text/css" media="screen">
|
||||
@import "<?php echo $conf->urlSorbet; ?>/admin/css/style.css";
|
||||
</style>
|
||||
</head>
|
||||
|
||||
|
||||
<body>
|
||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…"); ?></div>
|
||||
<div id="cont">
|
||||
<div id="head">
|
||||
<h1><a href="<?php echo $conf->urlGelato; ?>/admin/index.php" title="gelato :: <?php echo __("home")?>">gelato cms</a></h1>
|
||||
<h1><a href="<?php echo $conf->urlSorbet; ?>/admin/index.php" title="sorbet :: <?php echo __("home")?>">sorbet cms</a></h1>
|
||||
<ul id="nav">
|
||||
<li><a href="<?php echo $conf->urlGelato; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
<li><a href="<?php echo $conf->urlSorbet; ?>/" title="<?php echo __("Take me to the tumblelog")?>"><?php echo __("Back to the Tumblelog")?></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="main">
|
||||
|
||||
<div id="main">
|
||||
|
||||
<div class="box">
|
||||
<ul class="menu manage">
|
||||
<h3><?php echo __("Start session")?></h3>
|
||||
|
|
@ -75,7 +72,7 @@ if ($user->isAdmin()) {
|
|||
<li><a href="admin.php"><?php echo __("Users")?></a></li>
|
||||
<li class="selected"><a><?php echo ($isEdition) ? __("Edit") : __("Add"); ?></a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="tabla">
|
||||
|
||||
<form action="user.php" method="post" onSubmit="return validateFrmAddUser();" name="frm_add" class="newpost">
|
||||
|
|
@ -95,7 +92,7 @@ if ($user->isAdmin()) {
|
|||
if (!$isEdition) {
|
||||
?>
|
||||
<br /><input class='submit_normal_azul' name='btnVerifyUser' id='btnVerifyUser' type='button' value='Check availability' onclick='verifyExistingUser()' />
|
||||
|
||||
|
||||
<?php
|
||||
|
||||
} ?>
|
||||
|
|
@ -122,25 +119,25 @@ if ($user->isAdmin()) {
|
|||
<li>
|
||||
<label for="website"><?php echo __("website:")?></label>
|
||||
<input class="txt" name="website" id="website" type="text" value="<?php echo isset($register["website"])?$register["website"]:""; ?>" />
|
||||
</li>
|
||||
</li>
|
||||
<li>
|
||||
<label for="about"><?php echo __("about:")?></label><br />
|
||||
<textarea rows="5" cols="50" name="about" id="about" tabindex="7"><?php echo isset($register["about"])?$register["about"]:""; ?></textarea>
|
||||
</li>
|
||||
<textarea rows="5" cols="50" name="about" id="about" tabindex="7"><?php echo isset($register["about"])?$register["about"]:""; ?></textarea>
|
||||
</li>
|
||||
<li>
|
||||
<input name="btnAdd" type="submit" value="<?php echo ($isEdition) ? __("Modify") : __("Add"); ?> user" />
|
||||
</li>
|
||||
</ul>
|
||||
</fieldset>
|
||||
</form>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
<div class="footer-box"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="foot">
|
||||
<a href="http://www.gelatocms.com/" title="gelato CMS">gelato CMS</a> :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP Tumblelog Content Management System.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
@ -149,6 +146,6 @@ if ($user->isAdmin()) {
|
|||
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php");
|
||||
header("Location: ".$conf->urlSorbet."/login.php");
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
13
api.php
13
api.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -43,7 +40,7 @@ if (!defined('entry')) {
|
|||
}
|
||||
$user = new user();
|
||||
$userData = $user->getUserByID(1);
|
||||
$username = ($userData["name"] == "") ? "gelato" : $userData["name"];
|
||||
$username = ($userData["name"] == "") ? "sorbet" : $userData["name"];
|
||||
|
||||
$theme->set("username", $username);
|
||||
$theme->set("conf", array(
|
||||
|
|
@ -81,7 +78,7 @@ if (!defined('entry')) {
|
|||
while ($post = $rs->fetch()) {
|
||||
$post['desc'] = util::trimString($post["description"]);
|
||||
$strEnd = ($conf->urlFriendly) ? "/" : "";
|
||||
$post['url'] = $conf->urlGelato.($conf->urlFriendly ? "/post/" : "/index.php?post=").$post["id_post"].$strEnd;
|
||||
$post['url'] = $conf->urlSorbet.($conf->urlFriendly ? "/post/" : "/index.php?post=").$post["id_post"].$strEnd;
|
||||
$post['formatedDate'] = gmdate("D, d M Y H:i:s", strtotime($post["date"]) + util::transform_offset($conf->offsetTime));
|
||||
|
||||
$post["type"] = util::type2Text($post["type"]);
|
||||
|
|
@ -91,7 +88,7 @@ if (!defined('entry')) {
|
|||
$post['tit'] = (empty($post["title"])) ? $post['desc'] : strip_tags($post["title"]);
|
||||
break;
|
||||
case "photo":
|
||||
$post['photoPath'] = str_replace("../", $conf->urlGelato."/", $post["url"]);
|
||||
$post['photoPath'] = str_replace("../", $conf->urlSorbet."/", $post["url"]);
|
||||
$post['tit'] = stripslashes(((empty($post["description"])) ? "Photo" : $post['desc']));
|
||||
break;
|
||||
case "quote":
|
||||
|
|
|
|||
25
archive.php
25
archive.php
|
|
@ -2,14 +2,11 @@
|
|||
if (!defined('entry')) {
|
||||
define('entry', true);
|
||||
}
|
||||
/* ===========================
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -98,9 +95,9 @@ function handleNode($node)
|
|||
$fileName = "uploads/".$util_class->getFileName($node["url"]);
|
||||
$x = @getimagesize($fileName);
|
||||
if ($x[0] > 500) {
|
||||
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$node["url"];
|
||||
$photoPath = $conf->urlSorbet."/classes/imgsize.php?w=500&img=".$node["url"];
|
||||
} else {
|
||||
$photoPath = str_replace("../", $conf->urlGelato."/", $node["url"]);
|
||||
$photoPath = str_replace("../", $conf->urlSorbet."/", $node["url"]);
|
||||
}
|
||||
$output['caption'] = $node["description"];
|
||||
$output['photo'] = $photoPath;
|
||||
|
|
@ -129,13 +126,13 @@ function handleNode($node)
|
|||
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="generator" content="gelato <?php echo $util_class->codeName()." (".$util_class->version().")"; ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato;?>/images/favicon.ico" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $conf->urlGelato.($conf->urlFriendly ? "/rss/" : "/rss.php"); ?>"/>
|
||||
<meta name="generator" content="sorbet <?php echo $util_class->codeName()." (".$util_class->version().")"; ?>" />
|
||||
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet;?>/images/favicon.ico" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php echo $conf->urlSorbet.($conf->urlFriendly ? "/rss/" : "/rss.php"); ?>"/>
|
||||
<title><?php echo $conf->title." » ".__(" archive"); ?></title>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato;?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato;?>/admin/scripts/jquery.scrollTo-min.js"></script>
|
||||
<link href="<?php echo $conf->urlGelato;?>/admin/css/archive.css" type="text/css" rel="stylesheet">
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet;?>/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet;?>/admin/scripts/jquery.scrollTo-min.js"></script>
|
||||
<link href="<?php echo $conf->urlSorbet;?>/admin/css/archive.css" type="text/css" rel="stylesheet">
|
||||
<script type='text/javascript'>
|
||||
function select(object) {
|
||||
var sel_id = object.id;
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
|
||||
|
|
@ -39,9 +36,9 @@ class comments
|
|||
public function generateCookie($fieldsArray)
|
||||
{
|
||||
$path = dirname(dirname($_SERVER['SCRIPT_NAME']."../"));
|
||||
setcookie("cookie_gel_user", $fieldsArray["username"], time() + 30000000, $path);
|
||||
setcookie("cookie_gel_email", $fieldsArray["email"], time() + 30000000, $path);
|
||||
setcookie("cookie_gel_web", $fieldsArray["web"], time() + 30000000, $path);
|
||||
setcookie("cookie_sor_user", $fieldsArray["username"], time() + 30000000, $path);
|
||||
setcookie("cookie_sor_email", $fieldsArray["email"], time() + 30000000, $path);
|
||||
setcookie("cookie_sor_web", $fieldsArray["web"], time() + 30000000, $path);
|
||||
}
|
||||
|
||||
public function isSpam($fieldsArray)
|
||||
|
|
|
|||
|
|
@ -4,19 +4,16 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
class configuration
|
||||
{
|
||||
public $urlGelato;
|
||||
public $urlSorbet;
|
||||
public $tablePrefix;
|
||||
public $idUser;
|
||||
public $postLimit;
|
||||
|
|
@ -41,7 +38,7 @@ class configuration
|
|||
if ($db->ejecutarConsulta("SELECT * FROM ".Table_prefix."config")) {
|
||||
$row=$db->obtenerRegistro();
|
||||
$this->tablePrefix = Table_prefix;
|
||||
$this->urlGelato = $row['url_installation'];
|
||||
$this->urlSorbet = $row['url_installation'];
|
||||
$this->postLimit = $row['posts_limit'];
|
||||
$this->title = $row['title'];
|
||||
$this->description = $row['description'];
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ class Install
|
|||
}
|
||||
}
|
||||
|
||||
public function is_gelato_installed()
|
||||
public function is_sorbet_installed()
|
||||
{
|
||||
if (file_exists(Absolute_Path.'config.php')) {
|
||||
include_once(Absolute_Path."config.php");
|
||||
|
|
@ -190,7 +190,7 @@ class Install
|
|||
$action=$this->data['action'];
|
||||
}
|
||||
|
||||
if (!$this->is_gelato_installed()) {
|
||||
if (!$this->is_sorbet_installed()) {
|
||||
$this->showForm = true;
|
||||
|
||||
if ($action=="config") {
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -18,15 +15,15 @@ if (!defined('entry') || !entry) {
|
|||
{
|
||||
public $actions = array();
|
||||
public $exists = array();
|
||||
|
||||
|
||||
public function call($name)
|
||||
{
|
||||
if (!$this->exists($name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$index = 0;
|
||||
|
||||
|
||||
foreach ($GLOBALS['plugins::$instances'] as $plugin) {
|
||||
if (array_key_exists($index, $this->actions[$name])) {
|
||||
$action = $this->actions[$name][$index][1];
|
||||
|
|
@ -37,13 +34,13 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function exists($name)
|
||||
{
|
||||
if (isset($this->exists[$name])) {
|
||||
return $this->exists[$name];
|
||||
}
|
||||
|
||||
|
||||
foreach ($GLOBALS['plugins::$instances'] as $plugin) {
|
||||
if (array_key_exists($name, $this->actions)) {
|
||||
if (is_callable(array($plugin, $this->actions[$name][0][1]))) {
|
||||
|
|
@ -54,7 +51,7 @@ if (!defined('entry') || !entry) {
|
|||
|
||||
return $this->exists[$name] = false;
|
||||
}
|
||||
|
||||
|
||||
//I really hate you PHP4's OOP implementation
|
||||
public function &instance()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -4,19 +4,16 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
/* Simulating a class static property */
|
||||
$GLOBALS['plugins::$instances'] = array();
|
||||
|
||||
|
||||
class plugins
|
||||
{
|
||||
public function addAction($name, $function)
|
||||
|
|
|
|||
|
|
@ -4,16 +4,13 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
$util_class = new util();
|
||||
class gelato
|
||||
class sorbet
|
||||
{
|
||||
public $db;
|
||||
public $conf;
|
||||
|
|
@ -30,10 +27,10 @@ class gelato
|
|||
public function saveSettings($fieldsArray)
|
||||
{
|
||||
if ($this->db->modificarDeFormulario($this->conf->tablePrefix."config", $fieldsArray)) {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/settings.php?modified=true");
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/settings.php?modified=true");
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/settings.php?error=1&des=".$this->db->merror);
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/settings.php?error=1&des=".$this->db->merror);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
@ -60,10 +57,10 @@ class gelato
|
|||
public function modifyPost($fieldsArray, $id_post)
|
||||
{
|
||||
if ($this->db->modificarDeFormulario($this->conf->tablePrefix."data", $fieldsArray, "id_post=$id_post")) {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/index.php?modified=true");
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/index.php?modified=true");
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/index.php?error=2&des=".$this->db->merror);
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/index.php?error=2&des=".$this->db->merror);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
@ -205,7 +202,7 @@ class gelato
|
|||
public function getMp3Player($url)
|
||||
{
|
||||
if ($util_class->isMP3($url)) {
|
||||
$playerUrl = $conf->urlGelato."/admin/scripts/player.swf?soundFile=".$url;
|
||||
$playerUrl = $conf->urlSorbet."/admin/scripts/player.swf?soundFile=".$url;
|
||||
return "\t\t\t<object type=\"application/x-shockwave-flash\" data=\"" . $playerUrl . "\" width=\"290\" height=\"24\"><param name=\"movie\" value=\"" . $playerUrl . "\" /><param name=\"quality\" value=\"high\" /><param name=\"menu\" value=\"false\" /><param name=\"wmode\" value=\"transparent\" /></object>\n";
|
||||
} elseif ($util_class->isGoEar($url)) {
|
||||
return "\t\t\t<object type=\"application/x-shockwave-flash\" data=\"http://www.goear.com/files/external.swf\" width=\"366\" height=\"130\"><param name=\"movie\" value=\"http://www.goear.com/files/external.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"FlashVars\" value=\"file=".$util_class->getGoEarCode($url)."\" /><param name=\"wmode\" value=\"transparent\" /></object>\n";
|
||||
|
|
@ -219,7 +216,7 @@ class gelato
|
|||
public function getPermalink($post_id)
|
||||
{
|
||||
$strEnd = ($this->conf->urlFriendly) ? "/" : "";
|
||||
$out = $this->conf->urlGelato;
|
||||
$out = $this->conf->urlSorbet;
|
||||
$out .= ($this->conf->urlFriendly) ? "/post/" : "/index.php?post=";
|
||||
$out .= $post_id.$strEnd;
|
||||
return $out;
|
||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -101,14 +98,14 @@ class user
|
|||
$fieldsArray["password"] = md5($fieldsArray["password"]);
|
||||
if ($this->db->insertarDeFormulario($this->conf->tablePrefix."users", $fieldsArray)) {
|
||||
$this->confirmationEmail($fieldsArray['email'], $fieldsArray['login'], $realPassword);
|
||||
header("Location: ".$this->conf->urlGelato."/admin/admin.php?added=true");
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/admin.php?added=true");
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/admin.php?error=2&des=".$this->merror);
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/admin.php?error=2&des=".$this->merror);
|
||||
die();
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/admin.php?error=1");
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/admin.php?error=1");
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
@ -118,10 +115,10 @@ class user
|
|||
{
|
||||
$fieldsArray["password"] = md5($fieldsArray["password"]);
|
||||
if ($this->db->modificarDeFormulario($this->conf->tablePrefix."users", $fieldsArray, "id_user=$id_user")) {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/admin.php?modified=true");
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/admin.php?modified=true");
|
||||
die();
|
||||
} else {
|
||||
header("Location: ".$this->conf->urlGelato."/admin/admin.php?error=2&des=".$this->merror);
|
||||
header("Location: ".$this->conf->urlSorbet."/admin/admin.php?error=2&des=".$this->merror);
|
||||
die();
|
||||
}
|
||||
}
|
||||
|
|
@ -151,13 +148,13 @@ class user
|
|||
|
||||
public function confirmationEmail($email="", $user="", $password="")
|
||||
{
|
||||
$msg = "<font face=verdana><em><font size=2>Account information on <strong>gelato CMS</strong></font></em><br/><br/>";
|
||||
$msg .= "Visit the <a href=\"".$this->conf->urlGelato."/admin/\">tumblelog panel</a> <br/><br/>";
|
||||
$msg = "<font face=verdana><em><font size=2>Account information on <strong>Sorbet CMS</strong></font></em><br/><br/>";
|
||||
$msg .= "Visit the <a href=\"".$this->conf->urlSorbet."/admin/\">tumblelog panel</a> <br/><br/>";
|
||||
$msg .= "<font size=1>Username: <strong>".$user."</strong><br/><br/>";
|
||||
$msg .= "Password: <strong>".$password."</strong><br/><br/>";
|
||||
$msg .= "<em>Don't tell your password to anybody!!</em><br/><br/></font>";
|
||||
|
||||
sendMail($email, "Register confirmation on gelato CMS", $msg, "no-reply@gelatocms.com");
|
||||
sendMail($email, "Register confirmation on Sorbet CMS", $msg, "no-reply@sorbetcms.net");
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -301,8 +298,8 @@ class util
|
|||
public function sendMail($to, $title, $body, $from)
|
||||
{
|
||||
$rp = trim($from);
|
||||
$org = "gelato CMS";
|
||||
$mailer = "gelato CMS Mailer";
|
||||
$org = "Sorbet CMS";
|
||||
$mailer = "Sorbet CMS Mailer";
|
||||
|
||||
$head = '';
|
||||
$head .= "Content-Type: text/html \r\n";
|
||||
|
|
@ -397,7 +394,7 @@ class util
|
|||
$q = "GET " . $data['path'] . (isset($data['query'])?'?'.$data['query']:'') . " HTTP/1.1\r\n";
|
||||
$q .= "Host: " . $data['host'] . "\r\n";
|
||||
$q .= "Connection: close\r\n";
|
||||
$q .= "Referer: http://www.gelatocms.com/\r\n\r\n";
|
||||
$q .= "Referer: //www.sorbetcms.net/\r\n\r\n";
|
||||
|
||||
$recv = "";
|
||||
fwrite($f, $q);
|
||||
|
|
|
|||
|
|
@ -4,13 +4,10 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
|
||||
define('Table_prefix', 'gel_');
|
||||
define('Table_prefix', 'sor_');
|
||||
|
|
|
|||
Arquivo binário não exibido.
Arquivo binário não exibido.
|
|
@ -1,6 +1,6 @@
|
|||
-- DB Gelato CMS v0.95
|
||||
-- DB Sorbet CMS v0.95
|
||||
|
||||
CREATE TABLE `gel_data` (
|
||||
CREATE TABLE `sor_data` (
|
||||
`id_post` int(11) NOT NULL auto_increment,
|
||||
`title` text NULL,
|
||||
`url` varchar(250) default NULL,
|
||||
|
|
@ -11,7 +11,7 @@ CREATE TABLE `gel_data` (
|
|||
PRIMARY KEY (`id_post`)
|
||||
) ENGINE = MYISAM ;
|
||||
|
||||
CREATE TABLE `gel_users` (
|
||||
CREATE TABLE `sor_users` (
|
||||
`id_user` int(10) unsigned NOT NULL auto_increment,
|
||||
`name` varchar(100) default NULL,
|
||||
`login` varchar(100) NOT NULL default '',
|
||||
|
|
@ -22,7 +22,7 @@ CREATE TABLE `gel_users` (
|
|||
PRIMARY KEY (`id_user`)
|
||||
) ENGINE = MYISAM ;
|
||||
|
||||
CREATE TABLE `gel_config` (
|
||||
CREATE TABLE `sor_config` (
|
||||
`posts_limit` int(3) NOT NULL,
|
||||
`title` varchar(250) NOT NULL,
|
||||
`description` text NOT NULL,
|
||||
|
|
@ -32,13 +32,13 @@ CREATE TABLE `gel_config` (
|
|||
PRIMARY KEY (`title`)
|
||||
) ENGINE = MYISAM ;
|
||||
|
||||
CREATE TABLE `gel_options` (
|
||||
CREATE TABLE `sor_options` (
|
||||
`name` varchar(100) NOT NULL,
|
||||
`val` varchar(255) NOT NULL,
|
||||
PRIMARY KEY (`name`)
|
||||
) ENGINE = MYISAM ;
|
||||
|
||||
CREATE TABLE `gel_comments` (
|
||||
CREATE TABLE `sor_comments` (
|
||||
`id_comment` int(11) NOT NULL auto_increment,
|
||||
`id_post` int(11) NOT NULL,
|
||||
`username` varchar(50) NOT NULL,
|
||||
|
|
@ -51,7 +51,7 @@ CREATE TABLE `gel_comments` (
|
|||
PRIMARY KEY (`id_comment`)
|
||||
) ENGINE = MYISAM ;
|
||||
|
||||
CREATE TABLE `gel_feeds` (
|
||||
CREATE TABLE `sor_feeds` (
|
||||
`id_feed` int(11) NOT NULL auto_increment,
|
||||
`url` varchar(255) NOT NULL,
|
||||
`title` varchar(255) NOT NULL,
|
||||
|
|
@ -65,22 +65,22 @@ CREATE TABLE `gel_feeds` (
|
|||
) ENGINE=MyISAM ;
|
||||
|
||||
|
||||
-- Example data for table `gel_config`
|
||||
-- Example data for table `sor_config`
|
||||
|
||||
INSERT INTO `gel_config` VALUES (10, 'Tumble title', 'tumble description', 'en', 'tumblr', 'http://localhost/gelato');
|
||||
INSERT INTO `sor_config` VALUES (10, 'Tumble title', 'tumble description', 'en', 'tumblr', 'http://localhost/sorbet');
|
||||
|
||||
-- Example data for table `gel_users`
|
||||
-- Example data for table `sor_users`
|
||||
-- The password is "demo" without the "
|
||||
|
||||
INSERT INTO `gel_users` VALUES (1, 'System administrator', 'admin', 'fe01ce2a7fbac8fafaed7c982a04e229', 'correo@correo.com', 'page', 'about');
|
||||
INSERT INTO `sor_users` VALUES (1, 'System administrator', 'admin', 'fe01ce2a7fbac8fafaed7c982a04e229', 'correo@correo.com', 'page', 'about');
|
||||
|
||||
-- Example data for table `gel_options`
|
||||
-- Example data for table `sor_options`
|
||||
|
||||
INSERT INTO `gel_options` VALUES ('url_friendly', '1');
|
||||
INSERT INTO `gel_options` VALUES ('rich_text', '0');
|
||||
INSERT INTO `gel_options` VALUES ('allow_comments', '0');
|
||||
INSERT INTO `gel_options` VALUES ('offset_city', 'Mexico/General');
|
||||
INSERT INTO `gel_options` VALUES ('offset_time', '-6');
|
||||
INSERT INTO `gel_options` VALUES ('shorten_links', '0');
|
||||
INSERT INTO `gel_options` VALUES ('rss_import_frec', '5 minutes');
|
||||
INSERT INTO `gel_options` VALUES ('active_plugins', '[{"total":0},[]]');
|
||||
INSERT INTO `sor_options` VALUES ('url_friendly', '1');
|
||||
INSERT INTO `sor_options` VALUES ('rich_text', '0');
|
||||
INSERT INTO `sor_options` VALUES ('allow_comments', '0');
|
||||
INSERT INTO `sor_options` VALUES ('offset_city', 'Mexico/General');
|
||||
INSERT INTO `sor_options` VALUES ('offset_time', '-6');
|
||||
INSERT INTO `sor_options` VALUES ('shorten_links', '0');
|
||||
INSERT INTO `sor_options` VALUES ('rss_import_frec', '5 minutes');
|
||||
INSERT INTO `sor_options` VALUES ('active_plugins', '[{"total":0},[]]');
|
||||
22
entry.php
22
entry.php
|
|
@ -7,7 +7,7 @@ if (!defined('entry') || !entry) {
|
|||
error_reporting(E_ALL);
|
||||
ini_set('display_errors', '1');
|
||||
|
||||
// PHP settings specific to Gelato
|
||||
// PHP settings specific to Sorbet
|
||||
ini_set('pcre.backtrack_limit', '10000');
|
||||
|
||||
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
|
||||
|
|
@ -22,7 +22,7 @@ if (!file_exists($configFile) and basename($_SERVER['PHP_SELF'])!='install.php')
|
|||
} else {
|
||||
include_once(Absolute_Path.'classes/install.class.php');
|
||||
$install = new Install();
|
||||
if (!$install->is_gelato_installed()) {
|
||||
if (!$install->is_sorbet_installed()) {
|
||||
if (basename($_SERVER['PHP_SELF'])!='install.php') {
|
||||
header("Location: {$dir}install.php");
|
||||
exit;
|
||||
|
|
@ -38,12 +38,12 @@ if ($installed) {
|
|||
if (!extension_loaded('json')) {
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'JSON.php');
|
||||
$GLOBALS['JSON_OBJECT'] = new Services_JSON();
|
||||
|
||||
|
||||
function json_encode($value)
|
||||
{
|
||||
return $GLOBALS['JSON_OBJECT']->encode($value);
|
||||
}
|
||||
|
||||
|
||||
function json_decode($value, $none)
|
||||
{
|
||||
return $GLOBALS['JSON_OBJECT']->decode($value);
|
||||
|
|
@ -52,7 +52,7 @@ if (!extension_loaded('json')) {
|
|||
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'configuration.class.php');
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'util.class.php');
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'gelato.class.php');
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'sorbet.class.php');
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'templates.class.php');
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'themes.class.php');
|
||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'pagination.class.php');
|
||||
|
|
@ -71,19 +71,19 @@ if ($installed) {
|
|||
// Globals to be used throughout the application
|
||||
$db = new Conexion_Mysql(DB_name, DB_Server, DB_User, DB_Password);
|
||||
$conf = new configuration();
|
||||
$tumble = new gelato();
|
||||
$tumble = new sorbet();
|
||||
$user = new user();
|
||||
|
||||
|
||||
session_start();
|
||||
|
||||
|
||||
$util_init_plugins = new util();
|
||||
$util_init_plugins -> init_plugins();
|
||||
|
||||
$plugin_instance = new plugin();
|
||||
|
||||
|
||||
$trigger =& $plugin_instance -> instance(); //DO NOT remove the & after the =
|
||||
|
||||
$trigger->call('gelato_init');
|
||||
|
||||
$trigger->call('sorbet_init');
|
||||
|
||||
$feeds = new feeds();
|
||||
$feeds->updateFeeds();
|
||||
|
|
|
|||
12
gettext.bat
12
gettext.bat
|
|
@ -1,17 +1,17 @@
|
|||
dir /a /b /-p /s /o:gen *.php > sources_php.txt
|
||||
|
||||
|
||||
PATH C:\Program Files\poEdit\bin
|
||||
PATH C:\Archivos de programa\poEdit\bin
|
||||
|
||||
for /f %%a in ('dir /b languages') do call :add_strings "%%a"
|
||||
|
||||
|
||||
del sources_php.txt
|
||||
|
||||
|
||||
goto :eof
|
||||
|
||||
|
||||
:add_strings
|
||||
xgettext --keyword=__ --language=PHP --package-name=gelatocms --package-version=1.0 --no-location --no-wrap --files-from=sources_php.txt -j --from-code=UTF-8 -d languages/%1/messages
|
||||
xgettext --keyword=__ --language=PHP --package-name=sorbetcms --package-version=1.0 --no-location --no-wrap --files-from=sources_php.txt -j --from-code=UTF-8 -d languages/%1/messages
|
||||
|
||||
cd languages/%1
|
||||
msgfmt messages.po
|
||||
cd ../..
|
||||
cd ../..
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
Antes Largura: | Altura: | Tamanho: 3.6 KiB Depois Largura: | Altura: | Tamanho: 1.1 KiB |
49
index.php
49
index.php
|
|
@ -2,14 +2,11 @@
|
|||
if (!defined('entry')) {
|
||||
define('entry', true);
|
||||
}
|
||||
/* ===========================
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -54,12 +51,12 @@ $util_class = new util();
|
|||
}
|
||||
}
|
||||
|
||||
$feed_url = $conf->urlGelato.($conf->urlFriendly?"/rss/":"/rss.php");
|
||||
$feed_url = $conf->urlSorbet.($conf->urlFriendly?"/rss/":"/rss.php");
|
||||
|
||||
|
||||
|
||||
$gelato_includes = "<meta name=\"generator\" content=\"gelato ".$util_class -> codeName()." (".$util_class -> version().")\" />\n";
|
||||
$gelato_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlGelato."/images/favicon.ico\" />";
|
||||
$sorbet_includes = "<meta name=\"generator\" content=\"sorbet ".$util_class -> codeName()." (".$util_class -> version().")\" />\n";
|
||||
$sorbet_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlSorbet."/images/favicon.ico\" />";
|
||||
|
||||
$page_title = $conf->title;
|
||||
$page_title_divisor = " » "; // it should be set in configuration
|
||||
|
|
@ -80,20 +77,20 @@ $util_class = new util();
|
|||
}
|
||||
}
|
||||
|
||||
$trigger->call('gelato_includes');
|
||||
$trigger->call('sorbet_includes');
|
||||
$theme->set('rssFeed', $feed_url);
|
||||
$theme->set('Gelato_includes', $gelato_includes);
|
||||
$theme->set('Sorbet_includes', $sorbet_includes);
|
||||
$theme->set('Title', $conf->title);
|
||||
$theme->set('Page_Title', $page_title);
|
||||
$theme->set('Description', $conf->description);
|
||||
$theme->set('URL_Tumble', $conf->urlGelato);
|
||||
$theme->set('URL_Tumble', $conf->urlSorbet);
|
||||
$theme->set('Template_name', $conf->template);
|
||||
$theme->set('allowComments', $conf->allowComments);
|
||||
|
||||
$theme->set('isAuthenticated', $user->isAuthenticated());
|
||||
if ($user->isAuthenticated()) {
|
||||
$theme->set('User', $_SESSION["user_login"]);
|
||||
$theme->set('URL_Tumble', $conf->urlGelato);
|
||||
$theme->set('URL_Tumble', $conf->urlSorbet);
|
||||
}
|
||||
|
||||
$rows = array();
|
||||
|
|
@ -138,12 +135,12 @@ $util_class = new util();
|
|||
$fileName = "uploads/".$util_class->getFileName($register["url"]);
|
||||
$x = @getimagesize($fileName);
|
||||
if ($x[0] > 500) {
|
||||
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$register["url"];
|
||||
$photoPath = $conf->urlSorbet."/classes/imgsize.php?w=500&img=".$register["url"];
|
||||
} else {
|
||||
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
||||
$photoPath = str_replace("../", $conf->urlSorbet."/", $register["url"]);
|
||||
}
|
||||
|
||||
$effect = " href=\"".str_replace("../", $conf->urlGelato."/", $register["url"])."\" rel=\"lightbox\"";
|
||||
$effect = " href=\"".str_replace("../", $conf->urlSorbet."/", $register["url"])."\" rel=\"lightbox\"";
|
||||
|
||||
$row['PhotoURL'] = $photoPath;
|
||||
$row['PhotoAlt'] = strip_tags($register["description"]);
|
||||
|
|
@ -198,9 +195,9 @@ $util_class = new util();
|
|||
$p->limit($limit);
|
||||
if ($conf->urlFriendly) {
|
||||
$p->urlFriendly('[...]');
|
||||
$p->target($conf->urlGelato."/page/[...]");
|
||||
$p->target($conf->urlSorbet."/page/[...]");
|
||||
} else {
|
||||
$p->target($conf->urlGelato);
|
||||
$p->target($conf->urlSorbet);
|
||||
}
|
||||
|
||||
$p->currentPage(isset($page_num) ? $page_num : 1);
|
||||
|
|
@ -235,12 +232,12 @@ $util_class = new util();
|
|||
|
||||
$x = @getimagesize($fileName);
|
||||
if ($x[0] > 500) {
|
||||
$photoPath = $conf->urlGelato."/classes/imgsize.php?w=500&img=".$register["url"];
|
||||
$photoPath = $conf->urlSorbet."/classes/imgsize.php?w=500&img=".$register["url"];
|
||||
} else {
|
||||
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
||||
$photoPath = str_replace("../", $conf->urlSorbet."/", $register["url"]);
|
||||
}
|
||||
|
||||
$effect = " href=\"".str_replace("../", $conf->urlGelato."/", $register["url"])."\" rel=\"lightbox\"";
|
||||
$effect = " href=\"".str_replace("../", $conf->urlSorbet."/", $register["url"])."\" rel=\"lightbox\"";
|
||||
|
||||
$row['PhotoURL'] = $photoPath;
|
||||
$row['PhotoAlt'] = strip_tags($register["description"]);
|
||||
|
|
@ -308,13 +305,13 @@ $util_class = new util();
|
|||
}
|
||||
$theme->set('comments', $comments);
|
||||
|
||||
$whois['User_Cookie'] = isset($_COOKIE['cookie_gel_user'])?$_COOKIE['cookie_gel_user']:'';
|
||||
$whois['Email_Cookie'] = isset($_COOKIE['cookie_gel_email'])?$_COOKIE['cookie_gel_email']:'';
|
||||
$whois['Web_Cookie'] = isset($_COOKIE['cookie_gel_web'])?$_COOKIE['cookie_gel_web']:'';
|
||||
$whois['User_Cookie'] = isset($_COOKIE['cookie_sor_user'])?$_COOKIE['cookie_sor_user']:'';
|
||||
$whois['Email_Cookie'] = isset($_COOKIE['cookie_sor_email'])?$_COOKIE['cookie_sor_email']:'';
|
||||
$whois['Web_Cookie'] = isset($_COOKIE['cookie_sor_web'])?$_COOKIE['cookie_sor_web']:'';
|
||||
$whois['Id_Post'] = $register["id_post"];
|
||||
|
||||
$theme->set('Date_Added', gmmktime());
|
||||
$theme->set('Form_Action', $conf->urlGelato."/admin/comments.php");
|
||||
$theme->set('Form_Action', $conf->urlSorbet."/admin/comments.php");
|
||||
$theme->set('whois', $whois);
|
||||
}
|
||||
|
||||
|
|
@ -324,6 +321,6 @@ $util_class = new util();
|
|||
$theme->set('rows', $rows);
|
||||
}
|
||||
|
||||
$theme->set('URL_Tumble', $conf->urlGelato);
|
||||
$theme->set('URL_Tumble', $conf->urlSorbet);
|
||||
$theme->display(Absolute_Path.'themes/'.$conf->template.'/index.htm');
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
|
||||
|
|
@ -25,7 +22,7 @@ if (file_exists($configFile)) {
|
|||
|
||||
global $user, $conf, $tumble;
|
||||
$install = new Install();
|
||||
if ($install->is_gelato_installed()) {
|
||||
if ($install->is_sorbet_installed()) {
|
||||
header("location: index.php");
|
||||
exit;
|
||||
}
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Text"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Es troba disponible una versió més recent de Gelato i està llesta <a href=\"http://www.gelatocms.com/\">per a descarregar</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Es troba disponible una versió més recent de Sorbet CMS i està llesta per a descarregar."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "recorda'm:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Per usar gelato has d'estar registrat com a usuari."
|
||||
msgid " You must be registered to use Sorbet CMS."
|
||||
msgstr " Per usar Sorbet CMS has d'estar registrat com a usuari."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Important"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "afegir a gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "afegir a sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "hores"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: Sorbet cms 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Regulär"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Eine neue Gelato Version wurde veröffentlicht und steht <a href=\"http://www.gelatocms.com/\">zum Download</a> bereit."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Eine neue Version wurde veröffentlicht und steht zum Download bereit."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Erinnere dich an mich:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Du musst registriert sein um Gelato zu verwenden."
|
||||
msgid " You must be registered to use Sorbet CMS."
|
||||
msgstr " Du musst registriert sein um Sorbet CMS zu verwenden."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importiere"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "Zu Gelato hinzufügen"
|
||||
msgid "add to sorbet"
|
||||
msgstr "Zu Sorbet hinzufügen"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "Stunde"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "Stunden"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Regular"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "A new version has been released and is ready for download."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Remember me:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " You must be registered to use gelato."
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " You must be registered to use sorbet."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importing"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "add to gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "add to sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "hour"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "hours"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Texto"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Se encuentra disponible una versión más reciente de Gelato y está lista <a href=\"http://www.gelatocms.com/\">para descargar</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Se encuentra disponible una versión más reciente y está lista para descargar."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Recordarme:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Debes estar registrado para usar gelato."
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " Debes estar registrado para usar sorbet."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importando"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "añadir a gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "añadir a sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "horas"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: Sorbet CMS 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Texto"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Se encuentra disponible una versión más reciente de Gelato y está lista <a href=\"http://www.gelatocms.com/\">para descargar</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Se encuentra disponible una versión más reciente y está lista para descargar."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Recuérdame:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Para usar gelato has de estar registrado como usuario."
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " Para usar sorbet has de estar registrado como usuario."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importando"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "añadir a gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "añadir a sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "horas"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: sorbet cms 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Regular"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Se ha liberado una nueva versión de gelato y esta lista para <a href=\"http://www.gelatocms.com/\">descargar</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Se ha liberado una nueva versión y esta lista para descargar."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Recordarme:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Debes estar registrado para usar gelato."
|
||||
msgid " You must be registered to use Sorbet CMS."
|
||||
msgstr " Debes estar registrado para usar Sorbet CMS."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importando"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "agregar a gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "agregar a sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "horas"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Normal"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Une nouvelle version de gelato est disponible au <a href=\"http://www.gelatocms.com/\">téléchargement</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Une nouvelle version est disponible au téléchargement."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,7 +592,7 @@ msgid "Remember me:"
|
|||
msgstr ""
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgid " You must be registered to use Sorbet CMS."
|
||||
msgstr ""
|
||||
|
||||
#: login.php:108
|
||||
|
|
@ -686,7 +686,7 @@ msgid "Importing"
|
|||
msgstr ""
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:204
|
||||
|
|
@ -717,4 +717,3 @@ msgstr ""
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: sorbet cms 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
||||
|
|
@ -330,8 +330,8 @@ msgstr "Testo"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Una nuova versione di gelato è stata rilasciata ed è pronta <a href=\"http://www.gelatocms.com/\">per lo scaricamento</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Una nuova versione è stata rilasciata ed è pronta per lo scaricamento."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -594,8 +594,8 @@ msgid "Remember me:"
|
|||
msgstr "Ricordami:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Devi essere registrato per usare gelato."
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " Devi essere registrato per usare sorbet."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -688,8 +688,8 @@ msgid "Importing"
|
|||
msgstr "Importando"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "aggiungi a gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "aggiungi a sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -719,4 +719,3 @@ msgstr "ora"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "ore"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: Sorbet CMS 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Standaard tekst"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Een nieuwe gelato versie is uigebracht en is <a href=\"http://www.gelatocms.com/\">hier</a> te downloaden."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Een nieuwe versie is uigebracht en is hier te downloaden."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Onthoudt mij:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Je moet gerigistreerd zijn om gelato te gebruiken"
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " Je moet gerigistreerd zijn om sorbet te gebruiken"
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importeren"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "voeg aan gelato toe"
|
||||
msgid "add to sorbet"
|
||||
msgstr "voeg aan sorbet toe"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "uur"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "uren"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: sorbet cms 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Vanlig"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "En ny gelato versjon er klar og kan <a href=\"http://www.gelatocms.com/\">lastes ned</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "En ny versjon er klar og kan lastes ned."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Husk meg:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Du må være registrert for å bruke Gelato"
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " Du må være registrert for å bruke Sorbet"
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -688,8 +688,8 @@ msgid "Importing"
|
|||
msgstr "Importerer"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "Legg til i gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "Legg til i sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -719,4 +719,3 @@ msgstr "time"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "timer"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: sorbet cms 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Normalny"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Nowa wersja gelato jest dostępna, <a href=\"http://www.gelatocms.com/\">kliknij tutaj, aby kontynuować.</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Nowa wersja jest dostępna, kliknij tutaj, aby kontynuować.."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,7 +592,7 @@ msgid "Remember me:"
|
|||
msgstr ""
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr ""
|
||||
|
||||
#: login.php:108
|
||||
|
|
@ -686,7 +686,7 @@ msgid "Importing"
|
|||
msgstr ""
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr ""
|
||||
|
||||
#: options.php:204
|
||||
|
|
@ -717,4 +717,3 @@ msgstr ""
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: gelato cms 0.95\n"
|
||||
"Project-Id-Version: sorbet cms 0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "Regular"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Uma nova versão do gelato foi lançada e está disponível <a href=\"http://www.gelatocms.com/\">para download</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Uma nova versão foi lançada e está disponível para download."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "Lembrar de mim: "
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " Você deve ser um usuário registrado para usar o gelato."
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " Você deve ser um usuário registrado para usar o sorbet."
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "Importando"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "adicionar ao gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "adicionar ao sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "horas"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: GelatoCMS v0.95\n"
|
||||
"Project-Id-Version: SorbetCMS v0.95\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||
|
|
@ -328,8 +328,8 @@ msgstr "Текст"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "Новая верия GelatoCMS <a href=\"http://www.gelatocms.com/\">доступна для скачивания</a>!"
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "Новая верия SorbetCMS доступна для скачивания!"
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -591,7 +591,7 @@ msgid "Remember me:"
|
|||
msgstr "Запомнить меня:"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgid " You must be registered to use Sorbet CMS."
|
||||
msgstr " Вы должны быть зарегистрированы."
|
||||
|
||||
#: login.php:108
|
||||
|
|
@ -685,8 +685,8 @@ msgid "Importing"
|
|||
msgstr "Импортирование"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "добавить в gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "добавить в sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -716,4 +716,3 @@ msgstr "час"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "часов"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: chinese for gelato\n"
|
||||
"Project-Id-Version: chinese for sorbet\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "规则"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "新版本发布,请<a href=\"http://www.gelatocms.com/\">下载</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "新版本发布,请下载."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "记住我"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " 您需要注册才能使用gelato"
|
||||
msgid " You must be registered to use sorbet."
|
||||
msgstr " 您需要注册才能使用sorbet"
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "导入"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "添加到gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "添加到sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "小时"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "小时"
|
||||
|
||||
|
|
|
|||
Arquivo binário não exibido.
|
|
@ -1,11 +1,11 @@
|
|||
# SOME DESCRIPTIVE TITLE.
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: chinese for gelato\n"
|
||||
"Project-Id-Version: chinese for sorbet\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||
|
|
@ -329,8 +329,8 @@ msgstr "規則"
|
|||
|
||||
#: index.php:167
|
||||
#: index.php:145
|
||||
msgid "A new gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
||||
msgstr "新版本發布,請<a href=\"http://www.gelatocms.com/\">下載</a>."
|
||||
msgid "A new version has been released and is ready for download."
|
||||
msgstr "新版本發布,請下載."
|
||||
|
||||
#: index.php:172
|
||||
#: index.php:150
|
||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
|||
msgstr "記住我"
|
||||
|
||||
#: login.php:101
|
||||
msgid " You must be registered to use gelato."
|
||||
msgstr " 您需要註冊才能使用gelato"
|
||||
msgid " You must be registered to use Sorbet CMS."
|
||||
msgstr " 您需要註冊才能使用Sorbet CMS"
|
||||
|
||||
#: login.php:108
|
||||
msgid " You must be logged on the system."
|
||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
|||
msgstr "導入"
|
||||
|
||||
#: index.php:287
|
||||
msgid "add to gelato"
|
||||
msgstr "添加到gelato"
|
||||
msgid "add to sorbet"
|
||||
msgstr "添加到sorbet"
|
||||
|
||||
#: options.php:204
|
||||
msgid "Shorten long URLs:"
|
||||
|
|
@ -717,4 +717,3 @@ msgstr "小時"
|
|||
#: options.php:224
|
||||
msgid "hours"
|
||||
msgstr "小時"
|
||||
|
||||
|
|
|
|||
17
login.php
17
login.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -20,19 +17,19 @@ require_once('entry.php');
|
|||
global $user, $conf;
|
||||
|
||||
if ($user->isAuthenticated()) {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php");
|
||||
} else {
|
||||
if (isset($_POST["pass"]) && isset($_POST["login"])) {
|
||||
if ($user->validateUser($_POST['login'], md5($_POST['pass']))) {
|
||||
if (isset($_POST["url_redirect"])) {
|
||||
header("Location: ".$conf->urlGelato."/admin/bm.php?url=".$_POST["url_redirect"]."&sel=".$_POST["sel"]);
|
||||
header("Location: ".$conf->urlSorbet."/admin/bm.php?url=".$_POST["url_redirect"]."&sel=".$_POST["sel"]);
|
||||
exit();
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/admin/index.php");
|
||||
header("Location: ".$conf->urlSorbet."/admin/index.php");
|
||||
exit();
|
||||
}
|
||||
} else {
|
||||
header("Location: ".$conf->urlGelato."/login.php?error=1");
|
||||
header("Location: ".$conf->urlSorbet."/login.php?error=1");
|
||||
exit();
|
||||
}
|
||||
} else {
|
||||
|
|
@ -43,7 +40,7 @@ if ($user->isAuthenticated()) {
|
|||
$theme->set('sel', (isset($_GET['sel'])?$_GET['sel']:''));
|
||||
$theme->set('error', (isset($_GET['error'])?$_GET['error']:''));
|
||||
$theme->set('conf', array(
|
||||
"urlGelato"=>$conf->urlGelato
|
||||
"urlSorbet"=>$conf->urlSorbet
|
||||
));
|
||||
$theme->display(Absolute_Path.'admin/themes/admin/login.htm');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
/*
|
||||
Plugin Name: FeedReplacement
|
||||
Plugin URI: http://plugins.gelatocms.com/feedreplacement/
|
||||
Description:
|
||||
Description:
|
||||
Author: Victor Bracco
|
||||
Author URI: http://www.vbracco.com.ar/
|
||||
Version: 0.3
|
||||
|
|
@ -12,40 +11,40 @@ class feedreplacement extends plugins
|
|||
public function feedreplacement()
|
||||
{
|
||||
global $user, $conf, $tumble;
|
||||
|
||||
|
||||
//agregar al los panel de options un input mas
|
||||
$this->addAction('add_options_panel', 'feedreplacement_setOptionsPanel');
|
||||
|
||||
|
||||
//crea o verifica que la opcion que usa de la tabla de opciones esta creada
|
||||
$this->addAction('gelato_init', 'feedreplacement_check');
|
||||
|
||||
//reemplaza el link del feed de gelato por el link de feedburner
|
||||
$this->addAction('sorbet_init', 'feedreplacement_check');
|
||||
|
||||
//reemplaza el link del feed de sorbet por el link de feedburner
|
||||
//$this->addAction('add_post', 'dameCinco');
|
||||
|
||||
|
||||
//lo mismo pero con el que esta en el header
|
||||
$this->addAction('gelato_includes', 'feedreplacement_includeFeed');
|
||||
|
||||
$this->addAction('sorbet_includes', 'feedreplacement_includeFeed');
|
||||
|
||||
//redirecting all trafic
|
||||
$this->addAction('feed_header', 'feedreplacement_redirect');
|
||||
|
||||
|
||||
//guarda la opcion si viene por POST
|
||||
if ($user->isAdmin()) {
|
||||
if (isset($_POST["feedreplacement_url"])) {
|
||||
if (!$tumble->saveOption($_POST["feedreplacement_url"], "feedreplacement_url")) {
|
||||
header("Location: ".$conf->urlGelato."/admin/options.php?error=1&des=".$conf->merror);
|
||||
header("Location: ".$conf->urlSorbet."/admin/options.php?error=1&des=".$conf->merror);
|
||||
die();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function feedreplacement_setOptionsPanel()
|
||||
{
|
||||
global $conf;
|
||||
echo '<li><label class="help" for="feedreplacement_url">'.__("Replacement Feed:").'</label>
|
||||
<input type="text" name="feedreplacement_url" id="feedreplacement_url" value="'.$conf->get_option('feedreplacement_url').'" class="txt help" title="'.__("Introduce your new feed url into this input").'"/></li>';
|
||||
}
|
||||
|
||||
|
||||
public function feedreplacement_check()
|
||||
{
|
||||
global $db,$conf;
|
||||
|
|
@ -58,16 +57,16 @@ class feedreplacement extends plugins
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function feedreplacement_includeFeed()
|
||||
{
|
||||
global $conf,$gelato_includes,$feed_url;
|
||||
global $conf,$sorbet_includes,$feed_url;
|
||||
$feedreplacement_url = $conf->get_option('feedreplacement_url');
|
||||
if ($feedreplacement_url!="") {
|
||||
$feed_url = $feedreplacement_url;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function feedreplacement_redirect()
|
||||
{
|
||||
global $conf;
|
||||
|
|
|
|||
|
|
@ -9,13 +9,12 @@ class kodrs extends plugins
|
|||
}
|
||||
$this->addAction('post_content', 'source_code_beautifier');
|
||||
}
|
||||
|
||||
|
||||
public function info()
|
||||
{
|
||||
return array(
|
||||
'name' => 'kodrs',
|
||||
'version' => '0.1',
|
||||
'url' => 'http://plugins.gelatocms.com/kodrs/',
|
||||
'author' => 'Pedro Santana',
|
||||
'authorurl' => 'http://www.pecesama.net/',
|
||||
'license' => 'MIT License',
|
||||
|
|
@ -39,7 +38,7 @@ class kodrs extends plugins
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function replace_with_geshi($matches)
|
||||
{
|
||||
$lang = strtolower($matches[1]) ;
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
/*
|
||||
Plugin Name: PostConfirmation
|
||||
Plugin URI: http://www.gelatocms.com/plugins/postconfirmation/
|
||||
Description: Add a confirmation dialog when submit the Create-post button.
|
||||
Author: Victor Bracco
|
||||
Author URI: http://www.vbracco.com.ar/
|
||||
|
|
@ -14,13 +13,13 @@ class post_confirmation extends plugins
|
|||
{
|
||||
$this->addAction('admin_includes', 'post_confirmation_script');
|
||||
}
|
||||
|
||||
|
||||
public function post_confirmation_script()
|
||||
{
|
||||
global $admin_includes,$isEdition;
|
||||
if (!$isEdition) {
|
||||
$admin_includes .= "
|
||||
<script type=\"text/javascript\">
|
||||
<script type=\"text/javascript\">
|
||||
$(document).ready(function(){
|
||||
$('#publish').click( function(){
|
||||
return (confirm('".__("Do you realy want to publish this?")."'));
|
||||
|
|
|
|||
20
readme.txt
20
readme.txt
|
|
@ -1,16 +1,10 @@
|
|||
PLEASE DO NOT USE AS PRODUCTION TUMBLELOG, ONLY FOR TESTING PURPOSES
|
||||
We don't recommand to use this CMS in production, as it is still in development.
|
||||
|
||||
This beta version is not ready to replace your actual gelato tumblelog, there is not an update script, only fresh installs for TESTING purposes.
|
||||
==== How to install Sorbet CMS =====
|
||||
|
||||
==== How to install gelato CMS =====
|
||||
1) Download and extract the package to your web server
|
||||
2) Make sure the file "config.php" and the folder "uploads" are writable by the webserver
|
||||
3) Access your installation, you should be redirected to /install.php
|
||||
4) Fill out the form, click "Install"
|
||||
|
||||
1) Download and unzip the gelato package, if you haven't already.
|
||||
2) Place the gelato files in the desired location on your web server.
|
||||
3) Rename the file config-sample.php to config.php and edit it with your server info.
|
||||
4) Run the gelato installation script by accessing install.php in your favorite web browser.
|
||||
* If you installed gelato in the root directory, you should visit: http://example.com/install.php
|
||||
* If you installed gelato in its own subdirectory called tumblelog, for example, you should visit: http://example.com/tumblelog/install.php
|
||||
5) Set CHMOD / permission ( Chmod 777 ) to the folder 'uploads' and the folder 'uploads/CACHE'
|
||||
6) REMOVE the install.php file.
|
||||
|
||||
That's it! gelato should now be installed.
|
||||
That's it! Sorbet should now be installed.
|
||||
|
|
|
|||
17
rss.php
17
rss.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -29,13 +26,13 @@ if (!defined('entry')) {
|
|||
<rss version="2.0">
|
||||
<channel>
|
||||
<title><?php echo htmlspecialchars($conf->title);?></title>
|
||||
<link><?php echo $conf->urlGelato;?></link>
|
||||
<link><?php echo $conf->urlSorbet;?></link>
|
||||
<description><?php echo htmlspecialchars($conf->description);?></description>
|
||||
<generator>gelato CMS <?php echo $util_class->codeName()." (".$util_class->version().")"; ?></generator>
|
||||
<generator>Sorbet CMS <?php echo $util_class->codeName()." (".$util_class->version().")"; ?></generator>
|
||||
<image>
|
||||
<url><?php echo $conf->urlGelato;?>/images/information.png</url>
|
||||
<url><?php echo $conf->urlSorbet;?>/images/information.png</url>
|
||||
<title><?php echo htmlspecialchars($conf->description);?></title>
|
||||
<link><?php echo $conf->urlGelato;?></link>
|
||||
<link><?php echo $conf->urlSorbet;?></link>
|
||||
</image>
|
||||
<?php
|
||||
$rs = $tumble->getPosts("20");
|
||||
|
|
@ -49,7 +46,7 @@ if (!defined('entry')) {
|
|||
$desc = $register["description"];
|
||||
break;
|
||||
case "2":
|
||||
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
||||
$photoPath = str_replace("../", $conf->urlSorbet."/", $register["url"]);
|
||||
$tit = ($register["description"]=="") ? "Photo" : $register["description"];
|
||||
$desc = "<img src=\"".$photoPath."\"/>";
|
||||
break;
|
||||
|
|
|
|||
13
sitemap.php
13
sitemap.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
|||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
|
|
@ -22,14 +19,14 @@ if (!defined('entry')) {
|
|||
$isFeed = true;
|
||||
|
||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
|
||||
echo "<?xml-stylesheet type=\"text/xsl\" href=\"".$conf->urlGelato."/sitemap.xsl\"?>\n";
|
||||
echo "<?xml-stylesheet type=\"text/xsl\" href=\"".$conf->urlSorbet."/sitemap.xsl\"?>\n";
|
||||
|
||||
$rs = $tumble->getPosts(1);
|
||||
?>
|
||||
<!-- generator="gelato CMS" -->
|
||||
<!-- generator="Sorbet CMS" -->
|
||||
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc><?php echo $conf->urlGelato;?></loc>
|
||||
<loc><?php echo $conf->urlSorbet;?></loc>
|
||||
<?php
|
||||
if ($db->contarRegistros()>0) {
|
||||
$register = $rs->fetch();
|
||||
|
|
|
|||
22
sitemap.xsl
22
sitemap.xsl
|
|
@ -11,43 +11,43 @@
|
|||
font-family:"Lucida Grande","Lucida Sans Unicode",Tahoma,Verdana;
|
||||
font-size:13px;
|
||||
}
|
||||
|
||||
|
||||
#intro {
|
||||
background-color:#CFEBF7;
|
||||
border:1px #2580B2 solid;
|
||||
padding:5px 13px 5px 13px;
|
||||
margin:10px;
|
||||
}
|
||||
|
||||
|
||||
#intro p {
|
||||
line-height: 16.8667px;
|
||||
}
|
||||
|
||||
|
||||
td {
|
||||
font-size:11px;
|
||||
}
|
||||
|
||||
|
||||
th {
|
||||
text-align:left;
|
||||
padding-right:30px;
|
||||
font-size:11px;
|
||||
}
|
||||
|
||||
|
||||
tr.high {
|
||||
background-color:whitesmoke;
|
||||
}
|
||||
|
||||
|
||||
#footer {
|
||||
padding:2px;
|
||||
margin:10px;
|
||||
font-size:8pt;
|
||||
color:gray;
|
||||
}
|
||||
|
||||
|
||||
#footer a {
|
||||
color:gray;
|
||||
}
|
||||
|
||||
|
||||
a {
|
||||
color:black;
|
||||
}
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
<div id="intro">
|
||||
<p>
|
||||
This is a XML Sitemap which is supposed to be processed by search engines like <a href="http://www.google.com/">Google</a>, <a href="http://search.msn.com/">MSN Search</a> and <a href="http://www.yahoo.com/">YAHOO</a>.<br/>
|
||||
It was generated using the Tumblelogging-Software <a href="http://www.gelatocms.com/">Gelato CMS</a>.<br/>
|
||||
It was generated using the Tumblelogging-Software Sorbet CMS.<br/>
|
||||
You can find more information about XML sitemaps on <a href="http://sitemaps.org/">sitemaps.org</a> and Google's <a href="http://code.google.com/sm_thirdparty.html">list of sitemap programs</a>.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -99,9 +99,9 @@
|
|||
</table>
|
||||
</div>
|
||||
<div id="footer">
|
||||
gelato CMS :: PHP/MySQL Tumblelog Content Management System.
|
||||
Sorbet CMS :: PHP/MySQL Tumblelog Content Management System.
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
</xsl:stylesheet>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en"><head>
|
||||
{Gelato_includes}
|
||||
{Sorbet_includes}
|
||||
<link rel="stylesheet" type="text/css" href="{URL_Tumble}/themes/{Template_name}/style.css"/>
|
||||
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
|
||||
|
|
@ -180,7 +180,7 @@
|
|||
<p class="tiny">
|
||||
<a href="{URL_Tumble}/archive.php">{__("archive")}</a> /
|
||||
{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> /
|
||||
{__("powered by")} <a href="http://www.gelatocms.com/">gelato cms</a>
|
||||
{__("powered by")} sorbet cms
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -1,378 +1 @@
|
|||
body {
|
||||
color: #fff;
|
||||
margin: 0px;
|
||||
background: #002c43 url('images/bg.gif');
|
||||
font-family: 'Lucida Grande', Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
#content {
|
||||
width: 510px;
|
||||
margin: auto;
|
||||
padding: 35px;
|
||||
position: relative;
|
||||
background: #005885 url('images/content_bg.png');
|
||||
border-left: solid 10px #003955;
|
||||
border-right: solid 10px #003955;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #ff9900;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding: 25px 0px 65px 0px;
|
||||
margin: 0px;
|
||||
text-align: center;
|
||||
font: Normal 65px Georgia, serif;
|
||||
line-height: 60px;
|
||||
letter-spacing: -1px;
|
||||
opacity: 0.9;
|
||||
-moz-opacity: 0.9;
|
||||
filter: alpha(opacity=90);
|
||||
}
|
||||
|
||||
h1 a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div#content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div#description {
|
||||
position: absolute;
|
||||
left: 605px;
|
||||
font: Normal 12px Verdana,sans-serif;
|
||||
line-height: 20px;
|
||||
width: 150px;
|
||||
color: #568;
|
||||
}
|
||||
|
||||
div#search {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
div#description div a {
|
||||
color: #568;
|
||||
}
|
||||
|
||||
div#searchresultcount {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.post {
|
||||
position: relative;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
.post .permalink {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
right: 3px;
|
||||
display: none;
|
||||
font-weight: bold;
|
||||
font-size: 24px;
|
||||
line-height: 0px;
|
||||
}
|
||||
|
||||
.post:hover .permalink {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.post .permalink a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.post .date {
|
||||
position: absolute;
|
||||
right: 565px;
|
||||
text-align: right;
|
||||
width: 200px;
|
||||
white-space: nowrap;
|
||||
font: Bold 20px Helvetica, sans-serif;
|
||||
text-align: right;
|
||||
letter-spacing: -1px;
|
||||
color: #888;
|
||||
padding: 5px 5px 5px 5px;
|
||||
line-height: 20px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.post .date em {
|
||||
font-style: normal;
|
||||
color: #4075a2;
|
||||
}
|
||||
|
||||
.post .date big {
|
||||
font-size: 30px;
|
||||
}
|
||||
|
||||
.post h2 {
|
||||
font: Normal 20px Georgia, serif;
|
||||
color: #fff;
|
||||
letter-spacing: -1px;
|
||||
margin: 0px 0px 10px 0px;
|
||||
}
|
||||
|
||||
.post h2 a {
|
||||
color: #fff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Regular Post */
|
||||
.post .regular {
|
||||
font-size: 12px;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
.post .regular blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Photo Post */
|
||||
.post .photo img {
|
||||
border: solid 5px #eee;
|
||||
}
|
||||
|
||||
.post .photo .caption {
|
||||
font-size: 11px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.post .photo .caption a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Quote Post */
|
||||
.post .quote span.quote {
|
||||
font: Normal 28px Georgia, serif;
|
||||
letter-spacing: -1px;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.post .quote span.quote a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.post .quote span.quote big.quote {
|
||||
font-weight: bold;
|
||||
font-size: 60px;
|
||||
line-height: 8px;
|
||||
vertical-align: -20px;
|
||||
}
|
||||
|
||||
.post .quote span.source {
|
||||
font-size: 16px;
|
||||
color: #aaa;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
.post .quote span.source a {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
/* Link Post */
|
||||
.post .link a.link {
|
||||
font: Bold 30px Helvetica, sans-serif;
|
||||
letter-spacing: -1px;
|
||||
color: #ff9900;
|
||||
text-decoration: none;
|
||||
border-bottom: dotted 1px #ff9900;
|
||||
line-height: 33px;
|
||||
}
|
||||
|
||||
.post .link .description {
|
||||
font-weight: normal;
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
/* Conversation Post */
|
||||
.post .conversation ul {
|
||||
background-color: #46a6e9;
|
||||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
border-left: solid 5px #0070ba;
|
||||
}
|
||||
|
||||
.post .conversation ul li {
|
||||
border-bottom: solid 1px #0070ba;
|
||||
font-size: 12px;
|
||||
padding: 4px 0px 4px 8px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.post .conversation ul li span.label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Audio Post */
|
||||
.post .audio .caption {
|
||||
font-size: 11px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.post .audio .caption a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Video Post */
|
||||
.post .video {
|
||||
width: 500px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.post .video .caption {
|
||||
font-size: 11px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.post .video .caption a {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
/* Footer */
|
||||
#footer {
|
||||
margin: 20px 0px 0px 0px;
|
||||
text-align: center;
|
||||
font-size: 22px;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
text-decoration: none;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#footer a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#footer p.tiny {
|
||||
margin: 50px 0px 0px 0px;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#footer p.tiny a {
|
||||
text-decoration: underline;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#footer p.tiny .dim {
|
||||
filter: alpha(opacity=50);
|
||||
-moz-opacity: 0.5;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.query {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.containerFormComments {
|
||||
margin: 25px 65px 0px 0px;
|
||||
font-family: Verdana;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
#commentForm input, #commentForm textarea {
|
||||
font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
}
|
||||
|
||||
#commentForm p {
|
||||
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
#commentForm input {
|
||||
width: 170px;
|
||||
padding: 2px;
|
||||
margin: 5px 5px 1px 0;
|
||||
}
|
||||
|
||||
#commentForm textarea {
|
||||
width: 100%;
|
||||
padding: 2px;
|
||||
border:1px solid #fff;
|
||||
background-color:#fff;
|
||||
}
|
||||
|
||||
#commentForm #btnAdd {
|
||||
margin: 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.totalComments h3 {
|
||||
margin: 0 10px 0 0;
|
||||
font-size: 10pt;
|
||||
font-weight: normal;
|
||||
text-align: right;
|
||||
color: #999;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.totalComments a {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
/*
|
||||
Plugin Name: WP-Digg Style Paginator
|
||||
Plugin URI: http://www.mis-algoritmos.com/2007/09/09/wp-digg-style-pagination-plugin-v-10/
|
||||
Author: Victor De la Rocha
|
||||
Author URI: http://www.mis-algoritmos.com
|
||||
*/
|
||||
/*CSS Yahoo new version style pagination*/
|
||||
div.pagination {
|
||||
padding: 3px;
|
||||
margin: 10px 3px 3px 3px;
|
||||
text-align:center;
|
||||
font-family:Tahoma,Helvetica,sans-serif;
|
||||
font-size:.85em;
|
||||
}
|
||||
|
||||
div.pagination a {
|
||||
background-color:#fff;
|
||||
|
||||
border: 1px solid #ccdbe4;
|
||||
margin-right:3px;
|
||||
padding:2px 8px;
|
||||
|
||||
background-position:bottom;
|
||||
text-decoration: none;
|
||||
|
||||
color: #000;
|
||||
}
|
||||
div.pagination a:hover, div.pagination a:active {
|
||||
border: 1px solid #2b55af;
|
||||
background-image:none;
|
||||
background-color:#3666d4;
|
||||
color: #fff;
|
||||
}
|
||||
div.pagination span.current {
|
||||
margin-right:3px;
|
||||
padding:2px 6px;
|
||||
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
}
|
||||
div.pagination span.disabled {
|
||||
display:none;
|
||||
}
|
||||
div.pagination a.next{
|
||||
border:2px solid #ccdbe4;
|
||||
margin:0 0 0 10px;
|
||||
}
|
||||
div.pagination a.next:hover{
|
||||
border:2px solid #2b55af;
|
||||
}
|
||||
div.pagination a.prev{
|
||||
border:2px solid #ccdbe4;
|
||||
margin:0 10px 0 0;
|
||||
}
|
||||
div.pagination a.prev:hover{
|
||||
border:2px solid #2b55af;
|
||||
}
|
||||
body,h1{margin:0}body,h1 a{color:#fff}#content,div#content{position:relative}div#searchresultcount,h1{text-align:center}.post .date,.post .link a.link,.post .quote span.quote,.post h2,h1{letter-spacing:-1px}#footer a,.post .link a.link,.post .permalink a,.post h2 a,h1 a{text-decoration:none}body{background:url(images/bg.gif) #002c43;font-family:'Lucida Grande',Helvetica,sans-serif}#content{width:510px;margin:auto;padding:35px;background:url(images/content_bg.png) #005885;border-left:solid 10px #003955;border-right:solid 10px #003955}a{color:#f90}h1{padding:25px 0 65px;font:Normal 65px Georgia,serif;line-height:60px;opacity:.9;-moz-opacity:.9;filter:alpha(opacity=90)}div#description{position:absolute;left:605px;font:Normal 12px Verdana,sans-serif;line-height:20px;width:150px;color:#568}div#search{text-align:right}div#description div a{color:#568}.post{position:relative;margin-bottom:50px}.post .permalink{position:absolute;top:8px;right:3px;display:none;font-weight:700;font-size:24px;line-height:0}.post:hover .permalink{display:block}.post .date{position:absolute;right:565px;width:200px;white-space:nowrap;font:Bold 20px Helvetica,sans-serif;text-align:right;color:#888;padding:5px;line-height:20px;text-transform:uppercase}.post .date em{font-style:normal;color:#4075a2}.post .photo .caption a,.post .quote span.quote a,.post h2,.post h2 a{color:#fff}.post .date big{font-size:30px}.post h2{font:Normal 20px Georgia,serif;margin:0 0 10px}.post .regular{font-size:12px;line-height:17px}.post .regular blockquote{font-style:italic}.post .photo img{border:5px solid #eee}.post .photo .caption{font-size:11px;margin-top:5px}.post .quote span.quote{font:Normal 28px Georgia,serif;color:#fff}.post .quote span.quote big.quote{font-weight:700;font-size:60px;line-height:8px;vertical-align:-20px}.post .quote span.source{font-size:16px;color:#aaa;letter-spacing:-1px}.post .quote span.source a{color:#aaa}.post .link a.link{font:Bold 30px Helvetica,sans-serif;color:#f90;border-bottom:dotted 1px #f90;line-height:33px}.post .link .description{font-weight:400;font-size:11px;line-height:16px;margin-top:5px}#footer p.tiny,.post .conversation ul li span.label,.query{font-weight:700}.post .conversation ul{background-color:#46a6e9;list-style-type:none;margin:0;padding:0;border-left:solid 5px #0070ba}.post .conversation ul li{border-bottom:solid 1px #0070ba;font-size:12px;padding:4px 0 4px 8px;color:#000}#footer a,#footer p.tiny a,.post .audio .caption a,.post .video .caption a{color:#fff}.post .audio .caption{font-size:11px;margin-top:5px}.post .video{width:500px;margin:auto}.post .video .caption{font-size:11px;margin-top:5px}#footer{margin:20px 0 0;text-align:center;font-size:22px}#footer a:hover,#footer p.tiny a{text-decoration:underline}#footer p.tiny{margin:50px 0 0;font-size:11px}#footer p.tiny .dim{filter:alpha(opacity=50);-moz-opacity:.5;opacity:.5}.containerFormComments{margin:25px 65px 0 0;font-family:Verdana;font-size:.75em}#commentForm input,#commentForm textarea{font:.9em 'Lucida Grande',Verdana,Arial,Sans-Serif}#commentForm p{font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;margin:5px 0}#commentForm input{width:170px;padding:2px;margin:5px 5px 1px 0}#commentForm textarea{width:100%;padding:2px;border:1px solid #fff;background-color:#fff}#commentForm #btnAdd{margin:0;float:right}.totalComments h3{margin:0 10px 0 0;font-size:10pt;font-weight:400;text-align:right;color:#999;font-style:italic}.totalComments a{color:#999}div.pagination{padding:3px;margin:10px 3px 3px;text-align:center;font-family:Tahoma,Helvetica,sans-serif;font-size:.85em}div.pagination a{background-color:#fff;border:1px solid #ccdbe4;margin-right:3px;padding:2px 8px;background-position:bottom;text-decoration:none;color:#000}div.pagination a:active,div.pagination a:hover{border:1px solid #2b55af;background-image:none;background-color:#3666d4;color:#fff}div.pagination span.current{margin-right:3px;padding:2px 6px;font-weight:700;color:#000}div.pagination span.disabled{display:none}div.pagination a.next{border:2px solid #ccdbe4;margin:0 0 0 10px}div.pagination a.next:hover{border:2px solid #2b55af}div.pagination a.prev{border:2px solid #ccdbe4;margin:0 10px 0 0}div.pagination a.prev:hover{border:2px solid #2b55af}
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
{Gelato_includes}
|
||||
{Sorbet_includes}
|
||||
<link rel="stylesheet" type="text/css" href="{URL_Tumble}/themes/{Template_name}/style.css"/>
|
||||
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/jquery.js"></script>
|
||||
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
|
||||
|
|
@ -167,7 +167,7 @@
|
|||
<div id="footer">
|
||||
<a href="{URL_Tumble}/archive.php">{__("archive")}</a> /
|
||||
{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</a> /
|
||||
{__("powered by")} <a href="http://www.gelatocms.com/">gelato cms</a>
|
||||
{__("powered by")} sorbet cms
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
|
|
@ -1,308 +1 @@
|
|||
body {
|
||||
background-color: #222;
|
||||
background-image: url(img/bg.gif);
|
||||
margin: 0px 0px 50px 60px;
|
||||
font: Normal 13px Arial, Helvetica, sans-serif;
|
||||
color: #555;
|
||||
}
|
||||
|
||||
#container {
|
||||
width: 500px;
|
||||
padding: 25px;
|
||||
background-color: #fff;
|
||||
border-bottom: solid 8px #aaa;
|
||||
}
|
||||
|
||||
img#rss {
|
||||
width: 36px;
|
||||
height: 19px;
|
||||
border-width: 0px;
|
||||
float: right;
|
||||
margin-left: 30px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
color: #666;
|
||||
margin: 0px 0px 10px 0px;
|
||||
font-weight: normal;
|
||||
font-size: 40px;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
h1 a {
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#description {
|
||||
color: #777;
|
||||
font-size: 11px;
|
||||
line-height: 18px;
|
||||
padding-right: 70px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.date {
|
||||
margin: 30px 0px 10px 0px;
|
||||
color: #ccc;
|
||||
font-size: 24px;
|
||||
text-align: right;
|
||||
letter-spacing: -1px;
|
||||
text-transform: uppercase;
|
||||
border-bottom: solid 1px #ccc;
|
||||
}
|
||||
|
||||
div.post {
|
||||
margin-bottom: 40px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
div.post img.permalink {
|
||||
border-width: 0px;
|
||||
width: 23px;
|
||||
height: 9px;
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.post:hover img.permalink {
|
||||
display: block;
|
||||
}
|
||||
|
||||
div.post h2 {
|
||||
font-size: 14px;
|
||||
color: #444;
|
||||
margin: 0px 0px 5px 0px;
|
||||
}
|
||||
|
||||
div.post h2 a {
|
||||
color: #444;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #111;
|
||||
}
|
||||
|
||||
/* Regular Post */
|
||||
div.post div.regular {
|
||||
font: Normal 11px 'Lucida Grande', Verdana, Arial, sans-serif;
|
||||
line-height: 17px;
|
||||
}
|
||||
|
||||
div.post div.regular blockquote {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Photo Post */
|
||||
div.post div.photo img {
|
||||
border-width: 0px;
|
||||
}
|
||||
|
||||
div.post div.photo div.caption {
|
||||
font-size: 11px;
|
||||
margin-top: 5px;
|
||||
color: #888;
|
||||
}
|
||||
|
||||
div.post div.photo div.caption a {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
/* Quote Post */
|
||||
div.post div.quote {
|
||||
padding: 0px 30px 0px 30px;
|
||||
}
|
||||
|
||||
div.post div.quote span.quote {
|
||||
font-size: 24px;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
div.post div.quote span.quote a {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
div.post div.quote span.quote big.quote {
|
||||
font: Bold 60px Georgia, serif;
|
||||
line-height: 1px;
|
||||
vertical-align: -23px;
|
||||
opacity: 0.4;
|
||||
-moz-opacity: 0.4;
|
||||
filter: alpha(opacity=40);
|
||||
}
|
||||
|
||||
div.post div.quote span.quote big.quote a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
div.post div.quote div.source {
|
||||
font-size: 16px;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
div.post div.quote div.source a {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
/* Link Post */
|
||||
div.post div.link {
|
||||
color: #666;
|
||||
font-size: 24px;
|
||||
letter-spacing: -1px;
|
||||
}
|
||||
|
||||
div.post div.link a {
|
||||
color: #666;
|
||||
text-decoration: none;
|
||||
border-bottom: dotted 1px #666;
|
||||
}
|
||||
|
||||
div.post div.link div.description {
|
||||
font-size: 15px;
|
||||
letter-spacing: 0px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
/* Conversation Post */
|
||||
div.post div.conversation ul {
|
||||
list-style-type: none;
|
||||
margin: 0px;
|
||||
padding: 0px 0px 0px 1px;
|
||||
border-left: solid 5px #555;
|
||||
}
|
||||
|
||||
div.post div.conversation ul li {
|
||||
font-size: 12px;
|
||||
padding: 4px 0px 4px 8px;
|
||||
color: #000;
|
||||
margin-bottom: 1px;
|
||||
}
|
||||
|
||||
div.post div.conversation ul li span.label {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
div.post div.conversation ul li.odd {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
div.post div.conversation ul li.even {
|
||||
background-color: #e8e8e8;
|
||||
}
|
||||
|
||||
/* Video Post */
|
||||
div.post div.video div.caption {
|
||||
margin-top: 5px;
|
||||
color: #888;
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
div.post div.video div.caption a {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
#navigation {
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
#navigation a {
|
||||
color: #555;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#navigation a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
#footer {
|
||||
margin-top: 11px;
|
||||
font-size: 10px;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#footer a {
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
div.pagination {
|
||||
text-align:center;
|
||||
padding:3px;
|
||||
margin:3px;
|
||||
}
|
||||
|
||||
div.pagination a {
|
||||
padding: 2px 5px 2px 5px;
|
||||
margin-right: 2px;
|
||||
border: 1px solid #ddd;
|
||||
|
||||
text-decoration: none;
|
||||
color: #aaa;
|
||||
}
|
||||
div.pagination a:hover, div.pagination a:active {
|
||||
padding: 2px 5px 2px 5px;
|
||||
margin-right: 2px;
|
||||
border: 1px solid #a0a0a0;
|
||||
}
|
||||
div.pagination span.current {
|
||||
padding: 2px 5px 2px 5px;
|
||||
margin-right: 2px;
|
||||
border: 1px solid #e0e0e0;
|
||||
font-weight: bold;
|
||||
background-color: #f0f0f0;
|
||||
color: #aaa;
|
||||
}
|
||||
div.pagination span.disabled {
|
||||
padding: 2px 5px 2px 5px;
|
||||
margin-right: 2px;
|
||||
border: 1px solid #f3f3f3;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.containerFormComments {
|
||||
margin: 25px 65px 0px 0px;
|
||||
font-family: Verdana;
|
||||
font-size: 0.75em;
|
||||
}
|
||||
|
||||
#commentForm input, #commentForm textarea {
|
||||
font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
}
|
||||
|
||||
#commentForm p {
|
||||
font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
#commentForm input {
|
||||
width: 170px;
|
||||
padding: 2px;
|
||||
margin: 5px 5px 1px 0;
|
||||
}
|
||||
|
||||
#commentForm textarea {
|
||||
width: 100%;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
#commentForm #btnAdd {
|
||||
margin: 0;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.totalComments h3 {
|
||||
margin: 0 10px 0 0;
|
||||
font-size: 10pt;
|
||||
font-weight: normal;
|
||||
text-align: right;
|
||||
color: #999;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.totalComments a {
|
||||
color: #999;
|
||||
}
|
||||
h1,h1 a{color:#666}.date,div.post div.link,h1{letter-spacing:-1px}#navigation a,div.post div.link a,div.post div.quote span.quote big.quote a,div.post h2 a,h1 a{text-decoration:none}body{background-color:#222;background-image:url(img/bg.gif);margin:0 0 50px 60px;font:Normal 13px Arial,Helvetica,sans-serif;color:#555}#container{width:500px;padding:25px;background-color:#fff;border-bottom:solid 8px #aaa}img#rss{width:36px;height:19px;border-width:0;float:right;margin-left:30px;margin-bottom:10px}h1{margin:0 0 10px;font-weight:400;font-size:40px}#description{color:#777;font-size:11px;line-height:18px;padding-right:70px;margin-bottom:30px}.date{margin:30px 0 10px;color:#ccc;font-size:24px;text-align:right;text-transform:uppercase;border-bottom:solid 1px #ccc}div.post{margin-bottom:40px;position:relative}div.post img.permalink{border-width:0;width:23px;height:9px;position:absolute;top:5px;right:5px;display:none}div.post:hover img.permalink{display:block}div.post h2{font-size:14px;color:#444;margin:0 0 5px}div.post h2 a{color:#444}a{color:#111}div.post div.regular{font:Normal 11px 'Lucida Grande',Verdana,Arial,sans-serif;line-height:17px}div.post div.regular blockquote{font-style:italic}div.post div.photo img{border-width:0}div.post div.photo div.caption{font-size:11px;margin-top:5px;color:#888}div.post div.photo div.caption a{color:#888}div.post div.quote{padding:0 30px}div.post div.quote span.quote{font-size:24px;color:#444}div.post div.quote span.quote a{color:#444}div.post div.quote span.quote big.quote{font:Bold 60px Georgia,serif;line-height:1px;vertical-align:-23px;opacity:.4;-moz-opacity:.4;filter:alpha(opacity=40)}#navigation,div.post div.conversation ul li span.label{font-weight:700}div.post div.quote div.source{font-size:16px;color:#666}div.post div.quote div.source a{color:#666}div.post div.link{color:#666;font-size:24px}div.post div.link a{color:#666;border-bottom:dotted 1px #666}div.post div.link div.description{font-size:15px;letter-spacing:0;line-height:20px}div.post div.conversation ul{list-style-type:none;margin:0;padding:0 0 0 1px;border-left:solid 5px #555}div.post div.conversation ul li{font-size:12px;padding:4px 0 4px 8px;color:#000;margin-bottom:1px}div.post div.conversation ul li.odd{background-color:#f4f4f4}div.post div.conversation ul li.even{background-color:#e8e8e8}div.post div.video div.caption{margin-top:5px;color:#888;font-size:11px}div.post div.video div.caption a{color:#888}#footer,#footer a{color:#eee}#navigation{font-size:11px}#navigation a{color:#555}#navigation a:hover{text-decoration:underline}#footer{margin-top:11px;font-size:10px}div.pagination{text-align:center;padding:3px;margin:3px}div.pagination a{padding:2px 5px;margin-right:2px;border:1px solid #ddd;text-decoration:none;color:#aaa}div.pagination a:active,div.pagination a:hover{padding:2px 5px;margin-right:2px;border:1px solid #a0a0a0}div.pagination span.current{padding:2px 5px;margin-right:2px;border:1px solid #e0e0e0;font-weight:700;background-color:#f0f0f0;color:#aaa}div.pagination span.disabled{padding:2px 5px;margin-right:2px;border:1px solid #f3f3f3;color:#ccc}.containerFormComments{margin:25px 65px 0 0;font-family:Verdana;font-size:.75em}#commentForm input,#commentForm textarea{font:.9em 'Lucida Grande',Verdana,Arial,Sans-Serif}#commentForm p{font-family:'Lucida Grande',Verdana,Arial,Sans-Serif;margin:5px 0}#commentForm input{width:170px;padding:2px;margin:5px 5px 1px 0}#commentForm textarea{width:100%;padding:2px}#commentForm #btnAdd{margin:0;float:right}.totalComments h3{margin:0 10px 0 0;font-size:10pt;font-weight:400;text-align:right;color:#999;font-style:italic}.totalComments a{color:#999}
|
||||
|
|
|
|||
|
|
@ -1,17 +1,15 @@
|
|||
<?php
|
||||
if (!defined('entry') || !entry) {
|
||||
die('Not a valid page');
|
||||
} /* ===========================
|
||||
}
|
||||
/* ===========================
|
||||
|
||||
gelato CMS - A PHP based tumblelog CMS
|
||||
development version
|
||||
http://www.gelatocms.com/
|
||||
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||
|
||||
gelato CMS is a free software licensed under the GPL 2.0
|
||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
||||
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||
|
||||
=========================== */
|
||||
?>
|
||||
<?php
|
||||
// Nothing here
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Carregando…
Referência em uma nova issue