⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config.inc.php

📁 开源MARC数据处理
💻 PHP
📖 第 1 页 / 共 2 页
字号:
* I hope you would always approve my enquiry. Just thinking!. **/ $cut_off[1] = 5;/* * Department Configuration* Very long isn't it. * Just observe the pattern.* I'm just thinkin that you feel tired reading too much * instruction. Use your logic now. . . * Hint! This is used by your users. Their college department etc.*/ $dept_type[1][1] = 'Institute of Library and Informatin Science';$dept_type[1][2] = 'ILIS';$dept_type[1][3] = '3/F Main Library Diliman Q.C.';$dept_type[1][4] = '0639215203';$dept_type[2][1] = 'College of Engineering';$dept_type[2][2] = 'COE';$dept_type[2][3] = '3/F Eng Diliman Q.C.';$dept_type[2][4] = '0639215203';/* * Library Location. Meaning Libraries with which user will borrow* his/her book. The Location of that library.* When you add accession number the program gives you some the* default value which is 1, change it if you want. */$library_type[1][1] = 'College of Social Work and Development Lbrary';$library_type[1][2] = 'CSWCD';$library_type[1][3] = '1/F Some Hall, Atplace St.';$library_type[1][4] = '0329876543';$library_type[2][1] = 'Library of Congress';$library_type[2][2] = 'LC';$library_type[2][3] = 'Library of Congress USA';$library_type[2][4] = '123456789';/** This will appear into your left window, you can put* anything here provided that you know the pattern.* Nuke users called this as blocks. Block has a title and content. * Be sure to include the title and content of your block.* In our case the block title is can be encode at this* paremeter, the  $library_info[1][1] is the block title.* The $library_info[1][2] is the content. * You can use this repitively. Like here you have Library Hours* and Contact. *//** Note: You can iterate this array. For instance you like to add new blocks* titled Related Links and with a content of your link to library homepage* like http://www.librarymainsite.com. You  only have to copy-paste the array and* add n + 1, $library_info[n][1]* The purpose of this is to allow you to put some contents or links in the blocks.* Example:* $library_info[3][1] = 'Related Links';* $library_info[3][2] = '<a href="http://phpmylibrary.sourceforge.net">PhpMyLibrary</a><br>';* $library_info[3][2] .= '<a href="http://www.ourlibrary.whatever.com">Our Library</a><br>';*/$library_info[1][1] = 'Library Hours';$library_info[1][2] = 'Monday to Friday<br>8:00 AM to 5:00 PM';$library_info[2][1] = 'Contact';$library_info[2][2] = 'SB Library<br>Quezon City. Phils.<br>Tel no. 1234567890';$library_info[3][1] = 'Related Links';$library_info[3][2]  = '<strong><big>&middot;&nbsp;</big></strong><a href="?my_content=1&fcontent=aboutus.html">About Us</a><br>';$library_info[3][2] .= '<strong><big>&middot;&nbsp;</big></strong><a href="?my_content=1&fcontent=announcement.html">Announcement</a><br>';$library_info[3][2] .= '<strong><big>&middot;&nbsp;</big></strong><a href="http://www.ourlibrary.whatever.com">Our Library</a><br>';$library_info[3][2] .= '<strong><big>&middot;&nbsp;</big></strong><a href="?my_content=1&fcontent=documentation.txt">PhpMyLibrary</a><br>';/** Now you can add information about your library.* An article or news or perhaps an announcement.* This will appear at the center, not as blocks.* This is helpful if you want to make some announcement of article*The Process:All the files that will be included is located at PhpMyLibrary/polerio/contents/ directory.Currently, you can find there announcement.html and aboutus.htmlnow to make it available you should make a link like thisinto your blocks.The files should be save in PhpMyLibrary/polerio/contents/Please go in to this directory to open/edit your files.$library_info[3][2]  = '<strong><big>&middot;&nbsp;</big></strong><a href="?my_content=1&fcontent=aboutus.html">About Us</a><br>';**//** Please put your Library name and Slogan here!* Your address is also fine.* */$library_name[1] = 'Smart Builder - e-Library Software';$library_name[2] = 'Serbisyong Bayan';/** WebSite Footer. Change this if you want to put some values on* you footer.* If your are insecure about the 'Copyleft 2002 Polerio Babao GNU/GPL License' note* Be free to delete it but I could be very thankful if you could give credit to this* software on some of your web content. For example, on your Library homepage a note* stating the actual implementation of PhpMyLibrary can trigger much of my initiative* to enhance this software, or perhaps just a simple word 'PhpMyLibrary' is ok. Thanks*/$site_footer[1] = "<b>".$library_name[1]."</b><br>".$library_name[2]."<br><small>Copyleft 2002 PhpMyLibrary GNU/GPL License</small>";/** This is for your themes ( This is the theme name and its type, postnuke or phpnuke* The themename should the same with the directory name where your theme is located.* ie. a) http://localhost/PhpMyLibrary/themes/PostNuke* ie. a) http://localhost/PhpMyLibrary/themes/PostNukeBlue* $themeconfig[1][1] = "PostNuke"; This is the theme name* $themeconfig[1][2] = "PostNuke"; This is the theme type* Theme type is important because you can use the postnuke or* phpnuke theme. Just copy-paste it in your c:/htdocs/PhpMyLibrary/themes directory* You can also use the sample theme here because I included this into your download.* Just use it one by one to see theme examples.* Great credit should be given to PHP/Post Nuke system for Theming System concept* http://www.postnuke.com http://www.phpnuke.org* Some Example:* a)* $themeconfig[1][1] = "PostNukeBlue";* $themeconfig[1][2] = "PostNuke"; ** b)* $themeconfig[1][1] = "PostNuke";* $themeconfig[1][2] = "PostNuke"; ** c)* $themeconfig[1][1] = "NukeNews";* $themeconfig[1][2] = "PhpNuke"; ** d) Available PostNuke theme you can use.*  SeaBreeze, PostNukeSilver* e) Available PhpNuke theme you can use* Kaput, 3D-Fantasy, SlashOcean, Slash, Odyssey **///$themeconfig[1][1] = "PostNukeBlue";//$themeconfig[1][2] = "PostNuke"; /* Note: this is just a sample theme I created for * Ateneo de Zamboanga University to test the advantages * themes. more themes can be found at PhpMyLibrary/themes/ directory* the other nice theme was mblocTec. you can use this for your library.* If you would like to use the Ateneo theme, you should first nmodify * its images and give credit to * GennerR. Cerna* Web Developer, Computer Center* Ateneo de Zamboanga University adzu.edu.ph* who had suggested this kind of idea.* Change the Ateneo to mblocTec to see other theme layout.* Try the Ateneo block. just simply replace  mblocTec with Ateneo to see it.*/$themeconfig[1][1] = "PostNukeBlue";$themeconfig[1][2] = "PostNuke"; /* October 22, 2002* Picture storage. This should not be accesible to your website.* It should only be the program which will hace read/write access to it.* This will allow your users identity to be secured.* This concept came from the suggestion of my adviser Prof. Ma. Divina Pascua Cruz* Professor at Institute of Library Information Science http://www.ils.upd.edu.ph* If you are using linux then encode below the appropriate directory for your storage* you must CHMOD 666 the directory you made so that is writeable.* i.e. you have /var/www/html then you can make your directory perhaps* at /var/www/picture_dir , don't put your dir inside the /var/www/html * because I only have to browse your http://yoursite.com/picture_dir/* then I will the listing of your user pictures.* i.e $picture_dir = "C:/WINNT/Temp";** This is just a security measures. If you do not want* complicated tasks then perhaps you will just retain * its default values. This is not a problem because* you're the only one who has access on uploading pictures.* Anyway, it should be GIF or JPG or PNG file with less than 10 KB* in size suitable for ID's only.* Note: 1. No slashes on the last.*		2. It should always be forward slash. Linux/Windows* Oct 28, 2002* I found out that this is secure because the program allows only the* gif/png/jpg files. Other than that will be ignored. Also the* when hackers go to PhpMyLibrary/picture_dir they will get nothing but* a blank page because we have index.html inside it. In addition the files* is not save as filename.extension but as random numbers without extension* thus no one can execute it from the server because it does not have any extension* like .php .pl .html etc. thus it is safe.**/$picture_dir = "C:/htdocs/postnuke/modules/PhpMyLibrary/picture_dir";/* October 22, 2002* Library user type.* As suggested by Adalid Ortiz delegating admin tasks * is very helpful.* With this you can now assign who should be the overall* admin which is group id = 2* Cataloger GID = 3* Added the use group abbreviation. NU stands for Normal User and so on.**/$library_user_type[1][1] = "Normal User";$library_user_type[1][2] = "User privilege, reserve/borrow/return. Just a loyal borrower";$library_user_type[1][3] = "NU";$library_user_type[2][1] = "Overall Admin";$library_user_type[2][2] = "Overall Admin, Can manage all";$library_user_type[2][3] = "OA";$library_user_type[3][1] = "Circulation";$library_user_type[3][2] = "Can only manage the transaction, user/ material add/edit/delete checkin/checkout";$library_user_type[3][3] = "CI";$library_user_type[4][1] = "Cataloger";$library_user_type[4][2] = "Can only manage the Cataloging, It includes importing of MARC/ISIS data";$library_user_type[4][3] = "CA";/* This is used from User Administration wherein you can specify here*  number of rows per page. This is use for previous/next page.*/$num_of_rows_per_page_in_user_listing = 10;/* Oct 22, 2002* This is just a note that in this release PhpMyLibrary-2.0.1 transaction will be done* with the use of patronid. This will allow the easy backup/restore functionality.* This is advantageous for backup purpose. Because, when your system crashes, you will* only have to export your phpmylibrary sql data. Then restore it onto another PC* Hope you get the idea. I am planning this to be applicable for all the tables* like _tblbib, _users. . . *//** Display undefined MARC tags. This appears in your detailed bibliographic view.* If 1 the undefined MARC tags will appear with a note $display_undefined[2]* Set to 0 to hide undefined MARC tags. To edit MARC definition * Open the the file PhpMyLibrary/polerio/lang/en/MARC.php*/$display_undefined[1] = 0;$display_undefined[2] = 'Not yet defined';?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -