* doPopup() JavaScript call creates a centered popup div with user
    defined width, height, title, content, and calls an optional
    callback function
* Library with currently non-modifiable book list, and a popup with the
    books' details
Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			918 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			918 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
 | 
						|
namespace Application\Migrations;
 | 
						|
 | 
						|
use Doctrine\DBAL\Migrations\AbstractMigration,
 | 
						|
    Doctrine\DBAL\Schema\Schema;
 | 
						|
 | 
						|
/**
 | 
						|
 * Auto-generated Migration: Please modify to your need!
 | 
						|
 */
 | 
						|
class Version20120808111846 extends AbstractMigration
 | 
						|
{
 | 
						|
    public function up(Schema $schema)
 | 
						|
    {
 | 
						|
        // this up() migration is autogenerated, please modify it to your needs
 | 
						|
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
						|
        
 | 
						|
        $this->addSql("ALTER TABLE book_copies CHANGE owner_comment owner_comment LONGTEXT DEFAULT NULL");
 | 
						|
    }
 | 
						|
 | 
						|
    public function down(Schema $schema)
 | 
						|
    {
 | 
						|
        // this down() migration is autogenerated, please modify it to your needs
 | 
						|
        $this->abortIf($this->connection->getDatabasePlatform()->getName() != "mysql");
 | 
						|
        
 | 
						|
        $this->addSql("ALTER TABLE book_copies CHANGE owner_comment owner_comment LONGTEXT NOT NULL");
 | 
						|
    }
 | 
						|
}
 |