Changeset 8517 for extensions


Ignore:
Timestamp:
Jan 8, 2011, 12:27:36 PM (14 years ago)
Author:
rub
Message:

Add admin page

Location:
extensions/FacebookPlug
Files:
5 added
6 edited

Legend:

Unmodified
Added
Removed
  • extensions/FacebookPlug/Server/trunk/cancel.php

    r8484 r8517  
    2222<html>
    2323<head>
     24  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    2425</head>
    2526<body>
  • extensions/FacebookPlug/Server/trunk/include/common.php

    r8484 r8517  
    5151}
    5252
    53 require_once(FACEBOOKPLUG_ROOT_PATH . 'include/constants.php');
    54 require_once(FACEBOOKPLUG_ROOT_PATH . 'include/constants_secret.php');
    55 require_once(FACEBOOKPLUG_ROOT_PATH . 'include/facebook.php');
    56 require_once(FACEBOOKPLUG_ROOT_PATH . 'include/functions.php');
     53require_once(FACEBOOKPLUG_ROOT_PATH.'include/constants.php');
     54require_once(FACEBOOKPLUG_ROOT_PATH.'include/constants_secret.php');
     55require_once(FACEBOOKPLUG_ROOT_PATH.'include/facebook.php');
     56require_once(FACEBOOKPLUG_ROOT_PATH.'include/functions.php');
    5757
    5858// Main global var
     
    6060
    6161// Default config
    62 include(FACEBOOKPLUG_ROOT_PATH . 'include/config_default.php');
     62include(FACEBOOKPLUG_ROOT_PATH.'include/config_default.php');
    6363
    6464// Log on db
  • extensions/FacebookPlug/Server/trunk/include/constants.php

    r8484 r8517  
    1919// +-----------------------------------------------------------------------+
    2020
    21 //This defines ares on constants_secret.php
     21//-------------------------------------------
     22// -This defines ares on constants_secret.php
     23//-------------------------------------------
    2224//define('FACEBOOK_APP_ID', '***');
    2325//define('FACEBOOK_SECRET', '***');
     
    2729//~ define('FBP_PASSWORD', '***');
    2830//~ define('FBP_HOST', '***');
     31
     32//~ define('FBP_ADMINISTRATOR_ID', '***');
     33//-------------------------------------------
    2934//This defines ares on constants_secret.php
     35//-------------------------------------------
    3036
    3137define('FBP_VERSION', basename(dirname(dirname(__FILE__))));
  • extensions/FacebookPlug/Server/trunk/include/functions.php

    r8484 r8517  
    210210}
    211211
    212 function  fbp_db_query($query)
     212function fbp_db_query($query)
    213213{
    214214  $result = mysql_query($query);
     
    217217    die('Invalid query: [mysql error '.mysql_errno().'] '.mysql_error()."\n".$query);
    218218  }
     219  return $result;
    219220}
    220221
  • extensions/FacebookPlug/Server/trunk/upload_photo.php

    r8484 r8517  
    2121define('FACEBOOKPLUG_ROOT_PATH','./');
    2222
    23 require_once 'include/common.php';
     23require_once(FACEBOOKPLUG_ROOT_PATH.'include/common.php');
    2424
    2525?>
     
    2727<html>
    2828<head>
     29  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    2930  <script type="text/javascript" src="http://code.jquery.com/jquery-1.4.4.min.js"></script>
    3031</head>
  • extensions/FacebookPlug/ToDo.txt

    r8486 r8517  
    8888Révision globale:
    8989-----------------
    90 A new version is available [Revision 1.0.8485]:
     90A new version is available [Revision 1.0.8513]:
    9191
    9292Functionnality:
    9393---------------
    94 Add upload button on image page
    95 Update languages IT
     94N/A
    9695
    9796Technical:
    9897----------
    99 New way to share link: use stream.share from the FB.ui() method of the Facebook JS SDK
    100 Replace language by locale
     98Rollback: Reuse old method to share link
    10199
    102100Next version?:
     
    109107------------------------------------------------------------------------------
    110108
    111 Une nouvelle version est disponible [Revision 1.0.8485]:
     109Une nouvelle version est disponible [Revision 1.0.8513]:
    112110
    113111Fonctionnalités:
    114112----------------
    115 Ajout d'un bouton pour télécharger la photo sur Facebook sur chaque page image
    116 Mise à jour des langues
     113N/A
    117114
    118115Technique:
    119116----------
    120 Nouvelle méthode pour le lien "partager" utilisation de stream.share de la méthode FB.ui() de Facebook JS SDK
    121 Remplacement de la variable language par locale
     117Retour arrière: utilisation de la méthode précedente pour partager un lien
     118
    122119
    123120Prochaine version?:
     
    137134Dev en cours:
    138135-------------
     136Rollback: Reuse old method to share link.
Note: See TracChangeset for help on using the changeset viewer.