[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gforge-commits] gforge/www/include html.php,1.30,1.31
From: |
tperdue |
Subject: |
[Gforge-commits] gforge/www/include html.php,1.30,1.31 |
Date: |
Thu, 25 Mar 2004 17:29:57 -0600 |
Update of /cvsroot/gforge/gforge/www/include
In directory db.perdue.net:/home/tperdue/share/dev.gforge.org/www/include
Modified Files:
html.php
Log Message:
removing theme_prefs table and optimizing away two extra queries...
Index: html.php
===================================================================
RCS file: /cvsroot/gforge/gforge/www/include/html.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- html.php 25 Mar 2004 19:14:10 -0000 1.30
+++ html.php 25 Mar 2004 23:29:55 -0000 1.31
@@ -142,6 +142,18 @@
}
/**
+ * html_get_theme_popup() - Pop up box of supported themes.
+ *
+ * @param string The title of the popup box.
+ * @param string Which element of the box is to be selected.
+ * @return string The html select box.
+ */
+function html_get_theme_popup ($title='theme_id',$selected='xzxz') {
+ $res=db_query("SELECT theme_id, fullname FROM themes WHERE
enabled=true");
+ return html_build_select_box($res,$title,$selected,false);
+}
+
+/**
* html_get_ccode_popup() - Pop up box of supported country_codes.
*
* @param string The title of the popup box.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gforge-commits] gforge/www/include html.php,1.30,1.31,
tperdue <=