From: Don S. <ri...@us...> - 2004-09-10 02:00:55
|
Update of /cvsroot/phpwsbb/phpwsbb/imglib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10827 Modified Files: ImgLibrary.php ImgLibrary_view_gallery.tpl ImgLibrary_view_row.tpl Log Message: dos2unix'ed to remove CRLF Index: ImgLibrary.php =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/imglib/ImgLibrary.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImgLibrary.php 13 Aug 2004 21:32:38 -0000 1.1 --- ImgLibrary.php 10 Sep 2004 02:00:45 -0000 1.2 *************** *** 1,754 **** ! <?php ! ! // Must require classes being used in this class ! require_once(PHPWS_SOURCE_DIR.'core/Form.php'); ! require_once(PHPWS_SOURCE_DIR.'core/File.php'); ! require_once(PHPWS_SOURCE_DIR.'core/Pager.php'); ! require_once(PHPWS_SOURCE_DIR.'core/WizardBag.php'); ! require_once(PHPWS_SOURCE_DIR.'core/Template.php'); ! require_once(PHPWS_SOURCE_DIR.'core/Error.php'); ! [...1481 lines suppressed...] ! } ! if(!is_dir($the_path)) ! return false; ! else ! /* If the settings file & general gallery are successfully created.. */ ! if ($this->_created = $this->update_settings('.General Images')) { ! /* Copy any extraneous files that may be in the base directory to the general gallery */ ! if ($filelist = PHPWS_File::readDirectory($this->_library_path,false,true)) { ! foreach($filelist as $f) { ! if ($f != 'config.php' ! && PHPWS_File::fileCopy($this->_library_path.$f, $this->_library_path.$this->_created.'/', $f, true, true)) ! @unlink($this->_library_path.$f); ! } ! } ! return true; ! } ! }// END FUNC post_class_vars() ! }//END CLASS: PHPWS_IMGLib ?> \ No newline at end of file Index: ImgLibrary_view_gallery.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/imglib/ImgLibrary_view_gallery.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImgLibrary_view_gallery.tpl 13 Aug 2004 21:32:38 -0000 1.1 --- ImgLibrary_view_gallery.tpl 10 Sep 2004 02:00:45 -0000 1.2 *************** *** 1,54 **** ! {GALL_CHOOSE_DLG} ! <br /> ! {GALL_EXIT_LNK} ! <br /> ! <div align="center" class="bg_medium"> ! <b>{IMAGE_SELECT_LBL}</b> ! </div> ! <hr /> ! <form name="IMGLib_choose_dlg" action="index.php" method="post" enctype="multipart/form-data"> ! {IMAGE_SELECT_LST} ! <div style="clear:both"><br /> ! <hr /> ! <span class="smalltext" style="float:right" align="center"> ! {PAGE_BACKWARD_LINK} {SECTION_LINKS} {PAGE_FORWARD_LINK}<br /> ! {SECTION_INFO}<br /> ! {LIMIT_LINKS_LABEL}: {LIMIT_LINKS}<br /><br /> ! </span> ! {IMAGE_SELECT_DLG} ! <div class="smalltext" style="clear:both"><hr /></div> ! </div> ! </form> ! <br /> ! <br /> ! {GALL_EXIT_LNK} ! <!-- BEGIN IMAGES --> ! <div align="center" class="bg_medium"> ! <b>{IMAGE_MGMT_TITLE}</b> ! </div> ! <br /> ! {IMAGE_UPLOAD_LBL} ! <br /> ! {IMAGE_UPLOAD_DLG} ! <br /> ! <br /> ! {GALL_EXIT_LNK} ! <!-- END IMAGES --> ! <!-- BEGIN GALLERY --> ! <div align="center" class="bg_medium"> ! <b>{GALL_MGMT_TITLE}</b> ! </div> ! <br /> ! {GALL_CREATE_LBL} ! <br /> ! {GALL_CREATE_DLG} ! <br /><br /> ! {GALL_RENAME_DLG} ! <br /><br /> ! {GALL_DELETE_LBL} ! <br /> ! {GALL_DELETE_DLG} ! <br /> ! <br /> ! {GALL_EXIT_LNK} ! <!-- END GALLERY --> --- 1,54 ---- ! {GALL_CHOOSE_DLG} ! <br /> ! {GALL_EXIT_LNK} ! <br /> ! <div align="center" class="bg_medium"> ! <b>{IMAGE_SELECT_LBL}</b> ! </div> ! <hr /> ! <form name="IMGLib_choose_dlg" action="index.php" method="post" enctype="multipart/form-data"> ! {IMAGE_SELECT_LST} ! <div style="clear:both"><br /> ! <hr /> ! <span class="smalltext" style="float:right" align="center"> ! {PAGE_BACKWARD_LINK} {SECTION_LINKS} {PAGE_FORWARD_LINK}<br /> ! {SECTION_INFO}<br /> ! {LIMIT_LINKS_LABEL}: {LIMIT_LINKS}<br /><br /> ! </span> ! {IMAGE_SELECT_DLG} ! <div class="smalltext" style="clear:both"><hr /></div> ! </div> ! </form> ! <br /> ! <br /> ! {GALL_EXIT_LNK} ! <!-- BEGIN IMAGES --> ! <div align="center" class="bg_medium"> ! <b>{IMAGE_MGMT_TITLE}</b> ! </div> ! <br /> ! {IMAGE_UPLOAD_LBL} ! <br /> ! {IMAGE_UPLOAD_DLG} ! <br /> ! <br /> ! {GALL_EXIT_LNK} ! <!-- END IMAGES --> ! <!-- BEGIN GALLERY --> ! <div align="center" class="bg_medium"> ! <b>{GALL_MGMT_TITLE}</b> ! </div> ! <br /> ! {GALL_CREATE_LBL} ! <br /> ! {GALL_CREATE_DLG} ! <br /><br /> ! {GALL_RENAME_DLG} ! <br /><br /> ! {GALL_DELETE_LBL} ! <br /> ! {GALL_DELETE_DLG} ! <br /> ! <br /> ! {GALL_EXIT_LNK} ! <!-- END GALLERY --> Index: ImgLibrary_view_row.tpl =================================================================== RCS file: /cvsroot/phpwsbb/phpwsbb/imglib/ImgLibrary_view_row.tpl,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ImgLibrary_view_row.tpl 13 Aug 2004 21:32:38 -0000 1.1 --- ImgLibrary_view_row.tpl 10 Sep 2004 02:00:45 -0000 1.2 *************** *** 1,6 **** ! <div{BG} style="float:left; height:{HEIGHT}px; width:{WIDTH}px; " align="center"> ! <br /> ! {IMAGE} ! <br /> ! {IMAGE_NAME} </div> \ No newline at end of file --- 1,6 ---- ! <div{BG} style="float:left; height:{HEIGHT}px; width:{WIDTH}px; " align="center"> ! <br /> ! {IMAGE} ! <br /> ! {IMAGE_NAME} </div> \ No newline at end of file |