|
From: <be...@us...> - 2013-09-20 23:14:10
|
Revision: 12075
http://sourceforge.net/p/xoops/svn/12075
Author: beckmi
Date: 2013-09-20 23:14:07 +0000 (Fri, 20 Sep 2013)
Log Message:
-----------
xGarage old Beta 6
Modified Paths:
--------------
XoopsModules/xgarage/trunk/xgarage/index.php
XoopsModules/xgarage/trunk/xgarage/language/english/admin.php
XoopsModules/xgarage/trunk/xgarage/xoops_version.php
Added Paths:
-----------
XoopsModules/xgarage/trunk/xgarage/class/garage.php
Added: XoopsModules/xgarage/trunk/xgarage/class/garage.php
===================================================================
--- XoopsModules/xgarage/trunk/xgarage/class/garage.php (rev 0)
+++ XoopsModules/xgarage/trunk/xgarage/class/garage.php 2013-09-20 23:14:07 UTC (rev 12075)
@@ -0,0 +1,212 @@
+<?php
+/**
+ * Garage Management
+ * Doc Comments needed, once completed.
+ * @version Stage1
+ */
+include_once XOOPS_ROOT_PATH."/class/xoopsobject.php";
+
+/**
+ * Doc Comment Needed.
+ * this is the garage and everything stored in the garage.. the one car garage.
+ */
+class Garage extends XoopsObject
+{
+ var $db;
+ //not done. variable type is not set correctly
+ function Garage()
+ {
+//required and max length need to be set still
+ $this->db =& Database::getInstance();
+ $this->initVar('aa', XOBJ_DTYPE_INT, NULL); //approved
+ $this->initVar('uid', XOBJ_DTYPE_INT, NULL);//uid
+ $this->initVar('cid', XOBJ_DTYPE_INT, NULL);//cid
+ $this->initVar('name', XOBJ_DTYPE_TXTBOX);//name
+ $this->initVar('image', XOBJ_DTYPE_TXTBOX);//image
+ $this->initVar('uploadimage', XOBJ_DTYPE_TXTBOX, NULL);//uploadimage
+ $this->initVar('imagechoice', XOBJ_DTYPE_INT, NULL);//imagechoice
+ $this->initVar('url', XOBJ_DTYPE_INT, NULL);//url
+ $this->initVar('location', XOBJ_DTYPE_TXTBOX, NULL);//location
+ $this->initVar('year', XOBJ_DTYPE_TXTBOX, NULL);//year
+ $this->initVar('make', XOBJ_DTYPE_TXTBOX, NULL);//mark field?...make??? .05fixed
+ $this->initVar('model', XOBJ_DTYPE_TXTBOX, NULL);//model
+ $this->initVar('style', XOBJ_DTYPE_TXTBOX, NULL);//style??? mmissing??? .05fixed
+ $this->initVar('engine', XOBJ_DTYPE_TXTBOX, NULL);//engine
+ $this->initVar('color', XOBJ_DTYPE_TXTBOX, NULL);//color
+ $this->initVar('rt', XOBJ_DTYPE_TXTBOX, NULL);//rt
+ $this->initVar('sixty', XOBJ_DTYPE_TXTBOX, NULL);//sixty
+ $this->initVar('three', XOBJ_DTYPE_TXTBOX, NULL);//three
+ $this->initVar('eigth', XOBJ_DTYPE_TXTBOX, NULL);//eight???? misspelling?
+ $this->initVar('eigthm', XOBJ_DTYPE_TXTBOX, NULL);//misspelling again?
+ $this->initVar('thou', XOBJ_DTYPE_TXTBOX, NULL);//thou
+ $this->initVar('quart', XOBJ_DTYPE_TXTBOX, NULL);//quart
+ $this->initVar('quartm', XOBJ_DTYPE_TXTBOX, NULL);//quartm
+ $this->initVar('list', XOBJ_DTYPE_TXTBOX, NULL);//list
+ $this->initVar('mengine', XOBJ_DTYPE_TXTAREA, NULL);//mengine
+ $this->initVar('mexterior', XOBJ_DTYPE_TXTAREA, NULL);//meterier ?? mexterior .06fixed
+ $this->initVar('minterior',XOBJ_DTYPE_TXTAREA, NULL);//minterior
+ $this->initVar('mrims', XOBJ_DTYPE_TXTAREA, NULL);//mrims
+ $this->initVar('maudio', XOBJ_DTYPE_TXTAREA, NULL);//maudio
+ $this->initVar('mfuture', XOBJ_DTYPE_TXTAREA, NULL);//mfuture
+ $this->initVar('descript2', XOBJ_DTYPE_TXTAREA, NULL);//descript2
+ $this->initVar('linkgarage', XOBJ_DTYPE_INT, NULL);//linkgarage
+ }
+
+}
+
+//to be added.
+
+//xoops_getModuleHandler('garage','garage'); obj. dir
+class GarageGarageHandler extends XoopsObjectHandler
+{
+
+/**
+ * retrieves a garage
+ *
+ * @param int $gid GID of the garage
+ *
+ */
+ //done
+function &getGarage($uid)
+{
+ $garage = false;
+ if (intval($uid) > 0) {
+ //$sql = "SELECT id,approved,viewable,disabled,uid,cid,name,image,uploadimage,imagechoice,url,location,year,make,model,style,engine,color,rt,sixty,three,eigth,eigthm,thou,quart,quartm,list,mengine,mexterior,minterior,mrims,maudio,mfuture,descript2,linkgarage FROM " . $this->db->prefix('garage') . " WHERE id = '$gid'";
+ $sql = "SELECT * FROM " . $this->db->prefix('garage') . " WHERE id = '".$uid."'";
+ //next version . use criteria
+ if (!$result = $this->db->query($sql)) {
+ exit("$sql > SQL Error in function :: getGarage()");
+ //return $garage; //$garage which would be false
+ }
+
+ $numrows = $this->db->getRowsNum($result);
+ if ($numrows == 1) {
+ $garage = new garage();
+ $garage->assignVars($this->db->fetchArray($result));
+ }
+ }
+ return $garage;
+}
+
+//done
+function doesGarageExist($uid){
+
+ $sql = "SELECT id FROM " . $this->db->prefix("garage") . " WHERE uid = '$uid' LIMIT 1";
+ if ( !$result = $this->db->query($sql) ) {
+ exit("SQL Error in function :: doesGarageExist()");
+ }
+ $xgid = $this->db->fetchRow($result);
+ return $xgid;
+}
+
+//use criteria,
+//didnt change yet
+function &getRoster($cid){
+ $sql = "SELECT id,name FROM " . $this->db->prefix("garage") . " WHERE (approved=1 AND viewable=1 AND disabled=0) AND cid='$cid' ORDER BY name";
+ if ( !$result = $xoopsDB->query($sql) ) {
+ return;
+ //exit("SQL Error in function :: getRoster($cid)");
+ }
+ $names = array();
+ while ( $row = $xoopsDB->fetchArray($result) ) {
+ $names[] = $row;
+ }
+ return $names;
+}
+
+//didnt change yet
+function garage_FieldExists($fieldname,$table)
+{
+ global $xoopsDB;
+ $result=$xoopsDB->queryF("SHOW COLUMNS FROM $table LIKE '$fieldname'");
+ return($xoopsDB->getRowsNum($result) > 0);
+}
+//didnt change yet
+function garage_AddField($field, $table)
+{
+ global $xoopsDB;
+ $result=$xoopsDB->queryF('ALTER TABLE ' . $table . " ADD $field;");
+ return $result;
+}
+
+//done. we use creategarage and then we do setvar. then we insertGarage
+function creategarage($isNew = true){
+ $garage = new garage();
+ if ($isNew) {
+ $garage->setNew();
+ }
+ return $garage;
+ //use setvar to set it in page that calls this.
+}
+
+//done ish
+function insertGarage(&$garage){
+ if (strtolower(get_class($garage)) != 'garage') {
+ return false;
+ }
+ if (!$garage->isDirty()) {
+ return true;
+ }
+ if (!$garage->cleanVars()) { //clean the vars
+ return false;
+ }
+ foreach ($garage->cleanVars as $k => $v) {
+ ${$k} = $v;
+ }
+
+ //use $garage->isNew() to see if the user is a new one. so we can INSERT or just UPDATE
+ //note. i left the insert and the update garages as separate methods.
+ $sql = "INSERT INTO " . $this->db->prefix("garage") . " (approved,uid,cid,name,image,uploadimage,imagechoice,url,location,year,make,model,style,engine,color,rt,sixty,three,eigth,eigthm,thou,quart,quartm,list,mengine,mexterior,minterior,mrims,maudio,mfuture,descript2,linkgarage) VALUES ($aa,$uid,$cid,'$name','$image','$uploadimage','$imagechoice','$url','$location','$year','$make','$model','$style','$engine','$color','$rt','$sixty','$three','$eigth','$eigthm','$thou','$quart','$quartm','$list','$mengine','$mexterior','$minterior','$mrims','$maudio','$mfuture','$descript2','$linkgarage')";
+ if ( !$result = $$this->db->query($sql) ) {
+ exit("$sql > SQL Error in function :: addGarage($aa,$uid,$cid,$name,$image,$uploadimage,$imagechoice,$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list,$mengine,$mexterior,$minterior,$mrims,$maudio,$mfuture,$descript2,$linkgarage)");
+ } else {
+ return 1;
+ }
+
+ if (empty($uid)) {
+ $uid = $this->db->getInsertId();
+ }
+
+ $garage->assignVar('uid', $uid);
+ return true;
+}
+
+//or?,
+//didnt change yet
+function addGarage($aa,$uid,$cid,$name,$image,$uploadimage,$imagechoice,$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list,$mengine,$mexterior,$minterior,$mrims,$maudio,$mfuture,$descript2,$linkgarage){
+ global $xoopsDB;
+ $sql = "INSERT INTO " . $xoopsDB->prefix("garage") . " (approved,uid,cid,name,image,uploadimage,imagechoice,url,location,year,make,model,style,engine,color,rt,sixty,three,eigth,eigthm,thou,quart,quartm,list,mengine,mexterior,minterior,mrims,maudio,mfuture,descript2,linkgarage) VALUES ($aa,$uid,$cid,'$name','$image','$uploadimage','$imagechoice','$url','$location','$year','$make','$model','$style','$engine','$color','$rt','$sixty','$three','$eigth','$eigthm','$thou','$quart','$quartm','$list','$mengine','$mexterior','$minterior','$mrims','$maudio','$mfuture','$descript2','$linkgarage')";
+ if ( !$result = $xoopsDB->query($sql) ) {
+ exit("$sql > SQL Error in function :: addGarage($aa,$uid,$cid,$name,$image,$uploadimage,$imagechoice,$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list,$mengine,$mexterior,$minterior,$mrims,$maudio,$mfuture,$descript2,$linkgarage)");
+ } else {
+ return 1;
+ }
+}
+//adopt the way user.php does new and old users update.,
+//didnt change yet
+function updateGarage($gid,$uid,$cid,$viewable,$name,$image,$imagechoice="0",$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list,$mengine,$mexterior,$minterior,$mrims,$maudio,$mfuture,$descript2,$linkgarage){
+ global $xoopsDB;
+ $sql = "UPDATE " . $xoopsDB->prefix("garage") . " SET uid=$uid,cid=$cid,viewable=$viewable,name='$name',image='$image',imagechoice='$imagechoice',url='$url',location='$location',year='$year',make='$make',model='$model',style='$style',engine='$engine',color='$color',rt='$rt',sixty='$sixty',three='$three',eigth='$eigth',eigthm='$eigthm',thou='$thou',quart='$quart',quartm='$quartm',list='$list',mengine='$mengine',mexterior='$mexterior',minterior='$minterior',mrims='$mrims',maudio='$maudio',mfuture='$mfuture',descript2='$descript2',linkgarage='$linkgarage' WHERE id = $gid";
+ if ( !$result = $xoopsDB->query($sql) ) {
+ exit("$sql > SQL Error in function :: updateGarage($gid,$uid,$cid,$viewable,$name,$image,$imagechoice,$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list,$mengine,$mexterior,$minterior,$mrims,$maudio,$mfuture,$descript2,$linkgarage)");
+ } else {
+ return 1;
+ }
+}
+//didnt change yet
+function updateGaragePlusUpload($gid,$uid,$cid,$viewable,$name,$image,$uploadimage,$imagechoice="0",$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list,$mengine,$mexterior,$minterior,$mrims,$maudio,$mfuture,$descript2,$linkgarage){
+ global $xoopsDB;
+ $sql = "UPDATE " . $xoopsDB->prefix("garage") . " SET uid=$uid,cid=$cid,viewable=$viewable,name='$name',image='$image',uploadimage='$uploadimage',imagechoice='$imagechoice',url='$url',location='$location',year='$year',make='$make',model='$model',style='$style',engine='$engine',color='$color',rt='$rt',sixty='$sixty',three='$three',eigth='$eigth',eigthm='$eigthm',thou='$thou',quart='$quart',quartm='$quartm',list='$list',mengine='$mengine',mexterior='$mexterior',minterior='$minterior',mrims='$mrims',maudio='$maudio',mfuture='$mfuture',descript2='$descript2',linkgarage='$linkgarage' WHERE id = $gid";
+ if ( !$result = $xoopsDB->query($sql) ) {
+ exit("$sql > SQL Error in function :: updateGaragePlusUpload($gid,$cid,$viewable,$name,$image,$url,$location,$year,$make,$model,$style,$engine,$color,$rt,$sixty,$three,$eigth,$eigthm,$thou,$quart,$quartm,$list)");
+
+ } else {
+ return 1;
+ }
+}
+
+//Delete garage?
+
+}
+
+?>
\ No newline at end of file
Property changes on: XoopsModules/xgarage/trunk/xgarage/class/garage.php
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Author Date Id Rev URL
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: XoopsModules/xgarage/trunk/xgarage/index.php
===================================================================
--- XoopsModules/xgarage/trunk/xgarage/index.php 2013-09-20 23:13:05 UTC (rev 12074)
+++ XoopsModules/xgarage/trunk/xgarage/index.php 2013-09-20 23:14:07 UTC (rev 12075)
@@ -69,46 +69,51 @@
- if($gid){
- $garage = getGarage($gid);
- if($garage['imagechoice'] == 1) {
+ if($gid = intval($gid) > 0){
+
+ $myGarage = xoops_getModuleHandler('garage','garage');
+ $thegarage = $myGarage->getGarage($gid);
+
+ if($thegarage->getVar('imagechoice') == 1) {
$garage['image'] = "[img align=center]". XOOPS_UPLOAD_URL. "/" . "garage/".$garage['uploadimage']."[/img]";
}
- }
+ }else{
+ redirect_header("index.php",2,'Garage Doesn\'t Exist'); //need a constant for this
+ }
$myts =& MyTextSanitizer::getInstance(); // MyTextSanitizer object
- $garage['mengine'] = $myts->displayTarea($garage['mengine'], 1, 1, 1, 1, 1);
- $garage['mexterior'] = $myts->displayTarea($garage['mexterior'], 1, 1, 1, 1, 1);
- $garage['minterior'] = $myts->displayTarea($garage['minterior'], 1, 1, 1, 1, 1);
- $garage['mrims'] = $myts->displayTarea($garage['mrims'], 1, 1, 1, 1, 1);
- $garage['maudio'] = $myts->displayTarea($garage['maudio'], 1, 1, 1, 1, 1);
- $garage['mfuture'] = $myts->displayTarea($garage['mfuture'], 1, 1, 1, 1, 1);
- $garage['descript2'] = $myts->displayTarea($garage['descript2'], 1, 1, 1, 1, 1);
- if($garage['descript2']){
+ $garage['mengine'] = $myts->displayTarea($thegarage->getVar('mengine'), 1, 1, 1, 1, 1);
+ $garage['mexterior'] = $myts->displayTarea($thegarage->getVar('mexterior'), 1, 1, 1, 1, 1);
+ $garage['minterior'] = $myts->displayTarea($thegarage->getVar('minterior'), 1, 1, 1, 1, 1);
+ $garage['mrims'] = $myts->displayTarea($thegarage->getVar('mrims'), 1, 1, 1, 1, 1);
+ $garage['maudio'] = $myts->displayTarea($thegarage->getVar('maudio'), 1, 1, 1, 1, 1);
+ $garage['mfuture'] = $myts->displayTarea($thegarage->getVar('mfuture'), 1, 1, 1, 1, 1);
+ $garage['descript2'] = $myts->displayTarea($thegarage->getVar('descript2'), 1, 1, 1, 1, 1);
+ if($thegarage->getVar('descript2')){
if($subop == "more") $xoopsTpl->assign('showmore', true);
else $xoopsTpl->assign('more', _MD_XG_MORE);
}
- $garage['image'] = $myts->displayTarea($garage['image'], 0, 0, 1, 1, 0);
- $garage['location'] = $myts->displayTarea($garage['location'], 0, 0, 0, 0, 0);
- $garage['year'] = $myts->displayTarea($garage['year'], 0, 0, 0, 0, 0);
- $garage['make'] = $myts->displayTarea($garage['make'], 0, 0, 0, 0, 0);
- $garage['model'] = $myts->displayTarea($garage['model'], 0, 0, 0, 0, 0);
- $garage['style'] = $myts->displayTarea($garage['style'], 0, 0, 0, 0, 0);
- $garage['engine'] = $myts->displayTarea($garage['engine'], 0, 0, 0, 0, 0);
- $garage['color'] = $myts->displayTarea($garage['color'], 0, 0, 0, 0, 0);
- $garage['rt'] = $myts->displayTarea($garage['rt'], 0, 0, 0, 0, 0);
- $garage['sixty'] = $myts->displayTarea($garage['sixty'], 0, 0, 0, 0, 0);
- $garage['three'] = $myts->displayTarea($garage['three'], 0, 0, 0, 0, 0);
- $garage['eigth'] = $myts->displayTarea($garage['eigth'], 0, 0, 0, 0, 0);
- $garage['eigthm'] = $myts->displayTarea($garage['eigthm'], 0, 0, 0, 0, 0);
- $garage['thou'] = $myts->displayTarea($garage['thou'], 0, 0, 0, 0, 0);
- $garage['quart'] = $myts->displayTarea($garage['quart'], 0, 0, 0, 0, 0);
- $garage['quartm'] = $myts->displayTarea($garage['quartm'], 0, 0, 0, 0, 0);
- $garage['list'] = $myts->displayTarea($garage['list'], 0, 0, 0, 0, 0);
+ $garage['image'] = $myts->displayTarea($thegarage->getVar('image'), 0, 0, 1, 1, 0);
+ $garage['location'] = $myts->displayTarea($thegarage->getVar('location'), 0, 0, 0, 0, 0);
+ $garage['year'] = $myts->displayTarea($thegarage->getVar('year'), 0, 0, 0, 0, 0);
+ $garage['make'] = $myts->displayTarea($thegarage->getVar('make'), 0, 0, 0, 0, 0);
+ $garage['model'] = $myts->displayTarea($thegarage->getVar('model'), 0, 0, 0, 0, 0);
+ $garage['style'] = $myts->displayTarea($thegarage->getVar('style'), 0, 0, 0, 0, 0);
+ $garage['engine'] = $myts->displayTarea($thegarage->getVar('engine'), 0, 0, 0, 0, 0);
+ $garage['color'] = $myts->displayTarea($thegarage->getVar('color'), 0, 0, 0, 0, 0);
+ $garage['rt'] = $myts->displayTarea($thegarage->getVar('rt'), 0, 0, 0, 0, 0);
+ $garage['sixty'] = $myts->displayTarea($thegarage->getVar('sixty'), 0, 0, 0, 0, 0);
+ $garage['three'] = $myts->displayTarea($thegarage->getVar('three'), 0, 0, 0, 0, 0);
+ $garage['eigth'] = $myts->displayTarea($thegarage->getVar('eigth'), 0, 0, 0, 0, 0);
+ $garage['eigthm'] = $myts->displayTarea($thegarage->getVar('eigthm'), 0, 0, 0, 0, 0);
+ $garage['thou'] = $myts->displayTarea($thegarage->getVar('thou'), 0, 0, 0, 0, 0);
+ $garage['quart'] = $myts->displayTarea($thegarage->getVar('quart'), 0, 0, 0, 0, 0);
+ $garage['quartm'] = $myts->displayTarea($thegarage->getVar('quartm'), 0, 0, 0, 0, 0);
+ $garage['list'] = $myts->displayTarea($thegarage->getVar('list'), 0, 0, 0, 0, 0);
- if($garage['list']){
+ if($thegarage->getVar('list')){
if($xoopsModuleConfig['listformat']) {
- $garage['list2'] = explode(",",$garage['list']);
+ $garage['list2'] = explode(",",$thegarage->getVar('list'));
foreach($garage['list2'] as $item){
$items[] = trim($item);
}
@@ -118,37 +123,37 @@
$xoopsTpl->assign('listformat', $xoopsModuleConfig['listformat']);
if($userIsAdmin == 0){
- if($garage['approved'] == 0){
+ if($thegarage->getVar('approved') == 0){
redirect_header("index.php",2,_MD_XG_NOTAPPROVEDYET);
exit;
}
- if($garage['viewable'] == 0 && $uid != $garage['uid']){
+ if($thegarage->getVar('viewable') == 0 && $uid != $garage['uid']){
redirect_header("index.php",2,_MD_XG_NOTVIEWABLE);
exit;
}
- if($garage['disabled'] == 1){
+ if($thegarage->getVar('disabled') == 1){
redirect_header("index.php",2,_MD_XG_DISABLED);
exit;
}
}
- $garage['uname'] = xoops_getLinkedUnameFromId($garage['uid']);//added by jlm69
+ $garage['uname'] = xoops_getLinkedUnameFromId($thegarage->getVar('uid'));//added by jlm69
- if(($uid == $garage['uid'] && $xoopsModuleConfig['canuseredit']) || ($xoopsModuleConfig['canadminsedit'] && $userIsAdmin)){
+ if(($uid == $thegarage->getVar('uid') && $xoopsModuleConfig['canuseredit']) || ($xoopsModuleConfig['canadminsedit'] && $userIsAdmin)){
$xoopsTpl->assign('panel', true);
$xoopsTpl->assign('editgarage',_MD_XG_EDITGARAGE);
if($userIsAdmin) {
$xoopsTpl->assign('adminlink',_MD_XG_ADMINLINK);
- if($garage['approved'] == 0){
+ if($thegarage->getVar('approved') == 0){
$xoopsTpl->assign('approvegarage',_MD_XG_APPROVEGARAGE);
}
- if($garage['disabled'] == 0){
+ if($thegarage->getVar('disabled') == 0){
$xoopsTpl->assign('disablegarage',_MD_XG_DISABLEGARAGE);
- } elseif ($garage['disabled']) $xoopsTpl->assign('enablegarage',_MD_XG_ENABLEGARAGE);
+ } elseif ($thegarage->getVar('disabled')) $xoopsTpl->assign('enablegarage',_MD_XG_ENABLEGARAGE);
$xoopsTpl->assign('deletegarage',_MD_XG_DELETEGARAGE);
}
}
- $cid = $garage['cid'];
+ $cid = $thegarage->getVar('cid');
if($xoopsModuleConfig['usecats']){
include_once XOOPS_ROOT_PATH."/class/xoopstree.php";
$cattree = new XoopsTree($xoopsDB->prefix("garage_cats"),"cid","gid");
@@ -156,7 +161,8 @@
$xoopsTpl->assign('path',$path);
}
-
+ //why not just use smarty constants in the template?
+ unset($myGarage); //unset .
$xoopsTpl->assign('allowcomments', $xoopsModuleConfig['allowcomments']);
$xoopsTpl->assign('gid', $gid);
$xoopsTpl->assign('gname', _MD_XG_GNAME);
Modified: XoopsModules/xgarage/trunk/xgarage/language/english/admin.php
===================================================================
--- XoopsModules/xgarage/trunk/xgarage/language/english/admin.php 2013-09-20 23:13:05 UTC (rev 12074)
+++ XoopsModules/xgarage/trunk/xgarage/language/english/admin.php 2013-09-20 23:14:07 UTC (rev 12075)
@@ -1,4 +1,6 @@
<?php
+define("_AM_APPROVESUCCESS","Garage Approved.");
+define("_AM_APPROVEFAILURE","There was an error with approving this garage.");
define("_AM_GARAGES_INDEX", "Index");
define("_AM_GARAGES_OPTS", "Preferences");
define("_AM_GARAGES_GOMOD", "Go to module");
Modified: XoopsModules/xgarage/trunk/xgarage/xoops_version.php
===================================================================
--- XoopsModules/xgarage/trunk/xgarage/xoops_version.php 2013-09-20 23:13:05 UTC (rev 12074)
+++ XoopsModules/xgarage/trunk/xgarage/xoops_version.php 2013-09-20 23:14:07 UTC (rev 12075)
@@ -3,7 +3,7 @@
global $xoopsModuleConfig;
$modversion['name'] = _MI_NAME;
-$modversion['version'] = ".05beta";
+$modversion['version'] = ".06beta";
$modversion['description'] = _MI_DESC;
$modversion['credits'] = 'www.calibernation.com / www.xgarage.org / www.jlmzone.com / www.arabxoops.com';
$modversion['author'] = 'Northern, script_fu, jlm69, mowaffak';
|