aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/admin.php
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-04-13 18:22:25 +0000
committerflop25 <flop25@piwigo.org>2014-04-13 18:22:25 +0000
commit5ebeec822fc3ee0d50591f2b25a1190760977327 (patch)
treee142eaff6582856ee22e60f956267e3c2fc11c92 /plugins/TakeATour/admin.php
parentd97c1394519a49f2d8d11f29e117be83a5f3979f (diff)
TakeATour replace c13y_upgrade ; c13y_upgrade not activated after upgrade
adding TakeATour files less margin-top in no_photo_yet.tpl git-svn-id: http://piwigo.org/svn/trunk@28169 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/TakeATour/admin.php27
1 files changed, 27 insertions, 0 deletions
diff --git a/plugins/TakeATour/admin.php b/plugins/TakeATour/admin.php
new file mode 100644
index 000000000..1f3d44d10
--- /dev/null
+++ b/plugins/TakeATour/admin.php
@@ -0,0 +1,27 @@
+<?php
+
+if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
+
+global $template, $conf, $user, $page;
+
+load_language('plugin.lang', PHPWG_PLUGINS_PATH .'TakeATour/');
+$template->assign(
+ array(
+ 'F_ACTION' => get_root_url().'admin.php',
+ 'pwg_token' => get_pwg_token()
+ )
+ );
+
+$template->func_combine_css(array(
+ 'path' => 'plugins/TakeATour/css/admin.css',
+ )
+);
+
+if (isset($conf['TakeATour_tour_ignored']) and is_array($conf['TakeATour_tour_ignored']))
+{
+ $template->assign('TAT_tour_ignored', $conf['TakeATour_tour_ignored']);
+}
+$template->set_filename('plugin_admin_content', dirname(__FILE__) .'/tpl/admin.tpl');
+$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content');
+
+?> \ No newline at end of file