Renamed the whole source code to "Sorbet CMS", the name of our fork of Gelato CMS.
parent
f073feed40
commit
ffd91e7b02
|
|
@ -4,16 +4,13 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
require_once('../entry.php');
|
require_once '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
|
|
||||||
if ($user->isAdmin()) {
|
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">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<?php $util_class = new util(); ?>
|
<?php $util_class = new util(); ?>
|
||||||
<meta name="generator" content="gelato cms <?php echo $util_class->version(); ?>" />
|
<meta name="generator" content="sorbet cms <?php echo $util_class->version(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.tablesorter.min.js"></script>
|
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.tablesorter.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#admin-table").tablesorter({
|
$("#admin-table").tablesorter({
|
||||||
|
|
@ -43,7 +40,7 @@ if ($user->isAdmin()) {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -51,10 +48,10 @@ if ($user->isAdmin()) {
|
||||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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="<?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->urlGelato; ?>/admin/ajax.php?action=close');"><?php echo __("Log out")?></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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -62,10 +59,10 @@ if ($user->isAdmin()) {
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="menu manage">
|
<ul class="menu manage">
|
||||||
<h3>Manage</h3>
|
<h3>Manage</h3>
|
||||||
<li><a href="<?php echo $conf->urlGelato; ?>/admin/plugins.php"><?php echo __("Plugins")?></a></li>
|
<li><a href="<?php echo $conf->urlSorbet; ?>/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/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->urlSorbet; ?>/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/user.php"><?php echo __("Add user")?></a></li>
|
||||||
<li class="selected"><a><?php echo __("Users")?></a></li>
|
<li class="selected"><a><?php echo __("Users")?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
@ -143,7 +140,7 @@ if ($user->isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -151,6 +148,6 @@ if ($user->isAdmin()) {
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$conf->urlGelato."/login.php");
|
header("Location: ".$conf->urlSorbet."/login.php");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
41
admin/bm.php
41
admin/bm.php
|
|
@ -4,18 +4,15 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
require('../entry.php');
|
require '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
$template = new plantillas("admin");
|
$template = new plantillas("admin");
|
||||||
$util_class = new util();
|
$util_class = new util();
|
||||||
|
|
@ -27,7 +24,7 @@ if ($user->isAdmin()) {
|
||||||
if (isset($_POST["url"]) && $_POST["url"]!="") {
|
if (isset($_POST["url"]) && $_POST["url"]!="") {
|
||||||
$photoName = $util_class->getFileName($_POST["url"]);
|
$photoName = $util_class->getFileName($_POST["url"]);
|
||||||
if (!$tumble->savePhoto($_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();
|
die();
|
||||||
}
|
}
|
||||||
$_POST["url"] = "../uploads/".$util_class->sanitizeName($photoName);
|
$_POST["url"] = "../uploads/".$util_class->sanitizeName($photoName);
|
||||||
|
|
@ -41,11 +38,11 @@ if ($user->isAdmin()) {
|
||||||
set_time_limit(300);
|
set_time_limit(300);
|
||||||
$mp3Name = $util_class->getFileName($_POST["url"]);
|
$mp3Name = $util_class->getFileName($_POST["url"]);
|
||||||
if (!$tumble->saveMP3($_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();
|
die();
|
||||||
}
|
}
|
||||||
if (isMP3($remoteFileName)) {
|
if (isMP3($remoteFileName)) {
|
||||||
$_POST["url"] = $conf->urlGelato."/uploads/".$mp3Name;
|
$_POST["url"] = $conf->urlSorbet."/uploads/".$mp3Name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -65,7 +62,7 @@ if ($user->isAdmin()) {
|
||||||
$template->mostrarPlantilla();
|
$template->mostrarPlantilla();
|
||||||
die();
|
die();
|
||||||
} else {
|
} 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();
|
die();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -97,22 +94,22 @@ if ($user->isAdmin()) {
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="gelato cms <?php echo $util_class->version(); ?>" />
|
<meta name="generator" content="sorbet cms <?php echo $util_class->version(); ?>" />
|
||||||
<title>gelato :: <?php echo __("bookmarklet")?></title>
|
<title>sorbet :: <?php echo __("bookmarklet")?></title>
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/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>
|
<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->urlGelato; ?>/admin/scripts/markitup/skins/simple/style.css" />
|
<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->urlGelato; ?>/admin/scripts/markitup/sets/html/style.css" />
|
<link rel="stylesheet" type="text/css" href="<?php echo $conf->urlSorbet; ?>/admin/scripts/markitup/sets/html/style.css" />
|
||||||
<script type="text/javascript" >
|
<script type="text/javascript" >
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#description").markItUp(my_html);
|
$("#description").markItUp(my_html);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -224,7 +221,7 @@ if ($user->isAdmin()) {
|
||||||
|
|
||||||
} ?>
|
} ?>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -233,6 +230,6 @@ if ($user->isAdmin()) {
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
$target = (isset($_GET["url"]))? "/login.php?redirect_url=".$_GET["url"]."&sel=".$_GET["sel"] : "/login.php";
|
$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
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require('../entry.php');
|
require '../entry.php';
|
||||||
global $user;
|
global $user;
|
||||||
$closed = $user->closeSession();
|
$closed = $user->closeSession();
|
||||||
|
|
||||||
|
|
@ -22,21 +19,21 @@ $closed = $user->closeSession();
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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" />
|
<meta http-equiv="Refresh" content="3;URL=../login.php" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato;?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet;?>/images/favicon.ico" />
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -69,7 +66,7 @@ $closed = $user->closeSession();
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -4,17 +4,14 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require_once('../entry.php');
|
require_once '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
|
|
||||||
$comment = new comments();
|
$comment = new comments();
|
||||||
|
|
@ -48,10 +45,10 @@ if (isset($_POST["btnAdd"])) {
|
||||||
|
|
||||||
$strEnd=($conf->urlFriendly) ? "/" : "";
|
$strEnd=($conf->urlFriendly) ? "/" : "";
|
||||||
if ($comment->addComment($_POST)) {
|
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();
|
die();
|
||||||
} else {
|
} 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();
|
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">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||||
<script language="javascript" type="text/javascript">
|
<script language="javascript" type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#divMessages").fadeOut(5000,function(){
|
$("#divMessages").fadeOut(5000,function(){
|
||||||
|
|
@ -84,7 +81,7 @@ if ($isAdmin) {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -92,9 +89,9 @@ if ($isAdmin) {
|
||||||
<div id="div-process" style="display:none;"><?=__("Processing request…"); ?></div>
|
<div id="div-process" style="display:none;"><?=__("Processing request…"); ?></div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -136,7 +133,7 @@ if ($isAdmin) {
|
||||||
$date = strtotime($row["comment_date"]);
|
$date = strtotime($row["comment_date"]);
|
||||||
|
|
||||||
$input = array("{User}", "{Email}", "{Web}", "{Comment}", "{Id_Post}", "{Date_Added}", "{Id_Comment}", "{Form_Action}");
|
$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->cargarPlantilla($input, $output, "template_comment_post");
|
||||||
$template->mostrarPlantilla();
|
$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"];
|
$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}");
|
$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->cargarPlantilla($input, $output, "template_comment");
|
||||||
$template->mostrarPlantilla();
|
$template->mostrarPlantilla();
|
||||||
|
|
@ -187,7 +184,7 @@ if ($isAdmin) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -195,6 +192,6 @@ if ($isAdmin) {
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$conf->urlGelato."/login.php");
|
header("Location: ".$conf->urlSorbet."/login.php");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -1,157 +1 @@
|
||||||
*{ outline:none;}
|
#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}
|
||||||
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;}
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 9.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.7 KiB |
|
|
@ -1,92 +1 @@
|
||||||
|
#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%}
|
||||||
|
|
||||||
#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%;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -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">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato; ?>/admin/scripts/jquery.validate.min.js"></script>
|
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlSorbet; ?>/admin/scripts/jquery.validate.min.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#divMessages").fadeOut(5000,function(){
|
$("#divMessages").fadeOut(5000,function(){
|
||||||
|
|
@ -67,16 +64,16 @@ if ($user->isAdmin()) {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -145,7 +142,7 @@ if ($user->isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -153,6 +150,6 @@ if ($user->isAdmin()) {
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
} else {
|
} 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
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require('../entry.php');
|
require '../entry.php';
|
||||||
|
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
#$template = new plantillas("admin");
|
#$template = new plantillas("admin");
|
||||||
|
|
@ -48,7 +45,7 @@ if ($user->isAuthenticated()) {
|
||||||
if (isset($_POST["url"]) && $_POST["url"]!="") {
|
if (isset($_POST["url"]) && $_POST["url"]!="") {
|
||||||
$photoName = $util_class->getFileName($_POST["url"]);
|
$photoName = $util_class->getFileName($_POST["url"]);
|
||||||
if (!$tumble->savePhoto($_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();
|
die();
|
||||||
}
|
}
|
||||||
$_POST["url"] = "../uploads/".$util_class->sanitizeName($photoName);
|
$_POST["url"] = "../uploads/".$util_class->sanitizeName($photoName);
|
||||||
|
|
@ -66,11 +63,11 @@ if ($user->isAuthenticated()) {
|
||||||
set_time_limit(300);
|
set_time_limit(300);
|
||||||
$mp3Name = $util_class->getFileName($_POST["url"]);
|
$mp3Name = $util_class->getFileName($_POST["url"]);
|
||||||
if (!$tumble->saveMP3($_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();
|
die();
|
||||||
}
|
}
|
||||||
if ($util_class->isMP3($remoteFileName)) {
|
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"]);
|
$tumble->modifyPost($_POST, $_POST["id_post"]);
|
||||||
} else {
|
} else {
|
||||||
if ($tumble->addPost($_POST)) {
|
if ($tumble->addPost($_POST)) {
|
||||||
header("Location: ".$conf->urlGelato."/admin/index.php?added=true");
|
header("Location: ".$conf->urlSorbet."/admin/index.php?added=true");
|
||||||
die();
|
die();
|
||||||
} else {
|
} 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();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -110,7 +107,7 @@ if ($user->isAuthenticated()) {
|
||||||
|
|
||||||
$theme->set('version', $util_class->version());
|
$theme->set('version', $util_class->version());
|
||||||
$theme->set('conf', array(
|
$theme->set('conf', array(
|
||||||
'urlGelato'=>$conf->urlGelato,
|
'urlSorbet'=>$conf->urlSorbet,
|
||||||
'richText'=>$conf->richText
|
'richText'=>$conf->richText
|
||||||
));
|
));
|
||||||
$theme->set('new', isset($_GET['new'])?$_GET['new']:'');
|
$theme->set('new', isset($_GET['new'])?$_GET['new']:'');
|
||||||
|
|
@ -119,9 +116,9 @@ if ($user->isAuthenticated()) {
|
||||||
|
|
||||||
if ($conf->check_version) {
|
if ($conf->check_version) {
|
||||||
$present = $util_class->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) {
|
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'));
|
$theme->set('form', $form->fetch(Absolute_Path.'admin/themes/admin/template_add_post.htm'));
|
||||||
break;
|
break;
|
||||||
case "photo":
|
case "photo":
|
||||||
$url = str_replace("../", $conf->urlGelato."/", $url);
|
$url = str_replace("../", $conf->urlSorbet."/", $url);
|
||||||
$form->set('editUrl', $url);
|
$form->set('editUrl', $url);
|
||||||
$theme->set('form', $form->fetch(Absolute_Path.'admin/themes/admin/template_add_photo.htm'));
|
$theme->set('form', $form->fetch(Absolute_Path.'admin/themes/admin/template_add_photo.htm'));
|
||||||
break;
|
break;
|
||||||
|
|
@ -245,7 +242,7 @@ if ($user->isAuthenticated()) {
|
||||||
|
|
||||||
$formatedDate = gmdate("M d", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
|
$formatedDate = gmdate("M d", strtotime($register["date"]) + $util_class->transform_offset($conf->offsetTime));
|
||||||
$strEnd=($conf->urlFriendly) ? "/" : "";
|
$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["title"] = stripslashes($register["title"]);
|
||||||
$register["description"] = stripslashes($register["description"]);
|
$register["description"] = stripslashes($register["description"]);
|
||||||
|
|
@ -264,12 +261,12 @@ if ($user->isAuthenticated()) {
|
||||||
|
|
||||||
$x = @getimagesize($fileName);
|
$x = @getimagesize($fileName);
|
||||||
if ($x[0] > 100) {
|
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 {
|
} else {
|
||||||
$photoPath = $register["url"];
|
$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['PhotoURL'] = $photoPath;
|
||||||
$row['PhotoAlt'] = strip_tags($register["description"]);
|
$row['PhotoAlt'] = strip_tags($register["description"]);
|
||||||
|
|
@ -321,6 +318,6 @@ if ($user->isAuthenticated()) {
|
||||||
$theme->display(Absolute_Path.'admin/themes/admin/index.htm');
|
$theme->display(Absolute_Path.'admin/themes/admin/index.htm');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$conf->urlGelato."/login.php");
|
header("Location: ".$conf->urlSorbet."/login.php");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -4,27 +4,24 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require_once('../entry.php');
|
require_once '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
|
|
||||||
if ($user->isAdmin()) {
|
if ($user->isAdmin()) {
|
||||||
if (isset($_POST["btnsubmit"])) {
|
if (isset($_POST["btnsubmit"])) {
|
||||||
if (!$tumble->saveOption($_POST["rich_text"], "rich_text")) {
|
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();
|
die();
|
||||||
}
|
}
|
||||||
if (!$tumble->saveOption($_POST["url_friendly"], "url_friendly")) {
|
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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -33,46 +30,46 @@ if ($user->isAdmin()) {
|
||||||
$_POST['offset_city'] = $off_r[1];
|
$_POST['offset_city'] = $off_r[1];
|
||||||
unset($_POST['time_offsets']);
|
unset($_POST['time_offsets']);
|
||||||
if (!$tumble->saveOption($_POST["offset_city"], "offset_city")) {
|
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();
|
die();
|
||||||
}
|
}
|
||||||
if (!$tumble->saveOption($_POST["offset_time"], "offset_time")) {
|
if (!$tumble->saveOption($_POST["offset_time"], "offset_time")) {
|
||||||
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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$tumble->saveOption($_POST["allow_comments"], "allow_comments")) {
|
if (!$tumble->saveOption($_POST["allow_comments"], "allow_comments")) {
|
||||||
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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$tumble->saveOption($_POST["shorten_links"], "shorten_links")) {
|
if (!$tumble->saveOption($_POST["shorten_links"], "shorten_links")) {
|
||||||
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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$tumble->saveOption($_POST["rss_import_frec"], "rss_import_frec")) {
|
if (!$tumble->saveOption($_POST["rss_import_frec"], "rss_import_frec")) {
|
||||||
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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$tumble->saveOption($_POST["check_version"], "check_version")) {
|
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();
|
die();
|
||||||
}
|
}
|
||||||
|
|
||||||
header("Location: ".$conf->urlGelato."/admin/options.php?modified=true");
|
header("Location: ".$conf->urlSorbet."/admin/options.php?modified=true");
|
||||||
die();
|
die();
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#divMessages").fadeOut(5000,function(){
|
$("#divMessages").fadeOut(5000,function(){
|
||||||
|
|
@ -81,7 +78,7 @@ if ($user->isAdmin()) {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -89,9 +86,9 @@ if ($user->isAdmin()) {
|
||||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -99,10 +96,10 @@ if ($user->isAdmin()) {
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="menu manage">
|
<ul class="menu manage">
|
||||||
<h3><?php echo __("Tumblelog options")?></h3>
|
<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->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/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/settings.php"><?php echo __("Settings")?></a></li>
|
||||||
<li class="selected"><a><?php echo __("Options")?></a></li>
|
<li class="selected"><a><?php echo __("Options")?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -292,7 +289,7 @@ if ($user->isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -301,6 +298,6 @@ if ($user->isAdmin()) {
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require_once('../entry.php');
|
require_once '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -43,22 +40,22 @@ if ($user->isAdmin()) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$tumble->saveOption(json_encode(array(array('total'=>count($actives)),$actives)), "active_plugins")) {
|
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();
|
die();
|
||||||
}
|
}
|
||||||
header("Location: ".$conf->urlGelato."/admin/plugins.php?modified=true");
|
header("Location: ".$conf->urlSorbet."/admin/plugins.php?modified=true");
|
||||||
die();
|
die();
|
||||||
} else {
|
} else {
|
||||||
?>
|
?>
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#divMessages").fadeOut(5000,function(){
|
$("#divMessages").fadeOut(5000,function(){
|
||||||
|
|
@ -67,7 +64,7 @@ if ($user->isAdmin()) {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -75,9 +72,9 @@ if ($user->isAdmin()) {
|
||||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -108,7 +105,7 @@ if ($user->isAdmin()) {
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<?php
|
<?php
|
||||||
if (count($plugins) == 0) {
|
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 {
|
} else {
|
||||||
foreach ($plugins as $key => $plugin) {
|
foreach ($plugins as $key => $plugin) {
|
||||||
|
|
||||||
|
|
@ -161,7 +158,7 @@ if ($user->isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -170,6 +167,6 @@ if ($user->isAdmin()) {
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$conf->urlGelato."/login.php");
|
header("Location: ".$conf->urlSorbet."/login.php");
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
@ -1,35 +1 @@
|
||||||
// ----------------------------------------------------------------------------
|
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,"")}}]};
|
||||||
// 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, "") } }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,39 +1 @@
|
||||||
/* -------------------------------------------------------------------
|
.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)}
|
||||||
// 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);
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,131 +1 @@
|
||||||
#poststuff {
|
#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}
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -4,16 +4,13 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
require_once('../entry.php');
|
require_once '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
|
|
||||||
if ($user->isAdmin()) {
|
if ($user->isAdmin()) {
|
||||||
|
|
@ -26,11 +23,11 @@ if ($user->isAdmin()) {
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/jquery.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#divMessages").fadeOut(5000,function(){
|
$("#divMessages").fadeOut(5000,function(){
|
||||||
|
|
@ -39,7 +36,7 @@ if ($user->isAdmin()) {
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -47,9 +44,9 @@ if ($user->isAdmin()) {
|
||||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
<div id="div-process" style="display:none;"><?php echo __("Processing request…")?></div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -57,10 +54,10 @@ if ($user->isAdmin()) {
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="menu manage">
|
<ul class="menu manage">
|
||||||
<h3><?php echo __("Tumblelog configuration")?></h3>
|
<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->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/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/options.php"><?php echo __("Options")?></a></li>
|
||||||
<li class="selected"><a><?php echo __("Settings")?></a></li>
|
<li class="selected"><a><?php echo __("Settings")?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<?php
|
<?php
|
||||||
|
|
@ -84,7 +81,7 @@ if ($user->isAdmin()) {
|
||||||
<li><label for="description"><?php echo __("Description:")?></label>
|
<li><label for="description"><?php echo __("Description:")?></label>
|
||||||
<input type="text" name="description" id="description" value="<?php echo $conf->description; ?>" class="txt"/></li>
|
<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>
|
<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>
|
<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>
|
<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>
|
<li><label for="lang"><?php echo __("Language:")?></label>
|
||||||
|
|
@ -122,7 +119,7 @@ if ($user->isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -131,6 +128,6 @@ if ($user->isAdmin()) {
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} 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}
|
{header Content-type: text/xml; charset=utf-8}
|
||||||
<?xml version="1.0" encoding="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}">
|
<tumblelog name="{username}" timezone="{conf.offsetCity}" title="{conf.title}">
|
||||||
{conf.description}
|
{conf.description}
|
||||||
<feeds>
|
<feeds>
|
||||||
|
|
@ -53,4 +53,4 @@
|
||||||
{/block}
|
{/block}
|
||||||
</posts>
|
</posts>
|
||||||
{/if}
|
{/if}
|
||||||
</gelato>
|
</sorbet>
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,13 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="gelato cms {version}" />
|
<meta name="generator" content="sorbet cms {version}" />
|
||||||
<title>gelato :: {__("control panel")}</title>
|
<title>sorbet :: {__("control panel")}</title>
|
||||||
<link rel="shortcut icon" href="{conf.urlGelato}/images/favicon.ico" />
|
<link rel="shortcut icon" href="{conf.urlSorbet}/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.urlSorbet}/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.urlSorbet}/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.urlSorbet}/admin/scripts/lightbox.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.validate.min.js"></script>
|
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/jquery.validate.min.js"></script>
|
||||||
<script language="javascript" type="text/javascript">
|
<script language="javascript" type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
$("#divMessages").fadeOut(5000,function(){
|
$("#divMessages").fadeOut(5000,function(){
|
||||||
|
|
@ -19,15 +19,15 @@
|
||||||
Lightbox.fileBottomNavCloseImage = "css/images/closelabel.gif";
|
Lightbox.fileBottomNavCloseImage = "css/images/closelabel.gif";
|
||||||
</script>
|
</script>
|
||||||
{if $conf.richText}
|
{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">
|
<script type="text/javascript">
|
||||||
bkLib.onDomLoaded(nicEditors.allTextAreas);
|
bkLib.onDomLoaded(nicEditors.allTextAreas);
|
||||||
</script>
|
</script>
|
||||||
{else}
|
{else}
|
||||||
<script type="text/javascript" src="{conf.urlGelato}/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
<script type="text/javascript" src="{conf.urlSorbet}/admin/scripts/markitup/jquery.markitup.pack.js"></script>
|
||||||
<script type="text/javascript" src="{conf.urlGelato}/admin/scripts/markitup/sets/html/set.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.urlGelato}/admin/scripts/markitup/skins/simple/style.css" />
|
<link rel="stylesheet" type="text/css" href="{conf.urlSorbet}/admin/scripts/markitup/skins/simple/style.css" />
|
||||||
<link rel="stylesheet" type="text/css" href="{conf.urlGelato}/admin/scripts/markitup/sets/html/style.css" />
|
<link rel="stylesheet" type="text/css" href="{conf.urlSorbet}/admin/scripts/markitup/sets/html/style.css" />
|
||||||
<script type="text/javascript" >
|
<script type="text/javascript" >
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
$("#description").markItUp(my_html);
|
$("#description").markItUp(my_html);
|
||||||
|
|
@ -35,8 +35,8 @@
|
||||||
</script>
|
</script>
|
||||||
{/if}
|
{/if}
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
@import "{conf.urlGelato}/admin/css/style.css";
|
@import "{conf.urlSorbet}/admin/css/style.css";
|
||||||
@import "{conf.urlGelato}/admin/css/lightbox.css";
|
@import "{conf.urlSorbet}/admin/css/lightbox.css";
|
||||||
</style>
|
</style>
|
||||||
{admin_includes}
|
{admin_includes}
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -45,9 +45,9 @@
|
||||||
<div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
<div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
<li><a href="close.php" title="Log off" >{__("Log out")}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -56,13 +56,13 @@
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<h3>{__("New Post")}</h3>
|
<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=="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.urlGelato}/admin/index.php?new=quote"><img src="css/images/quote.png" alt="New qoute" /> {__("Quote")}</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.urlGelato}/admin/index.php?new=url"><img src="css/images/world.png" alt="New link" /> {__("Link")}</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.urlGelato}/admin/index.php?new=mp3"><img src="css/images/music.png" alt="New audio" /> {__("Audio")}</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.urlGelato}/admin/index.php?new=video"><img src="css/images/film.png" alt="New video" /> {__("Video")}</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.urlGelato}/admin/index.php?new=photo"><img src="css/images/image.png" alt="New picture" /> {__("Picture")}</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.urlGelato}/admin/index.php?new=post"><img src="css/images/page.png" alt="New post" /> {__("Regular")}</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>
|
</ul>
|
||||||
<p> </p>
|
<p> </p>
|
||||||
|
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
<code> <pre> <img>
|
<code> <pre> <img>
|
||||||
</code>
|
</code>
|
||||||
<br /><br />
|
<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 />
|
<br /><br />
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
|
|
@ -100,12 +100,12 @@
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="menu manage">
|
<ul class="menu manage">
|
||||||
<h3>{__('Manage')}</h3>
|
<h3>{__('Manage')}</h3>
|
||||||
<li><a href="{conf.urlGelato}/admin/settings.php">{__("Settings")}</a></li>
|
<li><a href="{conf.urlSorbet}/admin/settings.php">{__("Settings")}</a></li>
|
||||||
<li><a href="{conf.urlGelato}/admin/options.php">{__("Options")}</a></li>
|
<li><a href="{conf.urlSorbet}/admin/options.php">{__("Options")}</a></li>
|
||||||
<li><a href="{conf.urlGelato}/admin/plugins.php">{__("Plugins")}</a></li>
|
<li><a href="{conf.urlSorbet}/admin/plugins.php">{__("Plugins")}</a></li>
|
||||||
<li><a href="{conf.urlGelato}/admin/feeds.php">{__("Feeds")}</a></li>
|
<li><a href="{conf.urlSorbet}/admin/feeds.php">{__("Feeds")}</a></li>
|
||||||
<li><a href="{conf.urlGelato}/admin/admin.php">{__("Users")}</a></li>
|
<li><a href="{conf.urlSorbet}/admin/admin.php">{__("Users")}</a></li>
|
||||||
<li><a href="{conf.urlGelato}/admin/comments.php">{__("Comments")}</a></li>
|
<li><a href="{conf.urlSorbet}/admin/comments.php">{__("Comments")}</a></li>
|
||||||
<li class="selected"><a>{__("Posts")}</a></li>
|
<li class="selected"><a>{__("Posts")}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|
@ -113,7 +113,7 @@
|
||||||
{if $Posts_Number}
|
{if $Posts_Number}
|
||||||
{block $rows as $row}
|
{block $rows as $row}
|
||||||
<div class="entry">
|
<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>
|
<p>{$row.Date_Added}</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="post">
|
<div class="post">
|
||||||
|
|
@ -134,10 +134,10 @@
|
||||||
<div class="conversation">{$row.Conversation}</div>
|
<div class="conversation">{$row.Conversation}</div>
|
||||||
{elseif $row.postType=='video'}
|
{elseif $row.postType=='video'}
|
||||||
<span class="option">{$row.Caption}</span>
|
<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'}
|
{elseif $row.postType=='mp3'}
|
||||||
<span class="option">{$row.Caption}</span>
|
<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}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -150,7 +150,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="gelato cms {version}" />
|
<meta name="generator" content="sorbet cms {version}" />
|
||||||
<title>gelato :: installation</title>
|
<title>sorbet :: installation</title>
|
||||||
<link rel="shortcut icon" href="images/favicon.ico" />
|
<link rel="shortcut icon" href="images/favicon.ico" />
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
@import "admin/css/style.css";
|
@import "admin/css/style.css";
|
||||||
|
|
@ -12,14 +12,14 @@
|
||||||
<body>
|
<body>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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>
|
||||||
|
|
||||||
<div id="main">
|
<div id="main">
|
||||||
{if $showForm}
|
{if $showForm}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<ul class="menu manage">
|
<ul class="menu manage">
|
||||||
<h3>gelato :: installation</h3>
|
<h3>sorbet :: installation</h3>
|
||||||
|
|
||||||
<li class="selected"><a>Install</a></li>
|
<li class="selected"><a>Install</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
@ -162,7 +162,7 @@
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<head>
|
||||||
<title>gelato :: {__("login screen")}</title>
|
<title>sorbet :: {__("login screen")}</title>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="gelato cms {version}" />
|
<meta name="generator" content="sorbet cms {version}" />
|
||||||
<link rel="shortcut icon" href="{conf.urlGelato}/images/favicon.ico" />
|
<link rel="shortcut icon" href="{conf.urlSorbet}/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.urlSorbet}/admin/scripts/jquery.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="{conf.urlGelato}/admin/scripts/jquery.validate.min.js"></script>
|
<script language="javascript" type="text/javascript" src="{conf.urlSorbet}/admin/scripts/jquery.validate.min.js"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<style type="text/css" media="screen">
|
<style type="text/css" media="screen">
|
||||||
@import "{conf.urlGelato}/admin/css/style.css";
|
@import "{conf.urlSorbet}/admin/css/style.css";
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -34,9 +34,9 @@
|
||||||
<div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
<div id="div-process" style="display:none;">{__("Processing request…")}</div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -69,7 +69,7 @@
|
||||||
|
|
||||||
{if $error==1}
|
{if $error==1}
|
||||||
<div class="error">
|
<div class="error">
|
||||||
{__(" You must be registered to use gelato.")}
|
{__(" You must be registered to use Sorbet CMS.")}
|
||||||
</div>
|
</div>
|
||||||
{elseif $error==2}
|
{elseif $error==2}
|
||||||
<div class="error">
|
<div class="error">
|
||||||
|
|
@ -82,7 +82,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||||
<title>gelato bookmarklet</title>
|
<title>sorbet bookmarklet</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
body {
|
body {
|
||||||
background-color: #e1e1e1;
|
background-color: #e1e1e1;
|
||||||
|
|
|
||||||
|
|
@ -4,17 +4,14 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
require('../entry.php');
|
require '../entry.php';
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
|
|
||||||
$isEdition = isset($_GET["edit"]);
|
$isEdition = isset($_GET["edit"]);
|
||||||
|
|
@ -46,14 +43,14 @@ if ($user->isAdmin()) {
|
||||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
<head>
|
<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 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(); ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato; ?>/images/favicon.ico" />
|
<link rel="shortcut icon" href="<?php echo $conf->urlSorbet; ?>/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->urlSorbet; ?>/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->urlSorbet; ?>/admin/scripts/tools.js"></script>
|
||||||
<style type="text/css" media="screen">
|
<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>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
@ -61,9 +58,9 @@ if ($user->isAdmin()) {
|
||||||
<div id="div-process" style="display:none;"><?php echo __("Processing request…"); ?></div>
|
<div id="div-process" style="display:none;"><?php echo __("Processing request…"); ?></div>
|
||||||
<div id="cont">
|
<div id="cont">
|
||||||
<div id="head">
|
<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">
|
<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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="main">
|
<div id="main">
|
||||||
|
|
@ -140,7 +137,7 @@ if ($user->isAdmin()) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div id="foot">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
@ -149,6 +146,6 @@ if ($user->isAdmin()) {
|
||||||
|
|
||||||
}
|
}
|
||||||
} else {
|
} 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
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -43,7 +40,7 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
$user = new user();
|
$user = new user();
|
||||||
$userData = $user->getUserByID(1);
|
$userData = $user->getUserByID(1);
|
||||||
$username = ($userData["name"] == "") ? "gelato" : $userData["name"];
|
$username = ($userData["name"] == "") ? "sorbet" : $userData["name"];
|
||||||
|
|
||||||
$theme->set("username", $username);
|
$theme->set("username", $username);
|
||||||
$theme->set("conf", array(
|
$theme->set("conf", array(
|
||||||
|
|
@ -81,7 +78,7 @@ if (!defined('entry')) {
|
||||||
while ($post = $rs->fetch()) {
|
while ($post = $rs->fetch()) {
|
||||||
$post['desc'] = util::trimString($post["description"]);
|
$post['desc'] = util::trimString($post["description"]);
|
||||||
$strEnd = ($conf->urlFriendly) ? "/" : "";
|
$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['formatedDate'] = gmdate("D, d M Y H:i:s", strtotime($post["date"]) + util::transform_offset($conf->offsetTime));
|
||||||
|
|
||||||
$post["type"] = util::type2Text($post["type"]);
|
$post["type"] = util::type2Text($post["type"]);
|
||||||
|
|
@ -91,7 +88,7 @@ if (!defined('entry')) {
|
||||||
$post['tit'] = (empty($post["title"])) ? $post['desc'] : strip_tags($post["title"]);
|
$post['tit'] = (empty($post["title"])) ? $post['desc'] : strip_tags($post["title"]);
|
||||||
break;
|
break;
|
||||||
case "photo":
|
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']));
|
$post['tit'] = stripslashes(((empty($post["description"])) ? "Photo" : $post['desc']));
|
||||||
break;
|
break;
|
||||||
case "quote":
|
case "quote":
|
||||||
|
|
|
||||||
23
archive.php
23
archive.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -98,9 +95,9 @@ function handleNode($node)
|
||||||
$fileName = "uploads/".$util_class->getFileName($node["url"]);
|
$fileName = "uploads/".$util_class->getFileName($node["url"]);
|
||||||
$x = @getimagesize($fileName);
|
$x = @getimagesize($fileName);
|
||||||
if ($x[0] > 500) {
|
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 {
|
} else {
|
||||||
$photoPath = str_replace("../", $conf->urlGelato."/", $node["url"]);
|
$photoPath = str_replace("../", $conf->urlSorbet."/", $node["url"]);
|
||||||
}
|
}
|
||||||
$output['caption'] = $node["description"];
|
$output['caption'] = $node["description"];
|
||||||
$output['photo'] = $photoPath;
|
$output['photo'] = $photoPath;
|
||||||
|
|
@ -129,13 +126,13 @@ function handleNode($node)
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
<meta name="generator" content="gelato <?php echo $util_class->codeName()." (".$util_class->version().")"; ?>" />
|
<meta name="generator" content="sorbet <?php echo $util_class->codeName()." (".$util_class->version().")"; ?>" />
|
||||||
<link rel="shortcut icon" href="<?php echo $conf->urlGelato;?>/images/favicon.ico" />
|
<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->urlGelato.($conf->urlFriendly ? "/rss/" : "/rss.php"); ?>"/>
|
<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>
|
<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->urlSorbet;?>/admin/scripts/jquery.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="<?php echo $conf->urlGelato;?>/admin/scripts/jquery.scrollTo-min.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->urlGelato;?>/admin/css/archive.css" type="text/css" rel="stylesheet">
|
<link href="<?php echo $conf->urlSorbet;?>/admin/css/archive.css" type="text/css" rel="stylesheet">
|
||||||
<script type='text/javascript'>
|
<script type='text/javascript'>
|
||||||
function select(object) {
|
function select(object) {
|
||||||
var sel_id = object.id;
|
var sel_id = object.id;
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
|
|
@ -39,9 +36,9 @@ class comments
|
||||||
public function generateCookie($fieldsArray)
|
public function generateCookie($fieldsArray)
|
||||||
{
|
{
|
||||||
$path = dirname(dirname($_SERVER['SCRIPT_NAME']."../"));
|
$path = dirname(dirname($_SERVER['SCRIPT_NAME']."../"));
|
||||||
setcookie("cookie_gel_user", $fieldsArray["username"], time() + 30000000, $path);
|
setcookie("cookie_sor_user", $fieldsArray["username"], time() + 30000000, $path);
|
||||||
setcookie("cookie_gel_email", $fieldsArray["email"], time() + 30000000, $path);
|
setcookie("cookie_sor_email", $fieldsArray["email"], time() + 30000000, $path);
|
||||||
setcookie("cookie_gel_web", $fieldsArray["web"], time() + 30000000, $path);
|
setcookie("cookie_sor_web", $fieldsArray["web"], time() + 30000000, $path);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isSpam($fieldsArray)
|
public function isSpam($fieldsArray)
|
||||||
|
|
|
||||||
|
|
@ -4,19 +4,16 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
<?php
|
<?php
|
||||||
class configuration
|
class configuration
|
||||||
{
|
{
|
||||||
public $urlGelato;
|
public $urlSorbet;
|
||||||
public $tablePrefix;
|
public $tablePrefix;
|
||||||
public $idUser;
|
public $idUser;
|
||||||
public $postLimit;
|
public $postLimit;
|
||||||
|
|
@ -41,7 +38,7 @@ class configuration
|
||||||
if ($db->ejecutarConsulta("SELECT * FROM ".Table_prefix."config")) {
|
if ($db->ejecutarConsulta("SELECT * FROM ".Table_prefix."config")) {
|
||||||
$row=$db->obtenerRegistro();
|
$row=$db->obtenerRegistro();
|
||||||
$this->tablePrefix = Table_prefix;
|
$this->tablePrefix = Table_prefix;
|
||||||
$this->urlGelato = $row['url_installation'];
|
$this->urlSorbet = $row['url_installation'];
|
||||||
$this->postLimit = $row['posts_limit'];
|
$this->postLimit = $row['posts_limit'];
|
||||||
$this->title = $row['title'];
|
$this->title = $row['title'];
|
||||||
$this->description = $row['description'];
|
$this->description = $row['description'];
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ class Install
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public function is_gelato_installed()
|
public function is_sorbet_installed()
|
||||||
{
|
{
|
||||||
if (file_exists(Absolute_Path.'config.php')) {
|
if (file_exists(Absolute_Path.'config.php')) {
|
||||||
include_once(Absolute_Path."config.php");
|
include_once(Absolute_Path."config.php");
|
||||||
|
|
@ -190,7 +190,7 @@ class Install
|
||||||
$action=$this->data['action'];
|
$action=$this->data['action'];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$this->is_gelato_installed()) {
|
if (!$this->is_sorbet_installed()) {
|
||||||
$this->showForm = true;
|
$this->showForm = true;
|
||||||
|
|
||||||
if ($action=="config") {
|
if ($action=="config") {
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -4,16 +4,13 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
$util_class = new util();
|
$util_class = new util();
|
||||||
class gelato
|
class sorbet
|
||||||
{
|
{
|
||||||
public $db;
|
public $db;
|
||||||
public $conf;
|
public $conf;
|
||||||
|
|
@ -30,10 +27,10 @@ class gelato
|
||||||
public function saveSettings($fieldsArray)
|
public function saveSettings($fieldsArray)
|
||||||
{
|
{
|
||||||
if ($this->db->modificarDeFormulario($this->conf->tablePrefix."config", $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();
|
die();
|
||||||
} else {
|
} 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();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -60,10 +57,10 @@ class gelato
|
||||||
public function modifyPost($fieldsArray, $id_post)
|
public function modifyPost($fieldsArray, $id_post)
|
||||||
{
|
{
|
||||||
if ($this->db->modificarDeFormulario($this->conf->tablePrefix."data", $fieldsArray, "id_post=$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();
|
die();
|
||||||
} else {
|
} 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();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -205,7 +202,7 @@ class gelato
|
||||||
public function getMp3Player($url)
|
public function getMp3Player($url)
|
||||||
{
|
{
|
||||||
if ($util_class->isMP3($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";
|
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)) {
|
} 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";
|
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)
|
public function getPermalink($post_id)
|
||||||
{
|
{
|
||||||
$strEnd = ($this->conf->urlFriendly) ? "/" : "";
|
$strEnd = ($this->conf->urlFriendly) ? "/" : "";
|
||||||
$out = $this->conf->urlGelato;
|
$out = $this->conf->urlSorbet;
|
||||||
$out .= ($this->conf->urlFriendly) ? "/post/" : "/index.php?post=";
|
$out .= ($this->conf->urlFriendly) ? "/post/" : "/index.php?post=";
|
||||||
$out .= $post_id.$strEnd;
|
$out .= $post_id.$strEnd;
|
||||||
return $out;
|
return $out;
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -101,14 +98,14 @@ class user
|
||||||
$fieldsArray["password"] = md5($fieldsArray["password"]);
|
$fieldsArray["password"] = md5($fieldsArray["password"]);
|
||||||
if ($this->db->insertarDeFormulario($this->conf->tablePrefix."users", $fieldsArray)) {
|
if ($this->db->insertarDeFormulario($this->conf->tablePrefix."users", $fieldsArray)) {
|
||||||
$this->confirmationEmail($fieldsArray['email'], $fieldsArray['login'], $realPassword);
|
$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();
|
die();
|
||||||
} else {
|
} 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();
|
die();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$this->conf->urlGelato."/admin/admin.php?error=1");
|
header("Location: ".$this->conf->urlSorbet."/admin/admin.php?error=1");
|
||||||
die();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -118,10 +115,10 @@ class user
|
||||||
{
|
{
|
||||||
$fieldsArray["password"] = md5($fieldsArray["password"]);
|
$fieldsArray["password"] = md5($fieldsArray["password"]);
|
||||||
if ($this->db->modificarDeFormulario($this->conf->tablePrefix."users", $fieldsArray, "id_user=$id_user")) {
|
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();
|
die();
|
||||||
} else {
|
} 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();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -151,13 +148,13 @@ class user
|
||||||
|
|
||||||
public function confirmationEmail($email="", $user="", $password="")
|
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 = "<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->urlGelato."/admin/\">tumblelog panel</a> <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 .= "<font size=1>Username: <strong>".$user."</strong><br/><br/>";
|
||||||
$msg .= "Password: <strong>".$password."</strong><br/><br/>";
|
$msg .= "Password: <strong>".$password."</strong><br/><br/>";
|
||||||
$msg .= "<em>Don't tell your password to anybody!!</em><br/><br/></font>";
|
$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
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -301,8 +298,8 @@ class util
|
||||||
public function sendMail($to, $title, $body, $from)
|
public function sendMail($to, $title, $body, $from)
|
||||||
{
|
{
|
||||||
$rp = trim($from);
|
$rp = trim($from);
|
||||||
$org = "gelato CMS";
|
$org = "Sorbet CMS";
|
||||||
$mailer = "gelato CMS Mailer";
|
$mailer = "Sorbet CMS Mailer";
|
||||||
|
|
||||||
$head = '';
|
$head = '';
|
||||||
$head .= "Content-Type: text/html \r\n";
|
$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 = "GET " . $data['path'] . (isset($data['query'])?'?'.$data['query']:'') . " HTTP/1.1\r\n";
|
||||||
$q .= "Host: " . $data['host'] . "\r\n";
|
$q .= "Host: " . $data['host'] . "\r\n";
|
||||||
$q .= "Connection: close\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 = "";
|
$recv = "";
|
||||||
fwrite($f, $q);
|
fwrite($f, $q);
|
||||||
|
|
|
||||||
|
|
@ -4,13 +4,10 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
define('Table_prefix', 'gel_');
|
define('Table_prefix', 'sor_');
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -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,
|
`id_post` int(11) NOT NULL auto_increment,
|
||||||
`title` text NULL,
|
`title` text NULL,
|
||||||
`url` varchar(250) default NULL,
|
`url` varchar(250) default NULL,
|
||||||
|
|
@ -11,7 +11,7 @@ CREATE TABLE `gel_data` (
|
||||||
PRIMARY KEY (`id_post`)
|
PRIMARY KEY (`id_post`)
|
||||||
) ENGINE = MYISAM ;
|
) ENGINE = MYISAM ;
|
||||||
|
|
||||||
CREATE TABLE `gel_users` (
|
CREATE TABLE `sor_users` (
|
||||||
`id_user` int(10) unsigned NOT NULL auto_increment,
|
`id_user` int(10) unsigned NOT NULL auto_increment,
|
||||||
`name` varchar(100) default NULL,
|
`name` varchar(100) default NULL,
|
||||||
`login` varchar(100) NOT NULL default '',
|
`login` varchar(100) NOT NULL default '',
|
||||||
|
|
@ -22,7 +22,7 @@ CREATE TABLE `gel_users` (
|
||||||
PRIMARY KEY (`id_user`)
|
PRIMARY KEY (`id_user`)
|
||||||
) ENGINE = MYISAM ;
|
) ENGINE = MYISAM ;
|
||||||
|
|
||||||
CREATE TABLE `gel_config` (
|
CREATE TABLE `sor_config` (
|
||||||
`posts_limit` int(3) NOT NULL,
|
`posts_limit` int(3) NOT NULL,
|
||||||
`title` varchar(250) NOT NULL,
|
`title` varchar(250) NOT NULL,
|
||||||
`description` text NOT NULL,
|
`description` text NOT NULL,
|
||||||
|
|
@ -32,13 +32,13 @@ CREATE TABLE `gel_config` (
|
||||||
PRIMARY KEY (`title`)
|
PRIMARY KEY (`title`)
|
||||||
) ENGINE = MYISAM ;
|
) ENGINE = MYISAM ;
|
||||||
|
|
||||||
CREATE TABLE `gel_options` (
|
CREATE TABLE `sor_options` (
|
||||||
`name` varchar(100) NOT NULL,
|
`name` varchar(100) NOT NULL,
|
||||||
`val` varchar(255) NOT NULL,
|
`val` varchar(255) NOT NULL,
|
||||||
PRIMARY KEY (`name`)
|
PRIMARY KEY (`name`)
|
||||||
) ENGINE = MYISAM ;
|
) ENGINE = MYISAM ;
|
||||||
|
|
||||||
CREATE TABLE `gel_comments` (
|
CREATE TABLE `sor_comments` (
|
||||||
`id_comment` int(11) NOT NULL auto_increment,
|
`id_comment` int(11) NOT NULL auto_increment,
|
||||||
`id_post` int(11) NOT NULL,
|
`id_post` int(11) NOT NULL,
|
||||||
`username` varchar(50) NOT NULL,
|
`username` varchar(50) NOT NULL,
|
||||||
|
|
@ -51,7 +51,7 @@ CREATE TABLE `gel_comments` (
|
||||||
PRIMARY KEY (`id_comment`)
|
PRIMARY KEY (`id_comment`)
|
||||||
) ENGINE = MYISAM ;
|
) ENGINE = MYISAM ;
|
||||||
|
|
||||||
CREATE TABLE `gel_feeds` (
|
CREATE TABLE `sor_feeds` (
|
||||||
`id_feed` int(11) NOT NULL auto_increment,
|
`id_feed` int(11) NOT NULL auto_increment,
|
||||||
`url` varchar(255) NOT NULL,
|
`url` varchar(255) NOT NULL,
|
||||||
`title` varchar(255) NOT NULL,
|
`title` varchar(255) NOT NULL,
|
||||||
|
|
@ -65,22 +65,22 @@ CREATE TABLE `gel_feeds` (
|
||||||
) ENGINE=MyISAM ;
|
) 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 "
|
-- 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 `sor_options` VALUES ('url_friendly', '1');
|
||||||
INSERT INTO `gel_options` VALUES ('rich_text', '0');
|
INSERT INTO `sor_options` VALUES ('rich_text', '0');
|
||||||
INSERT INTO `gel_options` VALUES ('allow_comments', '0');
|
INSERT INTO `sor_options` VALUES ('allow_comments', '0');
|
||||||
INSERT INTO `gel_options` VALUES ('offset_city', 'Mexico/General');
|
INSERT INTO `sor_options` VALUES ('offset_city', 'Mexico/General');
|
||||||
INSERT INTO `gel_options` VALUES ('offset_time', '-6');
|
INSERT INTO `sor_options` VALUES ('offset_time', '-6');
|
||||||
INSERT INTO `gel_options` VALUES ('shorten_links', '0');
|
INSERT INTO `sor_options` VALUES ('shorten_links', '0');
|
||||||
INSERT INTO `gel_options` VALUES ('rss_import_frec', '5 minutes');
|
INSERT INTO `sor_options` VALUES ('rss_import_frec', '5 minutes');
|
||||||
INSERT INTO `gel_options` VALUES ('active_plugins', '[{"total":0},[]]');
|
INSERT INTO `sor_options` VALUES ('active_plugins', '[{"total":0},[]]');
|
||||||
10
entry.php
10
entry.php
|
|
@ -7,7 +7,7 @@ if (!defined('entry') || !entry) {
|
||||||
error_reporting(E_ALL);
|
error_reporting(E_ALL);
|
||||||
ini_set('display_errors', '1');
|
ini_set('display_errors', '1');
|
||||||
|
|
||||||
// PHP settings specific to Gelato
|
// PHP settings specific to Sorbet
|
||||||
ini_set('pcre.backtrack_limit', '10000');
|
ini_set('pcre.backtrack_limit', '10000');
|
||||||
|
|
||||||
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
|
define('Absolute_Path', dirname(__FILE__).DIRECTORY_SEPARATOR);
|
||||||
|
|
@ -22,7 +22,7 @@ if (!file_exists($configFile) and basename($_SERVER['PHP_SELF'])!='install.php')
|
||||||
} else {
|
} else {
|
||||||
include_once(Absolute_Path.'classes/install.class.php');
|
include_once(Absolute_Path.'classes/install.class.php');
|
||||||
$install = new Install();
|
$install = new Install();
|
||||||
if (!$install->is_gelato_installed()) {
|
if (!$install->is_sorbet_installed()) {
|
||||||
if (basename($_SERVER['PHP_SELF'])!='install.php') {
|
if (basename($_SERVER['PHP_SELF'])!='install.php') {
|
||||||
header("Location: {$dir}install.php");
|
header("Location: {$dir}install.php");
|
||||||
exit;
|
exit;
|
||||||
|
|
@ -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.'configuration.class.php');
|
||||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'util.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.'templates.class.php');
|
||||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'themes.class.php');
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'themes.class.php');
|
||||||
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'pagination.class.php');
|
require_once(Absolute_Path.'classes'.DIRECTORY_SEPARATOR.'pagination.class.php');
|
||||||
|
|
@ -71,7 +71,7 @@ if ($installed) {
|
||||||
// Globals to be used throughout the application
|
// Globals to be used throughout the application
|
||||||
$db = new Conexion_Mysql(DB_name, DB_Server, DB_User, DB_Password);
|
$db = new Conexion_Mysql(DB_name, DB_Server, DB_User, DB_Password);
|
||||||
$conf = new configuration();
|
$conf = new configuration();
|
||||||
$tumble = new gelato();
|
$tumble = new sorbet();
|
||||||
$user = new user();
|
$user = new user();
|
||||||
|
|
||||||
session_start();
|
session_start();
|
||||||
|
|
@ -83,7 +83,7 @@ if ($installed) {
|
||||||
|
|
||||||
$trigger =& $plugin_instance -> instance(); //DO NOT remove the & after the =
|
$trigger =& $plugin_instance -> instance(); //DO NOT remove the & after the =
|
||||||
|
|
||||||
$trigger->call('gelato_init');
|
$trigger->call('sorbet_init');
|
||||||
|
|
||||||
$feeds = new feeds();
|
$feeds = new feeds();
|
||||||
$feeds->updateFeeds();
|
$feeds->updateFeeds();
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ del sources_php.txt
|
||||||
goto :eof
|
goto :eof
|
||||||
|
|
||||||
:add_strings
|
: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
|
cd languages/%1
|
||||||
msgfmt messages.po
|
msgfmt messages.po
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 1.1 KiB |
47
index.php
47
index.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -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";
|
$sorbet_includes = "<meta name=\"generator\" content=\"sorbet ".$util_class -> codeName()." (".$util_class -> version().")\" />\n";
|
||||||
$gelato_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlGelato."/images/favicon.ico\" />";
|
$sorbet_includes .= "\t<link rel=\"shortcut icon\" href=\"".$conf->urlSorbet."/images/favicon.ico\" />";
|
||||||
|
|
||||||
$page_title = $conf->title;
|
$page_title = $conf->title;
|
||||||
$page_title_divisor = " » "; // it should be set in configuration
|
$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('rssFeed', $feed_url);
|
||||||
$theme->set('Gelato_includes', $gelato_includes);
|
$theme->set('Sorbet_includes', $sorbet_includes);
|
||||||
$theme->set('Title', $conf->title);
|
$theme->set('Title', $conf->title);
|
||||||
$theme->set('Page_Title', $page_title);
|
$theme->set('Page_Title', $page_title);
|
||||||
$theme->set('Description', $conf->description);
|
$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('Template_name', $conf->template);
|
||||||
$theme->set('allowComments', $conf->allowComments);
|
$theme->set('allowComments', $conf->allowComments);
|
||||||
|
|
||||||
$theme->set('isAuthenticated', $user->isAuthenticated());
|
$theme->set('isAuthenticated', $user->isAuthenticated());
|
||||||
if ($user->isAuthenticated()) {
|
if ($user->isAuthenticated()) {
|
||||||
$theme->set('User', $_SESSION["user_login"]);
|
$theme->set('User', $_SESSION["user_login"]);
|
||||||
$theme->set('URL_Tumble', $conf->urlGelato);
|
$theme->set('URL_Tumble', $conf->urlSorbet);
|
||||||
}
|
}
|
||||||
|
|
||||||
$rows = array();
|
$rows = array();
|
||||||
|
|
@ -138,12 +135,12 @@ $util_class = new util();
|
||||||
$fileName = "uploads/".$util_class->getFileName($register["url"]);
|
$fileName = "uploads/".$util_class->getFileName($register["url"]);
|
||||||
$x = @getimagesize($fileName);
|
$x = @getimagesize($fileName);
|
||||||
if ($x[0] > 500) {
|
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 {
|
} 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['PhotoURL'] = $photoPath;
|
||||||
$row['PhotoAlt'] = strip_tags($register["description"]);
|
$row['PhotoAlt'] = strip_tags($register["description"]);
|
||||||
|
|
@ -198,9 +195,9 @@ $util_class = new util();
|
||||||
$p->limit($limit);
|
$p->limit($limit);
|
||||||
if ($conf->urlFriendly) {
|
if ($conf->urlFriendly) {
|
||||||
$p->urlFriendly('[...]');
|
$p->urlFriendly('[...]');
|
||||||
$p->target($conf->urlGelato."/page/[...]");
|
$p->target($conf->urlSorbet."/page/[...]");
|
||||||
} else {
|
} else {
|
||||||
$p->target($conf->urlGelato);
|
$p->target($conf->urlSorbet);
|
||||||
}
|
}
|
||||||
|
|
||||||
$p->currentPage(isset($page_num) ? $page_num : 1);
|
$p->currentPage(isset($page_num) ? $page_num : 1);
|
||||||
|
|
@ -235,12 +232,12 @@ $util_class = new util();
|
||||||
|
|
||||||
$x = @getimagesize($fileName);
|
$x = @getimagesize($fileName);
|
||||||
if ($x[0] > 500) {
|
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 {
|
} 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['PhotoURL'] = $photoPath;
|
||||||
$row['PhotoAlt'] = strip_tags($register["description"]);
|
$row['PhotoAlt'] = strip_tags($register["description"]);
|
||||||
|
|
@ -308,13 +305,13 @@ $util_class = new util();
|
||||||
}
|
}
|
||||||
$theme->set('comments', $comments);
|
$theme->set('comments', $comments);
|
||||||
|
|
||||||
$whois['User_Cookie'] = isset($_COOKIE['cookie_gel_user'])?$_COOKIE['cookie_gel_user']:'';
|
$whois['User_Cookie'] = isset($_COOKIE['cookie_sor_user'])?$_COOKIE['cookie_sor_user']:'';
|
||||||
$whois['Email_Cookie'] = isset($_COOKIE['cookie_gel_email'])?$_COOKIE['cookie_gel_email']:'';
|
$whois['Email_Cookie'] = isset($_COOKIE['cookie_sor_email'])?$_COOKIE['cookie_sor_email']:'';
|
||||||
$whois['Web_Cookie'] = isset($_COOKIE['cookie_gel_web'])?$_COOKIE['cookie_gel_web']:'';
|
$whois['Web_Cookie'] = isset($_COOKIE['cookie_sor_web'])?$_COOKIE['cookie_sor_web']:'';
|
||||||
$whois['Id_Post'] = $register["id_post"];
|
$whois['Id_Post'] = $register["id_post"];
|
||||||
|
|
||||||
$theme->set('Date_Added', gmmktime());
|
$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);
|
$theme->set('whois', $whois);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -324,6 +321,6 @@ $util_class = new util();
|
||||||
$theme->set('rows', $rows);
|
$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');
|
$theme->display(Absolute_Path.'themes/'.$conf->template.'/index.htm');
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -4,12 +4,9 @@ if (!defined('entry') || !entry) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
|
|
||||||
|
|
@ -25,7 +22,7 @@ if (file_exists($configFile)) {
|
||||||
|
|
||||||
global $user, $conf, $tumble;
|
global $user, $conf, $tumble;
|
||||||
$install = new Install();
|
$install = new Install();
|
||||||
if ($install->is_gelato_installed()) {
|
if ($install->is_sorbet_installed()) {
|
||||||
header("location: index.php");
|
header("location: index.php");
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Text"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Es troba disponible una versió més recent de Gelato i està llesta <a href=\"http://www.gelatocms.com/\">per a descarregar</a>."
|
msgstr "Es troba disponible una versió més recent de Sorbet CMS i està llesta per a descarregar."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "recorda'm:"
|
msgstr "recorda'm:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use Sorbet CMS."
|
||||||
msgstr " Per usar gelato has d'estar registrat com a usuari."
|
msgstr " Per usar Sorbet CMS has d'estar registrat com a usuari."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Important"
|
msgstr "Important"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "afegir a gelato"
|
msgstr "afegir a sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "hores"
|
msgstr "hores"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: Sorbet cms 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Regulär"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Eine neue Gelato Version wurde veröffentlicht und steht <a href=\"http://www.gelatocms.com/\">zum Download</a> bereit."
|
msgstr "Eine neue Version wurde veröffentlicht und steht zum Download bereit."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Erinnere dich an mich:"
|
msgstr "Erinnere dich an mich:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use Sorbet CMS."
|
||||||
msgstr " Du musst registriert sein um Gelato zu verwenden."
|
msgstr " Du musst registriert sein um Sorbet CMS zu verwenden."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importiere"
|
msgstr "Importiere"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "Zu Gelato hinzufügen"
|
msgstr "Zu Sorbet hinzufügen"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "Stunde"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "Stunden"
|
msgstr "Stunden"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:29-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Regular"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 gelato version has been released and is ready <a href=\"http://www.gelatocms.com/\">for download</a>."
|
msgstr "A new version has been released and is ready for download."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Remember me:"
|
msgstr "Remember me:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " You must be registered to use gelato."
|
msgstr " You must be registered to use sorbet."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importing"
|
msgstr "Importing"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "add to gelato"
|
msgstr "add to sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "hour"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "hours"
|
msgstr "hours"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Texto"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Se encuentra disponible una versión más reciente de Gelato y está lista <a href=\"http://www.gelatocms.com/\">para descargar</a>."
|
msgstr "Se encuentra disponible una versión más reciente y está lista para descargar."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Recordarme:"
|
msgstr "Recordarme:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " Debes estar registrado para usar gelato."
|
msgstr " Debes estar registrado para usar sorbet."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importando"
|
msgstr "Importando"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "añadir a gelato"
|
msgstr "añadir a sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "horas"
|
msgstr "horas"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: Sorbet CMS 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Texto"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Se encuentra disponible una versión más reciente de Gelato y está lista <a href=\"http://www.gelatocms.com/\">para descargar</a>."
|
msgstr "Se encuentra disponible una versión más reciente y está lista para descargar."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Recuérdame:"
|
msgstr "Recuérdame:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " Para usar gelato has de estar registrado como usuario."
|
msgstr " Para usar sorbet has de estar registrado como usuario."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importando"
|
msgstr "Importando"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "añadir a gelato"
|
msgstr "añadir a sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "horas"
|
msgstr "horas"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: sorbet cms 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Regular"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Se ha liberado una nueva versión de gelato y esta lista para <a href=\"http://www.gelatocms.com/\">descargar</a>."
|
msgstr "Se ha liberado una nueva versión y esta lista para descargar."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Recordarme:"
|
msgstr "Recordarme:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use Sorbet CMS."
|
||||||
msgstr " Debes estar registrado para usar gelato."
|
msgstr " Debes estar registrado para usar Sorbet CMS."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importando"
|
msgstr "Importando"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "agregar a gelato"
|
msgstr "agregar a sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "horas"
|
msgstr "horas"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: SorbetCMS 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:30-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Normal"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Une nouvelle version de gelato est disponible au <a href=\"http://www.gelatocms.com/\">téléchargement</a>."
|
msgstr "Une nouvelle version est disponible au téléchargement."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,7 +592,7 @@ msgid "Remember me:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use Sorbet CMS."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
|
|
@ -686,7 +686,7 @@ msgid "Importing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr ""
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: sorbet cms 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
||||||
|
|
@ -330,8 +330,8 @@ msgstr "Testo"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Una nuova versione di gelato è stata rilasciata ed è pronta <a href=\"http://www.gelatocms.com/\">per lo scaricamento</a>."
|
msgstr "Una nuova versione è stata rilasciata ed è pronta per lo scaricamento."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -594,8 +594,8 @@ msgid "Remember me:"
|
||||||
msgstr "Ricordami:"
|
msgstr "Ricordami:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " Devi essere registrato per usare gelato."
|
msgstr " Devi essere registrato per usare sorbet."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -688,8 +688,8 @@ msgid "Importing"
|
||||||
msgstr "Importando"
|
msgstr "Importando"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "aggiungi a gelato"
|
msgstr "aggiungi a sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -719,4 +719,3 @@ msgstr "ora"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "ore"
|
msgstr "ore"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: Sorbet CMS 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Standaard tekst"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Een nieuwe gelato versie is uigebracht en is <a href=\"http://www.gelatocms.com/\">hier</a> te downloaden."
|
msgstr "Een nieuwe versie is uigebracht en is hier te downloaden."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Onthoudt mij:"
|
msgstr "Onthoudt mij:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " Je moet gerigistreerd zijn om gelato te gebruiken"
|
msgstr " Je moet gerigistreerd zijn om sorbet te gebruiken"
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importeren"
|
msgstr "Importeren"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "voeg aan gelato toe"
|
msgstr "voeg aan sorbet toe"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "uur"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "uren"
|
msgstr "uren"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: sorbet cms 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:31-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Vanlig"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "En ny gelato versjon er klar og kan <a href=\"http://www.gelatocms.com/\">lastes ned</a>."
|
msgstr "En ny versjon er klar og kan lastes ned."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Husk meg:"
|
msgstr "Husk meg:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " Du må være registrert for å bruke Gelato"
|
msgstr " Du må være registrert for å bruke Sorbet"
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -688,8 +688,8 @@ msgid "Importing"
|
||||||
msgstr "Importerer"
|
msgstr "Importerer"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "Legg til i gelato"
|
msgstr "Legg til i sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -719,4 +719,3 @@ msgstr "time"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "timer"
|
msgstr "timer"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: sorbet cms 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Normalny"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Nowa wersja gelato jest dostępna, <a href=\"http://www.gelatocms.com/\">kliknij tutaj, aby kontynuować.</a>."
|
msgstr "Nowa wersja jest dostępna, kliknij tutaj, aby kontynuować.."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,7 +592,7 @@ msgid "Remember me:"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
|
|
@ -686,7 +686,7 @@ msgid "Importing"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr ""
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: gelato cms 0.95\n"
|
"Project-Id-Version: sorbet cms 0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "Regular"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Uma nova versão do gelato foi lançada e está disponível <a href=\"http://www.gelatocms.com/\">para download</a>."
|
msgstr "Uma nova versão foi lançada e está disponível para download."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "Lembrar de mim: "
|
msgstr "Lembrar de mim: "
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " Você deve ser um usuário registrado para usar o gelato."
|
msgstr " Você deve ser um usuário registrado para usar o sorbet."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "Importando"
|
msgstr "Importando"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "adicionar ao gelato"
|
msgstr "adicionar ao sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "hora"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "horas"
|
msgstr "horas"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: GelatoCMS v0.95\n"
|
"Project-Id-Version: SorbetCMS v0.95\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||||
|
|
@ -328,8 +328,8 @@ msgstr "Текст"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 "Новая верия GelatoCMS <a href=\"http://www.gelatocms.com/\">доступна для скачивания</a>!"
|
msgstr "Новая верия SorbetCMS доступна для скачивания!"
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -591,7 +591,7 @@ msgid "Remember me:"
|
||||||
msgstr "Запомнить меня:"
|
msgstr "Запомнить меня:"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use Sorbet CMS."
|
||||||
msgstr " Вы должны быть зарегистрированы."
|
msgstr " Вы должны быть зарегистрированы."
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
|
|
@ -685,8 +685,8 @@ msgid "Importing"
|
||||||
msgstr "Импортирование"
|
msgstr "Импортирование"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "добавить в gelato"
|
msgstr "добавить в sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -716,4 +716,3 @@ msgstr "час"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "часов"
|
msgstr "часов"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: chinese for gelato\n"
|
"Project-Id-Version: chinese for sorbet\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "规则"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 href=\"http://www.gelatocms.com/\">下载</a>."
|
msgstr "新版本发布,请下载."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "记住我"
|
msgstr "记住我"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use sorbet."
|
||||||
msgstr " 您需要注册才能使用gelato"
|
msgstr " 您需要注册才能使用sorbet"
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "导入"
|
msgstr "导入"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "添加到gelato"
|
msgstr "添加到sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "小时"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "小时"
|
msgstr "小时"
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
|
@ -5,7 +5,7 @@
|
||||||
#
|
#
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr ""
|
msgstr ""
|
||||||
"Project-Id-Version: chinese for gelato\n"
|
"Project-Id-Version: chinese for sorbet\n"
|
||||||
"Report-Msgid-Bugs-To: \n"
|
"Report-Msgid-Bugs-To: \n"
|
||||||
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
"POT-Creation-Date: 2007-11-06 12:46-0600\n"
|
||||||
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
"PO-Revision-Date: 2007-11-25 13:32-0600\n"
|
||||||
|
|
@ -329,8 +329,8 @@ msgstr "規則"
|
||||||
|
|
||||||
#: index.php:167
|
#: index.php:167
|
||||||
#: index.php:145
|
#: index.php:145
|
||||||
msgid "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 href=\"http://www.gelatocms.com/\">下載</a>."
|
msgstr "新版本發布,請下載."
|
||||||
|
|
||||||
#: index.php:172
|
#: index.php:172
|
||||||
#: index.php:150
|
#: index.php:150
|
||||||
|
|
@ -592,8 +592,8 @@ msgid "Remember me:"
|
||||||
msgstr "記住我"
|
msgstr "記住我"
|
||||||
|
|
||||||
#: login.php:101
|
#: login.php:101
|
||||||
msgid " You must be registered to use gelato."
|
msgid " You must be registered to use Sorbet CMS."
|
||||||
msgstr " 您需要註冊才能使用gelato"
|
msgstr " 您需要註冊才能使用Sorbet CMS"
|
||||||
|
|
||||||
#: login.php:108
|
#: login.php:108
|
||||||
msgid " You must be logged on the system."
|
msgid " You must be logged on the system."
|
||||||
|
|
@ -686,8 +686,8 @@ msgid "Importing"
|
||||||
msgstr "導入"
|
msgstr "導入"
|
||||||
|
|
||||||
#: index.php:287
|
#: index.php:287
|
||||||
msgid "add to gelato"
|
msgid "add to sorbet"
|
||||||
msgstr "添加到gelato"
|
msgstr "添加到sorbet"
|
||||||
|
|
||||||
#: options.php:204
|
#: options.php:204
|
||||||
msgid "Shorten long URLs:"
|
msgid "Shorten long URLs:"
|
||||||
|
|
@ -717,4 +717,3 @@ msgstr "小時"
|
||||||
#: options.php:224
|
#: options.php:224
|
||||||
msgid "hours"
|
msgid "hours"
|
||||||
msgstr "小時"
|
msgstr "小時"
|
||||||
|
|
||||||
|
|
|
||||||
17
login.php
17
login.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -20,19 +17,19 @@ require_once('entry.php');
|
||||||
global $user, $conf;
|
global $user, $conf;
|
||||||
|
|
||||||
if ($user->isAuthenticated()) {
|
if ($user->isAuthenticated()) {
|
||||||
header("Location: ".$conf->urlGelato."/admin/index.php");
|
header("Location: ".$conf->urlSorbet."/admin/index.php");
|
||||||
} else {
|
} else {
|
||||||
if (isset($_POST["pass"]) && isset($_POST["login"])) {
|
if (isset($_POST["pass"]) && isset($_POST["login"])) {
|
||||||
if ($user->validateUser($_POST['login'], md5($_POST['pass']))) {
|
if ($user->validateUser($_POST['login'], md5($_POST['pass']))) {
|
||||||
if (isset($_POST["url_redirect"])) {
|
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();
|
exit();
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$conf->urlGelato."/admin/index.php");
|
header("Location: ".$conf->urlSorbet."/admin/index.php");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
header("Location: ".$conf->urlGelato."/login.php?error=1");
|
header("Location: ".$conf->urlSorbet."/login.php?error=1");
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -43,7 +40,7 @@ if ($user->isAuthenticated()) {
|
||||||
$theme->set('sel', (isset($_GET['sel'])?$_GET['sel']:''));
|
$theme->set('sel', (isset($_GET['sel'])?$_GET['sel']:''));
|
||||||
$theme->set('error', (isset($_GET['error'])?$_GET['error']:''));
|
$theme->set('error', (isset($_GET['error'])?$_GET['error']:''));
|
||||||
$theme->set('conf', array(
|
$theme->set('conf', array(
|
||||||
"urlGelato"=>$conf->urlGelato
|
"urlSorbet"=>$conf->urlSorbet
|
||||||
));
|
));
|
||||||
$theme->display(Absolute_Path.'admin/themes/admin/login.htm');
|
$theme->display(Absolute_Path.'admin/themes/admin/login.htm');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Plugin Name: FeedReplacement
|
Plugin Name: FeedReplacement
|
||||||
Plugin URI: http://plugins.gelatocms.com/feedreplacement/
|
|
||||||
Description:
|
Description:
|
||||||
Author: Victor Bracco
|
Author: Victor Bracco
|
||||||
Author URI: http://www.vbracco.com.ar/
|
Author URI: http://www.vbracco.com.ar/
|
||||||
|
|
@ -17,13 +16,13 @@ class feedreplacement extends plugins
|
||||||
$this->addAction('add_options_panel', 'feedreplacement_setOptionsPanel');
|
$this->addAction('add_options_panel', 'feedreplacement_setOptionsPanel');
|
||||||
|
|
||||||
//crea o verifica que la opcion que usa de la tabla de opciones esta creada
|
//crea o verifica que la opcion que usa de la tabla de opciones esta creada
|
||||||
$this->addAction('gelato_init', 'feedreplacement_check');
|
$this->addAction('sorbet_init', 'feedreplacement_check');
|
||||||
|
|
||||||
//reemplaza el link del feed de gelato por el link de feedburner
|
//reemplaza el link del feed de sorbet por el link de feedburner
|
||||||
//$this->addAction('add_post', 'dameCinco');
|
//$this->addAction('add_post', 'dameCinco');
|
||||||
|
|
||||||
//lo mismo pero con el que esta en el header
|
//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
|
//redirecting all trafic
|
||||||
$this->addAction('feed_header', 'feedreplacement_redirect');
|
$this->addAction('feed_header', 'feedreplacement_redirect');
|
||||||
|
|
@ -32,7 +31,7 @@ class feedreplacement extends plugins
|
||||||
if ($user->isAdmin()) {
|
if ($user->isAdmin()) {
|
||||||
if (isset($_POST["feedreplacement_url"])) {
|
if (isset($_POST["feedreplacement_url"])) {
|
||||||
if (!$tumble->saveOption($_POST["feedreplacement_url"], "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();
|
die();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -61,7 +60,7 @@ class feedreplacement extends plugins
|
||||||
|
|
||||||
public function feedreplacement_includeFeed()
|
public function feedreplacement_includeFeed()
|
||||||
{
|
{
|
||||||
global $conf,$gelato_includes,$feed_url;
|
global $conf,$sorbet_includes,$feed_url;
|
||||||
$feedreplacement_url = $conf->get_option('feedreplacement_url');
|
$feedreplacement_url = $conf->get_option('feedreplacement_url');
|
||||||
if ($feedreplacement_url!="") {
|
if ($feedreplacement_url!="") {
|
||||||
$feed_url = $feedreplacement_url;
|
$feed_url = $feedreplacement_url;
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,6 @@ class kodrs extends plugins
|
||||||
return array(
|
return array(
|
||||||
'name' => 'kodrs',
|
'name' => 'kodrs',
|
||||||
'version' => '0.1',
|
'version' => '0.1',
|
||||||
'url' => 'http://plugins.gelatocms.com/kodrs/',
|
|
||||||
'author' => 'Pedro Santana',
|
'author' => 'Pedro Santana',
|
||||||
'authorurl' => 'http://www.pecesama.net/',
|
'authorurl' => 'http://www.pecesama.net/',
|
||||||
'license' => 'MIT License',
|
'license' => 'MIT License',
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
Plugin Name: PostConfirmation
|
Plugin Name: PostConfirmation
|
||||||
Plugin URI: http://www.gelatocms.com/plugins/postconfirmation/
|
|
||||||
Description: Add a confirmation dialog when submit the Create-post button.
|
Description: Add a confirmation dialog when submit the Create-post button.
|
||||||
Author: Victor Bracco
|
Author: Victor Bracco
|
||||||
Author URI: http://www.vbracco.com.ar/
|
Author URI: http://www.vbracco.com.ar/
|
||||||
|
|
|
||||||
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.
|
That's it! Sorbet should now be installed.
|
||||||
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.
|
|
||||||
|
|
|
||||||
17
rss.php
17
rss.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -29,13 +26,13 @@ if (!defined('entry')) {
|
||||||
<rss version="2.0">
|
<rss version="2.0">
|
||||||
<channel>
|
<channel>
|
||||||
<title><?php echo htmlspecialchars($conf->title);?></title>
|
<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>
|
<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>
|
<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>
|
<title><?php echo htmlspecialchars($conf->description);?></title>
|
||||||
<link><?php echo $conf->urlGelato;?></link>
|
<link><?php echo $conf->urlSorbet;?></link>
|
||||||
</image>
|
</image>
|
||||||
<?php
|
<?php
|
||||||
$rs = $tumble->getPosts("20");
|
$rs = $tumble->getPosts("20");
|
||||||
|
|
@ -49,7 +46,7 @@ if (!defined('entry')) {
|
||||||
$desc = $register["description"];
|
$desc = $register["description"];
|
||||||
break;
|
break;
|
||||||
case "2":
|
case "2":
|
||||||
$photoPath = str_replace("../", $conf->urlGelato."/", $register["url"]);
|
$photoPath = str_replace("../", $conf->urlSorbet."/", $register["url"]);
|
||||||
$tit = ($register["description"]=="") ? "Photo" : $register["description"];
|
$tit = ($register["description"]=="") ? "Photo" : $register["description"];
|
||||||
$desc = "<img src=\"".$photoPath."\"/>";
|
$desc = "<img src=\"".$photoPath."\"/>";
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
13
sitemap.php
13
sitemap.php
|
|
@ -4,12 +4,9 @@ if (!defined('entry')) {
|
||||||
}
|
}
|
||||||
/* ===========================
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
@ -22,14 +19,14 @@ if (!defined('entry')) {
|
||||||
$isFeed = true;
|
$isFeed = true;
|
||||||
|
|
||||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
|
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);
|
$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">
|
<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>
|
<url>
|
||||||
<loc><?php echo $conf->urlGelato;?></loc>
|
<loc><?php echo $conf->urlSorbet;?></loc>
|
||||||
<?php
|
<?php
|
||||||
if ($db->contarRegistros()>0) {
|
if ($db->contarRegistros()>0) {
|
||||||
$register = $rs->fetch();
|
$register = $rs->fetch();
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
<div id="intro">
|
<div id="intro">
|
||||||
<p>
|
<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/>
|
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>.
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -99,7 +99,7 @@
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
gelato CMS :: PHP/MySQL Tumblelog Content Management System.
|
Sorbet CMS :: PHP/MySQL Tumblelog Content Management System.
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<!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>
|
<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"/>
|
<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/jquery.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
|
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
|
||||||
|
|
@ -180,7 +180,7 @@
|
||||||
<p class="tiny">
|
<p class="tiny">
|
||||||
<a href="{URL_Tumble}/archive.php">{__("archive")}</a> /
|
<a href="{URL_Tumble}/archive.php">{__("archive")}</a> /
|
||||||
{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,378 +1 @@
|
||||||
body {
|
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}
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
<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"/>
|
<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/jquery.js"></script>
|
||||||
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
|
<script language="javascript" type="text/javascript" src="{URL_Tumble}/admin/scripts/lightbox.js"></script>
|
||||||
|
|
@ -167,7 +167,7 @@
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<a href="{URL_Tumble}/archive.php">{__("archive")}</a> /
|
<a href="{URL_Tumble}/archive.php">{__("archive")}</a> /
|
||||||
{__("subscribe via")} <a href="{URL_Tumble}/rss.php">rss</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>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,308 +1 @@
|
||||||
body {
|
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}
|
||||||
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;
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
if (!defined('entry') || !entry) {
|
if (!defined('entry') || !entry) {
|
||||||
die('Not a valid page');
|
die('Not a valid page');
|
||||||
} /* ===========================
|
}
|
||||||
|
/* ===========================
|
||||||
|
|
||||||
gelato CMS - A PHP based tumblelog CMS
|
Sorbet CMS - A PHP based tumblelog CMS forked from Gelato CMS
|
||||||
development version
|
|
||||||
http://www.gelatocms.com/
|
|
||||||
|
|
||||||
gelato CMS is a free software licensed under the GPL 2.0
|
Sorbet CMS is a free software licensed under the GPL 3.0
|
||||||
Copyright (C) 2007 by Pedro Santana <pecesama at gmail dot com>
|
|
||||||
|
|
||||||
=========================== */
|
=========================== */
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue