Line | |
---|
1 | <?php |
---|
2 | defined('PICASA_WA_PATH') or die('Hacking attempt!'); |
---|
3 | |
---|
4 | global $template, $page, $conf; |
---|
5 | |
---|
6 | load_language('plugin.lang', PICASA_WA_PATH); |
---|
7 | |
---|
8 | if (!file_exists(PICASA_WA_CACHE)) |
---|
9 | { |
---|
10 | mkdir(PICASA_WA_CACHE, 0755); |
---|
11 | } |
---|
12 | |
---|
13 | // include page |
---|
14 | include(PICASA_WA_PATH . 'admin/import.php'); |
---|
15 | |
---|
16 | // template |
---|
17 | $template->assign(array( |
---|
18 | 'PICASA_WA_PATH'=> PICASA_WA_PATH, |
---|
19 | 'PICASA_WA_ABS_PATH'=> dirname(__FILE__).'/', |
---|
20 | 'PICASA_WA_ADMIN' => PICASA_WA_ADMIN, |
---|
21 | )); |
---|
22 | |
---|
23 | $template->assign_var_from_handle('ADMIN_CONTENT', 'picasa_web_albums'); |
---|
Note: See
TracBrowser
for help on using the repository browser.