Giter Site home page Giter Site logo

check_for_update's Introduction

Hi ๐Ÿ‘‹, I'm Rohit

A passionate backend developer from India

rohit1290

  • ๐Ÿ”ญ Iโ€™m currently working on Campus Karma

  • ๐Ÿ‘ฏ I love contributing to open source projects Elgg

  • ๐Ÿค Iโ€™m looking for help with Elgg Plugins

  • ๐Ÿ’ฌ Ask me about PHP

Languages and Tools:

bootstrap c cplusplus css3 firebase git heroku html5 illustrator java javascript linux mariadb mssql mysql nginx oracle photoshop php postgresql postman sqlite

rohit1290

ย rohit1290

rohit1290

check_for_update's People

Contributors

rohit1290 avatar

Watchers

 avatar  avatar

check_for_update's Issues

Change Setting page Yes/No dropdown with switch button

system_cache_input = elgg_view_field([
	'#type' => 'checkbox',
	'label' => elgg_echo('installation:systemcache:label'),
	'help' => elgg_echo('installation:systemcache:description'),
	'name' => 'system_cache_enabled',
	'switch' => true,
	'checked' => elgg_is_system_cache_enabled(),
	'#class' => 'mtm',
]);

https://github.com/rohit1290/check_for_update/blob/master/views/default/forms/check_for_update/save.php#L75L85

if(!is_numeric($dbplugin[$plugin_id]['check_update'])) {
	$dbplugin[$plugin_id]['check_update'] = ($dbplugin[$plugin_id]['check_update'] == "yes")?1:0;
}

echo elgg_view_field([
	'#type' => 'checkbox',
	'#label' => "Check for Update",
	'help' => "Enable the plugin to check for update"
	'required' => true,
	'name' => "check_update[$i]",
	'switch' => true,
	'checked' => $dbplugin[$plugin_id]['check_update'],
]);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.