From 5924713a3bb80468cd93b41c23503581ce17d711 Mon Sep 17 00:00:00 2001 From: Linda Badurina Date: Thu, 23 Nov 2017 08:59:48 -0500 Subject: [PATCH] ACP > Posts - Removed all commented out tpls but one because js file for it is in the works - Removed unfinished js file - Removed unfinished checkbox html --- src/posts/newuser.js | 16 ----- src/views/admin/settings/post.tpl | 102 ++---------------------------- 2 files changed, 7 insertions(+), 111 deletions(-) delete mode 100644 src/posts/newuser.js diff --git a/src/posts/newuser.js b/src/posts/newuser.js deleted file mode 100644 index 9574a48c72..0000000000 --- a/src/posts/newuser.js +++ /dev/null @@ -1,16 +0,0 @@ -'use strict'; - - -define('admin/settings/general', ['admin/settings'], function () { - var Module = {}; - - Module.init = function () { - $('input[data-type="newUserRestrictions"]').attr('disabled', true); - }; - - return Module; -}); - -$('[data-field="toggleUserRestrictions"]').on('click', function() { - // code to toggle disable attribute for inputs -}); \ No newline at end of file diff --git a/src/views/admin/settings/post.tpl b/src/views/admin/settings/post.tpl index ca4650beed..08fe01fdea 100644 --- a/src/views/admin/settings/post.tpl +++ b/src/views/admin/settings/post.tpl @@ -58,39 +58,7 @@
[[admin/settings/post:restrictions]]
- - - +
@@ -103,22 +71,7 @@
- +
@@ -134,7 +87,7 @@
[[admin/settings/post:restrictions-new]]
-
+
- +
@@ -171,52 +121,14 @@
- +
- - -
-