[services-cvs] CVS services/etc/misc

CVS User miham root at tempel.bibl.u-szeged.hu
2004. Nov. 20., Szo, 17:35:55 CET


Update of /var/lib/cvs/services/etc/misc
In directory tempel:/tmp/cvs-serv32329/services/etc/misc

Modified Files:
	hihi.php 
Log Message:
Na, olv vlan (rs subdomain) felirt gepei..


--- /var/lib/cvs/services/etc/misc/hihi.php	2004/11/20 10:00:16	1.3
+++ /var/lib/cvs/services/etc/misc/hihi.php	2004/11/20 16:35:54	1.4
@@ -1,22 +1,22 @@
 #!/usr/bin/php4 -q
 <?
 $data1 = @file('geplista.m4');
-$data2 = @file('adm_geplista.txt');
+$data2 = @file('fsz_geplista.txt');
 
 function getSubDomain($vlanname) {
     $Subdomains = array('OLV'  => "rs",    # Readers' Services
-                        'TAJ'  => "info",  # Information
+                        'TÁJ'  => "ref",   # Reference
                         'SZAK' => "szak",  # ???
                         'FEL'  => "proc",  # Processing
-                        'ET'   => "igla",  # Induvidual & Grouped Learning Areas
+                        'ET'   => "igla",  # Individual & Grouped Learning Areas
                         'KAB'  => "cab",   # Cabinet
                         'BESZ' => "acq",   # Acquisition
-                        'KOL'  => "loan",  # Loan
+                        'KÖL'  => "loan",  # Loan
                         'IGA'  => "adm",   # Administration
                         'RAK'  => "dep",   # Depot
                         'GUE'  => "guest", # Guest
                         'MUL'  => "mul",   # Multifunctional Rooms
-                        'KUL'  => "scoll", # Special Collections
+                        'KÜL'  => "coll",  # (Special) Collections
                         'OT'   => "rr",    # Readers' Room
                         'OP'   => "rri",   # Readers' Room in Intranet
                         'TEC'  => "tec",   # Technical
@@ -45,6 +45,8 @@
 
 $gepstruct = array();
 foreach ($data2 as $actline) {
+    if ($actline[0] == '#')
+        continue;
     $actgep = explode("\t", rtrim($actline));
     $actstruct = array();
     $actstruct["room"] = array_shift($actgep);





További információk a(z) Services-cvs levelezőlistáról