Subversion Repositories instagram

[/] [modules/] [ig/] [module.php] - Diff between revs 2 and 4

Show entire file | Ignore whitespace | Details | Blame | View Log

Rev 2 Rev 4
Line 1... Line 1...
<?php
<?php
 
 
$Module = array( 'name' => 'ig' );
$Module = array( 'name' => 'ig' );
 
 
$ViewList = array();
$ViewList = array();
 
/*
 
 * display the selected users feed (of synchronised photos)
 
 */
$ViewList['feed'] = array(
$ViewList['feed'] = array(
        "functions"=>array('read'),
        "functions"=>array('read'),
        'script'        => 'feed.php',
        'script'        => 'feed.php',
    'default_navigation_part' => 'instagramnavigationpart',
    'default_navigation_part' => 'instagramnavigationpart',
        'params'        => array( 'UserID' ),
        'params'        => array( 'UserID' ),
    'unordered_params' => array( 'offset' => 'Offset' )
    'unordered_params' => array( 'offset' => 'Offset' )
);
);
 
/*
 
 * 'connect_user' handels the callback from the instagram api
 
 * it stores the auth token and other user specific data to the database
 
 */
$ViewList['connect_user'] = array(
$ViewList['connect_user'] = array(
        "functions"=>array('read'),
        "functions"=>array('read'),
    'default_navigation_part' => 'instagramnavigationpart',
    'default_navigation_part' => 'instagramnavigationpart',
        'script'        => 'connect_user.php'
        'script'        => 'connect_user.php'
);
);
 
/*
 
 * list all connected users and some basic information
 
 */
$ViewList['connected_users'] = array(
$ViewList['connected_users'] = array(
        "functions"=>array('read'),
        "functions"=>array('read'),
    'default_navigation_part' => 'instagramnavigationpart',
    'default_navigation_part' => 'instagramnavigationpart',
        'script'        => 'connected_users.php'
        'script'        => 'connected_users.php'
);
 
$ViewList['view'] = array(
 
        'script'        => 'view.php'
 
);
);
 
 
$FunctionList = array();
$FunctionList = array();
$FunctionList['read'] = array();
$FunctionList['read'] = array();