/[corp_html]/back/news/global.php
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /back/news/global.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (hide annotations)
Wed Feb 28 14:16:35 2001 UTC (23 years, 3 months ago) by dpavlin
Branch: MAIN
Changes since 1.6: +1 -1 lines
misc

1 dpavlin 1.1 <?
2     $phormationdir = "../phormation";
3     $DB = "pgsql";
4    
5     $comm_dir="/home/dpavlin/private/corp/public_html/comm";
6     $more_dir="/home/dpavlin/private/corp/public_html/news";
7     $pdf_dir="/home/dpavlin/private/corp/public_html/pdf";
8    
9    
10     $fields[] = "visible"; $names[] = "Visible";
11     $types[]="type=boolean&default=1";
12    
13    
14     $fields[] = "title"; $names[] = "Title";
15     $types[]="type=text&width=50&height=2&length=200&required=1";
16    
17     $fields[] = "town_date"; $names[] = "Town, Date";
18     $types[]="type=text&width=50&length=100&required=1";
19    
20     $fields[] = "date"; $names[] = "Date (real)";
21     $types[]="type=date&yearspan=8";
22    
23 dpavlin 1.6 $fields[] = "priority"; $names[] = "Priority";
24     $types[]="type=text&length=2&default=0";
25    
26 dpavlin 1.1 $fields[] = "type"; $names[] = "Type";
27 dpavlin 1.7 $types[]="type=select&map[n]=News&map[c]=Community&map[e]=Events&map[r]=Results&map[i]=Investors&selecttype=dropdown";
28 dpavlin 1.1
29     $fields[] = "body"; $names[] = "Short text";
30     $types[]="type=text&height=10&width=50&length=5000&required=1";
31    
32 dpavlin 1.5 $fields[] = "pic"; $names[] = "Picture";
33     $types[]="type=file&delete_hook=my_delete_comm&targetdir=$comm_dir&showfilename=1&imagemode=1&serverdir=comm";
34 dpavlin 1.1
35 dpavlin 1.5 $fields[] = "more"; $names[] = "HTML file:";
36 dpavlin 1.3 $types[]="type=file&delete_hook=my_delete_more&targetdir=$more_dir&showfilename=1";
37 dpavlin 1.1
38 dpavlin 1.4 $fields[] = "pdf"; $names[] = "PDF file:";
39 dpavlin 1.3 $types[]="type=file&delete_hook=my_delete_comm&targetdir=$pdf_dir&showfilename=1";
40 dpavlin 1.1 ?>

  ViewVC Help
Powered by ViewVC 1.1.26