Commit Graph
37 Commits
Author SHA1 Message Date
Ian Berry dc6de06fd6 replace references to mysql's LAST_INSERT_ID() with an abstracted db_fetch_insert_id()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@578 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-23 22:44:54 +00:00
Ian Berry c2c95998cc added more filter stuff; actions are now functional
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@566 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-23 06:25:32 +00:00
Ian Berry 2e51a16649 typo
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@557 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-20 01:59:42 +00:00
Ian Berry 8c01d65daa finished the code that lets you delete all graph items or graphs associated iwht a data source
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@548 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-18 18:16:14 +00:00
Ian Berry 8dc9f77cd0 added data source item add/remove support along with some save tweaks
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@526 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-17 08:35:06 +00:00
Ian Berry 7dc4fb9e76 converted to generic ids like the other forms so the array-based form stuff works well across varying pages
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@515 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-16 06:56:53 +00:00
Ian Berry 85dd291c42 making everything work under E_ALL
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@483 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-09 09:19:28 +00:00
Ian Berry f93b7e58f5 form save validation checks; save code unification/cleaup
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@472 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-06 06:04:00 +00:00
Ian Berry 0e4b96551f auto-select host_id=0 if no host_id is set
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@459 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-04 04:16:17 +00:00
Ian Berry 15a54df00a '<?' -> '<?php', updated copyright on top of each file
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@446 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-29 02:40:41 +00:00
Ian Berry dc576c0774 start of advanced data source removal form, added data source template column to main display, updated header formatting
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@436 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-28 06:39:43 +00:00
Ian Berry ee548259a6 removed old 'tree*' action declarations
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@424 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-25 04:30:36 +00:00
Ian Berry 974657fa9d generate_data_source_path() now saves the newly generated name to the db
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@403 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-19 09:22:47 +00:00
Ian Berry c9d0e3857e added call to new cache update function: update_poller_cache()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@393 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-18 17:51:05 +00:00
Ian Berry 6570f02f79 should now always display data from the correction location (template/ds)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@388 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-17 08:20:38 +00:00
Ian Berry f4fa1f07a6 lots of edit/save bugfixes
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@370 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-13 05:33:43 +00:00
Ian Berry 9064d1659c add some data source path stuff in addition to a rrd create source box at the top of the edit page
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@357 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-10 08:33:41 +00:00
Ian Berry 97be633fbc moved 'data_source_path' field to array, fixed some ui tab issues
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@341 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-07 08:26:59 +00:00
Ian Berry b2b316c69d moved draw_nontemplated_item() function to form.php and implimented
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@340 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-06 08:45:43 +00:00
Ian Berry 7913b06e95 added data source form data to array and added it to forms
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@334 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-02 07:59:07 +00:00
Ian Berry 3c9e805b3f from data template not host template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@329 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-26 08:43:48 +00:00
Ian Berry 642f271b02 got rid of old $config array, started using read_config_option() function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@320 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-24 05:37:50 +00:00
Ian Berry 70ad95c6de updated box code usage on this page
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@312 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-23 20:54:32 +00:00
Ian Berry 3101a3044f start_box() function now has more args, got rid of start_pagebox()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@308 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-23 05:53:13 +00:00
Ian Berry e1d3099b87 got rid of data source tree stuff, added filter-by-host stuff on the main page
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@302 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-23 05:45:55 +00:00
Ian Berry 3014e2dde5 initial implimentation of field input data checking
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@292 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-17 07:04:17 +00:00
Ian Berry 0d0abefee8 removal of , and [var] notation out of all main forms, the rest will come soon
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@286 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-14 07:27:13 +00:00
Ian Berry 5320ad823e allow users to change script data only if the host template allows it, or a host template is not in use
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@278 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-08 05:43:43 +00:00
Ian Berry 05224e8fe1 don't allow users to change values written by hosts, never pull values directly from templates
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@271 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-07 07:52:21 +00:00
Ian Berry 74a64dbc3f moved the 'custom data' (for data input methods) code from data_templates.php to data_sources.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@252 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-30 05:03:42 +00:00
Ian Berry c018d3978c added new tabs and added tree_edit() function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@241 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-28 06:00:08 +00:00
Ian Berry dcbc52838d setup data source page so save works w/ template
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@236 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-24 06:12:32 +00:00
Ian Berry 01ba108048 added ds_save() function which will take care of saving data sources and updating the template. also organized the 'hidden fields' on the edit page
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@232 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-23 04:08:22 +00:00
Ian Berry 4482b54f40 added a '' argument to the 'DrawFormItemCheckBox' function so it can tell the difference between not selected (last value=blank) and default (last value=blank)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@231 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-23 03:17:37 +00:00
rixx cd2a9c76c3 Added tree remove
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@229 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-22 22:09:22 +00:00
Ian Berry 0f11d16d6f start work on edit screen/data template support for data sources
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@226 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-21 03:44:43 +00:00
Ian Berry dea5e3ae59 added files for host and data templates and re-did data sources file
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@219 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-20 23:04:16 +00:00