Commit Graph
68 Commits
Author SHA1 Message Date
Ian Berry 7baa4e67fd make sure form fields that accept text-based values, pass values through htmlspecialchars() first
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1397 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-26 04:48:39 +00:00
Ian Berry 6e9a536fe0 applying jeff vier's typo patch
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1391 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-19 01:28:56 +00:00
Ian Berry c49c4a7a21 add 'form_id' parameter so you can have an empty textbox value with a default value
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1347 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-07 01:04:22 +00:00
Ian Berry 3bb062a03c phased out form_base_text_box(); cleaned up some form functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1324 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-11-06 01:50:15 +00:00
Ian Berry abdce29156 start playing with menu layouts that is more intuitive for users
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1254 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-10-09 07:14:30 +00:00
Ian Berry 9390489adb move graph items list drawing code to draw_graph_items_list()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1237 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-24 01:28:25 +00:00
Ian Berry 60271c58db added inject_form_variables() so all edit form data could be moved out of each file
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1232 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-23 03:17:52 +00:00
Ian Berry 39866609d3 unified all edit form code; updated references to the new 'lib/' directory
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1228 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-22 04:31:58 +00:00
Ian Berry c62da03d5d added form id to checkbox for js stuff
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1217 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-09-16 03:12:45 +00:00
Ian Berry 56231a067f get rid of serialize/unserialize where not needed
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1177 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-24 06:48:23 +00:00
Ian Berry 42f42c84e2 added an action for 'drop_multi_rra' in draw_templated_item() and draw_nontemplated_item()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1162 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-19 06:40:55 +00:00
Ian Berry 8e663ef651 move draw_menu() to form.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1137 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-16 20:53:35 +00:00
Ian Berry 2249f084f5 abstracted tree permissions code, created draw_navigation_text() function with BIG array
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1130 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-08-15 01:15:50 +00:00
Ian Berry c48e756c89 added graph,host,and graph template permissions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1117 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-07-28 22:02:31 +00:00
Ian Berry e11cef97bb create -> save button on settings form (bug#48)
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1011 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-31 19:48:02 +00:00
Ian Berry 4d2060bcae added graph/data source title cache
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@983 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-28 21:22:48 +00:00
Ian Berry 503efbf95f add htmlspecialchars() to text box output
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@981 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-28 19:13:22 +00:00
Ian Berry 7320f47cd5 added on-the-fly data query variable subsitution
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@972 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-27 06:20:23 +00:00
Ian Berry 711a984c9a check if the selected graph tree has been deleted before setting it
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@947 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-21 03:02:13 +00:00
Ian Berry 9d1808863a changes to enable cacti to work under 'open_basedir'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@914 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-05-13 01:07:01 +00:00
Ian Berry d759518e34 problem with no host subsitution on drop downs
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@894 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-29 00:47:54 +00:00
Ian Berry 68f9f9da49 use create button for a new form
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@888 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-25 14:08:26 +00:00
Ian Berry 953b18f870 don't both making host var subsitutions for dropdowns, null them out
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@836 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-04-14 00:40:35 +00:00
Ian Berry 31bb425cc2 removed two extraneous prints
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@772 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-24 04:28:07 +00:00
Ian Berry 836329a0d2 don't print the graph tree dropdown table if there <2 trees
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@754 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-23 18:57:36 +00:00
Ian Berry 6d63398721 fix an open_short_tag bug
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@644 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-08 19:16:59 +00:00
Ian Berry 971d6913cc added some maximum length checking so lines do not get too long
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@618 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-02 23:59:54 +00:00
Ian Berry 34757ffb31 old table reference
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@610 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-03-02 17:20:19 +00:00
Ian Berry 72d34b3b7f played with checkbox styles/cross browser issues a bit
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@560 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-20 09:18:36 +00:00
Ian Berry c8003115dc added a form_post_confirm_buttons() function for use on the data sources delete page, made form_base_password_box() into a more generic form_base_text_box()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@553 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-18 18:19:39 +00:00
Ian Berry 23c39b6946 added support for the 'check_id' in the array
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@519 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-16 06:59:42 +00:00
Andy Blyler 8b967439a5 Moved create_list from functions.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@485 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-10 03:33:39 +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 18769a2456 added session-based error detection stuff
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@478 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-06 06:12:23 +00:00
Ian Berry 99bc08591b added draw_tree_dropdown() function from the code in top_graph_header.php
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@469 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-02-04 06:50:58 +00:00
Ian Berry 5a536dcbb2 re-added the 'trailing_br' to the form_base_checkbox() and form_base_radio_button() functions
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@454 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-31 06:58:12 +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 c6dce54b31 added 'drop_array' type to the view templated item function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@441 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-28 06:42:58 +00:00
Ian Berry bdc09a42c0 updated references to create_list()
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@415 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-20 06:35:32 +00:00
Ian Berry 6995f17488 missing break; was causing rendering problems for type 'radio'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@396 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-18 17:53:16 +00:00
Ian Berry b91a1095f8 def_colors table is now 'colors'
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@354 860744bd-22fc-0310-8c96-e9fe5004b5ca
2003-01-09 08:54:45 +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 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 962dc9da75 update DrawFormItemTextBox() for the new messenging functions, updated DrawFormItemMultipleList() function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@285 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-11-14 05:37: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
Ian Berry 11e86a41a4 added start_page_box() function which has more args. should merge start_box() sometime though
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@215 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-10-20 22:59:03 +00:00
Ian Berry 616fddf96a deletion confirmation dialog headers should be bold
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@184 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-08-07 04:33:26 +00:00
Ian Berry 17cf4ad52d got rid of new_table() and replaced it with start_box() and end_box(), which are much easier to follow code-wise
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@149 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-07-10 00:32:27 +00:00
Ian Berry e8523bd30b added a 'cancel_action' argument to the delete confirm form; uodated files that use this function
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@146 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-25 21:42:08 +00:00
Ian Berry 099385e979 moved ending form tag out of save button function, put it statically in each form
git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@144 860744bd-22fc-0310-8c96-e9fe5004b5ca
2002-06-25 00:25:00 +00:00