Commit Graph
25 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 40e09eeea8 data_input_field_id stuff
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@527 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-17 08:35:29 +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 8d8943de8c the $section=""; string is no longer needed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@464 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-04 04:20:19 +00:00
Ian Berry 6093e072f2 updated header style; calls to form_base_checkbox()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@450 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-31 06:56:22 +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 2980ad8aea redirect to the appropriate place upon save
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@409 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-20 06:32:29 +00:00
Ian Berry 74a0e35762 updated delete template action, so it actually works
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@371 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-13 05:34:19 +00:00
Ian Berry 8bd6b763ec added multi-select for ds->rra selection
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@358 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-10 08:34:30 +00:00
Ian Berry 2f18759ced fixed problems pulling from 'data_template_data' table
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@342 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-07 08:27:40 +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 6c700d5df3 only display custom data box !new save
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@326 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-25 07:29:24 +00:00
Ian Berry c23b74e4c7 custom data should really be part of data templates and not host templates... global warming?
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@324 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-12-25 07:25:39 +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 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 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 83799af63e insert call to push_out_data_source() and push_out_data_source_item() functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@272 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-07 07:53:34 +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 b61dcb9b29 added 't_name' column to 'data_template_data' table so users can choose whether to template the data source name or not
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@234 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-23 04:13:31 +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
Ian Berry ae743d0100 add 't_data_source_name' column to 'data_template_rrd' table
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@227 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-21 03:45:29 +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