瀏覽代碼

Sorry, removing things unrelated to last commit

pdontthink 18 年之前
父節點
當前提交
232775d2b1
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      src/options.php

+ 2 - 4
src/options.php

@@ -285,7 +285,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
     }
     
     if (!empty($notice)) {
-        $oTemplate->assign('note', $notice, FALSE);
+        $oTemplate->assign('note', $notice);
         $oTemplate->display('note.tpl');
     }
     
@@ -424,9 +424,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
          "  <td colspan=\"2\">\n";
 
     // This is the only variable that is needed by *just* the template.
-    // No output sanitizing needed because all widgets added through 
-    // template output already
-    $oTemplate->assign('options', $optpage_data['options'], FALSE);
+    $oTemplate->assign('options', $optpage_data['options']);
     
     global $ask_user_info, $org_name;
     if ( $optpage = SMOPT_PAGE_PERSONAL && $ask_user_info