Changeset 27 for trunk/includes
- Timestamp:
- 08/19/05 16:04:06 (7 years ago)
- Location:
- trunk/includes
- Files:
-
- 1 added
- 7 modified
-
EDIT_config_server.inc.php (modified) (1 diff)
-
Metalbum/dotnode.class.php (added)
-
Metalbum/flickr.class.php (modified) (1 diff)
-
Metalbum/interalbum.class.php (modified) (1 diff)
-
config.inc.php (modified) (2 diffs)
-
functions.inc.php (modified) (1 diff)
-
labels.inc.php (modified) (1 diff)
-
metalbum.class.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/EDIT_config_server.inc.php
r24 r27 48 48 $config['metalbum']['flickr']['api_key'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; 49 49 50 // It's you interalbum.com login + mms code like this : "login@mmscode" 51 $config['metalbum']['interalbum']['api_key'] = 'xxxxxx@xxxx'; 52 53 // It's your ID on dotnode.com (32 chars a-f0-9) 54 $config['metalbum']['dotnode']['api_key'] = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'; 50 55 ?> -
trunk/includes/Metalbum/flickr.class.php
r24 r27 1 <? 1 <?php 2 /****************************************************** Open .node *** 3 * Description: 4 * Status: Stable. 5 * Author: Alexandre Dath <alexandre@dotnode.com> 6 * $Id$ 7 * 8 * Copyright (C) 2005 Alexandre Dath <alexandre@dotnode.com> 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software Foundation, 22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 2 25 require_once 'Flickr/API.php'; 3 26 -
trunk/includes/Metalbum/interalbum.class.php
r26 r27 1 <? 1 <?php 2 /****************************************************** Open .node *** 3 * Description: 4 * Status: Stable. 5 * Author: Alexandre Dath <alexandre@dotnode.com> 6 * $Id$ 7 * 8 * Copyright (C) 2005 Alexandre Dath <alexandre@dotnode.com> 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software Foundation, 22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 24 2 25 require_once 'Flickr/API.php'; 3 26 -
trunk/includes/config.inc.php
r24 r27 27 27 define('INCLUDESPATH', BASEPATH.'/../includes'); 28 28 29 define('API_REST_METHODPATH', BASEPATH.'/../api/rest.method'); 30 29 31 define('ROOTDIR', BASEPATH.'/..'); 30 32 define('SMARTYPATH',BASEPATH.'/../smarty'); … … 37 39 define('ALBUMPATH',BASEPATH.'/albums'); 38 40 define('ALBUMTHUMBPATH',BASEPATH.'/albums/thumb'); 41 define('ALBUMSIZEDPATH',BASEPATH.'/albums/sized'); 39 42 40 43 define('MODERATOR_ID', '00112233445566778899001122334455'); -
trunk/includes/functions.inc.php
r24 r27 467 467 return ereg("[a-f0-9]{32}", $string); 468 468 break; 469 case 'photo_id': 470 return is_numeric($string); 471 break; 469 472 case 'metalbum_type': 470 473 if(in_array($string, array_keys($labels['metalbum']['type']))) -
trunk/includes/labels.inc.php
r24 r27 221 221 $labels['metalbum']['type'] = array( 222 222 'interalbum' => 'interAlbum.com', 223 'dotnode' => '.node (dotnode.com)', 223 224 'flickr' => 'Flickr.com' ); 224 225 -
trunk/includes/metalbum.class.php
r24 r27 1 1 <?php 2 /****************************************************** Open .node *** 3 * Description: 4 * Status: Stable. 5 * Author: Alexandre Dath <alexandre@dotnode.com> 6 * $Id$ 7 * 8 * Copyright (C) 2005 Alexandre Dath <alexandre@dotnode.com> 9 * 10 * This program is free software; you can redistribute it and/or modify 11 * it under the terms of the GNU General Public License as published by 12 * the Free Software Foundation; either version 2 of the License, or 13 * (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU General Public License for more details. 19 * 20 * You should have received a copy of the GNU General Public License 21 * along with this program; if not, write to the Free Software Foundation, 22 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 23 ******************** http://opensource.ikse.net/projects/dotnode ***/ 2 24 3 25 class Metalbum {
