content_css : "../template/<?php print PMF_Template::getTplSetName(); ?> /css/style.css", // Drop lists for link/image/media/template dialogs template_external_list_url : "js/template_list.js", // Replace values for the template plugin template_replace_values : { username : "******", user_id : "<?php print $user->userdata->get('user_id'); ?> " } }); } /* ]]> */ </script> <?php } } } elseif ($permission["editbt"] != 1 && !PMF_Db::checkOnEmptyTable('faqcategories')) { print $PMF_LANG["err_NotAuth"]; } elseif ($permission["editbt"] && PMF_Db::checkOnEmptyTable('faqcategories')) { print $PMF_LANG["no_cats"]; }
* @since 2003-04-17 */ if (!defined('IS_VALID_PHPMYFAQ')) { header('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME'])); exit; } require PMF_INCLUDE_DIR . '/Export.php'; ?> <h2><?php print $PMF_LANG["ad_menu_export"]; ?> </h2> <form action="?action=exportfile" method="post"> <?php if (!PMF_Db::checkOnEmptyTable('faqdata')) { if (!PMF_Db::checkOnEmptyTable('faqcategories')) { $categoryData = new PMF_Category_Tree_DataProvider_SingleQuery($LANGCODE); $categoryLayout = new PMF_Category_Layout(new PMF_Category_Tree_Helper(new PMF_Category_Tree($categoryData))); ?> <fieldset><legend><?php print $PMF_LANG['ad_export_which_cat']; ?> </legend> <label class="left" for="rubrik"><?php print $PMF_LANG["ad_entry_category"]; ?> </label> <select name="catid" id="catid" size="1"> <?php print $categoryLayout->renderOptions(); ?>