Sfoglia il codice sorgente

auth debug toggle js work
Added Author to plugin marketplace

causefx 7 anni fa
parent
commit
3a0ed9741d
4 ha cambiato i file con 8 aggiunte e 3 eliminazioni
  1. 2 1
      api/functions/organizr-functions.php
  2. 3 0
      js/custom.js
  3. 0 0
      js/custom.min.js
  4. 3 2
      js/functions.js

+ 2 - 1
api/functions/organizr-functions.php

@@ -553,7 +553,8 @@ function getSettingsMain()
 				'name' => 'authDebug',
 				'label' => 'Nginx Auth Debug',
 				'help' => 'Important! Do not keep this enabled for too long as this opens up Authentication while testing.',
-				'value' => $GLOBALS['authDebug']
+				'value' => $GLOBALS['authDebug'],
+				'class' => 'authDebug'
 			)
 		),
 		'Ping' => array(

+ 3 - 0
js/custom.js

@@ -1062,6 +1062,9 @@ $(document).on('change keydown', '.addFormTick :input', function(e) {
     if($(this).hasClass('notifyPositionChanger')){
         activeInfo.settings.notifications.position = value;
     }
+    if($(this).hasClass('authDebug')){
+        activeInfo.settings.misc.authDebug = value;
+    }
 });
 //DELETE IMAGE
 $(document).on("click", ".deleteImage", function () {

File diff suppressed because it is too large
+ 0 - 0
js/custom.min.js


+ 3 - 2
js/functions.js

@@ -817,7 +817,9 @@ function loadMarketplacePluginsItems(plugins){
                     </div>
                 </td>
                 <td>`+i+`
-                    <br><span class="text-muted">`+v.version+`</span></td>
+                    <br><span class="text-muted">`+v.version+`</span>
+                    <br><span class="text-muted">`+v.author+`</span>
+                </td>
                 <td>`+v.category+`</td>
                 <td>`+v.status+`</td>
                 <td style="text-align:center"><button type="button" onclick='aboutPlugin(`+JSON.stringify(v)+`);' class="btn btn-success btn-outline btn-circle btn-lg popup-with-form" href="#about-plugin-form" data-effect="mfp-3d-unfold"><i class="fa fa-info"></i></button></td>
@@ -1687,7 +1689,6 @@ function buildTabTypeSelect(tabID, typeID){
 		}
 		typeSelect += '<option '+selected+' value="'+v.type_id+'">'+v.type+'</option>';
 	});
-	console.log(tabID);
 	return '<td><select name="tab['+tabID+'].type" class="form-control tabTypeSelect">'+typeSelect+'</select></td>';
 }
 function buildTabCategorySelect(array,tabID, categoryID){

Some files were not shown because too many files changed in this diff