Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
contact: implement honeypot instead of visible robot field
[wfpl-cms.git]
/
admin_pages.php
diff --git
a/admin_pages.php
b/admin_pages.php
index
910acef
..
ae0fa33
100644
(file)
--- a/
admin_pages.php
+++ b/
admin_pages.php
@@
-173,6
+173,10
@@
function admin_pages_main_form($id = false, $history_id = false) {
return './admin_pages';
}
$id = $history_data['id'];
return './admin_pages';
}
$id = $history_data['id'];
+ } elseif ($id) {
+ if (db_count('history_cms_pages', 'where id=%i', $id) > 1) {
+ tem_set('archived_versions');
+ }
}
if($id) {
tem_set('id', $id);
}
if($id) {
tem_set('id', $id);