Permalink
Browse files

adding tag 3.0.1 from http://plugins.svn.wordpress.org/wordpress-flic…

  • Loading branch information...
0 parents commit ef895ad3363f604f17c1ad95a30334bb9123b14d Matt Richmond committed Feb 7, 2012
Showing with 9,832 additions and 0 deletions.
  1. +60 −0 BasePlugin.php
  2. +580 −0 FlickrAdmin.php
  3. +547 −0 FlickrManager.php
  4. +454 −0 FlickrPanel.php
  5. +17 −0 Overlay.php
  6. +116 −0 OverlayLoader.php
  7. +93 −0 css/admin_style.css
  8. +200 −0 css/galleria.classic.css
  9. +76 −0 css/highslide-ie6.css
  10. +885 −0 css/highslide.css
  11. +101 −0 css/jquery.lightbox-0.5.css
  12. +74 −0 css/media_panel.css
  13. BIN images/badge_pro.gif
  14. BIN images/blank.gif
  15. BIN images/classic-loader.gif
  16. BIN images/classic-map.png
  17. BIN images/closelabel.gif
  18. BIN images/creative_commons_bw.gif
  19. BIN images/flickr-media.gif
  20. BIN images/highslide/close.png
  21. BIN images/highslide/closeX.png
  22. BIN images/highslide/controlbar-black-border.gif
  23. BIN images/highslide/controlbar-text-buttons.png
  24. BIN images/highslide/controlbar-white-small.gif
  25. BIN images/highslide/controlbar-white.gif
  26. BIN images/highslide/controlbar2.gif
  27. BIN images/highslide/controlbar3.gif
  28. BIN images/highslide/controlbar4-hover.gif
  29. BIN images/highslide/controlbar4.gif
  30. BIN images/highslide/fullexpand.gif
  31. BIN images/highslide/geckodimmer.png
  32. BIN images/highslide/icon.gif
  33. BIN images/highslide/loader.gif
  34. BIN images/highslide/loader.white.gif
  35. BIN images/highslide/outlines/Outlines.psd
  36. BIN images/highslide/outlines/beveled.png
  37. BIN images/highslide/outlines/drop-shadow.png
  38. BIN images/highslide/outlines/glossy-dark.png
  39. BIN images/highslide/outlines/outer-glow.png
  40. BIN images/highslide/outlines/rounded-black.png
  41. BIN images/highslide/outlines/rounded-white.png
  42. BIN images/highslide/resize.gif
  43. BIN images/highslide/scrollarrows.png
  44. BIN images/highslide/zoomin.cur
  45. BIN images/highslide/zoomout.cur
  46. BIN images/loading-2.gif
  47. BIN images/loading-3.gif
  48. BIN images/loading.gif
  49. BIN images/nextlabel.gif
  50. BIN images/prevlabel.gif
  51. +377 −0 js/MediaPanel.js
  52. +83 −0 js/galleria-1.2.2.min.js
  53. +10 −0 js/galleria.classic.min.js
  54. +8 −0 js/highslide-full.min.js
  55. +42 −0 js/jquery.lightbox-0.5.min.js
  56. +57 −0 js/jquery.share.js
  57. +62 −0 js/wfm-common.js
  58. +33 −0 js/wfm-galleria.js
  59. +106 −0 js/wfm-highslide.js
  60. +96 −0 js/wfm-lightbox.js
  61. +32 −0 js/wfm-share.js
  62. +72 −0 js/wfm-thickbox.js
  63. +25 −0 js/wfm-wpoverlay.js
  64. BIN lang/flickr-manager-de_DE.mo
  65. +372 −0 lang/flickr-manager-de_DE.po
  66. BIN lang/flickr-manager-es_ES.mo
  67. +460 −0 lang/flickr-manager-es_ES.po
  68. BIN lang/flickr-manager-he_IL.mo
  69. +400 −0 lang/flickr-manager-he_IL.po
  70. BIN lang/flickr-manager-tr_TR.mo
  71. +402 −0 lang/flickr-manager-tr_TR.po
  72. BIN lang/flickr-manager-zh_CN.mo
  73. +458 −0 lang/flickr-manager-zh_CN.po
  74. +337 −0 lang/flickr-manager.pot
  75. +1,803 −0 lib/inc.flickr.php
  76. +22 −0 lib/inc.json.php
  77. +33 −0 lib/inc.templater.php
  78. +806 −0 lib/lib.json.php
  79. +27 −0 overlays/GalleriaOverlay.php
  80. +70 −0 overlays/HighslideOverlay.php
  81. +30 −0 overlays/LightboxOverlay.php
  82. +1 −0 overlays/ThickboxOverlay.php
  83. +81 −0 overlays/WordpressOverlay.php
  84. +42 −0 readme.txt
  85. BIN screenshot-1.jpg
  86. BIN screenshot-2.jpg
  87. +3 −0 templates/Error.tpl
  88. +55 −0 templates/FlickrPage.php
  89. +134 −0 templates/InsertPhoto.tpl
  90. +63 −0 templates/InsertPhotoset.tpl
  91. +27 −0 templates/MediaPanel.tpl
@@ -0,0 +1,60 @@
+<?php
+// Plugin base
+
+class BasePlugin
+{
+
+ var $settings;
+ var $plugin_option = 'wfm-settings';
+ var $plugin_domain = 'flickr-manager';
+ var $plugin_directory;
+ var $absoluteURL;
+
+ function BasePlugin()
+ {
+ $this->plugin_directory = dirname(plugin_basename(__FILE__));
+ $this->absoluteURL = plugins_url('/', __FILE__);
+
+ // Register the installation handler
+ register_activation_hook( __FILE__, array(&$this, 'InstallPlugin') );
+
+ $this->LoadSettings();
+
+ // Load locale settings
+ $lang_dir = sprintf("%s/%s/lang", PLUGINDIR, dirname(plugin_basename(__FILE__)));
+ load_plugin_textdomain($this->plugin_domain, $lang_dir);
+ }
+
+ function InstallPlugin() {
+
+ if (!get_option($this->plugin_option)) {
+ $this->settings = array();
+ add_option($this->plugin_option, $this->settings);
+ }
+
+ }
+
+ function LoadSettings()
+ {
+
+ $this->settings = get_option($this->plugin_option);
+
+ }
+
+ function GetSetting($setting)
+ {
+
+ return $this->settings[$setting];
+
+ }
+
+ function SaveSetting($setting, $value)
+ {
+
+ $this->settings[$setting] = $value;
+ update_option($this->plugin_option, $this->settings);
+
+ }
+
+}
+?>
Oops, something went wrong.

0 comments on commit ef895ad

Please sign in to comment.