Skip to content

Commit

Permalink
added legal text from the site the images came from. moved image setu…
Browse files Browse the repository at this point in the history
…p to app/config
  • Loading branch information
dogmatic69 committed Jan 2, 2010
1 parent 424ed0e commit 7a80b0d
Show file tree
Hide file tree
Showing 5 changed files with 233 additions and 176 deletions.
1 change: 1 addition & 0 deletions app_controller.php
Expand Up @@ -51,6 +51,7 @@ class AppController extends Controller
function beforeFilter()
{
parent::beforeFilter();
var_dump( Configure::load( 'images' ) );

$this->Session->write( 'Auth', ClassRegistry::init( 'Core.User' )->find( 'first', array( 'conditions' => array( 'User.id' => 2 ) ) ) );

Expand Down
171 changes: 171 additions & 0 deletions config/images.php
@@ -0,0 +1,171 @@
<?php
$config['Site']['Images']['path'] = 'core/icons/';
$config['Site']['Images']['images'] = array(
'acitons' => array(
'accept' => 'accept.png',
'add' => 'add.png',
'addCategory' => 'addCategory.png',
'addItem' => '',
'arrow-down' => 'arrow-down.png',
'arrow-left' => 'arrow-left.png',
'arrow-right' => 'arrow-right.png',
'arrow-up' => 'arrow-up.png',
'cancle' => 'cancle.png',
'copy' => 'copy.png',
'date' => 'date.png',
'delete' => 'delete.png',
'download' => 'download.png',
'edit' => 'edit.png',
'favourite' => 'favourite.png',
'featured' => 'featured.png',
'locked' => 'locked.png',
'move' => 'move.png',
'order-asc' => 'order-asc.png',
'order-desc' => 'order-desc.png',
'preview' => 'preview.png',
'print' => 'print.png',
'reload' => 'reload.png',
'remove' => 'remove.png',
'save' => 'save.png',
'search' => 'search.png',
'send' => 'send.png',
'sinc' => 'sinc.png',
'stats' => 'stats.png',
'toggle' => 'toggle.png',
'trash' => 'trash.png',
'unlocked' => 'unlocked.png',
'unzip' => 'unzip.png',
'update' => 'update.png',
'upload' => 'upload.png',
'view' => 'view.png',
'zip' => 'zip.png',
'zoom-in' => 'zoom-in.png',
'zoom-out' => 'zoom-out.png'
),

'applications' => array(
'ai' => '',
'doc' => '',
'docx' => 'docx.png',
'dwt' => 'dwt.png',
'eps' => '',
'mirc' => 'mirc.png',
'ods' => 'ooMaths.png',
'odt' => 'ooWord.png',
'pdf' => 'pdf.png',
'ppt' => '',
'pptx' => 'ppt.png',
'ps' => '',
'psd' => 'psd.png',
'rtf' => '',
'txt' => 'txt.png',
'xls' => '',
'xlsx' => 'xlsx.png'
),

'archives' => array(
'7z' => '7z.png',
'cab' => '',
'exe' => 'exe.png',
'msi' => '',
'rar' => 'win-rar.png',
'zip' => '',
),

'folders' => array(
'config' => 'config.png',
'documents' => 'documents.png',
'empty' => 'empty.png',
'images' => 'images.png',
'mixed' => 'mixed.png',
'music' => 'music.png',
'sys-linux' => 'systemLinux.png',
'sys-win' => 'systemWin.png',
'video' => 'video.png',
'web' => 'web.png'
),

'images' => array(
'bmp' => 'bmp.png',
'gif' => '',
'ico' => '',
'jpe' => 'jpg.png',
'jpeg' => 'jpg.png',
'jpg' => 'jpg.png',
'png' => 'png.png',
'svg' => '',
'svgz' => '',
'tif' => '',
'tiff' => ''
),

'multiMedia' => array(
'3gp' => '',
'mov' => '',
'mp2' => '',
'mp3' => '',
'mp4' => 'mp4.png',
'oog' => '',
'ra' => 'rm.png',
'ram' => 'rm.png',
'rm' => 'rm.png',
'rmi' => 'rm.png',
'qt' => 'qt.png',
'vlc' => 'vlc.png',
'mwa' => 'wma.png'
),

'notifications' => array(
'forbidden' => 'forbidden.png',
'help' => 'help.png',
'info' => 'info.png',
'message' => 'message.png',
'status' => 'status.png',
'stop' => 'stop.png',
'warning' => 'warning.png'
),

'social' => array(
'badoo' => '',
'gmail' => '',
'google' => '',
'facebook' => '',
'icq' => 'icq.png',
'last-fm' => 'last-fm.png',
'msn' => 'msn.png',
'picasa' => 'picasa.png',
'rss' => 'rss.png',
'skype' => 'skype.png',
'twitter' => '',
'yahoo' => 'yahoo-messanger.png'
),

'weather' => array(
'clear' => 'clear.png',
'clear-night' => 'clear-night.png',
'cloudy' => 'cloudy.png',
'fog' => 'fog.png',
'partly-coudy' => 'partly-coudy.png',
'partly-cloudy-night' => 'partly-cloudy-night.png',
'showers' => 'showers.png',
'snow' => 'snow.png',
'storm' => 'storm.png'
),

'web' => array(
'css' => '',
'flv' => 'flv.png',
'htm' => 'html.png',
'html' => 'html.png',
'js' => '',
'json' => '',
'php' => '',
'php3' => '',
'php4' => '',
'php5' => '',
'php6' => '',
'swf' => 'flv.png',
'xml' => 'xml.png'
)
);
?>
174 changes: 0 additions & 174 deletions plugins/management/config/setup.php

This file was deleted.

0 comments on commit 7a80b0d

Please sign in to comment.