static App

This commit is contained in:
redmatrix
2016-03-31 16:06:03 -07:00
parent 256c228efd
commit 9abd95fad3
231 changed files with 52688 additions and 52684 deletions

View File

@@ -30,7 +30,7 @@ function rbmark_post(&$a) {
logger('rbmark_post: ' . print_r($_REQUEST,true));
$channel = $a->get_channel();
$channel = App::get_channel();
$t = array('url' => escape_tags($_REQUEST['url']),'term' => escape_tags($_REQUEST['title']));
bookmark_add($channel,$channel,$t,((x($_REQUEST,'private')) ? intval($_REQUEST['private']) : 0),
@@ -75,7 +75,7 @@ function rbmark_content(&$a) {
goaway(z_root() . '/bookmarks');
}
$channel = $a->get_channel();
$channel = App::get_channel();
$m = menu_list($channel['channel_id'],'',MENU_BOOKMARK);