This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//we need this lib for deleting dirs | |
include_once("lib/files.inc.php"); | |
function getbook_admin() { | |
if(!is_dir("tmp")) mkdir("tmp"); | |
$update = tempnam("tmp/", "update_"); | |
$updatetext.= _("Processing...")."<br>"._("Requesting book"); | |
$book = $_POST['book']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is distributed under the same license as the Booktype package. | |
# | |
# Tomi Toivio <tomi@flossmanuals.net>, 2012. | |
msgid "" | |
msgstr "" | |
"Project-Id-Version: Booktype\n" | |
"Report-Msgid-Bugs-To: \n" | |
"POT-Creation-Date: 2012-04-08 23:25+0200\n" | |
"PO-Revision-Date: 2012-04-14 18:59+0300\n" | |
"Last-Translator: Tomi Toivio <tomi@flossmanuals.net>\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="recent-activity"> | |
<h2>Users online:</h2> | |
{% for key, value in users %} | |
{% for username in value %} | |
<div class="user"><a href="{% url view_profile username %}" class="user"><div class="image"><img src="{% url view_profilethumbnail username %}?width=24" al\ | |
t="{{username}}"></div><b>{{ username }}</b></a></div> | |
{% endfor %} | |
{% endfor %} | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sputnik | |
client_id = sputnik.get("sputnik:client_id") | |
sputnikchannels = sputnik.smembers("sputnik:channels") | |
chnl = {} | |
for ch in sputnik.rkeys("sputnik:channel:*:channel"): | |
chnl[ch] = sputnik.smembers(ch) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is part of Booktype. | |
# Copyright (c) 2012 Aleksandar Erkalovic <aleksandar.erkalovic@sourcefabric.org> | |
# | |
# Booktype is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# Booktype is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends "base.html" %} | |
{% load i18n %} | |
{% block header %} | |
<title>Booktype</title> | |
<script> | |
$(function() { | |
$("#formsignin").booksparkSignin({'url': '{% url signin %}'}); | |
$("#formregister").booksparkRegister({'url': '{% url signin %}', 'redirect': '{% url view_profile 'XXX' %}'}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** theme: base | |
* | |
* @package StatusNet | |
* @author Samantha Doherty <sammy@status.net> | |
* @copyright 2011 StatusNet, Inc. | |
* @license http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported | |
* @link http://status.net/ | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** theme: neo | |
* | |
* @package StatusNet | |
* @author Samantha Doherty <sammy@status.net> | |
* @copyright 2011 StatusNet, Inc. | |
* @license http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported | |
* @link http://status.net/ | |
*/ | |
@font-face { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Translation of StatusNet - Core to Finnish (suomi) | |
# Exported from translatewiki.net | |
# | |
# Author: Crt | |
# Author: Jaakko | |
# Author: Josutus | |
# Author: McDutchie | |
# Author: Nike | |
# Author: Silvonen | |
# Author: Str4nd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Translation of StatusNet to Finnish (suomi) | |
# Exported from translatewiki.net | |
# | |
# Author: Centerlink | |
# Author: Crt | |
# Author: Jaakko | |
# Author: Josutus | |
# Author: MJK | |
# Author: Nike | |
# Author: Silvonen |
OlderNewer