コード例 #1
0
				var setting = localStorageGet($(el).attr('id'));
				if (setting != null) {
					$(el).val(setting);
				}
			});

			$('#settingsModal').modal('show');
			$('#settingsModalSave').unbind('click').click(function(e){
				e.preventDefault();

				$('#settingsModal input').each(function(c,el){
					localStorageSet($(el).attr('id'), $(el).val());
				});

				$('#settingsModal').modal('hide');
			});
		});
	});
	</script>
  </body>
</html>

<?php 
} else {
    $html->loadData();
    if (isset($_GET['control'])) {
        echo FileHelper::{$_GET['control']}($settings);
    } else {
        echo $html->{$_GET['ajax']}();
    }
}