Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
<? | |
protected function start_session($user_id) | |
{ | |
global $perm, $user, $auth, $sess, $forced_language, $_language; | |
$user = new Seminar_User(); | |
$user->start($user_id); |
MYSQL="mysql -h HOST -u USERNAME -pPASSWORD -D DB_NAME" | |
$MYSQL -BNe "show tables" | awk '{print "set foreign_key_checks=0; drop table `" $1 "`;"}' | $MYSQL | |
unset MYSQL |
<? | |
function words($string) | |
{ | |
return preg_split('/ /', $string, -1, PREG_SPLIT_NO_EMPTY); | |
} | |
function halt(/* [status], [headers], [body] */) | |
{ | |
$args = func_get_args(); |
<? | |
class RouteMap { | |
// [...] | |
// TODO (mlunzena): Implement these | |
// Set the Content-Type of the response body given a media type or | |
// file extension. |
<?php | |
/** | |
* StudipDispatcher.php - create the default Trails dispatcher | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License as | |
* published by the Free Software Foundation; either version 2 of | |
* the License, or (at your option) any later version. | |
* |
// Generated by CoffeeScript 1.5.0 | |
(function() { | |
var $, dialog, dialog_template, getCid, getWikiPages, intermap, openLinkDialog, url; | |
$ = jQuery; | |
dialog_template = _.template("<div title='Stud.IP-Link einfügen'>\n <select>\n <% _.each(keywords, function(keyword) { %>\n <option><%= keyword %></option> <% }); %>\n </select>\n <button class=submit>Einfügen</button>\n</div>"); | |
url = function(cid) { | |
return STUDIP.ABSOLUTE_URI_STUDIP + ("plugins.php/restipplugin/api/courses/" + cid + "/wiki"); |
<?php | |
/** | |
* | |
**/ | |
class UserRoute implements APIRoute | |
{ | |
/** | |
* | |
**/ |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: iAtYJ4HpUVfIUoNnif1DA
commit 313024da9c20df01ef6ac71741a42c53e993b5c4 | |
Author: Marcus Lunzenauer <mlunzena@uos.de> | |
Date: Fri Nov 2 08:51:35 2012 +0100 | |
prevent user faking to compatible-ize with Stud.IP2.3 | |
Modified app/controllers/api.php | |
diff --git a/app/controllers/api.php b/app/controllers/api.php | |
index 9cb0298..7d7b1e8 100644 | |
--- a/app/controllers/api.php |
if @el.parentNode | |
parent = @$el.parent() | |
@$el.remove().appendTo(parent).page() | |
parent.append(@$el) | |
@$el.page() |